Remove unused libm-test expected-failure mechanism.
[platform/upstream/glibc.git] / ChangeLog
1 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
2
3         * math/libm-test.inc (noXFails): Remove variable.
4         (noXPasses): Likewise.
5         (BUILD_COMPLEX_INT): Remove macro.
6         (print_screen): Remove xfail argument.
7         (print_screen_max_error): Likewise.
8         (update_stats): Likewise.
9         (print_max_error): Likewise.  Update calls to other affected
10         functions.
11         (print_complex_max_error): Likewise.
12         (test_single_exception): Update calls to print_screen.
13         (test_single_errno): Likewise.
14         (check_float_internal): Remove xfail argument.  Update calls to
15         other affected functions.
16         (check_float): Likewise.
17         (check_complex): Likewise.
18         (check_int): Likewise.
19         (check_long): Likewise.
20         (check_bool): Likewise.
21         (check_longlong): Likewise.
22         (main): Don't print noXFails and noXPasses.
23         * math/gen-libm-test.pl (top level): Don't mention expected
24         failure handling in comment.
25         (new_test): Don't handle expected failures.
26         (parse_args): Don't mention expected failure handling in comment.
27         (generate_testfile): Don't handle expected failures.
28         (parse_ulps): Likewise.
29         (print_ulps_file): Likewise.
30         (get_failure): Remove function.
31         (output_test): Don't handle expected failures.
32         * make/README.libm-test: Don't mention expected failure handling.
33
34         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35         (minus_zero): Likewise.
36         (plus_infty): Likewise.
37         (minus_infty): Likewise.
38         (qnan_value): Likewise.
39         (max_value): Likewise.
40         (min_value): Likewise.
41         (min_subnorm_value): Likewise.
42         (initialize): Do not initialize those variables dynamically.
43
44 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45
46         * io/open.c (__open_2): Moved to ...
47         * io/open_2.c: ... this new file.
48         * io/open64.c (__open64_2): Moved to ...
49         * io/open64_2.c: ... this new file.
50         * io/openat.c (__openat_2): Moved to ...
51         * io/openat_2.c: ... this new file.
52         * io/openat64.c (__openat64_2): Moved to ...
53         * io/openat64_2.c: ... this new file.
54         * io/Makefile (routines): Add them.
55         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
58         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61         (__openat64): Add hidden_ver.
62         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64
65         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66         Separately conditionalize setting of GLRO(dl_sysinfo) so
67         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68         as well, but the actual setting is only under [NEED_DL_SYSINFO].
69
70 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71
72         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
73         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
74         definition.
75         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
76         * sysdeps/unix/sysv/linux/powerpc/init-first.c
77         (_libc_vdso_platform_setup): Add __vdso_time initialization.
78         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
79         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
80
81 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
82
83         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
84         test signgam value.
85
86         * math/libm-test.inc (hypot_test): Do not use
87         IGNORE_ZERO_INF_SIGN.
88
89 2013-05-03  Andreas Jaeger  <aj@suse.de>
90
91         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
92         Linux 3.9.
93         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
94         (PF_MAX): Adjust for VSOCK change.
95
96 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
97
98         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
99
100 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
101
102         [BZ #15264]
103         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
104         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
105         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
106
107 2013-05-02  David S. Miller  <davem@davemloft.net>
108
109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
110
111 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
112
113         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
114
115 2013-05-01  Roland McGrath  <roland@hack.frob.com>
116
117         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
118
119 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
120
121         [BZ #14952]
122         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
123         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
124         Use __attribute__ ((__gnu_inline__)).
125         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
126         Don't use __attribute__ ((__gnu_inline__)).
127
128 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
129
130         [BZ #15423]
131         * math/s_catan.c (__catan): Handle small real or imaginary part of
132         input specially to avoid spurious underflow.
133         * math/s_catanf.c (__catanf): Likewise.
134         * math/s_catanh.c (__catanh): Likewise.
135         * math/s_catanhf.c (__catanhf): Likewise.
136         * math/s_catanhl.c (__catanhl): Likewise.
137         * math/s_catanl.c (__catanl): Likewise.
138         * math/libm-test.inc (catan_test): Add more tests.
139         (catanh_test): Likewise.
140         * sysdeps/i386/fpu/libm-test-ulps: Update.
141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
142
143 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
144
145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
146
147 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
148
149         [BZ #15416]
150         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
151         accurately for denominator in atan2.
152         * math/s_catanf.c (__catanf): Likewise.
153         * math/s_catanh.c (__catanh): Likewise.
154         * math/s_catanhf.c (__catanhf): Likewise.
155         * math/s_catanhl.c (__catanhl): Likewise.
156         * math/s_catanl.c (__catanl): Likewise.
157         * math/libm-test.inc (catan_test): Add more tests.
158         (catanh_test): Likewise.
159         * sysdeps/i386/fpu/libm-test-ulps: Update.
160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161
162 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
163
164         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
165
166         * benchtests/Makefile (bench): Remove slow benchmarks.
167         * benchtests/atan-inputs: Add slow benchmark inputs.
168         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
169         (BENCH_FUNC): Accept variant offset.
170         (VARIANT): Define.
171         * benchtests/bench-skeleton.c (main): Run benchmark for each
172         variant.
173         * benchtests/cos-inputs: Add slow benchmark inputs.
174         * benchtests/exp-inputs: Likewise.
175         * benchtests/pow-inputs: Likewise.
176         * benchtests/sin-inputs: Likewise.
177         * benchtests/slowatan-inputs: Remove.
178         * benchtests/slowatan.c: Remove.
179         * benchtests/slowcos-inputs: Remove.
180         * benchtests/slowcos.c: Remove.
181         * benchtests/slowexp-inputs: Remove.
182         * benchtests/slowexp.c: Remove.
183         * benchtests/slowpow-inputs: Remove.
184         * benchtests/slowpow.c: Remove.
185         * benchtests/slowsin-inputs: Remove.
186         * benchtests/slowsin.c: Remove.
187         * benchtests/slowtan-inputs: Remove.
188         * benchtests/slowtan.c: Remove.
189         * benchtests/tan-inputs: Add slow benchmark inputs.
190         * scripts/bench.pl: Parse comments and directives.
191
192         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
193         in CPPFLAGS.
194         ($(objpfx)bench-%.c): Remove *-ITER.
195         * benchtests/bench-modf.c: Remove definition of ITER.
196         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
197         (main): Loop for DURATION seconds instead of fixed number of
198         iterations.
199         * scripts/bench.pl: Don't expect iterations in parameters.
200
201 2013-04-29  Roland McGrath  <roland@hack.frob.com>
202
203         * io/fchdir.c (__fchdir): Renamed from fchdir.
204         (fchdir): Define as weak alias.
205
206 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
207
208         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
209         (ERRNO_EDOM): Likewise.
210         (ERRNO_ERANGE): Likewise.
211         (noErrnoTests): New variable.
212         (init_max_error): Set errno to 0.
213         (test_single_errno): New function.
214         (test_errno): Likewise.
215         (check_float_internal): Call test_errno.  Set errno to 0.
216         (check_complex): Refer to errno tests in comment.
217         (check_int): Call test_errno.  Set errno to 0.
218         (check_long): Likewise.
219         (check_bool): Likewise.
220         (check_longlong): Likewise.
221         (cos_test): Use ERRNO_* flags for errno tests instead of
222         check_int.
223         (expm1_test): Likewise.
224         (fmod_test): Likewise.
225         (ilogb_test): Likewise.
226         (lgamma_test): Likewise.
227         (pow_test): Likewise.
228         (remainder_test): Likewise.
229         (sin_test): Likewise.
230         (tan_test): Likewise.
231         (yn_test): Likewise.
232         (initialize): Set errno to 0.
233         (main): Print number of errno tests.
234         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
235
236 2013-04-29  Andreas Jaeger  <aj@suse.de>
237
238         [BZ #15084]
239         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
240         and RES_USEVC.
241
242         [BZ #15085]
243         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
244         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
245         unimplemented.
246
247         [BZ #15380]
248         * stdlib/random.c (__initstate): Return NULL if
249         __initstate fails.
250
251         [BZ #15086]
252         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
253         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
254         RES_SNGLKUPREOP.
255
256 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257
258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
259
260 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
261
262         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
263         of individual tests.
264         (casin_test): Likewise.
265         (casinh_test): Likewise.
266
267 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
268
269         [BZ #15409]
270         * math/s_catan.c (__catan): Handle arguments with large real or
271         imaginary part separately without squaring.
272         * math/s_catanf.c (__catanf): Likewise.
273         * math/s_catanh.c (__catanh): Likewise.
274         * math/s_catanhf.c (__catanhf): Likewise.
275         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
276         and redefine.
277         (__catanhl): Handle arguments with large real or imaginary part
278         separately without squaring.
279         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
280         and redefine.
281         (__catanl): Handle arguments with large real or imaginary part
282         separately without squaring.
283         * math/libm-test.inc (catan_test): Add more tests.
284         (catanh_test): Likewise.
285         * sysdeps/i386/fpu/libm-test-ulps: Update.
286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
288 2013-04-27  Andreas Jaeger  <aj@suse.de>
289
290         [BZ #15007]
291         * stdlib/stdlib.h: Update guards for qecvt.
292         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
293         <stdlib.h>.
294
295 2013-04-27  Allan McRae  <allan@archlinux.org>
296
297         * sysdeps/i386/fpu/libm-test-ulps: Update.
298
299 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
300
301         [BZ #15406]
302         * math/s_catan.c: Include <float.h>.
303         (__catan): Ensure underflow exception occurs for underflowed
304         result.
305         * math/s_catanf.c: Include <float.h>.
306         (__catanf): Ensure underflow exception occurs for underflowed
307         result.
308         * math/s_catanh.c: Include <float.h>.
309         (__catanh): Ensure underflow exception occurs for underflowed
310         result.
311         * math/s_catanhf.c: Include <float.h>.
312         (__catanhf): Ensure underflow exception occurs for underflowed
313         result.
314         * math/s_catanhl.c: Include <float.h>.
315         (__catanhl): Ensure underflow exception occurs for underflowed
316         result.
317         * math/s_catanl.c: Include <float.h>.
318         (__catanl): Ensure underflow exception occurs for underflowed
319         result.
320         * math/libm-test.inc (catan_test): Add more tests.
321         (catanh_test): Likewise.
322
323         [BZ #15405]
324         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
325         underflowed result.
326         * math/s_ccoshf.c (__ccoshf): Likewise.
327         * math/s_ccoshl.c (__ccoshl): Likewise.
328         * math/s_csin.c (__csin): Likewise.
329         * math/s_csinf.c (__csinf): Likewise.
330         * math/s_csinh.c (__csinh): Likewise.
331         * math/s_csinhf.c (__csinhf): Likewise.
332         * math/s_csinhl.c (__csinhl): Likewise.
333         * math/s_csinl.c (__csinl): Likewise.
334         * math/libm-test.inc (ccos_test): Add more tests.
335         (ccosh_test): Likewise.
336         (csin_test): Likewise.
337         (csinh_test): Likewise.
338
339 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
340
341         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
342         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
343         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
344         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
345         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
346         powerpc/power5+/fpu folders.
347         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
348
349
350 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
351
352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
353
354 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
355
356         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
357         additions to variable.
358         [$(config-machine) = x86_64] (modules-names): Likewise.
359         ($(objpfx)tst-audit3): Remove dependency.
360         ($(objpfx)tst-audit3.out): Likewise.
361         ($(objpfx)tst-audit4): Likewise.
362         ($(objpfx)tst-audit4.out): Likewise.
363         ($(objpfx)tst-audit5): Likewise.
364         ($(objpfx)tst-audit5.out): Likewise.
365         ($(objpfx)tst-audit6): Likewise.
366         ($(objpfx)tst-audit6.out): Likewise.
367         ($(objpfx)tst-audit7): Likewise.
368         ($(objpfx)tst-audit7.out): Likewise.
369         (tst-audit3-ENV): Remove variable.
370         (tst-audit4-ENV): Likewise.
371         (tst-audit5-ENV): Likewise.
372         (tst-audit6-ENV): Likewise.
373         (tst-audit7-ENV): Likewise.
374         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
375         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
376         addition to variable.
377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
378         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
379         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
380         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
381         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
382         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
383         tst-audit3, tst-audit4 and tst-audit5.
384         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
385         tst-audit6 and tst-audit7.
386         [$(subdir) = elf] (modules-names): Add audit modules for those
387         tests.
388         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
389         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
390         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
391         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
392         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
393         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
394         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
395         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
396         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
397         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
398         [$(subdir) = elf] (tst-audit3-ENV): New variable.
399         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
400         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
401         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
402         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
403         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
404         Likewise.
405         [$(subdir) = elf && $(config-cflags-avx) = yes]
406         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
407         [$(subdir) = elf && $(config-cflags-avx) = yes]
408         (CFLAGS-tst-auditmod4a.c): Likewise.
409         [$(subdir) = elf && $(config-cflags-avx) = yes]
410         (CFLAGS-tst-auditmod4b.c): Likewise.
411         [$(subdir) = elf && $(config-cflags-avx) = yes]
412         (CFLAGS-tst-auditmod6b.c): Likewise.
413         [$(subdir) = elf && $(config-cflags-avx) = yes]
414         (CFLAGS-tst-auditmod6c.c): Likewise.
415         [$(subdir) = elf && $(config-cflags-avx) = yes]
416         (CFLAGS-tst-auditmod7b.c): Likewise.
417         * elf/tst-audit3.c: Move to ...
418         * sysdeps/x86_64/tst-audit3.c: ... here.
419         * elf/tst-audit4.c: Move to ...
420         * sysdeps/x86_64/tst-audit4.c: ... here.
421         * elf/tst-audit5.c: Move to ...
422         * sysdeps/x86_64/tst-audit5.c: ... here.
423         * elf/tst-audit6.c: Move to ...
424         * sysdeps/x86_64/tst-audit6.c: ... here.
425         * elf/tst-audit7.c: Move to ...
426         * sysdeps/x86_64/tst-audit7.c: ... here.
427         * elf/tst-auditmod3a.c: Move to ...
428         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
429         * elf/tst-auditmod3b.c: Move to ...
430         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
431         * elf/tst-auditmod4a.c: Move to ...
432         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
433         * elf/tst-auditmod4b.c: Move to ...
434         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
435         * elf/tst-auditmod5a.c: Move to ...
436         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
437         * elf/tst-auditmod5b.c: Move to ...
438         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
439         * elf/tst-auditmod6a.c: Move to ...
440         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
441         * elf/tst-auditmod6b.c: Move to ...
442         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
443         * elf/tst-auditmod6c.c: Move to ...
444         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
445         * elf/tst-auditmod7a.c: Move to ...
446         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
447         * elf/tst-auditmod7b.c: Move to ...
448         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
449
450 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
451
452         [BZ #15366]
453         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
454         define unconditionally.
455         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
456         define unconditionally.
457         (INT8_C, INT16_C, etc.): Likewise.
458
459 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
460
461         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
462         __ehdr_start with hidden visibility.
463
464         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
465
466 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
467
468         * math/libm-test.inc (cos_test): Use accurate hex constants.
469         (sincost_test): Likewise.
470
471 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
472
473         * math/libm-test.inc (catan_test): Add more tests.
474         (catanh_test): Likewise.
475
476         * math/s_catanf.c (__catanf): Use suffixed floating-point
477         constants.
478         * math/s_catanhf.c (__catanhf): Likewise.
479         * math/s_catanhl.c (__catanhl): Likewise.
480         * math/s_catanl.c (__catanl): Likewise.
481
482         [BZ #15394]
483         * math/s_catan.c (__catan): Calculate imaginary part of result
484         with log1p not log unless computing log of number close to 0.
485         * math/s_catanf.c (__catanf): Likewise.
486         * math/s_catanl.c (__catanl): Likewise.
487         * math/s_catanh.c (__catanh): Calculate real part of result with
488         log1p not log unless computing log of number close to 0.
489         * math/s_catanhf.c (__catanhf): Likewise.
490         * math/s_catanhl.c (__catanhl): Likewise.
491         * math/libm-test.inc (catan_test): Add more tests.
492         (catanh_test): Likewise.
493         * sysdeps/i386/fpu/libm-test-ulps: Update.
494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
495
496 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
497
498         * benchtests/Makefile: Mention files in which fast and slow
499         paths of math functions are implemented.
500
501 2013-04-23  Roland McGrath  <roland@hack.frob.com>
502
503         * sysdeps/posix/timespec_get.c: New file.
504
505 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
506
507         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
508         POWER.
509         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
510         for POWER.
511         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
512         powerpc/power5/fpu folders.
513         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
514         * benchtests/Makefile: Add modf testcase.
515         * benchtests/bench-modf.c: New file: Benchmark test for mo
516
517 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
518
519         [BZ #14888]
520         * time/Makefile (tests): Add tst-strptime-whitespace.
521         * time/strptime_l.c (get_number): Use ISSPACE.
522         (__strptime_internal): Likewise.
523         * time/tst-strptime-whitespace.c: New test case.
524
525 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
526
527         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
528         member.
529         (_nss_files_init): Set it here.
530
531 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
532
533         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
534         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
535         unsigned.
536
537 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
538
539         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
540
541 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
542
543         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
544         size just once.
545
546 2013-04-21  David S. Miller  <davem@davemloft.net>
547
548         * po/ru.po: Update Russion translation from translation project.
549
550 2013-04-17  Adam Conrad  <adconrad@0c3.net>
551
552         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
553         and setfsgid.
554
555 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
556
557         * configure.in: Remove i386 configure warning. Remove i386 case.
558         * configure: Regenerate.
559         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
560         Add example to error message.
561         * sysdeps/i386/configure: Regenerate.
562
563 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
564
565         * benchtests/Makefile (bench): Add cos, tan, slowcos and
566         slowtan.
567         * benchtests/cos-inputs: New file.
568         * benchtests/slowcos-inputs: New file.
569         * benchtests/slowcos.c: New file.
570         * benchtests/slowtan-inputs: New file.
571         * benchtests/slowtan.c: New file.
572         * benchtests/tan-inputs: New file.
573
574 2013-04-16  Roland McGrath  <roland@hack.frob.com>
575
576         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
577         considered kosher.
578
579 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
580
581         * benchtests/Makefile: Include cppflags-iterator.mk to add
582         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
583
584         * Makefile.in (bench-clean): New target.
585         * benchtests/Makefile (bench-clean): Likewise.
586
587 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
588
589         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
590
591 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
592
593         * stdio-common/tstdiomisc.c: Fix coding-style violation.
594
595 2013-04-15  Andreas Schwab  <schwab@suse.de>
596
597         * nscd/grpcache.c (cache_addgr): Properly check for short write.
598         * nscd/initgrcache.c (addinitgroupsX): Likewise.
599         * nscd/pwdcache.c (cache_addpw): Likewise.
600         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
601         more than recsize.
602
603 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
604
605         * benchtests/Makefile (bench): Write all output to
606         bench-out.tmp together.
607
608 2013-04-15  Andreas Schwab  <schwab@suse.de>
609
610         * nscd/nscd.c (main): Don't fork again after closing files.
611
612 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
613
614         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
615
616         * benchtests/Rules (bench-deps): Collect dependencies into a
617         single variable.  Add Makefile to dependencies.
618         ($(objpfx)bench-%.c): Depend on bench-deps.
619
620 2013-04-12  Roland McGrath  <roland@hack.frob.com>
621             Xavier Roche  <roche+kml2@exalead.com>
622
623         [BZ #15361]
624         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
625         just that it's a file descriptor.
626         * manual/llio.texi (Synchronizing AIO Operations): Update description
627         for EBADF error from aio_fsync.
628
629 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
630
631         * Rules (bench): Move target definition...
632         * benchtests/Makefile: ... here.
633
634 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
635
636         * math/libm-test.inc (cos_test): Fix PI/2 test.
637         (sincos_test): Likewise.
638         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
639         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
640
641 2013-04-11  Andreas Schwab  <schwab@suse.de>
642
643         [BZ #13988]
644         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
645         accept exponent character only when digits were seen.
646         * stdio-common/Makefile (tests): Add bug26.
647         * stdio-common/bug26.c: New file.
648
649         [BZ #14293]
650         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
651         non-freeable.
652
653 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
654
655         * Makeconfig (rtld-prefix): Define built linker prefix.
656         * Rules (run-bench): Use it.
657         * math/Makefile (run-regen-ulps): Likewise.
658
659         * Rules (bench): Remove eval.
660
661 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
662             Roland McGrath  <roland@hack.frob.com>
663             Ondrej Bilka  <neleai@seznam.cz>
664
665         [BZ #15346]
666         * time/getdate.c: Include ctype.h and alloca.h.
667         (__getdate_r): Trim leading and trailing spaces of input.
668         * time/tst-getdate.c (tests): Add tests with leading and
669         trailing spaces.
670
671 2013-04-08  Roland McGrath  <roland@hack.frob.com>
672
673         [BZ #14280]
674         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
675         when computing value.
676
677 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
678
679         * math/README.libm-test (How can I generate "libm-test-ulps"?):
680         Use testrun.sh to run libm tests.
681
682         [BZ #15309]
683         * elf/dl-open.c (dl_open_worker): memset all of seen array.
684
685 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
686
687         [BZ #15264]
688         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
689
690 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
691
692         * Makefile.in (regen-ulps): New target.
693         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
694         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
695         [ifneq (no,$(PERL)] (regen-ulps): New target.
696         [ifeq (no,$(PERL)] (regen-ulps): New target.
697         * math/libm-test.inc (ulps_file_name): Define.
698         (output_dir): New variable.
699         (options): Add "output-dir" option.
700         (parse_opt): Handle 'o' case.
701         (main): If output_dir is non-NULL use it as a prefix
702         otherwise use "".
703         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
704
705 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
706
707         [BZ #10060, #10062]
708         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
709         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
710         fail configure if __sync_val_compare_and_swap is not inlined.
711         * sysdeps/i386/configure: Regenerate.
712         * configure.in: Build for i686 when configured for i386.
713         * configure: Regenerate.
714         * README: Remove i386 reference.
715
716 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
717
718         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
720
721 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
722
723         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
724         (lmsnanval): New variables.
725         (F): Add conversion tests.
726         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
727         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
728
729         * stdio-common/tstdiomisc.c (F): Properly collect individual
730         tests' results.
731
732         [BZ #14686, #15336]
733         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
734         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
735         Instead, use input NaN values or generate a qNaN by arithmetic
736         operation.  Also fix bugs to comply with the standard.
737         * math/libm-test.inc (remainder_test): Add more tests.
738
739         [BZ #15335, #15342]
740         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
742         input NaN values or generate a qNaN by arithmetic operation.
743
744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
745         unreachable code.
746
747         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
748         definitions.
749
750 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
751
752         [BZ #14478]
753         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
754         underflowed result.
755         * math/s_cexpf.c (__cexpf): Likewise.
756         * math/s_cexpl.c (__cexpl): Likewise.
757         * math/libm-test.inc (cexp_test): Add more tests.
758
759 2013-04-03  Andreas Schwab  <schwab@suse.de>
760
761         [BZ #15330]
762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
763         order arrays from heap if bigger than alloca cutoff.
764
765 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
766
767         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
768         (SNAN_TESTS_double): Refer to GCC PR56831.
769         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
770         GCC PR56828.
771
772 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
773
774         * Rules (bench): Move bench.out after the run is complete.
775
776         * Rules (bench): Echo currently running benchmark.
777
778         * benchtests/Makefile (bench): Add atan and slowatan.
779         * benchtests/atan-inputs: New file.
780         * benchtests/slowatan-inputs: New file.
781         * benchtests/slowatan.c: New file.
782
783         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
784         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
785         its value.
786
787         [BZ #15305]
788         * sysdeps/unix/sysv/linux/kernel-features.h
789         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
790         __ASSUME_XFS_RESTRICTED_CHOWN.
791         * sysdeps/unix/sysv/linux/pathconf.c
792         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
793         Save and restore errno.
794
795 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
796
797         [BZ #15327]
798         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
799         arguments using __kernel_casinh.
800         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
801         arguments using __kernel_casinhf.
802         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
803         arguments using __kernel_casinhl.
804         * math/libm-test.inc (cacosh_test): Add more tests.
805         * sysdeps/i386/fpu/libm-test-ulps: Update.
806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
807
808 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
809
810         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
812
813         * bench/Makefile (bench): Add sin and slowsin.
814         * benchtests/sin-inputs: New file.
815         * benchtests/slowsin-inputs: New file.
816         * benchtests/slowsin.c: New file.
817
818         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
819         (bench): Add slowexp and slowpow.
820         (exp-ITER): Increase iterations.
821         (pow-ITER): Likewise.
822         * benchtests/exp-inputs: Change input.
823         * benchtests/pow-inputs: Likewise.
824         * benchtests/slowexp-inputs: New file.
825         * benchtests/slowexp.c: New file.
826         * benchtests/slowpow-inputs: New file.
827         * benchtests/slowpow.c: New file.
828
829 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
830
831         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
832         instructions.
833         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
834         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
835         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
836         * benchtests/Makefile: Add rint benchtest.
837         * benchtests/rint-inputs: Input for rint benchtest.
838
839 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
840
841         * Versions.def (libm): Add GLIBC_2.18.
842         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
843         hidden libm prototypes.
844         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
845         * math/Makefile (libm-calls): Add s_issignaling.
846         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
847         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
848         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
849         declaration.
850         * math/math.h [__USE_GNU] (issignaling): New macro.
851         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
852         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
853         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
854         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
855         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
856         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
857         * manual/arith.texi (issignaling): New section.
858         * manual/libm-err-tab.pl (@all_functions): Update comment.
859         * math/gen-libm-test.pl (parse_args): Apply special handling for
860         issignaling.
861         * math/libm-test.inc (print_float, issignaling_test): New
862         functions.
863         (check_float_internal): Add issignaling checks.
864         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
865         default definition.
866         * sysdeps/powerpc/math-tests.h: New file.
867         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
868         tests.
869         * math/test-snan.c (TEST_FUNC): Likewise.
870
871 2013-03-30  David S. Miller  <davem@davemloft.net>
872
873         * po/de.po: Update from translation team.
874
875 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
876
877         [BZ #10357]
878         * math/k_casinh.c (__kernel_casinh): Handle arguments with
879         imaginary part less than 1.0 and real part less than 0.5
880         specially.
881         * math/k_casinhf.c (__kernel_casinhf): Likewise.
882         * math/k_casinhl.c (__kernel_casinhl): Likewise.
883         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
884         (cacos_test): Add more tests.
885         (casin_test): Likewise.
886         (casinh_test): Likewise.
887         * sysdeps/i386/fpu/libm-test-ulps: Update.
888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
889
890 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
891
892         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
893         ONE with its value.
894
895         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
896         (__pow_mp): Replace ONE and MONE with their values.
897         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
898         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
899         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
900         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
901         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
902         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
903
904         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
905
906         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
907         (__pow_mp): Replace ZERO and MZERO with their values.
908         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
909         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
910         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
912         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
913         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
914         (__sqr): Likewise.
915
916         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
917
918         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
919
920 2013-03-28  Roland McGrath  <roland@hack.frob.com>
921
922         * include/stdlib.h [!SHARED] (__call_tls_dtors):
923         Declare with __attribute__ ((weak)).
924         * stdlib/exit.c (__libc_atexit) [!SHARED]:
925         Call __call_tls_dtors only if it's not NULL.
926
927 2013-03-28  Roland McGrath  <roland@hack.frob.com>
928
929         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
930         didn't do it already, then set _dl_phdr and _dl_phnum based on the
931         magic __ehdr_start linker symbol if it's defined.
932         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
933         them up here if it was already done.
934
935         * elf/dl-support.c (_dl_phdr): Make pointer to const.
936         (_dl_aux_init): Use const in cast when setting it.
937         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
938         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
939         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
940
941         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
942         Declare them here.
943         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
944         * csu/libc-tls.c: Nor here.
945         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
946
947         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
948         (__libc_message): Never call vsyslog.
949
950 2013-03-28  Alan Modra  <amodra@gmail.com>
951
952         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
953         Define as empty.
954         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
955         Likewise.
956
957 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
958
959         [BZ #15214]
960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
961         underflow.
962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
963
964 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
965
966         [BZ #15304]
967         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
968         Don't add gid passed as argument.
969
970         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
971
972 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
973
974         [BZ #15307]
975         * math/k_casinh.c (__kernel_casinh): Handle arguments with
976         imaginary part between 1.0 and 1.5 and real part less than 0.5
977         specially.
978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
980         * math/libm-test.inc (cacos_test): Add more tests.
981         (casin_test): Likewise.
982         (casinh_test): Likewise.
983         * sysdeps/i386/fpu/libm-test-ulps: Update.
984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
985
986 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
987
988         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
989         constants.
990         (norm): Likewise.
991         (denorm): Likewise.
992         (__dbl_mp): Likewise.
993         (add_magnitudes): Likewise.
994         (sub_magnitudes): Likewise.
995         (__add): Likewise.
996         (__sub): Likewise.
997         (__mul): Likewise.
998         (__sqr): Likewise.
999         (__inv): Likewise.
1000         (__dvd): Likewise.
1001
1002         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1003         commented code.
1004         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1005         (__dubcos): Likewise.
1006         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1007         (__ieee754_acos): Likewise.
1008         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1009         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1010         (__exp1): Likewise.
1011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1013         (log1): Likewise.
1014         (my_log2): Likewise.
1015         (checkint): Likewise.
1016         * sysdeps/ieee754/dbl-64/e_remainder.c
1017         (__ieee754_remainder): Likewise.
1018         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1019         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1020         (bsloww): Likewise.
1021         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1022
1023         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1024         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1025         MANTISSA_STORE_T to store computations on mantissa.  Use
1026         macros for rounding and division.
1027         (denorm): Likewise.
1028         (__dbl_mp): Likewise.
1029         (add_magnitudes): Likewise.
1030         (sub_magnitudes): Likewise.
1031         (__mul): Likewise.
1032         (__sqr): Likewise.
1033         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1034         powers of two in terms of TWOPOW macro.
1035         (mp_no): Make type of mantissa as MANTISSA_T.
1036         [!RADIXI]: Define RADIXI.
1037         [!TWO52]: Define TWO52.
1038         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1039
1040 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041
1042         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1043         llroundl symbol when building for PPC32.
1044
1045 2013-03-24  Mark H Weaver  <mhw@netris.org>
1046
1047         * manual/arith.texi (Normalization Functions): Fix prototypes for
1048         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1049
1050 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1051
1052         [BZ #13889]
1053         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1054         high value to check if expl overflow.
1055         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1056         to check for underflow and overflow.
1057         * math/libm-test.inc: Add exp test.
1058
1059 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
1060
1061         [BZ #11120]
1062         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1063         with NOT_IN_libc.
1064
1065 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1066
1067         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1068         symbol.
1069
1070 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1071
1072         * math/gen-libm-test.pl (parse_args, special_functions): Properly
1073         wrap blocks consisting of several statements.
1074
1075         * sysdeps/generic/math-tests.h: New file.
1076         * sysdeps/i386/fpu/math-tests.h: Likewise.
1077         * math/test-snan.c: Include it.
1078         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1079
1080 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1081
1082         [BZ #15285]
1083         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1084         (__ieee754_j0l): Do not improve calculations using cos of twice
1085         input for inputs above LDBL_MAX / 2.0L.
1086         (__ieee754_y0l): Likewise.
1087         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1088         (__ieee754_j1l): Do not improve calculations using cos of twice
1089         input for inputs above LDBL_MAX / 2.0L.
1090         (__ieee754_y1l): Likewise.
1091         * math/libm-test.inc (j0_test): Add another test.
1092         (j1_test): Likewise.
1093         (y0_test): Likewise.
1094         (y1_test): Likewise.
1095         * sysdeps/i386/fpu/libm-test-ulps: Update.
1096
1097 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1098
1099         * Rules ($(objpfx)bench-%.c): Include code from a C source
1100         file.
1101
1102 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1103
1104         [BZ #15287]
1105         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1106         imaginary part 1.0 and real part less than 0.5 specially.
1107         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1108         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1109         * math/libm-test.inc (cacos_test): Add more tests.
1110         (casin_test): Likewise.
1111         (casinh_test): Likewise.
1112         * sysdeps/i386/fpu/libm-test-ulps: Update.
1113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1114
1115 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1116
1117         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1118         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1119
1120 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
1121
1122         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1123         * config.make.in (config-cflags-sse4): Remove variable.
1124         (config-cflags-avx): Likewise.
1125         (config-cflags-sse2avx): Likewise.
1126         (config-cflags-novzeroupper): Likewise.
1127         (config-asflags-i686): Likewise.
1128         (have-mfma4): Likewise.
1129         (have-as-vis3): Likewise.
1130         (MIG): Likewise.
1131         * configure.in (MIG): Do not AC_SUBST.
1132         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1133         (libc_cv_cc_sse4): Do not AC_SUBST.
1134         (libc_cv_cc_avx): Likewise.
1135         (libc_cv_cc_sse2avx): Likewise.
1136         (libc_cv_cc_novzeroupper): Likewise.
1137         (libc_cv_cc_fma4): Likewise.
1138         (libc_cv_as_i686): Likewise.
1139         (libc_cv_sparc_as_vis3): Likewise.
1140         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1141         LIBC_CONFIG_VAR.
1142         (config-asflags-i686): Likewise.
1143         (config-cflags-avx): Likewise.
1144         (config-cflags-sse2avx): Likewise.
1145         (have-mfma4): Likewise.
1146         (config-cflags-novzeroupper): Likewise.
1147         * sysdeps/mach/configure.in (MIG): Likewise.
1148         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1149         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1150         LIBC_CONFIG_VAR.
1151         (config-cflags-avx): Likewise.
1152         (config-cflags-sse2avx): Likewise.
1153         (have-mfma4): Likewise.
1154         (config-cflags-novzeroupper): Likewise.
1155         * configure: Regenerated.
1156         * sysdeps/i386/configure: Likewise.
1157         * sysdeps/mach/configure: Likewise.
1158         * sysdeps/sparc/configure: Likewise.
1159         * sysdeps/x86_64/configure: Likewise.
1160
1161 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1162
1163         [BZ #14812]
1164         * locale/programs/localedef.c (options): Put N_ translation marker
1165         on argument names, not just descriptions.
1166
1167 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1168
1169         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1170
1171 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1172
1173         [BZ #14176]
1174         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1175
1176 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1177
1178         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1179         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1180         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1181         [!BEFORE_ABORT] (before_abort): New function.
1182         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1183         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1184         (writev_for_fatal): New function.
1185         (WRITEV_FOR_FATAL): New macro; call that.
1186         (backtrace_and_maps): New function.
1187         (BEFORE_ABORT): New macro; call that.
1188         (struct str_list): Type removed.
1189         (__libc_message, __libc_fatal): Functions removed.
1190         Include <sysdeps/posix/libc_fatal.c> instead.
1191
1192 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1193
1194         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1195         constants.
1196         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1197         double constants.
1198
1199 2013-03-19  Andreas Schwab  <schwab@suse.de>
1200
1201         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1202         * sysdeps/gnu/configure: Regenerate.
1203
1204         * configure.in: Substitute libc_cv_rtlddir.
1205         * configure: Regenerate.
1206         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1207         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1208         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1209         * elf/Makefile (install-others, CFLAGS-interp.c)
1210         (ldso_install, common-ldd-rewrite): Likewise.
1211         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1212         $(inst_slibdir)/$(rtld-installed-name).
1213         * scripts/rellns-sh: Add -p option.
1214         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1215         for source.
1216
1217 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1218
1219         * manual/nptl.texi: Renamed to ...
1220         * manual/threads.texi: ... this.
1221         * manual/Makefile (chapters): Update.
1222
1223 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1224
1225         [BZ #14812]
1226         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1227         on argument names, not just descriptions.
1228         * malloc/memusagestat.c (options): Likewise.
1229         * nss/getent.c (options): Likewise.
1230
1231 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1232
1233         [BZ #14812]
1234         * iconv/iconv_prog.c (options): Put N_ translation marker
1235         on argument names, not just descriptions.
1236         * iconv/iconvconfig.c (options): Likewise.
1237
1238 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1239
1240         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1241         implementation which is faster on all x86_64 architectures.
1242         Tested on AMD, Intel Nehalem, SNB, IVB.
1243         * sysdeps/x86_64/strnlen.S: Likewise.
1244
1245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1246         Remove all multiarch strlen and strnlen versions.
1247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1248         Remove strlen and strnlen related parts.
1249
1250         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1251         Inline strlen part.
1252         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1253
1254         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1255         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1256         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1257         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1258         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1259         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1260
1261 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1262
1263         * manual/memory.texi (Malloc Tunable Parameters):
1264         Sort parameters alphabetically. Add comments for missing entries.
1265
1266 2013-03-17  David S. Miller  <davem@davemloft.net>
1267
1268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1269
1270 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1271
1272         [BZ #15283]
1273         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1274         for arguments at most half maximum finite value.
1275         * math/libm-test.inc (j0_test): Add more tests.
1276         (j1_test): Likewise.
1277         (y0_test): Likewise.
1278         (y1_test): Likewise.
1279         * sysdeps/i386/fpu/libm-test-ulps: Update.
1280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1281
1282         [BZ #14155]
1283         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1284         1 / x and functions P and Q for arguments above 0x1p256L.
1285         (__ieee754_y0l): Likewise.
1286         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1287         (__ieee754_y1l): Likewise.
1288         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1289         (j1_test): Likewise.
1290         (y0_test): Likewise.
1291         (y1_test): Likewise.
1292
1293 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1294
1295         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1296         variable.
1297
1298 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1299
1300         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1301         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1302         zero since it's initialized to EXEC_PAGESIZE.
1303
1304         * sysdeps/unix/sysv/linux/ldsodefs.h
1305         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1306         * sysdeps/generic/ldsodefs.h: ... here.
1307
1308 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1309
1310         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1311
1312         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1313         math/test-snan.c.
1314         * math/test-snan.c: Renamed from
1315         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1316         * math/Makefile (tests): Add test-snan.
1317         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1318         test-powerpc-snan.
1319
1320         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1321         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1322         functions.
1323         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1324         __builtin_nan family of functions.
1325         * math/libm-test.inc (initialize): Initialize qnan_value with
1326         __builtin_nan family of functions.
1327         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1328         Remove variables.
1329         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1330         Remove functions.
1331         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1332         storage class.  Initialize qNaN_var and sNaN_var with
1333         __builtin_nan and __builtin_nans families of functions,
1334         respectively.
1335
1336         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1337         (sqrt_test): Remove duplicate test with qNaN input.
1338         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1339         (round_test, signbit_test, significand_test): Note missing +/-Inf
1340         as well as qNaN tests.
1341
1342         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1343         qNaN_var.  Fix a few strings, too.
1344         * math/libm-test.inc (nan_value): Rename to qnan_value.
1345         * math/gen-libm-test.pl (%beautify): Adjust to that.
1346         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1347         * math/test-misc.c (main): Likewise.
1348         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1349         to __qnan_bytes, and __qnan_union, respectively.
1350         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1351         Likewise.
1352         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1353         and lqnanval, respectively.
1354         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1355         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1356         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1357         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1358
1359         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1360         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1361         doubles.
1362
1363         * math/test-misc.c (main): Fix copy'n'pastos.
1364         * misc/tst-efgcvt.c (special): Likewise.
1365
1366         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1367         Remove declarations.
1368
1369 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1370
1371         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1372         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1373         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1374         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1375
1376 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1377
1378         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1379         macro to return vdso values correctly in IFUNC implementations.
1380         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1381         Optimization by using IFUNC.
1382
1383 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1384             Richard Henderson  <rth@redhat.com>
1385             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1386
1387         * Makefile.in (bench): New target.
1388         * NEWS: Mention the benchmark framework.
1389         * Rules (bench): Likewise.
1390         (binaries-bench): Generate binaries for functions to
1391         benchmark.
1392         * benchtests/Makefile: New makefile for benchmark tests.
1393         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1394         programs.
1395         * benchtests/exp-inputs: New input file for EXP function.
1396         * benchtests/pow-inputs: New input file for POW function.
1397         * scripts/bench.pl: New script to generate source files for
1398         benchmark programs.
1399
1400 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1401
1402         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1403         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1404         computations on mantissa.  Use macros for rounding and
1405         division.
1406         (denorm): Likewise.
1407         (__dbl_mp): Likewise.
1408         (add_magnitudes): Likewise.
1409         (sub_magnitudes): Likewise.
1410         (__mul): Likewise.
1411         (__sqr): Likewise.
1412         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1413         powers of two in terms of TWOPOW macro.
1414         (mp_no): Make type of mantissa as MANTISSA_T.
1415         [!RADIXI]: Define RADIXI.
1416         [!TWO52]: Define TWO52.
1417         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1418
1419         * manual/nptl.texi (cindex): Modify threads to pthreads.
1420
1421 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1422
1423         * sysdeps/x86_64/preconfigure: Regenerated.
1424
1425 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1426
1427         [BZ #14155]
1428         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1429         0x1p28 and above.
1430         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1431         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1432         0x1p28 and above.
1433         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1434         * math/libm-test.inc (j0_test): Do not allow one spurious
1435         underflow exception.
1436         (y1_test): Likewise.
1437
1438 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1439
1440         * manual/Makefile (chapters): Add nptl.
1441         * manual/debug.texi (Debugging Support): Add link to Threads
1442         chapter.
1443         * manual/nptl.texi: New file.
1444
1445         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1446
1447 2013-03-14  Petr Baudis  <pasky@ucw.cz>
1448
1449         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1450         for non-NULL pointer before the memory validity test. Pointed
1451         out by Holger Brunck <holger.brunck@keymile.com>.
1452
1453 2013-03-13  Andreas Schwab  <schwab@suse.de>
1454
1455         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1456         instead of .os.
1457
1458 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
1459
1460         * timezone/zic.c: Update from tzcode 2013b.
1461
1462 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1463
1464         * manual/install.texi (Configuring and compiling):
1465         Mention i686 and i586.
1466         * INSTALL: Regenerate.
1467
1468 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1469
1470         * sysdeps/init_array/elf-init.c: New file.
1471         * csu/elf-init.c
1472         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1473         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1474
1475         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1476         __gmon_start__ as global, but as static with a .preinit_array pointer.
1477         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1478         * sysdeps/init_array/crti.S: New file, empty except for comments.
1479         * sysdeps/init_array/crtn.S: Likewise.
1480
1481 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1482
1483         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1484         definining bcopy.
1485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1486         Remove Prefer_SSE_for_memop.
1487         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1488         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1489         HAS_PREFER_SSE_FOR_MEMOP.
1490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1491         memset-x86-64.
1492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1493         Remove bzero, memset ifunc support.
1494         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1495         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1496         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1497         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1498
1499 2013-03-11  Andreas Schwab  <schwab@suse.de>
1500
1501         [BZ #15234]
1502         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1503         by SHLIB_COMPAT.
1504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1505         (GLIBC_2.16): Remove pthread_atfork.
1506
1507 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1508
1509         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1510         (ptestcases.h): Likewise.
1511
1512 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1513
1514         * Makeconfig ($(common-objpfx)config.status): Depend on
1515         sysdeps/*/preconfigure{,.in} too.
1516
1517 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1518
1519         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1520         (__free_hook): Use void * instead of __malloc_ptr_t.
1521         (__malloc_hook): Likewise.
1522         (__realloc_hook): Likewise.
1523         (__memalign_hook): Likewise.
1524         (__after_morecore_hook): Likewise.
1525         * malloc/arena.c (save_malloc_hook): Likewise.
1526         (save_free_hook): Likewise.
1527         * malloc/hooks.c (malloc_hook_ini): Likewise.
1528         (realloc_hook_ini): Likewise.
1529         (memalign_hook_ini): Likewise.
1530         * malloc/malloc.c (malloc_hook_ini): Likewise.
1531         (realloc_hook_ini): Likewise.
1532         (memalign_hook_ini): Likewise.
1533         (__free_hook): Likewise.
1534         (__malloc_hook): Likewise.
1535         (__realloc_hook): Likewise.
1536         (__memalign_hook): Likewise.
1537         (__libc_malloc): Likewise.
1538         (__libc_free): Likewise.
1539         (__libc_realloc): Likewise.
1540         (__libc_memalign): Likewise.
1541         (__libc_valloc): Likewise.
1542         (__libc_pvalloc): Likewise.
1543         (__libc_calloc): Likewise.
1544         (__posix_memalign): Likewise.
1545         * malloc/morecore.c (__sbrk): Likewise.
1546         (__default_morecore): Likewise.
1547
1548         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1549
1550         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1551         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1552         __malloc_ptrdiff_t.
1553
1554         * malloc/malloc.h (__malloc_size_t): Remove macro.
1555         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1556         __malloc_size_t.
1557         (old_memalign_hook): Likewise.
1558         (old_realloc_hook): Likewise.
1559         (struct hdr): Likewise.
1560         (flood): Likewise.
1561         (mallochook): Likewise.
1562         (memalignhook): Likewise.
1563         (reallochook): Likewise.
1564         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1565         (tr_old_realloc_hook): Likewise.
1566         (tr_old_memalign_hook): Likewise.
1567         (tr_mallochook): Likewise.
1568         (tr_reallochook): Likewise.
1569         (tr_memalignhook): Likewise.
1570
1571 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1572
1573         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1574         default_ldbl_pack and using as default implementation.
1575         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1576         implementation.
1577         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1578         redundant definition.
1579         (ldbl_insert_mantissa): Likewise.
1580         (ldbl_canonicalize): Likewise.
1581         (ldbl_nearbyint): Likewise.
1582         (ldbl_pack): Rename to ldbl_pack_ppc.
1583         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1584         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1585         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1586
1587 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1588
1589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1590         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1591         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1592         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1594         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1595         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1596         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1597
1598 2013-03-07  Andreas Jaeger  <aj@suse.de>
1599
1600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1601         bits/mman-linux.h.
1602
1603 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1604
1605         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1606         Include mpa.h and declare __MPEXP.
1607         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1608         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1609         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1610         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1611         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1612         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1613         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1614
1615         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1616         (__slowpow): Use long double EXPL and LOGL functions to
1617         compute POW.
1618         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1619         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1620         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1621         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1622         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1623         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1624
1625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1626         intermediate variable to calculate exponent.
1627         (__sqr): Likewise.
1628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1629         Likewise.
1630         (__sqr): Likewise.
1631
1632         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1633         [!NO__SQR]: Define __sqr.
1634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1635         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1636         sysdeps/ieee754/dbl-64/mpa.c.
1637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1638
1639         [BZ #12723]
1640         * posix/Makefile (tests): Add tst-pathconf.
1641         * posix/tst-pathconf.c: New test case.
1642         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1643         _PC_PIPE_BUF.
1644         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1645
1646 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1647
1648         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1649
1650 2013-03-06  Andreas Jaeger  <aj@suse.de>
1651
1652         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1653         definition via __MAP_ANONYMOUS.
1654
1655         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1656         it's not part of Linux headers.
1657
1658         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1659         (MAP_HUGE_MASK): Define.
1660
1661         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1662         Define.
1663         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1665         Define.
1666         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1667         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1668         Define.
1669         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1670         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1671         Define.
1672         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1673
1674         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1675         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1676         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1677         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1678         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1679         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1680
1681         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1682         Handle f2fs.
1683
1684         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1685         Handle f2fs and efivarfs.
1686
1687         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1688         f2fs.
1689
1690         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1691         (EFIVARFS_MAGIC): Add.
1692         (F2FS_LINK_MAX): Add.
1693
1694 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1695
1696         * stdio-common/vfprintf.c: Replace __builtin_expect with
1697         __glibc_unlikely.
1698
1699 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1700
1701         [BZ #13550]
1702         * sysdeps/generic/bp-sym.h: Remove file.
1703         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1704         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1705         <bp-sym.h> and <bp-asm.h>.
1706         (__longjmp): Don't use BP_SYM.
1707         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1708         and <bp-asm.h>.
1709         (memcpy): Don't use BP_SYM.
1710         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1711         <bp-sym.h> and <bp-asm.h>.
1712         (memcpy): Don't use BP_SYM.
1713         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1714         <bp-asm.h>.
1715         (memcpy): Don't use BP_SYM.
1716         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1717         <bp-asm.h>.
1718         (memset): Don't use BP_SYM.
1719         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1720         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1721         (__bzero): Don't use BP_SYM.
1722         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1723         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1724         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1725         <bp-sym.h> and <bp-asm.h>.
1726         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1727         pointers.
1728         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1729         <bp-sym.h> and <bp-asm.h>.
1730         (memcpy): Don't use BP_SYM.
1731         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1732         <bp-sym.h> and <bp-asm.h>.
1733         (memset): Don't use BP_SYM.
1734         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1735         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1736         (__bzero): Don't use BP_SYM.
1737         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1738         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1739         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1740         <bp-sym.h> and <bp-asm.h>.
1741         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1742         pointers.
1743         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1744         <bp-sym.h> and <bp-asm.h>.
1745         (memcpy): Don't use BP_SYM.
1746         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1747         <bp-sym.h> and <bp-asm.h>.
1748         (memset): Don't use BP_SYM.
1749         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1750         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1751         (__bzero): Don't use BP_SYM.
1752         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1753         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1754         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1755         <bp-sym.h> and <bp-asm.h>.
1756         (__memchr): Don't use BP_SYM.
1757         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1758         <bp-sym.h> and <bp-asm.h>.
1759         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1760         pointers.
1761         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1762         <bp-sym.h> and <bp-asm.h>.
1763         (memcpy): Don't use BP_SYM.
1764         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1765         <bp-sym.h> and <bp-asm.h>.
1766         (__mempcpy): Don't use BP_SYM.
1767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1768         <bp-sym.h> and <bp-asm.h>.
1769         (__memrchr): Don't use BP_SYM.
1770         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1771         <bp-sym.h> and <bp-asm.h>.
1772         (memset): Don't use BP_SYM.
1773         (__bzero): Likewise.
1774         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1775         <bp-sym.h> and <bp-asm.h>.
1776         (__rawmemchr): Don't use BP_SYM.
1777         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1778         <bp-sym.h> and <bp-asm.h>.
1779         (__STRCMP): Don't use BP_SYM.
1780         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1781         <bp-sym.h> and <bp-asm.h>.
1782         (strchr): Don't use BP_SYM.
1783         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1784         <bp-sym.h> and <bp-asm.h>.
1785         (__strchrnul): Don't use BP_SYM.
1786         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1787         <bp-sym.h> and <bp-asm.h>.
1788         (strlen): Don't use BP_SYM.
1789         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1790         <bp-sym.h> and <bp-asm.h>.
1791         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1792         pointers.
1793         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1794         <bp-sym.h> and <bp-asm.h>.
1795         (__strnlen): Don't use BP_SYM.
1796         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1797         <bp-sym.h> and <bp-asm.h>.
1798         (__GI__setjmp): Don't use BP_SYM.
1799         (_setjmp): Likewise.
1800         (__sigsetjmp): Likewise.
1801         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1802         (L(start_addresses)): Don't use BP_SYM.
1803         (_start): Likewise.
1804         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1805         <bp-asm.h>.
1806         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1807         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1808         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1809         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1810         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1811         <bp-asm.h>.
1812         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1813         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1814         about bounded pointers.
1815         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1816         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1817         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1818         <bp-asm.h>.
1819         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1820         about bounded pointers.  Remove GKM FIXME comments.
1821         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1822         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1823         <bp-asm.h>.
1824         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1825         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1826         Remove GKM FIXME comments.
1827         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1828         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1829         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1830         <bp-asm.h>.
1831         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1832         about bounded pointers.  Remove GKM FIXME comment.
1833         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1834         and <bp-asm.h>.
1835         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1836         pointers.
1837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1838         <bp-sym.h> and <bp-asm.h>.
1839         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1841         <bp-sym.h> and <bp-asm.h>.
1842         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1843         comment.
1844
1845 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1846
1847         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1848         call free(NULL).
1849
1850 2013-03-05  David S. Miller  <davem@davemloft.net>
1851
1852         * po/es.po: Update from translation team.
1853
1854 2013-03-05  Andreas Jaeger  <aj@suse.de>
1855
1856         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1857         <bits/mman-linux.h>.
1858         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1859         is fine.
1860         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1861         <bits/mman-linux.h> to end of file.
1862         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1863         is fine.
1864         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1865         <bits/mman-linux.h> to end of file.
1866         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1867         is fine.
1868         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1869         <bits/mman-linux.h> to end of file.
1870
1871         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1872         (MCL_CURRENT, MCL_FUTURE): Define here.
1873
1874 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1875
1876         [BZ #15232]
1877         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1878         attribute_hidden.
1879         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1880
1881 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1882
1883         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1884         fourth parameter needed for rt_sigprocmask syscall.
1885         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1886         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1887         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1890         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1891
1892 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1893
1894         [BZ #13550]
1895         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1896         comment about bounded pointers.
1897         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1898         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1899
1900 2013-03-04  Andreas Jaeger  <aj@suse.de>
1901
1902         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1903         common definitions.
1904
1905         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1906         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1907         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1908         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1909         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1910         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1911
1912 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1913
1914         [BZ #15055]
1915         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1916         __ieee754_sqrl instead of __sqrl.
1917
1918 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1919
1920         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1921         * sysdeps/powerpc/fpu_control.h: ... here.
1922         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1923         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1924         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1925         * sysdeps/powerpc/bits/mathinline.h: ... here.
1926
1927 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1928
1929         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1930         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1931         to just [NEED_DL_SYSINFO_DSO].
1932         * elf/dl-support.c: Likewise.
1933         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1934         * elf/rtld.c (dl_main): Likewise.
1935         * elf/setup-vdso.h (setup_vdso): Likewise.
1936         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1937         * sysdeps/unix/sysv/linux/dl-sysdep.c
1938         (_dl_discover_osversion): Likewise.
1939
1940 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1941
1942         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1943         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1944
1945 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1946
1947         * NEWS: Mention libm performance improvements and non-x86 PI
1948         futex support.
1949
1950         * csu/libc-start.c (__pthread_initialize_minimal): Change
1951         function arguments.
1952         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1953
1954 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1955
1956         [BZ #13550]
1957         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1958         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1959         <bp-sym.h> and <bp-asm.h>.
1960         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1961         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1962         and <bp-asm.h>.
1963         (memcpy): Don't use BP_SYM.
1964         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1965         <bp-asm.h>.
1966         (__mpn_add_n): Don't use BP_SYM.
1967         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1968         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1969         and <bp-asm.h>.
1970         (__mpn_addmul_1): Don't use BP_SYM.
1971         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1972         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1973         <bp-sym.h>.
1974         (_setjmp): Don't use BP_SYM.
1975         (__novmx_setjmp): Likewise.
1976         (__GI__setjmp): Likewise.
1977         (__vmx_setjmp): Likewise.
1978         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1979         <bp-sym.h>.
1980         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1981         (__bzero): Don't use BP_SYM.
1982         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1983         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1984         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1985         <bp-sym.h> and <bp-asm.h>.
1986         (memcpy): Don't use BP_SYM.
1987         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1988         <bp-sym.h> and <bp-asm.h>.
1989         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1990         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1991         <bp-sym.h> and <bp-asm.h>.
1992         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1993         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1994         <bp-asm.h>.
1995         (__mpn_lshift): Don't use BP_SYM.
1996         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1997         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1998         <bp-asm.h>.
1999         (memset): Don't use BP_SYM.
2000         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2001         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2002         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2003         <bp-asm.h>.
2004         (__mpn_mul_1): Don't use BP_SYM.
2005         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2006         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2007         <bp-sym.h> and <bp-asm.h>.
2008         (memcmp): Don't use BP_SYM.
2009         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2010         <bp-sym.h> and <bp-asm.h>.
2011         (memcpy): Don't use BP_SYM.
2012         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2013         <bp-sym.h> and <bp-asm.h>.
2014         (memset): Don't use BP_SYM.
2015         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2016         <bp-sym.h> and <bp-asm.h>.
2017         (strncmp): Don't use BP_SYM.
2018         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2019         <bp-sym.h> and <bp-asm.h>.
2020         (memcpy): Don't use BP_SYM.
2021         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2022         <bp-sym.h> and <bp-asm.h>.
2023         (memset): Don't use BP_SYM.
2024         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2025         <bp-sym.h> and <bp-asm.h>.
2026         (__memchr): Don't use BP_SYM.
2027         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2028         <bp-sym.h> and <bp-asm.h>.
2029         (memcmp): Don't use BP_SYM.
2030         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2031         <bp-sym.h> and <bp-asm.h>.
2032         (memcpy): Don't use BP_SYM.
2033         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2034         <bp-sym.h> and <bp-asm.h>.
2035         (__mempcpy): Don't use BP_SYM.
2036         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2037         <bp-sym.h> and <bp-asm.h>.
2038         (__memrchr): Don't use BP_SYM.
2039         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2040         <bp-sym.h> and <bp-asm.h>.
2041         (memset): Don't use BP_SYM.
2042         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2043         <bp-sym.h> and <bp-asm.h>.
2044         (__rawmemchr): Don't use BP_SYM.
2045         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2046         <bp-sym.h> and <bp-asm.h>.
2047         (__STRCMP): Don't use BP_SYM.
2048         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2049         <bp-sym.h> and <bp-asm.h>.
2050         (strchr): Don't use BP_SYM.
2051         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2052         <bp-sym.h> and <bp-asm.h>.
2053         (__strchrnul): Don't use BP_SYM.
2054         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2055         <bp-sym.h> and <bp-asm.h>.
2056         (strlen): Don't use BP_SYM.
2057         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2058         <bp-sym.h> and <bp-asm.h>.
2059         (strncmp): Don't use BP_SYM.
2060         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2061         <bp-sym.h> and <bp-asm.h>.
2062         (__strnlen): Don't use BP_SYM.
2063         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2064         <bp-asm.h>.
2065         (__mpn_rshift): Don't use BP_SYM.
2066         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2067         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2068         <bp-sym.h> and <bp-asm.h>.
2069         (__sigsetjmp): Don't use BP_SYM.
2070         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2071         (L(start_addresses)): Don't use BP_SYM.
2072         (_start): Likewise.
2073         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2074         <bp-asm.h>.
2075         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2076         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2077         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2078         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2079         <bp-asm.h>.
2080         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2081         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2082         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2083         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2084         <bp-asm.h>.
2085         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2086         comments.
2087         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2088         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2089         <bp-asm.h>.
2090         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
2091         FIXME comments.
2092         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2093         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2094         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2095         <bp-asm.h>.
2096         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2097         comment.
2098         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2099         and <bp-asm.h>.
2100         (strncmp): Don't use BP_SYM,
2101         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2102         <bp-asm.h>.
2103         (__mpn_sub_n): Don't use BP_SYM.
2104         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2105         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2106         and <bp-asm.h>.
2107         (__mpn_submul_1): Don't use BP_SYM.
2108         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2110         <bp-sym.h> and <bp-asm.h>.
2111         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2113         <bp-sym.h> and <bp-asm.h>.
2114         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2115         comment.
2116
2117 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2118
2119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2120         Use ZK to minimize writes to Z.
2121         (sub_magnitudes): Simplify code a bit.
2122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2123         Use ZK to minimize writes to Z.
2124         (sub_magnitudes): Simplify code a bit.
2125
2126 2013-02-27  Roland McGrath  <roland@hack.frob.com>
2127
2128         * csu/gmon-start.c: Add special exception to license text.
2129
2130 2013-02-27  Richard Henderson  <rth@redhat.com>
2131
2132         * scripts/config.guess: Update from config.git.
2133         * scripts/config.sub: Likewise.
2134
2135 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2136
2137         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2138
2139         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2140
2141         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2142
2143         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2144
2145         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2146
2147 2013-02-26  Roland McGrath  <roland@hack.frob.com>
2148
2149         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2150         [$(build-shared = yes].
2151
2152 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2153
2154         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2155         (__mul): Reduce iterations for calculating mantissa.
2156
2157         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2158         MPTWO.
2159         (__mpranred): Likewise.
2160
2161         [BZ #15160]
2162         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2163         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2164
2165 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2166
2167         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2168         Define __attribute__.
2169
2170 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2171
2172         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2173         unused.
2174         * posix/regex_internal.h (__attribute): Remove.
2175         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2176         (re_string_context_at): Likewise.
2177         (bitset_not): Use __attribute__ and mark function as possibly
2178         unused.
2179         (bitset_merge): Likewise.
2180         (bitset_mask): Likewise.
2181         (re_string_char_size_at): Likewise.
2182         (re_string_wchar_at): Likewise.
2183         (re_string_elem_size_at): Likewise.
2184
2185 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2186
2187         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2188         code.
2189         (cc32): Likewise.
2190
2191         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2192         (__acr): Likewise.
2193         (__cpy): Likewise.
2194         (norm): Likewise.
2195         (denorm): Likewise.
2196         (__dbl_mp): Likewise.
2197         (add_magnitudes): Likewise.
2198         (sub_magnitudes): Likewise.
2199         (__mul): Likewise.
2200         (__inv): Likewise.
2201
2202         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2203         style.
2204
2205         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2206         style.
2207
2208         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2209         code.
2210
2211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2212         up changes with default code.
2213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2214         Likewise.
2215
2216 2013-02-24  Allan McRae  <allan@archlinux.org>
2217
2218         * manual/socket.texi (The Internet Namespace): Order menu items
2219         to match that in the file.
2220
2221         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2222         node listing of the info page menu.
2223
2224 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2225
2226         [BZ #13550]
2227         * sysdeps/i386/bp-asm.h: Remove file.
2228         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2229         (PARMS): Do not use macros from bp-asm.h.
2230         (S1): Likewise.
2231         (S2): Likewise.
2232         (SIZE): Likewise.
2233         (__mpn_add_n): Do not use BP_SYM
2234         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2235         "bp-asm.h".
2236         (PARMS): Do not use macros from bp-asm.h.
2237         (S1): Likewise.
2238         (SIZE): Likewise.
2239         (__mpn_addmul_1): Do not use BP_SYM
2240         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2241         "bp-asm.h".
2242         (PARMS): Do not use macros from bp-asm.h.
2243         (SIGMSK): Likewise.
2244         (_setjmp): Likewise.  Do not use BP_SYM.
2245         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2246         "bp-asm.h".
2247         (PARMS): Do not use macros from bp-asm.h.
2248         (SIGMSK): Likewise.
2249         (setjmp): Likewise.  Do not use BP_SYM.
2250         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2251         "bp-asm.h".
2252         (PARMS): Do not use macros from bp-asm.h.
2253         (__frexp): Do not use BP_SYM.
2254         (frexp): Likewise.
2255         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2256         "bp-asm.h".
2257         (PARMS): Do not use macros from bp-asm.h.
2258         (__frexpf): Do not use BP_SYM.
2259         (frexpf): Likewise.
2260         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2261         "bp-asm.h".
2262         (PARMS): Do not use macros from bp-asm.h.
2263         (__frexpl): Do not use BP_SYM.
2264         (frexpl): Likewise.
2265         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2266         "bp-asm.h".
2267         (PARMS): Do not use macros from bp-asm.h.
2268         (__remquo): Do not use BP_SYM.
2269         (remquo): Likewise.
2270         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2271         "bp-asm.h".
2272         (PARMS): Do not use macros from bp-asm.h.
2273         (__remquof): Do not use BP_SYM.
2274         (remquof): Likewise.
2275         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2276         "bp-asm.h".
2277         (PARMS): Do not use macros from bp-asm.h.
2278         (__remquol): Do not use BP_SYM.
2279         (remquol): Likewise.
2280         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2281         "bp-asm.h".
2282         (PARMS): Do not use macros from bp-asm.h.
2283         (DEST): Likewise.
2284         (SRC): Likewise.
2285         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2286         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2287         "bp-asm.h".
2288         (PARMS): Do not use macros from bp-asm.h.
2289         (strlen): Do not use BP_SYM.
2290         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2291         "bp-asm.h".
2292         (PARMS): Do not use macros from bp-asm.h.
2293         (S1): Likewise.
2294         (S2): Likewise.
2295         (SIZE): Likewise.
2296         (__mpn_add_n): Do not use BP_SYM.
2297         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2298         "bp-asm.h".
2299         (PARMS): Do not use macros from bp-asm.h.
2300         (S1): Likewise.
2301         (SIZE): Likewise.
2302         (__mpn_addmul_1): Do not use BP_SYM.
2303         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2304         weak_alias.
2305         (bzero): Likewise.
2306         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2307         "bp-asm.h".
2308         (PARMS): Do not use macros from bp-asm.h.
2309         (S): Likewise.
2310         (SIZE): Likewise.
2311         (__mpn_lshift): Do not use BP_SYM.
2312         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2313         "bp-asm.h".
2314         (PARMS): Do not use macros from bp-asm.h.
2315         (DEST): Likewise.
2316         (SRC): Likewise.
2317         (LEN): Likewise.
2318         (memcpy): Likewise.  Do not use BP_SYM.
2319         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2320         libc_hidden_def and weak_alias.
2321         (mempcpy): Do not use BP_SYM in weak_alias.
2322         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2323         "bp-asm.h".
2324         (PARMS): Do not use macros from bp-asm.h.
2325         (DEST): Likewise.
2326         (LEN): Likewise.
2327         [!BZERO_P] (CHR): Likewise.
2328         (memset): Likewise.  Do not use BP_SYM.
2329         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2330         "bp-asm.h".
2331         (PARMS): Do not use macros from bp-asm.h.
2332         (S1): Likewise.
2333         (SIZE): Likewise.
2334         (__mpn_mul_1): Do not use BP_SYM.
2335         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2336         "bp-asm.h".
2337         (PARMS): Do not use macros from bp-asm.h.
2338         (S): Likewise.
2339         (SIZE): Likewise.
2340         (__mpn_rshift): Do not use BP_SYM.
2341         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2342         "bp-asm.h".
2343         (PARMS): Do not use macros from bp-asm.h.
2344         (STR): Likewise.
2345         (CHR): Likewise.
2346         (strchr): Likewise.  Do not use BP_SYM.
2347         (index): Do not use BP_SYM in weak_alias.
2348         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2349         "bp-asm.h".
2350         (PARMS): Do not use macros from bp-asm.h.
2351         (DEST): Likewise.
2352         (SRC): Likewise.
2353         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2354         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2355         "bp-asm.h".
2356         (PARMS): Do not use macros from bp-asm.h.
2357         (strlen): Do not use BP_SYM.
2358         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2359         "bp-asm.h".
2360         (PARMS): Do not use macros from bp-asm.h.
2361         (S1): Likewise.
2362         (S2): Likewise.
2363         (SIZE): Likewise.
2364         (__mpn_sub_n): Do not use BP_SYM.
2365         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2366         "bp-asm.h".
2367         (PARMS): Do not use macros from bp-asm.h.
2368         (S1): Likewise.
2369         (SIZE): Likewise.
2370         (__mpn_submul_1): Do not use BP_SYM.
2371         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2372         "bp-asm.h".
2373         (PARMS): Do not use macros from bp-asm.h.
2374         (S1): Likewise.
2375         (S2): Likewise.
2376         (SIZE): Likewise.
2377         (__mpn_add_n): Do not use BP_SYM.
2378         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2379         weak_alias.
2380         (bzero): Likewise.
2381         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2382         "bp-asm.h".
2383         (PARMS): Do not use macros from bp-asm.h.
2384         (BLK2): Likewise.
2385         (LEN): Likewise.
2386         (memcmp): Do not use BP_SYM.
2387         (bcmp): Do not use BP_SYM in weak_alias.
2388         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2389         "bp-asm.h".
2390         (PARMS): Do not use macros from bp-asm.h.
2391         (DEST): Likewise.
2392         (SRC): Likewise.
2393         (LEN): Likewise.
2394         (memcpy): Likewise.  Do not use BP_SYM.
2395         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2396         "bp-asm.h".
2397         (PARMS): Do not use macros from bp-asm.h.
2398         (DEST): Likewise.
2399         (SRC): Likewise.
2400         (LEN): Likewise.
2401         (memmove): Likewise.  Do not use BP_SYM.
2402         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2403         "bp-asm.h".
2404         (PARMS): Do not use macros from bp-asm.h.
2405         (DEST): Likewise.
2406         (SRC): Likewise.
2407         (LEN): Likewise.
2408         (__mempcpy): Likewise.  Do not use BP_SYM.
2409         (mempcpy): Do not use BP_SYM in weak_alias.
2410         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2411         "bp-asm.h".
2412         (PARMS): Do not use macros from bp-asm.h.
2413         (DEST): Likewise.
2414         (LEN): Likewise.
2415         [!BZERO_P] (CHR): Likewise.
2416         (memset): Likewise.  Do not use BP_SYM.
2417         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2418         "bp-asm.h".
2419         (PARMS): Do not use macros from bp-asm.h.
2420         (STR2): Likewise.
2421         (strcmp): Do not use BP_SYM.
2422         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2423         "bp-asm.h".
2424         (PARMS): Do not use macros from bp-asm.h.
2425         (STR): Likewise.
2426         (DELIM): Likewise.
2427         [USE_AS_STRTOK_R] (SAVE): Likewise.
2428         (FUNCTION): Likewise.  Do not use BP_SYM.
2429         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2430         aliases.
2431         (strtok_r): Likewise.
2432         (__GI___strtok_r): Likewise.
2433         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2434         (PARMS): Do not use macros from bp-asm.h.
2435         (S): Likewise.
2436         (SIZE): Likewise.
2437         (__mpn_lshift): Do not use BP_SYM.
2438         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2439         (PARMS): Do not use macros from bp-asm.h.
2440         (STR): Likewise.
2441         (CHR): Likewise.
2442         (__memchr): Do not use BP_SYM.
2443         (memchr): Do not use BP_SYM in weak_alias.
2444         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2445         (PARMS): Do not use macros from bp-asm.h.
2446         (BLK2): Likewise.
2447         (LEN): Likewise.
2448         (memcmp): Do not use BP_SYM.
2449         (bcmp): Do not use BP_SYM in weak_alias.
2450         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2451         (PARMS): Do not use macros from bp-asm.h.
2452         (S1): Likewise.
2453         (SIZE): Likewise.
2454         (__mpn_mul_1): Do not use BP_SYM.
2455         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2456         "bp-asm.h".
2457         (PARMS): Do not use macros from bp-asm.h.
2458         (STR): Likewise.
2459         (CHR): Likewise.
2460         (__rawmemchr): Do not use BP_SYM.
2461         (rawmemchr): Do not use BP_SYM in weak_alias.
2462         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2463         (PARMS): Do not use macros from bp-asm.h.
2464         (S): Likewise.
2465         (SIZE): Likewise.
2466         (__mpn_rshift): Do not use BP_SYM.
2467         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2468         (PARMS): Do not use macros from bp-asm.h.
2469         (SIGMSK): Likewise.
2470         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2471         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2472         (_start): Do not use BP_SYM.
2473         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2474         (PARMS): Do not use macros from bp-asm.h.
2475         (DEST): Likewise.
2476         (SRC): Likewise.
2477         (__stpcpy): Likewise.  Do not use BP_SYM.
2478         (stpcpy): Do not use BP_SYM in weak_alias.
2479         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2480         "bp-asm.h".
2481         (PARMS): Do not use macros from bp-asm.h.
2482         (DEST): Likewise.
2483         (SRC): Likewise.
2484         (LEN): Likewise.
2485         (__stpncpy): Likewise.  Do not use BP_SYM.
2486         (stpncpy): Do not use BP_SYM in weak_alias.
2487         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2488         (PARMS): Do not use macros from bp-asm.h.
2489         (STR): Likewise.
2490         (CHR): Likewise.
2491         (strchr): Likewise.  Do not use BP_SYM.
2492         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2493         "bp-asm.h".
2494         (PARMS): Do not use macros from bp-asm.h.
2495         (STR): Likewise.
2496         (CHR): Likewise.
2497         (__strchrnul): Likewise.  Do not use BP_SYM.
2498         (strchrnul): Do not use BP_SYM in weak_alias.
2499         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2500         "bp-asm.h".
2501         (PARMS): Do not use macros from bp-asm.h.
2502         (STOP): Likewise.
2503         (strcspn): Do not use BP_SYM.
2504         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2505         "bp-asm.h".
2506         (PARMS): Do not use macros from bp-asm.h.
2507         (STR): Likewise.
2508         (STOP): Likewise.
2509         (strpbrk): Likewise.  Do not use BP_SYM.
2510         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2511         "bp-asm.h".
2512         (PARMS): Do not use macros from bp-asm.h.
2513         (STR): Likewise.
2514         (CHR): Likewise.
2515         (strrchr): Likewise.  Do not use BP_SYM.
2516         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2517         (PARMS): Do not use macros from bp-asm.h.
2518         (SKIP): Likewise.
2519         (strspn): Do not use BP_SYM.
2520         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2521         (PARMS): Do not use macros from bp-asm.h.
2522         (STR): Likewise.
2523         (DELIM): Likewise.
2524         (SAVE): Likewise.
2525         (FUNCTION): Likewise.  Do not use BP_SYM.
2526         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2527         aliases.
2528         (strtok_r): Likewise.
2529         (__GI___strtok_r): Likewise.
2530         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2531         (PARMS): Do not use macros from bp-asm.h.
2532         (S1): Likewise.
2533         (S2): Likewise.
2534         (SIZE): Likewise.
2535         (__mpn_sub_n): Do not use BP_SYM.
2536         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2537         "bp-asm.h".
2538         (PARMS): Do not use macros from bp-asm.h.
2539         (S1): Likewise.
2540         (SIZE): Likewise.
2541         (__mpn_submul_1): Do not use BP_SYM.
2542         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2543         <bp-sym.h>.
2544         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2545         and <bp-asm.h>.
2546         (PARMS): Do not use macros from bp-asm.h.
2547         (FLAGS): Likewise.
2548         (PTID): Likewise.
2549         (TLS): Likewise.
2550         (CTID): Likewise.
2551         (__clone): Do not use BP_SYM.
2552         (clone): Do not use BP_SYM in weak_alias.
2553         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2554         and <bp-asm.h>.
2555         (PARMS): Do not use macros from bp-asm.h.
2556         (LEN): Likewise.
2557         (__mmap64): Do not use BP_SYM.
2558         (mmap64): Do not use BP_SYM in weak_alias.
2559         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2560         <bp-sym.h> and <bp-asm.h>.
2561         (PARMS): Do not use macros from bp-asm.h.
2562         (__posix_fadvise64_l64): Do not use BP_SYM.
2563         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2564         (PARMS): Do not use macros from bp-asm.h.
2565         (NSOPS): Likewise.
2566         (semtimedop): Do not use BP_SYM.
2567         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2568         and <bp-asm.h>.
2569
2570 2013-02-21  Allan McRae  <allan@archlinux.org>
2571
2572         * manual/message.texi (Charset conversion in gettext):
2573         Move @end statement to beginning of line.
2574
2575 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2576
2577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2578         static.
2579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2580         Likewise.
2581
2582         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2583         (denorm): Likewise.
2584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2586
2587 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2588
2589         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2590         tail-call to the resolved function if pltexit isn't needed.
2591
2592 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2593
2594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2595         or Y being zero as being unlikely.
2596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2597         Likewise.
2598
2599 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2600
2601         * manual/nss.texi (System Databases and Name Service Switch):
2602         Remove frobnicate @pxref.
2603
2604 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2605
2606         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2607         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2608
2609 2013-02-20  Petr Machata  <pmachata@redhat.com>
2610
2611         * elf/elf.h (R_ARM_TARGET1): New macro.
2612         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2613         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2614         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2615         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2616         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2617         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2618         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2619         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2620         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2621         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2622         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2623         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2624         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2625         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2626         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2627         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2628         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2629         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2630         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2631         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2632         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2633         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2634         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2635         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2636         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2637         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2638         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2639         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2640         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2641         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2642         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2643         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2644         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2645         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2646         (R_ARM_THM_GOT_BREL12): Likewise.
2647         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2648         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2649         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2650         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2651         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2652         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2653         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2654         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2655         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2656
2657 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2658
2659         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2660         __attribute_used__ to __attribute__ ((unused)).
2661
2662 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2663
2664         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2665         powerpc mpa.c.
2666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2667         comment formatting.
2668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2669
2670 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2671
2672         [BZ #13550]
2673         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2674         Remove macro.
2675         (ENTER): Remove both macro definitions.
2676         (LEAVE): Likewise.
2677         (CHECK_BOUNDS_LOW): Likewise.
2678         (CHECK_BOUNDS_HIGH): Likewise.
2679         (CHECK_BOUNDS_BOTH): Likewise.
2680         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2681         (RETURN_BOUNDED_POINTER): Likewise.
2682         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2683         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2684         (POP_ERRNO_LOCATION_RETURN): Likewise.
2685         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2686         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2687         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2688         macros.
2689         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2690         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2691         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2692         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2693         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2694         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2695         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2696         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2697         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2698         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2699         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2700         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2701         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2702         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2703         removed macros.
2704         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2705         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2706         macros.
2707         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2708         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2709         * sysdeps/i386/i586/memset.S (memset): Likewise.
2710         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2711         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2712         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2713         macros.
2714         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2715         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2716         Change uses of L(2) to L(out).
2717         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2718         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2719         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2720         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2721         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2722         removed macros.
2723         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2724         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2725         macros.
2726         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2727         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2728         (RETURN): Do not use macro LEAVE.
2729         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2730         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2731         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2732         * sysdeps/i386/i686/memset.S (memset): Likewise.
2733         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2734         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2735         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2736         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2737         Likewise.
2738         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2739         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2740         L(1_2) and L(1_3) into L(1).
2741         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2742         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2743         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2744         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2745         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2746         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2747         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2748         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2749         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2750         macros.
2751         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2752         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2753         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2754         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2755         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2756         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2757         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2758         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2759         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2760         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2761         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2762         * sysdeps/i386/strspn.S (strspn): Likewise.
2763         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2764         conditional code.
2765         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2766         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2767         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2768         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2769         L(1_3) into L(1_1).
2770         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2771         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2772         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2773         macros.
2774         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2775
2776 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2777
2778         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2779         macro.
2780
2781 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2782
2783         * math/atest-exp.c (exp_mpn): Remove ROUND.
2784         * math/atest-exp2.c (exp_mpn): Likewise.
2785         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2786
2787         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2788         * stdlib/tst-tls-atexit-lib.c: Likewise.
2789         * stdlib/tst-tls-atexit.c: Likewise.
2790
2791 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2792
2793         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2794         and __attribute_alloc_size__.
2795
2796 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2797
2798         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2799         __attribute_alloc_size__.
2800         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2801         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2802
2803 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2804
2805         * include/programs/xmalloc.h: New file.
2806         * catgets/gencat.c: Include it.
2807         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2808         * elf/pldd.c: Likewise.
2809         * iconv/iconv_charmap.c: Likewise.
2810         * iconv/iconvconfig.c: Likewise.
2811         * iconv/strtab.c: Likewise.
2812         * locale/programs/locale.c: Likewise.
2813         * locale/programs/localedef.h: Likewise.
2814         * locale/programs/simple-hash.c: Likewise.
2815         * nscd/nscd.h: Likewise.
2816         * nss/makedb.c: Likewise.
2817         * sysdeps/generic/ldconfig.h: Likewise.
2818
2819 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2820
2821         * Versions.def: Add GLIBC_2.18.
2822         * include/link.h (struct link_map): New member l_tls_dtor_count.
2823         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2824         (__call_tls_dtors): Likewise.
2825         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2826         __cxa_thread_atexit_impl.
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2828         Likewise.
2829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2830         Likewise.
2831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2832         Likewise.
2833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2834         Likewise.
2835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2837         Likewise.
2838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2839         Likewise.
2840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2842         Likewise.
2843         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2844         (tests): Add test case tst-tls-atexit.
2845         (modules-names): Add shared library for tst-tls-atexit.
2846         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2847         (GLIBC_PRIVATE): Add __call_tls_dtors.
2848         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2849         for libstdc++.
2850         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2851         * stdlib/tst-tls-atexit.c: New test case.
2852         * stdlib/tst-tls-atexit-lib.c: New test case.
2853
2854         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2855
2856         * elf/Versions (ld): Add _dl_find_dso_for_object.
2857         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2858         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2859         (dl_open_worker): Use _dl_find_dso_for_object.
2860         * elf/dl-sym.c (do_sym): Likewise.
2861         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2862
2863 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2864
2865         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2866         Syntactic changes only.
2867         (_dl_runtime_profile): Do a tail-call to the resolved function.
2868
2869 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2870
2871         [BZ #13550]
2872         * sysdeps/x86_64/bp-asm.h: Remove file.
2873         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2874         <bp-sym.h> and <bp-asm.h>.
2875         (__clone): Do not use BP_SYM.
2876         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2877         <bp-sym.h> and <bp-asm.h>.
2878         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2879         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2880         "bp-asm.h".
2881         (_setjmp): Do not use BP_SYM.
2882         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2883         "bp-asm.h".
2884         (setjmp): Do not use BP_SYM.
2885         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2886         libc_hidden_def.
2887         (mempcpy): Do not use BP_SYM in weak_alias.
2888         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2889         "bp-asm.h".
2890         (strchr): Do not use BP_SYM.
2891         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2892         "bp-asm.h".
2893         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2894         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2895         (_start): Do not use BP_SYM.
2896         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2897         "bp-asm.h".
2898         (strcat): Do not use BP_SYM.
2899         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2900         "bp-asm.h".
2901         (STRCMP): Do not use BP_SYM.
2902         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2903         "bp-asm.h".
2904         (STRCPY): Do not use BP_SYM.
2905         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2906         "bp-asm.h".
2907         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2908         "bp-asm.h".
2909         (FUNCTION): Do not use BP_SYM.
2910         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2911         weak_alias.
2912         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2913
2914 2013-02-17  Andreas Jaeger  <aj@suse.de>
2915
2916         * time/Versions: Sort entries.
2917         * string/Versions: Likewise.
2918         * resolv/Versions: Likewise.
2919         * posix/Versions: Likewise.
2920         * iconv/Versions: Likewise.
2921         * elf/Versions: Likewise.
2922         * wcsmbs/Versions: Likewise.
2923
2924 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2925
2926         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2927         loop termination condition.
2928
2929         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2930         variable to calculate EZ.
2931         (__sqr): Likewise.
2932
2933         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2934         the lower precision input.
2935
2936 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2937
2938         [BZ #13550]
2939         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2940         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2941         (run-via-rtld-prefix): Do not handle %-bp tests.
2942         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2943         (all-object-suffixes): Remove .ob.
2944         (bppfx): Remove variable.
2945         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2946         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2947         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2948         [$(build-bounded) = yes] (libtype.ob): Likewise.
2949         * Makerules (elide-routines.ob): Remove variable.
2950         (do-tests-clean): Do not handle *-bp.out.
2951         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2952         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2953         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2954         (tests): Do not include $(tests-bp.out).
2955         (xtests): Do not include $(xtests-bp.out).
2956         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2957         [$(build-bounded) = yes] ($(addprefix
2958         $(objpfx),$(binaries-bounded))): Remove rule.
2959         ($(objpfx)%-bp.out): Remove rule.
2960         * config.make.in (build-bounded): Remove variable.
2961         * crypt/Makefile [$(build-bounded) = yes]
2962         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2963         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2964         append to variable.
2965         [$(build-bounded) = yes] (install-lib): Likewise.
2966         [$(build-bounded) = yes] (generated): Likewise.
2967         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2968         Remove rule.
2969         * intl/Makefile [$(build-bounded) = yes]
2970         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2971         * math/Makefile [$(build-bounded) = yes]
2972         ($(tests:%=$(objpfx)%-bp): Likewise.
2973         * misc/Makefile [$(build-bounded) = yes]
2974         ($(objpfx)tst-tsearch-bp): Likewise.
2975         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2976         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2977         Remove dependency.
2978         * string/Makefile (o-objects.ob): Remove variable.
2979         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2980         (CFLAGS-.ob): Remove variable.
2981         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2982         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2983         both definitions of variable.
2984         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2985         (ASFLAGS-.ob): Remove variable.
2986
2987 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2988
2989         [BZ #13550]
2990         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2991         Remove __BOUNDED_POINTERS__ from condition.
2992         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2993         * string/bits/string2.h [!__NO_STRING_INLINES &&
2994         !__BOUNDED_POINTERS__]: Likewise.
2995         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2996         Likewise.
2997         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2998         Remove conditional code.
2999         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3000         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3001         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3002         condition.
3003
3004         [BZ #13550]
3005         * csu/libc-start.c: Do not include <bp-sym.h>.
3006         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3007         * elf/dl-open.c: Do not include <bp-sym.h>.
3008         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3009         * math/fegetenv.c: Do not include <bp-sym.h>.
3010         (fegetenv): Do not use BP_SYM in versioned symbols.
3011         * nptl/sysdeps/pthread/bits/libc-lockP.h
3012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3013         <bp-sym.h>.
3014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3015         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3017         (__pthread_mutex_destroy): Likewise.
3018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3019         (__pthread_mutex_lock): Likewise.
3020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3021         (__pthread_mutex_trylock): Likewise.
3022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3023         (__pthread_mutex_unlock): Likewise.
3024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3025         (__pthread_mutexattr_init): Likewise.
3026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3027         (__pthread_mutexattr_destroy): Likewise.
3028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3029         (__pthread_mutexattr_settype): Likewise.
3030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3031         (__pthread_rwlock_init): Likewise.
3032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3033         (__pthread_rwlock_destroy): Likewise.
3034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3035         (__pthread_rwlock_rdlock): Likewise.
3036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3037         (__pthread_rwlock_tryrdlock): Likewise.
3038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3039         (__pthread_rwlock_wrlock): Likewise.
3040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3041         (__pthread_rwlock_trywrlock): Likewise.
3042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3043         (__pthread_rwlock_unlock): Likewise.
3044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3045         (__pthread_key_create): Likewise.
3046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3047         (__pthread_setspecific): Likewise.
3048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3049         (__pthread_getspecific): Likewise.
3050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3051         Likewise.
3052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3053         (_pthread_cleanup_push_defer): Likewise.
3054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3055         (_pthread_cleanup_pop_restore): Likewise.
3056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3057         (pthread_setcancelstate): Likewise.
3058         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3059         <bp-sym.h>.
3060         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3061         (memchr): Do not use BP_SYM in weak_alias.
3062         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3063         (fegetenv): Do not use BP_SYM in versioned symbols.
3064         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3065         (fesetenv): Do not use BP_SYM in versioned symbols.
3066         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3067         (feupdateenv): Do not use BP_SYM in versioned symbols.
3068         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3069         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3070         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3071         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3072         (open64): Do not use BP_SYM in weak_alias.
3073         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3074         (fegetenv): Do not use BP_SYM in versioned symbols.
3075         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3076         (fesetenv): Do not use BP_SYM in versioned symbols.
3077         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3078         (feupdateenv): Do not use BP_SYM in versioned symbols.
3079         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3080         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3081         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3082         (feraiseexcept): Do not use BP_SYM in versioned symbols.
3083         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3084         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3085         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3086         <bp-sym.h>.
3087         (__libc_start_main): Do not use BP_SYM.
3088
3089 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3090
3091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3092         redundant return line.
3093         (norm): Likewise.
3094         (denorm): Likewise.
3095         (dbl_mp): Likewise.
3096         (sub_magnitudes): Likewise.
3097         (__add): Likewise.
3098         (__sub): Likewise.
3099         (__mul): Likewise.
3100         (__inv): Likewise.
3101         (__dvd): Likewise.
3102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3103         (norm): Likewise.
3104         (denorm): Likewise.
3105         (dbl_mp): Likewise.
3106         (sub_magnitudes): Likewise.
3107         (__add): Likewise.
3108         (__sub): Likewise.
3109         (__mul): Likewise.
3110         (__inv): Likewise.
3111         (__dvd): Likewise.
3112
3113         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3114         instead of __mul.
3115         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3116         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3117         (cc32): Likewise.
3118
3119         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3120         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3122         of __mul for squares.
3123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3124         function
3125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3126         Likewise.
3127         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3128         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3129
3130 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
3131
3132         [BZ #13550]
3133         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3134         code.
3135         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3136         prototype or function definition.  Rename ubp_* variables and
3137         parameters.  Remove argv definitions conditional on
3138         [__BOUNDED_POINTERS__].
3139         * debug/backtrace.c (__backtrace): Do not use __unbounded.
3140         * elf/dl-runtime.c (_dl_fixup): Likewise.
3141         * include/set-hooks.h (RUN_HOOK): Likewise.
3142         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3143         definition.
3144         * string/strcpy.c (strcpy): Do not use __unbounded.
3145         * sysdeps/generic/frame.h (struct layout): Likewise.
3146         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3147         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3148         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3149         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3150         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3151         (__backtrace): Likewise.
3152         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3153         use __ptrvalue.
3154         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3155         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3156         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3157         Likewise.
3158         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3159         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3160         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3161         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3162         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3163         Do not use __unbounded.
3164         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3165         Rename __unboundedrlimits parameter to rlimits in prototype.
3166         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3167         Do not use __unbounded.
3168         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3169         not use __ptrvalue.
3170         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3171         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3172         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3173         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3174         __ptrvalue or __unbounded.
3175         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3176         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3177         use __unbounded.
3178         (__new_msgctl): Do not use __ptrvalue.
3179         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3180         __unbounded.
3181         (__libc_msgrcv): Do not use __ptrvalue.
3182         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3183         startup_info): Do not use __unbounded.
3184         (__libc_start_main): Likewise.  Rename ubp_* variables and
3185         parameters.  Remove argv definitions conditional on
3186         [__BOUNDED_POINTERS__].
3187         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3188         __ptrvalue.
3189         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3190         use __unbounded.
3191         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3192         or __ptrvalue.
3193         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3194         use __unbounded.
3195         (__new_shmctl): Do not use __ptrvalue.
3196         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3197         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3198         Likewise.
3199         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3201         (__libc_sigaction): Likewise.
3202         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3203         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3204         Likewise.
3205         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3206
3207 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3208
3209         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3210
3211         * string/mempcpy.c: Implement by calling memcpy.
3212
3213 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3214
3215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3216
3217         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3218         evaluation.
3219
3220         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3221         values in the mantissa.
3222
3223         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3224         minimize writes to Z.
3225         (sub_magnitudes): Simplify code a bit.
3226
3227 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3228
3229         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3230         from the message.  The linker prefixes all warnings with that already.
3231
3232 2013-02-12  Andreas Schwab  <schwab@suse.de>
3233
3234         [BZ #15078]
3235         * posix/regexec.c (extend_buffers): Add parameter min_len.
3236         (check_matching): Pass minimum needed length.
3237         (clean_state_log_if_needed): Likewise.
3238         (get_subexp): Likewise.
3239         * posix/Makefile (tests): Add bug-regex34.
3240         (bug-regex34-ENV): Define.
3241         * posix/bug-regex34.c: New file.
3242
3243         [BZ #11561]
3244         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3245         elements compare against the byte sequence of it, not its name.
3246         * posix/Makefile (tests): Add bug-regex35.
3247         (bug-regex35-ENV): Define.
3248         * posix/bug-regex35.c: New file.
3249
3250 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3251
3252         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3253         comment.
3254         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3255         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3256         (CHECK_EOL): Add undef.
3257
3258 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3259
3260         * bits/stdlib-bsearch.h: New file.
3261         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3262         * stdlib/stdlib.h: Likewise.
3263
3264 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3265
3266         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3267         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3268         declaration.
3269         * manual/search.texi (Array Search Function): Add missing const in
3270         lfind prototype.
3271         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3272         declaration to use rlim_t.
3273         (Basic Scheduling Functions): Remove erroneous const from
3274         sched_getparam prototype.  Remove erroneous * from
3275         sched_get_priority_max and sched_get_priority_min prototypes.
3276         (Resource Usage): Fix summary @comment on vtimes to refer to
3277         sys/vtimes.h rather than vtimes.h.
3278         Add missing *s in vtimes prototype.
3279         (Limits on Resources): Fix ulimit prototype to return long int.
3280         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3281         prototypes to use long int rather than double.
3282         (BSD Random): Fix initstate and setstate to use char *, not void *.
3283         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3284         prototype to make second argument 'struct aiocb64 *const[]'.
3285         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3286         (Status of AIO Operations): Remove erroneous const in aio_return and
3287         aio_return64 prototypes.
3288         (Synchronizing I/O): Fix sync prototype to return void.
3289         * manual/startup.texi (Suboptions): Remove an erroneous const in
3290         getsubopt prototype.
3291         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3292         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3293         use size_t rather than int.
3294         (Scanning All Users): Likewise for getpwent_r.
3295         (Setting Groups): Add missing const to setgroups prototype.
3296         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3297         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3298         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3299         'const void *' rather than 'const char *'.
3300         (Host Address Functions): Likewise for inet_ntop.
3301         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3302         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3303         ssize_t for return value.
3304         (Sending Data): Likewise for send, sendto, sendmsg.
3305         (Socket Option Functions): Add a missing const in setsockopt prototype.
3306         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3307         use wchar_t for the argument.
3308         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3309         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3310         take no arguments.
3311         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3312         double/float/long double for second argument.
3313         Fix return types of significand, significandf, significandl.
3314         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3315         argument in fchmod prototype.
3316         (File Owner): Use uid_t and gid_t in fchown prototype.
3317         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3318         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3319         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3320         use 'const struct dirent **' as argument types to CMP function pointer
3321         argument.
3322         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3323         (File Times): Fix summary magic @comment for struct utimbuf and utime
3324         to refer to utime.h, not time.h.
3325         * manual/string.texi (Argz Functions): Add missing const in
3326         argz_extract and argz_next prototypes.
3327         (Finding Tokens in a String): Likewise for basename.
3328         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3329         (Copying and Concatenation): Fix typo in wmemmove prototype.
3330         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3331         (Signal Stack): Remove erroneous const in sigstack prototype.
3332         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3333         prototype.
3334         (Simple Calendar Time): Likewise for stime.
3335         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3336         prototype.
3337         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3338         say sys/sysctl.h instead.
3339         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3340         and vsyslog prototypes.
3341
3342 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3343
3344         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3345         Remove.
3346
3347 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3348
3349         * misc/sys/mman.h: Fix typo in mremap comment.
3350
3351 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3352
3353         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3354         the '\0' terminator.
3355
3356 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3357
3358         [BZ #13550]
3359         * debug/segfault.c: Don't include <bp-checks.h>.
3360         * sysdeps/generic/bp-checks.h: Remove file.
3361         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3362         (__GETDENTS): Don't use CHECK_N.
3363         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3364         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3365         (__getgroups): Don't use CHECK_N.
3366         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3367         (setgroups): Don't use CHECK_N.
3368         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3369         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3370         (__libc_msgrcv): Don't use CHECK_N.
3371         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3372         (__libc_msgsnd): Don't use CHECK_N.
3373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3374         <bp-checks.h>.
3375         (__libc_pread): Don't use CHECK_N.
3376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3377         include <bp-checks.h>.
3378         (__libc_pread64): Don't use CHECK_N.
3379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3380         include <bp-checks.h>.
3381         (__libc_pwrite): Don't use CHECK_N.
3382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3383         include <bp-checks.h>.
3384         (__libc_pwrite64): Don't use CHECK_N.
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3386         <bp-checks.h>.
3387         (__libc_pread): Don't use CHECK_N.
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3389         include <bp-checks.h>.
3390         (__libc_pread64): Don't use CHECK_N.
3391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3392         include <bp-checks.h>.
3393         (__libc_pwrite): Don't use CHECK_N.
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3395         include <bp-checks.h>.
3396         (__libc_pwrite64): Don't use CHECK_N.
3397         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3398         (do_pread): Don't use CHECK_N.
3399         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3400         (do_pread64): Don't use CHECK_N.
3401         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3402         (do_pwrite): Don't use CHECK_N.
3403         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3404         (do_pwrite64): Don't use CHECK_N.
3405         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3406         (__libc_readv): Don't use CHECK_N.
3407         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3408         (semop): Don't use CHECK_N.
3409         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3410         <bp-checks.h>.
3411         (semtimedop): Don't use CHECK_N.
3412         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3413         (__libc_pread): Don't use CHECK_N.
3414         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3415         <bp-checks.h>.
3416         (__libc_pread64): Don't use CHECK_N.
3417         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3418         <bp-checks.h>.
3419         (__libc_pwrite): Don't use CHECK_N.
3420         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3421         <bp-checks.h>.
3422         (__libc_pwrite64): Don't use CHECK_N.
3423         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3424         <bp-checks.h>.
3425         (__libc_msgrcv): Don't use CHECK_N.
3426         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3427         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3428         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3429         (__libc_writev): Don't use CHECK_N.
3430
3431 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3432
3433         * string/strcpy.c: Removed unused variable.
3434
3435         * Makeconfig (+sysdep-includes): Define with := rather than =.
3436         Use an existing include/ subdir of each sysdeps dir before it.
3437
3438 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3439
3440         * nscd/connection.c (register_traced_file): Comment function.
3441         [HAVE_INOTIFY] (union __inev): Define.
3442         [HAVE_INOTIFY] (inotify_check_files): New function.
3443         [HAVE_INOTIFY] (clear_db_cache): Likewise.
3444         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3445         clear_db_cache.
3446         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3447
3448 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3449
3450         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3451         loaded if not already and that a failure is permanent.
3452
3453 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3454
3455         [BZ #15006]
3456         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3457         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3458
3459 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3460
3461         [BZ #13550]
3462         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3463         (CHECK_1_NULL_OK): Likewise.
3464         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3465         (__fxstat): Do not use CHECK_1.
3466         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3467         <bp-checks.h>.
3468         (___fxstat64): Do not use CHECK_1.
3469         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3470         <bp-checks.h>.
3471         (__fxstatat): Do not use CHECK_1.
3472         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3473         <bp-checks.h>.
3474         (__fxstatat64): Do not use CHECK_1.
3475         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3476         <bp-checks.h>.
3477         (__fxstat): Do not use CHECK_1.
3478         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3479         <bp-checks.h>.
3480         (__fxstatat): Do not use CHECK_1.
3481         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3482         <bp-checks.h>.
3483         (__getresgid): Do not use CHECK_1.
3484         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3485         <bp-checks.h>.
3486         (__getresuid): Do not use CHECK_1.
3487         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3488         <bp-checks.h>.
3489         (__lxstat): Do not use CHECK_1.
3490         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3491         <bp-checks.h>.
3492         (__old_msgctl): Do not use CHECK_1.
3493         (__new_msgctl): Likewise.
3494         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3495         <bp-checks.h>.
3496         (__new_setrlimit): Do not use CHECK_1.
3497         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3498         <bp-checks.h>.
3499         (__old_shmctl): Do not use CHECK_1.
3500         (__new_shmctl): Likewise.
3501         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3502         <bp-checks.h>.
3503         (__xstat): Do not use CHECK_1.
3504         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3505         (__lxstat): Do not use CHECK_1.
3506         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3507         <bp-checks.h>.
3508         (___lxstat64): Do not use CHECK_1.
3509         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3510         (__old_msgctl): Do not use CHECK_1.
3511         (__new_msgctl): Likewise.
3512         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3513         <bp-checks.h>.
3514         (__gettimeofday): Do not use CHECK_1.
3515         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3516         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3517         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3518         <bp-checks.h>.
3519         (__gettimeofday): Do not use CHECK_1.
3520         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3521         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3522         (__new_shmctl): Do not use CHECK_1.
3523         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3524         <bp-checks.h>.
3525         (do_sigtimedwait): Do not use CHECK_1.
3526         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3527         <bp-checks.h>.
3528         (do_sigwaitinfo): Do not use CHECK_1.
3529         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3530         <bp-checks.h>.
3531         (msgctl): Do not use CHECK_1.
3532         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3533         <bp-checks.h>.
3534         (shmctl): Do not use CHECK_1.
3535         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3536         (ustat): Do not use CHECK_1.
3537         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3538         <bp-checks.h>.
3539         (__fxstat): Do not use CHECK_1.
3540         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3541         <bp-checks.h>.
3542         (__fxstatat): Do not use CHECK_1.
3543         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3544         <bp-checks.h>.
3545         (__lxstat): Do not use CHECK_1.
3546         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3547         <bp-checks.h>.
3548         (__xstat): Do not use CHECK_1.
3549         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3550         (__xstat): Do not use CHECK_1.
3551         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3552         (___xstat64): Do not use CHECK_1.
3553
3554         [BZ #13550]
3555         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3556         definitions.
3557         (CHECK_BOUNDS_HIGH): Likewise.
3558         * string/strcpy.c: Do not include <bp-checks.h>.
3559         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3560
3561 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3562
3563         * nscd/nscd-client.h (__nscd_drop_map_ref):
3564         Add __attribute__ ((unused)).
3565         * nis/nss-nisplus.h (niserr2nss): Likewise.
3566
3567         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3568         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3569
3570         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3571         Remove inline keyword.
3572         * include/rounding-mode.h (round_away): Likewise.
3573         * libio/wfileops.c (adjust_wide_data): Likewise.
3574         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3575         (__m128i_strloadu_tolower): Likewise.
3576         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3577         (__m128i_strloadu_tolower): Likewise.
3578         * time/mktime.c (ydhms_diff): Likewise.
3579         * locale/elem-hash.h (elem_hash): Likewise.
3580         * locale/setlocale.c (setdata): Likewise.
3581         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3582         (re_string_wchar_at): Likewise.
3583         (bitset_not, bitset_merge, bitset_mask): Likewise.
3584         [!(__GNUC__ > 3)] (inline): Remove macro.
3585         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3586         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3587         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3588         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3589         * string/memcmp.c (memcmp_bytes): Likewise.
3590         * locale/programs/locarchive.c (compute_hashval): Likewise.
3591         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3592         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3593         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3594         * nss/getent.c (print_rpc, print_protocols): Likewise.
3595         (print_passwd, print_group, print_aliases): Likewise.
3596         * nis/nss-nisplus.h (niserr2nss): Likewise.
3597         * nscd/connections.c (restart_p): Likewise.
3598         Change return type to bool.
3599
3600 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3601
3602         * Makeconfig (all-Depend-files): Add existing
3603         $(sorted-subdirs:=/Depend) files.
3604         (all-subdirs): Remove nss.
3605         * sysdeps/unix/inet/Subdirs: Add it here instead.
3606         * hesiod/Depend: New file.
3607
3608         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3609         instead of calling alloca.
3610
3611         * io/lseek.c (__lseek): Rename to __libc_lseek.
3612         Define __lseek as an alias.
3613
3614         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3615
3616 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3617
3618         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3619         else clause and remove check for non-standard endianness.
3620
3621 2013-02-04  David S. Miller  <davem@davemloft.net>
3622
3623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3624
3625 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3626
3627         [BZ #13550]
3628         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3629         (__ubp_memchr): Remove prototype.
3630         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3631         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3632         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3633         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3634         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3635         Remove alias.
3636         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3637         (__ubp_memchr): Likewise.
3638         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3639         (__ubp_memchr): Likewise.
3640         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3641         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3642         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3643         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3644         CHECK_STRING.
3645         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3646         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3647         (__getcwd): Do not use CHECK_STRING.
3648         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3649         <bp-checks.h>.
3650         (__real_chown): Do not use CHECK_STRING.
3651         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3652         <bp-checks.h>.
3653         (fchownat): Do not use CHECK_STRING.
3654         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3655         CHECK_STRING.
3656         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3657         <bp-checks.h>.
3658         (__lchown): Do not use CHECK_STRING.
3659         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3660         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3661         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3662         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3664         include <bp-checks.h>.
3665         (truncate64): Do not use CHECK_STRING.
3666         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3667         <bp-checks.h>.
3668         (__real_chown): Do not use CHECK_STRING.
3669         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3670         <bp-checks.h>.
3671         (__lchown): Do not use CHECK_STRING.
3672         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3673         <bp-checks.h>.
3674         (__chown): Do not use CHECK_STRING.
3675         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3676         <bp-checks.h>.
3677         (truncate64): Do not use CHECK_STRING.
3678         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3679         Likewise.
3680         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3681         (__xmknod): Do not use CHECK_STRING.
3682         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3683         <bp-checks.h>.
3684         (__xmknodat): Do not use CHECK_STRING.
3685         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3686         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3687
3688 2013-02-04  Andreas Schwab  <schwab@suse.de>
3689
3690         [BZ #14142]
3691         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3692         * include/netdb.h: Likewise for h_errno.
3693         * elf/tst-stackguard1.c: Include <tls.h>.
3694
3695 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3696
3697         * elf/link.h (struct link_map): Extend the l_addr comment.
3698         * include/link.h (struct link_map): Likewise.
3699
3700 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3701
3702         [BZ #13550]
3703         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3704         (BOUNDED_1): Remove macro.
3705         * debug/backtrace.c: Don't include <bp-checks.h>.
3706         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3707         (__backtrace): Likewise.
3708         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3709         <bp-checks.h>.
3710         (__backtrace): Don't use BOUNDED_1.
3711         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3712         <bp-checks.h>.
3713         (__backtrace): Don't use BOUNDED_1.
3714         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3715         (__backtrace): Don't use BOUNDED_1.
3716         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3717         (shmat): Don't use BOUNDED_N.
3718
3719 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3720
3721         [BZ #13550]
3722         * sysdeps/generic/bp-start.h: Remove file.
3723         * csu/libc-start.c: Don't include <bp-start.h>.
3724         (LIBC_START_MAIN): Set up __environ directly instead of using
3725         INIT_ARGV_and_ENVIRON.
3726         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3727         <bp-start.h>.
3728
3729         [BZ #13550]
3730         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3731         definitions.
3732         (CHECK_FCNTL): Likewise.
3733         (CHECK_N_PAGES): Likewise.
3734
3735         [BZ #13550]
3736         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3737         definitions.
3738         (CHECK_SIGSET_NULL_OK): Likewise.
3739         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3740         <bp-checks.h>.
3741         (sigpending): Don't use CHECK_SIGSET.
3742         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3743         <bp-checks.h>.
3744         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3745         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3746         <bp-checks.h>.
3747         (do_sigsuspend): Don't use CHECK_SIGSET.
3748         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3749         use CHECK_SIGSET.
3750         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3751         (do_sigwait): Don't use CHECK_SIGSET.
3752         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3753         use CHECK_SIGSET.
3754         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3755         include <bp-checks.h>.
3756         (sigpending): Don't use CHECK_SIGSET.
3757         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3758         include <bp-checks.h>.
3759         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3760         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3761         <bp-checks.h>.
3762         (sigpending): Don't use CHECK_SIGSET.
3763         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3764         <bp-checks.h>.
3765         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3766
3767         [BZ #13550]
3768         * sysdeps/generic/bp-semctl.h: Remove file.
3769         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3770         <bp-checks.h> and <bp-semctl.h>.
3771         (__old_semctl): Don't use CHECK_SEMCTL.
3772         (__new_semctl): Likewise.
3773         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3774         and <bp-semctl.h>.
3775         (__old_semctl): Don't use CHECK_SEMCTL.
3776         (__new_semctl): Likewise.
3777         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3778         <bp-checks.h> and <bp-semctl.h>.
3779         (__old_semctl): Don't use CHECK_SEMCTL.
3780         (__new_semctl): Likewise.
3781         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3782         <bp-checks.h> and <bp-semctl.h>.
3783         (semctl): Don't use CHECK_SEMCTL.
3784
3785         [BZ #13550]
3786         * Makerules (elide-bp-thunks): Remove variable.
3787         (elide-routines.oS): Don't use $(elide-bp-thunks).
3788         (elide-routines.os): Likewise.
3789         (elide-routines.o): Likewise.
3790         (elide-routines.op): Likewise.
3791         (elide-routines.og): Likewise.
3792         (objects): Don't use $(bp-thunks).
3793         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3794         include.
3795         (common-generated): Do not add s-proto-bp.d.
3796         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3797         (int): Likewise.
3798         (typ): Likewise.
3799         Do not generate makefile rules for bounded-pointer thunks.
3800         * sysdeps/generic/bp-thunks.h: Remove file.
3801         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3802         * sysdeps/unix/s-proto-bp.S: Likewise.
3803
3804         [BZ #15062]
3805         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3806         parts of result separately when argument is not close to line from
3807         -i to i and one part of argument is small.
3808         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3809         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3810         * math/libm-test.inc (cacos_test): Add more tests.
3811         (casin_test): Likewise.
3812         (casinh_test): Likewise.
3813         * sysdeps/i386/fpu/libm-test-ulps: Update.
3814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3815
3816 2013-01-31  David S. Miller  <davem@davemloft.net>
3817
3818         * po/de.po: Update from translation team.
3819
3820 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3821
3822         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3823
3824 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3825
3826         * configure.in (_AC_PROG_CC_C89): New definition.
3827         * configure: Regenerate.
3828
3829         * configure.in (AC_PROG_CPP): New definition.
3830         * configure: Regenerate.
3831
3832 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3833
3834         * debug/tst-backtrace.h: New file.
3835         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3836         (ret): Remove variable.
3837         (x): Likewise.
3838         (FAIL): Remove macro.
3839         (NO_INLINE): Likewise.
3840         (fn1): Use match function instead of strstr.
3841         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3842         (ret): Remove variable.
3843         (x): Likewise.
3844         (FAIL): Remove macro.
3845         (NO_INLINE): Likewise.
3846         (fn): Use match function instead of strstr.
3847         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3848         (ret): Remove variable.
3849         (x): Likewise.
3850         (FAIL): Remove macro.
3851         (NO_INLINE): Likewise.
3852         (handle_signal): Use match function instead of strstr.
3853         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3854         (ret): Remove variable.
3855         (x): Likewise.
3856         (FAIL): Remove macro.
3857         (NO_INLINE): Likewise.
3858         (handle_signal): Use match function instead of strstr.
3859
3860 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3861
3862         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3863
3864 2013-01-23  David S. Miller  <davem@davemloft.net>
3865
3866         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3867         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3868         argument of CAS if possible.
3869         * sysdeps/sparc/sparc64/bits/atomic.h
3870         (__arch_compare_and_exchange_val_32_acq): Likewise.
3871         (__arch_compare_and_exchange_val_64_acq): Likewise.
3872
3873 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3874
3875         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3876         * sysdeps/posix/ulimit.c: ... this.
3877         Include <limits.h>.
3878         * sysdeps/unix/bsd/ulimit.c: Remove file.
3879
3880 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3881
3882         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3883         (LDFLAGS-tst-array5): Likewise.
3884
3885 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3886
3887         [BZ #15036]
3888         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3889         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3890         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3891         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3892
3893 2013-01-21  David S. Miller  <davem@davemloft.net>
3894
3895         * sysdeps/sparc/backtrace.c: New file.
3896         * sysdeps/sparc/sparc32/backtrace.h: New file.
3897         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3898         * sysdeps/sparc/sparc64/backtrace.h: New file.
3899         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3900         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3901         -funwind-tables.
3902
3903 2013-01-21  Andreas Schwab  <schwab@suse.de>
3904
3905         [BZ #15020]
3906         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3907         closed its stdout.
3908
3909 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3910
3911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3912         "mpa2.h".
3913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3914
3915 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3916             Mark Mitchell  <mark@codesourcery.com>
3917             Tom de Vries  <tom@codesourcery.com>
3918             Paul Pluzhnikov  <ppluzhnikov@google.com>
3919
3920         * debug/tst-backtrace2.c: New file.
3921         * debug/tst-backtrace3.c: Likewise.
3922         * debug/tst-backtrace4.c: Likewise.
3923         * debug/tst-backtrace5.c: Likewise.
3924         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3925         (CFLAGS-tst-backtrace3.c): Likewise.
3926         (CFLAGS-tst-backtrace4.c): Likewise.
3927         (CFLAGS-tst-backtrace5.c): Likewise.
3928         (LDFLAGS-tst-backtrace2): Likewise.
3929         (LDFLAGS-tst-backtrace3): Likewise.
3930         (LDFLAGS-tst-backtrace4): Likewise.
3931         (LDFLAGS-tst-backtrace5): Likewise.
3932         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3933         tst-backtrace4 and tst-backtrace5.
3934
3935 2013-01-18  Anton Blanchard  <anton@samba.org>
3936             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3937
3938         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3939         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3940         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3941         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3943         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3944         "+r" and remove output regs list as redundant.  Add explicit inline
3945         asm to specify register of return val to work around compiler codegen
3946         bug.  Remove (int) cast on return value.  Add return type parameter to
3947         use in macro so that this macro does not truncate return value for
3948         64-bit values.
3949         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3950         pass to INTERNAL_VSYSCALL_NCS.
3951         (INLINE_VSYSCALL): Add 'long int' as return type to
3952         INTERNAL_VSYSCALL_NCS macro invocation.
3953         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3954         INTERNAL_VSYSCALL_NCS macro invocation.
3955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3956
3957 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3958
3959         [BZ #14496]
3960         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3961         Fix application of SIMD FP exception mask.
3962
3963         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3964         mp_no from a power of two.
3965         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3966         __mpexp_twomm1.  Use __pow_mp.
3967
3968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3969         multiplication.
3970
3971 2013-01-17  David S. Miller  <davem@davemloft.net>
3972
3973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3974
3975 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3976
3977         [BZ #15023]
3978         * include/complex.h: Condition contents on [!_COMPLEX_H].
3979         (__kernel_casinhf): New prototype.
3980         (__kernel_casinh): Likewise.
3981         (__kernel_casinhl): Likewise.
3982         * math/Makefile (libm_calls): Add k_casinh.
3983         * math/k_casinh.c: New file.
3984         * math/k_casinhf.c: Likewise.
3985         * math/k_casinhl.c: Likewise.
3986         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3987         finite nonzero arguments.
3988         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3989         finite nonzero arguments.
3990         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3991         finite nonzero arguments.
3992         * math/s_casinh.c: Do not include <float.h>.
3993         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3994         * math/s_casinhf.c: Do not include <float.h>.
3995         (__casinhf): Move code for finite nonzero arguments to
3996         k_casinhf.c.
3997         * math/s_casinhl.c: Do not include <float.h>.
3998         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3999         redefine.
4000         (__casinhl): Move code for finite nonzero arguments to
4001         k_casinhl.c.
4002         * math/libm-test.inc (cacos_test): Add more tests.
4003         * sysdeps/i386/fpu/libm-test-ulps: Update.
4004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005
4006 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
4007
4008         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4009         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4010         [!HAVE_MREMAP]: Remove [defined linux] case.
4011         * malloc/arena.c: Do not include <malloc-sysdep.h>.
4012
4013 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4014
4015         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4016
4017 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
4018
4019         * elf/elf.h (R_386_SIZE32): New relocation.
4020         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4021         R_386_SIZE32.
4022         (elf_machine_rela): Likewise.
4023         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4024         R_X86_64_SIZE64 and R_X86_64_SIZE32.
4025
4026 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4027
4028         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4029         (FP_FAST_FMA): Do not define.
4030         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4031         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4032         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4033         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4034         !_SOFT_FLOAT]: Likewise.
4035         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4036         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4037         value.
4038         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4039         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4040         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4041         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4042         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4043         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4044         file.
4045
4046 2013-01-16  Andreas Schwab  <schwab@suse.de>
4047
4048         [BZ #14327]
4049         * include/stdlib.h (__mktemp): Add declaration.
4050         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4051         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4052
4053 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4054
4055         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4056         definitions.
4057         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4058         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4059         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4060         definitions here.
4061         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4062         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4063         definitions.
4064         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4065         and ONE.
4066         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4067         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4068         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4069         definitions.
4070         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4071         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4072         definitions.
4073         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4074
4075         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4076
4077 2013-01-15  David S. Miller  <davem@davemloft.net>
4078
4079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4080         trunc{,f} to libm-sysdep_routes.
4081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4083         file.
4084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4086         file.
4087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4088         file.
4089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4091         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4092         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4093         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4094         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4095         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4096         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4097
4098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4099         nearbyint{,f} to libm-sysdep_routes.
4100         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4102         New file.
4103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4104         file.
4105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4106         New file.
4107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4108         file.
4109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4111         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4112         file.
4113         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4114         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4115         file.
4116         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4117         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4118         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4119
4120         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4121         libc_feholdexcept and libc_fesetenv.
4122
4123 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
4124
4125         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4126
4127 2013-01-14  David S. Miller  <davem@davemloft.net>
4128
4129         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4130         (SPARC_ASM_VIS2_IFUNC): Likewise.
4131         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4133         use of 'siam' instruction.
4134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4135         Likewise.
4136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4137         Likewise.
4138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4139         Likewise.
4140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4145         file.
4146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4147         file.
4148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4149         file.
4150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4151         file.
4152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4157         new VIS2 routines.
4158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4161         Likewise.
4162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4167         routines to libm-sysdep_routines.
4168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4169
4170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4171         fdim/fdimf to libm-sysdep_routines.
4172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4173         file.
4174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4176         file.
4177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4180         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4181         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4182         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4183         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4184
4185 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4186
4187         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4188         to optimize copies.
4189
4190         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4193
4194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4195         local variable MPTWO.
4196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4197         Likewise.
4198
4199 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4200
4201         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4202         GLOB_NOESCAPE.
4203
4204 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4205
4206         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4207
4208 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4209
4210         * manual/pattern.texi (glob_t): Document gl_flags.
4211         (glob64_t): Likewise.
4212
4213 2013-01-11  David S. Miller  <davem@davemloft.net>
4214
4215         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4216         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4217         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4218         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4219         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4220         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4221         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4222         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4223         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4224         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4225         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4226         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4227         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4228
4229         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4230         sparc V9 rather than using V8 code.
4231         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4232         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4233
4234         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4235         Move to...
4236         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4237         Here.
4238
4239 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4240
4241         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4242         not in the main loop.
4243         * configure: Regenerated.
4244
4245 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4246
4247         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4248         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4249         to just #else.
4250         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4251         [!__GLIBC_HAVE_LONG_LONG] case.
4252         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4253         condition to just #else.
4254         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4255         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4256         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4257         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4258         unconditional.
4259         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4260         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4261         #elif condition to just #else.
4262         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4263         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4264         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4265         #elif condition to just #else.
4266
4267 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4268
4269         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4270         (EF_MIPS_ARCH_64): Fix value.
4271         (EF_MIPS_ARCH_32R2): New.
4272         (EF_MIPS_ARCH_64R2): New.
4273
4274 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4275
4276         * Makeconfig (+link-pie-before-libc): New.
4277         (+link-pie-after-libc): Likewise.
4278         (+link-pie-tests): Likewise.
4279         (+link-pie): Rewritten.
4280         (link-before-libc): Remove $(config-LDFLAGS).
4281         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4282         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4283         (config-LDFLAGS): Renamed to ...
4284         (rtld-LDFLAGS): This.
4285         (rtld-tests-LDFLAGS): New macro.
4286         (link-libc-rpath-link): Likewise.
4287         (link-libc-tests-rpath-link): Likewise.
4288         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4289         (link-libc): Prepand $(link-libc-rpath-link).
4290         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4291         (test-program-prefix): New macro.
4292         (test-via-rtld-prefix): Likewise.
4293         (test-program-cmd): Likewise.
4294         (host-test-program-cmd): Likewise.
4295         * Makefile ($(common-objpfx)testrun.sh): Replace
4296         $(run-program-prefix) with $(test-program-prefix).
4297         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4298         $(rtld-LDFLAGS).
4299         ($(common-objpfx)shlib.lds): Likewise.
4300         (build-module-helper): Likewise.
4301         ($(common-objpfx)format.lds): Likewise.
4302         * Rules (binaries-pie-tests): New.
4303         (binaries-pie-notests): Likewise.
4304         (binaries-pie): Rewritten.
4305         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4306         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4307         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4308         (make-test-out): Replace $(host-built-program-cmd) with
4309         $(host-test-program-cmd).
4310         * config.make.in (build-hardcoded-path-in-tests): New variable.
4311         * configure.in (--enable-hardcoded-path-in-tests): New configure
4312         option.
4313         (hardcoded_path_in_tests): New AC_SUBST.
4314         * configure: Regenerated.
4315         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4316         $(built-program-cmd) with $(test-program-cmd).
4317         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4318         (test_program_cmd): This.
4319         * elf/Makefile ($(objpfx)order.out): Run test with
4320         $(test-program-prefix).
4321         ($(objpfx)order2.out): Likewise.
4322         ($(objpfx)tst-initorder.out): Likewise.
4323         ($(objpfx)tst-initorder2.out): Likewise.
4324         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4325         $(test-program-cmd).
4326         ($(objpfx)tst-array1-static.out): Likewise.
4327         ($(objpfx)tst-array2.out): Likewise.
4328         ($(objpfx)tst-array3.out): Likewise.
4329         ($(objpfx)tst-array4.out): Likewise.
4330         ($(objpfx)tst-array5.out): Likewise.
4331         ($(objpfx)tst-array5-static.out): Likewise.
4332         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4333         $(test-program-cmd).
4334         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4335         $(run-program-prefix) with $(test-program-prefix).
4336         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4337         (test_program_prefix): This.
4338         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4339         $(run-program-prefix) with $(test-program-prefix).
4340         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4341         (test_program_prefix): This.
4342         * iconvdata/tst-tables.sh: Likewise.
4343         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4344         $(run-program-prefix) with $(test-program-prefix).
4345         ($(objpfx)tst-translit.out): Likewise.
4346         ($(objpfx)tst-gettext2.out): Likewise.
4347         ($(objpfx)tst-gettext4.out): Likewise.
4348         ($(objpfx)tst-gettext6.out): Likewise.
4349         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4350         (test_program_prefix): This.
4351         * intl/tst-gettext2.sh: Likewise.
4352         * intl/tst-gettext4.sh  Likewise.
4353         * intl/tst-gettext6.sh: Likewise.
4354         * intl/tst-translit.sh: Likewise.
4355         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4356         with $(test-program-cmd).
4357         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4358         $(run-program-prefix) with $(test-program-prefix).
4359         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4360         (test_program_prefix): This.
4361         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4362         $(run-program-prefix) with $(test-program-prefix).
4363         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4364         (test_program_prefix): This.
4365         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4366         * posix/Makefile ($(objpfx)globtest.out): Replace
4367         $(run-via-rtld-prefix) and $(test-wrapper) with
4368         $(test-program-prefix) and $(test-via-rtld-prefix).
4369         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4370         $(test-program-prefix).
4371         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4372         $(host-test-program-cmd).
4373         (tst-spawn-ARGS): Likewise.
4374         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4375         $(test-program-prefix).
4376         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4377         (test_via_rtld_prefix): This.
4378         (test_wrapper): Renamed to ...
4379         (test_program_prefix): This.
4380         (run_program_prefix): Replaced by test_program_prefix.
4381         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4382         (test_program_prefix): This.
4383         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4384         with $(host-test-program-cmd).
4385         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4386         $(run-program-prefix) with $(test-program-prefix).
4387         ($(objpfx)tst-printf.out): Likewise.
4388         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4389         $(test-program-cmd).
4390         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4391         (test_program_prefix): This.
4392         * stdio-common/tst-unbputc.sh: Likewise.
4393         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4394         $(run-program-prefix) with $(test-program-prefix).
4395         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4396         (test_program_prefix): This.
4397         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4398         $(built-program-cmd) with $(test-program-cmd).
4399
4400 2013-01-11  Andreas Jaeger  <aj@suse.de>
4401
4402         [BZ #15003]
4403         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4404         value. Sync with Linux 3.7.
4405
4406 2013-01-10  David S. Miller  <davem@davemloft.net>
4407
4408         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4409         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4410         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4411
4412 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4413
4414         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4415         never set.
4416         * configure: Regenerated.
4417
4418 2013-01-10  David S. Miller  <davem@davemloft.net>
4419
4420         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4421         sparc V9 rather than using V8 code.
4422         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4423         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4424
4425 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4426
4427         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4428         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4429         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4430         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4431         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4432         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4433         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4434         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4435         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4436         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4437         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4438         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4439         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4440         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4441         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4442         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4443         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4444         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4445         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4446         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4447         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4448         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4449         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4450         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4451         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4452         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4453         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4454
4455 2013-01-10  David S. Miller  <davem@davemloft.net>
4456
4457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4458
4459 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4460
4461         * posix/Makefile (tests-static): New variable.
4462         (tests): Add $(tests-static).
4463         (tst-exec-static-ARGS): New variable.
4464         (tst-spawn-static-ARGS): Likewise.
4465         * posix/tst-exec-static.c: New file.
4466         * posix/tst-spawn-static.c: Likewise.
4467         * posix/tst-exec.c: Support run directly.
4468         * posix/tst-spawn.c: Likewise.
4469
4470 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4471
4472         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4473         long.
4474         * math/bits/mathcalls.h (llrint): Likewise.
4475         (llround): Likewise.
4476         * stdlib/stdlib.h (struct drand48_data): Likewise.
4477         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4478         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4479         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4480         Likewise.
4481         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4482         Likewise.
4483         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4484         (elf_greg_t): Likewise.
4485         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4486         (__jmp_buf): Likewise.
4487         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4488         definitions.
4489         (llrint): Likewise, for all definitions.
4490         (llrintl): Likewise.
4491
4492         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4493         Remove [__GNUC__] condition.
4494         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4495         condition to just [__USE_ISOC99].
4496         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4497
4498 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4499
4500         [BZ #14200]
4501         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4502         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4503         defined.
4504         (_POSIX_V6_ILP32_OFF32): Likewise.
4505         (_XBS5_ILP32_OFF32): Likewise.
4506         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4507         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4508
4509 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4510
4511         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4512
4513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4514         doubles __mpexp_twomm1.  Adjust usage.
4515         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4516         Remove.
4517
4518 2013-01-10  Andreas Schwab  <schwab@suse.de>
4519
4520         [BZ #14964]
4521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4522         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4523
4524 2013-01-09  David S. Miller  <davem@davemloft.net>
4525
4526         [BZ #15003]
4527         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4528         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4529         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4530         TCP_FASTOPEN): Define.
4531         (tcp_repair_opt): New structure.
4532         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4533         enum values.
4534         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4535         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4536         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4537         (tcp_cookie_transactions): New structure.
4538
4539 2013-01-09  Anton Blanchard  <anton@samba.org>
4540
4541         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4542         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4544         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4545
4546 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4547
4548         * include/features.h (__USE_ANSI): Remove.
4549
4550 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4551
4552         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4553
4554         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4555
4556 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4557
4558         * sysdeps/s390/fpu/libm-test-ulps: Update.
4559
4560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4561
4562         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4563         (__acr): Likewise.
4564         (__cpy): Likewise.
4565         (norm): Likewise.
4566         (denorm): Likewise.
4567         (__mp_dbl): Likewise.
4568         (__dbl_mp): Likewise.
4569         (add_magnitudes): Likewise.
4570         (sub_magnitudes): Likewise.
4571         (__add): Likewise.
4572         (__sub): Likewise.
4573         (__mul): Likewise.
4574         (__inv): Likewise.
4575         (__dvd): Likewise.
4576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4577         (__acr): Likewise.
4578         (__cpy): Likewise.
4579         (norm): Likewise.
4580         (denorm): Likewise.
4581         (__mp_dbl): Likewise.
4582         (__dbl_mp): Likewise.
4583         (add_magnitudes): Likewise.
4584         (sub_magnitudes): Likewise.
4585         (__add): Likewise.
4586         (__sub): Likewise.
4587         (__mul): Likewise.
4588         (__inv): Likewise.
4589         (__dvd): Likewise.
4590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4591         (__acr): Likewise.
4592         (__cpy): Likewise.
4593         (norm): Likewise.
4594         (denorm): Likewise.
4595         (__mp_dbl): Likewise.
4596         (__dbl_mp): Likewise.
4597         (add_magnitudes): Likewise.
4598         (sub_magnitudes): Likewise.
4599         (__add): Likewise.
4600         (__sub): Likewise.
4601         (__mul): Likewise.
4602         (__inv): Likewise.
4603         (__dvd): Likewise.
4604
4605 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4606
4607         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4608         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4609         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4610         2 && __USE_EXTERN_INLINES]: Likewise.
4611
4612 2013-01-08  Andreas Jaeger  <aj@suse.de>
4613
4614         [BZ# 14985]
4615         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4616         Remove.
4617         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4618         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4619
4620 2013-01-07  Anton Blanchard  <anton@samba.org>
4621
4622         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4623         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4624         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4625         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4626         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4627         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4628         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4629         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4631         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4636         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4637         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4638         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4639         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4640         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4641         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4642         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4643         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4644         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4645         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4646         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4647         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4648         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4650         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4651         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4652         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4654         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4655         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4656         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4657         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4658         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4660         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4661         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4662         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4663         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4664         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4665
4666 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4667
4668         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4669         (__MALLOC_PMT): Likewise.
4670         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4671         [__GNUC__], only on [_LIBC].
4672         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4673         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4674         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4675         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4676         forward declaration.
4677         (realloc_hook_ini): Likewise.
4678         (memalign_hook_ini): Likewise.
4679         (__libc_memalign): Do not use __MALLOC_PMT in variable
4680         declaration.
4681         (__libc_valloc): Likewise.
4682         (__libc_pvalloc): Likewise.
4683         (__libc_calloc): Likewise.
4684         (__posix_memalign): Likewise.
4685
4686         [BZ #14996]
4687         * math/s_casinh.c: Include <float.h>.
4688         (__casinh): Do not do computation with squaring and square root
4689         for large arguments.
4690         * math/s_casinhf.c: Include <float.h>.
4691         (__casinhf): Do not do computation with squaring and square root
4692         for large arguments.
4693         * math/s_casinhl.c: Include <float.h>.
4694         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4695         (__casinhl): Do not do computation with squaring and square root
4696         for large arguments.
4697         * math/libm-test.inc (casin_test): Add more tests.
4698         (casinh_test): Likewise.
4699         * sysdeps/i386/fpu/libm-test-ulps: Update.
4700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4701
4702 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4703
4704         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4705         (__x86_64_raw_data_cache_size): Likewise.
4706         (__x86_64_data_cache_size_half): Likewise.
4707         (__x86_64_raw_data_cache_size_half): Likewise.
4708         (__x86_64_shared_cache_size): Likewise.
4709         (__x86_64_raw_shared_cache_size): Likewise.
4710         (__x86_64_shared_cache_size_half): Likewise.
4711         (__x86_64_raw_shared_cache_size_half): Likewise.
4712         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4713         to ...
4714         (__x86_data_cache_size): This.
4715         (__x86_64_raw_data_cache_size): Renamed to ...
4716         (__x86_raw_data_cache_size): This.
4717         (__x86_64_data_cache_size_half): Renamed to ...
4718         (__x86_data_cache_size_half): This.
4719         (__x86_64_raw_data_cache_size_half): Renamed to ...
4720         (__x86_raw_data_cache_size_half): This.
4721         (__x86_64_shared_cache_size): Renamed to ...
4722         (__x86_shared_cache_size): This.
4723         (__x86_64_raw_shared_cache_size): Renamed to ...
4724         (__x86_raw_shared_cache_size): This.
4725         (__x86_64_shared_cache_size_half): Renamed to ...
4726         (__x86_shared_cache_size_half): This.
4727         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4728         (__x86_raw_shared_cache_size_half): This.
4729         * sysdeps/x86_64/memcpy.S: Updated.
4730         * sysdeps/x86_64/memset.S: Likewise.
4731         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4732         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4734
4735 2013-01-04  David S. Miller  <davem@davemloft.net>
4736
4737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4738
4739 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4740
4741         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4742         1 to avoid redefinition warning.
4743         (__USE_GNU): Don't define.
4744         (init_signaling_nan): Protoize.
4745
4746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4747
4748 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4749
4750         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4752         (__cpymn): Likewise.
4753         (norm): Remove commented code.
4754         (denorm): Likewise.
4755         (__mp_dbl): Likewise.
4756         (__inv): Likewise.
4757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4758         (__cpymn): Likewise.
4759         (norm): Remove commented code.
4760         (denorm): Likewise.
4761         (__mp_dbl): Likewise.
4762         (__inv): Likewise.
4763
4764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4765         mp_no value for 1.0 and 2.0.
4766         (norm): Use RADIXI instead of radixi.d.
4767         (denorm): Likewise.
4768         (__mul): Use 0.0 instead of zero.d.
4769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4770         mp_no value for 1.0 and 2.0.
4771         (norm): Use RADIXI instead of radixi.d.
4772         (denorm): Likewise.
4773         (__mul): Use 0.0 instead of zero.d.
4774
4775 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4776
4777         [BZ #14994]
4778         * math/s_casinh.c (__casinh): Reduce finite argument to first
4779         quadrant then set signs of results at the end.
4780         * math/s_casinhf.c (__casinhf): Likewise.
4781         * math/s_casinhl.c (__casinhl): Likewise.
4782         * math/libm-test.inc (casin_test): Add more tests.
4783         (casinh_test): Likewise.
4784         * sysdeps/i386/fpu/libm-test-ulps: Update.
4785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4786
4787 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4788
4789         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4790
4791         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4792
4793         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4794         declarations.
4795         (denorm): Likewise.
4796         (__mp_dbl): Likewise.
4797         (__inv): Likewise.
4798
4799         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4800         and adjust the header comment.
4801
4802         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4803         variable name from declaration.
4804
4805 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4806
4807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4808         Initialize COMMON_CPUID_INDEX_7 element.
4809         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4810         (CPUID_RTM): Likewise.
4811         (HAS_RTM): Likewise.
4812         (COMMON_CPUID_INDEX_7): New enum.
4813
4814 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4815
4816         [BZ #14981]
4817         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4818         size is zero, record memory as freed.
4819
4820 2013-01-03  Andreas Jaeger  <aj@suse.de>
4821
4822         * po/ia.po: Add new Interlingua translation.
4823
4824 2012-01-03  Allan McRae  <allan@archlinux.org>
4825
4826         * locale/programs/localedef.c: Fix description of '--posix' flag.
4827
4828 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4829
4830         * NEWS: Update dates in second copyright notice.
4831         * README: Update copyright dates in example.
4832         * manual/libc.texinfo: Update copyright dates.
4833         * scripts/test-installation.pl: Update copyright date in --version
4834         output.
4835
4836         * hurd/ctty-input.c: Fix copyright notice formatting.
4837         * hurd/ctty-output.c: Likewise.
4838         * hurd/dtable.c: Likewise.
4839         * hurd/hurd-raise.c: Likewise.
4840         * hurd/hurdprio.c: Likewise.
4841         * hurd/msgportdemux.c: Likewise.
4842         * misc/sys/file.h: Likewise.
4843         * misc/sys/ioctl.h: Likewise.
4844         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4845         * sysdeps/mach/hurd/chdir.c: Likewise.
4846         * sysdeps/mach/hurd/fchdir.c: Likewise.
4847         * sysdeps/mach/hurd/rename.c: Likewise.
4848         * sysdeps/mach/hurd/rmdir.c: Likewise.
4849         * sysdeps/mach/hurd/seekdir.c: Likewise.
4850         * sysdeps/mach/hurd/setsid.c: Likewise.
4851         * sysdeps/posix/wait3.c: Likewise.
4852
4853         * All files with FSF copyright notices: Update copyright dates
4854         using scripts/update-copyrights.
4855         * intl/plural.c: Regenerated.
4856         * locale/programs/charmap-kw.h: Likewise.
4857         * locale/programs/locfile-kw.h: Likewise.
4858
4859 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4860
4861         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4862         four values.
4863
4864         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4865         calculation loop and add branch prediction.
4866
4867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4868         check access beyond bounds of m1np.
4869
4870         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4871         MPTWO.
4872         (__inv): Remove local variable MPTWO to use the global
4873         constant.
4874         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4875         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4876         variable MPTWO.
4877         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4878         MP3HALFS static const.
4879
4880 2013-01-01  David S. Miller  <davem@davemloft.net>
4881
4882         * po/ca.po: Update from translation team.
4883
4884 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4885
4886         * scripts/update-copyrights: New file.
4887         * Makeconfig: Reformat copyright notice.
4888         * ctype/ctype.h: Likewise.
4889         * debug/swprintf_chk.c: Likewise.
4890         * elf/dl-cache.c: Likewise.
4891         * elf/dl-debug.c: Likewise.
4892         * elf/dl-object.c: Likewise.
4893         * grp/initgroups.c: Likewise.
4894         * hurd/Makefile: Likewise.
4895         * hurd/hurd/signal.h: Likewise.
4896         * hurd/hurdfault.c: Likewise.
4897         * hurd/hurdioctl.c: Likewise.
4898         * hurd/hurdlookup.c: Likewise.
4899         * hurd/intr-msg.c: Likewise.
4900         * iconv/gconv_open.c: Likewise.
4901         * libio/swprintf.c: Likewise.
4902         * locale/lc-ctype.c: Likewise.
4903         * locale/nl_langinfo.c: Likewise.
4904         * mach/Machrules: Likewise.
4905         * mach/Makefile: Likewise.
4906         * malloc/obstack.h: Likewise.
4907         * manual/Makefile: Likewise.
4908         * manual/tsort.awk: Likewise.
4909         * misc/bits/stab.def: Likewise.
4910         * nis/nis_print_group_entry.c: Likewise.
4911         * nis/nis_table.c: Likewise.
4912         * nis/nss_compat/compat-pwd.c: Likewise.
4913         * nis/nss_compat/compat-spwd.c: Likewise.
4914         * po/Makefile: Likewise.
4915         * posix/fnmatch.c: Likewise.
4916         * posix/regex.h: Likewise.
4917         * resolv/Makefile: Likewise.
4918         * resolv/nss_dns/dns-network.c: Likewise.
4919         * resolv/res_hconf.c: Likewise.
4920         * scripts/gen-sorted.awk: Likewise.
4921         * soft-fp/soft-fp.h: Likewise.
4922         * stdio-common/printf.h: Likewise.
4923         * stdlib/monetary.h: Likewise.
4924         * stdlib/random.c: Likewise.
4925         * stdlib/random_r.c: Likewise.
4926         * sysdeps/generic/Makefile: Likewise.
4927         * sysdeps/gnu/Makefile: Likewise.
4928         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4930         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4932         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4933         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4934         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4935         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4936         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4937         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4938         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4939         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4940         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4941         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4942         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4943         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4944         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4945         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4946         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4947         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4948         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4949         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4950         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4951         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4955         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4956         * sysdeps/mach/hurd/errnos.awk: Likewise.
4957         * sysdeps/mach/hurd/fork.c: Likewise.
4958         * sysdeps/mach/hurd/getcwd.c: Likewise.
4959         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4960         * sysdeps/mach/hurd/mmap.c: Likewise.
4961         * sysdeps/mach/hurd/utimes.c: Likewise.
4962         * sysdeps/mach/hurd/xmknod.c: Likewise.
4963         * sysdeps/posix/profil.c: Likewise.
4964         * sysdeps/posix/readdir_r.c: Likewise.
4965         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4966         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4967         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4968         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4970         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4971         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4972         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4974         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4975         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4976         * sysdeps/pthread/lio_listio.c: Likewise.
4977         * sysdeps/sparc/dl-procinfo.h: Likewise.
4978         * sysdeps/unix/i386/sysdep.S: Likewise.
4979         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4980         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4981         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4982         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4984         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4985         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4986         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4987         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4988         * sysdeps/wordsize-32/divdi3.c: Likewise.
4989         * time/sys/time.h: Likewise.
4990         * wcsmbs/Makefile: Likewise.
4991
4992 2013-01-01  David S. Miller  <davem@davemloft.net>
4993
4994         * po/fr.po: Update from translation team.
4995
4996         * catgets/gencat.c: Update copyright year.
4997         * csu/version.c: Likewise.
4998         * debug/catchsegv.sh: Likewise.
4999         * debug/pcprofiledump.c: Likewise.
5000         * debug/xtrace.sh: Likewise.
5001         * elf/ldconfig.c: Likewise.
5002         * elf/ldd.bash.in: Likewise.
5003         * elf/pldd.c: Likewise.
5004         * elf/sotruss.ksh: Likewise.
5005         * elf/sprof.c: Likewise.
5006         * iconv/iconv_prog.c: Likewise.
5007         * iconv/iconvconfig.c: Likewise.
5008         * locale/programs/locale.c: Likewise.
5009         * locale/programs/localedef.c: Likewise.
5010         * login/programs/pt_chown.c: Likewise.
5011         * malloc/memusage.sh: Likewise.
5012         * malloc/memusagestat.c: Likewise.
5013         * malloc/mtrace.pl: Likewise.
5014         * nscd/nscd.c: Likewise.
5015         * nss/getent.c: Likewise.
5016         * nss/makedb.c: Likewise.
5017         * posix/getconf.c: Likewise.
5018
5019 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5020
5021         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5022         numbers.
5023
5024 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
5025
5026         * math/bits/mathcalls.h (modf): Use __nonnull.
5027
5028 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5029
5030         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5031         (split): Use macro CN instead of the bare value.
5032         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5033         could be used.
5034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5035         instead of the bare value.
5036         (power1): Likewise.
5037
5038 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5039
5040         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5041         __ATAN_TWOM.
5042         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5043
5044         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5045         their values.
5046         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5047         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5048         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5049         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5050
5051 2012-12-28  Andreas Jaeger  <aj@suse.de>
5052
5053         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
5054         values are from Linux 3.7.
5055
5056         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5057         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
5058
5059 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5060
5061         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5062         TRUE case.
5063
5064         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5065         (norm): Likewise.
5066         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5067         variables with preprocessor constants.
5068         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5069         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5070         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5071
5072 2012-12-27  Bruno Haible  <bruno@clisp.org>
5073
5074         [BZ #14317]
5075         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5076         only if needed.
5077
5078 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5079
5080         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5081         and use variable directly.
5082         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5083
5084         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5085         MPONE.
5086         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5087         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5088         variable MPONE.
5089         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5091         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5092         include directive.  Remove local variable MPONE.
5093         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5094         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5095         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5096
5097 2012-12-25  David S. Miller  <davem@davemloft.net>
5098
5099         * version.h (RELEASE): Set to "development".
5100         (VERSION): Set to "2.17.90".
5101         * NEWS: Add 2.18 section.
5102
5103 2012-12-21  David S. Miller  <davem@davemloft.net>
5104
5105         * po/hr.po: Update from translation team.
5106
5107 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5108
5109         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5110
5111 2012-12-19  Steve Ellcey  <sellcey@mips.com>
5112
5113         * NEWS:  Mention new memcpy for MIPS.
5114
5115 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5116
5117         * manual/contrib.texi (Contributors): Spelling correction.
5118
5119 2012-12-15  David S. Miller  <davem@davemloft.net>
5120
5121         * po/ru.po: Update from translation team.
5122
5123 2012-12-13  David S. Miller  <davem@davemloft.net>
5124
5125         * NEWS: Mention IFUNC testsuite enhancements.
5126
5127         * po/pl.po: Update from translation team.
5128         * po/bg.po: Likewise.
5129
5130         * manual/contrib.texi (Contributors): Update entries for Hongjiu
5131         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
5132
5133 2012-12-11  David S. Miller  <davem@davemloft.net>
5134
5135         * po/sv.po: Update from translation team.
5136
5137         * po/vi.po: Update from translation team.
5138
5139         * po/cs.po: Update from translation team.
5140
5141         * po/de.po: Update from translation team.
5142         * po/eo.po: Likewise.
5143         * po/nl.po: Likewise.
5144
5145 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5146
5147         [BZ #14246]
5148         * manual/argp.texi (Argp Helper Functions): Move node to follow
5149         Argp Parsing State.
5150
5151         [BZ #14872]
5152         * manual/conf.texi (Limits on File System Capacity): Mention if
5153         terminating null is included in the max size.
5154
5155 2012-12-10  Andreas Jaeger  <aj@suse.de>
5156
5157         * po/cs.po: Update from translation team.
5158
5159 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5160
5161         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5162         void pointer and cast to uintptr_t.
5163         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5164         path.
5165         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5166         * sysdeps/s390/s390-64/memset.S: Likewise.
5167
5168 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5169
5170         [BZ #14833]
5171         * menual/message.texi (Message Translation): Fix typos.
5172         (Helper programs for gettext): Likewise.
5173
5174 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5175
5176         [BZ #14898]
5177         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5178         Change to -1.
5179
5180 2012-12-07  David S. Miller  <davem@davemloft.net>
5181
5182         * po/libc.pot: Update.
5183
5184 2012-12-07  Richard Henderson  <rth@redhat.com>
5185
5186         [BZ #10114]
5187         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5188         normal/normal case to before the switch.
5189         (_FP_DIV): Likewise.
5190
5191 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5192             Mike Frysinger  <vapier@gentoo.org>
5193
5194         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5195         check for __NR_fadvise64_64.
5196
5197 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5198
5199         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5200         0, not just to plain "0" as a statement.
5201         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5202         with cw.
5203
5204 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5205
5206         * NEWS: Use sourceware.org in Bugzilla URL.
5207
5208 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5209
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5211         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5212
5213         * stdio-common/tst-put-error.c (do_test): Add newline to the
5214         padded test to ensure flush.
5215
5216 2012-12-05  Jeff Law  <law@redhat.com>
5217
5218         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5219
5220 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5221
5222         * README: Don't refer to ports add-on as distributed separately.
5223         Mention AArch64 in list of systems supported in the ports add-on.
5224
5225         * LICENSES: Add more non-FSF copyright and license notices.
5226
5227         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5228         ((unused)).
5229
5230         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5231
5232         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5233         10000 as width of padded output.
5234
5235 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5236
5237         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5238
5239         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5240         variable LX with __attribute__ ((unused)).
5241         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5242         Likewise.
5243         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5244         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5245         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5246         with __attribute__ ((unused)).
5247
5248 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5249
5250         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5251
5252 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5253
5254         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5255         (CFLAGS-nldbl-acos.c): New variable.
5256         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5257         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5258         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5259         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5260         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5261         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5262         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5263         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5264         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5265         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5266         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5267         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5268         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5269         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5270         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5271         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5272         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5273         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5274         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5275         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5276         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5277         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5278         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5279         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5280         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5281         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5282         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5283         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5284         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5285         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5286         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5287         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5288         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5289         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5290         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5291         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5292         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5293         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5294         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5295         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5296         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5297         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5298         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5299         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5300         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5301         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5302         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5303         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5304         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5305         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5306         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5307         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5308         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5309         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5310         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5311         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5312         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5313         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5314         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5315         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5316         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5317         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5318         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5319         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5320         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5321         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5322         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5323         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5324         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5325         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5326         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5327         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5328         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5329         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5330         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5331         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5332         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5333         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5334         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5335         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5336         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5337         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5338         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5339         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5340         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5341         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5342         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5343         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5344         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5345         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5346         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5347         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5348         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5349         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5350         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5351         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5352         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5353
5354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5355         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5356
5357         [BZ #14914]
5358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5359         whole low double instead of just low 47 bits when splitting values
5360         into two parts.
5361
5362 2012-12-03  Allan McRae  <allan@archlinux.org>
5363
5364         * manual/stdio.texi (Predefined Printf Handlers): Remove
5365         @hsep and @vsep usage.
5366
5367 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5368
5369         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5370         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5371
5372 2012-12-03  Jeff Law  <law@redhat.com>
5373
5374         * time/sys/time.h (settimeofday): Do not mark TV argument
5375         as __nonnull.
5376
5377 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5378
5379         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5380         when currently writing and seek to current position when not.
5381         * libio/Makefile (tests): Remove bug-fclose1.
5382         * libio/bug-fclose1.c: Delete.
5383
5384 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5385
5386         * manual/arith.texi (feenableexcept): Fix typo.
5387         (fedisableexcept): Likewise.
5388
5389 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5390
5391         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5392         second, differently-typed declaration, rather than a cast.
5393
5394 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5395
5396         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5397         * include/rpc/svc.h: ... here.
5398
5399 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5400
5401         [BZ #13013]
5402         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5403         depending n and resplen2 to catch cases where answer
5404         equals answerp2.
5405
5406 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5407
5408         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5409         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5410
5411 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5412
5413         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5414
5415 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5416
5417         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5418
5419 2012-11-28  Jeff Law  <law@redhat.com>
5420
5421         [BZ #13761]
5422         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5423         dataset_temporary.  Track alloca usage into alloca_used.
5424         If dataset is large allocate and release it via malloc/free.
5425
5426 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5427
5428         [BZ #14197]
5429         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5430
5431 2012-11-28  David S. Miller  <davem@davemloft.net>
5432
5433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5434
5435 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5436
5437         [BZ #14803]
5438         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5439         of pi/2 rounded to nearest to 64 bits.
5440         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5441         nearest to 64 bits.
5442         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5443         bits.
5444
5445 2012-11-28  Jeff Law <law@redhat.com>
5446             Martin Osvald <mosvald@redhat.com>
5447
5448         [BZ #14889]
5449         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5450         * sunrpc/svc.c: Include time.h.
5451         (__svc_accept_failed): New function.
5452         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5453         any reason other than EINTR, call __svc_accept_failed.
5454         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5455         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5456
5457 2012-11-28  Andreas Schwab  <schwab@suse.de>
5458
5459         * scripts/abilist.awk: Also handle indirect functions in .opd
5460         section.
5461
5462 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5463
5464         [BZ #13881]
5465         * sysdeps/x86/fpu/powl_helper.c: New file.
5466         * sysdeps/x86/fpu/Makefile: Likewise.
5467         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5468         (p3): New object.
5469         (__ieee754_powl): Use __powl_helper for finite arguments except
5470         integer exponents below 8.
5471         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5472         (p3): New object.
5473         (__ieee754_powl): Use __powl_helper for finite arguments except
5474         integer exponents below 8.
5475         * math/libm-test.inc (pow_test): Add more tests and enable some
5476         previously disabled tests.
5477         * sysdeps/i386/fpu/libm-test-ulps: Update.
5478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5479
5480 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5481             Carlos O'Donell  <carlos_odonell@mentor.com>
5482
5483         * nss/makedb.c (is_prime): Assert that input is odd and greater
5484         than 4.  Note that fact in a comment too.
5485         (next_prime): Add 4 to input.
5486
5487 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5488
5489         [BZ #11741]
5490         * libio/Makefile (tests): Add test case tst-fwrite-error.
5491         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5492         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5493         * libio/tst-fwrite-error.c: New test case.
5494
5495 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5496
5497         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5498         before casting to void *.
5499         * include/libc-internal.h (__pointer_type): New macro.
5500         (__integer_if_pointer_type_sub): Likewise.
5501         (__integer_if_pointer_type): Likewise.
5502         (cast_to_integer): Likewise.
5503         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5504         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5505         before casting to atomic64_t.
5506         (atomic_exchange_acq): Likewise.
5507         (__arch_exchange_and_add_body): Likewise.
5508         (__arch_add_body): Likewise.
5509         (atomic_add_negative): Likewise.
5510         (atomic_add_zero): Likewise.
5511
5512 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5513
5514         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5515         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5516         (add_fdes): Likewise.
5517         (linear_search_fdes): Likewise.
5518         (binary_search_unencoded_fdes): Likewise.
5519
5520 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5521
5522         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5523
5524 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5525
5526         * configure.in: Autodetect C++ header directories.
5527         * configure: Regenerated.
5528
5529 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5530
5531         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5532
5533 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5534
5535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5536
5537 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5538
5539         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5540         LDBL_MANT_DIG == 106]: Disable some tests.
5541         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5542         Likewise.
5543         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5544         Likewise.
5545
5546         [BZ #14871]
5547         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5548         input for small inputs.  Return +/- pi/2 for large inputs.
5549         * math/libm-test.inc (atan_test): Add more tests.
5550
5551         * sysdeps/generic/unwind-dw2-fde-glibc.c
5552         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5553         __attribute__ ((unused)).
5554
5555         [BZ #14645]
5556         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5557         x * y if x and y are nonzero and z is zero.
5558
5559         [BZ #14811]
5560         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5561         nonzero exponents with absolute value below 0x1p-117 to +/-
5562         0x1p-117.
5563
5564         [BZ #14869]
5565         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5566         up arguments below 2**-450, not just those below 2**-500.
5567         * math/libm-test.inc (hypot_test): Add another test.
5568
5569         [BZ #14868]
5570         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5571         Return a+b for ratio over 2**120, not 2**60.
5572         * math/libm-test.inc (hypot_test): Add another test.
5573
5574         * math/libm-test.inc (clog_test): Use
5575         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5576         (clog10_test): Likewise.
5577
5578         [BZ #6778]
5579         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5580
5581 2012-11-22  Andreas Schwab  <schwab@suse.de>
5582
5583         * sysdeps/i386/fpu/libm-test-ulps: Update.
5584
5585 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5586
5587         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5588         printf output with newline.
5589
5590 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5591
5592         [BZ #14865]
5593         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5594         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5595         -z nodlopen, -z initfirst and -z execstack support.
5596         * configure: Regenerated.
5597
5598         * elf/elf.h (DF_1_NODIRECT): New macro.
5599         (DF_1_IGNMULDEF): Likewise.
5600         (DF_1_NOKSYMS): Likewise.
5601         (DF_1_NOHDR): Likewise.
5602         (DF_1_EDITED): Likewise.
5603         (DF_1_NORELOC): Likewise.
5604         (DF_1_SYMINTPOSE): Likewise.
5605         (DF_1_GLOBAUDIT): Likewise.
5606         (DF_1_SINGLETON): Likewise.
5607         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5608         DT_1_SUPPORTED_MASK bits.
5609         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5610
5611 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5612
5613         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5614
5615 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5616
5617         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5618         macro.
5619
5620         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5621         (sendmmsg): Move declarations...
5622         * socket/sys/socket.h: ... here.
5623         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5624         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5625         include it from...
5626         * socket/recvmmsg.c: ... this new file.
5627         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5628         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5629         definition of __sendmmsg hidden.
5630         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5631         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5632         Move ENOSYS stub into and include it from...
5633         * socket/sendmmsg.c: ... this new file.
5634         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5635         (sysdep_routines): Move recvmmsg and sendmmsg...
5636         * socket/Makefile (routines): ... here.
5637         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5638         (GLIBC_PRIVATE): Add __sendmmsg.
5639         * include/sys/socket.h (__sendmmsg): Add declarations.
5640         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5641         sendmmsg.
5642
5643 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5644
5645         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5646         variable I1 with __attribute__ ((unused)).
5647         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5648
5649 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5650
5651         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5652         DUMMY variables with __attribute__ ((unused)).
5653
5654         * bits/byteswap.h: Include <bits/types.h>.
5655         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5656
5657 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5658
5659         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5660         string_t.  Do not manually set errno.
5661         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5662         length with __strnlen.  Make sure to both set errno and return it on
5663         failure.
5664
5665 2012-11-19  David S. Miller  <davem@davemloft.net>
5666
5667         With help from Joseph Myers.
5668         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5669         very large arguments properly.
5670         * math/libm-test.inc (atan_test): New tests.
5671         (atan2_test): New tests.
5672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5674
5675 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5676
5677         [BZ #14856]
5678         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5679         Define to 3.
5680
5681         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5682         [POSIX] (EADDRNOTAVAIL): Likewise.
5683         [POSIX] (EAFNOSUPPORT): Likewise.
5684         [POSIX] (EALREADY): Likewise.
5685         [POSIX] (ECONNABORTED): Likewise.
5686         [POSIX] (ECONNREFUSED): Likewise.
5687         [POSIX] (ECONNRESET): Likewise.
5688         [POSIX] (EDESTADDRREQ): Likewise.
5689         [POSIX] (EDQUOT): Likewise.
5690         [POSIX] (EHOSTUNREACH): Likewise.
5691         [POSIX] (EIDRM): Likewise.
5692         [POSIX] (EISCONN): Likewise.
5693         [POSIX] (ELOOP): Likewise.
5694         [POSIX] (EMULTIHOP): Likewise.
5695         [POSIX] (ENETDOWN): Likewise.
5696         [POSIX] (ENETUNREACH): Likewise.
5697         [POSIX] (ENOBUFS): Likewise.
5698         [POSIX] (ENODATA): Likewise.
5699         [POSIX] (ENOLINK): Likewise.
5700         [POSIX] (ENOMSG): Likewise.
5701         [POSIX] (ENOPROTOOPT): Likewise.
5702         [POSIX] (ENOSR): Likewise.
5703         [POSIX] (ENOSTR): Likewise.
5704         [POSIX] (ENOTCONN): Likewise.
5705         [POSIX] (ENOTSOCK): Likewise.
5706         [POSIX] (EOPNOTSUPP): Likewise.
5707         [POSIX] (EOVERFLOW): Likewise.
5708         [POSIX] (EPROTO): Likewise.
5709         [POSIX] (EPROTONOSUPPORT): Likewise.
5710         [POSIX] (EPROTOTYPE): Likewise.
5711         [POSIX] (ESTALE): Likewise.
5712         [POSIX] (ETIME): Likewise.
5713         [POSIX] (ETXTBSY): Likewise.
5714         [POSIX] (EWOULDBLOCK): Likewise.
5715         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5716         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5717         [POSIX] (SEEK_CUR): Likewise.
5718         [POSIX] (SEEK_END): Likewise.
5719         [POSIX || UNIX98] (mode_t): Do not require.
5720         [POSIX] (off_t): Likewise.
5721         [POSIX] (pid_t): Likewise.
5722         [POSIX] (sys/stat.h): Do not allow header.
5723         [POSIX] (unistd.h): Likewise.
5724         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5725         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5726         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5727         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5728         require.
5729         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5730         sigevent): Specify elements.
5731         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5732         entry.
5733         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5734         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5735
5736         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5737         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5738         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5739         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5740         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5741         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5742         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5743         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5744         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5745         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5746         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5747         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5748         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5749         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5750         Likewise.
5751         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5752         Likewise.
5753         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5754         Likewise.
5755         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5756         Likewise.
5757         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5758         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5759         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5760         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5761         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5762         Specify lower bound on value.
5763         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5764         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5765         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5766         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5767         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5768         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5769         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5770         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5771         value.
5772         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5773         as optional.
5774         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5775         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5776         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5777         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5778         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5779         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5780         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5781         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5782         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5783         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5784         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5785         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5786         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5787         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5788         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5789         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5790         entry.
5791         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5792         optional.
5793         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5794         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5795         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5796         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5797         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5798         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5799         Likewise.
5800         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5801         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5802         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5803         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5804         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5805         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5806         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5807         as optional.
5808         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5809         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5810         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5811         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5812         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5813         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5814         specify as optional.
5815         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5816         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5817         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5818         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5819         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5820         [XPG3] (NL_LANGMAX): Likewise.
5821         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5822         [POSIX || XPG3] (NL_NMAX): Likewise.
5823         [POSIX || XPG3] (NL_SETMAX): Likewise.
5824         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5825         [XPG3] (NZERO): Likewise.
5826         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5827         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5828         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5829         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5830         (REG_ERANGE): Expect.
5831         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5832         optional-constant.
5833         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5834         Use (void) in prototype.
5835         [POSIX] (*_t): Allow.
5836         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5837         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5838         (WRDE_BADVAL): Expect.
5839
5840         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5841         expect.
5842         [XPG3 || XPG4] (O_RSYNC): Likewise.
5843         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5844         Likewise.
5845         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5846         [XPG3 || XPG4] (sigqueue): Likewise.
5847         [XPG3 || XPG4] (sigtimedwait): Likewise.
5848         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5849         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5850         [XPG3 || XPG4] (vsnprintf): Likewise.
5851         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5852         Likewise.
5853         [XPG3 || XPG4] (blksize_t): Likewise.
5854         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5855         Likewise.
5856         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5857         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5858         [XPG3 || XPG4] (struct itimerspec): Likewise.
5859         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5860         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5861         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5862         [XPG3 || XPG4] (clockid_t): Likewise.
5863         [XPG3 || XPG4] (timer_t): Likewise.
5864         [XPG3 || XPG4] (clock_getres): Likewise.
5865         [XPG3 || XPG4] (clock_gettime): Likewise.
5866         [XPG3 || XPG4] (clock_settime): Likewise.
5867         [XPG3 || XPG4] (nanosleep): Likewise.
5868         [XPG3 || XPG4] (timer_create): Likewise.
5869         [XPG3 || XPG4] (timer_delete): Likewise.
5870         [XPG3 || XPG4] (timer_gettime): Likewise.
5871         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5872         [XPG3 || XPG4] (timer_settime): Likewise.
5873         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5874         [XPG3 || XPG4] (getlogin_r): Likewise.
5875         [XPG3 || XPG4] (pread): Likewise.
5876         [XPG3 || XPG4] (pthread_atfork): Likewise.
5877         [XPG3 || XPG4] (pwrite): Likewise.
5878
5879         [BZ #14835]
5880         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5881         <bits/siginfo.h>.
5882
5883 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5884
5885         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5886         finalizing MALLSTREAM.
5887
5888         * sysdeps/mach/hurd/syncfs.c: New file.
5889
5890 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5891
5892         [BZ #14719]
5893         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5894         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5895         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5896         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5897         (_nss_dns_gethostbyname4_r): Likewise.
5898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5899         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5900
5901 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5902
5903         [BZ #13763]
5904         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5905
5906 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5907
5908         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5909         * elf/cache.c (print_entry): Print ",AArch64" for
5910         FLAG_AARCH64_LIB64
5911
5912         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5913         * elf/cache.c (print_entry): Print ",hard-float" for
5914         FLAG_ARM_LIBHF.
5915
5916 2012-11-18  David S. Miller  <davem@davemloft.net>
5917
5918         With help from Joseph Myers.
5919         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5920         cutoff to 2**-13.
5921         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5922         cutoff to 2**-25.
5923         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5924         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5925         small.
5926         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5927         * math/libm-test.inc (y0_test): New tests.
5928         (y1_test): New tests.
5929         * sysdeps/i386/fpu/libm-test-ulps: Update.
5930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5932
5933 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5934
5935         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5936         64-bit targets.
5937         * configure: Regenerated.
5938
5939 2012-11-17  David S. Miller  <davem@davemloft.net>
5940
5941         [BZ #14811]
5942         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5943         nonzero exponents with absolute value below 0x1p-128 to +/-
5944         0x1p-128.
5945
5946 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5947
5948         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5949
5950         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5951
5952         * posix/getconf-speclist.c: New file.
5953         * posix/posix-envs.def: Likewise.
5954         * posix/confstr.c (START_ENV_GROUP): New macro.
5955         (END_ENV_GROUP): Likewise.
5956         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5957         (KNOWN_PRESENT_ENV_STRING): Likewise.
5958         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5959         (UNKNOWN_ENVIRONMENT): Likewise.
5960         (confstr): Include posix-envs.def instead of handling
5961         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5962         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5963         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5964         (END_ENV_GROUP): Likewise.
5965         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5966         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5967         (UNKNOWN_ENVIRONMENT): Likewise.
5968         (__sysconf): Include posix-envs.def instead of handling associated
5969         cases directly here.
5970         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5971         preprocessing getconf-speclist.c rather than running getconf or
5972         generating empty file.
5973
5974 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5975
5976         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5977
5978 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5979
5980         [BZ #14672]
5981         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5982
5983 2012-11-16  David S. Miller  <davem@davemloft.net>
5984
5985         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5986         smaller than LDBL_EPSILON/2.0L, just return xm1.
5987
5988 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5989
5990         * elf/tst-array1.c (init): Set constructor priority to 1000.
5991         (fini): Set destructor priority to 1000.
5992         * elf/tst-array2dep.c: Likewise.
5993
5994 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5995
5996         [BZ #11741]
5997         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5998         (_IO_new_file_xsputn): Also return EOF if none of the input
5999         data was written when overflow failed.
6000         * libio/iopadn.c (_IO_padn): Likewise.
6001         * libio/iowpadn.c (_IO_wpadn): Likewise.
6002         * stdio-common/tst-put-error.c: Add copyright notice.
6003         (do_test): Add case for printing padded string.
6004         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6005         _IO_padn returned error.
6006         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6007         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6008         return EOF.
6009
6010 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6011
6012         * libio/libioP.h: Add comment note that the references to C++
6013         bits are now obsolete.
6014
6015 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6016
6017         * math/libm-test.inc (check_complex): Use asprintf.
6018
6019 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
6020
6021         * debug/pcprofiledump.c (print_version): Update copyright year.
6022         * malloc/memusagestat.c (print_version): Likewise.
6023
6024 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6025
6026         [BZ #14831]
6027         * elf/Makefile (tests): Add tst-audit8.
6028         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6029         ($(objpfx)tst-audit8.out): New target.
6030         (tst-audit8-ENV): New variable.
6031         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6032         audit if l_reloc_result is NULL.
6033         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6034         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6035         * elf/tst-audit8.c: New file.
6036
6037 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6038
6039         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6040         * misc/Makefile (CFLAGS-select.c): Define.
6041         * posix/Makefile (CFLAGS-pause.c): Define.
6042
6043 2012-11-13  David S. Miller  <davem@davemloft.net>
6044
6045         * crypt/Makefile: Move test targets after toplevel Rules
6046         inclusion.  Grab any necessary sysdep routines when linking.
6047         * crypt/md5.c (md5_process_block): Remove define, we will always
6048         name it __md5_process_block.
6049         (md5_finish_ctx): Update md5_process_block call.
6050         (md5_stream): Likewise.
6051         (md5_process_bytes): Likewise.
6052         (md5_process_block): Rename to __md5_process_block and move to ...
6053         * crypt/md5-block.c: ... here.
6054         * crypt/sha256.c (sha256_process_block): Move to ...
6055         * crypt/sha256-block.c: ... here.
6056         * crypt/sha512.c (sha512_process_block): Move to ...
6057         * crypt/sha512-block.c: ... here.
6058         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6059         path.
6060         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6061         * sysdeps/sparc/sparc64/multiarch/Makefile
6062         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6063         crypt subdir.
6064         (localedef-aux): Add md5 crypto assembler when in locale subdir.
6065         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6066         multiarch changes.
6067         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6068         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6069         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6070         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6071         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6072         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6073         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6074         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6075         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6076         file.
6077         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6078         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6079         file.
6080         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6081
6082 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
6083
6084         * timezone/tzselect.ksh: Update from tzcode git revision
6085         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6086         * timezone/zdump.c: Likewise.
6087         * timezone/zic.c: Likewise.
6088         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6089         in TZVERSION setting, not $(PKGVERSION).
6090         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
6091         REPORT_BUGS_TO settings.
6092
6093         [BZ #14838]
6094         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6095         macro.
6096
6097 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6098
6099         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6100         detection to immediately after _FP_ROUND().
6101         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6102         bits are 0.
6103
6104 2012-11-11  David S. Miller  <davem@davemloft.net>
6105
6106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6107         inttypes.h
6108         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6109         __close rather than their public counterparts.
6110
6111 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
6112
6113         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6114         file.
6115         [UNIX98] (sem_timedwait): Do not expect.
6116         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6117         [XPG4 || UNIX98] (sockatmark): Do not expect.
6118         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6119         (clock_getcpuclockid): Do not expect.
6120         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6121         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6122         Do not expect.
6123         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6124         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6125         [UNIX98] (vwscanf): Likewise.
6126         [UNIX98] (vswscanf): Likewise.
6127
6128 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
6129
6130         * timezone/version.h: Remove file.
6131         * timezone/README: Do not refer to version.h.
6132         * timezone/Makefile ($(objpfx)zic.o): New dependency on
6133         $(objpfx)version.h.
6134         ($(objpfx)zdump.o): Likewise.
6135         ($(objpfx)version.h): New target.
6136
6137         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6138         2012i.
6139         * timezone/README: Don't mention modification to tzselect.ksh.
6140         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6141         work on unmodified tzselect.ksh.  Substitute version numbers in
6142         tzselect.ksh.
6143
6144         * Makefile (format-me): Remove.
6145         (INSTALL): Adjust indentation.  Use commands directly instead of
6146         using $(format-me).
6147
6148         * aclocal.m4 (ACX_PKGVERSION): New macro.
6149         (ACX_BUGURL): Likewise.
6150         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6151         (PKGVERSION): New AC_DEFINE_UNQUOTED.
6152         (REPORT_BUGS_TO): Likewise.
6153         * configure: Regenerated.
6154         * config.h.in (PKGVERSION): New macro.
6155         (REPORT_BUGS_TO): Likewise.
6156         * config.make.in (PKGVERSION): New variable.
6157         (PKGVERSION_TEXI): Likewise.
6158         (REPORT_BUGS_TO): Likewise.
6159         (REPORT_BUGS_TEXI): Likewise.
6160         * Makefile (format-me): Use -I$(common-objpfx)manual.
6161         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6162         ($(common-objpfx)manual/%): New target.
6163         (manual/%): Remove target.
6164         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6165         (print_version): Use PKGVERSION.
6166         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6167         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6168         and REPORT_BUGS_TO.
6169         ($(objpfx)xtrace): Likewise.
6170         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6171         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6172         (print_version): Use PKGVERSION.
6173         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6174         (do_version): Use PKGVERSION.
6175         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6176         REPORT_BUGS_TO.
6177         (common-ldd-rewrite): Likewise.
6178         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6179         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6180         (print_version): Use PKGVERSION.
6181         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6182         * elf/pldd.c (argp_program_bug_address): Remove variable.
6183         (more_help): New function.
6184         (argp): Use more_help.
6185         (print_version): Use PKGVERSION.
6186         * elf/sln.c (main): Use PKGVERSION.
6187         (usage): Use REPORT_BUGS_TO.
6188         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6189         (top level): Use PKGVERSION.
6190         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6191         (print_version): Use PKGVERSION.
6192         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6193         (print_version): Use PKGVERSION.
6194         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6195         (print_version): Use PKGVERSION.
6196         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6197         (print_version): Use PKGVERSION.
6198         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6199         (print_version): Use PKGVERSION.
6200         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6201         (print_version): Use PKGVERSION.
6202         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6203         and BUGURL.
6204         ($(objpfx)memusage): Likewise.
6205         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6206         (do_version): Use PKGVERSION.
6207         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6208         (print_version): Use PKGVERSION.
6209         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6210         ($PKGVERSION): New variable.
6211         ($REPORT_BUGS_TO): Likewise.
6212         (usage): Use $REPORT_BUGS_TO.
6213         (top level): Use $PKGVERSION.
6214         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6215         ($(objpfx)pkgvers.texi): New rule.
6216         ($(objpfx)stamp-pkgvers): Likewise.
6217         * manual/install.texi: Include pkgvers.texi.
6218         (--with-pkgversion): Document new configure option.
6219         (--with-bugurl): Likewise.
6220         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6221         than necessarily for this particular distribution.  Use
6222         REPORT_BUGS_TO for where to report bugs.
6223         * INSTALL: Regenerated.
6224         * manual/libc.texinfo: Include pkgvers.texi.
6225         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6226         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6227         (print_version): Use PKGVERSION.
6228         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6229         (print_version): Use PKGVERSION.
6230         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6231         (print_version): Use PKGVERSION.
6232         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6233         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6234         macro.
6235         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6236         (print_version): Use PKGVERSION.
6237         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6238         (print_version): Use PKGVERSION.
6239         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6240         and PKGVERSION.
6241
6242         * timezone/checktab.awk: Update from tzcode 2012i.
6243         * timezone/ialloc.c: Likewise.
6244         * timezone/private.h: Likewise.
6245         * timezone/scheck.c: Likewise.
6246         * timezone/tzfile.h: Likewise.
6247         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6248         (TZVERSION): Hardcode tzcode version number.
6249         * timezone/zdump.c: Update from tzcode 2012i.
6250         * timezone/zic.c: Likewise.
6251         * timezone/version.h: New file.
6252         * timezone/README: Describe version.h.  Update upstream location.
6253
6254         [BZ #14824]
6255         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6256         (mktemp): Enable declaration.
6257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6259         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6261         Likewise.
6262         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6263         Likewise.
6264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6265         Likewise.
6266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6267         Likewise.
6268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6269         Likewise.
6270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6271         Likewise.
6272
6273         [BZ #14821]
6274         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6275         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6276         for copies of such integer values.
6277         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6278         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6279
6280 2012-11-09  Andreas Jaeger  <aj@suse.de>
6281
6282         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6283         definitions and declarations that are provided by
6284         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6285
6286 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6287
6288         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6289         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6290         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6291         definition.
6292
6293 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6294
6295         * elf/elf.h: Update comment before AArch64 relocations.
6296
6297 2012-11-07  David S. Miller  <davem@davemloft.net>
6298
6299         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6300         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6301         (__start_context): Declare.
6302         (__makecontext_ret): Delete.
6303         (__makecontext): Hook up __start_context instead of
6304         __makecontext_ret.
6305         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6306         (sysdep_routines): Add __start_context when in stdlib.
6307
6308 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6309
6310         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6311         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6312         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6313         hardcoded "nm".
6314         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6315         (READELF): New variable.  Use it instead of hardcoded "readelf".
6316
6317 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6318
6319         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6320         * sysdeps/x86/Makefile: Here.
6321         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6322         * sysdeps/x86/tst-xmmymm.sh: This.
6323
6324 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6325
6326         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6327         expectations.
6328         [UNIX98] (pthread_barrier_t): Do not expect.
6329         [UNIX98] (pthread_barrierattr_t): Likewise.
6330         [UNIX98] (pthread_spinlock_t): Likewise.
6331         [UNIX98] (pthread_barrier_destroy): Likewise.
6332         [UNIX98] (pthread_barrier_init): Likewise.
6333         [UNIX98] (pthread_barrier_wait): Likewise.
6334         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6335         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6336         [UNIX98] (pthread_barrierattr_init): Likewise.
6337         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6338         [UNIX98] (pthread_getcpuclockid): Likewise.
6339         [UNIX98] (pthread_mutex_timedlock): Likewise.
6340         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6341         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6342         [UNIX98] (pthread_sigmask): Likewise.
6343         [UNIX98] (pthread_spin_destroy): Likewise.
6344         [UNIX98] (pthread_spin_init): Likewise.
6345         [UNIX98] (pthread_spin_lock): Likewise.
6346         [UNIX98] (pthread_spin_trylock): Likewise.
6347         [UNIX98] (pthread_spin_unlock): Likewise.
6348         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6349         Do not expect.
6350         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6351         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6352         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6353         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6354         [XPG3 || XPG4] (pthread_key_t): Likewise.
6355         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6356         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6357         [XPG3 || XPG4] (pthread_once_t): Likewise.
6358         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6359         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6360         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6361         [XPG3 || XPG4] (pthread_t): Likewise.
6362
6363         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6364         not expect.
6365         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6366
6367         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6368         Change function return type to int.
6369
6370         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6371         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6372         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6373         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6374         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6375         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6376         [!POSIX] (posix_madvise): Likewise.
6377         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6378         && !UNIX98].
6379         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6380         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6381         (mode_t): Likewise.
6382         (posix_mem_offset): Likewise.
6383         (posix_typed_mem_get_info): Likewise.
6384         (posix_typed_mem_open): Likewise.
6385
6386         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6387         Change condition to [XOPEN2K8].
6388
6389         * conform/conformtest.pl: Preprocess allow-header data with -x c
6390         instead of from stdin.
6391         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6392         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6393         [C99-based standards] (cerfc): Likewise.
6394         [C99-based standards] (cexp2): Likewise.
6395         [C99-based standards] (cexpm1): Likewise.
6396         [C99-based standards] (clog10): Likewise.
6397         [C99-based standards] (clog1p): Likewise.
6398         [C99-based standards] (clog2): Likewise.
6399         [C99-based standards] (clgamma): Likewise.
6400         [C99-based standards] (ctgamma): Likewise.
6401         [C99-based standards] (cerff): Likewise.
6402         [C99-based standards] (cerfcf): Likewise.
6403         [C99-based standards] (cexp2f): Likewise.
6404         [C99-based standards] (cexpm1f): Likewise.
6405         [C99-based standards] (clog10f): Likewise.
6406         [C99-based standards] (clog1pf): Likewise.
6407         [C99-based standards] (clog2f): Likewise.
6408         [C99-based standards] (clgammaf): Likewise.
6409         [C99-based standards] (ctgammaf): Likewise.
6410         [C99-based standards] (cerfl): Likewise.
6411         [C99-based standards] (cerfcl): Likewise.
6412         [C99-based standards] (cexp2l): Likewise.
6413         [C99-based standards] (cexpm1l): Likewise.
6414         [C99-based standards] (clog10l): Likewise.
6415         [C99-based standards] (clog1pl): Likewise.
6416         [C99-based standards] (clog2l): Likewise.
6417         [C99-based standards] (clgammal): Likewise.
6418         [C99-based standards] (ctgammal): Likewise.
6419         * conform/data/inttypes.h-data [C99-based standards]: Include
6420         stdint.h-data.  Remove all expectations for stdint.h contents.
6421         [C99-based standards] (PRI*): Do not allow.
6422         [C99-based standards] (SCN*): Likewise.
6423         [C99-based standards] (*_t): Likewise.
6424         [C99-based-standards] (PRId8): Expect macro.
6425         [C99-based-standards] (PRIi8): Likewise.
6426         [C99-based-standards] (PRIo8): Likewise.
6427         [C99-based-standards] (PRIu8): Likewise.
6428         [C99-based-standards] (PRIx8): Likewise.
6429         [C99-based-standards] (PRIX8): Likewise.
6430         [C99-based-standards] (SCNd8): Likewise.
6431         [C99-based-standards] (SCNi8): Likewise.
6432         [C99-based-standards] (SCNo8): Likewise.
6433         [C99-based-standards] (SCNu8): Likewise.
6434         [C99-based-standards] (SCNx8): Likewise.
6435         [C99-based-standards] (PRIdLEAST8): Likewise.
6436         [C99-based-standards] (PRIiLEAST8): Likewise.
6437         [C99-based-standards] (PRIoLEAST8): Likewise.
6438         [C99-based-standards] (PRIuLEAST8): Likewise.
6439         [C99-based-standards] (PRIxLEAST8): Likewise.
6440         [C99-based-standards] (PRIXLEAST8): Likewise.
6441         [C99-based-standards] (SCNdLEAST8): Likewise.
6442         [C99-based-standards] (SCNiLEAST8): Likewise.
6443         [C99-based-standards] (SCNoLEAST8): Likewise.
6444         [C99-based-standards] (SCNuLEAST8): Likewise.
6445         [C99-based-standards] (SCNxLEAST8): Likewise.
6446         [C99-based-standards] (PRIdFAST8): Likewise.
6447         [C99-based-standards] (PRIiFAST8): Likewise.
6448         [C99-based-standards] (PRIoFAST8): Likewise.
6449         [C99-based-standards] (PRIuFAST8): Likewise.
6450         [C99-based-standards] (PRIxFAST8): Likewise.
6451         [C99-based-standards] (PRIXFAST8): Likewise.
6452         [C99-based-standards] (SCNdFAST8): Likewise.
6453         [C99-based-standards] (SCNiFAST8): Likewise.
6454         [C99-based-standards] (SCNoFAST8): Likewise.
6455         [C99-based-standards] (SCNuFAST8): Likewise.
6456         [C99-based-standards] (SCNxFAST8): Likewise.
6457         [C99-based-standards] (PRId16): Likewise.
6458         [C99-based-standards] (PRIi16): Likewise.
6459         [C99-based-standards] (PRIo16): Likewise.
6460         [C99-based-standards] (PRIu16): Likewise.
6461         [C99-based-standards] (PRIx16): Likewise.
6462         [C99-based-standards] (PRIX16): Likewise.
6463         [C99-based-standards] (SCNd16): Likewise.
6464         [C99-based-standards] (SCNi16): Likewise.
6465         [C99-based-standards] (SCNo16): Likewise.
6466         [C99-based-standards] (SCNu16): Likewise.
6467         [C99-based-standards] (SCNx16): Likewise.
6468         [C99-based-standards] (PRIdLEAST16): Likewise.
6469         [C99-based-standards] (PRIiLEAST16): Likewise.
6470         [C99-based-standards] (PRIoLEAST16): Likewise.
6471         [C99-based-standards] (PRIuLEAST16): Likewise.
6472         [C99-based-standards] (PRIxLEAST16): Likewise.
6473         [C99-based-standards] (PRIXLEAST16): Likewise.
6474         [C99-based-standards] (SCNdLEAST16): Likewise.
6475         [C99-based-standards] (SCNiLEAST16): Likewise.
6476         [C99-based-standards] (SCNoLEAST16): Likewise.
6477         [C99-based-standards] (SCNuLEAST16): Likewise.
6478         [C99-based-standards] (SCNxLEAST16): Likewise.
6479         [C99-based-standards] (PRIdFAST16): Likewise.
6480         [C99-based-standards] (PRIiFAST16): Likewise.
6481         [C99-based-standards] (PRIoFAST16): Likewise.
6482         [C99-based-standards] (PRIuFAST16): Likewise.
6483         [C99-based-standards] (PRIxFAST16): Likewise.
6484         [C99-based-standards] (PRIXFAST16): Likewise.
6485         [C99-based-standards] (SCNdFAST16): Likewise.
6486         [C99-based-standards] (SCNiFAST16): Likewise.
6487         [C99-based-standards] (SCNoFAST16): Likewise.
6488         [C99-based-standards] (SCNuFAST16): Likewise.
6489         [C99-based-standards] (SCNxFAST16): Likewise.
6490         [C99-based-standards] (PRId32): Likewise.
6491         [C99-based-standards] (PRIi32): Likewise.
6492         [C99-based-standards] (PRIo32): Likewise.
6493         [C99-based-standards] (PRIu32): Likewise.
6494         [C99-based-standards] (PRIx32): Likewise.
6495         [C99-based-standards] (PRIX32): Likewise.
6496         [C99-based-standards] (SCNd32): Likewise.
6497         [C99-based-standards] (SCNi32): Likewise.
6498         [C99-based-standards] (SCNo32): Likewise.
6499         [C99-based-standards] (SCNu32): Likewise.
6500         [C99-based-standards] (SCNx32): Likewise.
6501         [C99-based-standards] (PRIdLEAST32): Likewise.
6502         [C99-based-standards] (PRIiLEAST32): Likewise.
6503         [C99-based-standards] (PRIoLEAST32): Likewise.
6504         [C99-based-standards] (PRIuLEAST32): Likewise.
6505         [C99-based-standards] (PRIxLEAST32): Likewise.
6506         [C99-based-standards] (PRIXLEAST32): Likewise.
6507         [C99-based-standards] (SCNdLEAST32): Likewise.
6508         [C99-based-standards] (SCNiLEAST32): Likewise.
6509         [C99-based-standards] (SCNoLEAST32): Likewise.
6510         [C99-based-standards] (SCNuLEAST32): Likewise.
6511         [C99-based-standards] (SCNxLEAST32): Likewise.
6512         [C99-based-standards] (PRIdFAST32): Likewise.
6513         [C99-based-standards] (PRIiFAST32): Likewise.
6514         [C99-based-standards] (PRIoFAST32): Likewise.
6515         [C99-based-standards] (PRIuFAST32): Likewise.
6516         [C99-based-standards] (PRIxFAST32): Likewise.
6517         [C99-based-standards] (PRIXFAST32): Likewise.
6518         [C99-based-standards] (SCNdFAST32): Likewise.
6519         [C99-based-standards] (SCNiFAST32): Likewise.
6520         [C99-based-standards] (SCNoFAST32): Likewise.
6521         [C99-based-standards] (SCNuFAST32): Likewise.
6522         [C99-based-standards] (SCNxFAST32): Likewise.
6523         [C99-based-standards] (PRId64): Likewise.
6524         [C99-based-standards] (PRIi64): Likewise.
6525         [C99-based-standards] (PRIo64): Likewise.
6526         [C99-based-standards] (PRIu64): Likewise.
6527         [C99-based-standards] (PRIx64): Likewise.
6528         [C99-based-standards] (PRIX64): Likewise.
6529         [C99-based-standards] (SCNd64): Likewise.
6530         [C99-based-standards] (SCNi64): Likewise.
6531         [C99-based-standards] (SCNo64): Likewise.
6532         [C99-based-standards] (SCNu64): Likewise.
6533         [C99-based-standards] (SCNx64): Likewise.
6534         [C99-based-standards] (PRIdLEAST64): Likewise.
6535         [C99-based-standards] (PRIiLEAST64): Likewise.
6536         [C99-based-standards] (PRIoLEAST64): Likewise.
6537         [C99-based-standards] (PRIuLEAST64): Likewise.
6538         [C99-based-standards] (PRIxLEAST64): Likewise.
6539         [C99-based-standards] (PRIXLEAST64): Likewise.
6540         [C99-based-standards] (SCNdLEAST64): Likewise.
6541         [C99-based-standards] (SCNiLEAST64): Likewise.
6542         [C99-based-standards] (SCNoLEAST64): Likewise.
6543         [C99-based-standards] (SCNuLEAST64): Likewise.
6544         [C99-based-standards] (SCNxLEAST64): Likewise.
6545         [C99-based-standards] (PRIdFAST64): Likewise.
6546         [C99-based-standards] (PRIiFAST64): Likewise.
6547         [C99-based-standards] (PRIoFAST64): Likewise.
6548         [C99-based-standards] (PRIuFAST64): Likewise.
6549         [C99-based-standards] (PRIxFAST64): Likewise.
6550         [C99-based-standards] (PRIXFAST64): Likewise.
6551         [C99-based-standards] (SCNdFAST64): Likewise.
6552         [C99-based-standards] (SCNiFAST64): Likewise.
6553         [C99-based-standards] (SCNoFAST64): Likewise.
6554         [C99-based-standards] (SCNuFAST64): Likewise.
6555         [C99-based-standards] (SCNxFAST64): Likewise.
6556         [C99-based-standards] (PRIdMAX): Likewise.
6557         [C99-based-standards] (PRIiMAX): Likewise.
6558         [C99-based-standards] (PRIoMAX): Likewise.
6559         [C99-based-standards] (PRIuMAX): Likewise.
6560         [C99-based-standards] (PRIxMAX): Likewise.
6561         [C99-based-standards] (PRIXMAX): Likewise.
6562         [C99-based-standards] (SCNdMAX): Likewise.
6563         [C99-based-standards] (SCNiMAX): Likewise.
6564         [C99-based-standards] (SCNoMAX): Likewise.
6565         [C99-based-standards] (SCNuMAX): Likewise.
6566         [C99-based-standards] (SCNxMAX): Likewise.
6567         [C99-based-standards] (PRIdPTR): Likewise.
6568         [C99-based-standards] (PRIiPTR): Likewise.
6569         [C99-based-standards] (PRIoPTR): Likewise.
6570         [C99-based-standards] (PRIuPTR): Likewise.
6571         [C99-based-standards] (PRIxPTR): Likewise.
6572         [C99-based-standards] (PRIXPTR): Likewise.
6573         [C99-based-standards] (SCNdPTR): Likewise.
6574         [C99-based-standards] (SCNiPTR): Likewise.
6575         [C99-based-standards] (SCNoPTR): Likewise.
6576         [C99-based-standards] (SCNuPTR): Likewise.
6577         [C99-based-standards] (SCNxPTR): Likewise.
6578         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6579         allow.
6580         * conform/data/stdint.h-data: Update comments to clarify
6581         requirements.
6582         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6583         type.
6584         [C99-based standards] (INT8_MAX): Likewise.
6585         [C99-based standards] (INT16_MIN): Likewise.
6586         [C99-based standards] (INT16_MAX): Likewise.
6587         [C99-based standards] (INT32_MIN): Likewise.
6588         [C99-based standards] (INT32_MAX): Likewise.
6589         [C99-based standards] (INT64_MIN): Likewise.
6590         [C99-based standards] (INT64_MAX): Likewise.
6591         [C99-based standards] (UINT8_MAX): Likewise.
6592         [C99-based standards] (UINT16_MAX): Likewise.
6593         [C99-based standards] (UINT32_MAX): Likewise.
6594         [C99-based standards] (UINT64_MAX): Likewise.
6595         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6596         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6597         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6598         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6599         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6600         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6601         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6602         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6603         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6604         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6605         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6606         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6607         [C99-based standards] (INT_FAST8_MIN): Likewise.
6608         [C99-based standards] (INT_FAST8_MAX): Likewise.
6609         [C99-based standards] (INT_FAST16_MIN): Likewise.
6610         [C99-based standards] (INT_FAST16_MAX): Likewise.
6611         [C99-based standards] (INT_FAST32_MIN): Likewise.
6612         [C99-based standards] (INT_FAST32_MAX): Likewise.
6613         [C99-based standards] (INT_FAST64_MIN): Likewise.
6614         [C99-based standards] (INT_FAST64_MAX): Likewise.
6615         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6616         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6617         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6618         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6619         [C99-based standards] (INTPTR_MIN): Likewise.
6620         [C99-based standards] (INTPTR_MAX): Likewise.
6621         [C99-based standards] (UINTPTR_MAX): Likewise.
6622         [C99-based standards] (INTMAX_MIN): Likewise.
6623         [C99-based standards] (INTMAX_MAX): Likewise.
6624         [C99-based standards] (UINTMAX_MAX): Likewise.
6625         [C99-based standards] (PTRDIFF_MIN): Likewise.
6626         [C99-based standards] (PTRDIFF_MAX): Likewise.
6627         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6628         [C99-based standards] (SIZE_MAX): Likewise.
6629         [C99-based standards] (WCHAR_MAX): Likewise.
6630         [C99-based standards] (WINT_MAX): Likewise.
6631         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6632         constraint on value.
6633         [C99-based standards] (WCHAR_MIN): Likewise.
6634         [C99-based standards] (WINT_MIN): Likewise.
6635         [C99-based standards] (*_t): Allow.
6636         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6637         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6638         Include math.h-data and complex.h-data.  Remove all expectations
6639         of math.h and complex.h contents.
6640         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6641         at end of line.
6642         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6643         (struct tm): Expect tag.
6644         [C99-based-standards] (wcstof): Expect function.
6645         [C99-based-standards] (wcstold): Likewise.
6646         [C99-based-standards] (wcstoll): Likewise.
6647         [C99-based-standards] (wcstoull): Likewise.
6648         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6649         macro-int-constant.  Specify type.
6650         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6651         constraint on value.
6652         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6653         Specify type.
6654         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6655         Specify value.
6656         [ISO C standards]: Do not allow headers.
6657         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6658         wcs[abcdefghijklmnopqrstuvwxyz]*.
6659         [ISO C standards] (*_t): Do not allow.
6660         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6661         Expect function.
6662         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6663         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6664         Specify type.
6665         [ISO C standards]: Do not allow headers.
6666         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6667         is[abcdefghijklmnopqrstuvwxyz]*.
6668         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6669         to[abcdefghijklmnopqrstuvwxyz]*.
6670         [ISO C standards] (*_t): Do not allow.
6671         * conform/data/stdalign.h-data: New file.
6672         * conform/data/stdbool.h-data: Likewise.
6673         * conform/data/stdnoreturn.h-data: Likewise.
6674
6675 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6676
6677         [BZ #14815]
6678         * manual/filesys.texi (Directory Entries): Typo fix.
6679         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6680
6681 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6682
6683         * elf/elf.h (EM_AARCH64): New macro.
6684         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6685         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6686         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6687         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6688         (R_AARCH64_TLSDESC): Likewise.
6689         (NT_ARM_TLS): Likewise.
6690         (NT_ARM_HW_BREAK): Likewise.
6691         (NT_ARM_HW_WATCH): Likewise.
6692
6693 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6694
6695         [BZ #14811]
6696         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6697         (__ieee754_powl): Saturate nonzero exponents with absolute value
6698         below 0x1p-79 to +/- 0x1p-79.
6699         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6700         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6701         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6702         nonzero exponents with absolute value below 0x1p-32 to +/-
6703         0x1p-32.
6704         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6705         (__ieee754_powl): Saturate nonzero exponents with absolute value
6706         below 0x1p-79 to +/- 0x1p-79.
6707         * math/libm-test.inc (pow_test): Add more tests.
6708
6709 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6710
6711         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6712         _dl_s390_cap_flags with kernel. Increase string length.
6713         (_dl_s390_platforms): Add z196 and zEC12.
6714
6715 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6716
6717         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6718         Change XOPEN21K to XOPEN2K.
6719
6720 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6721
6722         * string/memmove.c: Use memcpy when possible.
6723
6724 2012-11-06  Andreas Jaeger  <aj@suse.de>
6725
6726         * po/eo.po: Update from translation team.
6727
6728 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6729
6730         [BZ #14793]
6731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6732         exponent and small x and y exponents, scale x or y up.  Increase
6733         by 2 the exponent used in scaling up.
6734         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6735         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6736         * math/libm-test.inc (fma_test): Add more tests.
6737         (fma_test_towardzero): Likewise.
6738         (fma_test_downward): Likewise.
6739         (fma_test_upward): Likewise.
6740
6741 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6742
6743         [BZ #14805]
6744         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6745         fenv_t *.
6746
6747         [BZ #14801]
6748         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6749         namespace for names of struct fields.
6750         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6751         fenv_t fields.
6752         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6753         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6754
6755 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6756
6757         [BZ #3665]
6758         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6759
6760 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6761
6762         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6763         PTR_DEMANGLE.
6764
6765         [BZ #5246]
6766         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6767         PTR_DEMANGLE.
6768
6769 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6770
6771         [BZ #14797]
6772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6773         definitely overflow as x * y not x * y + z.
6774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6776         * math/libm-test.inc (fma_test): Add more tests.
6777         (fma_test_towardzero): Likewise.
6778         (fma_test_downward): Likewise.
6779         (fma_test_upward): Likewise.
6780
6781 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6782
6783         [BZ #157]
6784
6785         * include/stub-tag.h: Remove file.
6786         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6787         '#include' of it.
6788         * manual/maint.texi (Porting): Don't reference it.
6789         * Makerules ($(objpfx)stubs): Likewise.
6790         * dirent/closedir.c: Don't include <stub-tag.h>.
6791         * dirent/dirfd.c: Likewise.
6792         * dirent/fdopendir.c: Likewise.
6793         * dirent/getdents.c: Likewise.
6794         * dirent/getdents64.c: Likewise.
6795         * dirent/opendir.c: Likewise.
6796         * dirent/readdir.c: Likewise.
6797         * dirent/readdir64.c: Likewise.
6798         * dirent/readdir64_r.c: Likewise.
6799         * dirent/readdir_r.c: Likewise.
6800         * dirent/rewinddir.c: Likewise.
6801         * dirent/seekdir.c: Likewise.
6802         * dirent/telldir.c: Likewise.
6803         * gmon/profil.c: Likewise.
6804         * grp/setgroups.c: Likewise.
6805         * inet/if_index.c: Likewise.
6806         * io/access.c: Likewise.
6807         * io/chdir.c: Likewise.
6808         * io/chmod.c: Likewise.
6809         * io/chown.c: Likewise.
6810         * io/close.c: Likewise.
6811         * io/dup.c: Likewise.
6812         * io/dup2.c: Likewise.
6813         * io/dup3.c: Likewise.
6814         * io/euidaccess.c: Likewise.
6815         * io/faccessat.c: Likewise.
6816         * io/fchdir.c: Likewise.
6817         * io/fchmod.c: Likewise.
6818         * io/fchmodat.c: Likewise.
6819         * io/fchown.c: Likewise.
6820         * io/fchownat.c: Likewise.
6821         * io/fcntl.c: Likewise.
6822         * io/flock.c: Likewise.
6823         * io/fstatfs.c: Likewise.
6824         * io/fstatfs64.c: Likewise.
6825         * io/fstatvfs.c: Likewise.
6826         * io/fstatvfs64.c: Likewise.
6827         * io/futimens.c: Likewise.
6828         * io/fxstat.c: Likewise.
6829         * io/fxstat64.c: Likewise.
6830         * io/fxstatat.c: Likewise.
6831         * io/fxstatat64.c: Likewise.
6832         * io/getcwd.c: Likewise.
6833         * io/isatty.c: Likewise.
6834         * io/lchmod.c: Likewise.
6835         * io/lchown.c: Likewise.
6836         * io/link.c: Likewise.
6837         * io/linkat.c: Likewise.
6838         * io/lseek.c: Likewise.
6839         * io/lseek64.c: Likewise.
6840         * io/lxstat64.c: Likewise.
6841         * io/mkdir.c: Likewise.
6842         * io/mkdirat.c: Likewise.
6843         * io/mkfifo.c: Likewise.
6844         * io/mkfifoat.c: Likewise.
6845         * io/open.c: Likewise.
6846         * io/open64.c: Likewise.
6847         * io/openat.c: Likewise.
6848         * io/openat64.c: Likewise.
6849         * io/pipe.c: Likewise.
6850         * io/pipe2.c: Likewise.
6851         * io/poll.c: Likewise.
6852         * io/posix_fadvise.c: Likewise.
6853         * io/posix_fadvise64.c: Likewise.
6854         * io/posix_fallocate.c: Likewise.
6855         * io/posix_fallocate64.c: Likewise.
6856         * io/read.c: Likewise.
6857         * io/readlink.c: Likewise.
6858         * io/readlinkat.c: Likewise.
6859         * io/rmdir.c: Likewise.
6860         * io/sendfile.c: Likewise.
6861         * io/sendfile64.c: Likewise.
6862         * io/statfs.c: Likewise.
6863         * io/statfs64.c: Likewise.
6864         * io/statvfs.c: Likewise.
6865         * io/statvfs64.c: Likewise.
6866         * io/symlink.c: Likewise.
6867         * io/symlinkat.c: Likewise.
6868         * io/ttyname.c: Likewise.
6869         * io/ttyname_r.c: Likewise.
6870         * io/umask.c: Likewise.
6871         * io/unlink.c: Likewise.
6872         * io/unlinkat.c: Likewise.
6873         * io/utime.c: Likewise.
6874         * io/utimensat.c: Likewise.
6875         * io/write.c: Likewise.
6876         * io/xmknod.c: Likewise.
6877         * io/xmknodat.c: Likewise.
6878         * io/xstat.c: Likewise.
6879         * io/xstat64.c: Likewise.
6880         * login/getpt.c: Likewise.
6881         * login/grantpt.c: Likewise.
6882         * login/unlockpt.c: Likewise.
6883         * math/e_acoshl.c: Likewise.
6884         * math/e_acosl.c: Likewise.
6885         * math/e_asinl.c: Likewise.
6886         * math/e_atan2l.c: Likewise.
6887         * math/e_atanhl.c: Likewise.
6888         * math/e_coshl.c: Likewise.
6889         * math/e_expl.c: Likewise.
6890         * math/e_fmodl.c: Likewise.
6891         * math/e_gammal_r.c: Likewise.
6892         * math/e_hypotl.c: Likewise.
6893         * math/e_j0l.c: Likewise.
6894         * math/e_j1l.c: Likewise.
6895         * math/e_jnl.c: Likewise.
6896         * math/e_lgammal_r.c: Likewise.
6897         * math/e_log10l.c: Likewise.
6898         * math/e_log2l.c: Likewise.
6899         * math/e_logl.c: Likewise.
6900         * math/e_powl.c: Likewise.
6901         * math/e_rem_pio2l.c: Likewise.
6902         * math/e_sinhl.c: Likewise.
6903         * math/e_sqrtl.c: Likewise.
6904         * math/fclrexcpt.c: Likewise.
6905         * math/fedisblxcpt.c: Likewise.
6906         * math/feenablxcpt.c: Likewise.
6907         * math/fegetenv.c: Likewise.
6908         * math/fegetexcept.c: Likewise.
6909         * math/fegetround.c: Likewise.
6910         * math/feholdexcpt.c: Likewise.
6911         * math/fesetenv.c: Likewise.
6912         * math/fesetround.c: Likewise.
6913         * math/feupdateenv.c: Likewise.
6914         * math/fgetexcptflg.c: Likewise.
6915         * math/fraiseexcpt.c: Likewise.
6916         * math/fsetexcptflg.c: Likewise.
6917         * math/ftestexcept.c: Likewise.
6918         * math/k_cosl.c: Likewise.
6919         * math/k_rem_pio2l.c: Likewise.
6920         * math/k_sinl.c: Likewise.
6921         * math/k_tanl.c: Likewise.
6922         * math/s_asinhl.c: Likewise.
6923         * math/s_atanl.c: Likewise.
6924         * math/s_cbrtl.c: Likewise.
6925         * math/s_erfl.c: Likewise.
6926         * math/s_expm1l.c: Likewise.
6927         * math/s_log1pl.c: Likewise.
6928         * math/s_tanhl.c: Likewise.
6929         * misc/acct.c: Likewise.
6930         * misc/brk.c: Likewise.
6931         * misc/chflags.c: Likewise.
6932         * misc/chroot.c: Likewise.
6933         * misc/fchflags.c: Likewise.
6934         * misc/fgetxattr.c: Likewise.
6935         * misc/flistxattr.c: Likewise.
6936         * misc/fremovexattr.c: Likewise.
6937         * misc/fsetxattr.c: Likewise.
6938         * misc/fsync.c: Likewise.
6939         * misc/ftruncate.c: Likewise.
6940         * misc/futimes.c: Likewise.
6941         * misc/futimesat.c: Likewise.
6942         * misc/getdomain.c: Likewise.
6943         * misc/getdtsz.c: Likewise.
6944         * misc/gethostid.c: Likewise.
6945         * misc/gethostname.c: Likewise.
6946         * misc/getloadavg.c: Likewise.
6947         * misc/getpagesize.c: Likewise.
6948         * misc/getsysstats.c: Likewise.
6949         * misc/getxattr.c: Likewise.
6950         * misc/gtty.c: Likewise.
6951         * misc/ioctl.c: Likewise.
6952         * misc/lgetxattr.c: Likewise.
6953         * misc/listxattr.c: Likewise.
6954         * misc/llistxattr.c: Likewise.
6955         * misc/lremovexattr.c: Likewise.
6956         * misc/lsetxattr.c: Likewise.
6957         * misc/lutimes.c: Likewise.
6958         * misc/madvise.c: Likewise.
6959         * misc/mincore.c: Likewise.
6960         * misc/mlock.c: Likewise.
6961         * misc/mlockall.c: Likewise.
6962         * misc/mmap.c: Likewise.
6963         * misc/mprotect.c: Likewise.
6964         * misc/msync.c: Likewise.
6965         * misc/munlock.c: Likewise.
6966         * misc/munlockall.c: Likewise.
6967         * misc/munmap.c: Likewise.
6968         * misc/preadv.c: Likewise.
6969         * misc/preadv64.c: Likewise.
6970         * misc/ptrace.c: Likewise.
6971         * misc/pwritev.c: Likewise.
6972         * misc/pwritev64.c: Likewise.
6973         * misc/readv.c: Likewise.
6974         * misc/reboot.c: Likewise.
6975         * misc/remap_file_pages.c: Likewise.
6976         * misc/removexattr.c: Likewise.
6977         * misc/revoke.c: Likewise.
6978         * misc/select.c: Likewise.
6979         * misc/setdomain.c: Likewise.
6980         * misc/setegid.c: Likewise.
6981         * misc/seteuid.c: Likewise.
6982         * misc/sethostid.c: Likewise.
6983         * misc/sethostname.c: Likewise.
6984         * misc/setregid.c: Likewise.
6985         * misc/setreuid.c: Likewise.
6986         * misc/setxattr.c: Likewise.
6987         * misc/sstk.c: Likewise.
6988         * misc/stty.c: Likewise.
6989         * misc/swapoff.c: Likewise.
6990         * misc/swapon.c: Likewise.
6991         * misc/sync.c: Likewise.
6992         * misc/syncfs.c: Likewise.
6993         * misc/syscall.c: Likewise.
6994         * misc/truncate.c: Likewise.
6995         * misc/ualarm.c: Likewise.
6996         * misc/usleep.c: Likewise.
6997         * misc/ustat.c: Likewise.
6998         * misc/utimes.c: Likewise.
6999         * misc/vhangup.c: Likewise.
7000         * misc/writev.c: Likewise.
7001         * posix/_exit.c: Likewise.
7002         * posix/alarm.c: Likewise.
7003         * posix/execve.c: Likewise.
7004         * posix/fexecve.c: Likewise.
7005         * posix/fork.c: Likewise.
7006         * posix/fpathconf.c: Likewise.
7007         * posix/getaddrinfo.c: Likewise.
7008         * posix/getegid.c: Likewise.
7009         * posix/geteuid.c: Likewise.
7010         * posix/getgid.c: Likewise.
7011         * posix/getgroups.c: Likewise.
7012         * posix/getlogin.c: Likewise.
7013         * posix/getlogin_r.c: Likewise.
7014         * posix/getpgid.c: Likewise.
7015         * posix/getpid.c: Likewise.
7016         * posix/getppid.c: Likewise.
7017         * posix/getresgid.c: Likewise.
7018         * posix/getresuid.c: Likewise.
7019         * posix/getsid.c: Likewise.
7020         * posix/getuid.c: Likewise.
7021         * posix/glob64.c: Likewise.
7022         * posix/nanosleep.c: Likewise.
7023         * posix/pathconf.c: Likewise.
7024         * posix/pause.c: Likewise.
7025         * posix/posix_madvise.c: Likewise.
7026         * posix/pread.c: Likewise.
7027         * posix/pread64.c: Likewise.
7028         * posix/pwrite.c: Likewise.
7029         * posix/pwrite64.c: Likewise.
7030         * posix/sched_getaffinity.c: Likewise.
7031         * posix/sched_getp.c: Likewise.
7032         * posix/sched_gets.c: Likewise.
7033         * posix/sched_primax.c: Likewise.
7034         * posix/sched_primin.c: Likewise.
7035         * posix/sched_rr_gi.c: Likewise.
7036         * posix/sched_setaffinity.c: Likewise.
7037         * posix/sched_setp.c: Likewise.
7038         * posix/sched_sets.c: Likewise.
7039         * posix/sched_yield.c: Likewise.
7040         * posix/setgid.c: Likewise.
7041         * posix/setlogin.c: Likewise.
7042         * posix/setpgid.c: Likewise.
7043         * posix/setresgid.c: Likewise.
7044         * posix/setresuid.c: Likewise.
7045         * posix/setsid.c: Likewise.
7046         * posix/setuid.c: Likewise.
7047         * posix/sleep.c: Likewise.
7048         * posix/spawni.c: Likewise.
7049         * posix/sysconf.c: Likewise.
7050         * posix/times.c: Likewise.
7051         * posix/wait.c: Likewise.
7052         * posix/wait3.c: Likewise.
7053         * posix/wait4.c: Likewise.
7054         * posix/waitpid.c: Likewise.
7055         * resolv/gai_sigqueue.c: Likewise.
7056         * resource/getpriority.c: Likewise.
7057         * resource/getrlimit.c: Likewise.
7058         * resource/getrusage.c: Likewise.
7059         * resource/nice.c: Likewise.
7060         * resource/setpriority.c: Likewise.
7061         * resource/setrlimit.c: Likewise.
7062         * resource/ulimit.c: Likewise.
7063         * rt/aio_cancel.c: Likewise.
7064         * rt/aio_fsync.c: Likewise.
7065         * rt/aio_read.c: Likewise.
7066         * rt/aio_sigqueue.c: Likewise.
7067         * rt/aio_suspend.c: Likewise.
7068         * rt/aio_write.c: Likewise.
7069         * rt/clock_getres.c: Likewise.
7070         * rt/clock_gettime.c: Likewise.
7071         * rt/clock_nanosleep.c: Likewise.
7072         * rt/clock_settime.c: Likewise.
7073         * rt/lio_listio.c: Likewise.
7074         * rt/mq_close.c: Likewise.
7075         * rt/mq_getattr.c: Likewise.
7076         * rt/mq_notify.c: Likewise.
7077         * rt/mq_open.c: Likewise.
7078         * rt/mq_receive.c: Likewise.
7079         * rt/mq_send.c: Likewise.
7080         * rt/mq_setattr.c: Likewise.
7081         * rt/mq_timedreceive.c: Likewise.
7082         * rt/mq_timedsend.c: Likewise.
7083         * rt/mq_unlink.c: Likewise.
7084         * rt/shm_open.c: Likewise.
7085         * rt/shm_unlink.c: Likewise.
7086         * rt/timer_create.c: Likewise.
7087         * rt/timer_delete.c: Likewise.
7088         * rt/timer_getoverr.c: Likewise.
7089         * rt/timer_gettime.c: Likewise.
7090         * rt/timer_settime.c: Likewise.
7091         * setjmp/__longjmp.c: Likewise.
7092         * setjmp/setjmp.c: Likewise.
7093         * signal/kill.c: Likewise.
7094         * signal/killpg.c: Likewise.
7095         * signal/raise.c: Likewise.
7096         * signal/sigaction.c: Likewise.
7097         * signal/sigaltstack.c: Likewise.
7098         * signal/sigblock.c: Likewise.
7099         * signal/sigignore.c: Likewise.
7100         * signal/sigintr.c: Likewise.
7101         * signal/signal.c: Likewise.
7102         * signal/sigpause.c: Likewise.
7103         * signal/sigpending.c: Likewise.
7104         * signal/sigqueue.c: Likewise.
7105         * signal/sigreturn.c: Likewise.
7106         * signal/sigset.c: Likewise.
7107         * signal/sigsetmask.c: Likewise.
7108         * signal/sigstack.c: Likewise.
7109         * signal/sigsuspend.c: Likewise.
7110         * signal/sigtimedwait.c: Likewise.
7111         * signal/sigvec.c: Likewise.
7112         * signal/sigwait.c: Likewise.
7113         * signal/sigwaitinfo.c: Likewise.
7114         * signal/sysv_signal.c: Likewise.
7115         * socket/accept.c: Likewise.
7116         * socket/accept4.c: Likewise.
7117         * socket/bind.c: Likewise.
7118         * socket/connect.c: Likewise.
7119         * socket/getpeername.c: Likewise.
7120         * socket/getsockname.c: Likewise.
7121         * socket/getsockopt.c: Likewise.
7122         * socket/isfdtype.c: Likewise.
7123         * socket/listen.c: Likewise.
7124         * socket/recv.c: Likewise.
7125         * socket/recvfrom.c: Likewise.
7126         * socket/recvmsg.c: Likewise.
7127         * socket/send.c: Likewise.
7128         * socket/sendmsg.c: Likewise.
7129         * socket/sendto.c: Likewise.
7130         * socket/setsockopt.c: Likewise.
7131         * socket/shutdown.c: Likewise.
7132         * socket/sockatmark.c: Likewise.
7133         * socket/socket.c: Likewise.
7134         * socket/socketpair.c: Likewise.
7135         * stdio-common/ctermid.c: Likewise.
7136         * stdio-common/cuserid.c: Likewise.
7137         * stdio-common/remove.c: Likewise.
7138         * stdio-common/rename.c: Likewise.
7139         * stdio-common/renameat.c: Likewise.
7140         * stdio-common/tempname.c: Likewise.
7141         * stdlib/getcontext.c: Likewise.
7142         * stdlib/makecontext.c: Likewise.
7143         * stdlib/setcontext.c: Likewise.
7144         * stdlib/swapcontext.c: Likewise.
7145         * stdlib/system.c: Likewise.
7146         * streams/fattach.c: Likewise.
7147         * streams/fdetach.c: Likewise.
7148         * streams/getmsg.c: Likewise.
7149         * streams/getpmsg.c: Likewise.
7150         * streams/putmsg.c: Likewise.
7151         * streams/putpmsg.c: Likewise.
7152         * sysdeps/unix/bsd/getpt.c: Likewise.
7153         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7154         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7155         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7157         Likewise.
7158         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7159         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7160         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7161         * sysvipc/msgctl.c: Likewise.
7162         * sysvipc/msgget.c: Likewise.
7163         * sysvipc/msgrcv.c: Likewise.
7164         * sysvipc/msgsnd.c: Likewise.
7165         * sysvipc/semctl.c: Likewise.
7166         * sysvipc/semget.c: Likewise.
7167         * sysvipc/semop.c: Likewise.
7168         * sysvipc/semtimedop.c: Likewise.
7169         * sysvipc/shmat.c: Likewise.
7170         * sysvipc/shmctl.c: Likewise.
7171         * sysvipc/shmdt.c: Likewise.
7172         * sysvipc/shmget.c: Likewise.
7173         * termios/tcdrain.c: Likewise.
7174         * termios/tcflow.c: Likewise.
7175         * termios/tcflush.c: Likewise.
7176         * termios/tcgetattr.c: Likewise.
7177         * termios/tcgetpgrp.c: Likewise.
7178         * termios/tcsendbrk.c: Likewise.
7179         * termios/tcsetattr.c: Likewise.
7180         * termios/tcsetpgrp.c: Likewise.
7181         * time/adjtime.c: Likewise.
7182         * time/clock.c: Likewise.
7183         * time/getitimer.c: Likewise.
7184         * time/gettimeofday.c: Likewise.
7185         * time/setitimer.c: Likewise.
7186         * time/settimeofday.c: Likewise.
7187         * time/stime.c: Likewise.
7188         * time/time.c: Likewise.
7189
7190 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7191
7192         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7193         /usr/old/bin.
7194
7195         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7196         instead of spaces.
7197         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7198
7199 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7200
7201         [BZ #14796]
7202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7203         FE_TONEAREST before applying Dekker multiplication and Knuth
7204         addition.  Clear inexact exceptions and check for exact zero
7205         results afterwards.
7206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7207         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7209         * math/libm-test.inc (fma_test): Add more tests.
7210         (fma_test_towardzero): Likewise.
7211         (fma_test_downward): Likewise.
7212         (fma_test_upward): Likewise.
7213         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7214         function.
7215         (libc_fesetround): New macro.
7216         (libc_fesetroundf): Likewise.
7217         (libc_fesetroundl): Likewise.
7218         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7219         function.
7220         (libc_fesetround_387): Likewise.
7221         (libc_fesetroundf): New macro.
7222         (libc_fesetround): Likewise.
7223         (libc_fesetroundl): Likewise.
7224         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7225         function.
7226         (libc_fesetroundf): New macro.
7227         (libc_fesetround): Likewise.
7228         (libc_fesetroundl): Likewise.
7229         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7230         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7231         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7232         libm_hidden_ver.
7233         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7234         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7235         libm_hidden_def.
7236         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7237         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7238         libm_hidden_ver.
7239         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7240         libm_hidden_def.
7241
7242         [BZ #3439]
7243         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7244         integer constant usable in #if and use that to give value to enum
7245         constant.
7246         (FE_DIVBYZERO): Likewise.
7247         (FE_UNDERFLOW): Likewise.
7248         (FE_OVERFLOW): Likewise.
7249         (FE_INVALID): Likewise.
7250         (FE_INVALID_SNAN): Likewise.
7251         (FE_INVALID_ISI): Likewise.
7252         (FE_INVALID_IDI): Likewise.
7253         (FE_INVALID_ZDZ): Likewise.
7254         (FE_INVALID_IMZ): Likewise.
7255         (FE_INVALID_COMPARE): Likewise.
7256         (FE_INVALID_SOFTWARE): Likewise.
7257         (FE_INVALID_SQRT): Likewise.
7258         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7259         (FE_TONEAREST): Likewise.
7260         (FE_TOWARDZERO): Likewise.
7261         (FE_UPWARD): Likewise.
7262         (FE_DOWNWARD): Likewise.
7263         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7264         (FE_DIVBYZERO): Likewise.
7265         (FE_OVERFLOW): Likewise.
7266         (FE_UNDERFLOW): Likewise.
7267         (FE_INEXACT): Likewise.
7268         (FE_TONEAREST): Likewise.
7269         (FE_DOWNWARD): Likewise.
7270         (FE_UPWARD): Likewise.
7271         (FE_TOWARDZERO): Likewise.
7272         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7273         (FE_UNDERFLOW): Likewise.
7274         (FE_OVERFLOW): Likewise.
7275         (FE_DIVBYZERO): Likewise.
7276         (FE_INVALID): Likewise.
7277         (FE_TONEAREST): Likewise.
7278         (FE_TOWARDZERO): Likewise.
7279         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7280         (FE_OVERFLOW): Likewise.
7281         (FE_UNDERFLOW): Likewise.
7282         (FE_DIVBYZERO): Likewise.
7283         (FE_INEXACT): Likewise.
7284         (FE_TONEAREST): Likewise.
7285         (FE_TOWARDZERO): Likewise.
7286         (FE_UPWARD): Likewise.
7287         (FE_DOWNWARD): Likewise.
7288         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7289         (FE_DIVBYZERO): Likewise.
7290         (FE_OVERFLOW): Likewise.
7291         (FE_UNDERFLOW): Likewise.
7292         (FE_INEXACT): Likewise.
7293         (FE_TONEAREST): Likewise.
7294         (FE_DOWNWARD): Likewise.
7295         (FE_UPWARD): Likewise.
7296         (FE_TOWARDZERO): Likewise.
7297
7298 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7299
7300         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7301
7302 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7303
7304         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7305         commands.  Quote $PWD.
7306         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7307         -x" by "export".
7308         (remove_newlines): Remove.
7309
7310 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7311
7312         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7313         * stdlib/stdlib.h (atof): Moved to ...
7314         * include/bits/stdlib-float.h: Here.  New file.
7315         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7316         * stdlib/bits/stdlib-float.h: New file.
7317         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7318         -mno-sse -mno-mmx.
7319         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7320         <xmmintrin.h>.
7321
7322 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7323
7324         * conform/conformtest.pl (@headers): Add fenv.h.
7325         * conform/data/fenv.h-data: New file.
7326         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7327         include of <math/fenv.h>.
7328
7329         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7330         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7331         && !UNIX98].  Enables tests for XOPEN2K8.
7332         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7333         POSIX2008]: Likewise.
7334
7335         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7336         (struct rusage): Do not expect type or its members.
7337
7338         [BZ #3439]
7339         * math/math.h (FP_NAN): Define macro to integer constant usable in
7340         #if and use that to give value to enum constant.
7341         (FP_INFINITE): Likewise.
7342         (FP_ZERO): Likewise.
7343         (FP_SUBNORMAL): Likewise.
7344         (FP_NORMAL): Likewise.
7345
7346 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7347
7348         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7349         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7350         arguments.
7351
7352 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7353
7354         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7355         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7356         autoconf-time if not.
7357         * configure.in: Remove AC_PREREQ.
7358
7359 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7360
7361         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7362         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7363         of the internal implementation.
7364
7365 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7366
7367         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7368         except include of <misc/sys/syslog.h>.
7369
7370 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7371
7372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7373         function returns with a NULL context exit with zero.
7374
7375 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7376
7377         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7378
7379 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7380
7381         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7382         (run_program_cmd): This.
7383         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7384         (tst_langinfo): New variable.  Use it.
7385
7386 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7387
7388         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7389         floating point opcodes.
7390
7391 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7392
7393         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7394         variable.
7395
7396         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7397
7398         * sysdeps/mach/hurd/powerpc: Remove directory.
7399         * sysdeps/mach/powerpc: Likewise.
7400
7401 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7402
7403         * scripts/check-local-headers.sh: Ignore c++ headers.
7404
7405 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7406
7407         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7408         __libc_cleanup_region_start argument.
7409
7410 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7411
7412         [BZ #14784]
7413         [BZ #14785]
7414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7415         x * y using scaling, not as x * y + z.
7416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7418         * math/libm-test.inc (fma_test): Add more tests.
7419         (fma_test_towardzero): Likewise.
7420         (fma_test_downward): Likewise.
7421         (fma_test_upward): Likewise.
7422
7423 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7424
7425         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7426
7427 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7428
7429         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7430         New variable.
7431
7432 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7433
7434         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7435
7436 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7437
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7439         Fix sort order.
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7441         Likewise.
7442
7443 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7444
7445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7446         Fix the order of the list for glibc 2.17.
7447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7448         Likewise.
7449
7450 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7451
7452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7453
7454 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7455
7456         [BZ #14610]
7457         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7458         for low part of x being zero before using __atanl (y).
7459         * math/libm-test.inc (atan2_test): Add another test.
7460
7461         * manual/install.texi (Configuring and compiling): Document
7462         general use of test-wrapper and test-wrapper-env.
7463         * INSTALL: Regenerated.
7464
7465         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7466         (__fma): Do not extract and scale down low bits on after-rounding
7467         systems when result rounded to normal precision would have normal
7468         exponent.
7469         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7470         (__fmal): Do not extract and scale down low bits on after-rounding
7471         systems when result rounded to normal precision would have normal
7472         exponent.
7473         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7474         (__fmal): Do not extract and scale down low bits on after-rounding
7475         systems when result rounded to normal precision would have normal
7476         exponent.
7477         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7478         macro.
7479         (fma_test): Add more tests.
7480         (fma_test_towardzero): Likewise.
7481         (fma_test_downward): Likewise.
7482         (fma_test_upward): Likewise.
7483
7484 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7485
7486         * sysdeps/i386/tininess.h: Renamed to ...
7487         * sysdeps/x86/tininess.h: This.
7488         * sysdeps/x86_64/tininess.h: Removed.
7489
7490 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7491
7492         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7493         input.  Use $(build-program-cmd).
7494         ($(objpfx)tst-array1-static.out): Likewise.
7495         ($(objpfx)tst-array2.out): Likewise.
7496         ($(objpfx)tst-array3.out): Likewise.
7497         ($(objpfx)tst-array4.out): Likewise.
7498         ($(objpfx)tst-array5.out): Likewise.
7499         ($(objpfx)tst-array5-static.out): Likewise.
7500
7501 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7502
7503         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7504         if defined.
7505
7506         * nss/nsswitch.h (nss_interface_function): Provide new
7507         macro for use with NSS functions.
7508         * grp/initgroups.c: Use new macro.
7509         * nss/getXXbyYY.c: Likewise.
7510         * nss/getXXbyYY_r.c: Likewise.
7511         * nss/getXXent.c: Likewise.
7512         * nss/getXXent_r.c: Likewise.
7513         * sysdeps/posix/getaddrinfo.c: Likewise.
7514
7515 2012-10-30  Andreas Jaeger  <aj@suse.de>
7516
7517         * po/ru.po: Update Russion translation from translation project.
7518
7519 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7520
7521         [BZ #14152]
7522         [BZ #14783]
7523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7524         result and shift together with sticky bit instead of replicating
7525         round-to-nearest rounding.
7526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7528         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7529         missing underflow exceptions.
7530         (fma_test_towardzero): Add more tests.
7531         (fma_test_downward): Likewise.
7532         (fma_test_upward): Likewise.
7533
7534         [BZ #14047]
7535         * sysdeps/generic/tininess.h: New file.
7536         * sysdeps/i386/tininess.h: Likewise.
7537         * sysdeps/sh/tininess.h: Likewise.
7538         * sysdeps/x86_64/tininess.h: Likewise.
7539         * stdlib/tst-strtod-underflow.c: Likewise.
7540         * stdlib/tst-tininess.c: Likewise.
7541         * stdlib/strtod_l.c: Include <tininess.h>.
7542         (round_and_return): Do not set errno for exact underflow cases.
7543         Force an underflow exception when setting errno for underflow.
7544         Determine underflow based on rounding to normal precision if
7545         TININESS_AFTER_ROUNDING.
7546         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7547         ERANGE for exact underflow cases.
7548         * stdlib/Makefile (tests): Add tst-tininess and
7549         tst-strtod-underflow.
7550         ($(objpfx)tst-tininess): Use $(link-libm).
7551         ($(objpfx)tst-strtod-underflow): Likewise.
7552
7553 2012-10-30  Andreas Jaeger  <aj@suse.de>
7554
7555         [BZ#14767]
7556         * elf/Makefile (tests): Remove conditional for have-initfini-array
7557         since this is now always required and the variable does not exist
7558         anymore.
7559         (tests-static): Likewise.
7560         (modules-names): Likewise.
7561
7562         * po/eo.po: Add Esperanto translation from translation project.
7563
7564         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7565         merged with constructor/destructor.
7566         (init_array): Likewise.
7567         * elf/tst-array2dep.c (fini_array): Likewise.
7568         (init_array): Likewise.
7569
7570 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7571
7572         * manual/message.texi: Delete @cartouche tags.
7573
7574 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7575
7576         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7577         EOPNOTSUPP.
7578         * sysdeps/mach/hurd/fsync.c: Likewise.
7579
7580         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7581         [_POSIX_REALTIME_SIGNALS]: Change condition to
7582         [_POSIX_REALTIME_SIGNALS > 0].
7583
7584 2012-10-27  Andreas Jaeger  <aj@suse.de>
7585
7586         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7587         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7589         [__WORDSIZE != 64]: Likewise.
7590
7591 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7592
7593         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7594         *  iconvdata/tst-tables.sh: Likewise.
7595
7596 2012-10-25  David S. Miller  <davem@davemloft.net>
7597
7598         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7599         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7600         of strtoull.
7601
7602         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7603         ifunc-impl-list.c
7604         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7605         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7606         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7607         file.
7608
7609 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7610
7611         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7612         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7613         __getdirentries.
7614
7615 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7616             Jim Blandy  <jimb@codesourcery.com>
7617
7618         * scripts/cross-test-ssh.sh: New file.
7619         * manual/install.texi (Configuring and compiling): Document use of
7620         cross-test-ssh.sh.
7621         * INSTALL: Regenerated.
7622
7623 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7624
7625         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7626         EOPNOTSUPP.
7627
7628 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7629
7630         * Makeconfig (run-program-prefix): Fix comment.
7631
7632 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7633             Jim Blandy  <jimb@codesourcery.com>
7634
7635         * Makeconfig (test-wrapper): New variable,
7636         (test-wrapper-env): Likewise.
7637         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7638         (run-built-tests): Define to yes.
7639         (run-program-prefix): Use $(test-wrapper).
7640         (built-program-cmd): Likewise.
7641         * Rules (make-test-out): Use $(test-wrapper-env) and
7642         $(host-built-program-cmd).
7643         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7644         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7645         tst-pathopt.sh.
7646         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7647         $(test-wrapper-env) to tst-rtld-load-self.sh.
7648         ($(objpfx)order2.out): Use $(test-wrapper).
7649         ($(objpfx)tst-initorder.out): Likewise.
7650         ($(objpfx)tst-initorder2.out): Likewise.
7651         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7652         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7653         (test_wrapper_env): New variable.  Use it to run ld.so.
7654         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7655         Use it to run ld.so.
7656         (test_wrapper_env): Likewise.
7657         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7658         $(test-wrapper) to run-iconv-test.sh.
7659         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7660         (ICONV): Use $test_wrapper.
7661         * posix/Makefile ($(objpfx)globtest.out): Pass
7662         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7663         globtest.sh, not $(run-program-prefix).
7664         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7665         (test_wrapper): Likewise.
7666         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7667         set together with run_via_rtld_prefix.
7668         (run_program_prefix): Define in terms of test_wrapper and
7669         run_via_rtld_prefix.
7670
7671 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7672
7673         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7674         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7675         Targets removed.
7676
7677         [BZ #14743]
7678         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7679         Declare __clock_getres, __clock_gettime, __clock_settime,
7680         __clock_nanosleep, and __clock_getcpuclockid.
7681         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7682         Remove librt_hidden_def (clock_gettime).
7683         * sysdeps/unix/clock_gettime.c: Likewise.
7684         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7685         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7686         * rt/clock_getres.c: Define __clock_getres as an alias.
7687         * sysdeps/posix/clock_getres.c: Likewise.
7688         * rt/clock_settime.c: Define __clock_settime as an alias.
7689         * sysdeps/unix/clock_settime.c: Likewise.
7690         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7691         * sysdeps/unix/clock_nanosleep.c: Likewise.
7692         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7693         * rt/clock-compat.c: New file.
7694         * rt/Makefile (librt-routines): Add clock-compat and move
7695         $(clock-routines) to ...
7696         (routines): ... here, new variable.
7697         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7698         Don't add get_clockfreq here.
7699         * rt/Versions (libc: GLIBC_2.17): New version set.
7700         Add clock_* symbols here.
7701         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7702         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7703         (GLIBC_2.17): Add clock_* symbols.
7704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7708         Likewise.
7709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7710         Likewise.
7711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7715         * NEWS: Mention the move.
7716
7717         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7718         Use __open, __read, __close rather than their public counterparts.
7719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7720         (__get_clockfreq_via_cpuinfo): Likewise.
7721         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7722         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7723
7724         * config.h.in (HAVE_IFUNC): New #undef.
7725         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7726         was successful.
7727         * configure: Regenerated.
7728
7729 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7730
7731         * configure.in: Move READELF check to start of file.
7732         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7733         libc_cv_asm_gnu_indirect_function in the process.
7734         * configure: Regenerated.
7735
7736 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7737
7738         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7739         send the output to /dev/null.
7740         (libc_cv_cc_with_libunwind): Likewise.
7741         (libc_cv_as_noexecstack): Likewise.
7742         * configure: Regenerate.
7743
7744 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7745
7746         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7747
7748         * posix/globtest.sh (TMPDIR): Do not set.
7749         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7750         (testout): Likewise.
7751
7752 2012-10-24  Andreas Jaeger  <aj@suse.de>
7753
7754         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7755         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7756         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7757         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7758         posix_fadvise64, posix_fallocate64.
7759
7760         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7761         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7762         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7763         Likewise.
7764         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7765         Likewise.
7766         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7767
7768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7769         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7770         <bits/fcntl-linux.h>.
7771         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7772
7773         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7774         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7775         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7776         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7777         [__WORDSIZE != 64]: Likewise.
7778
7779 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7780
7781         * Makeconfig (run-built-tests): New variable.
7782         * Rules [$(cross-compiling) = yes]: Change condition to
7783         [$(run-built-tests) = no].
7784         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7785         to [$(run-built-tests) = yes].
7786         * elf/Makefile [$(cross-compiling) = no]: Likewise
7787         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7788         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7789         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7790         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7791         * io/Makefile [$(cross-compiling) = no]: Likewise.
7792         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7793         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7794         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7795         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7796         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7797         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7798         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7799         * string/Makefile [$(cross-compiling) = no]: Likewise.
7800
7801         * posix/Makefile ($(objpfx)globtest.out): Pass
7802         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7803         $(rtld-installed-name).
7804         * posix/globtest.sh (elf_objpfx): Remove variable.
7805         (rtld_installed_name): Likewise.
7806         (library_path): Likewise.
7807         (run_program_prefix): New variable.  Use for running globtest
7808         binary.
7809
7810 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7811             Joseph Myers  <joseph@codesourcery.com>
7812
7813         * Makeconfig (host-built-program-cmd): New variable.
7814         * elf/Makefile (tst-stackguard1-ARGS): Use
7815         $(host-built-program-cmd).
7816         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7817         (tst-spawn-ARGS): Likewise.
7818         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7819
7820 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7821             Jim Blandy  <jimb@codesourcery.com>
7822
7823         * Makeconfig (run-via-rtld-prefix): New variable.
7824         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7825         (built-program-cmd): Likewise.
7826
7827 2012-10-22  Andreas Jaeger  <aj@suse.de>
7828
7829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7830         __O_RSYNC if it exists, otherwise to O_SYNC.
7831
7832 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7833             Joseph Myers  <joseph@codesourcery.com>
7834
7835         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7836         /dev/null.
7837         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7838         from /dev/null
7839         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7840         /dev/null.
7841
7842 2012-10-22  Andreas Jaeger  <aj@suse.de>
7843
7844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7845         Define always.
7846         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7847
7848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7849         bits/fcntl-linux.h.
7850
7851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7852         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7853
7854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7855         to __O_LARGEFILE.
7856         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7857         to __O_LARGEFILE.
7858
7859 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7860             Joseph Myers  <joseph@codesourcery.com>
7861
7862         * config.make.in (NM): New variable.
7863
7864 2012-10-21  Andreas Jaeger  <aj@suse.de>
7865
7866         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7867         definitions and declarations that are provided by
7868         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7869
7870 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7871
7872         [BZ #14683]
7873         * elf/Makefile (tests-static): Add tst-leaks1-static.
7874         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7875         ($(objpfx)tst-leaks1-static): New rule.
7876         ($(objpfx)tst-leaks1-static-mem): Likewise.
7877         (tst-leaks1-static-ENV): New macro.
7878         * elf/dl-open.c (dl_open_worker): Check the main application
7879         only if SHARED is defined.
7880         * elf/tst-leaks1-static.c: New file.
7881
7882 2012-10-20  Andreas Jaeger  <aj@suse.de>
7883
7884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7885         generic values for Linux.
7886         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7887         and declarations that are provided by <bits/fcntl-linux.h> and
7888         include <bits/fcntl-linux.h>.
7889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7890         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7891
7892 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7893
7894         * io/fcntl.h: Move include of <bits/types.h> to the top and
7895         include it unconditionally.
7896
7897 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7898
7899         * wcsmbs/Makefile (tests-ifunc): New variable.
7900         (tests): Add $(tests-ifunc).
7901         * wcsmbs/test-wcschr-ifunc.c: New file.
7902         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7903         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7904         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7905         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7906         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7907
7908         * string/Makefile (tests-ifunc): New variable.
7909         (tests): Add $(tests-ifunc).
7910         * string/test-memccpy.c (TEST_NAME): New macro.
7911         * string/test-memchr.c (TEST_NAME): Likewise.
7912         * string/test-memcmp.c (TEST_NAME): Likewise.
7913         * string/test-memcpy.c (TEST_NAME): Likewise.
7914         * string/test-memmem.c (TEST_NAME): Likewise.
7915         * string/test-memmove.c (TEST_NAME): Likewise.
7916         * string/test-memset.c (TEST_NAME): Likewise.
7917         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7918         * string/test-stpcpy.c (TEST_NAME): Likewise.
7919         * string/test-stpncpy.c (TEST_NAME): Likewise.
7920         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7921         * string/test-strcasestr.c (TEST_NAME): Likewise.
7922         * string/test-strcat.c (TEST_NAME): Likewise.
7923         * string/test-strchr.c (TEST_NAME): Likewise.
7924         * string/test-strcmp.c(TEST_NAME): Likewise.
7925         * string/test-strcpy.c (TEST_NAME): Likewise.
7926         * string/test-strcspn.c (TEST_NAME): Likewise.
7927         * string/test-strlen.c (TEST_NAME): Likewise.
7928         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7929         * string/test-strncmp.c (TEST_NAME): Likewise.
7930         * string/test-strncpy.c (TEST_NAME): Likewise.
7931         * string/test-strnlen.c (TEST_NAME): Likewise.
7932         * string/test-strpbrk.c (TEST_NAME): Likewise.
7933         * string/test-strrchr.c (TEST_NAME): Likewise.
7934         * string/test-strspn.c (TEST_NAME): Likewise.
7935         * string/test-strstr.c (TEST_NAME): Likewise.
7936         * string/test-bcopy-ifunc.c: New file.
7937         * string/test-bzero-ifunc.c: Likewise.
7938         * string/test-memccpy-ifunc.c: Likewise.
7939         * string/test-memchr-ifunc.c: Likewise.
7940         * string/test-memcmp-ifunc.c: Likewise.
7941         * string/test-memcpy-ifunc.c: Likewise.
7942         * string/test-memmem-ifunc.c: Likewise.
7943         * string/test-memmove-ifunc.c: Likewise.
7944         * string/test-mempcpy-ifunc.c: Likewise.
7945         * string/test-memset-ifunc.c: Likewise.
7946         * string/test-rawmemchr-ifunc.c: Likewise.
7947         * string/test-stpcpy-ifunc.c: Likewise.
7948         * string/test-stpncpy-ifunc.c: Likewise.
7949         * string/test-strcasecmp-ifunc.c: Likewise.
7950         * string/test-strcasestr-ifunc.c: Likewise.
7951         * string/test-strcat-ifunc.c: Likewise.
7952         * string/test-strchr-ifunc.c: Likewise.
7953         * string/test-strchrnul-ifunc.c: Likewise.
7954         * string/test-strcmp-ifunc.c: Likewise.
7955         * string/test-strcpy-ifunc.c: Likewise.
7956         * string/test-strcspn-ifunc.c: Likewise.
7957         * string/test-strlen-ifunc.c: Likewise.
7958         * string/test-strncasecmp-ifunc.c: Likewise.
7959         * string/test-strncat-ifunc.c: Likewise.
7960         * string/test-strncmp-ifunc.c: Likewise.
7961         * string/test-strncpy-ifunc.c: Likewise.
7962         * string/test-strnlen-ifunc.c: Likewise.
7963         * string/test-strpbrk-ifunc.c: Likewise.
7964         * string/test-strrchr-ifunc.c: Likewise.
7965         * string/test-strspn-ifunc.c: Likewise.
7966         * string/test-strstr-ifunc.c: Likewise.
7967
7968         * debug/Makefile (tests-ifunc): New variable.
7969         (tests): Add $(tests-ifunc).
7970         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7971         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7972         * debug/test-stpcpy_chk-ifunc.c: New file.
7973         * debug/test-strcpy_chk-ifunc.c: Likewise.
7974
7975 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7976
7977         [BZ #13601]
7978         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7979         header is not read in.
7980
7981 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7982
7983         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7984         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7985         directly.  Pass built executable to script as
7986         $(built-program-cmd).
7987         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7988         $testprogram without using LD_LIBRARY_PATH and $ldso.
7989
7990         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7991         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7992         $(rtld-installed-name).
7993         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7994         (rtld_installed_name): Likewise.
7995         (library_path): Likewise.
7996         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7997         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7998         $(run-program-prefix) to tst-tables.sh.
7999         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
8000         it to run tst-table-from and tst-table-to.
8001         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8002         Pass it to tst-table.sh.
8003         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8004         $(run-program-prefix) to tst-gettext.sh.
8005         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8006         tst-translit.sh.
8007         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8008         tst-gettext2.sh.
8009         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
8010         to run tst-gettext.
8011         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
8012         to run tst-gettext2.
8013         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
8014         to run tst-translit.
8015         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8016         $(run-program-prefix) to tst-mtrace.sh.
8017         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
8018         to run tst-mtrace.
8019         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8020         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8021         $(rtld-installed-name).
8022         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8023         (rtld_installed_name): Likewise.
8024         (run_program_prefix): New variable.  Use it to run wordexp-test.
8025
8026         * Makeconfig (ARCH): Remove all definitions.
8027         (machine): Likewise.
8028         [ARCH]: Remove conditional code.
8029         [!objdir]: Give error.
8030         [!objdir] (objpfx): Remove.
8031         [!objdir] (common-objpfx): Likewise.
8032         [!objdir] (common-objdir): Likewise.
8033         * configure.in (config_makefile): Remove.  Hardcode Makefile in
8034         AC_CONFIG_FILES call.
8035         * configure: Regenerated.
8036
8037         [BZ #13888]
8038         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8039         or TMPDIR.
8040         (testout): Likewise.
8041
8042         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8043         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8044         $(rtld-installed-name).
8045         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8046         (rtld_installed_name): Likwise.
8047         (runit): Remove function.
8048         (run_getconf): New variable,  Use it for running getconf binary.
8049
8050 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
8051
8052         [BZ #14716]
8053         * string/test-memmem.c (check_result): New function.
8054         (do_one_test): Use it.
8055         (check1): New function.
8056         (test_main): Use it.
8057
8058 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
8059
8060         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8061
8062 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
8063
8064         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8065         (_G_LSEEK64): Likewise.
8066         (_G_MMAP64): Likewise.
8067         (_G_FSTAT64): Likewise.
8068         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8069         (_G_LSEEK64): Likewise.
8070         (_G_MMAP64): Likewise.
8071         (_G_FSTAT64): Likewise.
8072         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8073         unconditional.  Call __mmap64 directly.
8074         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8075         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
8076         __lseek64 directly.
8077         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8078         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
8079         __mmap64 directly.
8080         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8081         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8082         __lseek64 directly.
8083         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8084         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8085         __lseek64 directly.
8086         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8087         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
8088         __lseek64 directly.
8089         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8090         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
8091         __fxstat64 directly.
8092         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8093         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8094         unconditional.
8095         (freopen64) [!_G_OPEN64]: Remove conditional code.
8096         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8097         unconditional.
8098         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8099         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8100         unconditional.
8101         (ftello64) [!_G_LSEEK64]: Remove conditional code.
8102         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8103         unconditional.
8104         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8105         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8106         unconditional.
8107         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8108         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8109         unconditional.
8110         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8111         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8112         unconditional.
8113         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8114         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8115         unconditional.
8116         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8117
8118 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8119
8120         [BZ #12140]
8121         * manual/memory.texi (Malloc Tunable Parameters): Add note
8122         about free list pointers overwriting some perturb bytes.
8123         Wording suggested by Roland McGrath.
8124
8125 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
8126
8127         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8128         (lgamma_test): Likewise.
8129         (tgamma_test): Likewise.
8130
8131 2012-10-16  Florian Weimer  <fweimer@redhat.com>
8132
8133         [BZ #14700]
8134         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8135         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8136
8137 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
8138
8139         * NEWS: Mention BZ #14716.
8140         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8141         when removing AVAILABLE1_USES_J macro.
8142
8143 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8144
8145         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8146         (__bswap_64): __uint64_t for unsigned 64-bit int.
8147
8148 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
8149
8150         * include/string.h (memmem): Declare libc hidden alias.
8151         * string/memmem.c (memmem): Define libc hidden alias.
8152         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8153         __read, __close instead of open, read, close.
8154
8155 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
8156
8157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8158         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8159         global and hidden.
8160         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8161         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8162         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8163         Likewise.
8164         (__rawmemchr_sse2): Likewise.
8165         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8166         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8167         (__strchr_sse2): Likewise.
8168         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8169         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8170         (__strcasecmp_sse2): Likewise.
8171         (__strncasecmp_sse2): Likewise.
8172         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8173         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8174         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8175         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8176         (__strrchr_sse2): Likewise.
8177         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8178         ifunc-impl-list.c.
8179         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8180         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8181         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8182         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8183         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8184         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8185         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8186         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8187         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8188         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8189         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8190         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8191         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8192         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8193         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8194         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8195         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8196         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8197         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8198         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8199         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8200         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8201         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8202         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8203         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8204         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8205         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8206         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8207         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8208         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8209
8210         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8211         global and hidden.
8212         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8213         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8214         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8215         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8216         Likewise.
8217         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8218         Likewise.
8219         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8220         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8221         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8222         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8223         ifunc-impl-list.c.
8224         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8225         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8226         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8227         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8228         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8229         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8230         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8231         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8232         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8233         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8234         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8235         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8236         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8237         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8238         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8239         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8240         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8241         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8242         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8243         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8244         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8245         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8246         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8247         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8248         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8249         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8250         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8251         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8252         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8253         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8254         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8255         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8256         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8257         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8258         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8259         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8260         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8261         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8262         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8263         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8264         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8265
8266         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8267         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8268         * include/ifunc-impl-list.h: New file.
8269         * misc/ifunc-impl-list.c: Likewise.
8270         * misc/Makefile (routines): Add ifunc-impl-list.
8271         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8272         * string/test-string.h: Include <ifunc-impl-list.h>.
8273         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8274         impl_array): New variables.
8275         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8276         are defined.
8277         (test_init): Call __libc_ifunc_impl_list to initialize
8278         func_list if TEST_IFUNC and TEST_NAME are defined.
8279
8280         * string/Makefile (strop-tests): Add bcopy and bzero.
8281         * string/test-bcopy.c: New file.
8282         * string/test-bzero.c: Likewise.
8283         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8284         defined.
8285         * string/test-memset.c: Support bzero test if TEST_BZERO is
8286         defined.
8287         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8288         __libc_memmove.
8289         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8290         __libc_memset.
8291         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8292         of memset.
8293
8294 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8295
8296         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8297         * configure: Regenerated.
8298
8299         * Makeconfig (+link-static-before-libc): Don't include
8300         $(link-static-libc).
8301
8302         * libio/libio.h (_IO_pos_t): Remove.
8303
8304 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8305
8306         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8307         McGrath.
8308
8309 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8310
8311         * crypt/crypt-entry.c: Include fips-private.h.
8312         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8313         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8314         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8315         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8316
8317 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8318
8319         * crypt/crypt-private.h: Include stdbool.h.
8320         (_ufc_setup_salt_r): Return bool.
8321         * crypt/crypt-entry.c: Include errno.h.
8322         (__crypt_r): Return NULL with EINVAL for bad salt.
8323         * crypt/crypt_util.c (bad_for_salt): New.
8324         (_ufc_setup_salt_r): Check that salt is long enough and within
8325         the specified alphabet.
8326         * crypt/badsalttest.c: New file.
8327         * crypt/Makefile (tests): Add it.
8328         ($(objpfx)badsalttest): New.
8329
8330 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8331
8332         * NEWS: Add entry for BZ #14602.
8333
8334 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8335
8336         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8337         type-generic.
8338         * math/libm-test.inc: Update comment listing what functions and
8339         macros are tested.
8340         (isgreater_test): New function.
8341         (isgreaterequal_test): Likewise.
8342         (isless_test): Likewise.
8343         (islessequal_test): Likewise.
8344         (islessgreater_test): Likewise.
8345         (isunordered_test): Likewise.
8346         (main): Call the new functions.
8347
8348 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8349
8350         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8351         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8352         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8353         * sysdeps/i386/configure: Regenerated.
8354         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8355         * sysdeps/mach/configure: Regenerated.
8356         * sysdeps/mach/hurd/configure: Regenerated.
8357         * sysdeps/powerpc/configure: Regenerated.
8358         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8359         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8360         * sysdeps/s390/s390-32/configure: Regenerated.
8361         * sysdeps/s390/s390-64/configure: Regenerated.
8362         * sysdeps/sh/configure: Regenerated.
8363         * sysdeps/sparc/configure: Regenerated.
8364         * sysdeps/unix/sysv/linux/configure: Regenerated.
8365         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8366         * sysdeps/x86_64/configure: Regenerated.
8367
8368         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8369         defined.  Don't check if MAP is NULL.
8370
8371 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8372
8373         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8374         (_G_stat64): Likewise.
8375         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8376         (_G_stat64): Likewise.
8377         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8378         instead of struct _G_stat64.
8379         * libio/fileops.c (mmap_remap_check): Likewise.
8380         (decide_maybe_mmap): Likewise.
8381         (_IO_new_file_seekoff): Likewise.
8382         (_IO_file_stat): Likewise.
8383         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8384         _G_off64_t.
8385         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8386         instead of struct _G_stat64.
8387         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8388
8389 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8390
8391         [BZ #14602]
8392         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8393         Replace with ...
8394         (CHECK_EOL): New macro.
8395         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8396         CHECK_EOL.
8397         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8398         Replace with CHECK_EOL.
8399         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8400         Replace with CHECK_EOL.
8401
8402 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8403
8404         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8405         type-generic.
8406         * math/libm-test.inc: Update comment listing what functions and
8407         macros are tested.
8408         (finite_test): New function.
8409         (isinf_test): Likewise.
8410         (isnan_test): Likewise.
8411         (fpclassify_test): Test subnormal input.
8412         (isfinite_test): Likewise.
8413         (isnormal_test): Likewise.
8414         (main): Call the new functions.
8415
8416 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8417
8418         [BZ #14660]
8419         * Makerules (%.dynsym): Force C locale when running
8420         $(OBJDUMP) --dynamic-syms.
8421
8422 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8423
8424         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8425         <stdint.h>.
8426
8427 2012-10-06  David S. Miller  <davem@davemloft.net>
8428
8429         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8430         upper 32-bits of the length value in %o2 since we use branch-on-register
8431         tests which consider the entire 64-bit register.
8432
8433 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8434
8435         * string/test-strstr.c (check2): Add a test for page boundary.
8436
8437 2012-10-05  David S. Miller  <davem@davemloft.net>
8438
8439         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8440         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8441         file.
8442         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8443         sysdep_routines.
8444         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8445         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8446         and bzero when HWCAP_SPARC_CRYPTO is present.
8447
8448 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
8449
8450         [BZ #14602]
8451         * string/test-strstr.c (check2): New function.
8452         (test_main): Call check2.
8453
8454         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8455         and bug-strchr1.
8456         * string/bug-strcasestr1.c (do_test): Moved to ...
8457         * string/test-strcasestr.c (check1): Here.  New function.
8458         (do_one_test): Break out result checking code into ...
8459         (check_result): This.  New function.
8460         (do_one_test): Call check_result.
8461         (test_main): Call check1.
8462         * string/bug-strchr1.c (do_test): Moved to ...
8463         * string/test-strchr.c (check1): Here.  New function.
8464         (do_one_test): Break out result checking code into ...
8465         (check_result): This.  New function.
8466         (do_one_test): Call check_result.
8467         (test_main): Call check1.
8468         * string/bug-strstr1.c (main): Moved to ...
8469         * string/test-strstr.c (check1): Here.  New function.
8470         (do_one_test): Break out result checking code into ...
8471         (check_result): This.  New function.
8472         (do_one_test): Call check_result.
8473         (test_main): Call check1.
8474         * string/bug-strcasestr1.c: Removed.
8475         * string/bug-strchr1.c: Likewise.
8476         * string/bug-strstr1.c: Likewise.
8477
8478         * elf/Makefile (dl-routines): Add hwcaps.
8479         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8480         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8481         (_dl_important_hwcaps): Moved to ...
8482         * elf/dl-hwcaps.c: Here.  New file.
8483         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8484
8485         [BZ #14557]
8486         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8487         if IS_IN_rtld isn't defined.
8488
8489         * elf/dl-support.c (_dl_sysinfo_map): New.
8490         Include "get-dynamic-info.h" and "setup-vdso.h".
8491         (_dl_non_dynamic_init): Call setup_vdso.
8492         * elf/dynamic-link.h: Don't include <assert.h>.
8493         (elf_get_dynamic_info): Moved to ...
8494         * elf/get-dynamic-info.h: Here.  New file.
8495         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8496         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8497         * elf/setup-vdso.h: Here.  New file.
8498         * elf/rtld.c: Include "setup-vdso.h".
8499         (dl_main): Call setup_vdso.
8500
8501 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8502
8503         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8504         creal in comment listing functions tested.  List finite, isinf,
8505         isnan, isless, islessequal, isgreater, isgreaterequal,
8506         islessgreater, isunordered, lgamma_r and pow10 as functions and
8507         macros not tested.  Mention which functions not tested are aliases
8508         for other functions.  Fix typo.  Note that signs of NaNs are not
8509         tested.
8510
8511         * scripts/config.guess: Update from config.git.
8512         * scripts/config.sub: Likewise.
8513
8514 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8515
8516         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8517         * misc/madvise.c (madvise): Renamed to __madvise.
8518         Make madvise a weak alias.
8519         * include/sys/mman.h: Declare __madvise.
8520         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8521         * sysdeps/unix/syscalls.list
8522         (madvise): Make __madvise the strong name, and madvise a weak alias.
8523         * sysdeps/unix/sysv/linux/syscalls.list
8524         (madvise, mmap): Remove redundant entries.
8525         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8526         * malloc/malloc.c (mtrim): Likewise.
8527         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8528
8529 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8530
8531         * sysdeps/mach/hurd/dl-cache.c: File removed.
8532         * config.h.in (USE_LDCONFIG): New #undef.
8533         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8534         * configure: Regenerated.
8535         * elf/Makefile (dl-routines): Add dl-cache only under
8536         [$(use-ldconfig) = yes].
8537         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8538         cache on [USE_LDCONFIG].
8539         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8540         [USE_LDCONFIG].
8541         * elf/rtld.c (dl_main): Likewise.
8542
8543 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8544
8545         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8546         _SC_LEVEL4_CACHE_LINESIZE.
8547
8548 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8549
8550         * sysdeps/unix/bsd/confstr.h: File removed.
8551
8552 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8553
8554         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8555         sys/sdt-config.h.
8556
8557 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8558
8559         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8560         Make 'mapoff' field ElfW(Off) rather than off_t.
8561
8562 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8563
8564         * nscd/Makefile: Remove nscd-cflags and all its users.
8565         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8566         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8567
8568         [BZ #10631]
8569         * malloc.c (malloc_printerr): Clarify error message.
8570
8571 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8572
8573         [BZ #14648]
8574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8575         Set bit_FMA_Usable if FMA is supported.
8576         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8577         macro.
8578         (bit_FMA4_Usable): Updated.
8579         (index_FMA_Usable): New macro.
8580         (CPUID_FMA): Likewise
8581         (HAS_FMA): Defined with bit_FMA_Usable.
8582
8583 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8584
8585         * bits/types.h (__swblk_t): Type removed.
8586         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8587         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8589         (__SWBLK_T_TYPE): Likewise.
8590         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8591         (__SWBLK_T_TYPE): Likewise.
8592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8593         (__SWBLK_T_TYPE): Likewise.
8594         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8595         (__SWBLK_T_TYPE): Likewise.
8596
8597 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8598             Honza Horak <hhorak@redhat.com>
8599
8600         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8601         (xdr_mapname): Use YPMAXMAP as maxsize.
8602         (xdr_peername): Use YPMAXPEER as maxsize.
8603         (xdr_keydat): Use YPAXRECORD as maxsize.
8604         (xdr_valdat): Use YPMAXRECORD as maxsize.
8605
8606 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8607
8608         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8609
8610         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8611         * csu/init-first.c: ... here.
8612         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8613         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8615         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8616         * sysdeps/i386/init-first.c: File removed.
8617         * sysdeps/sh/init-first.c: File removed.
8618
8619 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8620
8621         [BZ #14645]
8622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8623         if x * y might underflow to zero and z is zero.
8624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8625         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8626         * math/libm-test.inc (min_subnorm_value): New variable.
8627         (fma_test): Add more tests.
8628         (fma_test_towardzero): Likewise.
8629         (fma_test_downward): Likewise
8630         (fma_test_upward): Likewise.
8631         (initialize): Set min_subnorm_value.
8632
8633 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8634
8635         [BZ #14638]
8636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8637         0 + 0.
8638         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8639         mode for addition resulting in exact zero.
8640         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8641         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8642         exact 0 + 0.
8643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8644         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8645         * math/libm-test.inc (fma_test): Add more tests.
8646         (fma_test_towardzero): New function.
8647         (fma_test_downward): Likewise.
8648         (fma_test_upward): Likewise.
8649         (main): Call the new functions.
8650
8651 2012-09-28  David S. Miller  <davem@davemloft.net>
8652
8653         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8654
8655 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8656
8657         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8658         instead of SIGALRM.
8659
8660         * sysdeps/gnu/_G_config.h: Moved to ...
8661         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8662         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8663         * sysdeps/generic/_G_config.h: ... here.
8664
8665         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8666
8667         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8668
8669         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8670         Conditionalize target on [libnss_test1.so-version].
8671
8672         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8673
8674         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8675         (elfobjdir): Move out of conditionals.
8676
8677         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8678         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8679         (__nss_lookup_function): Conditionalize label remove_from_tree on
8680         [!DO_STATIC_NSS || SHARED], matching its only use.
8681
8682 2012-09-28  David S. Miller  <davem@davemloft.net>
8683
8684         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8685         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8686         file.
8687         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8688         sysdep_routines.
8689         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8690         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8691         when HWCAP_SPARC_CRYPTO is present.
8692
8693 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8694
8695         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8696
8697 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8698
8699         [BZ #6530]
8700         * stdio-common/vfprintf.c (process_string_arg): Revert
8701         2000-07-22 change.
8702
8703 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8704
8705         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8706         for testcase.
8707         * stdio-common/tst-sprintf.c: Include <locale.h>
8708         (main): Test sprintf's handling of incomplete multibyte
8709         characters.
8710
8711 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8712
8713         * elf/dl-runtime.c (VERSYMIDX): Removed.
8714         * elf/dl-version.c (VERSYMIDX): Likewise.
8715         * elf/do-rel.h (VERSYMIDX): Likewise.
8716         (VALIDX): Likewise.
8717         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8718         * elf/rtld.c (VALIDX): Likewise.
8719         (ADDRIDX): Likewise.
8720         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8721         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8722         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8723         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8724         (VALIDX): Likewise.
8725         (ADDRIDX): Likewise.
8726
8727 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8728
8729         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8730
8731 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8732
8733         [BZ #11438]
8734         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8735         to global scope.
8736         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8737         addresses are in the same scope as 192.0.2/24.
8738         * posix/gai.conf: Document new scope table defaults.
8739
8740 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8741
8742         [BZ #5298]
8743         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8744         for ftell.  Compute offsets from write pointers instead.
8745         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8746
8747 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8748
8749         [BZ #14543]
8750         * libio/Makefile (tests): New test case tst-fseek.
8751         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8752         combination works in wide mode.
8753         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8754         state when the external buffer state changes.
8755
8756 2012-09-27  David S. Miller  <davem@davemloft.net>
8757
8758         [BZ #14376]
8759         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8760         pass reloc->r_addend in as the 'high' argument to
8761         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8762
8763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8764
8765 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8766
8767         * rt/tst-aio2.c: Include <pthread.h>.
8768         * rt/tst-aio3.c: Likewise.
8769
8770 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8771
8772         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8773
8774 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8775
8776         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8777         contents on [SHARED].
8778
8779 2012-09-26  Marek Polacek  <polacek@redhat.com>
8780
8781         [BZ #14530]
8782         [BZ #13741]
8783         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8784         for C++ and GCC <4.3 as well as for non GCC compilers.
8785
8786 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8787
8788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8789
8790 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8791
8792         * Makefile.in (all, install): Declare with .PHONY.
8793         Reported by Michael Hope <michael.hope@linaro.org>.
8794
8795 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8796
8797         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8798         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8799         system header.
8800         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8801         Likewise.
8802         (sydep_routines): Add the new and the internal functions.
8803         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8804         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8806         (GLIBC_2.17): Add the new function.
8807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8808         (GLIBC_2.17): Likewise.
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8810         (GLIBC_2.17): Likewise.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8812         (GLIBC_2.17): Likewise.
8813         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8814
8815 2012-09-25  Alan Modra  <amodra@gmail.com>
8816
8817         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8818         Add release barrier before setting once_control to say
8819         initialisation is done.  Add hints on lwarx.  Use macro in
8820         place of isync.
8821         (clear_once_control): Add release barrier.
8822
8823 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8824
8825         [BZ #13629]
8826         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8827         specially.
8828         * math/s_clog10.c (__clog10): Likewise.
8829         * math/s_clog10f.c (__clog10f): Likewise.
8830         * math/s_clog10l.c (__clog10l): Likewise.
8831         * math/s_clogf.c (__clogf): Likewise.
8832         * math/s_clogl.c (__clogl): Likewise.
8833         * math/Makefile (libm-calls): Add x2y2m1.
8834         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8835         (__x2y2m1): Likewise.
8836         (__x2y2m1l): Likewise.
8837         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8838         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8839         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8840         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8841         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8842         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8843         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8844         * sysdeps/i386/fpu/libm-test-ulps: Update.
8845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8846
8847         [BZ #14621]
8848         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8849         int as type of variable DEPTH.
8850         (glob): Use size_t instead of int as type of variables NEWCOUNT
8851         and OLD_PATHC.
8852
8853 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8854
8855         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8856         Add s_sincosf-sse2.
8857         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8858         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8859         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8860         macros for using routine as __sincosf_ia32.
8861         Use macro for function declaration and weak_alias.
8862         * sysdeps/i386/fpu/libm-test-ulps: Update.
8863
8864         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8866
8867         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8868         subnormal argument.
8869         * math/s_cexpf.c (__cexpf): Likewise.
8870         * math/s_csinf.c (__csinf): Likewise.
8871         * math/s_csinhf.c (__csinhf): Likewise.
8872         * math/s_ctanf.c (__ctanf): Likewise.
8873         * math/s_ctanhf.c (__ctanhf): Likewise.
8874         * math/s_ccosh.c (__ccoshf): Likewise.
8875         * math/s_cexp.c (__cexpl): Likewise.
8876         * math/s_csin.c (__csin): Likewise.
8877         * math/s_csinh.c (__csinh): Likewise.
8878         * math/s_ctan.c (__ctan): Likewise.
8879         * math/s_ctanh.c (ctanh): Likewise.
8880         * math/s_ccoshl.c (__ccoshl): Likewise.
8881         * math/s_cexpl.c (__cexpl): Likewise.
8882         * math/s_csinl.c (__csinl): Likewise.
8883         * math/s_csinhl.c (__csinhl): Likewise.
8884         * math/s_ctanl.c (__ctanl): Likewise.
8885         * math/s_ctanhl.c (__ctanhl): Likewise.
8886
8887 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8888
8889         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8890         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8891         (_IO_off_t): Define to __off_t, not _G_off_t.
8892         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8893         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8894         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8895         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8896         type of __dummy and __dummy2 fields.
8897         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8898         (_G_ssize_t): Likewise.
8899         (_G_off_t): Likewise.
8900         (_G_pid_t): Likewise.
8901         (_G_uid_t): Likewise.
8902         (_G_wchar_t): Likewise.
8903         (_G_wint_t): Likewise.
8904         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8905         (_G_ssize_t): Likewise.
8906         (_G_off_t): Likewise.
8907         (_G_pid_t): Likewise.
8908         (_G_uid_t): Likewise.
8909         (_G_wchar_t): Likewise.
8910         (_G_wint_t): Likewise.
8911         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8912         (_G_ssize_t): Likewise.
8913         (_G_off_t): Likewise.
8914         (_G_pid_t): Likewise.
8915         (_G_uid_t): Likewise.
8916         (_G_wchar_t): Likewise.
8917         (_G_wint_t): Likewise.
8918
8919 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8920
8921         * malloc/arena.c: Include malloc-sysdep.h.
8922         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8923         is sufficient to shrink the heap or an unmap is needed.
8924         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8925         new function check_may_shrink_heap.
8926         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8927         new function check_may_shrink_heap.
8928
8929 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8930
8931         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8932         comments.
8933
8934 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8935
8936         * catgets/test-gencat.sh: Add "set -e".
8937         * elf/tst-pathopt.sh: Likewise.
8938         * grp/tst_fgetgrent.sh: Likewise.
8939         * iconvdata/run-iconv-test.sh: Likewise.
8940         * intl/tst-gettext.sh: Likewise.
8941         * intl/tst-gettext2.sh: Likewise.
8942         * intl/tst-gettext4.sh: Likewise.
8943         * intl/tst-gettext6.sh: Likewise.
8944         * intl/tst-translit.sh: Likewise.
8945         * io/ftwtest-sh: Likewise.
8946         * libio/test-freopen.sh: Likewise.
8947         * malloc/tst-mtrace.sh: Likewise.
8948         * posix/globtest.sh: Likewise.
8949         * posix/tst-getconf.sh: Likewise.
8950         * posix/wordexp-tst.sh: Likewise.
8951         * stdio-common/tst-printf.sh: Likewise.
8952         * stdio-common/tst-unbputc.sh: Likewise.
8953         * stdlib/tst-fmtmsg.sh: Likewise.
8954         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8955         * catgets/Makefile: Do not specify -e option when running
8956         testsuite shell scripts.
8957         * elf/Makefile: Likewise.
8958         * grp/Makefile: Likewise.
8959         * iconvdata/Makefile: Likewise.
8960         * intl/Makefile: Likewise.
8961         * io/Makefile: Likewise.
8962         * libio/Makefile: Likewise.
8963         * malloc/Makefile: Likewise.
8964         * posix/Makefile: Likewise.
8965         * stdio-common/Makefile: Likewise.
8966         * stdlib/Makefile: Likewise.
8967         * sysdeps/x86_64/Makefile: Likewise.
8968
8969         * io/ftwtest-sh: Add copyright header.
8970         * posix/globtest.sh: Likewise.
8971         * posix/tst-getconf.sh: Likewise.
8972         * posix/wordexp-tst.sh: Likewise.
8973         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8974
8975 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8976
8977         [BZ #13679]
8978         * Makeconfig (+link): Defined as $(+link-static) if
8979         $(build-shared) isn't yes.
8980         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8981         isn't yes.
8982         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8983
8984         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8985
8986         [BZ #14562]
8987         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8988         new chunk size with MALLOC_ALIGN_MASK.
8989
8990 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8991
8992         [BZ #5044]
8993         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8994         <rounding-mode.h>.
8995         (__printf_fphex): Determine rounding using get_rounding_mode and
8996         round_away.
8997         * stdio-common/tst-printf-round.c (struct hex_test): New
8998         structure.
8999         (hex_tests): New variable.
9000         (test_hex_in_one_mode): New function.
9001         (do_test): Also run tests for hex float output.
9002
9003 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
9004
9005         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9006         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9007         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9008         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9009         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9010         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9011         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9012         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9013
9014 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
9015
9016         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9017         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9018         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9019         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9020
9021 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
9022
9023         [BZ #14579]
9024         * elf/rtld.c (dl_main): Limit the check for self loading to normal
9025         mode only.
9026         * elf/tst-rtld-load-self.sh: New test.
9027         * elf/Makefile: Run it.
9028
9029 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
9030
9031         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9032         (tst-writev-ENV): Remove.
9033         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9034
9035 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
9036
9037         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9038
9039 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
9040
9041         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9042         unconditional.
9043         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9044         Likewise.
9045         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9046         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9047         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9048         Likewise.
9049
9050 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9051
9052         [BZ #14587]
9053         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9054         * config.make.in (have-cpp-asm-debuginfo): Removed.
9055         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9056         * configure: Regenerated.
9057
9058 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
9059
9060         [BZ #5044]
9061         * stdio-common/printf_fp.c: Include <stdbool.h> and
9062         <rounding-mode.h>.
9063         (___printf_fp): Determine rounding using get_rounding_mode and
9064         round_away.
9065         * stdio-common/tst-printf-round.c: New file.
9066         * stdio-common/Makefile (tests): Add tst-printf-round.
9067         (link-libm): New variable.
9068         ($(objpfx)tst-printf-round): Depend in $(link-libm).
9069
9070 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
9071
9072         [BZ #14576]
9073         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9074         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9075         Likewise.
9076         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9077         Likewise.
9078
9079 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
9080
9081         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9082         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9083         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9084         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9085
9086 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
9087
9088         [BZ #14518]
9089         * include/rounding-mode.h: New file.
9090         * sysdeps/generic/get-rounding-mode.h: Likewise.
9091         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9092         * stdlib/strtod_l.c: Include <rounding-mode.h>.
9093         (MAX_VALUE): New macro.
9094         (MIN_VALUE): Likewise.
9095         (overflow_value): New function.
9096         (underflow_value): Likewise.
9097         (round_and_return): Use overflow_value and underflow_value to
9098         determine return values in overflow and underflow cases.  Use
9099         round_away to determine rounding depending on rounding mode.
9100         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9101         determine return values in overflow and underflow cases.
9102         * stdlib/tst-strtod-round.c: Include <fenv.h>.
9103         (struct test_results): New structure.
9104         (struct test): Use struct test_results to store expected results
9105         for all rounding modes.
9106         (TEST): Include expected results for all rounding modes.
9107         (test_in_one_mode): New function.
9108         (do_test): Use test_in_one_mode to compute and check results.
9109         Check results for all rounding modes.
9110         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9111         $(link-libm).
9112
9113 2012-12-09  Allan McRae  <allan@archlinux.org>
9114
9115         * sysdeps/i386/fpu/libm-test-ulps: Update
9116
9117 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
9118
9119         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9120         (_G_int32_t): Likewise.
9121         (_G_uint16_t): Likewise.
9122         (_G_uint32_t): Likewise.
9123         (_G_HAVE_BOOL): Likewise.
9124         (_G_HAVE_ATEXIT): Likewise.
9125         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9126         (_G_HAVE_IO_FILE_OPEN): Likewise.
9127         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9128         (_G_int32_t): Likewise.
9129         (_G_uint16_t): Likewise.
9130         (_G_uint32_t): Likewise.
9131         (_G_HAVE_BOOL): Likewise.
9132         (_G_HAVE_ATEXIT): Likewise.
9133         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9134         (_G_HAVE_IO_FILE_OPEN): Likewise.
9135         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9136         (_G_int32_t): Likewise.
9137         (_G_uint16_t): Likewise.
9138         (_G_uint32_t): Likewise.
9139         (_G_HAVE_BOOL): Likewise.
9140         (_G_HAVE_ATEXIT): Likewise.
9141         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9142         (_G_HAVE_IO_FILE_OPEN): Likewise.
9143
9144 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
9145
9146         * csu/libc-tls.c: Update copyright years.
9147
9148 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
9149
9150         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9151         [!_G_USING_THUNKS]: Remove conditional code.
9152         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9153         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9154
9155         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9156         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9157         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9158         (_G_VTABLE_LABEL_PREFIX): Likewise.
9159         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9160         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9161         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9162         (_G_VTABLE_LABEL_PREFIX): Likewise.
9163         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9164         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9165         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9166         (_G_VTABLE_LABEL_PREFIX): Likewise.
9167         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9168
9169 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9170
9171         * libio/Makefile: Include ../Makeconfig before tests.
9172         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9173         only if $(build-shared) is yes.
9174
9175         * iconv/gconv_db.c: Update copyright years.
9176
9177 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9178
9179         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9180         unwind info if defined PIC. Fix special cases description.
9181         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9182
9183         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9184         DP_HI_MASK entry.
9185         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9186
9187 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9188
9189         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9190
9191         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9192         is NULL.
9193
9194         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9195         (LDLIBS-tst-chk4): This.
9196         (LDFLAGS-tst-chk5): Renamed to ...
9197         (LDLIBS-tst-chk5): This.
9198         (LDFLAGS-tst-chk6): Renamed to ...
9199         (LDLIBS-tst-chk6): This.
9200         (LDFLAGS-tst-lfschk4): Renamed to ...
9201         (LDLIBS-tst-lfschk4): This.
9202         (LDFLAGS-tst-lfschk5): Renamed to ...
9203         (LDLIBS-tst-lfschk5): This.
9204         (LDFLAGS-tst-lfschk6): Renamed to ...
9205         (LDLIBS-tst-lfschk6): This.
9206
9207         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9208         on $(common-objpfx)soversions.mk.
9209
9210 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9211
9212         [BZ #10014]
9213         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9214         example host name.
9215
9216 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9217
9218         * malloc/arena.c (arena_get_retry): New function that gets
9219         another arena for the caller to try its request on.
9220         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9221         current arena cannot fulfill the request.
9222         (__libc_memalign): Likewise.
9223         (__libc_memalign): Likewise.
9224         (__libc_pvalloc): Likewise.
9225         (__libc_calloc): Likewise.
9226
9227 2012-09-05  John Tobey  <john.tobey@gmail.com>
9228
9229         [BZ #13542]
9230         * manual/arith.texi (Operations on Complex): Fix description
9231         of carg branch cut.
9232
9233 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9234
9235         [BZ #10014]
9236         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9237         host name.
9238
9239         [BZ #10038]
9240         * manual/memory.texi (Memory): Make order of menu items match
9241         order of sections.
9242
9243 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9244
9245         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9246         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9247         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9248
9249 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9250
9251         * csu/libc-tls.c (static_dtv): Renamed to ...
9252         (_dl_static_dtv): This.  Make it global.
9253         (_dl_initial_dtv): Removed.
9254         (__libc_setup_tls): Updated.
9255         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9256         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9257         DL_INITIAL_DTV.
9258
9259 2012-09-06  Petr Machata  <pmachata@redhat.com>
9260
9261         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9262         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9263         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9264         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9265
9266 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9267
9268         [BZ #14545]
9269         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9270         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9271         freeing dtv[-1].
9272
9273 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9274
9275         [BZ #14544]
9276         * Makeconfig (link-static-before-libc): Replace $(+prector)
9277         with $(+prectorT).
9278         (link-static-after-libc): Replace $(+postctor) with
9279         $(+postctorT).
9280         (link-bounded): Replace $(+prector)/$(+postctor) with
9281         $(+prectorT)/$(+postctorT).
9282         (+prectorT): New macro.
9283         (+postctorT): Likewise.
9284
9285 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9286
9287         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9288         (round_str): Handle values above the maximum for IBM long double
9289         as inexact.
9290         * stdlib/tst-strtod-round.c (tests): Regenerated.
9291
9292 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9293
9294         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9295         assembler flag.
9296         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9297         zarch_nohighgprs around the zarch optimized routines.
9298         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9299         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9300         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9301         for zarch.
9302
9303 2012-09-05  David S. Miller  <davem@davemloft.net>
9304
9305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9306
9307         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9308         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9309         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9310         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9311         entries.
9312
9313 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9314
9315         * malloc/arena.c: Fold copyright years.
9316         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9317
9318 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9319
9320         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9321
9322 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9323
9324         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9325
9326 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9327
9328         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9329         change internal state upon failure.
9330
9331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9332
9333         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9334         * malloc/memusage.c (mmap): Likewise.
9335         (mmap64, mremap): Likewise.  Adjust name in comment.
9336
9337 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9338
9339         * libio/fileops.c: Fix typos in comments.
9340         * libio/oldfileops.c: Likewise.
9341         * libio/wfileops.c: Likewise.
9342
9343 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9344
9345         [BZ #1349]
9346         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9347         (tst-malloc-usable-ENV): Set environment for test case.
9348         * malloc/hooks.c (malloc_check_get_size): New function to get
9349         requested size.
9350         * malloc/malloc.c (musable): Use malloc_check_get_size.
9351         * malloc/tst-malloc-usable.c: New test case.
9352
9353 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9354
9355         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9356
9357 2012-09-05  Allan McRae  <allan@archlinux.org>
9358
9359         [BZ #13966]
9360         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9361         determine header location.
9362         * configure: Regenerated.
9363
9364 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9365
9366         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9367         float format.
9368         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9369         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9370         format.
9371         (test): Regenerate.
9372
9373 2012-09-04  David S. Miller  <davem@davemloft.net>
9374
9375         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9376         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9377         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9378
9379 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9380
9381         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9382         failures.
9383
9384         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9385
9386 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9387
9388         [BZ #9914]
9389         * libio/iogetdelim.c: Include <limits.h>.
9390         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9391         + len + 1 would overflow.
9392
9393 2012-09-03  Andreas Jaeger  <aj@suse.de>
9394
9395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9396         * sysdeps/i386/fpu/libm-test-ulps: Update.
9397
9398 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9399
9400         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9401         Add s_sinf-sse2, s_conf-sse2.
9402
9403         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9404         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9405         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9406         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9407
9408         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9409         for using routine as __sinf_ia32.
9410         Use macro for function declaration and weak_alias.
9411         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9412         for using routine as __cosf_ia32.
9413         Use macro for function declaration and weak_alias.
9414
9415         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9416         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9417
9418         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9419         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9421
9422         * math/libm-test.inc (cos_test): Add more test cases.
9423         (sin_test): Likewise.
9424         (sincos_test): Likewise.
9425
9426 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9427
9428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9429         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9430         hidden.
9431         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9432
9433 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9434
9435         [BZ #14538]
9436         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9437         first element of the GOT.
9438         (elf_machine_load_address): Return the difference between
9439         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9440
9441 2012-09-01  Allan McRae  <allan@archlinux.org>
9442
9443         [BZ #13412]
9444         * configure.in (AWK): Require gawk version 3.0 or later.
9445         * configure: Regenerated.
9446
9447 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
9448
9449         * sysdeps/unix/sysv/linux/kernel-features.h
9450         (__ASSUME_POSIX_CPU_TIMERS): Remove.
9451         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9452         [__NR_clock_getres]: Make code unconditional.
9453         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9454         (clock_getcpuclockid): Remove code left unreachable by removal of
9455         conditionals.
9456         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9457         code unconditional.
9458         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9459         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9460         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9461         Make code unconditional.
9462         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9463         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9464         * sysdeps/unix/sysv/linux/clock_settime.c
9465         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9466         conditional code.
9467         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9468         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9469
9470 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9471
9472         [BZ #14476]
9473         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9474         scripts/test-installation.pl.
9475
9476         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9477         and $ld_so_version if it is set.
9478
9479 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9480
9481         [BZ #14516]
9482         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9483         failure if reading from procfs failed.
9484         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9485
9486 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9487
9488         * sysdeps/unix/sysv/linux/kernel-features.h
9489         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9490         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9491         Remove conditional code.
9492         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9493         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9494         Remove conditional code.
9495         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9496         * sysdeps/unix/sysv/linux/i386/fxstat.c
9497         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9498         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9499         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9500         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9501         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9502         * sysdeps/unix/sysv/linux/i386/lxstat.c
9503         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9505         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9506         Remove conditional code.
9507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9508         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9509         Remove conditional code.
9510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9511         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9512         <kernel-features.h>.
9513         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9514         Remove.
9515         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9516         Remove conditional code.
9517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9518         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9519         Remove conditional.
9520
9521 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9522
9523         [BZ #5400]
9524         * NEWS: Add fixed bug number.
9525
9526 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9527
9528         [BZ #14519]
9529         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9530         underflowing exponent in case of negative sign.
9531         * stdlib/tst-strtod-round-data: Add more tests.
9532         * stdlib/tst-strtod-round.c (tests): Regenerated.
9533
9534         [BZ #3479]
9535         * stdlib/strtod_l.c (NDIG): Remove.
9536         (HEXNDIG): Likewise.
9537         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9538         smallest representable value.
9539         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9540         lie within an exact representation of 1/2 ulp of the result.
9541         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9542         unconditionally.
9543         (TENS_P9_IDX): Define unconditionally.
9544         (TENS_P9_SIZE): Likewise.
9545         (TENS_P10_IDX): Likewise.
9546         (TENS_P10_SIZE): Likewise.
9547         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9548         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9549         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9550         entries for 10^2^13 and 10^2^14.
9551         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9552         (TENS_P13_IDX): Define.
9553         (TENS_P13_SIZE): Likewise.
9554         (TENS_P14_IDX): Likewise.
9555         (TENS_P14_SIZE): Likewise.
9556         (_fpioconst_pow10): Change array size to
9557         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9558         unconditional.
9559         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9560         1024]: Add entries for 10^2^13 and 10^2^14.
9561         [LAST_POW10 > _LAST_POW10]: Remove #error.
9562         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9563         (_fpioconst_pow10): Change array size to
9564         FPIOCONST_POW10_ARRAY_SIZE.
9565         * stdlib/gen-fpioconst.c: New file.
9566         * stdlib/gen-tst-strtod-round.c: Likewise.
9567         * stdlib/tst-strtod-round-data: Likewise.
9568         * stdlib/tst-strtod-round.c: Likewise.
9569         * stdlib/Makefile (tests): Add tst-strtod-round.
9570
9571         [BZ #14459]
9572         * stdlib/strtod_l.c: Include <stdint.h>.
9573         (NDEBUG): Do not define.
9574         (round_and_return): Change EXPONENT parameter to type intmax_t.
9575         Rearrange calculations to avoid internal overflow possibilities.
9576         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9577         Rearrange calculations to avoid internal overflow possibilities.
9578         Assert that number fits inside MPNSIZE limbs.
9579         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9580         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9581         calculations and add assertions to avoid internal overflow
9582         possibilities.  Add casts to avoid signed/unsigned operations.
9583         * stdlib/tst-strtod-overflow.c: New file.
9584         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9585
9586 2012-08-25  Marek Polacek  <polacek@redhat.com>
9587
9588         * time/time.h: Fix some typos in comments.
9589
9590 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9591
9592         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9593         * posix/tst-rfc3484-2.c: Likewise.
9594         * posix/tst-rfc3484-3.c: Likewise.
9595
9596 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9597
9598         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9599         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9600
9601 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9602
9603         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9604         #include of fxstatat64.c.
9605
9606 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9607
9608         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9609         * shadow/getspent_r.c: Likewise.
9610         * shadow/getspnam.c: Likewise.
9611         * shadow/getspnam_r.c: Likewise.
9612         * gshadow/getsgent.c: Likewise.
9613         * gshadow/getsgent_r.c: Likewise.
9614         * gshadow/getsgnam.c: Likewise.
9615         * gshadow/getsgnam_r.c: Likewise.
9616         * inet/getnetbyad.c: Likewise.
9617         * inet/getnetbyad_r.c: Likewise.
9618         * inet/getnetbynm.c: Likewise.
9619         * inet/getnetbynm_r.c: Likewise.
9620         * inet/getnetent.c: Likewise.
9621         * inet/getnetent_r.c: Likewise.
9622         * inet/getproto.c: Likewise.
9623         * inet/getproto_r.c: Likewise.
9624         * inet/getprtent.c: Likewise.
9625         * inet/getprtent_r.c: Likewise.
9626         * inet/getprtname.c: Likewise.
9627         * inet/getprtname_r.c: Likewise.
9628         * inet/getrpcbyname.c: Likewise.
9629         * inet/getrpcbyname_r.c: Likewise.
9630         * inet/getrpcbynumber.c: Likewise.
9631         * inet/getrpcbynumber_r.c: Likewise.
9632         * inet/getrpcent.c: Likewise.
9633         * inet/getrpcent_r.c: Likewise.
9634         * inet/getaliasent.c: Likewise.
9635         * inet/getaliasent_r.c: Likewise.
9636         * inet/getaliasname.c: Likewise.
9637         * inet/getaliasname_r.c: Likewise.
9638         * nscd/getgrgid_r.c: Likewise.
9639         * nscd/getgrnam_r.c: Likewise.
9640         * nscd/gethstbyad_r.c: Likewise.
9641         * nscd/gethstbynm3_r.c: Likewise.
9642         * nscd/getpwnam_r.c: Likewise.
9643         * nscd/getpwuid_r.c: Likewise.
9644         * nscd/getsrvbynm_r.c: Likewise.
9645         * nscd/getsrvbypt_r.c: Likewise.
9646         * nscd/gai.c: Likewise.
9647
9648         * configure.in (build_nscd): New substituted variable, set
9649         by --disable-build-nscd and defaults to $use_nscd.
9650         * configure: Regenerated.
9651         * config.make.in (build-nscd): New substituted variable.
9652         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9653         Change conditional to require [$(build-nscd) = yes] as well.
9654         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9655
9656         [BZ# 13696]
9657         * configure.in (use_nscd): New substituted variable, set by
9658         --disable-nscd.  If enabled, define USE_NSCD.
9659         * configure: Regenerated.
9660         * config.h.in: Add USE_NSCD.
9661         * config.make.in (use-nscd): New substituted variable.
9662         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9663         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9664         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9665         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9666         (CFLAGS-getgrnam_r.c): Likewise.
9667         (CFLAGS-initgroups.c): Likewise.
9668         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9669         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9670         Variables removed.
9671         * inet/getnetgrent_r.c
9672         (nscd_setnetgrent): New function, broken out of ...
9673         (setnetgrent): ... here.  Call it.
9674         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9675         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9676         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9677         * nscd/Makefile (routines, aux): Move definitions after include of
9678         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9679         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9680         Conditionalize on [USE_NSCD].
9681         (is_nscd, nscd_init_cb): Likewise.
9682         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9683         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9684         * nss/nss_db/db-init.c: Likewise.
9685         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9686         [USE_NSCD].
9687         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9688         (make_request): Use it.
9689         (cache_valid_p): New function.
9690         (__check_pf): Use it.
9691         * NEWS: Add item for --disable-nscd.
9692
9693 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9694
9695         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9696         to support sed >= 4.2.1-20-ga9bf076.
9697         * configure: Regenerated.
9698
9699 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9700
9701         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9702         Conditionalize whole body on [IREL].
9703
9704 2012-08-22  Jeff Law <law@redhat.com>
9705
9706         [BZ #14505]
9707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9708         if the family is PF_UNSPEC.
9709
9710 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9711
9712         * Makerules (lib-version): Rename from V.
9713         (install-lib-nosubdir): Change V to lib-version.
9714
9715 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9716
9717         [BZ #14252]
9718         * powerpc32/power6/wcschr.c: New file.
9719         * powerpc32/power6/wcscpy.c: New file.
9720         * powerpc32/power6/wcsrchr.c: New file.
9721         * powerpc64/power6/wcschr.c: New file.
9722         * powerpc64/power6/wcscpy.c: New file.
9723         * powerpc64/power6/wcsrchr.c: New file.
9724
9725 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9726
9727         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9728         (two_way_short_needle): Use it.
9729         * string/strstr.c (AVAILABLE1_USES_J): Define.
9730         * string/strcasestr.c: Likewise.
9731
9732         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9733         array references.
9734         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9735
9736         [BZ #11607]
9737         * NEWS: Add an entry.
9738         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9739         define their defaults.
9740         (two_way_short_needle): Detect end-of-string on-the-fly.
9741         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9742         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9743         * string/bug-strcasestr1.c: New test.
9744         * string/Makefile: Run it.
9745
9746 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9747
9748         [BZ #11607]
9749         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9750         the first character.
9751
9752 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9753
9754         * csu/elf-init.c (__libc_csu_irel): Function removed.
9755         * csu/libc-start.c (apply_irel): New function.
9756         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9757
9758 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9759
9760         * sysdeps/unix/sysv/linux/kernel-features.h
9761         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9762         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9763         <kernel-features.h>.
9764         [__NR_fadvise64_64]: Make code unconditional.
9765         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9766         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9767         !__NR_fadvise64_64)]: Likewise.
9768         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9769         !__NR_fadvise64_64))]: Likewise.
9770         [__NR_fadvise64]: Make code unconditional.
9771         [!__NR_fadvise64]: Remove conditional code.
9772         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9773         <kernel-features.h>.
9774         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9775         unconditional.
9776         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9777         conditional code.
9778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9779         not include <kernel-features.h>.
9780         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9781         unconditional.
9782         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9783         conditional code.
9784         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9785         include <kernel-features.h>.
9786         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9787         unconditional.
9788         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9789         conditional code.
9790
9791 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9792
9793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9794         slight instruction rearrangements per scrollpipe analysis.
9795         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9796
9797 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9798
9799         * manual/syslog.texi (syslog; vsyslog, closelog):
9800         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9801         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9802
9803         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9804         DSOCAPS to match condition on defining it.
9805
9806 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9807
9808         * sysdeps/unix/sysv/linux/kernel-features.h
9809         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9811         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9812         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9814         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9815         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9817         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9818         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9819
9820         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9821         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9822
9823         * sysdeps/unix/sysv/linux/kernel-features.h
9824         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9825         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9826         unconditional.
9827         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9828         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9829         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9830         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9831         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9832         Make code unconditional.
9833         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9834         (__mmap64) [!__NR_mmap2]: Likewise.
9835         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9836         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9837         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9838         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9839         [__NR_mmap2]: Make code unconditional.
9840         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9841         (__mmap64) [!__NR_mmap2]: Likewise.
9842
9843 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9844
9845         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9846
9847 2012-08-18  Andreas Jaeger  <aj@suse.de>
9848
9849         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9850
9851 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9852
9853         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9854         * include/unistd.h (__have_sock_cloexec): Likewise.
9855         (__have_pipe2): Likewise.
9856         (__have_dup3): Likewise.
9857
9858 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9859
9860         [BZ #9685]
9861         * include/unistd.h (__have_pipe2): Change define into an extern int.
9862         (__have_dup3): Likewise.
9863         * socket/have_sock_cloexec.c: Include fcntl.h.
9864         (__have_pipe2): New variable.
9865         (__have_dup3): Likewise.
9866
9867 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9868
9869         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9870
9871 2012-08-17  Marek Polacek  <polacek@redhat.com>
9872
9873         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9874         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9875
9876 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9877
9878         * configure.in: Add AC_SUBST for sysheaders.
9879         * configure: Regenerated.
9880         * config.make.in (sysheaders): New substituted variable.
9881
9882         * sysdeps/unix/mkfifo.c: Moved ...
9883         * sysdeps/posix/mkfifo.c: ... here.
9884         * sysdeps/unix/mkfifoat.c: Moved ...
9885         * sysdeps/posix/mkfifoat.c: ... here.
9886
9887         * sysdeps/unix/utime.c: Moved ...
9888         * sysdeps/posix/utime.c: ... here.
9889
9890         * sysdeps/unix/time.c: Moved ...
9891         * sysdeps/posix/time.c: ... here.
9892         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9893         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9894
9895         * sysdeps/unix/nice.c: Moved ...
9896         * sysdeps/posix/nice.c: ... here.
9897
9898         * sysdeps/unix/alarm.c: Moved ...
9899         * sysdeps/posix/alarm.c: ... here.
9900
9901         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9902
9903 2012-08-17  Jeff Law <law@redhat.com>
9904
9905         * intl/Makefile (codeset_mo): New variable.
9906         ($(codeset_mo)): New target.
9907         (tst-codeset.out): Depend on that.  Remove explicit rule.
9908         (tst-gettext3.out, tst-gettext5.out): Likewise.
9909         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9910         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9911         * intl/tst-codeset.sh: Remove.
9912         * intl/tst-gettext3.sh: Likewise.
9913         * intl/tst-gettext5.sh: Likewise.
9914
9915 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9916
9917         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9918         * sysdeps/unix/syscalls.list: ... here.
9919
9920         * sysdeps/posix/getaddrinfo.c
9921         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9922         (gaiconf_init, gaiconf_reload): Use them.
9923         [!_STATBUF_ST_NSEC]
9924         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9925         Define using time_t rather than struct timespec.
9926
9927         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9928         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9929         Macros removed.
9930         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9931         [!NO_THREADS].
9932         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9933         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9934         Likewise.
9935
9936         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9937         __libc_cleanup_push argument.
9938
9939         * bits/param.h: New file.
9940         * misc/sys/param.h: New file.
9941         * include/sys/param.h: New file.
9942         * misc/Makefile (headers): Add bits/param.h.
9943         * sysdeps/generic/sys/param.h: File removed.
9944         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9945         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9946         * sysdeps/mach/hurd/bits/param.h: New file.
9947         * sysdeps/mach/hurd/sys/param.h: File removed.
9948
9949         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9950         last change.
9951
9952         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9953         [_IO_MTSAFE_IO].
9954         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9955         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9956         New macros.
9957
9958         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9959         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9960         rather than -D_IO_MTSAFE_IO conditionally.
9961         * stdio-common/Makefile (CPPFLAGS): Likewise.
9962         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9963         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9964         Use $(libio-mtsafe).
9965         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9966         of -D_IO_MTSAFE_IO.
9967         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9968         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9969         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9970         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9971         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9972         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9973         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9974         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9975         (CFLAGS-fread_u_chk.c): Likewise.
9976         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9977         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9978         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9979         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9980         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9981         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9982         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9983         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9984         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9985
9986         * libio/Makefile: Test [$(libc-reentrant) = yes]
9987         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9988
9989         * Makeconfig
9990         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9991         * sysdeps/pthread/configure: File removed.
9992         * sysdeps/pthread/Makeconfig: New file.
9993         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9994         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9995
9996 2012-08-16  Gary Benson  <gbenson@redhat.com>
9997
9998         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9999         unmapping the first object in a namespace.
10000
10001 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10002
10003         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10004         (__internal_setnetgrent): ... this.  Add internal_function to
10005         definition.  Add libc_hidden_def.
10006         (setnetgrent): Update caller.
10007         (internal_endnetgrent): Renamed to ...
10008         (__internal_endnetgrent): ... this.  Add internal_function to
10009         definition.  Add libc_hidden_def.
10010         (endnetgrent): Update caller.
10011         (internal_getnetgrent_r): Renamed to ...
10012         (__internal_getnetgrent_r): ... this.  Add internal_function to
10013         definition.  Add libc_hidden_def.
10014         (__getnetgrent_r): Update caller.
10015         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
10016
10017 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10018
10019         * stdlib/longlong.h: Update from GCC.
10020
10021 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10022
10023         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10024         on _QL, which is set by umul_ppmm but never used.
10025         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10026         variables, which are set by GMP macros but never used.
10027         * stdio-common/_itowa.c (_itowa): Likewise.
10028         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10029         * stdlib/mod_1.c (mpn_mod_1): Likewise.
10030
10031 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
10032
10033         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10034         struct La_sh_regs is not constant.
10035         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10036         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10037         and struct La_sparc64_regs are not constant.
10038
10039 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10040
10041         * sysdeps/unix/sysv/linux/kernel-features.h
10042         (__ASSUME_POSIX_TIMERS): Remove.
10043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10044         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10045         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10046         Make code unconditional.
10047         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10048         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10049         Make code unconditional.
10050         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10051         * sysdeps/unix/sysv/linux/clock_nanosleep.c
10052         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10053         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10054         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10055         Make code unconditional.
10056         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10057         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10058         (__libc_missing_posix_timers): Remove.
10059
10060 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10061
10062         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10063         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10064
10065         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10066
10067         * elf/dl-sym.c: Include <stdlib.h>.
10068
10069         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10070         constants, which avoids warnings in 32-bit builds.
10071
10072         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10073         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10074
10075         * misc/lseek.c: File moved to ...
10076         * io/lseek.c: ... here.
10077
10078         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10079
10080         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10081         shifting LEN more than 31 bits at once.
10082
10083 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10084
10085         [BZ #14195]
10086         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10087         segmentation fault for a case of two empty input strings.
10088         * string/test-strncasecmp.c (check1): Renamed to...
10089         (bz12205): ...this.
10090         (bz14195): Add new testcase for two empty input strings and N > 0.
10091         (test_main): Call new testcase, adapt for renamed function.
10092
10093 2012-08-15  Andreas Jaeger  <aj@suse.de>
10094
10095         [BZ #14090]
10096         * crypt/md5test2.c: New test, based on test supplied by Serge
10097         Belyshev <belyshev@depni.sinp.msu.ru>.
10098         * crypt/Makefile (xtests): Add md5test-giant..
10099         * crypt/Makefile ($(objpfx)md5test-giant): Add.
10100
10101 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
10102
10103         [BZ #14090]
10104         * crypt/md5.c (md5_process_block): Don't assume the buffer
10105         length is less than 2**32.
10106         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10107         length is less than 2**64.
10108
10109 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10110
10111         * string/str-two-way.h: Include <sys/param.h>.
10112         (MAX): Macro removed.
10113
10114         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10115         Move #define and #undef of memmove to just before and after
10116         including <string.h>.
10117
10118         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10119         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10120         and after including <string.h>.  Move declarations of
10121         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10122         to before #include "string/memmove.c".
10123
10124         * include/dirent.h: Declare __getdirentries.
10125
10126         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10127         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10128
10129 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
10130
10131         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10132         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10133         * sysdeps/i386/configure: Regenerated.
10134         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10135         STABS_CURRENT_FILE, and STABS_FUN.
10136         (END): Remove call to STABS_FUN_END.
10137         (STABS_CURRENT_FILE1): Delete.
10138         (STABS_CURRENT_FILE): Likewise.
10139         (STABS_FUN): Likewise.
10140         (STABS_FUN_END): Likewise.
10141         (STABS_FUN2): Likewise.
10142         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10143         * sysdeps/x86_64/configure: Regenerated.
10144
10145 2012-08-14  Roland McGrath  <roland@hack.frob.com>
10146
10147         * elf/dl-open.c: Include <atomic.h>.
10148         * elf/dl-lookup.c: Likewise.
10149
10150 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
10151
10152         * sysdeps/unix/sysv/linux/kernel-features.h
10153         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10154         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10155         unconditionally.
10156         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10157         unconditionally.
10158         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10159         condition on __ASSUME_CLONE_THREAD_FLAGS.
10160
10161 2012-08-14  Andreas Jaeger  <aj@suse.de>
10162
10163         * sysdeps/i386/fpu/libm-test-ulps: Update.
10164
10165 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10166
10167         * include/atomic.h (atomic_exchange_and_add): Split into ...
10168         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10169         New atomic macros.
10170
10171 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10172
10173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10174
10175 2012-08-13  Jeff Law <law@redhat.com>
10176
10177         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10178         null byte in the output string.
10179
10180 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10181
10182         * sysdeps/unix/sysv/linux/kernel-features.h
10183         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10184         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10185         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10186         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10187         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10188         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10189         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10190
10191 2012-08-09  Jeff Law <law@redhat.com>
10192
10193         [BZ #13939]
10194         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10195         When avoid_arena is set, don't retry in the that arena.  Pick the
10196         next one, whatever it might be.
10197         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10198         (arena_lock): Pass in new parameter to arena_get2.
10199         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10200         arena_get2.
10201         (__libc_malloc): Unify retrying after main arena failure with
10202         __libc_memalign version.
10203         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10204
10205 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10206
10207         [BZ #14166]
10208         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10209         to __redirect_strstr.
10210         (__strstr_sse42): Use typeof __redirect_strstr.
10211         (__strstr_ia32): Likewise.
10212         (__libc_strstr): New prototype.
10213         (strstr): Renamed to ...
10214         (__libc_strstr): This.
10215         (strstr): New strong alias of __libc_strstr.
10216         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10217         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10218         __redirect_time.
10219         Include <time.h>.
10220         (__libc_time): New prototype.
10221         (time_ifunc): Replace time with __libc_time.
10222         (time): New strong alias and hidden definition of __libc_time.
10223         (__GI_time): Remove strong alias.
10224         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10225         Include <stddef.h>.
10226         (memmove): Redefined to __redirect_memmove.
10227         (__memmove_sse2): Use typeof __redirect_memmove.
10228         (__memmove_ssse3): Likewise.
10229         (__memmove_ssse3_back): Likewise.
10230         (__libc_memmove): New prototype.
10231         (memmove): Renamed to ...
10232         (__libc_memmove): This.
10233         (memmove): New strong alias of __libc_memmove.
10234
10235 2012-08-08  Mark Salter  <msalter@redhat.com>
10236
10237         * elf/elf.h
10238         (R_MN10300_TLS_GD): Define.
10239         (R_MN10300_TLS_LD): Likewise.
10240         (R_MN10300_TLS_LDO): Likewise.
10241         (R_MN10300_TLS_GOTIE): Likewise.
10242         (R_MN10300_TLS_IE): Likewise.
10243         (R_MN10300_TLS_LE): Likewise.
10244         (R_MN10300_TLS_DTPMOD): Likewise.
10245         (R_MN10300_TLS_DTPOFF): Likewise.
10246         (R_MN10300_TLS_TPOFF): Likewise.
10247         (R_MN10300_SYM_DIFF): Likewise.
10248         (R_MN10300_ALIGN): Likewise.
10249         (R_MN10300_NUM): Update.
10250
10251 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10252
10253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10254         Remove.
10255
10256 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10257
10258         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10259
10260         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10261         sysdeps/unix -> sysdeps/posix move.
10262         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10263
10264 2012-08-07      Allan McRae     <allan@archlinux.org>
10265
10266         [BZ #14303]
10267         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10268         (SUNOS_CPP): Likewise.
10269         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10270         not found.
10271         (open_input): Call CPP using execvp.
10272
10273 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10274
10275         * sysdeps/unix/sysv/linux/kernel-features.h
10276         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10277         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10278         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10279         (__ASSUME_WAITID_SYSCALL): Likewise.
10280         * sysdeps/unix/sysv/linux/dl-execstack.c
10281         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10282         code unconditional.
10283         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10284         conditional code.
10285         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10286         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10287         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10288         code.
10289         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10290         unconditional.
10291         [__ASSUME_WAITID_SYSCALL]: Likewise.
10292         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10293
10294 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10295
10296         * sysdeps/unix/closedir.c: Renamed to ...
10297         * sysdeps/posix/closedir.c: ... here.
10298         * sysdeps/unix/dirfd.c: Renamed to ...
10299         * sysdeps/posix/dirfd.c: ... here.
10300         * sysdeps/unix/dirstream.h: Renamed to ...
10301         * sysdeps/posix/dirstream.h: ... here.
10302         * sysdeps/unix/fdopendir.c: Renamed to ...
10303         * sysdeps/posix/fdopendir.c: ... here.
10304         * sysdeps/unix/opendir.c: Renamed to ...
10305         * sysdeps/posix/opendir.c: ... here.
10306         * sysdeps/unix/readdir.c: Renamed to ...
10307         * sysdeps/posix/readdir.c: ... here.
10308         * sysdeps/unix/readdir_r.c: Renamed to ...
10309         * sysdeps/posix/readdir_r.c: ... here.
10310         * sysdeps/unix/rewinddir.c: Renamed to ...
10311         * sysdeps/posix/rewinddir.c: ... here.
10312         * sysdeps/unix/seekdir.c: Renamed to ...
10313         * sysdeps/posix/seekdir.c: ... here.
10314         * sysdeps/unix/telldir.c: Renamed to ...
10315         * sysdeps/posix/telldir.c: ... here.
10316         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10317         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10318         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10319         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10320
10321         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10322         * bits/fcntl.h: ... here.
10323
10324         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10325         not 0.
10326         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10327         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10328         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10329         (struct flock): Move l_start, l_len to the beginning.
10330         Use __pid_t for l_pid.
10331         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10332         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10333         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10334         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10335         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10336         [__USE_LARGEFILE64] (struct flock64): New type.
10337         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10338
10339         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10340         * bits/dirent.h: ... here.
10341
10342         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10343         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10344
10345 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10346
10347         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10348         Change from 2.6.0 to 2.6.16.
10349         * sysdeps/unix/sysv/linux/configure: Regenerated.
10350         * sysdeps/unix/sysv/linux/kernel-features.h
10351         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10352         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10353         version.
10354         (__ASSUME_UTIMES): Likewise.
10355         (__ASSUME_CLONE_STOPPED): Remove.
10356         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10357         architectures, not kernel version.
10358         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10359         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10360         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10361         (__ASSUME_WAITID_SYSCALL): Likewise.
10362         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10363         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10364         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10365         refer to older versions.
10366
10367 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10368
10369         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10370         Define alphasort64 as an alias.
10371         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10372         Define versionsort64 as an alias.
10373         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10374         Define scandir64 as an alias.
10375         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10376         Define scandirat64 as an alias.
10377         * dirent/alphasort64.c (alphasort64):
10378         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10379         * dirent/versionsort64.c: Likewise.
10380         * dirent/scandir64.c: Likewise.
10381         * dirent/scandirat64.c: Likewise.
10382         * sysdeps/wordsize-64/alphasort.c: File removed.
10383         * sysdeps/wordsize-64/alphasort64.c: File removed.
10384         * sysdeps/wordsize-64/scandir.c: File removed.
10385         * sysdeps/wordsize-64/scandir64.c: File removed.
10386         * sysdeps/wordsize-64/scandirat.c: File removed.
10387         * sysdeps/wordsize-64/scandirat64.c: File removed.
10388         * sysdeps/wordsize-64/versionsort.c: File removed.
10389         * sysdeps/wordsize-64/versionsort64.c: File removed.
10390         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10391         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10392         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10393         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10394         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10395         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10396         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10397         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10398
10399         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10400         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10401         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10402         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10403         [defined __arch64__ || defined __sparcv9]
10404         (__INO_T_MATCHES_INO64_T): New macro.
10405         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10406         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10407         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10408         * sysdeps/unix/sysv/linux/bits/dirent.h
10409         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10410         (_DIRENT_MATCHES_DIRENT64): New macro.
10411
10412         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10413         Define lockf64 as an alias.
10414         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10415         Define fseeko64 as an alias.
10416         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10417         Define ftello64 as an alias.
10418         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10419         Define _IO_fgetpos64 and fgetpos64 as aliases.
10420         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10421         Define _IO_fsetpos64 and fsetpos64 as aliases.
10422         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10423         Conditionalize body on this.
10424         * libio/fseeko64.c: Likewise.
10425         * libio/ftello64.c: Likewise.
10426         * libio/iofgetpos64.c: Likewise.
10427         * libio/iofsetpos64.c: Likewise.
10428         * sysdeps/wordsize-64/lockf.c: File removed.
10429         * sysdeps/wordsize-64/lockf64.c: File removed.
10430         * sysdeps/wordsize-64/fseeko.c: File removed.
10431         * sysdeps/wordsize-64/fseeko64.c: File removed.
10432         * sysdeps/wordsize-64/ftello.c: File removed.
10433         * sysdeps/wordsize-64/ftello64.c: File removed.
10434         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10435         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10436         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10437         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10438         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10439         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10440         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10441         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10442         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10443         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10444         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10445         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10446         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10447         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10448
10449         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10451         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10453         [defined __arch64__ || defined __sparcv9]
10454         (__OFF_T_MATCHES_OFF64_T): New macro.
10455         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10456         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10457         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10458         (__OFF_T_MATCHES_OFF64_T): New macro.
10459
10460 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10461
10462         * stdlib/secure-getenv.c (__secure_getenv): Replace
10463         GLIBC_2_16 with GLIBC_2_17.
10464
10465 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10466
10467         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10468         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10469
10470 2012-08-03  David S. Miller  <davem@davemloft.net>
10471
10472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10473
10474 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10475
10476         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10477         Remove.
10478         (__ASSUME_CORRECT_SI_PID): Likewise.
10479         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10480         (__ASSUME_TMPFS_NAME): Likewise.
10481         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10482         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10483         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10484         (HAVE_AUX_SECURE): Make definition unconditional.
10485         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10486         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10487
10488 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10489
10490         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10491         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10492         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10493         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10494         __eloop_threshold instead of SYMLOOP_MAX.
10495
10496         * sysdeps/generic/eloop-threshold.h: New file.
10497         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10498         of MAXSYMLINKS.
10499         * elf/chroot_canon.c (chroot_canon): Likewise.
10500
10501 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10502
10503         [BZ #13717]
10504         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10505         Change to 2.6.0 everywhere.
10506         * sysdeps/unix/sysv/linux/configure: Regenerated.
10507         * sysdeps/unix/sysv/linux/kernel-features.h
10508         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10509         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10510         kernel versions.
10511         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10512         (__ASSUME_FUTEX_REQUEUE): Remove.
10513         (__ASSUME_STATFS64): Define unconditionally.
10514         (__ASSUME_AT_SECURE): Likewise.
10515         (__ASSUME_CORRECT_SI_PID): Likewise.
10516         (__ASSUME_TGKILL): Define without depending on kernel version for
10517         i386.
10518         (__ASSUME_UTIMES): Likewise.
10519         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10520         kernel version.
10521         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10522         (__ASSUME_TMPFS_NAME): Likewise.
10523         * README: Update reference to Linux kernel versions.
10524
10525 2012-08-02  Marek Polacek  <polacek@redhat.com>
10526
10527         [BZ# 14150]
10528         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10529         libc_cv_asm_type_prefix with %.
10530         * configure: Regenerated.
10531         * include/libc-symbols.h: Remove comment about
10532         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10533         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10534         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10535         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10536         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10537         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10538         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10539         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10540         * elf/tst-unique2mod1.c: Likewise.
10541         * elf/tst-unique1mod2.c: Likewise.
10542         * elf/tst-unique1mod1.c: Likewise.
10543         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10544         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10545         Replace ASM_TYPE_DIRECTIVE with .type.
10546         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10547         * sysdeps/i386/sysdep.h: Likewise.
10548         * sysdeps/x86_64/sysdep.h: Likewise.
10549         * sysdeps/sh/sysdep.h: Likewise.
10550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10551         Do not define ASM_TYPE_DIRECTIVE.
10552         * sysdeps/powerpc/sysdep.h: Likewise.
10553         * sysdeps/powerpc/powerpc32/sysdep.h:
10554         Replace ASM_TYPE_DIRECTIVE with .type.
10555         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10556         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10557         * sysdeps/i386/fpu/e_powf.S: Likewise.
10558         * sysdeps/i386/fpu/e_expl.S: Likewise.
10559         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10560         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10561         * sysdeps/i386/fpu/e_pow.S: Likewise.
10562         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10563         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10564         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10565         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10566         * sysdeps/i386/fpu/e_log2.S: Likewise.
10567         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10568         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10569         * sysdeps/i386/fpu/e_powl.S: Likewise.
10570         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10571         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10572         * sysdeps/i386/fpu/e_logl.S: Likewise.
10573         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10574         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10575         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10576         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10577         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10578         * sysdeps/i386/fpu/e_log.S: Likewise.
10579         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10580         * sysdeps/i386/fpu/e_logf.S: Likewise.
10581         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10582         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10583         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10584         * sysdeps/i386/fpu/e_log10.S: Likewise.
10585         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10586         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10587         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10588         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10589         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10590         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10591         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10592         * sysdeps/i386/i686/strtok.S: Likewise.
10593         * sysdeps/i386/i386-mcount.S: Likewise.
10594         * sysdeps/i386/strtok.S: Likewise.
10595         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10596         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10597         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10598         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10599         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10600         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10601         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10602         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10603         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10604         * sysdeps/x86_64/_mcount.S: Likewise.
10605         * sysdeps/x86_64/strtok.S: Likewise.
10606         * sysdeps/sh/_mcount.S: Likewise.
10607
10608 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10609
10610         * libio/iofopen.c: Include <fcntl.h>.
10611         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10612         (_IO_fopen64, fopen64): Define as aliases.
10613         * libio/iofopen64.c: Include <fcntl.h>.
10614         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10615         Conditionalize body on this.
10616         * sysdeps/wordsize-64/iofopen.c: File removed.
10617         * sysdeps/wordsize-64/iofopen64.c: File removed.
10618
10619 2012-08-01  Marek Polacek  <polacek@redhat.com>
10620
10621         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10622         Use dlfcn directly instead of a variable.
10623         (binfmt-subdir): Do not define.
10624         (dlfcn): Likewise.
10625
10626 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10627
10628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10629         Remove all definitions.
10630         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10631         <kernel-features.h>.
10632         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10633         (miss_F_GETOWN_EX): Remove all definitions.
10634         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10635         macro definition.
10636         [!__ASSUME_FCNTL64]: Remove conditional code.
10637         [__ASSUME_FCNTL64]: Make code unconditional.
10638         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10639         <kernel-features.h>.
10640         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10641         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10642         (lockf64) [__NR_fcntl64]: Make code unconditional.
10643         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10644
10645         * sysdeps/unix/sysv/linux/kernel-features.h
10646         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10647         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10648         Make code unconditional.
10649         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10650         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10652         [__NR_vfork]: Make code unconditional.
10653         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10654         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10656         [__NR_vfork]: Make code unconditional.
10657         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10658         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10659
10660 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10661
10662         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10663         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10664
10665         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10666         Define mkstemp64 as an alias.
10667         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10668         Define mkstemps64 as an alias.
10669         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10670         Define mkostemp64 as an alias.
10671         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10672         Define mkostemps64 as an alias.
10673         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10674         Conditionalize body on this.
10675         * misc/mkostemp64.c: Likewise.
10676         * misc/mkostemps64.c: Likewise.
10677         * misc/mkstemps64.c: Likewise.
10678         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10679         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10680         * sysdeps/wordsize-64/mkostemp.c: File removed.
10681         * sysdeps/wordsize-64/mkstemp.c: File removed.
10682         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10683         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10684         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10685         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10686
10687         [BZ #14138]
10688         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10689         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10690         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10691         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10692
10693         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10694         compat_symbol macros from <shlib-compat.h> rather than the underlying
10695         default_symbol_version and symbol_version macros, so that DEFAULT
10696         lines in shlib-versions are respected.
10697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10698
10699 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10700
10701         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10702         Declare with warn_unused_result.
10703         (setgid, setregid, setegid, setresgid): Likewise.
10704         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10705         Likewise.
10706         * WUR-REPORT: Remove set*id functions.
10707
10708 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10709
10710         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10711
10712 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10713
10714         * include/sys/socket.h (__libc_accept, __libc_accept4):
10715         Add attribute_hidden.
10716         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10717
10718         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10719         use of PTR_MANGLE.
10720         * inet/getnetgrent_r.c (setup): Likewise.
10721
10722         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10723
10724 2012-07-31  David S. Miller  <davem@davemloft.net>
10725
10726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10727
10728 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10729
10730         [BZ #13629]
10731         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10732         value between 1.0 and 2.0 and smaller part has absolute value less
10733         than 1.0.
10734         * math/s_clog10.c (__clog10): Likewise.
10735         * math/s_clog10f.c (__clog10f): Likewise.
10736         * math/s_clog10l.c (__clog10l): Likewise.
10737         * math/s_clogf.c (__clogf): Likewise.
10738         * math/s_clogl.c (__clogl): Likewise.
10739         * math/libm-test.inc (clog_test): Add more tests.
10740         (clog10_test): Likewise.
10741         * sysdeps/i386/fpu/libm-test-ulps: Update.
10742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10743
10744 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10745
10746         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10747         Exit with zero in case no suitable GID is found, and write a
10748         message to standard error.
10749
10750 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10751
10752         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10753         rather than to 1.
10754         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10755         (MAXPATHLEN): Removed.
10756         (NOGROUP, NODEV): New macros.
10757         (setbit, clrbit, isset, isclr): New macros.
10758         (howmany, roundup, powerof2): New macros.
10759         (DEV_BSIZE): New macro.
10760
10761         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10762         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10763
10764         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10765         definition on [!__NO_LONG_DOUBLE_MATH].
10766
10767         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10768         PTR_MANGLE and PTR_DEMANGLE.
10769
10770         * socket/accept4.c (accept4): Rename to __libc_accept4.
10771         Define accept4 as a weak alias.
10772
10773         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10774         on [_DIRENT_HAVE_D_TYPE].
10775         * io/ftw.c (ftw_dir): Likewise.
10776
10777         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10778
10779         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10780
10781         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10782         Use the BSD numbers rather than the arbitrary ones we had.
10783         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10784         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10785         (SIGXCPU, SIGXFSZ): New macros.
10786         (_NSIG): Now 32.
10787
10788         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10789         initializer on [_LIBC_REENTRANT].
10790
10791         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10792         definitions inside [_POSIX_MAPPED_FILES].
10793
10794         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10795
10796         * dirent/opendir.c: Include <fcntl.h>.
10797
10798         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10799         (__libc_getspecific): Likewise.
10800         (__libc_key_create): Likewise.
10801
10802         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10803         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10804         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10805         (tmpfile64): Define as alias.
10806         * sysdeps/wordsize-64/tmpfile.c: File removed.
10807         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10809         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10810
10811         * stdio-common/vfscanf.c: Include <stdbool.h>.
10812         * nss/makedb.c: Likewise.
10813         * stdio-common/_i18n_number.h: Likewise.
10814         * argp/argp-help.c: Likewise.
10815         * posix/wordexp.c: Likewise.
10816         * sysdeps/posix/spawni.c: Likewise.
10817         * nss/nss_files/files-initgroups.c: Likewise.
10818         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10819         * nss/nss_files/files-initgroups.c: Likewise.
10820         * nss/nss_db/db-netgrp.c: Likewise.
10821         * nss/nss_db/db-initgroups.c: Likewise.
10822         * io/fchmodat.c: Include <sys/stat.h>.
10823
10824         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10825         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10826
10827         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10828         [HAVE_MMAP].
10829
10830         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10831         Add multiple inclusion protection.
10832
10833 2012-07-27  David S. Miller  <davem@davemloft.net>
10834
10835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10836
10837 2012-07-27  Gary Benson  <gbenson@redhat.com>
10838
10839         [BZ #14298]
10840         * elf/rtld.c: Include <stap-probe.h>.
10841         (dl_main): Added static probes "init_start" and "init_complete".
10842         * elf/dl-load.c: Include <stap-probe.h>.
10843         (lose): Take new parameter "nsid".
10844         Added static probe "map_failed".
10845         (_dl_map_object_from_fd): Pass namespace id to lose.
10846         Added static probe "map_start".
10847         (open_verify): Pass namespace id to lose.
10848         * elf/dl-open.c: Include <stap-probe.h>.
10849         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10850         and "reloc_complete".
10851         * elf/dl-close.c: Include <stap-probe.h>.
10852         (_dl_close_worker): Added static probes "unmap_start" and
10853         "unmap_complete".
10854         * elf/rtld-debugger-interface.txt: New file documenting the above.
10855
10856 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10857
10858         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10859         rather than a string variable.
10860         * sunrpc/rpc_main.c (h_output): Likewise.
10861         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10862
10863 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10864
10865         * inet/check_native.c: New file.
10866
10867 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10868
10869         [BZ #13629]
10870         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10871         if larger part has absolute value 1.0.
10872         * math/s_clog10.c (__clog10): Likewise.
10873         * math/s_clog10f.c (__clog10f): Likewise.
10874         * math/s_clog10l.c (__clog10l): Likewise.
10875         * math/s_clogf.c (__clogf): Likewise.
10876         * math/s_clogl.c (__clogl): Likewise.
10877         * math/libm-test.inc (clog_test): Add more tests.
10878         (clog10_test): Likewise.
10879         * sysdeps/i386/fpu/libm-test-ulps: Update.
10880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881
10882         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10883         (pltexit): Likewise.
10884         (La_regs): Likewise.
10885         (La_retval): Likewise.
10886         (int_retval): Likewise.
10887         Update #error for removed macros to refer only to definitions in
10888         tst-audit.h.
10889         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10890         macro.
10891         (pltexit): Likewise.
10892         (La_regs): Likewise.
10893         (La_retval): Likewise.
10894         (int_retval): Likewise.
10895         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10896         macro.
10897         (pltexit): Likewise.
10898         (La_regs): Likewise.
10899         (La_retval): Likewise.
10900         (int_retval): Likewise.
10901         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10902         macro.
10903         (pltexit): Likewise.
10904         (La_regs): Likewise.
10905         (La_retval): Likewise.
10906         (int_retval): Likewise.
10907         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10908         macro.
10909         (pltexit): Likewise.
10910         (La_regs): Likewise.
10911         (La_retval): Likewise.
10912         (int_retval): Likewise.
10913         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10914         macro.
10915         (pltexit): Likewise.
10916         (La_regs): Likewise.
10917         (La_retval): Likewise.
10918         (int_retval): Likewise.
10919         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10920         macro.
10921         (pltexit): Likewise.
10922         (La_regs): Likewise.
10923         (La_retval): Likewise.
10924         (int_retval): Likewise.
10925         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10926         macro definitions in tst-audit.h.
10927         * sysdeps/i386/tst-audit.h: New file.
10928         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10929         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10930         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10931         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10932         * sysdeps/sh/tst-audit.h: Likewise.
10933         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10934         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10935         * sysdeps/x86_64/tst-audit.h: Likewise.
10936
10937 2012-07-26  Andreas Jaeger  <aj@suse.de>
10938
10939         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10940         ptrace.
10941
10942         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10943         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10944         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10945         PTRACE_O_MASK.
10946         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10947         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10948         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10949
10950         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10951         value.
10952
10953         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10954         _sigsys.
10955         (si_call_addr, si_syscall, si_arch): Define new macro.
10956         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10957         _sigsys.
10958         (si_call_addr, si_syscall, si_arch): Define new marcro.
10959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10960         _sigsys.
10961         (si_call_addr, si_syscall, si_arch): Define new macro.
10962         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10963         _sigsys.
10964         (si_call_addr, si_syscall, si_arch): Define new macro.
10965
10966 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10967
10968         [BZ #13717]
10969         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10970         Change to 2.4.21 where previously 2.4.1.
10971         * sysdeps/unix/sysv/linux/configure: Regenerated.
10972         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10973         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10974         Linux kernel version.
10975         (__ASSUME_STD_AUXV): Remove.
10976         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10977         kernel version.
10978         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10979         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10980         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10981         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10982         (__ASSUME_NETLINK_SUPPORT): Likewise.
10983         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10984         (__no_netlink_support): Remove conditional definition.
10985         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10986         Remove.
10987         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10988         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10989         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10990         (if_nameindex_ioctl): Remove.
10991         (if_nameindex_netlink): Do not handle __no_netlink_support.
10992         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10993         code.
10994         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10995         Remove conditional code.
10996         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10997         code.
10998         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10999         unconditional.
11000         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11001         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11002         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11003         Remove.
11004         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11005         [!__ASSUME_STD_AUXV]: Remove conditional code.
11006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11007         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11008         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11010         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11011         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11012         code.
11013         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11015         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11016         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11017         conditional code.
11018         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11020         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11021         code.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11023         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11024         conditional code.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11026         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11027         code unconditional.
11028         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11029         conditional code.
11030         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11031         unconditional.
11032         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11033         conditional code.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11035         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11036         unconditional.
11037         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11038         conditional code.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11040         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11041         code unconditional.
11042         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11043         conditional code.
11044         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11045         unconditional.
11046         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11047         conditional code.
11048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11049         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11050         code unconditional.
11051         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11052         conditional code.
11053         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11054         unconditional.
11055         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11056         conditional code.
11057
11058 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
11059
11060         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11061         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11062         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11063         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11064         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11065         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11066         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11067         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11068         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11069         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11070         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11071         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11072         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11073         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11074         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11075         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11076         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11077         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11078         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11080         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11081         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11082         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11083
11084 2012-07-25  Florian Weimer  <fweimer@redhat.com>
11085
11086         * Versions.def: Add GLIBC_2.17.
11087         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11088         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11089         Introduce __libc_secure_getenv.
11090         * stdlib/Versions (2.17): Add secure_getenv
11091         (GLIBC_PRIVATE): Add __libc_secure_getenv.
11092         * stdlib/secure-getenv.c: Rename __secure_getenv to
11093         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
11094         symbol __secure_getenv for GLIBC_2.0.
11095         * stdlib/tst-secure-getenv.c: New.
11096         * stdlib/Makefile (tests): Add testcase.
11097         * manual/startup.texi (Environment Access): Document
11098         secure_getenv.
11099         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11100         __libc_secure_getenv.
11101         * inet/ruserpass.c (ruserpass): Likewise.
11102         * malloc/mtrace.c (mtrace): Likewise.
11103         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11104         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11105         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11106         * sysdeps/posix/tempname.c: Likewise.  Evaluate
11107         HAVE_SECURE_GETENV.
11108         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11109         __secure_getenv to __libc_secure_getenv.
11110         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11112         Likewise.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11114         Likewise.
11115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11117         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11122
11123 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11124
11125         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11126         (struct La_i86_retval): Likewise.
11127         (struct La_x86_64_regs): Likewise.
11128         (struct La_x86_64_retval): Likewise.
11129         (struct La_x32_regs): Likewise.
11130         (struct La_x32_retval): Likewise.
11131         (struct La_ppc32_regs): Likewise.
11132         (struct La_ppc32_retval): Likewise.
11133         (struct La_ppc64_regs): Likewise.
11134         (struct La_ppc64_retval): Likewise.
11135         (struct La_sh_regs): Likewise.
11136         (struct La_sh_retval): Likewise.
11137         (struct La_s390_32_regs): Likewise.
11138         (struct La_s390_32_retval): Likewise.
11139         (struct La_s390_64_regs): Likewise.
11140         (struct La_s390_64_retval): Likewise.
11141         (struct La_sparc32_regs): Likewise.
11142         (struct La_sparc32_retval): Likewise.
11143         (struct La_sparc64_regs): Likewise.
11144         (struct La_sparc64_retval): Likewise.
11145         (struct audit_ifaces): Remove architecture-specific pltenter and
11146         pltexit members.
11147         * sysdeps/i386/ldsodefs.h: New file.
11148         * sysdeps/powerpc/ldsodefs.h: Likewise.
11149         * sysdeps/s390/ldsodefs.h: Likewise.
11150         * sysdeps/sh/ldsodefs.h: Likewise.
11151         * sysdeps/sparc/ldsodefs.h: Likewise.
11152         * sysdeps/x86_64/ldsodefs.h: Likewise.
11153
11154 2012-07-25  Marek Polacek  <polacek@redhat.com>
11155
11156         [BZ #6808]
11157         * math/libm-test.inc (yn_test): Add another test.
11158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11159         to ERANGE when the result is +-Inf.
11160         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11162         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11163         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11164
11165 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11166
11167         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11168         equal to 0.
11169         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11170         clock_t.
11171         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11172
11173 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11174
11175         * configure.in <sysdeps resolving>: Correct printing
11176         Implies_before.
11177         * configure: Regenerate.
11178
11179 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11180
11181         * math/w_ilogb.c: Include <limits.h>.
11182         * math/w_ilogbl.c: Likewise.
11183
11184 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11185
11186         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11187         va_copy.  Document allowing for unavailable va_copy only as
11188         pre-C99 compatibility.
11189         * manual/string.texi (Copying and Concatenation): Use va_copy
11190         instead of __va_copy in concat example.
11191
11192 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11193
11194         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11195         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11196         it if not null.
11197
11198         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11199         with O_NOLINK passed to __file_name_lookup.
11200
11201         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11202         with O_NOLINK passed to __file_name_lookup.
11203
11204         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11205         negative N or less than NGIDS.
11206
11207         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11208         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11209         enough.  Use memcpy instead of strncpy.
11210
11211 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11212
11213         * elf/Makefile (check-data): Remove.
11214         (localplt.data): New vpath directive.
11215         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11216         instead of $(check-data).
11217         * scripts/data/localplt-generic.data: Move to ...
11218         * sysdeps/generic/localplt.data: ... here.
11219         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11220         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11221         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11223         ... here.
11224         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11226         ... here.
11227         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11229         ... here.
11230         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11232         ... here.
11233         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11235         ... here.
11236         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11238         ... here.
11239
11240 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11241
11242         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11243         PPC32 and PPC64 files.
11244         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11245         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11246
11247 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11248
11249         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11250         __makecontext_ret to ...
11251         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11252         ... here and call exit if uc_link is NULL.  New file.
11253         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11254         __makecontext_ret.S.
11255         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11256         __makecontext_ret to ...
11257         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11258         ... here and call exit if uc_link is NULL.  New file.
11259         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11260         __makecontext_ret.S.
11261
11262 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11263
11264         * elf/elf.h (R_390_IRELATIVE): New definition.
11265         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11266         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11267         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11268         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11269         (elf_machine_lazy_rel): Likewise.
11270         * sysdeps/s390/dl-irel.h: New file.
11271         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11272         * sysdeps/s390/s390-64/memset.S: New asm code.
11273         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11274         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11275         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11276         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11277         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11278         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11280         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11281         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11282         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11283         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11284         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11285         * sysdeps/s390/s390-32/memset.S: New asm code.
11286         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11287
11288 2012-07-17  Marek Polacek  <polacek@redhat.com>
11289
11290         [BZ #14349]
11291         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11292         * sysdeps/s390/s390-64/configure.in: Likewise.
11293         * sysdeps/sparc/configure.in: Likewise.
11294         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11295         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11296         * sysdeps/i386/configure.in: Likewise.
11297         * sysdeps/x86_64/configure.in: Likewise.
11298         * sysdeps/sh/configure.in: Likewise.
11299         * sysdeps/s390/s390-32/configure: Regenerated.
11300         * sysdeps/s390/s390-64/configure: Likewise.
11301         * sysdeps/x86_64/configure: Likewise.
11302         * sysdeps/sh/configure: Likewise.
11303         * sysdeps/powerpc/powerpc64/configure: Likewise.
11304         * sysdeps/powerpc/powerpc32/configure: Likewise.
11305         * sysdeps/sparc/configure: Likwise.
11306         * sysdeps/i386/configure: Likewise.
11307
11308         * elf/dl-open.c: Comment fixes.
11309
11310 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11311
11312         * Makefile [CXX] (check-data): Remove.
11313         [CXX] (c++-types.data): New vpath directive.
11314         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11315         vpath.  Do not allow for C++ type data being missing.
11316         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11317         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11318         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11319         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11320         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11321         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11322         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11324         ... here.
11325         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11327         ... here.
11328         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11330         ... here.
11331         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11333         ... here.
11334         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11336         ... here.
11337         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11339         ... here.
11340         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11342         ... here.
11343         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11345
11346         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11347         definitions to architecture-specific files.
11348         (TLS_IE): Likewise.
11349         (TLS_LD): Likewise.
11350         (TLS_GD): Likewise.
11351         * sysdeps/i386/tls-macros.h: New file.
11352         * sysdeps/powerpc/tls-macros.h: Likewise.
11353         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11354         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11355         * sysdeps/sh/tls-macros.h: Likewise.
11356         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11357         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11358         * sysdeps/x86_64/tls-macros.h: Likewise.
11359
11360 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11361
11362         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11363         zero value for regular exit case.
11364
11365         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11366         (__start_context): Preserve zero value for regular exit case.
11367
11368 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11369             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11370
11371         * manual/setjmp.texi (setcontext): Clarify normal process
11372         termination when uc_link is the null pointer.
11373         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11374         exit call.
11375
11376 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11377
11378         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11379         preprocessor.  Test for each exception mask separately.
11380
11381 2012-07-16  Andreas Jaeger  <aj@suse.de>
11382
11383         * po/ru.po: Update from translation team.
11384
11385 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11386
11387         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11388         equal to 0.
11389         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11390         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11391         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11392         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11393         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11394
11395 2012-07-13  Andreas Jaeger  <aj@suse.de>
11396
11397         * po/fr.po: Update from translation team.
11398
11399 2012-07-12  Marek Polacek  <polacek@redhat.com>
11400
11401         [BZ #14173]
11402         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11403         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11404         loop condition.
11405
11406 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11407
11408         [BZ #13717]
11409         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11410         Change to 2.4.1 where previously 2.4.0.
11411         * sysdeps/unix/sysv/linux/configure: Regenerated.
11412         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11413         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11414         version.
11415         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11416         (__ASSUME_AT_CLKTCK): Remove.
11417         (__ASSUME_AT_PAGESIZE): Likewise.
11418         (__ASSUME_AT_XID): Likewise.
11419         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11420         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11421         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11422         unconditionally.
11423         (HAVE_AUX_PAGESIZE): Likewise.
11424         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11425         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11426         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11427
11428 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11429
11430         [BZ #14307]
11431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11432         the temporary buffer used to invoke __gethostbyname2_r,
11433         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11434         host_data / struct gaih_addrtuple.
11435         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11436         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11437         header file nss/nsswitch.h.
11438         * nss/nsswitch.h (global scope): Add definition of implementation
11439         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11440         resolv/nss_dns/dns-host.c).
11441
11442 2012-07-11  Andreas Jaeger  <aj@suse.de>
11443
11444         * po/fr.po: Update from translation team.
11445
11446         * po/sv.po: Update from translation team
11447         * po/fr.po: Another update from translation team.
11448
11449 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11450
11451         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11452         for subnormals or multiply small sinh result by itself.
11453         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11455
11456 2012-07-11  David S. Miller  <davem@davemloft.net>
11457
11458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11459
11460 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11461
11462         [BZ #14347]
11463         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11464         (INTERNAL_MARK): Shift it here.
11465
11466 2012-07-10  Marek Polacek  <polacek@redhat.com>
11467
11468         [BZ #14151]
11469         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11470         libc_cv_asm_global_directive with .globl.
11471         * configure: Regenerated.
11472         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11473         with .globl.
11474         * sysdeps/i386/configure: Regenerated.
11475         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11476         with .globl.
11477         * sysdeps/x86_64/configure: Regenerated.
11478         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11479         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11480         * elf/tst-unique2mod2.c: Likewise.
11481         * elf/tst-unique2mod1.c: Likewise.
11482         * elf/tst-unique1mod2.c: Likewise.
11483         * elf/tst-unique1mod1.c: Likewise.
11484         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11485         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11486         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11487         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11488         * sysdeps/mach/sysdep.h: Likewise.
11489         * sysdeps/i386/sysdep.h: Likewise.
11490         * sysdeps/i386/i386-mcount.S: Likewise.
11491         * sysdeps/x86_64/_mcount.S: Likewise.
11492         * sysdeps/x86_64/sysdep.h: Likewise.
11493         * sysdeps/sh/_mcount.S: Likewise.
11494         * sysdeps/sh/sysdep.h: Likewise.
11495         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11496         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11497         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11498         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11499         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11500         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11501         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11502         * locale/localeinfo.h: Likewise.
11503         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11504         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11505
11506 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11507
11508         [BZ #14336]
11509         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11510         system".
11511         * manual/message.texi (The Uniforum approach): Likewise.
11512         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11513         (glibc iconv Implementation): Likewise.
11514
11515 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11516
11517         [BZ #14337]
11518         * math/s_clog.c (__clog): Avoid scaling a value down where that
11519         could result in underflow.
11520         * math/s_clog10.c (__clog10): Likewise.
11521         * math/s_clog10f.c (__clog10f): Likewise.
11522         * math/s_clog10l.c (__clog10l): Likewise.
11523         * math/s_clogf.c (__clogf): Likewise.
11524         * math/s_clogl.c (__clogl): Likewise.
11525         * math/libm-test.inc (clog_test): Add more tests.
11526         (clog10_test): Likewise.
11527         * sysdeps/i386/fpu/libm-test-ulps: Update.
11528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11529
11530 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11531
11532         [BZ #14283]
11533         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11534         by 7 not 8 to examine high bit of fractional part.
11535
11536         [BZ #14042]
11537         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11538         for call to __mcount_internal.
11539         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11540         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11541         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11542
11543 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11544
11545         [BZ #14154]
11546         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11547         approximation for values within 0x1p-13f of an odd multiple of
11548         pi/4.
11549         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11550         exception.  Add more tests.
11551         * sysdeps/i386/fpu/libm-test-ulps: Update.
11552
11553         [BZ #6778]
11554         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11555         inputs and return -1 for them.  Do not check for +Inf in case not
11556         reachable for +Inf.
11557         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11558         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11559         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11560         and return -1 for them.  Do not check for +Inf in case not
11561         reachable for +Inf.
11562         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11563         define.
11564         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11565         and return -1 for them.  Do not check for +Inf in case not
11566         reachable for +Inf.
11567         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11568         spurious underflow.
11569         * sysdeps/i386/fpu/libm-test-ulps: Update.
11570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11571
11572 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11573
11574         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11575
11576 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11577
11578         [BZ #14157]
11579         [BZ #14331]
11580         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11581         could result in spurious underflow.  Scale down values above
11582         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11583         * math/s_csqrtf.c (__csqrtf): Likewise.
11584         * math/s_csqrtl.c (__csqrtl): Likewise.
11585         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11586         spurious underflow.
11587         * sysdeps/i386/fpu/libm-test-ulps: Update.
11588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589
11590 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11591
11592         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11593         xopen-msg.sed.
11594         * catgets/xopen-msg.awk: New file.
11595         * catgets/xopen-msg.sed: Removed.
11596
11597         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11598         po2text.sed.
11599         * intl/po2test.awk: New file.
11600         * intl/po2test.sed: Removed.
11601
11602 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11603
11604         [BZ #14328]
11605         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11606         or multiply small sinh result by itself.
11607         * math/s_ctanf.c (__ctanf): Likewise.
11608         * math/s_ctanh.c (__ctanh): Likewise.
11609         * math/s_ctanhf.c (__ctanhf): Likewise.
11610         * math/s_ctanhl.c (__ctanhl): Likewise.
11611         * math/s_ctanl.c (__ctanl): Likewise.
11612         * math/libm-test.inc (ctan_test_tonearest): New function.
11613         (ctan_test_towardzero): Likewise.
11614         (ctan_test_downward): Likewise.
11615         (ctan_test_upward): Likewise.
11616         (ctanh_test_tonearest): Likewise.
11617         (ctanh_test_towardzero): Likewise.
11618         (ctanh_test_downward): Likewise.
11619         (ctanh_test_upward): Likewise.
11620         (main): Call these new functions.
11621         * sysdeps/i386/fpu/libm-test-ulps: Update.
11622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11623
11624 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11625
11626         * .gitignore: Delete /ports entry.
11627
11628 2012-07-03  Andreas Jaeger  <aj@suse.de>
11629
11630         * po/bg.po: Update from translation team.
11631         * po/cs.po: Likewise.
11632         * po/de.po: Likewise.
11633         * po/hr.po: Likewise.
11634         * po/nl.pl: Likewise.
11635         * po/pl.po: Likewise.
11636         * po/vi.po: Likewise.
11637
11638 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11639
11640         * Makeconfig [!+link] (+link-before-libc): New variable.
11641         [!+link] (+link-after-libc): Likewise.
11642         [!+link] (+link-tests): Likewise.
11643         [!+link] (+link): Define in terms of $(+link-before-libc) and
11644         $(+link-after-libc).
11645         [!+link-static] (+link-static-before-libc): New variable.
11646         [!+link-static] (+link-static-after-libc): Likewise.
11647         [!+link-static] (+link-static-tests): Likewise.
11648         [!+link-static] (+link-static): Define in terms of
11649         $(+link-static-before-libc) and $(+link-static-after-libc).
11650         [build-shared] (link-libc-before-gnulib): New variable.
11651         [build-shared] (link-libc-tests): Likewise.
11652         [build-shared] (link-libc): Define in terms of
11653         $(link-libc-before-gnulib).
11654         [!build-shared] (link-libc-tests): New variable.
11655         (link-libc-static-tests): New variable.
11656         [!gnulib] (gnulib-arch): New variable.
11657         [!gnulib] (gnulib-tests): Likewise.
11658         [!gnulib] (static-gnulib-arch): Likewise.
11659         [!gnulib] (static-gnulib-tests): Likewise.
11660         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11661         Define with "=" instead of ":=".
11662         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11663         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11664         * Rules (binaries-all-notests): New variable.
11665         (binaries-all-tests): Likewise.
11666         (binaries-static-notests): Likewise.
11667         (binaries-static-tests): Likewise.
11668         (binaries-all): Define using $(binaries-all-notests) and
11669         $(binaries-all-tests).
11670         (binaries-static): Define using $(binaries-static-notests) and
11671         $(binaries-static-tests).
11672         (binaries-shared-tests): New variable.
11673         (binaries-shared-notests): Likewise.
11674         (binaries-shared): Remove variable.
11675         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11676         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11677         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11678         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11679         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11680         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11681         * elf/Makefile (sln-modules): New variable.
11682         (extra-objs): Add $(sln-modules:=.o).
11683         (ldconfig-modules): Add static-stubs.
11684         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11685         * elf/static-stubs.c: New file.
11686
11687         [BZ #14283]
11688         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11689         by 7 not 8 to examine high bit of fractional part.  Use volatile
11690         variables when splitting into final array of floats if
11691         __FLT_EVAL_METHOD__ != 0.
11692         * math/libm-test.inc (cos_test): Add another test.
11693         (sin_test): Likewise.
11694         * sysdeps/i386/fpu/libm-test-ulps: Update.
11695
11696         [BZ #14273]
11697         * math/libm-test.inc (cosh_test): Add more tests.
11698
11699         * version.h (RELEASE): Set to "development".
11700         (VERSION): Set to "2.16.90".
11701
11702 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11703
11704         * NEWS: Update copyright. Remove last-updated date.
11705         Mention math library bug fixes and timezone data changes.
11706         * README: Mention GNU/Hurd, x32, and HPPA support status.
11707
11708 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11709
11710         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11711
11712 2012-06-27  Andreas Jaeger  <aj@suse.de>
11713
11714         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11715
11716 2012-06-25  Andreas Jaeger  <aj@suse.de>
11717
11718         * sysdeps/s390/fpu/libm-test-ulps: Update.
11719
11720 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11721             Thomas Schwinge  <thomas@codesourcery.com>
11722
11723         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11724         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11726         fanotify_mark.
11727
11728 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11729
11730         * sysdeps/mach/start.c: Remove file.
11731         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11732         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11733         * sysdeps/sh/init-first.c: Likewise.
11734
11735         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11736         registers for frame unwinding purposes, add CFI directives.
11737         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11738         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11739         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11740         Likewise.
11741
11742         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11743         __fortify_fail returning.
11744         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11745
11746         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11747         sysdeps/sh/____longjmp_chk.S.
11748         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11749         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11750         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11751         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11752
11753         * sysdeps/sh/abort-instr.h: New file.
11754         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11755         process in case exit returns.
11756
11757         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11758         initialize the GOT register before use.
11759
11760         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11761         calculation of ARGC > 4.
11762
11763         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11764         meaningful names to some local labels.
11765
11766 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11767             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11768
11769         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11770         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11771         (__arch_compare_and_exchange_val_16_acq): Likewise.
11772         (__arch_compare_and_exchange_val_32_acq): Likewise.
11773         (atomic_exchange_and_add): Fix gUSA sequence.
11774         (atomic_add): Likewise.
11775         (atomic_add_negative): Likewise.
11776         (atomic_add_zero): Likewise.
11777         (atomic_bit_test_set): Likewise.
11778
11779 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11780
11781         [BZ #13579]
11782         * include/link.h (struct link_map): Add l_free_initfini.
11783         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11784         l_initfini.
11785         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11786         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11787         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11788         set.
11789
11790 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11791
11792         * configure.in: Use AC_LANG_SOURCE.
11793         * configure: Regenerate.
11794
11795 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11796
11797         * configure.in (libc_cv_localstatedir): New substituted variable.
11798         * configure: Regenerated.
11799         * config.make.in (localstatedir): New variable, substituted from
11800         libc_cv_localstatedir.
11801         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11802         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11803         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11804         * sysdeps/gnu/configure: Regenerated.
11805
11806 2012-06-21  Jeff Law  <law@redhat.com>
11807
11808         [BZ #14277]
11809         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11810         free.  Simplify list management for _LIBC case.
11811
11812 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11813
11814         [BZ #14273]
11815         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11816         Clear sign bit of 64-bit integer value before comparing against
11817         overflow value.
11818
11819         * sysdeps/mach/configure: Regenerated.
11820
11821 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11822
11823         [BZ #14278]
11824         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11825
11826 2012-06-21  Jeff Law  <law@redhat.com>
11827
11828         [BZ #13882]
11829         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11830         uint16_t for elements in the "seen" array to avoid char overflows.
11831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11832         * elf/dl-open.c (dl_open_worker): Likewise.
11833
11834 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11835
11836         * scripts/list-sources.sh: Scan PORTS for translations.
11837         * po/libc.pot: Regenerated.
11838
11839 2012-06-21  Andreas Jaeger  <aj@suse.de>
11840
11841         [BZ #12194]
11842         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11843         warning.
11844         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11845         * bits/byteswap-16.h (__bswap_16): Likewise.
11846         * bits/byteswap.h (__bswap_constant_16): Likewise.
11847
11848 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11849
11850         [BZ #14117]
11851         * sysdeps/i386/fpu_control.h: Removed.
11852         * sysdeps/x86_64/fpu_control.h: Moved to ...
11853         * sysdeps/x86/fpu_control.h: Here.
11854
11855         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11856         (_FPU_SETCW): Likewise.
11857
11858 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11859
11860         [BZ #14117]
11861         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11862         * sysdeps/x86/fpu/bits/mathinline.h: This.
11863         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11864
11865         [BZ #14050]
11866         [BZ #14117]
11867         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11868         functions if __x86_64__ is defined.
11869
11870 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11871
11872         * string/endian.h: Add !__ASSEMBLER__ condition for including
11873         conversion interfaces.
11874
11875 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11876
11877         [BZ #14241]
11878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11879         of ABS(x) in calculating zero to negative powers other than odd
11880         integers.
11881         * math/libm-test.inc (pow_test): Add more tests.
11882
11883 2012-06-15  Andreas Jaeger  <aj@suse.de>
11884
11885         * manual/contrib.texi (Contributors): Update entry of Liubov
11886         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11887         Machado Filho.
11888
11889 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11890
11891         * string/string.h: Add __wur to GNU version of strerror_r.
11892
11893 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11894
11895         [BZ #14229]
11896         * string/Makefile (tests): Add tst-strtok_r.
11897         * string/tst-strtok_r.c: New file.
11898         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11899         RAX_LP/RDX_LP on SAVE_PTR.
11900
11901 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11902
11903         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11904
11905 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11906
11907         * libm_test.inc (csqrt_test): Allow more spurious underflow
11908         exceptions.
11909         (j0_test): Likewise.
11910         (j1_test): Likewise.
11911         (y0_test): Likewise.
11912         (y1_test): Likewise.
11913
11914 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11915
11916         * po/Makefile (libc.pot): Use UTF-8 charset.
11917
11918 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11919
11920         [BZ #14210]
11921         Suppress sign-conversion warning from FD_SET.
11922         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11923         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11924         not unsigned long int.
11925         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11926
11927 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11928
11929         [BZ #14050]
11930         [BZ #14117]
11931         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11932         __extern_always_inline instead of __extern_inline.
11933         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11934         (__signbit): Likewise.
11935         (__signbitl): Support C++ namespace.
11936         (lrintf): New inline function.
11937         (lrint): Likewise.
11938         (llrintf): Likewise.
11939         (llrint): Likewise.
11940         (fmaxf): Likewise.
11941         (fmax): Likewise.
11942         (fminf): Likewise.
11943         (fmin): Likewise.
11944         (rint): Likewise.
11945         (rintf): Likewise.
11946         (ceil): Likewise.
11947         (ceilf): Likewise.
11948         (floor): Likewise.
11949         (floorf): Likewise.
11950         (nearbyint): Likewise.
11951         (nearbyintf): Likewise.
11952
11953 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11954
11955         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11956         non-default versions.
11957
11958 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11959
11960         [BZ #14218]
11961         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11962
11963 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11964
11965         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11966         (FE_UPWARD, FE_DOWNWARD): Don't define.
11967         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11968         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11969
11970         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11971         reading it.
11972         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11973         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11974
11975 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11976
11977         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11979         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11980         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11981
11982 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11983
11984         [BZ #14117]
11985         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11986         * sysdeps/i386/fpu/Implies: New file.
11987         * sysdeps/x86_64/fpu/Implies: Likewise.
11988         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11989         * sysdeps/x86/fpu/bits/fenv.h: This.
11990
11991         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11992         __SSE_MATH__.
11993
11994 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11995
11996         [BZ #14134]
11997         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11998         character 0xffff that matches the last element of the
11999         conversion table.
12000
12001 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12002
12003         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12004         fmodl commit.
12005
12006 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12007
12008         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12009         values higher than 25.6283.
12010
12011 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12012
12013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12014         subnormal exponent extraction and add some __builtin_expect.
12015         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12016         Fix for subnormal mantissa calculation.
12017
12018 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
12019
12020         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12021         cpu2 is -1 and errno is not ENOSYS.
12022
12023 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
12024
12025         [BZ #14117]
12026         * sysdeps/i386/i486/bits/string.h: Renamed to ...
12027         * sysdeps/x86/bits/string.h: This.
12028         * sysdeps/x86_64/bits/string.h: Removed.
12029
12030         * sysdeps/i386/i486/bits/string.h: Define inline functions only
12031         if not compiling for x86-64, but compiling for >= i486.
12032
12033         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12034         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12035
12036         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12037         New macro from Linux kernel 3.4.0.
12038         (FP_XSTATE_MAGIC2): Likewise.
12039         (FP_XSTATE_MAGIC2_SIZE): Likewise.
12040         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12041         (struct _fpx_sw_bytes): New struct.
12042         (struct _xsave_hdr): Likewise.
12043         (struct _ymmh_state): Likewise.
12044         (struct _xstate): Likewise.
12045
12046         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12047         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12048         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12049         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12050         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12051         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12052
12053         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12054         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12055         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12056         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12057         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12058         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12059
12060 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12061
12062         [BZ #13743]
12063         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12064         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12065         (sysdep_headers): Include sys/platform/ppc.h.
12066         * sysdeps/powerpc/test-gettimebase.c: Test for
12067         __ppc_get_timebase() to catch future ISA opcode/insn changes.
12068         * manual/Makefile (appendices): Include platform.texi.
12069         * manual/contrib.texi (Contributors): Update @node pointers.
12070         * manual/maint.texi (Maintenance): Likewise.
12071         (Platform): New node.
12072         * manual/platform.texi: New file.  Document the new features.
12073
12074 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12075             Jakub Jelinek  <jakub@redhat.com>
12076
12077         [BZ #14188]
12078         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12079         where __builtin_expect is unavailable.
12080
12081 2012-06-03  David S. Miller  <davem@davemloft.net>
12082
12083         * stdlib/longlong.h: Updated from GCC.
12084
12085 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
12086
12087         [BZ #14042]
12088         * sysdeps/powerpc/powerpc32/mcount.c: New file.
12089         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12090         __mcount_internal.
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12092         (GLIBC_2.16): Likewise.
12093
12094 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12095
12096         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12097
12098 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12099
12100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12101         (default-abi): New variable.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12103         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12104         variable.
12105         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12108         Likewise.
12109         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12110         Likewise.
12111
12112         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12113         definition.  Document in comment.
12114
12115 2012-06-01  David S. Miller  <davem@davemloft.net>
12116
12117         * stdlib/longlong.h: Updated from GCC.
12118
12119 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12120
12121         [BZ #14117]
12122         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12123         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12124         sys/debugreg.h sys/io.h here.
12125         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12126         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12127         sys/io.h.
12128         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12129         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12130         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12131         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12132         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12133         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12134
12135         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12136         Define only if __x86_64__ is defined.
12137
12138 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12139
12140         [BZ #14048]
12141         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12142         Use int64_t for variable i.
12143         * math/libm-test.inc (fmod_test): Add more tests.
12144
12145         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12146         z computation is not scheduled after fetestexcept.
12147         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12148         Use math_force_eval instead of asm to ensure calculation scheduled
12149         before exception test.
12150         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12151         Ensure a1 + u.d computation is not scheduled after fetestexcept.
12152
12153 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
12154
12155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12156         computation is not scheduled after fetestexcept.
12157
12158 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12159
12160         [BZ #14117]
12161         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12162         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12163
12164 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12165
12166         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12167         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12168
12169 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12170
12171         [BZ #14117]
12172         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12173         <bits/wordsize.h>.
12174         (__WCHAR_MIN): Support __WORDSIZE == 64.
12175         (__WCHAR_MAX): Likewise.
12176
12177         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12178         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12179
12180         [BZ #14183]
12181         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12182         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12183
12184         [BZ #14117]
12185         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12186         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12187
12188         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12189         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12190
12191         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12192         Defined to 1 if __x86_64__ isn't defined.
12193         (_STAT_VER_LINUX_OLD): New.
12194         (st_atime): Remove duplicate.
12195         (st_mtime): Likewise.
12196         (st_ctime): Likewise.
12197
12198 2012-05-31  David S. Miller  <davem@davemloft.net>
12199
12200         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12201         entries.
12202
12203 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12204
12205         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12206         gen-libm-test.pl.
12207
12208         [BZ #14132]
12209         * elf/dl-reloc.c: Include <_itoa.h>.
12210         (_dl_reloc_bad_type): Remove use of INTUSE.
12211         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12212         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12213         * stdio-common/psiginfo.c (psiginfo): Likewise.
12214         * stdio-common/psignal.c (psignal): Likewise.
12215         * string/strsignal.c (strsignal): Likewise.
12216         * include/signal.h (_sys_siglist): Declare hidden proto.
12217         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12218         INTVARDEF with libc_hidden_data_def.
12219         * stdio-common/itoa-udigits.c: Likewise.
12220         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12221         (_itoa_lower_digits_internal): Remove declaration.
12222         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12223         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12224         (_sys_sigabbrev_internal): Remove aliases.
12225         (_sys_siglist): Define hidden alias.
12226
12227 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12228
12229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12230         bits/sysctl.h.
12231
12232 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12233
12234         [BZ #14117]
12235         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12236         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12237
12238         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12239         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12240         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12241         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12242         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12243         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12244
12245         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12246         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12247         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12248
12249         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12250         with __addr.
12251         (insw): Likewise.
12252         (insl): Likewise.
12253         (outsb): Likewise.
12254         (outsw): Likewise.
12255         (outsl): Likewise.
12256
12257         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12258         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12259         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12260
12261         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12262         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12263         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12264         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12265         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12266         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12267
12268         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12269         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12270
12271         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12272         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12273
12274         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12275         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12276         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12277
12278         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12279         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12280         to ...
12281         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12282
12283         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12284         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12285         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12286
12287         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12288         for x86-64.
12289         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12290
12291 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12292
12293         * math/math.h (M_El): Use two more decimal places.
12294         (M_LOG2El): Likewise.
12295         (M_LOG10El): Likewise.
12296         (M_LN2l): Likewise.
12297         (M_LN10l): Likewise.
12298         (M_PIl): Likewise.
12299         (M_PI_2l): Likewise.
12300         (M_PI_4l): Likewise.
12301         (M_1_PIl): Likewise.
12302         (M_2_PIl): Likewise.
12303         (M_2_SQRTPIl): Likewise.
12304         (M_SQRT2l): Likewise.
12305         (M_SQRT1_2l): Likewise.
12306
12307 2012-05-31  David S. Miller  <davem@davemloft.net>
12308
12309         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12310         values between float registers.
12311         * sysdeps/sparc/sparc64/memset.S: Likewise.
12312         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12313
12314 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12315
12316         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12317         -D_FORTIFY_SOURCE=1.
12318         (CPPFLAGS-tst-longjmp_chk.c): Define.
12319         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12320         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12321         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12322         CFLAGS-tst-wchar-h.c.
12323
12324 2012-05-31  Marek Polacek  <polacek@redhat.com>
12325
12326         [BZ #14132]
12327         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12328         __endmntent_internal): Remove declaration.
12329         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12330         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12331         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12332
12333 2012-05-30  David S. Miller  <davem@davemloft.net>
12334
12335         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12336         (___Q_simulate_exceptions): Use real FP ops rather than writing
12337         into the %fsr.
12338         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12339         Likewise.
12340
12341 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12342
12343         [BZ #14117]
12344         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12345         * sysdeps/x86/bits/xtitypes.h: This.
12346
12347         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12348         * sysdeps/x86/bits/wordsize.h: This.
12349
12350         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12351         * sysdeps/x86/bits/huge_vall.h: This.
12352
12353         * sysdeps/i386/bits/select.h: Removed.
12354         * sysdeps/x86_64/bits/select.h: Renamed to ...
12355         * sysdeps/x86/bits/select.h: This.
12356
12357         * sysdeps/i386/bits/setjmp.h: Removed.
12358         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12359         * sysdeps/x86/bits/setjmp.h: This.
12360
12361         * sysdeps/i386/bits/mathdef.h: Removed.
12362         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12363         * sysdeps/x86/bits/mathdef.h: This.
12364
12365 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12366
12367         [BZ #14132]
12368         * include/sys/socket.h (__connect_internal)
12369         (__libc_sa_len_internal): Remove declaration.
12370         (__connect, __libc_sa_len): Declare hidden_proto.
12371         (SA_LEN): Remove use of INTUSE.
12372         * socket/connect.c: Add libc_hidden_def.
12373         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12374         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12375         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12376         alias.
12377         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12378         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12379         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12380         of adding _internal alias.
12381
12382 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12383
12384         [BZ #14117]
12385         * sysdeps/i386/bits/link.h: Removed.
12386         * sysdeps/i386/bits/linkmap.h: Likewise.
12387         * sysdeps/x86_64/bits/link.h: Renamed to ...
12388         * sysdeps/x86/bits/link.h: This.
12389         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12390         * sysdeps/x86/bits/linkmap.h: This.
12391
12392         * sysdeps/i386/bits/endian.h: Removed.
12393         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12394         * sysdeps/x86/bits/endian.h: This.
12395
12396         * sysdeps/i386/bits/byteswap.h: Removed.
12397         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12398         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12399         * sysdeps/x86/bits/byteswap.h: This.
12400         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12401         * sysdeps/x86/bits/byteswap-16.h: This.
12402         * sysdeps/i386/Implies: Add x86.
12403         * sysdeps/x86_64/Implies: Likewise.
12404
12405 2012-05-30  David S. Miller  <davem@davemloft.net>
12406
12407         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12408         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12409         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12410         (FP_TRAPPING_EXCEPTIONS): Define.
12411         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12412         (FP_TRAPPING_EXCEPTIONS): Define.
12413         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12414         subnormals only when inexact has been signalled or underflow
12415         exceptions are enabled.
12416         (_FP_PACK_CANONICAL): Likewise.
12417
12418 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12419
12420         [BZ #14183]
12421         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12422         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12423
12424 2012-05-30  Richard Henderson  <rth@twiddle.net>
12425
12426         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12427         with #ifndef NOT_IN_libc.
12428
12429         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12430         marked to avoid plt entry.
12431
12432 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12433
12434         [BZ #14112]
12435         * Makeconfig (default-abi): New macro.
12436         (abi-includes): Likewise.
12437         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12438         $(abi-$(default-abi)-lib-soname) for soname if defined.
12439         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12440         abi-variants.
12441         * Makefile (installed-stubs): Likewise.
12442         * include/stubs-biarch.h: Removed.
12443         * scripts/lib-names.awk: Only handle one library at a time.
12444         * scripts/soversions.awk: Remove WORDSIZE support.
12445         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12446         entries.
12447         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12448         Removed.
12449         (syscall-list-default-condition): Likewise.
12450         (syscall-list-default-condition): Likewise.
12451         (syscall-list-includes): Likewise.
12452         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12453         syscall-list-* with abi-*.  Handle undefined abi-variants.
12454         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12455         * sysdeps/unix/sysv/linux/i386/Implies: New file.
12456         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12457         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12458         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12459         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12460         Removed.
12461         (syscall-list-32-options): Likewise.
12462         (syscall-list-32-condition): Likewise.
12463         (syscall-list-64-options): Likewise.
12464         (syscall-list-64-condition): Likewise.
12465         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12466         macro.
12467         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12468         Renamed to ...
12469         (abi-*): This.
12470         (abi-64-ld-soname): New macro.
12471         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12472         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12473         Renamed to ...
12474         (abi-*): This.
12475         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12476         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12477
12478 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12479
12480         * sysdeps/unix/sysv/linux/kernel-features.h
12481         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12482         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12483         include <kernel-features.h>.
12484         [!__NR_ftruncate64]: Remove conditional code.
12485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12486         [__NR_ftruncate64]: Make code unconditional.
12487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12488         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12489         include <kernel-features.h>.
12490         [!__NR_ftruncate64]: Remove conditional code.
12491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12492         [__NR_ftruncate64]: Make code unconditional.
12493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12495         include <kernel-features.h>.
12496         [!__NR_ftruncate64]: Remove conditional code.
12497         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12498         [__NR_ftruncate64]: Make code unconditional.
12499         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12501         include <kernel-features.h>.
12502         [!__NR_ftruncate64]: Remove conditional code.
12503         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12504         [__NR_ftruncate64]: Make code unconditional.
12505         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12506
12507         * configure.in (libc_cv_fpie): Weaken to a compile test using
12508         LIBC_TRY_CC_OPTION.
12509         * configure: Regenerated.
12510
12511 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12512
12513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12517         Refreshed.
12518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12524         Refreshed.
12525
12526 2012-05-27  David S. Miller  <davem@davemloft.net>
12527
12528         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12529         (___Q_zero): New.
12530         (__Q_simulate_exceptions): Return void.  Change to simulate
12531         exceptions by writing into the %fsr.
12532         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12533         (__Qp_handle_exceptions): Likewise.
12534         (numbers): Delete.
12535         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12536         __Qp_handle_exceptions.
12537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12538         __Qp_handle_exceptions.
12539         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12540         as unused and give dummy FP_RND_NEAREST initializer.
12541         (FP_INHIBIT_RESULTS): Define.
12542         (___Q_simulate_exceptions): Update declaration.
12543         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12544         formatting.
12545         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12546         as unused and give dummy FP_RND_NEAREST initializer.
12547         (__Qp_handle_exceptions): Update declaration.
12548         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12549         formatting.
12550
12551 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12552
12553         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12554         the temporary FPU control word.
12555         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12556         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12557         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12558         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12559         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12560         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12561         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12562         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12563         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12564         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12565         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12566
12567 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12568
12569         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12570         fields.
12571
12572 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12573
12574         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12575         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12576         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12577         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12578         Likewise.
12579         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12580         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12581         Likewise.
12582
12583 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12584
12585         * po/h.po: Update from translation team.
12586
12587 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12588
12589         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12590
12591         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12592         handling of denormals.
12593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12594         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12595         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12596         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12597         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12600         Likewise.
12601
12602 2012-05-26  Marek Polacek  <polacek@redhat.com>
12603
12604         [BZ #14152]
12605         * math/libm-test.inc (fma_test): Don't always expect underflow
12606         exception.
12607
12608 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12609
12610         [BZ #12416]
12611         * elf/tst-execstack.c: Include stackinfo.h.
12612         (do_test): Adjust test case to ensure that pthread_getattr_np
12613         behaviour remains the same after marking stack executable.
12614
12615 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12616
12617         * sysdeps/unix/sysv/linux/kernel-features.h
12618         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12619         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12620         kernel-features.h.
12621         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12622         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12623         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12624         kernel-features.h.
12625         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12626         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12627
12628 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12629
12630         * configure.in: Define the default includes to being none.
12631         * configure: Regenerated.
12632
12633 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12634
12635         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12636         * sysdeps/x86_64/setjmp.S: Likewise.
12637         * sysdeps/i386/bsd-setjmp.S: Likewise.
12638         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12639         * sysdeps/i386/setjmp.S: Likewise.
12640         * sysdeps/i386/__longjmp.S: Likewise.
12641         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12642         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12643
12644         * include/stap-probe.h: New file.
12645         * configure.in: Handle --enable-systemtap.
12646         * configure: Regenerated.
12647         * config.h.in (USE_STAP_PROBE): New #undef.
12648         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12649         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12650         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12651
12652 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12653
12654         [BZ #13717]
12655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12656         to 2.4.0 where earlier.
12657         * sysdeps/unix/sysv/linux/configure: Regenerated.
12658         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12659         <kernel-features.h>.
12660         [__ASSUME_32BITUIDS]: Make code unconditional.
12661         [!__ASSUME_32BITUIDS]: Remove conditional code.
12662         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12663         <kernel-features.h>.
12664         [__ASSUME_32BITUIDS]: Make code unconditional.
12665         [!__ASSUME_32BITUIDS]: Remove conditional code.
12666         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12667         [__ASSUME_32BITUIDS]: Make code unconditional.
12668         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12669         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12670         <kernel-features.h>.
12671         [__ASSUME_32BITUIDS]: Make code unconditional.
12672         [!__ASSUME_32BITUIDS]: Remove conditional code.
12673         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12674         <kernel-features.h>.
12675         [__ASSUME_32BITUIDS]: Make code unconditional.
12676         [!__ASSUME_32BITUIDS]: Remove conditional code.
12677         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12678         <kernel-features.h>.
12679         [__ASSUME_32BITUIDS]: Make code unconditional.
12680         [!__ASSUME_32BITUIDS]: Remove conditional code.
12681         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12682         <kernel-features.h>.
12683         [__ASSUME_32BITUIDS]: Make code unconditional.
12684         [!__ASSUME_32BITUIDS]: Remove conditional code.
12685         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12686         <kernel-features.h>.
12687         [__ASSUME_32BITUIDS]: Make code unconditional.
12688         [!__ASSUME_32BITUIDS]: Remove conditional code.
12689         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12690         <kernel-features.h>.
12691         [__ASSUME_32BITUIDS]: Make code unconditional.
12692         [!__ASSUME_32BITUIDS]: Remove conditional code.
12693         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12694         <kernel-features.h>.
12695         [__ASSUME_32BITUIDS]: Make code unconditional.
12696         [!__ASSUME_32BITUIDS]: Remove conditional code.
12697         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12698         <kernel-features.h>.
12699         [__ASSUME_32BITUIDS]: Make code unconditional.
12700         [!__ASSUME_32BITUIDS]: Remove conditional code.
12701         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12702         <kernel-features.h>.
12703         [__ASSUME_32BITUIDS]: Make code unconditional.
12704         [!__ASSUME_32BITUIDS]: Remove conditional code.
12705         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12706         <kernel-features.h>.
12707         [__ASSUME_32BITUIDS]: Make code unconditional.
12708         [!__ASSUME_32BITUIDS]: Remove conditional code.
12709         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12710         <kernel-features.h>.
12711         [__NR_setresgid] (__setresgid): Do not declare.
12712         [__ASSUME_32BITUIDS]: Make code unconditional.
12713         [!__ASSUME_32BITUIDS]: Remove conditional code.
12714         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12715         <kernel-features.h>.
12716         [__NR_setresuid] (__setresuid): Do not declare.
12717         [__ASSUME_32BITUIDS]: Make code unconditional.
12718         [!__ASSUME_32BITUIDS]: Remove conditional code.
12719         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12720         <kernel-features.h>.
12721         [__ASSUME_32BITUIDS]: Make code unconditional.
12722         [!__ASSUME_32BITUIDS]: Remove conditional code.
12723         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12724         <kernel-features.h>.
12725         [__ASSUME_32BITUIDS]: Make code unconditional.
12726         [!__ASSUME_32BITUIDS]: Remove conditional code.
12727         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12728         <kernel-features.h>.
12729         [__ASSUME_32BITUIDS]: Make code unconditional.
12730         [!__ASSUME_32BITUIDS]: Remove conditional code.
12731         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12732         <kernel-features.h>.
12733         [__ASSUME_32BITUIDS]: Make code unconditional.
12734         [!__ASSUME_32BITUIDS]: Remove conditional code.
12735         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12736         <kernel-features.h>.
12737         [__ASSUME_32BITUIDS]: Make code unconditional.
12738         [!__ASSUME_32BITUIDS]: Remove conditional code.
12739         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12740         <kernel-features.h>.
12741         [__ASSUME_32BITUIDS]: Make code unconditional.
12742         [!__ASSUME_32BITUIDS]: Remove conditional code.
12743         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12744         <kernel-features.h>.
12745         [__ASSUME_32BITUIDS]: Make code unconditional.
12746         [!__ASSUME_32BITUIDS]: Remove conditional code.
12747         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12748         <kernel-features.h>.
12749         [__ASSUME_32BITUIDS]: Make code unconditional.
12750         [!__ASSUME_32BITUIDS]: Remove conditional code.
12751         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12752         <kernel-features.h>.
12753         [__ASSUME_32BITUIDS]: Make code unconditional.
12754         [!__ASSUME_32BITUIDS]: Remove conditional code.
12755         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12756         <kernel-features.h>.
12757         [__ASSUME_32BITUIDS]: Make code unconditional.
12758         [!__ASSUME_32BITUIDS]: Remove conditional code.
12759         * sysdeps/unix/sysv/linux/kernel-features.h
12760         (__ASSUME_SETRESUID_SYSCALL): Remove.
12761         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12762         (__ASSUME_32BITUIDS): Likewise.
12763         (__ASSUME_LDT_WORKS): Likewise.
12764         (__ASSUME_O_DIRECTORY): Likewise.
12765         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12766         architecture but not kernel version.
12767         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12768         (__ASSUME_MMAP2_SYSCALL): Likewise.
12769         (__ASSUME_STAT64_SYSCALL): Likewise.
12770         (__ASSUME_IPC64): Likewise.
12771         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12772         <kernel-features.h>.
12773         [__ASSUME_32BITUIDS]: Make code unconditional.
12774         [!__ASSUME_32BITUIDS]: Remove conditional code.
12775         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12776         <kernel-features.h>.
12777         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12778         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12779         132096]: Remove conditional code.
12780         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12781         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12782         <kernel-features.h>.
12783         [__ASSUME_32BITUIDS]: Make code unconditional.
12784         [!__ASSUME_32BITUIDS]: Remove conditional code.
12785         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12786         <kernel-features.h>.
12787         [__ASSUME_32BITUIDS]: Make code unconditional.
12788         [!__ASSUME_32BITUIDS]: Remove conditional code.
12789         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12790         <kernel-features.h>.
12791         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12792         unconditional.
12793         (__setresgid): Do not declare.
12794         [__ASSUME_32BITUIDS]: Make code unconditional.
12795         [!__ASSUME_32BITUIDS]: Remove conditional code.
12796         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12797         <kernel-features.h>.
12798         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12799         unconditional.
12800         (__setresuid): Do not declare.
12801         [__ASSUME_32BITUIDS]: Make code unconditional.
12802         [!__ASSUME_32BITUIDS]: Remove conditional code.
12803         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12804         <kernel-features.h>.
12805         [__ASSUME_32BITUIDS]: Make code unconditional.
12806         [!__ASSUME_32BITUIDS]: Remove conditional code.
12807         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12808         <kernel-features.h>.
12809         [__ASSUME_32BITUIDS]: Make code unconditional.
12810         [!__ASSUME_32BITUIDS]: Remove conditional code.
12811
12812 2012-05-25  Richard Henderson  <rth@twiddle.net>
12813
12814         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12815         dl_hwcap to ifunc resolver.
12816         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12817         elf_ifunc_invoke.
12818         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12819         dl_hwcap to ifunc resolver.
12820         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12821
12822 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12823
12824         [BZ #14153]
12825         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12826         for |x| <= 2**-26, not 2**-57.
12827         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12828         exception.
12829
12830 2012-05-24  Jeff Law  <law@redhat.com>
12831
12832         * stdio-common/Makefile (tests): Add bug25.
12833         * stdio-common/bug25.c: New test.
12834
12835 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12836
12837         [BZ #13576]
12838         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12839         multiple of MALLOC_ALIGNMENT in size.
12840         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12841
12842 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12843
12844         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12845         Require >= 256.
12846         (FILENAME_MAX): Use macro-int-constant.
12847         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12848         (_IOFBF): Use macro-int-constant.
12849         (_IOLBF): Likewise.
12850         (_IONBF): Likewise.
12851         (SEEK_CUR): Likewise.
12852         (SEEK_END): Likewise.
12853         (SEEK_SET): Likewise.
12854         (TMP_MAX): Likewise.
12855         (EOF): Use macro-int-constant.  Require < 0.
12856         (NULL): Use macro-constant.  Require == 0.
12857         (stdin): Require type to be FILE *.
12858         (stdout): Likewise.
12859         (stderr): Likewise.
12860         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12861         macro-int-constant.
12862         (EXIT_SUCCESS): Likewise.
12863         (NULL): Use macro-constant.  Require == 0.
12864         (RAND_MAX): Use macro-int-constant.
12865         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12866         [C99-based standards] (strtof): Require function.
12867         [C99-based standards] (strtold): Likewise.
12868         [C99-based standards] (strtoll): Likewise.
12869         [C99-based standards] (strtoull): Likewise.
12870         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12871         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12872         [ISO || ISO99 || ISO11] (math.h): Likewise.
12873         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12874         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12875         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12876
12877 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12878
12879         [BZ #14132]
12880         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12881         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12882         * intl/dgettext.c (DCGETTEXT): Likewise.
12883         * intl/gettext.c (DCGETTEXT): Likewise.
12884         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12885         * posix/regex_internal.h (gettext): Likewise.
12886         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12887         Remove declaration.
12888         * include/argz.h (__argz_count_internal)
12889         (__argz_stringify_internal): Remove declaration.
12890         (__argz_count, __argz_stringify): Declare hidden proto.
12891         * intl/dcgettext.c: Remove use of INTDEF.
12892         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12893         * string/argz-stringify.c: Likewise.
12894         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12895         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12896         Declare hidden proto.
12897         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12898         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12899         Declare hidden proto.
12900         * include/stdio.h (__asprintf_internal): Don't declare.
12901         (__asprintf): Don't define as macro.  Declare hidden proto.
12902         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12903         (__fsetlocking): Declare hidden proto.
12904         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12905         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12906         hidden proto.
12907         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12908         (_IO_setlinebuf): Remove use of INTUSE.
12909         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12910         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12911         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12912         Remove declaration.
12913         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12914         (_IO_do_flush): Remove use of INTUSE.
12915         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12916         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12917         (_IO_adjust_column, _IO_least_wmarker)
12918         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12919         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12920         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12921         (_IO_default_doallocate, _IO_wdefault_doallocate)
12922         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12923         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12924         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12925         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12926         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12927         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12928         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12929         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12930         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12931         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12932         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12933         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12934         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12935         proto.
12936         (_IO_flush_all_internal, _IO_adjust_column_internal)
12937         (_IO_default_uflow_internal, _IO_default_finish_internal)
12938         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12939         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12940         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12941         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12942         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12943         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12944         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12945         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12946         (_IO_file_close_internal, _IO_file_close_it_internal)
12947         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12948         (_IO_file_init_internal, _IO_file_attach_internal)
12949         (_IO_file_fopen_internal, _IO_file_read_internal)
12950         (_IO_file_sync_internal, _IO_file_seek_internal)
12951         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12952         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12953         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12954         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12955         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12956         (_IO_list_all_internal, _IO_link_in_internal)
12957         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12958         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12959         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12960         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12961         (_IO_do_write_internal, _IO_padn_internal)
12962         (_IO_getline_info_internal, _IO_getline_internal)
12963         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12964         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12965         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12966         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12967         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12968         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12969         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12970         with libc_hidden_ver, remove use of INTUSE.
12971         * libio/genops.c: Likewise.
12972         * libio/freopen.c: Likewise.
12973         * libio/freopen64.c: Likewise.
12974         * libio/iofclose.c: Likewise.
12975         * libio/iofdopen.c: Likewise.
12976         * libio/iofflush.c: Likewise.
12977         * libio/iofflush_u.c: Likewise.
12978         * libio/iofgets.c: Likewise.
12979         * libio/iofgets_u.c: Likewise.
12980         * libio/iofopen.c: Likewise.
12981         * libio/iofopncook.c: Likewise.
12982         * libio/iofread.c: Likewise.
12983         * libio/iofread_u.c: Likewise.
12984         * libio/ioftell.c: Likewise.
12985         * libio/iofwrite.c: Likewise.
12986         * libio/iogetline.c: Likewise.
12987         * libio/iogets.c: Likewise.
12988         * libio/iogetwline.c: Likewise.
12989         * libio/iopadn.c: Likewise.
12990         * libio/iopopen.c: Likewise.
12991         * libio/ioseekoff.c: Likewise.
12992         * libio/ioseekpos.c: Likewise.
12993         * libio/iosetbuffer.c: Likewise.
12994         * libio/iosetvbuf.c: Likewise.
12995         * libio/ioungetc.c: Likewise.
12996         * libio/ioungetwc.c: Likewise.
12997         * libio/iovdprintf.c: Likewise.
12998         * libio/iovsprintf.c: Likewise.
12999         * libio/iovsscanf.c: Likewise.
13000         * libio/memstream.c: Likewise.
13001         * libio/obprintf.c: Likewise.
13002         * libio/oldfileops.c: Likewise.
13003         * libio/oldiofclose.c: Likewise.
13004         * libio/oldiofdopen.c: Likewise.
13005         * libio/oldiofopen.c: Likewise.
13006         * libio/oldiopopen.c: Likewise.
13007         * libio/oldstdfiles.c: Likewise.
13008         * libio/putc.c: Likewise.
13009         * libio/setbuf.c: Likewise.
13010         * libio/setlinebuf.c: Likewise.
13011         * libio/stdfiles.c: Likewise.
13012         * libio/strops.c: Likewise.
13013         * libio/vasprintf.c: Likewise.
13014         * libio/vscanf.c: Likewise.
13015         * libio/vsnprintf.c: Likewise.
13016         * libio/vswprintf.c: Likewise.
13017         * libio/wfiledoalloc.c: Likewise.
13018         * libio/wfileops.c: Likewise.
13019         * libio/wgenops.c: Likewise.
13020         * libio/wmemstream.c: Likewise.
13021         * libio/wstrops.c: Likewise.
13022         * libio/__fpurge.c: Likewise.
13023         * libio/__fsetlocking.c: Likewise.
13024         * assert/assert.c: Likewise.
13025         * debug/fgets_chk.c: Likewise.
13026         * debug/fgets_u_chk.c: Likewise.
13027         * debug/fread_chk.c: Likewise.
13028         * debug/fread_u_chk.c: Likewise.
13029         * debug/gets_chk.c: Likewise.
13030         * debug/obprintf_chk.c: Likewise.
13031         * debug/vasprintf_chk.c: Likewise.
13032         * debug/vdprintf_chk.c: Likewise.
13033         * debug/vsnprintf_chk.c: Likewise.
13034         * debug/vsprintf_chk.c: Likewise.
13035         * malloc/mtrace.c: Likewise.
13036         * misc/error.c: Likewise.
13037         * misc/syslog.c: Likewise.
13038         * stdio-common/asprintf.c: Likewise.
13039         * stdio-common/fxprintf.c: Likewise.
13040         * stdio-common/getw.c: Likewise.
13041         * stdio-common/isoc99_fscanf.c: Likewise.
13042         * stdio-common/isoc99_scanf.c: Likewise.
13043         * stdio-common/isoc99_vfscanf.c: Likewise.
13044         * stdio-common/isoc99_vscanf.c: Likewise.
13045         * stdio-common/isoc99_vsscanf.c: Likewise.
13046         * stdio-common/printf-prs.c: Likewise.
13047         * stdio-common/printf_fp.c: Likewise.
13048         * stdio-common/printf_fphex.c: Likewise.
13049         * stdio-common/printf_size.c: Likewise.
13050         * stdio-common/putw.c: Likewise.
13051         * stdio-common/scanf.c: Likewise.
13052         * stdio-common/sprintf.c: Likewise.
13053         * stdio-common/tmpfile.c: Likewise.
13054         * stdio-common/vfprintf.c: Likewise.
13055         * stdio-common/vfscanf.c: Likewise.
13056         * stdlib/strfmon_l.c: Likewise.
13057         * sunrpc/openchild.c: Likewise.
13058         * sunrpc/xdr_stdio.c: Likewise.
13059         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13060         * sysdeps/mach/hurd/tmpfile.c: Likewise.
13061
13062 2012-05-24  Roland McGrath  <roland@hack.frob.com>
13063
13064         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13065
13066         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13067         in the third column, to generate for the shared library an IFUNC
13068         that uses _dl_vdso_vsym.
13069         * Makerules (COMPILE.c, compile-stdin.c): New variables.
13070         * Makeconfig (object-suffixes-noshared): New variable.
13071
13072         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13073         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13074         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13075         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13076
13077         [BZ #14132]
13078         * include/sys/time.h (__gettimeofday): Remove macro.
13079         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13080         * time/gettimeofday.c (__gettimeofday): Remove #undef.
13081         Remove INTDEF.
13082         (__gettimeofday): Add libc_hidden_def.
13083         (gettimeofday): Add libc_hidden_weak.
13084         * sysdeps/mach/gettimeofday.c: Likewise.
13085         * sysdeps/posix/gettimeofday.c: Likewise.
13086         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13087         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13089         (__gettimeofday_internal): Remove strong_alias.
13090         (__gettimeofday): Add libc_hidden_def.
13091         (gettimeofday): Add libc_hidden_weak.
13092         * sysdeps/unix/syscalls.list (gettimeofday):
13093         Remove __gettimeofday_internal alias.
13094
13095 2012-05-24  Daniel Jacobowitz  <drow@false.org>
13096             H.J. Lu  <hongjiu.lu@intel.com>
13097
13098         [BZ #12495]
13099         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13100         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13101         (largebin_index_32_big): New.
13102         (largebin_index): Use it for 16-byte alignment.
13103         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
13104         correction with front_misalign.
13105
13106 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13107
13108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13110         Likewise.
13111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13112         Likewise.
13113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13114         Likewise.
13115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13116         Likewise.
13117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13118         Likewise.
13119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13120         Likewise.
13121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13122         Likewise.
13123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13124         Likewise.
13125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13126         Likewise.
13127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13128         Likewise.
13129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13130         Likewise.
13131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13132         Likewise.
13133
13134         * scripts/data/c++-types-x32-linux-gnu.data: New file.
13135         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13136
13137 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13138
13139         [BZ #10846]
13140         [BZ #14036]
13141         * math/libm-test.inc (exp_test): Add test from bug 14036.
13142         (pow_test): Add test from bug 10846.
13143
13144         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13145         and other flags.
13146         (special_function): Do not include flags in test name.
13147         (parse_args): Likewise.
13148         * sysdeps/i386/fpu/libm-test-ulps: Update.
13149         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13150         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13151         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13153
13154         * math/gen-libm-test.pl (%beautify): Add entries for underflow
13155         exceptions.
13156         * math/libm-test.inc ("Philosophy"): Update comment about
13157         exception testing.
13158         (UNDERFLOW_EXCEPTION): New macro.
13159         (UNDERFLOW_EXCEPTION_OK): Likewise.
13160         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13161         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13162         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13163         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13164         (INVALID_EXCEPTION_OK): Update value.
13165         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13166         (OVERFLOW_EXCEPTION_OK): Likewise.
13167         (IGNORE_ZERO_INF_SIGN): Likewise.
13168         (test_exceptions): Handle underflow exceptions.
13169         (acos_test): Update for underflow exception expectations.
13170         (cexp_test): Likewise.
13171         (clog_test): Likewise.
13172         (clog10_test): Likewise.
13173         (csqrt_test): Likewise.
13174         (ctan_test): Likewise.
13175         (ctanh_test): Likewise.
13176         (exp_test): Likewise.
13177         (exp10_test): Likewise.
13178         (exp2_test): Likewise.
13179         (expm1_test): Likewise.
13180         (fma_test): Likewise.
13181         (j0_test): Likewise.
13182         (jn_test): Likewise.
13183         (nexttoward_test): Likewise.
13184         (pow_test): Likewise.
13185         (scalbn_test): Likewise.
13186         (scalbln_test): Likewise.
13187         (tan_test): Likewise.
13188         (y1_test): Likewise.
13189         * sysdeps/i386/fpu/libm-test-ulps: Update.
13190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191
13192 2012-05-23  David S. Miller  <davem@davemloft.net>
13193
13194         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13195         (__libc_sigaction): Remove unused local variables.
13196
13197 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13198
13199         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13200
13201 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13202
13203         mktime: avoid signed integer overflow
13204         * time/mktime.c (__mktime_internal): Do not mishandle the case
13205         where diff == INT_MIN.
13206
13207         mktime: simplify computation of average
13208         * time/mktime.c (ranged_convert): Use new time_t_avg function
13209         instead of rolling our own (probably-slower) code.
13210
13211         mktime: do not assume signed right shift propagates sign bit
13212         * time/mktime.c (isdst_differ): New static function.
13213         (__mktime_internal): No need to normalize tm_isdst now.
13214         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13215         tm_isdst values.
13216
13217         mktime: merge another wrapv change from gnulib
13218         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13219         from some compilers.
13220
13221         mktime: remove incorrect attempt at unusual arithmetics
13222         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13223         The code didn't really work on such machines anyway.
13224         (TYPE_MINIMUM): Assume two's complement.
13225         (twos_complement_arithmetic): Verify that long_int and time_t
13226         are two's complement (or unsigned, in the latter case).
13227
13228         mktime: check signed shifts on long_int and time_t, too
13229         * time/mktime.c (SHR): Check that shifts work as desired
13230         on the types long_int and time_t too, as SHR is used on
13231         such types.
13232
13233         mktime: do not assume 'long' is wide enough
13234         * time/mktime.c (verify): Move decl up.
13235         (long_int): New type.
13236         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13237         to remove assumption in the code that 'long' is wide enough to
13238         store year values.  This assumption is not true on x32 and on
13239         some non-glibc platforms.
13240
13241         mktime: merge wrapv change from gnulib
13242         * time/mktime.c (WRAPV): New macro.
13243         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13244         (guess_time_tm, __mktime_internal): Do not assume that signed
13245         integer overflow wraps around; modern compilers generate code
13246         where this assumption is no longer valid.
13247
13248 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13249
13250         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13251         Replace "jmp L(pseudo_end)" with "ret".
13252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13253         Likewise.
13254
13255 2012-05-23  Andreas Jaeger  <aj@suse.de>
13256
13257         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13258         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13259
13260 2012-05-23  Andreas Jaeger  <aj@suse.de>
13261             Maximilian Attems  <max@stro.at>
13262
13263         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13264         New macros.
13265
13266 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13267
13268         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13269         code so that pseudo_end is just ret and the stack pointer is
13270         correct also for static library in error case.
13271
13272 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13273
13274         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13275         move to syscalls.list.
13276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13280
13281         * manual/install.texi (Running make install): Do not mention Linux
13282         kernel version for which pt_chown is not needed.
13283         (Linux): Do not mention problems with nscd with 2.0 kernels.
13284         * INSTALL: Regenerated.
13285
13286 2012-05-23  Andreas Jaeger  <aj@suse.de>
13287
13288         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13289         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13290         macro.
13291         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13292         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13293         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13294         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13295         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13296         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13298         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13299         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13300         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13301         * sysdeps/unix/sysv/linux/bits/in.h
13302         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13303
13304 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13305
13306         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13307         (PREPARE_VERSION): Just use assert instead, it will be elided
13308         under [NDEBUG] anyway.
13309
13310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13311
13312         * sysdeps/unix/sysv/linux/Makefile: Include
13313         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13314         (sysdep_routines): Remove sysctl.
13315         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13316         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13317         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13318         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13319         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13320
13321 2012-05-22  Andreas Jaeger  <aj@suse.de>
13322
13323         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13324         that pseudo_end is just ret and the stack pointer is correct also
13325         for static library in error case.
13326
13327 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13328
13329         [BZ #14122]
13330         * nss/nsswitch.c (defconfig_entries): New variable.
13331         (__nss_database_lookup): Don't leak defconfig entries.
13332         (nss_parse_service_list): Don't leak on error paths.
13333         (free_database_entries): New function.
13334         (free_defconfig): New function.
13335         (free_mem): Move common code to free_database_entries.
13336
13337 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13338
13339         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13340         Add arch_prctl.
13341         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13342
13343         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13344         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13346         New macro.
13347         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13348         (INTERNAL_SYSCALL_TYPES): Likewise.
13349         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13350         (LOAD_REGS_TYPES_[1-6]): Likewise.
13351         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13352         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13353
13354 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13355
13356         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13357         copysignl for GLIBC_2_0.
13358         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13359         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13361         logbl for GLIBC_2_0.
13362         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13363         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13364
13365 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13366
13367         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13368         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13369
13370         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13371         Use "neg %eax".
13372
13373         * time/mktime.c: Update copyright years.
13374
13375 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13376
13377         mktime: merge comment-quoting-style change from gnulib
13378         * time/mktime.c: Quote 'like this' in comments.
13379         The GNU coding standards suggest that we no longer quote `like this',
13380         as "`" and "'" are typically rendered asymmetrically nowadays.
13381         The typical gnulib style is to quote 'like this' when quoting
13382         code, and "like this" when quoting English.
13383
13384         * time/mktime.c (compile-command): Add "-I.".
13385
13386         mktime: merge mktime-internal.h change from gnulib
13387         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13388
13389         mktime: merge time_r change from gnulib
13390         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13391
13392         mktime: merge DEBUG change from gnulib
13393         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13394         case system <time.h> has a #define.
13395
13396         mktime: merge <sys/types.h> change from gnulib
13397         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13398         since <time.t> is now guaranteed to define time_t.
13399
13400         mktime: merge HAVE_CONFIG_H change from gnulib
13401         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13402
13403 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13404
13405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13406         Use "neg %eax".
13407
13408         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13409         __rlim_t cast.
13410         (struct rusage): Use anonymous union to pad each field to
13411         __syscall_slong_t.
13412
13413 2012-05-21  David S. Miller  <davem@davemloft.net>
13414
13415         * Makefules (o-iterator): Remove .s cases.
13416         (compile-command.s): Delete.
13417         (COMPILE.s): Delete.
13418         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13419
13420 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13421
13422         * configure.in (libc_cv_predef_stack_protector): Only consider
13423         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13424         * configure: Regenerated.
13425
13426 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13427
13428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13429         New macro.  Use R*LP on int and pointer.
13430         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13431         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13432         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13433         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13434
13435         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13436         [__WORDSIZE_TIME64_COMPAT32] instead of
13437         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13438         (struct utmp): Likewise.
13439         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13440         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13441         Renamed to ...
13442         (__WORDSIZE_TIME64_COMPAT32): This.
13443         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13444         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13445         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13446         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13447         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13448         (__WORDSIZE_TIME64_COMPAT32): New macro.
13449
13450 2012-05-21  Andreas Jaeger  <aj@suse.de>
13451
13452         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13453         only if [SHARED]. Add prototype for __wcschr_ia32.
13454
13455 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13456
13457         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13458         of %rbp unmolested in the jmp_buf while mangling the low bits.
13459         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13460         unmolested high bits of %rbp while demangling the low bits.
13461         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13462
13463 2012-05-21  Andreas Jaeger  <aj@suse.de>
13464
13465         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13466         * sunrpc/svc_simple.c: Use it for registerrpc.
13467         * sunrpc/xcrypt.c: Use it for passwd2des.
13468
13469         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13470
13471 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13472
13473         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13474         Don't define if [__SYSCALL_WORDSIZE != 32].
13475         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13476         New macro.
13477
13478 2012-05-21  Bruno Haible  <bruno@clisp.org>
13479             Andreas Jaeger  <aj@suse.de>
13480
13481         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13482         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13483         inptr and inend for must_buffer_ch.
13484         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13485         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13486         * stdio-common/Makefile (tests): Remove bug15.
13487         (bug15-ENV): Remove macro.
13488         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13489         anymore.
13490
13491 2012-05-19  Andreas Jaeger  <aj@suse.de>
13492             Roland McGrath  <roland@hack.frob.com>
13493
13494         * manual/contrib.texi: Completely rewritten. It contains now an
13495         alphabetical list of contributors and their contributions.
13496
13497 2012-05-21  Richard Henderson  <rth@twiddle.net>
13498
13499         * misc/getauxval.c (__getauxval): Use unsigned long int.
13500         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13501         (getauxval): Use unsigned long int.
13502
13503 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13504
13505         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13506
13507 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13508
13509         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13510         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13511         __alignof__ (long double).
13512
13513 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13514
13515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13516
13517 2012-05-20  Richard Henderson  <rth@twiddle.net>
13518
13519         * misc/getauxval.c: New file.
13520         * misc/sys/auxv.h: New file.
13521         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13522         (routines): Add getauxval.
13523         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13524         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13525         * elf/dl-sysdep.c (_dl_auxv): Remove.
13526         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13527         * elf/dl-support.c (_dl_auxv): New variable.
13528         (_dl_aux_init): Initialize it.
13529         * manual/startup.texi (Auxiliary Vector): New node.
13530         * sysdeps/generic/bits/hwcap.h: New file.
13531         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13532         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13533         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13534         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13535         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13536         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13538         Update.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13547
13548 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13549
13550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551
13552 2012-05-19  David S. Miller  <davem@davemloft.net>
13553
13554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13555
13556 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13557
13558         [BZ #14123]
13559         * math/s_ccosh.c: Include <float.h>
13560         (__ccosh): Avoid internal overflow calculating sinh and cosh
13561         values before multiplying by sin and cos values.
13562         * math/s_ccoshf.c: Likewise.
13563         * math/s_ccoshl.c: Likewise.
13564         * math/s_csin.c: Likewise.
13565         * math/s_csinf.c: Likewise.
13566         * math/s_csinl.c: Likewise.
13567         * math/s_csinh.c: Likewise.
13568         * math/s_csinhf.c: Likewise.
13569         * math/s_csinhl.c: Likewise.
13570         * math/libm-test.inc (ccos_test): Add more tests.
13571         (ccosh_test): Likewise.
13572         (csin_test): Likewise.
13573         (csinh_test): Likewise.
13574         * sysdeps/i386/fpu/libm-test-ulps: Update.
13575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13576
13577 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13578
13579         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13580         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13581
13582         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13583
13584 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13585
13586         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13587         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13588         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13589         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13590         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13591         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13592         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13593         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13594         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13595         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13596         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13597         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13598         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13599         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13600         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13601         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13602         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13603         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13604         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13605         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13606         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13607         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13608         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13609         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13610         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13611         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13612         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13613         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13614         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13615         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13616         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13617
13618 2012-05-18  Andreas Jaeger  <aj@suse.de>
13619
13620         * csu/.gitignore: Delete.
13621
13622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13623
13624         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13625         (timex): Use __syscall_slong_t.
13626
13627 2012-05-18  Andreas Jaeger  <aj@suse.de>
13628             Carlos O'Donell  <carlos_odonell@mentor.com>
13629
13630         * manual/install.texi (Configuring and compiling): Update
13631         description about files modified in the source directory.
13632         * INSTALL: Regenerated.
13633
13634 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13635
13636         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13637         value.  Use "or" to set return value to -1.
13638         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13639         negate return value.
13640
13641 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13642
13643         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13644         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13645         failure if the compiler has Graphite support disabled.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13647         Likewise.
13648         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13649         CFLAGS-memmove.c): Likewise.
13650         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13651         Likewise.
13652
13653 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13654
13655         * sysdeps/x86_64/x32/_itoa.h: New file.
13656
13657         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13658         getdents system call only if kernel and user dirents have the
13659         same d_ino and d_off.
13660
13661         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13662         LLONG_MAX != LONG_MAX.
13663         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13664         (_fitoa_word): Likewise.
13665
13666         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13667         years.
13668         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13669         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13670         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13671
13672         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13673         include <bits/wordsize.h>.  Check __x86_64__ instead of
13674         __WORDSIZE.
13675         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13676         if __x86_64__ is defined.  Use anonymous union on fpstate.
13677
13678         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13679         anonymous union.
13680
13681 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13682
13683         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13684         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13685         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13686         Refer to _rtld_local_ro instead of _rtld_global_ro.
13687         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13688         Likewise.
13689         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13690         Likewise.
13691         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13692         Likewise.
13693         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13694         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13695         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13696
13697         * sysdeps/powerpc/powerpc32/dl-machine.c
13698         (__elf_machine_runtime_setup) [PROF]: Don't reference
13699         _dl_prof_resolve.
13700
13701 2012-05-18  Andreas Jaeger  <aj@suse.de>
13702
13703         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13704         function only available for GCCs before 3.4 since GCC 3.4
13705         introduced a builtin.
13706         (lrint): Likewise.
13707         (llrintf): Likewise.
13708         (llrint): Likewise.
13709         (fmaxf): Likewise.
13710         (fmax): Likewise.
13711         (fminf): Likewise.
13712         (fmin): Likewise.
13713         (rint): Likewise.
13714         (rintf): Likewise.
13715         (nearbyint): Likewise.
13716         (nearbyintf): Likewise.
13717         (ceil): Likewise.
13718         (ceilf): Likewise.
13719         (floor): Likewise.
13720         (floorf): Likewise.
13721
13722 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13723
13724         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13725         on both fields and cast pointer to __syscall_ulong_t.
13726
13727         * bits/types.h (__fsword_t): New type.
13728         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13729         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13731         (__FSWORD_T_TYPE): Likewise.
13732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13733         (__FSWORD_T_TYPE): Likewise.
13734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13735         (__FSWORD_T_TYPE): Likewise.
13736         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13737         (__FSWORD_T_TYPE): Likewise.
13738         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13739         __SWORD_TYPE with __fsword_t.
13740         (statfs64): Likewise.
13741
13742 2012-05-17  David S. Miller  <davem@davemloft.net>
13743
13744         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13745
13746 2012-05-17  Andreas Jaeger  <aj@suse.de>
13747
13748         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13749         warning.
13750
13751 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13752
13753         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13754
13755 2012-05-17  Andreas Jaeger  <aj@suse.de>
13756
13757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13758         when it is used.
13759
13760 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13761
13762         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13763
13764 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13765
13766         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13767         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13768
13769 2012-05-17  Andreas Jaeger  <aj@suse.de>
13770             Carlos O'Donell  <carlos_odonell@mentor.com>
13771
13772         [BZ #14059]
13773         * sysdeps/x86_64/multiarch/init-arch.h
13774         (bit_YMM_Usable): Rename to...
13775         (bit_AVX_Usable): ... this.
13776         (bit_FMA4_Usable): New macro.
13777         (bit_XMM_state): New macro.
13778         (bit_YMM_state): New macro.
13779         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13780         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13781         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13782         (CPUID_OSXSAVE): New macro.
13783         (CPUID_AVX): New macro.
13784         (CPUID_FMA4): New macro.
13785         (index_YMM_Usable): Rename to...
13786         (index_AVX_Usable): ... this.
13787         (HAS_AVX): Use HAS_ARCH_FEATURE.
13788         (HAS_FMA4): Likewise.
13789         (HAS_YMM_USABLE): Remove.
13790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13791         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13792         are present.
13793         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13794         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13795         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13796         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13797         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13798
13799 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13800
13801         * math/libm-test.c: Support platforms without multiple rounding modes.
13802         * math/bug-nextafter.c: Support platforms without FP exceptions.
13803         * math/bug-nexttoward.c: Likewise.
13804         * math/test-fenv.c: Likewise.
13805         * math/test-misc.c: Likewise.
13806         * stdlib/bug-getcontext.c: Likewise.
13807
13808 2012-05-17  Andreas Jaeger  <aj@suse.de>
13809
13810         * manual/examples/search.c (critter_cmp): Change signature to
13811         avoid warnings.
13812         * manual/string.texi (Collation Functions): Likewise.
13813
13814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13815
13816         * bits/types.h: Fold copyright years.
13817         * bits/typesizes.h: Likewise.
13818         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13822         * time/time.h: Likewise.
13823
13824 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13825
13826         [BZ #208]
13827         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13828         in instead of returning them.  Return void.
13829         (__libc_mallinfo): Accumulate over all arenas.
13830         (__malloc_stats): Adjust for change in int_mallinfo interface.
13831
13832 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13833
13834         [BZ #10375]
13835         * configure.in (NM): Add AC_CHECK_TOOL for it.
13836         (libc_extra_cflags): New substituted variable.
13837         Check for -fstack-protector being used implicitly.
13838         * configure: Regenerated.
13839         * config.make.in (config-extra-cflags): New variable,
13840         gets @libc_extra_cflags@.
13841         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13842
13843         [BZ #10375]
13844         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13845         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13846         * configure: Regenerated.
13847         * config.make.in (CPPUNDEFS): New substituted variable.
13848         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13849         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13850         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13851
13852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13853
13854         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13855         (mq_attr): Use __syscall_slong_t.
13856
13857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13858
13859         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13860         Check __x86_64__ instead of __WORDSIZE.
13861         (_STAT_VER_LINUX): Likewise.
13862         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13863         __syscall_ulong_t and __syscall_slong_t.
13864         (stat64): Likewise.
13865
13866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13867
13868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13869
13870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13871
13872         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13873
13874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13875
13876         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13877         __syscall_ulong_t.
13878
13879         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13880         include <bits/wordsize.h>.  Check __x86_64__ instead of
13881         __WORDSIZE.
13882         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13883         defined.
13884         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13885
13886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13887         include <bits/wordsize.h>.  Check __x86_64__ instead of
13888         __WORDSIZE.
13889         (user_regs_struct): Use "__extension__ unsigned long long"
13890         instead of "unsigned long" if __x86_64__ is defined.
13891         (user): Likewise.  Pad after pointer field if __ILP32__ is
13892         defined.
13893
13894 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13895
13896         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13897         versions 5 to 9.
13898         * configure: Regenerated.
13899         * manual/install.texi (texinfo): Increase version requirement to
13900         4.5 or later.
13901         * INSTALL: Regenerated.
13902
13903         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13904
13905 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13906
13907         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13908
13909         * sysdeps/x86_64/x32/ffs.c: New file.
13910
13911         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13912         __syscall_ulong_t.
13913         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13914         defined.  Use __syscall_ulong_t.
13915         (shminfo): Use __syscall_ulong_t.
13916         (shm_info): Likewise.
13917
13918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13919         __syscall_ulong_t.
13920
13921         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13922         <bits/wordsize.h>.
13923         (msgqnum_t): Use __syscall_ulong_t.
13924         (msglen_t): Likewise.
13925         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13926         __syscall_ulong_t.
13927
13928         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13929         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13930
13931         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13932
13933         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13934         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13935
13936         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13937         __syscall_slong_t.
13938
13939         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13940         include <bits/wordsize.h>.  Check __x86_64__ instead of
13941         __WORDSIZE.
13942
13943         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13944         "unsigned long long int" if __x86_64__ is defined.
13945         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13946
13947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13948         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13949         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13950
13951         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13952         <stdint.h>.
13953         (GET_PC): Cast to uintptr_t first.
13954         (GET_FRAME): Likewise.
13955         (GET_STACK): Likewise.
13956
13957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13963         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13964         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13965         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13969         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13986
13987 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13988
13989         * Makerules (+depfiles): Also collect depfiles from .oS in
13990         $(extra-objs).
13991         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13992         .oS, $(libnldbl-routines)).
13993
13994         * Makerules (native-compile-mkdep-flags): Define.
13995         * sunrpc/Makefile (extra-objs): Add $(addprefix
13996         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13997         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13998         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13999         calling $(make-target-directory).
14000
14001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14002
14003         * bits/types.h (__snseconds_t): Removed.
14004         * time/time.h (struct timespec): Replace __snseconds_t with
14005         __syscall_slong_t.
14006         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14007         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14008         Likewise.
14009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14010         (__SNSECONDS_T_TYPE): Likewise.
14011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14012         (__SNSECONDS_T_TYPE): Likewise.
14013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14014         (__SNSECONDS_T_TYPE): Likewise.
14015
14016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14017
14018         * sysdeps/mach/hurd/bits/typesizes.h
14019         (__SYSCALL_SLONG_TYPE): New macro.
14020         (__SYSCALL_ULONG_TYPE): Likewise.
14021
14022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14023
14024         * bits/types.h (__syscall_slong_t): New type.
14025         (__syscall_ulong_t): Likewise.
14026
14027         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14028         (__SYSCALL_ULONG_TYPE): Likewise.
14029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14030         (__SYSCALL_SLONG_TYPE): Likewise.
14031         (__SYSCALL_ULONG_TYPE): Likewise.
14032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14033         (__SYSCALL_SLONG_TYPE): Likewise.
14034         (__SYSCALL_ULONG_TYPE): Likewise.
14035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14036         (__SYSCALL_SLONG_TYPE): Likewise.
14037         (__SYSCALL_ULONG_TYPE): Likewise.
14038
14039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14040
14041         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14042         Add sigaltstack-offsets.sym.
14043         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14044         <sigaltstack-offsets.h>.
14045         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
14046         longjmp_msg pointer.
14047         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
14048         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14049         signal stack.
14050         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14051
14052 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14053
14054         * elf/stackguard-macros.h: Remove file.
14055         * sysdeps/generic/stackguard-macros.h: New file.
14056         * sysdeps/i386/stackguard-macros.h: Likewise.
14057         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14058         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14059         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14060         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14061         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14062         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14063         * sysdeps/x86_64/stackguard-macros.h: Likewise.
14064         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14065         <elf/stackguard-macros.h>.
14066
14067         [BZ #14109]
14068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14069         __aligned__ in attribute.
14070         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14071         (gregset_t): Likewise.
14072
14073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14074
14075         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14076         * sysdeps/x86_64/64/Implies-after: Here.  New file.
14077         * sysdeps/x86_64/x32/Implies-after: New file.
14078
14079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14080
14081         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14082         and access return value for _dl_profile_fixup.  Use R10_LP to
14083         load frame size.
14084
14085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14086
14087         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14088
14089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14090
14091         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14092         * sysdeps/x86_64/x32/sysdep.h: New file.
14093
14094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14095
14096         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14097         * sysdeps/x86_64/setjmp.S: Likewise.
14098
14099 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14100
14101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14102         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14103         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14104         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14105         remove unused global constant.
14106
14107 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
14108
14109         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14110         include of <not-cancel.h>.
14111
14112 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14113
14114         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14115
14116 2012-05-15  Jeff Law  <law@redhat.com>
14117             Andreas Jaeger  <aj@suse.de>
14118
14119         [BZ #13594]
14120         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14121         out from...
14122         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14123         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14124         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14125         code changing __hst_map_handle.map.
14126
14127 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14128
14129         * configure.in (sysnames): Look for Implies-before and Implies-after
14130         files.
14131         * configure: Regenerated.
14132
14133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14134
14135         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14136         8-byte data alignment with LP_SIZE alignment.
14137
14138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14139
14140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14141         into R10_LP.
14142
14143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14144
14145         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14146
14147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14148
14149         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14150         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14152         Likewise.
14153         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14154
14155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14156
14157         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14158         (stackinfo_sub_sp): Likewise.
14159
14160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14161
14162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14163         RAX_LP.
14164
14165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14166
14167         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14168         into R*_LP.
14169
14170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14171
14172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14173         sizes into R*_LP.
14174
14175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14176
14177         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14178
14179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14180
14181         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14182         into R11_LP and load __x86_64_shared_cache_size_half into
14183         R8_LP.
14184
14185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14186
14187         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14188         R8_LP.
14189
14190 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14191
14192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14193         logb for POWER7.
14194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14195         logbf for POWER7.
14196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14197         logbl for POWER7.
14198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14199         powerpc32/power7/fpu/s_logb.c via #include.
14200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14201         powerpc32/power7/fpu/s_logbf.c via #include.
14202         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14203         powerpc32/power7/fpu/s_logbl.c via #include.
14204
14205 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14206
14207         * README.libm: Remove file.
14208
14209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14210
14211         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14212         count for x32.  Use R*_LP and omit operand-size suffix.
14213
14214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14215
14216         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14217         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14218         * sysdeps/x86_64/x32/shlib-versions: New file.
14219
14220 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14221
14222         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14223         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14224         Use _dl_fatal_printf instead.
14225
14226 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14227
14228         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14229         set if not set by the user.  Do not allow for being unset.
14230         * sysdeps/unix/sysv/linux/configure: Regenerated.
14231
14232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14233
14234         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14235         the `q' suffix from lea and replace .quad with ASM_ADDR.
14236
14237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14238
14239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14240         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14241         instead of $17.
14242         (PTR_DEMANGLE): Likewise.
14243
14244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14245
14246         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14247         (LP_OP): Likewise.
14248         (ASM_ADDR): Likewise.
14249         (RAX_LP): Likewise.
14250         (RBP_LP): Likewise.
14251         (RBX_LP): Likewise.
14252         (RCX_LP): Likewise.
14253         (RDI_LP): Likewise.
14254         (RSI_LP): Likewise.
14255         (RSP_LP): Likewise.
14256         (R8_LP): Likewise.
14257         (R9_LP): Likewise.
14258         (R10_LP): Likewise.
14259         (R10_LP): Likewise.
14260         (R11_LP): Likewise.
14261         (R12_LP): Likewise.
14262         (R13_LP): Likewise.
14263         (R14_LP): Likewise.
14264         (R15_LP): Likewise.
14265
14266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14267
14268         * sysdeps/x86_64/x32/dl-machine.h: New file.
14269
14270 2012-05-14  Andreas Jaeger  <aj@suse.de>
14271
14272         * manual/Makefile (subdir): Remove export of subdir.
14273         (all): Remove target.
14274         (.PHONY): Remove all from list.
14275         (mkinstalldirs): Remove.
14276         (.PHONY): Remove installdirs from list.
14277         ($(inst_infodir)/libc.info): Use make-target-directory.
14278         (installdirs): Remove.
14279         (subdir_%): Remove.
14280         (glibc-targets): Remove.
14281         (lib): Remove.
14282         (stubs): Remove.
14283         ($(objpfx)stubs ../po/manual.pot): Remove.
14284         ($(objpfx)stamp%): Remove.
14285         (make-target-directory): Remove.
14286         (subdir_install): Remove.
14287         (routines): Remove.
14288         (aux): Remove.
14289         (sources): Remove.
14290         (objects): Remove.
14291         (headers): Remove.
14292
14293         [BZ #13750]
14294         * manual/.gitignore: Remove, it's not needed anymore.
14295         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14296         all files in it.
14297         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14298         directory.
14299         (texis): Renamed to $(objpfx)texis.
14300         (texis-path): New, contains path to generated files.
14301         (chapters.%): Use texis-path for complete path, add extra argument
14302         libc-texinfo.sh.
14303         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14304         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14305         (summary,texi, stamp-summary): Use complete path of
14306         files. Generate files in build dir.
14307         (dir-add.texi): Build in build dir.
14308         (libm-err.texi,stamp-libm-err): Likewise.
14309         (version.texi, stamp-version): Likewise.
14310         (.%c.texi): Likewise.
14311         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14312         (mostlyclean): Remove target.
14313         (realclean): Remove target.
14314         (generated): Add new variable with contents from mostlyclean and
14315         realclean, remove entries duplicated in common-mostlyclean, add
14316         stamp-libm-err and stamp-version.
14317         (generated-dirs): Add libc directory.
14318         ($(inst_infodir)/libc.info): Install files from build dir.
14319
14320         * manual/install.texi (Configuring and compiling): Adjust since
14321         the info files are not part of the tar ball anymore.
14322
14323 2012-05-14  Andreas Jaeger  <aj@suse.de>
14324
14325         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14326         variable.
14327
14328 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14329
14330         [BZ #13717]
14331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14332         to 2.2.0 where earlier.
14333         * sysdeps/unix/sysv/linux/configure: Regenerated.
14334         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14335         Remove conditional code.
14336         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14337         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14338         Remove conditional code.
14339         [!__NR_lchown]: Likewise.
14340         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14341         [__NR_lchown]: Likewise.
14342         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14343         comment referencing __ASSUME_LCHOWN_SYSCALL.
14344         * sysdeps/unix/sysv/linux/i386/sigaction.c
14345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14348         Remove conditional code.
14349         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14350         (__protocol_available): Remove #if 0 code.
14351         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14352         conditional code.
14353         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14354         * sysdeps/unix/sysv/linux/kernel-features.h
14355         (__ASSUME_GETCWD_SYSCALL): Don't define.
14356         (__ASSUME_REALTIME_SIGNALS): Likewise.
14357         (__ASSUME_PREAD_SYSCALL): Likewise.
14358         (__ASSUME_PWRITE_SYSCALL): Likewise.
14359         (__ASSUME_POLL_SYSCALL): Likewise.
14360         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14361         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14362         non-SPARC.
14363         (__ASSUME_SIOCGIFNAME): Don't define.
14364         (__ASSUME_MSG_NOSIGNAL): Likewise.
14365         (__ASSUME_SENDFILE): Define unconditionally.
14366         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14367         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14368         conditional code.
14369         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14370         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14371         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14372         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14373         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14374         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14375         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14377         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14380         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14389         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14392         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14400         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14401         Remove conditional code.
14402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14403         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14404         Remove conditional code.
14405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14406         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14407         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14408         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14409         Remove conditional code.
14410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14411         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14412         Remove conditional code.
14413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14414         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14415         Remove conditional code.
14416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14417         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14418         Remove conditional code.
14419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14420         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14421         Remove conditional code.
14422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14423         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14424         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14426         * sysdeps/unix/sysv/linux/sigaction.c
14427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14429         * sysdeps/unix/sysv/linux/sigpending.c
14430         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14431         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14432         * sysdeps/unix/sysv/linux/sigprocmask.c
14433         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14434         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14435         * sysdeps/unix/sysv/linux/sigsuspend.c
14436         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14437         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14439         (__libc_missing_rt_sigs): Remove.
14440         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14441         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14442         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14443         Remove conditional code.
14444         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14445         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14446         return 1.
14447         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14448         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14449         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14450         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14451
14452 2012-05-14  Andreas Jaeger  <aj@suse.de>
14453
14454         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14455         it's not used in glibc.
14456         (__coshm1): Likewise.
14457         (__acosh1p): Likewise.
14458         (__sgn): Likewise.
14459
14460         * manual/string.texi (Copying and Concatenation): Add missing
14461         variable in concat example.
14462         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14463
14464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14465
14466         [BZ #14103]
14467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14468         __builtin_clzl with __builtin_clzll.
14469
14470 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14471
14472         [BZ #14104]
14473         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14474         libc_freeres_ptr.
14475
14476 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14477
14478         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14479         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14480         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14482
14483 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14484
14485         * NEWS: Update ia64 info.
14486
14487 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14488
14489         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14490         used as bcopy.
14491
14492 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14493
14494         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14495         * sysdeps/unix/syscalls.list (dup3): Likewise.
14496         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14497         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14498
14499 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14500
14501         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14502         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14503
14504 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14505
14506         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14507         thread pointer.
14508         (TLS_IE): Use mov/add instead of movq/addq to load thread
14509         pointer.
14510         (TLS_GD_PREFIX): New.
14511         (TLS_GD): Use it.
14512
14513 2012-05-11  David S. Miller  <davem@davemloft.net>
14514
14515         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14516         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14517         (_FPU_SETCW): Likewise.
14518
14519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14520
14521         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14522         is 32-byte aligned.
14523
14524 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14525
14526         [BZ #11837]
14527         * iconvdata/gb18030.c: Update tables.
14528         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14529         characters specially.
14530         (BODY for TO_LOOP): Add encoding of missing ranges.
14531
14532 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14533
14534         [BZ #13673]
14535         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14536         * sysdeps/mach/hurd/dup3.c: Likewise.
14537         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14538         * sysdeps/powerpc/memmove.c:: Likewise.
14539
14540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14541
14542         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14543         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14544
14545 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14546
14547         * elf/elf.h (R_X86_64_RELATIVE64): New.
14548         (R_X86_64_NUM): Updated.
14549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14550         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14551         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14552         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14553         tst-quad1pie tst-quad2pie
14554         (modules-names): Add tst-quadmod1 tst-quadmod2.
14555         ($(objpfx)tst-quad1): New dependency.
14556         ($(objpfx)tst-quad2): Likewise.
14557         ($(objpfx)tst-quad1pie): Likewise.
14558         ($(objpfx)tst-quad2pie): Likewise.
14559         * sysdeps/x86_64/tst-quad1.c: New file.
14560         * sysdeps/x86_64/tst-quad1pie.c: New file.
14561         * sysdeps/x86_64/tst-quad2.c: Likewise.
14562         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14563         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14564         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14565         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14566         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14567
14568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14569
14570         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14571         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14572         * streams/stropts.h (t_scalar_t): Define type.
14573
14574         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14575         (_PATH_PRESERVE): Set to "/var/lib".
14576         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14577
14578         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14579         instead of int.
14580
14581         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14582         if __dir_mkfile succeeded.
14583
14584         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14585         checking for _hurd_dtablesize.  Unlock it right after having
14586         finished _hurd_dtable allocation.
14587
14588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14589
14590         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14591         * sysdeps/mach/hurd/configure: Regenerated.
14592         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14593         special-casing to...
14594         * sysdeps/gnu/configure.in: ... this new file.
14595         * sysdeps/unix/sysv/linux/configure: Regenerated.
14596         * sysdeps/gnu/configure: New generated file.
14597
14598         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14599         for Linux: use nsec instead of usec, as well as:
14600         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14601         members of type struct timespec.
14602         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14603         New macros.
14604         (struct stat64): Likewise.
14605         (_STATBUF_ST_NSEC): New macro.
14606         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14607
14608         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14609         __strtoul_internal rather than strtoul.
14610
14611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14612
14613         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14614         and reject them.
14615
14616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14617
14618         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14619         which preserves existing values.
14620         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14621
14622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14623
14624         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14625         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14626         greater than FD_SETSIZE.
14627
14628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14629
14630         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14631         allocated, call __vm_protect to finish enabling the existing space, and
14632         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14633         allocate the remainder.
14634
14635 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14636
14637         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14638         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14639
14640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14641
14642         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14643         sysdeps/mach/hurd/readlink.c.
14644
14645         * posix/tst-sysconf.c (posix_options): Only use
14646         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14647         _POSIX_SYNCHRONIZED_IO when they are defined
14648         * sysdeps/mach/hurd/bits/posix_opt.h:
14649         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14650         (_XOPEN_REALTIME): Undefine macro.
14651         (_XOPEN_REALTIME_THREADS): Undefine macro.
14652         (_XOPEN_SHM): Undefine macro.
14653         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14654         macro to -1.
14655         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14656         macro to -1.
14657         (_POSIX_ASYNC_IO): Undefine macro.
14658         (_POSIX_PRIORITIZED_IO): Undefine macro.
14659         (_POSIX_SPIN_LOCKS): Define macro to -1.
14660
14661         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14662         SA_NODEFER, SA_RESETHAND.
14663         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14664         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14665         F_DUPFD_CLOEXEC.
14666
14667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14668
14669         * elf/Makefile (pldd-modules): Define unconditionally.
14670
14671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14672
14673         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14674
14675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14676
14677         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14678         Return ENOENT when name is empty.
14679         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14680
14681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14682
14683         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14684
14685         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14686
14687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14688
14689         Fix mlock in all cases except non-readable pages.
14690         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14691         instead of VM_PROT_ALL as parameter to __vm_wire function.
14692
14693         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14694         (__mkdir): When path is `/', just fail with EEXIST.
14695         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14696
14697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14698
14699         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14700         <sys/uio.h> (for writev).
14701         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14702         and <sys/param.h> (for MIN).
14703
14704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14705
14706         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14707         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14708         if interrupted.
14709
14710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14711
14712         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14713         Depend on against $(link-rpcuserlibs).
14714
14715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14716
14717         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14718         (__libc_stack_end): Do not use attribute_relro.
14719         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14720         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14721         to libthread-provided value.
14722         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14723         attribute_relro.
14724
14725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14726
14727         [BZ #3748]
14728         * bits/libc-lock.h (__libc_once_get): New macro.
14729         * sysdeps/mach/bits/libc-lock.h: Likewise.
14730         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14732         instead of using implementation details.
14733
14734         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14735         * libio/freopen.c: Likewise.
14736         * libio/freopen64.c: Likewise.
14737         * misc/syslog.c: Likewise.
14738         * nscd/connections.c: Likewise.
14739         * nscd/netgroupcache.c: Likewise.
14740         * sysdeps/posix/getcwd.c: Likewise.
14741
14742 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14743
14744         * math/w_ilogbf.c: Add #include <limits.h>.
14745
14746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14747
14748         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14749         path instead of returning without unlocking.
14750
14751         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14752         immediate-write ioctls.
14753         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14754
14755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14756
14757         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14758         __builtin_frame_address instead of making assumptions about the
14759         location of the return address relative to DATA.  Force early load of
14760         the return address.
14761         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14762         __builtin_frame_address.
14763
14764         dup3 for GNU Hurd.
14765         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14766         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14767         implement dup3 and do some further code clean-ups.
14768         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14769         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14770
14771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14772
14773         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14774
14775         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14776         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14777         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14778         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14779         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14780         d->port.lock.
14781
14782         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14783         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14784         when handler == SIG_ERR, not when handler != SIG_ERR.
14785
14786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14787
14788         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14789         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14790         definitions.
14791
14792         accept4 for GNU Hurd.
14793         * include/sys/socket.h (__libc_accept4): New prototype.
14794         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14795         to implement __libc_accept4.
14796         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14797         __libc_accept4.
14798         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14799
14800         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14801         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14802         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14803         signal-defines.sym.
14804
14805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14806
14807         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14808
14809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14810
14811         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14812         assertion on O_CLOEXEC flag.
14813         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14814         * hurd/intern-fd.c: Likewise.
14815         * hurd/port2fd.c: Likewise.
14816
14817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14818
14819         [BZ #3906]
14820         * bits/in.h (IPV6_PKTINFO): Define new macro.
14821         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14822
14823 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14824
14825         [BZ #13954]
14826         [BZ #13955]
14827         [BZ #13956]
14828         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14829         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14830         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14831         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14833         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14834         * math/libm-test.inc (logb_test) : Additional logb tests.
14835
14836 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14837             Andreas Jaeger  <aj@suse.de>
14838
14839         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14840         * configure: Regenerated.
14841         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14842         * config.make.in (link-obsolete-rpc): New substituted variable.
14843         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14844         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14845         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14846         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14847         so that libc.a contains the symbols.
14848         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14849         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14850         * sunrpc/auth_none.c: Likewise.
14851         * sunrpc/auth_unix.c: Likewise.
14852         * sunrpc/authdes_prot.c: Likewise.
14853         * sunrpc/authuxprot.c: Likewise.
14854         * sunrpc/clnt_gen.c: Likewise.
14855         * sunrpc/clnt_perr.c: Likewise.
14856         * sunrpc/clnt_raw.c: Likewise.
14857         * sunrpc/clnt_simp.c: Likewise.
14858         * sunrpc/clnt_tcp.c: Likewise.
14859         * sunrpc/clnt_udp.c: Likewise.
14860         * sunrpc/clnt_unix.c: Likewise.
14861         * sunrpc/des_crypt.c: Likewise.
14862         * sunrpc/des_soft.c: Likewise.
14863         * sunrpc/get_myaddr.c: Likewise.
14864         * sunrpc/key_call.c: Likewise.
14865         * sunrpc/key_prot.c: Likewise.
14866         * sunrpc/netname.c: Likewise.
14867         * sunrpc/pm_getmaps.c: Likewise.
14868         * sunrpc/pm_getport.c: Likewise.
14869         * sunrpc/pmap_clnt.c: Likewise.
14870         * sunrpc/pmap_prot.c: Likewise.
14871         * sunrpc/pmap_prot2.c: Likewise.
14872         * sunrpc/pmap_rmt.c: Likewise.
14873         * sunrpc/publickey.c: Likewise.
14874         * sunrpc/rpc_cmsg.c: Likewise.
14875         * sunrpc/rpc_common.c: Likewise.
14876         * sunrpc/rpc_dtable.c: Likewise.
14877         * sunrpc/rpc_prot.c: Likewise.
14878         * sunrpc/rpc_thread.c: Likewise.
14879         * sunrpc/rtime.c: Likewise.
14880         * sunrpc/svc.c: Likewise.
14881         * sunrpc/svc_auth.c: Likewise.
14882         * sunrpc/svc_raw.c: Likewise.
14883         * sunrpc/svc_run.c: Likewise.
14884         * sunrpc/svc_tcp.c: Likewise.
14885         * sunrpc/svc_udp.c: Likewise.
14886         * sunrpc/svc_unix.c: Likewise.
14887         * sunrpc/svcauth_des.c: Likewise.
14888         * sunrpc/xcrypt.c: Likewise.
14889         * sunrpc/xdr.c: Likewise.
14890         * sunrpc/xdr_array.c: Likewise.
14891         * sunrpc/xdr_float.c: Likewise.
14892         * sunrpc/xdr_intXX_t.c: Likewise.
14893         * sunrpc/xdr_mem.c: Likewise.
14894         * sunrpc/xdr_rec.c: Likewise.
14895         * sunrpc/xdr_ref.c: Likewise.
14896         * sunrpc/xdr_sizeof.c: Likewise.
14897         * sunrpc/xdr_stdio.c: Likewise.
14898
14899 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14900
14901         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14902         change.  Update copyright years.
14903
14904 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14905
14906         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14907
14908 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14909             Joseph Myers  <joseph@codesourcery.com>
14910             Paul Pluzhnikov  <ppluzhnikov@google.com>
14911
14912         [BZ #14012]
14913         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14914         requiring rpcgen.
14915         [cross-compiling] (extra-libs): Likewise.
14916         [cross-compiling] (extra-libs-others): Likewise.
14917         [cross-compiling] (librpcsvc-routines): Likewise.
14918         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14919         [cross-compiling] (omit-deps): Likewise.
14920         (sunrpc-CPPFLAGS): New variable.
14921         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14922         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14923         (cross-rpcgen-objs): New variable.
14924         (extra-objs): Append $(cross-rpcgen-objs).
14925         ($(cross-rpcgen-objs)): New rule.
14926         ($(objpfx)cross-rpcgen): Likewise.
14927         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14928         comment.
14929         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14930         ($(objpfx)x%.stmp): Likewise.
14931         * sunrpc/proto.h [IS_IN_build] (_): Define.
14932         [IS_IN_build] (_libc_intl_domainname): Likewise.
14933
14934 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14935
14936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14937         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14938         and R_X86_64_TPOFF64.
14939
14940 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14941
14942         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14943         sysdeps/unix/sysv/syscalls.list.
14944         (stime): Likewise.
14945         (utime): Likewise.
14946         * sysdeps/unix/sysv/syscalls.list: Remove file.
14947
14948 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14949
14950         [BZ #3440]
14951         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14952         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14953         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14954         (__LC_IDENTIFICATION): Make these macros useful in #if
14955         expressions, as required by C99.
14956
14957 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14958
14959         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14960         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14961         after this.
14962
14963 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14964
14965         * stdlib/longlong.h: Updated from GCC.
14966
14967 2012-05-09  Andreas Jaeger  <aj@suse.de>
14968
14969         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14970         default is first entry.
14971         (run_mode): Set type.
14972         (main): Remove informal message about syslog.
14973         (options): Fix typo.
14974
14975         [BZ #14053]
14976         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14977         to asm.
14978         (lrint): Likewise.
14979         (llrintf): Likewise.
14980         (llrint): Likewise.
14981         (rint): Likewise.
14982         (rintf): Likewise.
14983         (nearbyint): Likewise.
14984         (nearbyintf): Likewise.
14985
14986 2012-05-09  Andreas Jaeger  <aj@suse.de>
14987             Pedro Alves  <palves@redhat.com>
14988
14989         * nscd/nscd.c (run_mode): Use enum.
14990         (main): Cleanup coding style issue.
14991
14992 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14993             Andreas Jaeger  <aj@suse.de>
14994
14995         * nscd/nscd.c (go_background): Replaced with...
14996         (run_mode): ... this.
14997         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14998         (options): Add -F --foreground.
14999         (main): Implement it.
15000         (parse_opt): Parse it.
15001
15002 2012-05-09  Andreas Jaeger  <aj@suse.de>
15003
15004         [BZ #14083]
15005         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15006         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15007         -Wconversion warning.
15008         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15009         Likewise.
15010
15011 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
15012
15013         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
15014         == 0.
15015         (LC_ALL): Use macro-int-constant.
15016         (LC_COLLATE): Likewise.
15017         (LC_CTYPE): Likewise.
15018         (LC_MESSAGES): Likewise.
15019         (LC_MONETARY): Likewise.
15020         (LC_NUMERIC): Likewise.
15021         (LC_TIME): Likewise.
15022         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15023         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15025         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15026         Specify type.
15027         [C99-based standards] (float_t): Expect type.
15028         [C99-based standards] (double_t): Expect type.
15029         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
15030         type.
15031         [C99-based standards] (HUGE_VALL): Likewise.
15032         [C99-based standards] (INFINITY): Likewise.
15033         [C99-based standards] (NAN): Likewise.
15034         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15035         [C99-based standards] (FP_NAN): Likewise.
15036         [C99-based standards] (FP_NORMAL): Likewise.
15037         [C99-based standards] (FP_SUBNORMAL): Likewise.
15038         [C99-based standards] (FP_ZERO): Likewise.
15039         [C99-based standards] (FP_FAST_FMA): Use
15040         optional-macro-int-constant.  Specify type.  Require == 1.
15041         [C99-based standards] (FP_FAST_FMAF): Likewise.
15042         [C99-based standards] (FP_FAST_FMAL): Likewise.
15043         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15044         [C99-based standards] (FP_ILOGBNAN): Likewise.
15045         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15046         Specify type.
15047         [C99-based standards] (MATH_ERREXCEPT): Likewise.
15048         [C99-based standards] (math_errhandling): Specify type.
15049         [ISO99 || ISO11] (signgam): Do not allow.
15050         [non-C99-based standards] (copysignf): Do not allow.
15051         [non-C99-based standards] (exp2f): Likewise.
15052         [non-C99-based standards] (log2f): Likewise.
15053         [non-C99-based standards] (modff): Allow.
15054         [non-C99-based standards] (erff): Do not allow.
15055         [non-C99-based standards] (erfcf): Likewise.
15056         [non-C99-based standards] (gammaf): Likewise.
15057         [non-C99-based standards] (hypotf): Likewise.
15058         [non-C99-based standards] (j0f): Likewise.
15059         [non-C99-based standards] (j1f): Likewise.
15060         [non-C99-based standards] (jnf): Likewise.
15061         [non-C99-based standards] (lgammaf): Likewise.
15062         [non-C99-based standards] (tgammaf): Likewise.
15063         [non-C99-based standards] (y0f): Likewise.
15064         [non-C99-based standards] (y1f): Likewise.
15065         [non-C99-based standards] (ynf): Likewise.
15066         [non-C99-based standards] (isnanf): Likewise.
15067         [non-C99-based standards] (acoshf): Likewise.
15068         [non-C99-based standards] (asinhf): Likewise.
15069         [non-C99-based standards] (atanhf): Likewise.
15070         [non-C99-based standards] (cbrtf): Likewise.
15071         [non-C99-based standards] (expm1f): Likewise.
15072         [non-C99-based standards] (ilogbf): Likewise.
15073         [non-C99-based standards] (log1pf): Likewise.
15074         [non-C99-based standards] (logbf): Likewise.
15075         [non-C99-based standards] (nextafterf): Likewise.
15076         [non-C99-based standards] (remainderf): Likewise.
15077         [non-C99-based standards] (rintf): Likewise.
15078         [non-C99-based standards] (scalbf): Likewise.
15079         [non-C99-based standards] (copysignl): Likewise.
15080         [non-C99-based standards] (exp2l): Likewise.
15081         [non-C99-based standards] (log2l): Likewise.
15082         [non-C99-based standards] (modfl): Allow.
15083         [non-C99-based standards] (erfl): Do not allow.
15084         [non-C99-based standards] (erfcl): Likewise.
15085         [non-C99-based standards] (gammal): Likewise.
15086         [non-C99-based standards] (hypotl): Likewise.
15087         [non-C99-based standards] (j0l): Likewise.
15088         [non-C99-based standards] (j1l): Likewise.
15089         [non-C99-based standards] (jnl): Likewise.
15090         [non-C99-based standards] (lgammal): Likewise.
15091         [non-C99-based standards] (tgammal): Likewise.
15092         [non-C99-based standards] (y0l): Likewise.
15093         [non-C99-based standards] (y1l): Likewise.
15094         [non-C99-based standards] (ynl): Likewise.
15095         [non-C99-based standards] (isnanl): Likewise.
15096         [non-C99-based standards] (acoshl): Likewise.
15097         [non-C99-based standards] (asinhl): Likewise.
15098         [non-C99-based standards] (atanhl): Likewise.
15099         [non-C99-based standards] (cbrtl): Likewise.
15100         [non-C99-based standards] (expm1l): Likewise.
15101         [non-C99-based standards] (ilogbl): Likewise.
15102         [non-C99-based standards] (log1pl): Likewise.
15103         [non-C99-based standards] (logbl): Likewise.
15104         [non-C99-based standards] (nextafterl): Likewise.
15105         [non-C99-based standards] (remainderl): Likewise.
15106         [non-C99-based standards] (rintl): Likewise.
15107         [non-C99-based standards] (scalbl): Likewise.
15108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15109         [non-C99-based standards] (FP_*): Do not allow.
15110         [C99-based standards] (FP_*): Change to
15111         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15112         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15113         allow.
15114         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15115         (SIG_ERR): Likewise.
15116         [X/Open-based standards] (SIG_HOLD): Likewise.
15117         (SIG_IGN): Likewise.
15118         (SIGABRT): Use macro-int-constant.  Specify type.  Require
15119         positive value.
15120         (SIGFPE): Likewise.
15121         (SIGILL): Likewise.
15122         (SIGINT): Likewise.
15123         (SIGSEGV): Likewise.
15124         (SIGTER): Likewise.
15125         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15126         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15127         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15128         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15129         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15130         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15131         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15132         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15133         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15134         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15135         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15136         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15137         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15138         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15139         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15140         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15141         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15142         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15143         [X/Open-based standards] (SIGTRAP): Likewise.
15144         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15145         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15146         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15147         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15148         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15149         allow.
15150
15151 2012-05-08  Ian Wienand  <ianw@vmware.com>
15152
15153         [BZ #14080]
15154         * time/tzset.c (__tzset_parse_tz): Update default rules for
15155         daylight time changes in the Energy Policy Act of 2005.
15156
15157 2012-05-09  Andreas Jaeger  <aj@suse.de>
15158
15159         [BZ #13983]
15160         * elf/ldconfig.c (parse_conf): Change string to make clear that
15161         ldconfig only issued a warning if ld.so.conf does not exist.
15162
15163 2012-05-08  David S. Miller  <davem@davemloft.net>
15164
15165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15166         movxtod instead of popping the value on the stack.
15167
15168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15169
15170 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15171
15172         * config.h.in: Add HAVE_ARM_PCS_VFP.
15173
15174 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15175
15176         [BZ #13979]
15177         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15178         checking but the checks are disabled for any reason.
15179
15180 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15181
15182         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15183         and ELF64_R_TYPE with ELFW(R_TYPE).
15184
15185 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15186
15187         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15188         (ulimit): Likewise.
15189
15190         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15191         (settimeofday): Likewise.
15192
15193 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15194
15195         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15196         a struct th_u2 inside the union, and move tu_block/tu_code into
15197         a new th_u3 union of tu_block/tu_code inside of that.  Move
15198         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15199         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15200         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15201         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15202         (th_stuff): Change to th_u1.tu_stuff.
15203         (th_data): Define.
15204         (th_msg): Change to th_u1.th_u2.tu_data.
15205
15206 2012-05-07  David S. Miller  <davem@davemloft.net>
15207
15208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15209
15210         [BZ #14074]
15211         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15212         (SETUP_PIC_REG): Use it.
15213         (SETUP_PIC_REG_LEAF): Use it.
15214
15215 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15216
15217         [BZ #13885]
15218         [BZ #13923]
15219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15220         USE_AS_EXPM1L.
15221         (EXPL_FINITE): Likewise.
15222         (FLDLOG): Likewise.
15223         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15224         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15225         e_expl.S.
15226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15227         USE_AS_EXPM1L.
15228         (EXPL_FINITE): Likewise.
15229         (FLDLOG): Likewise.
15230         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15231         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15232         e_expl.S.
15233         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15234         test of -max_value argument for long double.
15235         * sysdeps/i386/fpu/libm-test-ulps: Update.
15236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15237
15238 2012-05-06  David S. Miller  <davem@davemloft.net>
15239
15240         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15241         quad soft-float symbols whose references which are compiler
15242         generated.
15243         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15244
15245 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15246
15247         [BZ #13884]
15248         [BZ #13914]
15249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15250         USE_AS_EXP10L.
15251         (EXPL_FINITE): Likewise.
15252         (FLDLOG): Likewise.
15253         (c0): Likewise.
15254         (c1): Likewise.
15255         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15256         Adjust comments for base varying.
15257         (__expl_finite): Change alias to EXPL_FINITE.
15258         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15259         e_expl.S.
15260         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15261         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15262         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15263         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15265         USE_AS_EXP10L.
15266         (EXPL_FINITE): Likewise.
15267         (FLDLOG): Likewise.
15268         (c0): Likewise.
15269         (c1): Likewise.
15270         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15271         Adjust comments for base varying.
15272         (__expl_finite): Change alias to EXPL_FINITE.
15273         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15274         tests for bugs.
15275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15276
15277         [BZ #14064]
15278         * math/libm-test.inc (check_float_internal): Correct ulp
15279         calculation for subnormal expected results.
15280
15281 2012-05-06  Andreas Jaeger  <aj@suse.de>
15282
15283         * Makeconfig (+math-flags): New, set to -frounding-math.
15284         (+cflags): Add +math-flags so that all of glibc gets compiled with
15285         it.
15286
15287         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15288
15289 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15290
15291         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15292         Disable one test.
15293
15294         [BZ #13787]
15295         [BZ #13922]
15296         [BZ #14036]
15297         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15298         (__ieee754_expl): Allow for and saturate large arguments.
15299         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15300         (u_threshold): Likewise.
15301         (__exp): Call __ieee754_exp before checking for overflow and
15302         underflow.
15303         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15304         (u_threshold): Likewise.
15305         (__expf): Call __ieee754_expf before checking for overflow and
15306         underflow.
15307         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15308         (u_threshold): Likewise.
15309         (__expl): Call __ieee754_expl before checking for overflow and
15310         underflow.
15311         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15312         (__ieee754_expl): Allow for and saturate large arguments.
15313         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15314         missing overflow exception on overflow.
15315         (expm1_test): Do not allow missing overflow exception on overflow.
15316
15317         * sysdeps/i386/fpu/e_expl.c: Move to ...
15318         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15319         rather than using inline asm.
15320         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15321         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15322         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15323
15324         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15325         (nice): Likewise.
15326         (poll): Likewise.
15327         (signal): Likewise.
15328         (time): Likewise.
15329         (times): Likewise.
15330
15331 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15332
15333         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15334         sysdeps/unix/common/syscalls.list.
15335         (fchmod): Likewise.
15336         (fchown): Likewise.
15337         (ftruncate): Likewise.
15338         (getrusage): Likewise.
15339         (gettimeofday): Likewise.
15340         (setpgid): Likewise.
15341         (setregid): Likewise.
15342         (setreuid): Likewise.
15343         (sigaction): Likewise.
15344         (truncate): Likewise.
15345         (vhangup): Likewise.
15346         * sysdeps/unix/common/syscalls.list: Remove file.
15347         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15348         * sysdeps/unix/sysv/linux/Implies: Likewise.
15349
15350 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15351
15352         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15354         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15355         Moved to ...
15356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15357         Here.
15358         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15359         to ...
15360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15361         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15362         to ...
15363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15364         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15365         to ...
15366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15367         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15368         to ...
15369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15370         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15371         to ...
15372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15373         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15374         to ...
15375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15376         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15377         to ...
15378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15379         Here.
15380         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15381         to ...
15382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15383         Here.
15384         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15385         to ...
15386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15387         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15388         Moved to ...
15389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15390         Here.
15391         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15392         to ...
15393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15394
15395 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15396
15397         * sysdeps/unix/common/bits/dirent.h: Remove file.
15398         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15399
15400         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15401         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15402         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15403         * sysdeps/unix/bsd/isatty.c: Likewise.
15404         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15405         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15406         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15407
15408 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15409
15410         [BZ #13563]
15411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15412         long double comparison inaccuracies.
15413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15415
15416 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15417
15418         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15419         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15420
15421 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15422
15423         [BZ #14049]
15424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15425         nonzero digits before rounding a hex value.
15426         * stdlib/tst-strtod.c (tests): Add another test.
15427
15428 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15429
15430         * sysdeps/s390/fpu/libm-test-ulps: Update.
15431
15432 2012-05-03  Andreas Jaeger  <aj@suse.de>
15433
15434         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15435         does not get optimized out.
15436         (malloc_opt_barrier): New.
15437
15438 2012-05-03  Andreas Jaeger  <aj@suse.de>
15439             Roland McGrath  <roland@hack.frob.com>
15440
15441         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15442         intermediate file deletion.
15443         (generated): Add .symlist files.
15444
15445 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
15446
15447         [BZ #13775]
15448         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15449         Redirect under this condition.
15450         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15451         [__USE_GNU] (__dprintf_chk): Not under this condition.
15452         [__USE_GNU] (__vdprintf_chk): Likewise.
15453         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15454         under this condition.
15455         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15456         [__USE_XOPEN2K8] (dprintf): Define under this condition.
15457         [__USE_XOPEN2K8] (vdprintf): Likewise.
15458         [__USE_GNU] (__dprintf_chk): Not under this condition.
15459         [__USE_GNU] (__vdprintf_chk): Likewise.
15460         [__USE_GNU] (dprintf): Likewise.
15461         [__USE_GNU] (vdprintf): Likewise.
15462
15463 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15464
15465         * elf/Makefile (common-generated): Set this instead of generated for
15466         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15467         $(all-built-dso)-derived lists.
15468
15469 2012-05-03  Andreas Jaeger  <aj@suse.de>
15470
15471         * sysdeps/i386/fpu/libm-test-ulps: Update.
15472
15473         * FAQ: Removed.
15474         * FAQ.in: Likewise.
15475         * scripts/gen-FAQ.pl: Likewise.
15476         * manual/install.texi (Installation): Point to online location of
15477         FAQ.
15478         * Makefile (files-for-dist): Remove FAQ.
15479         (FAQ): Remove.
15480
15481 2012-05-02  Allan McRae  <allan@archlinux.org>
15482
15483         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15484         (LDFLAGS-reldepmod5.so): Likewise.
15485         (LDFLAGS-reldep6mod1.so): Likewise.
15486         (LDFLAGS-reldep6mod4.so): Likewise.
15487         (LDFLAGS-reldep8mod3.so): Likewise.
15488         (LDFLAGS-unload4mod1.so): Likewise.
15489         (LDFLAGS-unload4mod2.so): Likewise.
15490         (LDFLAGS-tst-initorder): Likewise.
15491         (LDFLAGS-tst-initordera2.so): Likewise.
15492         (LDFLAGS-tst-initordera3.so): Likewise.
15493         (LDFLAGS-tst-initordera4.so): Likewise.
15494         (LDFLAGS-tst-initorderb2.so): Likewise.
15495         (LDFLAGS-noload): Likewise.
15496         (LDFLAGS-next): Likewise.
15497         (LDFLAGS-order2mod1.so): Likewise.
15498         (LDFLAGS-order2mod2.so): Likewise.
15499         (LDFLAGS-tst-initorder2): Likewise.
15500         (LDFLAGS-tst-initorder2a.so): Likewise.
15501         (LDFLAGS-tst-initorder2b.so): Likewise.
15502         (LDFLAGS-tst-initorder2c.so): Likewise.
15503         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15504
15505 2012-05-02  David S. Miller  <davem@davemloft.net>
15506
15507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15508
15509 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15510
15511         [BZ #14055]
15512         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15513
15514 2012-05-02  Andreas Jaeger  <aj@suse.de>
15515
15516         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15517         since we manipulate rounding mode.
15518         (CPPFLAGS-test-idouble.c): Likewise.
15519         (CPPFLAGS-test-ifloat.c): Likewise.
15520         (CFLAGS-test-ldouble.c): Likewise.
15521         (CFLAGS-test-double.c): Likewise.
15522         (CFLAGS-test-float.c): Likewise.
15523         (CFLAGS-test-misc.c): Likewise.
15524         (CFLAGS-test-test-fenv.c): Likewise.
15525
15526 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15527
15528         [BZ #2550]
15529         [BZ #2570]
15530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15531         comparisons to determine direction to adjust input.
15532
15533 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15534
15535         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15536         output to the target.
15537
15538         * scripts/localplt.awk: New file.
15539         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15540         (check-localplt-CFLAGS): Variable removed.
15541         ($(all-built-dso:=.jmprel)): New static pattern rule.
15542         (generated): Add those targets.
15543         (localplt-built-dso): New variable.
15544         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15545
15546         * elf/check-localplt.c: File removed.
15547
15548         * scripts/check-execstack.awk: New file.
15549         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15550         (check-execstack-CFLAGS): Variable removed.
15551         ($(objpfx)check-execstack.h): Target removed.
15552         ($(objpfx)execstack-default): New target.
15553         (generated): Add that instead of check-execstack.h.
15554         ($(all-built-dso:=.phdr)): New static pattern rule.
15555         (generated): Add those targets.
15556         * elf/check-execstack.c: File removed.
15557
15558         * scripts/check-textrel.awk: New file.
15559         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15560         (check-textrel-CFLAGS): Variable removed.
15561         (all-built-dso): Use := to define.o
15562         ($(all-built-dso:=.dyn)): New static pattern rule.
15563         (generated): Add those targets.
15564         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15565         * config.make.in (READELF): New substituted variable.
15566         * elf/check-textrel.c: File removed.
15567
15568 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15569
15570         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15571         allow.
15572         * conform/data/ctype.h-data [C99-based standards] (isblank):
15573         Expect function.
15574         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15575         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15577         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15578         Specify type.  Require positive value.
15579         (EILSEQ): Likewise.
15580         (ERANGE): Likewise.
15581         [ISO || POSIX] (EILSEQ): Do not expect.
15582         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15583         Specify type.  Require positive value.
15584         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15585         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15586         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15587         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15588         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15589         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15590         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15591         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15592         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15593         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15594         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15595         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15596         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15597         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15598         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15599         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15600         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15601         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15602         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15603         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15604         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15605         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15606         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15607         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15608         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15609         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15610         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15611         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15612         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15613         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15614         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15615         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15616         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15617         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15618         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15619         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15620         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15621         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15622         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15623         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15624         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15625         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15626         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15627         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15628         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15629         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15630         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15631         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15632         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15633         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15634         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15635         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15636         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15637         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15638         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15639         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15640         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15641         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15642         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15643         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15644         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15645         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15646         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15647         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15648         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15649         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15650         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15651         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15652         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15653         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15654         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15655         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15656         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15657         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15658         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15659         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15660         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15661         Require >= 2.
15662         (FLT_ROUNDS): Expect as macro, not constant.
15663         (FLT_MANT_DIG): Use macro-int-constant.
15664         (DBL_MANT_DIG): Likewise.
15665         (LDBL_MANT_DIG): Likewise.
15666         (FLT_DIG): Likewise.
15667         (DBL_DIG): Likewise.
15668         (LDBL_DIG): Likewise.
15669         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15670         (DBL_MIN_EXP): Likewise.
15671         (LDBL_MIN_EXP): Likewise.
15672         (FLT_MAX_EXP): Use macro-int-constant.
15673         (DBL_MAX_EXP): Likewise.
15674         (LDBL_MAX_EXP): Likewise.
15675         (FLT_MAX_10_EXP): Likewise.
15676         (DBL_MAX_10_EXP): Likewise.
15677         (LDBL_MAX_10_EXP): Likewise.
15678         (FLT_MAX): Use macro-constant.
15679         (DBL_MAX): Likewise.
15680         (LDBL_MAX): Likewise.
15681         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15682         (DBL_EPSILON): Likewise.
15683         (LDBL_EPSILON): Likewise.
15684         (FLT_MIN): Likewise.
15685         (DBL_MIN): Likewise.
15686         (LDBL_MIN): Likewise.
15687         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15688         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15689         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15690         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15691         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15692         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15693         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15694         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15695         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15696         [ISO11] (FLT_TRUE_MIN): Likewise.
15697         [ISO11] (LDBL_TRUE_MIN): Likewise.
15698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15699         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15700         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15701         (SCHAR_MAX): Likewise.
15702         (UCHAR_MAX): Likewise.
15703         (CHAR_MIN): Likewise.
15704         (CHAR_MAX): Likewise.
15705         (MB_LEN_MAX): Use macro-int-constant.
15706         (SHRT_MIN): Use macro-int-constant.  Specify type.
15707         (SHRT_MAX): Likewise.
15708         (USHRT_MAX): Likewise.
15709         (INT_MAX): Likewise.
15710         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15711         bound negative.
15712         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15713         bound with "U".
15714         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15715         bound with "L".
15716         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15717         bound negative.  Suffix upper bound with "L".
15718         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15719         bound with "UL".
15720         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15721         Specify type.
15722         [C99-based standards] (LLONG_MAX): Likewise.
15723         [C99-based standards] (ULLONG_MAX): Likewise.
15724         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15725         == 0.
15726         [ISO11] (max_align_t): Require type.
15727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15728
15729         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15730         from $CFLAGS, without defining away __attribute__ calls.
15731         (checknamespace): Use $CFLAGS_namespace.
15732
15733         * conform/conformtest.pl (@keywords): Only include C99 keywords
15734         for standards based on C99 or C11.
15735
15736         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15737         Disable tests.
15738         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15739         UNIX98]: Likewise.
15740
15741         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15742         usability of symbols in #if.
15743
15744         * conform/conformtest.pl: If macro or constant types start
15745         "promoted:", expect the symbol to be of the following type
15746         promoted by the integer promotions.
15747
15748         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15749         in one place.  Also handle "macro-constant".
15750
15751         * conform/conformtest.pl: Only accept expected macro values with
15752         "==".  Parse all "macro" lines in one place.
15753         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15754
15755         * conform/conformtest.pl: Handle braced types on "constant" lines
15756         instead of handling "typed-constant".
15757         * conform/data/signal.h-data: Use "constant" instead of
15758         "typed-constant".
15759
15760         * conform/conformtest.pl: Handle "optional-" at start of lines in
15761         one place rather than duplicating several cases.  Handle each
15762         format of "macro" line with initial "optional-".
15763
15764         * conform/conformtest.pl: Only accept expected constant or
15765         optional-constant values with "==".  Parse all "constant" lines in
15766         one place.  Parse all "optional-constant" lines in one place.
15767         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15768         * conform/data/fmtmsg.h-data: Likewise.
15769         * conform/data/netinet/in.h-data: Likewise.
15770         * conform/data/tar.h-data: Likewise.
15771         * conform/data/limits.h-data: Use "==" form on "constant" and
15772         "optional-constant" lines.
15773
15774         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15775         Use -std=c99 for XOPEN2K.
15776         (@knownproblems): Remove.
15777         (newtoken): Don't check %isknown.
15778
15779         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15780         Do not expect macro.
15781         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15782         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15783         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15784         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15785         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15786         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15787         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15788         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15789         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15790         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15791         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15792         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15793         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15794         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15795         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15796         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15797         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15798         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15799         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15800         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15801         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15804         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15805         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15806         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15807         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15808         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15809         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15810         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15811         [XPG3] (acosh): Likewise.
15812         [XPG3] (asinh): Likewise.
15813         [XPG3] (atanh): Likewise.
15814         [XPG3] (cbrt): Likewise.
15815         [XPG3] (expm1): Likewise.
15816         [XPG3] (ilogb): Likewise.
15817         [XPG3] (log1p): Likewise.
15818         [XPG3] (logb): Likewise.
15819         [XPG3] (nextafter): Likewise.
15820         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15821         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15822         [XPG3] (remainder): Likewise.
15823         [XPG3] (rint): Likewise.
15824         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15825         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15826         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15827         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15828         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15829         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15830         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15831         [UNIX98 || XOPEN2K] (scalb): Expect.
15832         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15833         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15834         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15835         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15836         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15837         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15838         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15839         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15840         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15841         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15842         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15843         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15844         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15845         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15846         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15847         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15848         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15849         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15850         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15851         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15852         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15853         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15854         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15855         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15856         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15857         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15858         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15859         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15860         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15861         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15862         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15863         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15864         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15865         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15866         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15867         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15868         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15869         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15870         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15871         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15872         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15873         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15874         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15875         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15876         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15877         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15878         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15879         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15880         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15881         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15882         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15883         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15884         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15885         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15886         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15887         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15888         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15889         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15890         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15891         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15892         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15893         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15894         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15895         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15896         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15897         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15898         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15899         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15900         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15901         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15902         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15903         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15904         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15905         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15906         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15907         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15908         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15909         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15910         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15911         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15912         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15913         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15914         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15915         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15916         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15917         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15918         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15919         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15920         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15921         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15922         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15923         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15924         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15925         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15926         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15927         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15928         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15929         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15930         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15931         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15932         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15933         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15934         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15935         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15936         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15937         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15938         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15939         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15940         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15941         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15942         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15943         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15944         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15945         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15946         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15947         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15948         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15949         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15950         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15951         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15952         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15953         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15954         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15955         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15956         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15957         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15958         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15959         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15960         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15961         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15962         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15963         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15964         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15965         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15966         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15967         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15968         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15969
15970         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15971         _XOPEN_SOURCE_EXTENDED for XPG4.
15972
15973         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15974
15975         * Makeconfig (localtime): Remove variable.
15976         (inst_localtime-file): Likewise.
15977
15978 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15979
15980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15981         Update.
15982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15983         Update.
15984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15985         Update.
15986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15987         Update.
15988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15989         Update.
15990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15991         Update.
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15993         Update.
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15995         Update.
15996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15997         Update.
15998
15999 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
16000
16001         [BZ #2550]
16002         [BZ #2570]
16003         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16004         comparisons to determine direction to adjust input.
16005         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16006         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16008         Likewise.
16009         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16010         Likewise.
16011         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16012         Likewise.
16013         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16014         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16015         Likewise.
16016         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16017         Likewise.
16018         * math/libm-test.inc (nexttoward_test): Add more tests.
16019
16020 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16021
16022         [BZ #14040]
16023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16024         in version GLIBC_2.1, not GLIBC_2.0.
16025         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16026         Likewise.
16027
16028 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
16029
16030         [BZ #13942]
16031         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16032         (1 - x) * (1 + x).
16033         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16034         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16035         * math/libm-test.inc (acos_test): Add more tests.
16036         (asin_test): Likewise.
16037         * sysdeps/i386/fpu/libm-test-ulps: Update.
16038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16039
16040         [BZ #14034]
16041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16042         of square root.
16043         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16044         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16045         * math/libm-test.inc (acos_test_tonearest): New function.
16046         (acos_test_towardzero): Likewise.
16047         (acos_test_downward): Likewise.
16048         (acos_test_upward): Likewise.
16049         (asin_test_tonearest): Likewise.
16050         (asin_test_towardzero): Likewise.
16051         (asin_test_downward): Likewise.
16052         (asin_test_upward): Likewise.
16053         (main): Call the new functions.
16054         * sysdeps/i386/fpu/libm-test-ulps: Update.
16055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16056
16057         [BZ #13884]
16058         [BZ #13924]
16059         * math/e_exp10.c: Include <float.h>.
16060         (__ieee754_exp10): Handle underflow here rather than multiplying
16061         large negative argument by M_LN10.
16062         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16063         of __ieee754_expf.
16064         * math/e_exp10l.c: Include <float.h>.
16065         (__ieee754_exp10l): Handle underflow here rather than multiplying
16066         large negative argument by M_LN10l.
16067         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
16068         spurious overflow exception on underflow.
16069
16070 2012-04-29  Marek Polacek  <polacek@redhat.com>
16071
16072         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16073         (__fortify_function): New macro.
16074         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16075         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16076         __extern_always_inline.
16077         * libio/bits/stdio2.h: Likewise.
16078         * libio/bits/stdio.h: Likewise.
16079         * string/string.h: Likewise.
16080         * string/bits/string3.h: Likewise.
16081         * include/stdio.h: Likewise.
16082         * stdlib/bits/stdlib.h: Likewise.
16083         * stdlib/stdlib.h: Likewise.
16084         * rt/bits/mqueue2.h: Likewise.
16085         * rt/mqueue.h: Likewise.
16086         * posix/bits/unistd.h: Likewise.
16087         * posix/unistd.h: Likewise.
16088         * io/bits/poll2.h: Likewise.
16089         * io/bits/fcntl2.h: Likewise.
16090         * io/fcntl.h: Likewise.
16091         * io/sys/poll.h: Likewise.
16092         * misc/bits/syslog.h: Likewise.
16093         * misc/bits/syslog-ldbl.h: Likewise.
16094         * misc/sys/syslog.h: Likewise.
16095         * socket/bits/socket2.h: Likewise.
16096         * socket/sys/socket.h: Likewise.
16097         * debug/tst-chk1.c: Likewise.
16098         * wcsmbs/bits/wchar2.h: Likewise.
16099         * wcsmbs/bits/wchar-ldbl.h: Likewise.
16100         * wcsmbs/wchar.h: Likewise.
16101
16102 2012-04-29  Andreas Jaeger  <aj@suse.de>
16103
16104         * Makerules (tests): Remove enable-check-abi protection.
16105         (check-abi-warn): Remove.
16106         (check-abi-%): Remove check-abi-warn usage.
16107
16108         * configure.in: Remove check-abi configure option.
16109         * configure: Regenerated.
16110         * config.make.in (enable-check-abi): Remove.
16111
16112 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
16113
16114         [BZ #14033]
16115         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16116         double functions to double *_finite functions.
16117
16118         [BZ #13941]
16119         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16120         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16121         LDBL_MIN_EXP.
16122         * stdio-common/Makefile (tests): Add tst-sprintf3.
16123         * stdio-common/tst-sprintf3.c: New file.
16124
16125         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16126         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16127
16128 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16129
16130         * conform/conformtest.pl: Remove duplicate typed-constant
16131         handling.
16132
16133 2012-04-28  David S. Miller  <davem@davemloft.net>
16134
16135         * Makerules (%.abilist): Add vpath on sysdep_dirs.
16136         (check-abi-%): Remove AWK script prerequisite and explicit
16137         abilist directory.
16138         (check-abi): Rewrite to just diff the symlist with the abilist.
16139         (config-tls, config-abi-config): Delete, no longer used.
16140         (update-abi-%): Remove AWK script and explicit abilist directory.
16141         (update-abi): Rewrite to simply compare and conditionally copy the
16142         symlist and the sysdep abilist file.  Remove update-abi-config
16143         checks.
16144         * abilist/ld.abilist: Remove.
16145         * abilist/libBrokenLocale.abilist: Remove.
16146         * abilist/libanl.abilist: Remove.
16147         * abilist/libcrypt.abilist: Remove.
16148         * abilist/libdl.abilist: Remove.
16149         * abilist/librt.abilist: Remove.
16150         * abilist/libthread_db.abilist: Remove.
16151         * abilist/libutil.abilist: Remove.
16152         * scripts/extract-abilist.awk: Remove.
16153         * scripts/merge-abilist.awk: Remove.
16154         * sysdeps/generic/libcidn.abilist: New file.
16155         * sysdeps/generic/libnss_compat.abilist: New file.
16156         * sysdeps/generic/libnss_db.abilist: New file.
16157         * sysdeps/generic/libnss_dns.abilist: New file.
16158         * sysdeps/generic/libnss_files.abilist: New file.
16159         * sysdeps/generic/libnss_hesiod.abilist: New file.
16160         * sysdeps/generic/libnss_nis.abilist: New file.
16161         * sysdeps/generic/libnss_nisplus.abilist: New file.
16162         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16163         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16164         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16165         file.
16166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16167         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16168         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16169         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16170         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16171         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16172         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16173         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16174         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16175         file.
16176         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16178         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16180         file.
16181         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16182         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16183         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16184         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16185         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16186         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16187         file.
16188         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16189         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16190         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16191         file.
16192         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16194         New file.
16195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16196         New file.
16197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16198         New file.
16199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16200         New file.
16201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16202         New file.
16203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16204         New file.
16205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16206         New file.
16207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16208         New file.
16209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16210         New file.
16211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16212         New file.
16213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16214         New file.
16215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16216         New file.
16217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16218         New file.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16220         file.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16222         New file.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16224         New file.
16225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16226         file.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16228         New file.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16230         New file.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16232         file.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16234         New file.
16235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16236         New file.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16238         New file.
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16240         New file.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16242         New file.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16244         New file.
16245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16247         file.
16248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16249         New file.
16250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16251         file.
16252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16253         file.
16254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16255         file.
16256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16257         file.
16258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16259         file.
16260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16261         New file.
16262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16263         file.
16264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16265         file.
16266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16267         New file.
16268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16269         file.
16270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16272         file.
16273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16274         New file.
16275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16276         file.
16277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16278         file.
16279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16280         file.
16281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16282         file.
16283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16284         file.
16285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16286         New file.
16287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16288         file.
16289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16290         file.
16291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16292         New file.
16293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16294         file.
16295         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16296         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16297         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16298         file.
16299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16300         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16301         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16302         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16303         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16304         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16305         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16306         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16307         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16308         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16311         file.
16312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16313         New file.
16314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16315         file.
16316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16317         file.
16318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16319         file.
16320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16321         file.
16322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16323         file.
16324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16325         New file.
16326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16327         New file.
16328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16329         file.
16330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16331         New file.
16332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16333         file.
16334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16336         file.
16337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16338         New file.
16339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16340         file.
16341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16342         file.
16343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16344         file.
16345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16346         file.
16347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16348         file.
16349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16350         New file.
16351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16352         New file.
16353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16354         file.
16355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16356         New file.
16357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16358         file.
16359
16360 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16361
16362         * conform/conformtest.pl: Fix typo in handling typed-constant from
16363         allow-header.
16364
16365 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16366
16367         * README: Cut down references to pre-2.6 Linux kernels and
16368         Linuxthreads.  Update lists of configurations in libc and ports
16369         and sort alphabetically.  Say "or newer" with Linux kernel version
16370         requirements.
16371
16372         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16373
16374 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16375
16376         [BZ #887]
16377         * math/libm-test.inc (logb_test_downward): New test to expose
16378         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16379         rounding mode.
16380
16381 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16382
16383         [BZ #14027]
16384         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16385         to be done.
16386         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16387         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16388
16389 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16390
16391         * sysdeps/unix/i386/brk.S: Remove file.
16392         * sysdeps/unix/i386/dl-brk.S: Likewise.
16393         * sysdeps/unix/i386/pipe.S: Likewise.
16394         * sysdeps/unix/i386/sigreturn.S: Likewise.
16395         * sysdeps/unix/i386/syscall.S: Likewise.
16396         * sysdeps/unix/i386/vfork.S: Likewise.
16397         * sysdeps/unix/i386/wait.S: Likewise.
16398
16399         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16400         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16401
16402         * configure.in (arm*-none*): Do not allow without
16403         --enable-hacker-mode.
16404         (netbsd*): Remove case setting base_os.
16405         (386bsd*): Likewise.
16406         (freebsd*): Likewise.
16407         (bsdi*): Likewise.
16408         (osf*): Likewise.
16409         (sunos*): Likewise.
16410         (ultrix*): Likewise.
16411         (newsos*): Likewise.
16412         (dynix*): Likewise.
16413         (*bsd*): Likewise.
16414         (sysv*): Likewise.
16415         (isc*): Likewise.
16416         (esix*): Likewise.
16417         (sco*): Likewise.
16418         (minix*): Likewise.
16419         (irix4*): Likewise.
16420         (irix6*): Likewise.
16421         (solaris[2-9]*): Likewise.
16422         (none): Likewise.
16423         * configure: Regenerated.
16424
16425 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16426
16427         [BZ #11521]
16428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16429         overflow or cancellation in calculating denominator.
16430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16432         down expression to avoid unexpected rounding in newer GCCs.
16433         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16434
16435 2012-04-26  David S. Miller  <davem@davemloft.net>
16436
16437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16438         long-double compat symbols.
16439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16452
16453 2012-04-25  David S. Miller  <davem@davemloft.net>
16454
16455         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16456         HWCAP_* values only after the memory barriers have been defined.
16457         (atomic_full_barrier): Define.
16458         (atomic_read_barrier): Define.
16459         (atomic_write_barrier): Define.
16460
16461 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16462
16463         * shlib-versions: Add libgcc_s version information.
16464         * sysdeps/generic/libgcc_s.h: Remove.
16465         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16466         libgcc_s.h.
16467         * sysdeps/gnu/unwind-resume.c: Likewise.
16468         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16469
16470 2012-04-25  David S. Miller  <davem@davemloft.net>
16471
16472         * sysdeps/unix/sparc/brk.S: Delete.
16473         * sysdeps/unix/sparc/dl-brk.S: Delete.
16474         * sysdeps/unix/sparc/pipe.S: Delete.
16475         * sysdeps/unix/sparc/sysdep.S: Delete.
16476         * sysdeps/unix/sparc/sysdep.h: Delete.
16477         * sysdeps/unix/sparc/vfork.S: Delete.
16478         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16479         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16480         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16481         ret_ERRVAL, r0, r1, MOVE): Define.
16482         (JUMPTARGET): Remove.
16483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16484         sysdeps/unix/sparc/sysdep.h
16485         (ENTRY, END): Remove.
16486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16487
16488 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16489
16490         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16491         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16492         -DIS_IN_build.
16493
16494         * timezone/README: Update upstream location and email address for
16495         tzcode and tzdata.
16496         * timezone/zdump.c: Update from tzcode 2012b.
16497         * timezone/zic.c: Likewise.
16498
16499         * configure.in (libc_cv_as_needed): Remove test.
16500         * configure: Regenerated.
16501         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16502         conditional definition.
16503         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16504         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16505         * config.make.in (have-as-needed): Remove variable.
16506
16507 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16508             Paul Pluzhnikov  <ppluzhnikov@google.com>
16509
16510         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16511         strings correctly.
16512
16513 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16514
16515         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16516         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16517         * sysdeps/sh/strlen.S: Likewise.
16518
16519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16520
16521         * sysdeps/unix/fork.S: Remove file.
16522         * sysdeps/unix/i386/fork.S: Likewise.
16523         * sysdeps/unix/sparc/fork.S: Likewise.
16524
16525         * sysdeps/unix/system.c: Remove file.
16526         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16527
16528         * sysdeps/unix/getegid.S: Remove file.
16529         * sysdeps/unix/geteuid.S: Likewise.
16530
16531 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16532
16533         * scripts/check-localplt.awk: New file.
16534         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16535         of diff.
16536         * scripts/data/localplt-generic.data: Add a comment.
16537
16538         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16539         NODE when __dir_mkfile failed.
16540         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16541         Reported by Ludovic Courtès <ludo@gnu.org>.
16542
16543 2012-04-24  Andreas Jaeger  <aj@suse.de>
16544
16545         * Makerules (common-clean): Also remove gen-as-const-headers
16546         files.
16547
16548 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16549
16550         * Makerules (native-compile): Do not change working directory for
16551         build.  Use $(OUTPUT_OPTION) in command.
16552         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16553
16554 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16555
16556         [BZ #13886]
16557         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16558         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16559         * math/libm-test.inc (floor_test): Add more tests.
16560         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16561
16562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16563
16564         * sysdeps/unix/getdents.c: Remove file.
16565         * sysdeps/unix/sysv/getdents.c: Likewise.
16566         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16567
16568         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16569         sysdeps/unix/mman/syscalls.list.
16570         (mmap): Likewise.
16571         (mprotect): Likewise.
16572         (msync): Likewise.
16573         (munmap): Likewise.
16574         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16575         * sysdeps/unix/mman/syscalls.list: Remove.
16576         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16577
16578         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16579         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16580         * configure: Regenerated.
16581         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16582         $(libgcc_s_suffix).
16583         * config.make.in (libgcc_s_suffix): Remove variable.
16584
16585 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16586
16587         * sysdeps/unix/sysv/gethostname.c: Move to ...
16588         * sysdeps/posix/gethostname.c: ... here.
16589
16590         * sysdeps/unix/execve.S: Remove file.
16591
16592         * sysdeps/unix/_exit.S: Remove file.
16593
16594 2012-04-23  Andreas Jaeger  <aj@suse.de>
16595
16596         [BZ #13739]
16597         * manual/Makefile: Remove make dist support, there's no
16598         need for a stand-alone documentation tar ball.
16599         (TEXI2DVI): Define always, it's not in Makeconfig.
16600         (dist): Removed.
16601         (tar-it): Removed.
16602         (edition): Removed.
16603         (glibc-doc-$(edition).tar): Removed
16604         (%.Z): Removed.
16605         (%.gz): Removed.
16606         (%.uu): Removed.
16607         (ETAGS): Remove, it's in Makeconfig.
16608         (move-if-change): Remove, it's in Makeconfig.
16609
16610 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16611
16612         [BZ #13970]
16613         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16614         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16615         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16616         (strtod_l, strtof_l, strtold_l): Remove __wur.
16617         It is not necessarily an error to ignore strtol's return value.
16618         One can reliably look at the stored endptr to decide whether
16619         the number had valid syntax.
16620
16621 2012-04-21  Andreas Jaeger  <aj@suse.de>
16622
16623         [BZ #13739]
16624         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16625
16626 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16627
16628         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16629         * sysdeps/unix/sysv/Versions: Remove file.
16630
16631 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16632
16633         [BZ #13927]
16634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16635
16636 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16637
16638         [BZ #7064]
16639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16640         version from __vm86.
16641
16642 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16643
16644         * sysdeps/unix/common/lxstat.c: Remove file.
16645         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16646
16647         * sysdeps/unix/sysv/Makefile: Remove file.
16648
16649         * sysdeps/unix/sysv/direct.h: Remove file.
16650
16651         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16652         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16653         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16654         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16655         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16656         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16657         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16658
16659         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16660
16661         * sysdeps/unix/xmknod.c: Remove file.
16662         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16663
16664         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16665
16666         * sysdeps/unix/sysv/i386/time.S: Remove file.
16667
16668         * sysdeps/unix/fxstat.c: Remove file.
16669         * sysdeps/unix/xstat.c: Likewise.
16670         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16671
16672         * sysdeps/unix/sysv/sigaction.c: Remove file.
16673
16674         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16675         (sysdep_headers): Remove variable.
16676         [termio.h not in sysdep_headers] (generated): Likewise.
16677         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16678         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16679         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16680         * sysdeps/unix/sysv/tcflow.c: Likewise.
16681         * sysdeps/unix/sysv/tcflush.c: Likewise.
16682         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16683         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16684         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16685         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16686         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16687
16688         * sysdeps/unix/siglist.c: Remove file.
16689
16690         * sysdeps/unix/getppid.S: Remove file.
16691
16692         * sysdeps/unix/mkdir.c: Remove file.
16693         * sysdeps/unix/rmdir.c: Likewise.
16694
16695 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16696
16697         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16698         ERR_MAX value.
16699         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16700         errlist-compat value.
16701
16702 2012-04-18  David S. Miller  <davem@davemloft.net>
16703
16704         * sysdeps/generic/memcopy.h (reg_char): Delete.
16705         * debug/strcat_chk.c: Use char, not reg_char.
16706         * debug/strcpy_chk.c: Likewise.
16707         * debug/strncat_chk.c: Likewise.
16708         * debug/strncpy_chk.c: Likewise.
16709         * string/memchr.c: Likewise.
16710         * string/memrchr.c: Likewise.
16711         * string/rawmemchr.c: Likewise.
16712         * string/strcat.c: Likewise.
16713         * string/strchr.c: Likewise.
16714         * string/strchrnul.c: Likewise.
16715         * string/strcmp.c: Likewise.
16716         * string/strcpy.c: Likewise.
16717         * string/strncat.c: Likewise.
16718         * string/strncmp.c: Likewise.
16719         * string/strncpy.c: Likewise.
16720
16721 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16722
16723         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16724         __builtin_memcopy is called when src and dest ranges are known to not
16725         overlap.
16726
16727 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16728
16729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16730         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16731         fwd_align_merge macro call.
16732         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16733         bwd_align_merge macro call.
16734         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16735
16736 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16737
16738         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16739         bwd_align_merge macros.
16740         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16741         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16743
16744 2012-04-18  David S. Miller  <davem@davemloft.net>
16745
16746         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16747
16748 2012-04-18  Andreas Jaeger  <aj@suse.de>
16749
16750         [BZ# 6794]
16751         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16752         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16753         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16754
16755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16756         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16757         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16758
16759         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16760         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16761         Adjust for changed ldbl-128 files.
16762
16763         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16764         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16765         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16766
16767 2012-04-17  David S. Miller  <davem@davemloft.net>
16768
16769         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16770
16771 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16772
16773         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16774         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16775         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16776         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16777         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16778         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16779
16780 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16781
16782         [BZ #6794]
16783         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16784         * math/libm-test.inc: Add ilogb errno and exception tests.
16785         * math/w_ilogb.c: New file: ilogb wrapper.
16786         * math/w_ilogbf.c: New file: ilogbf wrapper.
16787         * math/w_ilogbl.c: New file: ilogbl wrapper.
16788         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16789         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16790         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16791         exception being thrown with 0.0 as argument.
16792         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16793         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16794         exception being thrown with 0.0 as argument.
16795         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16796         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16797         exception being thrown with 0.0 as argument.
16798         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16799         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16800         exception being thrown with 0.0 as argument.
16801         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16802         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16804         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16806         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16807         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16808         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16809         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16810
16811 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16812
16813         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16814         with altivec.
16815
16816 2012-04-16  Marek Polacek  <polacek@redhat.com>
16817
16818         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16819
16820 2012-04-16  Marek Polacek  <polacek@redhat.com>
16821
16822         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16823         operands of fdivp instruction.
16824
16825 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16826
16827         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16828         * elf/tst-auditmod3b.c: Likewise.
16829         * elf/tst-auditmod4b.c: Likewise.
16830         * elf/tst-auditmod5b.c: Likewise.
16831         * elf/tst-auditmod6b.c: Likewise.
16832         * elf/tst-auditmod6c.c: Likewise.
16833         * elf/tst-auditmod7b.c: Likewise.
16834         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16835         * sysdeps/x86_64/preconfigure.in: Likewise.
16836         * sysdeps/x86_64/preconfigure: Regenerated.
16837
16838 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16839
16840         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16841         __ILP32__.
16842
16843 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16844
16845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16846         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16847
16848 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16849
16850         [BZ #13973]
16851         * locale/iso-639.def: Fix gl language name. Spotted by
16852         Yaron Shahrabani.
16853
16854 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16855
16856         [BZ #2074]
16857         * libio/libio.h (__io_write_fn): Update comment.
16858
16859 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16860
16861         [BZ #2074]
16862         * stdio.texi (Hook Functions): The user provided writer function
16863         is not allowed to return -1.
16864
16865 2012-04-11  David S. Miller  <davem@davemloft.net>
16866
16867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16868
16869 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16870
16871         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16872         Add a leading slash to rtkaio.
16873
16874 2012-04-11  Jim Meyering  <meyering@redhat.com>
16875
16876         [BZ #11959]
16877         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16878         It is not necessarily an error to ignore fwrite's return
16879         value.  One can reliably use ferror to test for errors after
16880         the fact.
16881
16882 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16883
16884         * bits/types.h (__snseconds_t): New type.
16885         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16886
16887         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16889         (__SNSECONDS_T_TYPE): Likewise.
16890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16891         (__SNSECONDS_T_TYPE): Likewise.
16892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16893         (__SNSECONDS_T_TYPE): Likewise.
16894
16895 2012-04-10  Andreas Jaeger  <aj@suse.de>
16896
16897         [BZ #2636]
16898         * manual/time.texi (Processor Time): Return type of times is
16899         elapsed real time since an arbitrary point in the past.
16900         (CPU Time): Move CLK_TCK from here...
16901         (Processor Time): ...to here.  Correct description.
16902         * manual/conf.texi (Constants for Sysconf): Correct description of
16903         _SC_CLK_TCK.
16904
16905 2012-04-10  David S. Miller  <davem@davemloft.net>
16906
16907         [BZ #13967]
16908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16909         where the is a gap between DT_REL(A) and DT_JMPREL.
16910
16911 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16912
16913         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16914         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16915         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16916
16917 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16918
16919         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16920         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16921         (dl_main): Handle --inhibit-cache.
16922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16923         _dl_inhibit_cache.
16924         * elf/dl-load.c (_dl_map_object): Use it.
16925         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16926
16927 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16928
16929         [BZ #13872]
16930         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16931         (__ieee754_powl): Saturate large exponents rather than testing for
16932         overflow of y*log2(x).
16933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16934         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16935         exceptions.
16936
16937         [BZ #11521]
16938         * math/s_ctan.c: Include <float.h>.
16939         (__ctan): Avoid internal overflow or cancellation in calculating
16940         denominator.
16941         * math/s_ctanf.c: Likewise.
16942         * math/s_ctanl.c: Likewise.
16943         * math/s_ctanh.c: Likewise.
16944         * math/s_ctanhf.c: Likewise.
16945         * math/s_ctanhl.c: Likewise.
16946         * math/libm-test.inc (ctan_test): Add more tests.
16947         (ctanh_test): Likewise.
16948         * sysdeps/i386/fpu/libm-test-ulps: Update.
16949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16950
16951 2012-04-09  Andreas Jaeger  <aj@suse.de>
16952
16953         [BZ #6894]
16954         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16955         is an optional BSD extension.
16956
16957         [BZ #10254]
16958         * manual/stdio.texi (Opening Streams): Document additional fopen
16959         parameters.
16960
16961 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16962
16963         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16964         %eax without telling the compiler.
16965
16966 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16967
16968         [BZ # 13963]
16969         * manual/install.texi: Use sourceware.org.
16970
16971 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16972
16973         [BZ #13873]
16974         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16975         (__ieee754_pow): Generate overflow and underflow using huge*huge
16976         and tiny*tiny rather than just returning constant infinity or zero
16977         for large exponents.
16978         * math/libm-test.inc (pow_test): Require overflow exceptions for
16979         applicable cases of large exponents.
16980
16981         [BZ #706]
16982         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16983         (__ieee754_pow): Use iterative multiplication algorithm only for
16984         integer exponents with absolute value below 1024.  Check for odd
16985         integer exponents when using algorithm for real exponents.
16986         * math/libm-test.inc (pow_test): Add more tests.
16987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16988
16989 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16990
16991         [BZ #13705]
16992         * math/libm-test.inc (exp_test): Do not allow overflow exception
16993         on underflow test.
16994
16995 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16996
16997         [BZ #13705]
16998         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16999         instead of __kernel_standard_f.
17000
17001 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
17002
17003         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17004         * sysdeps/x86_64/memset_chk.S: Likewise.
17005
17006 2012-04-08  Andreas Jaeger  <aj@suse.de>
17007
17008         [BZ #10153]
17009         * manual/startup.texi (Environment Access): Describe return value
17010         for putenv and setenv.
17011
17012         [BZ #6895]
17013         * manual/filesys.texi (Directory Entries): Add description for
17014         DT_LNK.
17015
17016         [BZ #6890]
17017         * manual/filesys.texi (Directory Entries): Clarify that it's file
17018         system not operating system in the description of DT_UNKNOWN.
17019
17020         [BZ #6578]
17021         * manual/syslog.texi (closelog): Fix reference, it's openlog.
17022
17023 2012-04-08  Stephen Compall  <s11@member.fsf.org>
17024
17025         [BZ #6649]
17026         * manual/llio.texi (Opening and Closing Files): Add cross
17027         reference to explain mode argument.
17028
17029 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
17030
17031         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17032         * sysdeps/x86_64/memset_chk.S: Likewise.
17033
17034 2012-04-07  David S. Miller  <davem@davemloft.net>
17035
17036         * elf/elf.h (R_SPARC_WDISP10): Define.
17037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17038         R_SPARC_SIZE32.
17039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17040         R_SPARC_SIZE64 and R_SPARC_H34.
17041
17042 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
17043
17044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17045         conditions and remove no longer applicable assertion.
17046
17047 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17048
17049         * bits/byteswap.h: Include <features.h>.
17050         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17051         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17052
17053 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17054
17055         * bits/byteswap.h (__bswap_16): Removed.
17056         Include <bits/byteswap-16.h> to get __bswap_16.
17057         * sysdeps/i386/bits/byteswap.h: Likewise.
17058         * sysdeps/s390/bits/byteswap.h: Likewise.
17059         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17060         * bits/byteswap-16.h: New file.
17061         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17062         * sysdeps/s390/bits/byteswap-16.h: Likewise.
17063         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17064         * string/Makefile (headers): Add bits/byteswap-16.h.
17065
17066 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17067
17068         [BZ #13895]
17069         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17070         extra indirection.
17071         * nss/Makefile (tests-static, tests): Add tst-nss-static.
17072         * nss/tst-nss-static.c: New.
17073
17074 2012-04-06  Robert Millan  <rmh@gnu.org>
17075
17076         [BZ #6486]
17077         * manual/llio.texi (File Position Primitive): lseek
17078         refers to WHENCE when it really means OFFSET.
17079
17080 2012-04-06  Andreas Jaeger  <aj@suse.de>
17081
17082         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17083         strncmp declarations.
17084
17085         * abilist/libc.abilist: Add __poll and __ppoll.
17086
17087 2012-04-05  David S. Miller  <davem@davemloft.net>
17088
17089         * scripts/check-local-headers.sh: Accept a host triplet in the
17090         path matched by the exclude regexp.
17091
17092         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17093         definition.
17094         * sysdeps/powerpc/powerpc32/dl-machine.h
17095         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17096         * sysdeps/s390/s390-32/dl-machine.h
17097         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17098         * sysdeps/sparc/sparc32/dl-machine.h
17099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17100         * sysdeps/sparc/sparc64/dl-machine.h
17101         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17102
17103         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17104         lazy binding.
17105         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17106         undefined symbol errors.
17107
17108         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17109         DT_NEEDED entries.
17110
17111 2012-04-05  Michael Matz  <matz@suse.de>
17112
17113         [BZ #13592]
17114         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17115
17116 2012-04-05  Andreas Jaeger  <aj@suse.de>
17117
17118         [BZ #13908]
17119         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17120         comment.
17121
17122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17123
17124         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17125         which ROUND is no valid rounding mode.
17126
17127 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17128
17129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17130         read again.
17131         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17132
17133 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17134
17135         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17136         an exception using FPU order intentionally.
17137
17138 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17139
17140         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17141         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17142         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17143         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17144
17145 2012-04-05  Simon Josefsson  <simon@josefsson.org>
17146
17147         [BZ #12340]
17148         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17149         EINVAL when BUFLEN is too smal.
17150
17151 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17152
17153         [BZ #13553]
17154         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17155         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17156
17157 2012-04-03  Andreas Jaeger  <aj@suse.de>
17158
17159         [BZ #13938]
17160         * manual/setjmp.texi (System V contexts): Fix sentence.
17161
17162         [BZ #13926]
17163         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17164         New macro for this case.
17165         [!__GNUC__] (__bswap_64): New inline function for this case.
17166         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17167         * bits/byteswap.h: Likewise.
17168         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17169         ull, guard with __GLIBC_HAVE_LONG_LONG.
17170
17171         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17172         __GLIBC_HAVE_LONG_LONG.
17173
17174         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17175         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17176
17177 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17178
17179         [BZ #13691]
17180         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17181         inptr and inend, rather than using last_ch.
17182
17183 2012-04-02  David S. Miller  <davem@davemloft.net>
17184
17185         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17186         * stdio-common/printf-parse.h (read_int): Change return type to
17187         'int', return -1 on INT_MAX overflow.
17188         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17189         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17190         overflows INT_MAX.  Check for overflow of in-format-string precision
17191         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17192         SIZE_MAX not INT_MAX for integer overflow test.
17193         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17194         skip the construct in the format string but do not record anything.
17195         * stdio-common/bug22.c: Adjust to test both width/prevision
17196         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17197         explicitly for proper errno values.
17198
17199 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17200
17201         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17202         CHAR_MAX.
17203         * string/test-strcmp.c [! WIDE]: Likewise.
17204         * time/tst-mktime2.c: Likewise for INT_MAX.
17205         * string/test-string.h: #include <sys/param.h> for MIN.
17206
17207         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17208         * sysdeps/i386/init-first.c (init): Likewise.
17209         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17210         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17211         * sysdeps/sh/init-first.c (init): Likewise.
17212
17213 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17214
17215         * po/ru.po: Update from translation team.
17216         * po/vi.po: Likewise.
17217
17218 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17219
17220         * resolv/nss_dns/dns-host.c: Merge copyright years.
17221
17222 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17223
17224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17225         Optimize memcpy with prefetch if
17226         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17227         src, dst pointers have unequal 16 byte alignments.
17228
17229 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17230
17231         [BZ #13928]
17232         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17233         from a CNAME entry and return the minimum ttl for the query.
17234         (gaih_getanswer_slice): Likewise.
17235
17236 2012-03-30  Jeff Law  <law@redhat.com>
17237
17238         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17239         due to long keys.
17240         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17241         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17242
17243         * resolv/nss_dns/dns-host.c: Update copyright year.
17244
17245 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17246
17247         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17248         requests to save a system call.  Fix check that all bytes are sent.
17249
17250         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17251         comments for sendmmsg.
17252
17253 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17254
17255         [BZ #13691]
17256         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17257         with only 1 character between 0x0041 and 0x01b0.
17258         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17259         * wcsmbs/tst-mbsnrtowcs.c: New file.
17260
17261 2012-03-29  David S. Miller  <davem@davemloft.net>
17262
17263         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17264         small copies by hand.
17265
17266 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17267
17268         [BZ #13761]
17269         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17270         _nss_compat_initgroups_dyn): Fall back to malloc/free
17271         for large group memberships.
17272
17273 2012-03-28  David S. Miller  <davem@davemloft.net>
17274
17275         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17276         that branches into memcpy.
17277         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17280         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17282         bits.
17283         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17284         implementation too.
17285         * sysdeps/sparc/mempcpy.S: New file.
17286
17287         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17288         the IFUNC routine in the libc case.
17289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17290
17291         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17292         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17293         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17294         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17295         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17296         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17297         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17298         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17299
17300         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17301         loop to 256 bytes instead of 64 bytes and fix test signedness.
17302
17303         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17304         * sysdeps/sparc/sparc32/Makefile: rather than here...
17305         * sysdeps/sparc/sparc64/Makefile: and here.
17306
17307 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17308
17309         * malloc/mallocbug.c: Avoid warnings about unused variables.
17310
17311 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17312
17313         [BZ #13760]
17314         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17315         in the right place. Discard and retry query if response is
17316         larger than input buffer size.
17317
17318 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17319
17320         [BZ #369]
17321         [BZ #2678]
17322         [BZ #3866]
17323         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17324         x for large integer exponent.
17325         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17326         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17327         sign of result as needed afterwards.
17328         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17329         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17330         result for underflowing pow the same as for overflow.
17331         (__kernel_standard_l): Handle powl overflow and underflow here
17332         rather than calling __kernel_standard.
17333         * math/libm-test.inc (pow_test): Add more tests.
17334
17335         [BZ #3868]
17336         [BZ #13879]
17337         [BZ #13910]
17338         [BZ #13911]
17339         [BZ #13912]
17340         [BZ #13913]
17341         [BZ #13915]
17342         [BZ #13916]
17343         [BZ #13917]
17344         [BZ #13918]
17345         [BZ #13919]
17346         [BZ #13920]
17347         [BZ #13921]
17348         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17349         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17350         (__kernel_standard_l): New function.
17351         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17352         __kernel_standard.
17353         * math/w_acosl.c (__acosl): Likewise.
17354         * math/w_asinl.c (__asinl): Likewise.
17355         * math/w_atan2l.c (__atan2l): Likewise.
17356         * math/w_atanhl.c (__atanhl): Likewise.
17357         * math/w_coshl.c (__coshl): Likewise.
17358         * math/w_exp10l.c (__exp10l): Likewise.
17359         * math/w_exp2l.c (__exp2l): Likewise.
17360         * math/w_fmodl.c (__fmodl): Likewise.
17361         * math/w_hypotl.c (__hypotl): Likewise.
17362         * math/w_j0l.c (__j0l, __y0l): Likewise.
17363         * math/w_j1l.c (__j1l, __y1l): Likewise.
17364         * math/w_jnl.c (__jnl, __ynl): Likewise.
17365         * math/w_lgammal.c (__lgammal): Likewise.
17366         * math/w_log10l.c (__log10l): Likewise.
17367         * math/w_log2l.c (__log2l): Likewise.
17368         * math/w_logl.c (__logl): Likewise.
17369         * math/w_powl.c (__powl): Likewise.
17370         * math/w_remainderl.c (__remainderl): Likewise.
17371         * math/w_scalbl.c (sysv_scalbl): Likewise.
17372         * math/w_sinhl.c (__sinhl): Likewise.
17373         * math/w_sqrtl.c (__sqrtl): Likewise.
17374         * math/w_tgammal.c (__tgammal): Likewise.
17375         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17376         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17377         * math/libm-test.inc (acos_test): Add more tests.
17378         (acosh_test): Likewise.
17379         (asin_test): Likewise.
17380         (atanh_test): Likewise.
17381         (exp_test): Likewise.
17382         (exp10_test): Likewise.
17383         (exp2_test): Likewise.
17384         (expm1_test): Likewise.
17385         (lgamma_test): Likewise.
17386         (log_test): Likewise.
17387         (log10_test): Likewise.
17388         (log1p_test): Likewise.
17389         (log2_test): Likewise.
17390         (pow_test): Do not allow some spurious overflow exceptions.
17391         (sqrt_test): Add more tests.
17392         (tgamma_test): Likewise.
17393         (y0_test): Likewise.
17394         (y1_test): Likewise.
17395         (yn_test): Likewise.
17396
17397 2012-03-27  Anton Blanchard  <anton@samba.org>
17398
17399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17400         MAP_HUGETLB.
17401         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17402         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17404
17405 2012-03-27  David S. Miller  <davem@davemloft.net>
17406
17407         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17408
17409         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17410         have-as-vis3 check.
17411
17412 2012-03-27  Andreas Jaeger  <aj@suse.de>
17413
17414         * sysdeps/x86_64/elf/configure.in: Moved to ...
17415         * sysdeps/x86_64/configure.in: ... here.
17416         * sysdeps/x86_64/elf/start.S: Moved to ...
17417         * sysdeps/x86_64/start.S: ... here.
17418         * sysdeps/x86_64/elf/configure: Delete.
17419
17420         * sysdeps/x86_64/configure.in: Merge contents from
17421         sysdeps/i386/configure.in (without i686 check).
17422
17423         * sysdeps/i386/elf/Versions: Merge into ...
17424         * sysdeps/i386/Versions: ... this.
17425         * sysdeps/i386/elf/Versions: Delete file.
17426         * sysdeps/i386/elf/start.S: Moved to ...
17427         * sysdeps/i386/start.S: ...here.
17428         * sysdeps/i386/elf/configure.in: Merge into...
17429         * sysdeps/i386/configure.in: ...here.
17430         * sysdeps/i386/elf/configure.in: Delete file.
17431         * sysdeps/i386/elf/configure: Delete file.
17432
17433         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17434         * debug/backtracesyms.c: ... here.
17435         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17436         * debug/backtracesymsfd.c: ... here.
17437         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17438         * sysdeps/generic/ifunc-sel.h: ... here.
17439
17440         * sysdeps/unix/i386/start.c: Delete file.
17441         * sysdeps/unix/sparc/start.c: Delete file.
17442         * sysdeps/unix/start.c: Delete file.
17443
17444         * sysdeps/sh/elf/configure.in: Moved to ...
17445         * sysdeps/sh/configure.in: ... here.
17446         * sysdeps/sh/elf/start.S: Moved to ...
17447         * sysdeps/sh/start.S: ... here.
17448         * sysdeps/sh/elf/configure: Delete file.
17449
17450         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17451         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17452         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17453         * sysdeps/powerpc/powerpc64/entry.h: ... here.
17454         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17455         * sysdeps/powerpc/powerpc64/start.S: here.
17456         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17457         * sysdeps/powerpc/powerpc64/Makefile: ... this.
17458         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17459         * sysdeps/powerpc/powerpc64/configure.in: ... this.
17460         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17461
17462         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17463         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17464         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17465         * sysdeps/powerpc/powerpc32/start.S: ... here.
17466         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17467         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17468         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17469
17470         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17471         * sysdeps/powerpc/ifunc-sel.h: ... here.
17472         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17473         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17474
17475         * sysdeps/sparc/elf/configure.in: Moved to ...
17476         * sysdeps/sparc/configure.in: ... here.
17477         * sysdeps/sparc/elf/configure: Delete file.
17478         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17479         * sysdeps/sparc/sparc32/start.S: ... here.
17480         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17481         * sysdeps/sparc/sparc64/start.S: ... here.
17482         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17483         * sysdeps/sparc/sparc32/Makefile: ... this.
17484         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17485         * sysdeps/sparc/sparc64/Makefile: ... this.
17486
17487         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17488         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17489         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17490         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17491         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17492         * sysdeps/s390/s390-32/setjmp.S: ... here.
17493         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17494         * sysdeps/s390/s390-32/configure.in: ... here.
17495         * sysdeps/s390/s390-32/elf/configure: Delete file.
17496         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17497         * sysdeps/s390/s390-32/start.S: ... here.
17498
17499         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17500         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17501         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17502         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17503         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17504         * sysdeps/s390/s390-64/setjmp.S: ... here.
17505         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17506         * sysdeps/s390/s390-64/configure.in: ... here
17507         * sysdeps/s390/s390-64/elf/configure: Delete file.
17508         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17509         * sysdeps/s390/s390-64/start.S: ... here.
17510         * sysdeps/s390/s390-64/elf/configure: Delete.
17511
17512         * configure.in: Remove support for elf directories in sysdeps.
17513
17514         * configure: Regenerated.
17515         * sysdeps/i386/configure: Regenerated.
17516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17517         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17518         * sysdeps/s390/s390-32/configure: Regenerated.
17519         * sysdeps/s390/s390-64/configure: Regenerated.
17520         * sysdeps/sh/configure: Regenerated.
17521         * sysdeps/sparc/configure: Regenerated.
17522         * sysdeps/x86_64/configure: Regenerated.
17523
17524 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17525
17526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17527
17528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17529         denormal result into account.
17530
17531 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17532
17533         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17534         Reported by Allan McRae <allan@archlinux.org>.
17535
17536 2012-03-23  Jeff Law  <law@redhat.com>
17537
17538         * nss/getnssent.c (__nss_getent): Fix typo.
17539
17540 2012-03-23  David S. Miller  <davem@davemloft.net>
17541
17542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17543
17544 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17545
17546         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17547         to pad to uint64_t for each field.
17548         (dl_tls_index): Replace unsigned long with uint64_t.
17549
17550 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17551         Paul Pluzhnikov  <ppluzhnikov@google.com>
17552
17553         [BZ #6528]
17554         * grp/Makefile (otherlibs): Don't set it.
17555         * inet/Makefile (otherlibs): Likewise.
17556         * login/Makefile (otherlibs): Likewise.
17557         * nscd/Makefile (otherlibs): Likewise.
17558         * posix/Makefile (otherlibs): Likewise.
17559         * pwd/Makefile (otherlibs): Likewise.
17560         * rt/Makefile (otherlibs): Likewise.
17561         * sunrpc/Makefile (otherlibs): Likewise.
17562         * nss/Makefile (otherlibs): Likewise.
17563         Add libnss_files to routines and static-only-routines.
17564         ($(objpfx)getent): Remove rule.
17565         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17566         static-only-routines.
17567
17568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17569
17570         [BZ #13892]
17571         * math/s_cexp.c: Include <float.h>.
17572         (__cexp): Handle exp result overflowing not necessarily
17573         overflowing both real and imaginary parts of result.
17574         * math/s_cexpf.c: Likewise.
17575         * math/s_cexpl.c: Likewise.
17576         * math/libm-test.inc (cexp_test): Add more tests.
17577         * sysdeps/i386/fpu/libm-test-ulps: Update.
17578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17579
17580 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17581
17582         * include/link.h (ELFW): New macro.
17583         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17584         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17585
17586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17587
17588         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17589         with uint64_t.
17590
17591 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17592
17593         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17594         declaration.
17595         (struct La_x32_retval): Likewise.
17596
17597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17598
17599         * sysdeps/x86_64/preconfigure.in: New file.
17600         * sysdeps/x86_64/preconfigure: New generated file.
17601
17602 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17603
17604         [BZ #13824]
17605         * math/e_exp2l.c: Include <float.h>.
17606         (__ieee754_exp2l): Handle overflow and underflow cases
17607         separately.  Only pass fractional part of argument to
17608         __ieee754_expl.
17609         * math/libm-test.inc (exp2_test): Add more tests.
17610
17611         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17612         negating x to take absolute value.
17613         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17614         Likewise.
17615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17617         Likewise.
17618         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17619         computing low part if x was negated.
17620         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17621
17622 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17623
17624         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17625         la_x32_gnu_pltexit.
17626         (pltexit): Cast int_retval to ptrdiff_t.
17627         * elf/tst-auditmod3b.c: Likewise.
17628         * elf/tst-auditmod4b.c: Likewise.
17629         * elf/tst-auditmod5b.c: Likewise.
17630         * elf/tst-auditmod6b.c: Likewise.
17631         * elf/tst-auditmod6c.c: Likewise.
17632         * elf/tst-auditmod7b.c: Likewise.
17633
17634         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17635         and x32_gnu_pltexit.
17636
17637         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17638         __ELF_NATIVE_CLASS.
17639         (La_x32_regs): New macro.
17640         (La_x32_retval): Likewise.
17641         (la_x32_gnu_pltenter): New function prototype.
17642         (la_x32_gnu_pltexit): Likewise.
17643
17644 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17645
17646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17647         exponent.
17648
17649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17650
17651         * configure.in (libc_cv_cc_nofma): Check for option to disable
17652         generation of FMA instructions.
17653         * configure: Regenerate.
17654         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17655         * sysdeps/ieee754/dbl-64/Makefile: New file.
17656         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17657         Remove brandred-fma4.
17658         (CFLAGS-brandred-fma4.c): Remove.
17659         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17660         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17661         define.
17662         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17663         define.
17664
17665 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17666
17667         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17668         LLONG_MAX != LONG_MAX.
17669         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17670         (_fitoa_word): Likewise.
17671         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17672         LLONG_MAX != LONG_MAX.
17673         * stdio-common/_itowa.h: Include <_itoa.h>.
17674         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17675         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17676         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17677         only if not defined.
17678         (_ITOA_WORD_TYPE): Likewise.
17679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17680         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17681
17682 2012-03-21  David S. Miller  <davem@davemloft.net>
17683
17684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17685
17686 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17687
17688         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17689         of x86_64 when setting libc_cv_slibdir, libdir and
17690         libc_cv_localedir.
17691         * sysdeps/unix/sysv/linux/configure: Regenerated.
17692
17693 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17694
17695         * manual/lang.texi (Old Varargs): Remove section.
17696         (How Variadic): Update menu.
17697         (va_start): Do not mention varargs.h.
17698
17699 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17700             Joseph Myers  <joseph@codesourcery.com>
17701
17702         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17703         link test.
17704         * configure: Regenerated.
17705
17706 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17707
17708         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17709         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17710         conformtest.pl
17711
17712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17713
17714         * NOTES: Remove.
17715         * Makefile (files-for-dist): Remove NOTES.
17716         (NOTES): Remove rule.
17717         * README: Don't refer to NOTES.
17718         * manual/creature.texi: Don't include macros.texi.
17719         * manual/intro.texi (creature.texi): Remove comment referring to
17720         NOTES.
17721
17722         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17723         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17724         * configure: Regenerated.
17725         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17726         LIBC_TRY_CC_OPTION.
17727         (libc_cv_as_i686): Likewise.
17728         (libc_cv_cc_avx): Likewise.
17729         (libc_cv_cc_sse2avx): Likewise.
17730         (libc_cv_cc_fma4): Likewise.
17731         (libc_cv_cc_novzeroupper): Likewise.
17732         * sysdeps/i386/configure: Regenerated.
17733
17734         [BZ #13883]
17735         * sysdeps/i386/fpu/s_cexp.S: Remove.
17736         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17737         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17738         * math/libm-test.inc (cexp_test): Add more tests.
17739         * sysdeps/i386/fpu/libm-test-ulps: Update.
17740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17741
17742 2012-03-21  Allan McRae  <allan@archlinux.org>
17743
17744         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17745
17746 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17747
17748         [BZ #13871]
17749         * math/w_exp2.c: Do not include <float.h>.
17750         (o_threshold, u_threshold): Remove.
17751         (__exp2): Calculate result before checking finiteness and calling
17752         __kernel_standard.
17753         * math/w_exp2f.c: Likewise.
17754         * math/w_exp2l.c: Likewise.
17755         * math/libm-test.inc (exp2_test): Require overflow exception for
17756         1e6 input.
17757
17758         [BZ #3866]
17759         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17760         range of signed 64-bit integers before using fistpll.  Remove
17761         checks for whether integers fit in mantissa bits.
17762         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17763         the range of signed 32-bit integers before using fistpl.  Remove
17764         checks for whether integers fit in mantissa bits.
17765         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17766         (__ieee754_powl): Test for y outside the range of signed 64-bit
17767         integers before using fistpll.  Reduce 64-bit values to 63-bit
17768         ones as needed.
17769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17770         divide-by-zero is raised for zero to large negative powers.
17771         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17772         (__ieee754_powl): Test for y outside the range of signed 64-bit
17773         integers before using fistpll.  Reduce 64-bit values to 63-bit
17774         ones as needed.
17775         * math/libm-test.inc (pow_test): Add more tests.
17776
17777 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17778
17779         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17780         <stdio-common/_itoa.h>.
17781         * debug/segfault.c: Likewise.
17782         * elf/dl-cache.c: Likewise.
17783         * elf/dl-minimal.c: Likewise.
17784         * elf/dl-misc.c: Likewise.
17785         * elf/dl-sysdep.c: Likewise.
17786         * elf/dl-version.c: Likewise.
17787         * elf/rtld.c: Likewise.
17788         * hurd/hurdsock.c: Likewise.
17789         * hurd/lookup-retry.c: Likewise.
17790         * malloc/malloc.c: Likewise.
17791         * malloc/mtrace.c: Likewise.
17792         * nscd/nscd_getgr_r.c: Likewise.
17793         * nscd/nscd_getpw_r.c: Likewise.
17794         * nscd/nscd_getserv_r.c: Likewise.
17795         * posix/getopt_init.c: Likewise.
17796         * posix/wordexp.c: Likewise.
17797         * stdio-common/_itoa.c: Likewise.
17798         * stdio-common/printf_fphex.c: Likewise.
17799         * stdio-common/vfprintf.c: Likewise.
17800         * string/_strerror.c: Likewise.
17801         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17802         * sysdeps/i386/i686/hp-timing.h: Likewise.
17803         * sysdeps/mach/_strerror.c: Likewise.
17804         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17805         * sysdeps/mach/hurd/sethostid.c: Likewise.
17806         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17807         * sysdeps/mach/xpg-strerror.c: Likewise.
17808         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17810         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17811         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17812         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17813         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17814         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17815         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17816         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17817         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17818         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17819         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17820         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17821         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17822         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17823         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17824         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17825         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17826         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17827         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17828         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17829
17830         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17831
17832         * stdio-common/_itoa.h: Moved to ...
17833         * sysdeps/generic/_itoa.h: Here.
17834
17835         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17836
17837         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17838         instead of "_itoa.h" and "_itowa.h".
17839         * stdio-common/vfprintf.: Likewise.
17840
17841 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17842
17843         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17844         <bits/wordsize.h>.
17845         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17846         (__signbit): Likwise.
17847         (llrintf): Likwise.
17848         (llrint): Likwise.
17849
17850 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17851
17852         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17853         __WORDSIZE != 64.
17854
17855 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17856
17857         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17858         OVERFLOW_EXCEPTION_OK.
17859         * math/libm-test.inc ("Philosophy"): Update comment about
17860         exception testing.
17861         (OVERFLOW_EXCEPTION): Define.
17862         (OVERFLOW_EXCEPTION_OK): Likewise.
17863         (INVALID_EXCEPTION_OK): Renumber.
17864         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17865         (IGNORE_ZERO_INF_SIGN): Likewise.
17866         (test_exceptions): Handle FE_OVERFLOW.
17867         (exp10_test): Expect overflow exceptions.
17868         (exp2_test): Likewise.
17869         (expm1_test): Likewise.
17870         (nextafter_test): Likewise.
17871         (pow_test): Likewise.
17872         (scalbn_test): Likewise.
17873         (scalbln_test): Likewise.
17874
17875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17876
17877         * sysdeps/x86_64/bits/atomic.h
17878         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17879         64bit integer.
17880         (atomic_exchange_acq): Likewise.
17881         (__arch_exchange_and_add_body): Likewise.
17882         (__arch_add_body): Likewise.
17883         (atomic_add_negative): Likewise.
17884         (atomic_add_zero): Likewise.
17885
17886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17887
17888         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17889         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17890
17891 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17892
17893         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17894         Check __x86_64__ instead of __WORDSIZE.
17895
17896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17897
17898         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17899
17900 2012-03-19  David S. Miller  <davem@davemloft.net>
17901
17902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17903
17904         * sysdeps/sparc/fpu/fenv_private.h: New file.
17905         * sysdeps/sparc/fpu/math_private.h: Use it.
17906         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17907         Remove.
17908         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17909         (libc_feholdexcept_setroundl): Remove.
17910         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17911         Remove.
17912         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17913         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17914
17915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17916
17917         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17918         int64_t instead of long int.
17919         (INSERT_WORDS64): Likwise.
17920
17921 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17922
17923         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17924         _Unwind_GetCFA return to _Unwind_Ptr first.
17925
17926 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17927
17928         [BZ #13629]
17929         * math/s_clog.c: Include <float.h>.
17930         (__clog): Scale large or subnormal inputs.
17931         * math/s_clogf.c: Likewise.
17932         * math/s_clogl.c: Likewise.
17933         * math/s_clog10.c: Include <float.h>.
17934         (M_LOG10_2): Define.
17935         (__clog10): Scale large or subnormal inputs.
17936         * math/s_clog10f.c: Likewise.
17937         * math/s_clog10l.c: Likewise.
17938         * math/libm-test.inc (clog_test): Add more tests.
17939         (clog10_test): Likewise.
17940         * sysdeps/i386/fpu/libm-test-ulps: Update.
17941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17942
17943         [BZ #11451]
17944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17945         x and y.
17946         * math/libm-test.inc (atan2_test): Add another test.
17947
17948         * Makerules (common-objdir-compile): Remove.
17949         * sysdeps/unix/Makefile (config-generated): Do not add
17950         $(unix-generated) to variable.
17951         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17952         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17953         Remove rule.
17954         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17955         Likewise.
17956         [generic bits/local_lim.h] (before-compile): Do not append to
17957         variable.
17958         [generic bits/local_lim.h] (common-generated): Likewise.
17959         [generic sys/param.h] (before-compile): Do not append to variable.
17960         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17961         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17962         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17963         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17964         include.
17965         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17966         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17967         [generic sys/param.h] ($(addprefix
17968         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17969         [generic sys/param.h] (common-generated): Do not append to
17970         variable.
17971         [generic sys/param.h] (sysdep_headers): Likewise.
17972         [generic bits/errno.h] (before-compile): Do not append to
17973         variable.
17974         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17975         rule.
17976         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17977         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17978         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17979         [generic bits/errno.h] (common-generated): Do not append to
17980         variable.
17981         [generic bits/ioctls.h] (before-compile): Do not append to
17982         variable.
17983         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17984         rule.
17985         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17986         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17987         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17988         rule.
17989         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17990         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17991         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17992         [generic bits/ioctls.h] (common-generated): Do not append to
17993         variable.
17994         [generic sys/syscall.h] (syscall.h): Remove variable.
17995         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17996         rule.
17997         [generic sys/syscall.h] (before-compile): Do not append to
17998         variable.
17999         [generic sys/syscall.h] (common-generated): Likewise.
18000         * sysdeps/unix/errnos-tmpl.c: Remove file.
18001         * sysdeps/unix/errnos.awk: Likewise.
18002         * sysdeps/unix/ioctls-tmpl.c: Likewise.
18003         * sysdeps/unix/ioctls.awk: Likewise.
18004         * sysdeps/unix/mk-local_lim.c: Likewise.
18005         * sysdeps/unix/snarf-ioctls: Likewise.
18006
18007 2012-03-19  Richard Henderson  <rth@twiddle.net>
18008
18009         * sysdeps/i386/fpu/fenv_private.h: New file.
18010         * sysdeps/i386/fpu/math_private.h: Use it.
18011         (math_opt_barrier, math_force_eval): Remove.
18012         (libc_feholdexcept_setround_53bit): Remove.
18013         (libc_feupdateenv_53bit): Remove.
18014         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18015         (math_opt_barrier, math_force_eval): Remove.
18016         (libc_feholdexcept): Remove.
18017         (libc_feholdexcept_setround): Remove.
18018         (libc_fetestexcept, libc_fesetenv): Remove.
18019         (libc_feupdateenv_test): Remove.
18020         (libc_feupdateenv, libc_feholdsetround): Remove.
18021         (libc_feresetround): Remove.
18022
18023         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18024         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18025
18026         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18027         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18028         (libc_feupdateenv_testl): New.
18029         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18030         (libc_feupdateenv_testf): New.
18031         (libc_feupdateenv): Use libc_feupdateenv_test.
18032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18033         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18034
18035         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18036         (libc_feholdsetroundf, libc_feholdsetroundl): New.
18037         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18038         (libc_feresetround_noex): New.
18039         (libc_feresetround_noexf): New.
18040         (libc_feresetround_noexl): New.
18041         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18042         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18043         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18044         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18045         SET_RESTORE_ROUND.
18046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18048         (__cos): Likewise.
18049         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18051         SET_RESTORE_ROUND_NOEX.
18052         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18053         SET_RESTORE_ROUND_NOEXF.
18054         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18055         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18056         (libc_feholdsetroundf): New.
18057         (libc_feresetround, libc_feresetroundf): New.
18058
18059         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18060         (libc_feholdexcept_setround_53bit): Convert from macro to function.
18061         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
18062
18063         * sysdeps/generic/math_private.h: Include <fenv.h>.
18064         (default_libc_feholdexcept): New.
18065         (default_libc_feholdexcept_setround): New.
18066         (default_libc_fesetenv, default_libc_feupdateenv): New.
18067         (libc_feholdexcept): Only define if undefined.
18068         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18069         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18070         (libc_feholdexcept_setroundl): Likewise.
18071         (libc_feholdexcept_setround_53bit): Likewise.
18072         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18073         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18074         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18075         (libc_feupdateenv_53bit): Likewise.
18076         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18077         (libc_feholdexcept): Convert from macro to inline function.
18078         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18079         (libc_fesetenv, libc_feupdateenv): Likewise.
18080
18081         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18082         not previously defined.
18083         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18084         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18085         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18086         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18087         * sysdeps/ieee754/flt-32/math_private.h: New file.
18088         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18089         math_private.h below SET_FLOAT_WORD.
18090         (__isnan, __isinf_ns, __finite): Remove.
18091         (__isnanf, __isinf_nsf, __finitef): Remove.
18092
18093 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
18094
18095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18096
18097 2012-03-17  David S. Miller  <davem@davemloft.net>
18098
18099         [BZ #6471]
18100         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18101         for 2.16.
18102
18103 2012-03-16  David S. Miller  <davem@davemloft.net>
18104
18105         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18106         warnings.
18107
18108         [BZ #6471]
18109         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18110         properly.
18111         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18112         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18113         sysdep_routines when subdir is sysvipc.
18114         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18115         __getshmlba helper.
18116
18117         * sysdeps/sparc/fpu/libm-test/ulps: Update.
18118
18119 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18120
18121         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18122         [__LP64__].
18123
18124 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18125
18126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18127         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18128         (__lround): Renamed to ...
18129         (__llround): This.  Replace long int with long long int.
18130         Define lround functions as aliases of llround functions.
18131         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18132
18133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18134
18135         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18136         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
18137         adresses to uintptr_t.  Replace "long int" and "unsigned long
18138         int" with "greg_t" on va_arg.
18139
18140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18141
18142         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18143         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18144
18145         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18146         Move e_machine check before EI_CLASS check.  Handle x32
18147         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18148         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18149         SKIP_EM_IA_64 and include
18150         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18151
18152         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18153         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18154         (add_system_dir): New macro.
18155
18156         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18157         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18158
18159 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18160
18161         [BZ #2551]
18162         [BZ #2552]
18163         [BZ #2553]
18164         [BZ #2554]
18165         [BZ #2562]
18166         [BZ #2563]
18167         [BZ #2565]
18168         [BZ #2566]
18169         [BZ #2576]
18170         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18171         (y0): Likewise.
18172         * math/w_j0f.c (j0f): Likewise.
18173         (y0f): Likewise.
18174         * math/w_j0l.c (__j0l): Likewise.
18175         (__y0l): Likewise.
18176         * math/w_j1.c (j1): Likewise.
18177         (y1): Likewise.
18178         * math/w_j1f.c (j1f): Likewise.
18179         (y1f): Likewise.
18180         * math/w_j1l.c (__j1l): Likewise.
18181         (__y1l): Likewise.
18182         * math/w_jn.c (jn): Likewise.
18183         (yn): Likewise.
18184         * math/w_jnf.c (jnf): Likewise.
18185         (ynf): Likewise.
18186         * math/w_jnl.c (__jnl): Likewise.
18187         (__ynl): Likewise.
18188         * math/libm-test.inc (j0_test): Add more tests.
18189         (j1_test): Likewise.
18190         (jn_test): Likewise.  Add trailing semicolon to existing test.
18191         (y0_test): Likewise.
18192         (y1_test): Likewise.
18193         * sysdeps/i386/fpu/libm-test-ulps: Update.
18194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18195
18196         [BZ #13851]
18197         [BZ #13854]
18198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18199         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18200         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18201         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18202         (__tanl): Set errno for infinite argument.
18203         * sysdeps/i386/fpu/mptan.c: Remove.
18204         * sysdeps/i386/fpu/s_tan.S: Likewise.
18205         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18206         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18207         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18208         * math/libm-test.inc (tan_test): Add more tests and enable more
18209         tests for double and long double.
18210         * sysdeps/i386/fpu/libm-test-ulps: Update.
18211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18212
18213 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18214
18215         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18216         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18217
18218 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18219
18220         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18221         * configure.in: Use it for both main tree and add-ons.
18222         * configure: Regenerated.
18223
18224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18225
18226         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18227
18228 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18229
18230         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18231         in comment.
18232
18233         [BZ #13851]
18234         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18235         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18236         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18237         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18238         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18239         infinite argument.
18240         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18242         != 0 for prec == 2.
18243         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18244         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18245         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18246         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18247         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18248         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18249         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18250         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18251         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18252         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18253         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18254         * math/libm-test.inc (cos_test): Add more tests and enable more
18255         tests for long double.
18256         (sin_test): Likewise.
18257         (sincos_test): Likewise.
18258         * sysdeps/i386/fpu/libm-test-ulps: Update.
18259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18260
18261 2012-03-16  David S. Miller  <davem@davemloft.net>
18262
18263         * sysdeps/sparc/fpu/math_private.h: New file.
18264
18265 2012-03-15  David S. Miller  <davem@davemloft.net>
18266
18267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18268         file.
18269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18271         file.
18272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18278         sysdep routines.
18279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18280
18281         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18282         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18283
18284         * sysdeps/sparc/sparc-ifunc.h: New file.
18285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18286         sparc-ifunc.h
18287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18289         Likewise.
18290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18291         Likewise.
18292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18296         Likewise.
18297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18302         Likewise.
18303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18304         Likewise.
18305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18329
18330 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18331
18332         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18333         scaling.
18334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18335
18336 2012-03-15  Andreas Jaeger  <aj@suse.de>
18337
18338         [BZ #13852]
18339         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18340         ieee754/flt-32 implementation for sin, cos and sincos.
18341         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18342         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18343         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18344         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18345         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18346         ieee754/flt-32 implementation for tan.
18347
18348         * math/libm-test.inc (cos_test): Enable some large input tests for
18349         float as well
18350         (sin_test): Likewise.
18351         (sincos_test): Likewise.
18352         (tan_test): Add tests for large input.
18353
18354         * sysdeps/i386/fpu/libm-test-ulps: Update.
18355
18356 2012-03-15  Andreas Jaeger  <aj@suse.de>
18357
18358         [BZ #13658]
18359         * math/libm-test.inc (cos_test): Add more test cases.
18360         (sin_test): Likewise.
18361         (sincos_test): Likewise.
18362
18363 2012-03-15  Andreas Jaeger  <aj@suse.de>
18364
18365         [BZ #13837]
18366         * math/libm-test.inc (cos_test): Add a test case for large input
18367         value.
18368         (sin_test): Likewise.
18369         (sincos_test): Likewise.
18370
18371 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18372         Joseph Myers  <joseph@codesourcery.com>
18373
18374         [BZ #13658]
18375         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18376         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18377         * sysdeps/i386/fpu/branred.c: Likewise.
18378         * sysdeps/i386/fpu/dosincos.c: Likewise.
18379         * sysdeps/i386/fpu/mpa.c: Likewise.
18380         * sysdeps/i386/fpu/s_cos.S: Likewise.
18381         * sysdeps/i386/fpu/s_sin.S: Likewise.
18382         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18383         * sysdeps/i386/fpu/sincos32.c: Likewise.
18384
18385         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18386         Define.
18387         (libc_feupdateenv_53bit): Define.
18388         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18389         Define.
18390         (libc_feupdateenv_53bit): Define.
18391
18392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18393         53 bit (without extend i386 double precision).
18394
18395         * math/libm-test.inc (sincos_test): Add tests for large input.
18396         (sin): Likewise.
18397         (cos): Likewise.
18398
18399         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18400
18401 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18402
18403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18404
18405 2012-03-15  David S. Miller  <davem@davemloft.net>
18406
18407         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18408         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18409         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18410         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18423         file.
18424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18426         file.
18427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18429         file.
18430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18432         file.
18433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18435         fmin/fmax sysdep routines.
18436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18437
18438 2012-03-14  David S. Miller  <davem@davemloft.net>
18439
18440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18469         routines.
18470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18471         file.
18472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18474         file.
18475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18477         file.
18478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18480         file.
18481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18483         file.
18484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18486         file.
18487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18488         file.
18489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18490         file.
18491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18492         file.
18493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18494         New file.
18495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18496         file.
18497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18498         file.
18499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18501         file.
18502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18504         file.
18505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18507         file.
18508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18510         VIS3 routines.
18511
18512         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18513         New file.
18514
18515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18516
18517         * sysdeps/sparc/configure.in: New file.
18518         * sysdeps/sparc/configure: Generate.
18519         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18520         * configure: Regenerate.
18521         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18522         * config.make.in (have-as-vis3): New.
18523         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18524         available use -Av9d instead of -Av9a.
18525         * sysdeps/sparc/sparc64/Makefile: Likewise.
18526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18528         New file.
18529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18530         file.
18531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18532         New file.
18533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18534         file.
18535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18540
18541         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18542         fzeros/fnegs to load 0x80000000 into a float register instead of
18543         using the stack.
18544         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18545
18546 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18547
18548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18549         bits/syscall.h.
18550         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18551         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18552         ($(inst_includedir)/bits/syscall.h): Remove rule.
18553         ($(objpfx)bits/syscall.d): Include instead of
18554         $(objpfx)syscall-list.d.
18555         (generated): Change syscall-list.h and syscall-list.d to
18556         bits/syscall.h and bits/syscall.d.
18557
18558 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18559
18560         [BZ #13846]
18561         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18562
18563 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18564
18565         [BZ #13841]
18566         * math/s_csqrt.c: Include <float.h>.
18567         (__csqrt): Scale large or subnormal inputs.
18568         * math/s_csqrtf.c: Likewise.
18569         * math/s_csqrtl.c: Likewise.
18570         * math/libm-test.inc (csqrt_test): Add more tests.
18571         * sysdeps/i386/fpu/libm-test-ulps: Update.
18572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18573
18574         [BZ #13840]
18575         * math/libm-test.inc (hypot_test): Add more tests.
18576
18577 2012-03-13  David S. Miller  <davem@davemloft.net>
18578
18579         [BZ #13840]
18580         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18581         double-precision for the calculation instead of scaling.
18582
18583 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18584
18585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18586         manipulate bits before adding and subtracting TWO52[sx].
18587         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18588         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18589         Likewise.
18590         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18591
18592 2012-03-13  David S. Miller  <davem@davemloft.net>
18593
18594         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18595         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18597         rtld-global-offsets.h
18598         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18599
18600         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18601         large parameters.
18602
18603         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18604
18605         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18606         'err' in the ifdef scope in which it is actually used.
18607
18608         * nss/nss_db/db-init.c: Include string.h
18609
18610 2012-03-12  David S. Miller  <davem@davemloft.net>
18611
18612         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18613         masking out of the most significant byte of random value used.
18614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18615         Fix coding style in previous change.
18616
18617         * sysdeps/unix/sysv/linux/kernel-features.h
18618         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18619         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18620         expression.
18621         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18622         later.
18623
18624 2012-03-11  David S. Miller  <davem@davemloft.net>
18625
18626         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18627         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18628         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18629         for 'resultvar' otherwise things get truncated on 64-bit.
18630
18631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18632         Fix masking out of the most significant byte of random value used.
18633
18634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18635
18636 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18637
18638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18639
18640 2012-03-09  David S. Miller  <davem@davemloft.net>
18641
18642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18643         variables with appropriate CPP guards.
18644         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18645         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18646         on resulting framesize and the management of the outregs buffer for pltexit.
18647         Preserve floating point return values across _dl_call_pltexit call.
18648         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18649         framesize and the management of the outregs buffer for pltexit.
18650         Preserve floating point return values across _dl_call_pltexit
18651         call.
18652         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18653         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18654         (print_exit): Fix format string for return register value.
18655
18656 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18657
18658         * sunrpc/Makefile (others): Add rpcgen.
18659         ($(objpfx)rpcgen): Remove special build rule and dependency on
18660         libc.
18661         * sunrpc/rpcgen.c: New file.
18662
18663 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18664
18665         [BZ #13673]
18666         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18667         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18668         * sysdeps/i386/crti.S: Likewise.
18669         * sysdeps/i386/crtn.S: Likewise.
18670         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18671         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18672         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18673         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18674         * sysdeps/sh/crti.S: Likewise.
18675         * sysdeps/sh/crtn.S: Likewise.
18676         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18677
18678         [BZ #13673]
18679         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18680         with URL.
18681         * locale/programs/locfile-kw.gperf: Likewise.
18682         * locale/programs/charmap-kw.h: Regenerated.
18683         * locale/programs/locfile-kw.h: Likewise.
18684
18685         [BZ #13673]
18686         * intl/plural.y: Replace FSF snail mail address with URL.
18687         * intl/plural.c: Regenerated.
18688
18689 2012-03-09  Richard Henderson  <rth@twiddle.net>
18690
18691         * include/math_private.h: Remove file.
18692         * math/math_private.h: Move file ...
18693         * sysdeps/generic/math_private.h: ... here.
18694
18695         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18696         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18697         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18698
18699         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18700         and <math_private.h>.
18701         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18702         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18703         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18704         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18705         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18706         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18707         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18709         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18710         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18712         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18713         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18716         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18717         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18718         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18719         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18720         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18722         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18723         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18727         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18728         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18731         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18732         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18733         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18734         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18735         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18736         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18737         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18738         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18739         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18740         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18741         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18742         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18743         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18744         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18745         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18746         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18747         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18748         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18749         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18750         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18751         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18752         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18753         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18755         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18756         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18757         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18758         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18759         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18760         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18761         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18762         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18764         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18765         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18766         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18767         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18768         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18769         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18770         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18772         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18773         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18774         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18775         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18780         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18785         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18788         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18789         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18790         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18791         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18792         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18793         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18794         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18795         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18796         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18797         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18798         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18799         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18801         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18802         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18803         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18804         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18805         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18806         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18807         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18808         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18809         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18810         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18811         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18812         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18813         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18814         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18815         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18816         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18817         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18818         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18819         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18820         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18821         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18822         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18823         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18824         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18825         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18826         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18827         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18828         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18829         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18830         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18831         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18832         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18834         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18835         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18836         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18837         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18838         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18839         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18840         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18841         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18842         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18843         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18844         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18845         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18846         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18847         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18848         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18849         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18850         * sysdeps/ieee754/k_standard.c: Likewise.
18851         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18852         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18853         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18854         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18855         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18856         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18857         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18858         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18859         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18860         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18861         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18863         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18864         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18865         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18866         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18867         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18868         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18869         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18870         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18871         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18872         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18873         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18874         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18875         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18876         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18877         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18878         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18879         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18880         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18881         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18882         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18883         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18884         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18885         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18886         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18888         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18889         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18890         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18891         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18892         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18893         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18894         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18895         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18896         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18897         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18898         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18899         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18900         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18901         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18902         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18903         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18904         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18905         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18906         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18907         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18908         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18912         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18913         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18916         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18917         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18918         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18919         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18923         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18924         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18927         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18928         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18929         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18932         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18933         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18934         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18935         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18936         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18937         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18938         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18939         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18940         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18941         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18942         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18943         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18944         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18945         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18946         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18947         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18948         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18949         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18950         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18952         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18954         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18955         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18956         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18957         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18958         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18959         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18960         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18961         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18962         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18963         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18964         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18965         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18966         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18967         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18969         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18970         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18972         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18973         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18974         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18975         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18976         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18977         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18978         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18979         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18980         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18981         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18982         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18983         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18984         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18985         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18986         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18987         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18988         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18990         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18991         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18992         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18993         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18994         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18995         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18996         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18997         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18998         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18999         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19000         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19001         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19002         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19004         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19005         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19006         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19007         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19008         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19009         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19010         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19011         * sysdeps/ieee754/s_lib_version.c: Likewise.
19012         * sysdeps/ieee754/s_matherr.c: Likewise.
19013         * sysdeps/ieee754/s_signgam.c: Likewise.
19014         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19015         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19016         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19017         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19018         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19019         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19020         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19021         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19022         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19023         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19024         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19025         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19026         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19027         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19028         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19029         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19030         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19031         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19032         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19035
19036 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19037
19038         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19039         * sunrpc/rpc_main.c: Likewise.
19040         * sunrpc/rpc_svcout.c: Likewise.
19041
19042 2012-03-09  David S. Miller  <davem@davemloft.net>
19043
19044         * include/math_private.h: New file.
19045
19046 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19047
19048         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19049         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19050         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19051         from <bits/socket_type.h>.
19052         (enum __socket_type): Don't define here.
19053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19055         bits/socket_type.h.
19056
19057         [BZ #13566]
19058         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19059         checking __USE_GNU.
19060
19061         * Makerules ($(inst_includedir)/%.h): New rule.
19062         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19063         (install-others): Remove variable setting.
19064         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19065
19066 2012-03-08  Richard Henderson  <rth@twiddle.net>
19067
19068         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19069         from macro to inline function; merge with the
19070         !__LIBC_INTERNAL_MATH_INLINES version.
19071         (__ieee754_sqrtf): Likewise.
19072
19073         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19074         to inline function.
19075         (__rintf, __floor, __floorf): Likewise.
19076
19077         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19078         macro to inline function.
19079         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19080
19081         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19082         not <math/math_private.h>.
19083
19084 2012-03-08  David S. Miller  <davem@davemloft.net>
19085
19086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19087         copyright year.
19088         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19089
19090 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
19091
19092         * resolv/gai_misc.c (handle_requests): Fix struct timespec
19093         normalization.
19094         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19095         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19096
19097 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
19098
19099         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
19100         be defined individually, they must be defined as a block.  Define
19101         S for printing a string instead of hidint the different by using a
19102         macro for adding the 'l'.
19103         * stdio-common/tst-fphex-wide.c: Adjust.
19104
19105 2012-03-07  Marek Polacek  <polacek@redhat.com>
19106
19107         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19108
19109 2012-03-08  Marek Polacek  <polacek@redhat.com>
19110
19111         [BZ #13806]
19112         * stdio-common/Makefile (tests): Add tst-fphex-wide.
19113         * stdio-common/tst-fphex.c: Define a few macros to make the
19114         test reusable.  Use them.
19115         * stdio-common/tst-fphex-wide.c: New file.
19116
19117 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
19118
19119         [BZ #6911]
19120         * manual/macros.texi (gnusystems): New macro.
19121         (nongnusystems): Likewise.
19122         (gnulinuxhurdsystems): Likewise.
19123         (gnuhurdsystems): Likewise..
19124         (gnulinuxsystems): Likewise.
19125         * manual/charset.texi: Use new macros or @theglibc{} to refer to
19126         variants of the GNU system, not "GNU system".
19127         * manual/conf.texi: Likewise.
19128         * manual/errno.texi: Likewise.  Update example of errno macro
19129         expansion.
19130         * manual/filesys.texi: Likewise.
19131         (getumask): Document as specific to GNU/Hurd.
19132         * manual/install.texi: Likewise.  Reword some references to
19133         GNU/Linux.
19134         * manual/intro.texi: Likewise.
19135         * manual/io.texi: Likewise.
19136         (File Name Portability): Detail which constraints are inapplicable
19137         to all GNU systems and which are only inapplicable to GNU/Hurd.
19138         * manual/job.texi: Likewise.
19139         * manual/llio.texi: Likewise.
19140         (O_NOCTTY): Document as present on GNU/Linux.
19141         * manual/maint.texi: Likewise.
19142         * manual/memory.texi: Likewise.
19143         * manual/pattern.texi: Likewise.
19144         * manual/pipe.texi: Likewise.
19145         * manual/process.texi: Likewise.
19146         * manual/resource.texi: Likewise.
19147         (RUSAGE_CHILDREN): Remove statement about specifying a particular
19148         child on GNU/Hurd.
19149         * manual/setjmp.texi: Likewise.
19150         * manual/signal.texi: Likewise.
19151         * manual/startup.texi: Likewise.
19152         * manual/stdio.texi: Likewise.
19153         * manual/terminal.texi: Likewise.
19154         (ONLCR): Document as POSIX.
19155         (OXTABS): Document availability on GNU/Linux as XTABS.
19156         (ONOEOT): Document availability separately from other bits.
19157         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19158         * manual/time.texi: Likewise.
19159         * manual/users.texi: Likewise.
19160         * INSTALL: Regenerated.
19161         * sysdeps/gnu/errlist.c: Regenerated.
19162
19163         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19164         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19165         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19166         puts.
19167         * configure: Regenerated.
19168
19169 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19170
19171         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19172         default includes instead of AC_HEADER_CHECK.
19173         * sysdeps/i386/configure: Regenerated.
19174
19175         [BZ #10716]
19176         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19177         * math/s_cacoshf.c (__cacoshf): Likewise.
19178         * math/s_cacoshl.c (__cacoshl): Likewise.
19179         * math/s_casinh.c (__casinh): Set signs of result from argument.
19180         * math/s_casinhf.c (__casinhf): Likewise.
19181         * math/s_casinhl.c (__casinhl): Likewise.
19182         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19183         (casinh_test): Add more tests.
19184         * sysdeps/i386/fpu/libm-test-ulps: Update.
19185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19186
19187 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19188
19189         * po/zh_TW.po: Update from translation team.
19190
19191         * login/Makefile (distribute): Remove variable.
19192         * catgets/Makefile: Likewise.
19193         * mach/Makefile: Likewise.
19194         * malloc/Makefile: Likewise.
19195         * misc/Makefile: Likewise.
19196         * iconv/Makefile: Likewise.
19197         * nscd/Makefile: Likewise.
19198         * hurd/Makefile: Likewise.
19199         * manual/Makefile: Likewise.
19200         * locale/Makefile: Likewise.
19201         * intl/Makefile: Likewise.
19202         * conform/Makefile: Likewise.
19203         * nss/Makefile: Likewise.
19204         * time/Makefile: Likewise.
19205         * soft-fp/Makefile: Likewise.
19206         * dirent/Makefile: Likewise.
19207         * gmon/Makefile: Likewise.
19208         * po/Makefile: Likewise.
19209         * rt/Makefile: Likewise.
19210         * socket/Makefile: Likewise.
19211         * math/Makefile: Likewise.
19212         * signal/Makefile: Likewise.
19213         * debug/Makefile: Likewise.
19214         * elf/Makefile: Likewise.
19215         * timezone/Makefile: Likewise.
19216         * stdlib/Makefile: Likewise.
19217         * iconvdata/Makefile: Likewise.
19218         * sunrpc/Makefile: Likewise.
19219         * io/Makefile: Likewise.
19220         * argp/Makefile: Likewise.
19221         * inet/Makefile: Likewise.
19222         * hesiod/Makefile: Likewise.
19223         * grp/Makefile: Likewise.
19224         * csu/Makefile: Likewise.
19225         * wctype/Makefile: Likewise.
19226         * crypt/Makefile: Likewise.
19227         * libio/Makefile: Likewise.
19228         * string/Makefile: Likewise.
19229         * nis/Makefile: Likewise.
19230         * resolv/Makefile: Likewise.
19231         * stdio-common/Makefile: Likewise.
19232         * wcsmbs/Makefile: Likewise.
19233         * dlfcn/Makefile: Likewise.
19234         * posix/Makefile: Likewise.
19235
19236         [BZ #6959]
19237         * timezone/Makefile: Don't install timezone files, just the programs
19238         and scripts.
19239
19240 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19241
19242         * nss/databases.def: Add missing gshadow entry.
19243
19244         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19245
19246 2012-03-06  Marek Polacek  <polacek@redhat.com>
19247
19248         [BZ #13726]
19249         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19250         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19251         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19252         * stdio-common/tst-long-dbl-fphex.c: New file.
19253
19254 2012-03-06  David S. Miller  <davem@davemloft.net>
19255
19256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19257         (set_obp_int): New function.
19258         (get_obp_int): New function.
19259         (__get_clockfreq_via_dev_openprom): Likewise.
19260         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19261         Avoid unused variable warnings on 'val' and use builtin_expect.
19262         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19263         __builtin_expect.
19264         (INLINE_CLONE_SYSCALL): Likewise.
19265
19266 2012-03-05  David S. Miller  <davem@davemloft.net>
19267
19268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19269
19270 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19271
19272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19273
19274         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19275         only for |x| >= 40.
19276         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19277
19278 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19279
19280         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19281         Replace gettimeofday with __vdso_gettimeofday.
19282
19283         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19284         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19285         __vdso_clock_gettime and __vdso_getcpu.
19286
19287         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19288         time with __vdso_time.
19289
19290 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19291
19292         * manual/lang.texi (size_t): Note types to which size_t may be
19293         equivalent with the GNU C Library, but do not describe when
19294         differences between them are significant.
19295
19296 2012-03-05  Andreas Jaeger  <aj@suse.de>
19297
19298         * sysdeps/i386/fpu/libm-test-ulps: Update.
19299
19300 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19301
19302         [BZ #3976]
19303         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19304         (__ieee754_pow): Save and restore rounding mode and use
19305         round-to-nearest for main computations.
19306         * math/libm-test.inc (pow_test_tonearest): New function.
19307         (pow_test_towardzero): Likewise.
19308         (pow_test_downward): Likewise.
19309         (pow_test_upward): Likewise.
19310         (main): Call the new functions.
19311         * sysdeps/i386/fpu/libm-test-ulps: Update.
19312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19313
19314         [BZ #3976]
19315         * math/libm-test.inc (cosh_test_tonearest): New function.
19316         (cosh_test_towardzero): Likewise.
19317         (cosh_test_downward): Likewise.
19318         (cosh_test_upward): Likewise.
19319         (sinh_test_tonearest): Likewise.
19320         (sinh_test_towardzero): Likewise.
19321         (sinh_test_downward): Likewise.
19322         (sinh_test_upward): Likewise.
19323         (main): Call the new functions.
19324         * sysdeps/i386/fpu/libm-test-ulps: Update.
19325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19326
19327 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19328
19329         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19330         default stack guard is set in last bytes.
19331         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19332
19333 2012-03-05  Kees Cook  <keescook@chromium.org>
19334
19335         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19336
19337         [BZ #13656]
19338         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19339         possibly allocate from heap instead of stack.
19340         * stdio-common/bug-vfprintf-nargs.c: New file.
19341         * stdio-common/Makefile (tests): Add nargs overflow test.
19342
19343 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19344
19345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19346
19347 2012-03-03  Marek Polacek  <polacek@redhat.com>
19348
19349         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19350         * math/math_private.h: Likewise.
19351         * stdlib/tst-strtod.c: Likewise.
19352         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19353         * sysdeps/x86_64/bits/atomic.h: Likewise.
19354
19355 2012-03-02  David S. Miller  <davem@davemloft.net>
19356
19357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19361         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19362         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19363         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19364         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19365
19366 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19367
19368         [BZ #13792]
19369         * manual/examples/README: New file, says the example source files
19370         can be used under GPL>=2.
19371         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19372         line containing just "*/".
19373         * manual/examples/add.c: Add copyright header (GPL>=2).
19374         * manual/examples/argp-ex1.c: Likewise.
19375         * manual/examples/argp-ex2.c: Likewise.
19376         * manual/examples/argp-ex3.c: Likewise.
19377         * manual/examples/argp-ex4.c: Likewise.
19378         * manual/examples/atexit.c: Likewise.
19379         * manual/examples/db.c: Likewise.
19380         * manual/examples/dir.c: Likewise.
19381         * manual/examples/dir2.c: Likewise.
19382         * manual/examples/execinfo.c: Likewise.
19383         * manual/examples/filecli.c: Likewise.
19384         * manual/examples/filesrv.c: Likewise.
19385         * manual/examples/fmtmsgexpl.c: Likewise.
19386         * manual/examples/genpass.c: Likewise.
19387         * manual/examples/inetcli.c: Likewise.
19388         * manual/examples/inetsrv.c: Likewise.
19389         * manual/examples/isockad.c: Likewise.
19390         * manual/examples/longopt.c: Likewise.
19391         * manual/examples/memopen.c: Likewise.
19392         * manual/examples/memstrm.c: Likewise.
19393         * manual/examples/mkfsock.c: Likewise.
19394         * manual/examples/mkisock.c: Likewise.
19395         * manual/examples/mygetpass.c: Likewise.
19396         * manual/examples/pipe.c: Likewise.
19397         * manual/examples/popen.c: Likewise.
19398         * manual/examples/rprintf.c: Likewise.
19399         * manual/examples/search.c: Likewise.
19400         * manual/examples/select.c: Likewise.
19401         * manual/examples/setjmp.c: Likewise.
19402         * manual/examples/sigh1.c: Likewise.
19403         * manual/examples/sigusr.c: Likewise.
19404         * manual/examples/stpcpy.c: Likewise.
19405         * manual/examples/strdupa.c: Likewise.
19406         * manual/examples/strftim.c: Likewise.
19407         * manual/examples/strncat.c: Likewise.
19408         * manual/examples/subopt.c: Likewise.
19409         * manual/examples/swapcontext.c: Likewise.
19410         * manual/examples/termios.c: Likewise.
19411         * manual/examples/testopt.c: Likewise.
19412         * manual/examples/testpass.c: Likewise.
19413         * manual/examples/timeval_subtract.c: Likewise.
19414
19415         [BZ #13792]
19416         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19417         function to ...
19418         * manual/timeval_subtract.c.texi: ... here, new file.
19419
19420 2012-03-02  David S. Miller  <davem@davemloft.net>
19421
19422         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19423
19424 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19425
19426         [BZ #3976]
19427         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19428         (__sin): Save and restore rounding mode and use round-to-nearest
19429         for all computations.
19430         (__cos): Save and restore rounding mode and use round-to-nearest
19431         for all computations.
19432         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19433         <fenv.h>.
19434         (tan): Save and restore rounding mode and use round-to-nearest for
19435         all computations.
19436         * math/libm-test.inc (cos_test_tonearest): New function.
19437         (cos_test_towardzero): Likewise.
19438         (cos_test_downward): Likewise.
19439         (cos_test_upward): Likewise.
19440         (sin_test_tonearest): Likewise.
19441         (sin_test_towardzero): Likewise.
19442         (sin_test_downward): Likewise.
19443         (sin_test_upward): Likewise.
19444         (tan_test_tonearest): Likewise.
19445         (tan_test_towardzero): Likewise.
19446         (tan_test_downward): Likewise.
19447         (tan_test_upward): Likewise.
19448         (main): Call the new functions.
19449         * sysdeps/i386/fpu/libm-test-ulps: Update.
19450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19451
19452         [BZ #10135]
19453         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19454         small n, then large n, before computing and testing k+n.
19455         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19456         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19457         Likewise.
19458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19459         Likewise.
19460         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19461         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19462         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19463         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19464         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19465         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19466         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19467         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19468         * math/libm-test.inc (scalbn_test): Add more tests.
19469         (scalbln_test): Likewise.
19470
19471         * manual/filesys.texi (mode_t): Describe constraints on size and
19472         signedness, not exact equivalence to a particular type.
19473         (ino_t): Likewise.
19474         (ino64_t): Likewise.
19475         (dev_t): Likewise.
19476         (nlink_t): Likewise.
19477         (blkcnt_t): Likewise.
19478         (blkcnt64_t): Likewise.
19479         * manual/llio.texi (off_t): Likewise.
19480
19481         [BZ #3976]
19482         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19483         (__ieee754_exp): Save and restore rounding mode and use
19484         round-to-nearest for all computations.
19485         * math/libm-test.inc (exp_test_tonearest): New function.
19486         (exp_test_towardzero): Likewise.
19487         (exp_test_downward): Likewise.
19488         (exp_test_upward): Likewise.
19489         (main): Call the new functions.
19490         * sysdeps/i386/fpu/libm-test-ulps: Update.
19491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19492
19493 2012-03-01  Chris Demetriou  <cgd@google.com>
19494
19495         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19496         have predictable order.
19497
19498 2012-03-01  David S. Miller  <davem@davemloft.net>
19499
19500         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19501
19502         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19503         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19504         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19505         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19506
19507         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19508         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19509         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19511         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19512         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19513         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19514         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19515         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19516
19517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19518
19519         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19520         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19521         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19522
19523         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19524         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19525         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19526         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19527         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19528         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19529         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19530         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19531         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19532         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19533         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19534         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19536         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19537         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19538         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19539         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19540         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19541         * sysdeps/sparc/elf/configure: Regenerated.
19542
19543 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19544
19545         * configure.in (AS, LD): Require binutils 2.20 or later.
19546         * configure: Regenerated.
19547         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19548         as required minimum version.
19549         * INSTALL: Regenerated.
19550
19551         [BZ #2541]
19552         [BZ #4108]
19553         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19554         before squaring exponent.
19555         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19556         bottom long double and 27 bits of top long double before squaring
19557         exponent.
19558         * math/libm-test.inc (erfc_test): Add more tests.
19559         * sysdeps/i386/fpu/libm-test-ulps: Update.
19560         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19562
19563 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19564
19565         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19566         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19567         containing bit-fields.
19568         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19569         * soft-fp/single.h (_FP_UNION_S): Likewise.
19570         * soft-fp/double.h (_FP_UNION_D): Likewise.
19571
19572 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19573
19574         [BZ #13786]
19575         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19576         not include ../strcmp.S.
19577         [USE_AS_STRNCASECMP_L]: Likewise.
19578         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19579         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19580         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19581         (__strncasecmp_l_ia32): Define as alias to
19582         __strncasecmp_l_nonascii.
19583
19584         [BZ #5794]
19585         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19586         * sysdeps/i386/fpu/libm-test-ulps: Update.
19587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19588
19589         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591
19592 2012-02-29  Jeff Law  <law@redhat.com>
19593
19594         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19595         out of bounds read.
19596
19597 2012-02-29  Marek Polacek  <polacek@redhat.com>
19598
19599         [BZ #13706]
19600         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19601         * elf/Makefile: Add rules to run tst-unused-dep.out.
19602
19603 2012-02-28  David S. Miller  <davem@davemloft.net>
19604
19605         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19606         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19607         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19609         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19610         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19611
19612 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19613
19614         * math/libm-test.inc (llround_test): Move one test from
19615         lround_test.  Use TEST_f_L in moved test.
19616         (lround_test): Move misplaced test to llround_test.  Add testcase
19617         from bug 2561.
19618
19619 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19620
19621         * sysdeps/x86_64/fpu/e_expf.S: New file.
19622         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19623
19624 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19625
19626         [BZ #13637]
19627         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19628         of remain_len that may cause incomplete multi-byte character and
19629         false match.
19630         * posix/bug-regex33.c: New file.
19631         * posix/Makefile (tests): Add bug-regex33.
19632
19633 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19634
19635         * manual/macros.texi: New file.
19636         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19637         * manual/libc.texinfo: Include macros.texi.
19638         * manual/creatute.texi: Likewise.
19639         * manual/install.texi: Likewise.
19640         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19641         @glibcadj{} in references to the GNU C Library.
19642         * manual/charset.texi: Likewise.
19643         * manual/conf.texi: Likewise.
19644         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19645         when not using those macros.
19646         * manual/creature.texi: Likewise.
19647         * manual/crypt.texi: Likewise.
19648         * manual/errno.texi: Likewise.
19649         * manual/filesys.texi: Likewise.
19650         * manual/header.texi: Likewise.
19651         * manual/install.texi: Likewise.
19652         * manual/intro.texi: Likewise.
19653         * manual/io.texi: Likewise.
19654         * manual/job.texi: Likewise.
19655         * manual/lang.texi: Likewise.
19656         * manual/libc.texiinfo: Likewise.
19657         * manual/llio.texi: Likewise.
19658         * manual/locale.texi: Likewise.
19659         * manual/maint.texi: Likewise.
19660         * manual/math.texi: Likewise.
19661         * manual/memory.texi: Likewise.
19662         * manual/message.texi: Likewise.
19663         * manual/nss.texi: Likewise.
19664         * manual/pattern.texi: Likewise.
19665         * manual/process.texi: Likewise.
19666         * manual/resource.texi: Likewise.
19667         * manual/search.texi: Likewise.
19668         * manual/setjmp.texi: Likewise.
19669         * manual/signal.texi: Likewise.
19670         * manual/socket.texi: Likewise.
19671         * manual/startup.texi: Likewise.
19672         * manual/stdio.texi: Likewise.
19673         * manual/string.texi: Likewise.
19674         * manual/sysinfo.texi: Likewise.
19675         * manual/syslog.texi: Likewise.
19676         * manual/terminal.texi: Likewise.
19677         * manual/time.texi: Likewise.
19678         * manual/users.texi: Likewise.
19679         * INSTALL: Regenerated.
19680         * NOTES: Regenerated.
19681         * sysdeps/gnu/errlist.c: Regenerated.
19682
19683 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19684
19685         * include/dirent.h: Include <dirstream.h> before
19686         <dirent/dirent.h>.
19687
19688 2012-02-28  David S. Miller  <davem@davemloft.net>
19689
19690         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19691         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19692         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19693         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19694
19695 2012-02-27  David S. Miller  <davem@davemloft.net>
19696
19697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19699         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19700         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19701
19702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19703         frame pointer instead of stack pointer relative arg slot.
19704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19705         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19706         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19707
19708 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19709
19710         [BZ #3992]
19711         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19712
19713 2012-02-27  David S. Miller  <davem@davemloft.net>
19714
19715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19719         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19720         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19721         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19722         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19723
19724 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19725
19726         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19727         later.  Allow versions 5-9.
19728         * configure: Regenerated.
19729         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19730         required minimum version and 4.6 as recommended version.  Do not
19731         mention bugs in GCC 2.7 and 2.8.
19732         * INSTALL: Regenerated.
19733
19734 2012-02-27  David S. Miller  <davem@davemloft.net>
19735
19736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19740         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19741         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19742         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19743         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19744
19745         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19746         manipulate bits before adding and subtracting TWO112[sx].
19747         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19748
19749 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19750
19751         [BZ #13775]
19752         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19753         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19754         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19755         being in POSIX, because they are in 1003.1-2008.
19756
19757         * rt/tst-aio.c: Include <fcntl.h>.
19758         * rt/tst-aio7.c: Likewise.
19759         * rt/tst-aio64.c: Likewise.
19760
19761         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19762
19763 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19764
19765         * manual/install.texi (--with-headers): Describe headers as
19766         interface headers, not private headers.
19767         (Specific advice for GNU/Linux systems): Describe use of headers
19768         from "make headers_install", not private headers from older
19769         kernels.
19770         * INSTALL: Regenerated.
19771         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19772         Change to 2.6.19.
19773         * sysdeps/unix/sysv/linux/configure: Regenerated.
19774
19775         * manual/llio.texi (fclean): Remove documentation.
19776
19777         * manual/Makefile (libc-texi-generated): New variable.  Include
19778         version.texi.
19779         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19780         $(libc-texi-generated), not duplicated list of files.
19781         (version.texi, stamp-version): New rules.
19782         (realclean): Remove $(libc-texi-generated), not individual files
19783         from that list.  Do not remove dir-add.texinfo.
19784         * manual/libc.texinfo: Comment out uses of edition numbers and
19785         references to printed manual.  Remove last-updated dates.
19786         (EDITION): Comment out.
19787         (ISBN): Likewise.
19788         (VERSION, UPDATED): Remove.
19789         (version.texi): Include.
19790
19791 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19792
19793         * sysdeps/posix/spawni.c: Include <signal.h>.
19794         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19795         * sysdeps/pthread/aio_fsync.c: Likewise.
19796
19797 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19798
19799         * conform/Makefile (tests): Run only when not cross-compiling and
19800         when fast-check is not defined.
19801
19802         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19803         * conform/data/limits.h-data: Fixes for POSIX2008.
19804         * conform/run-conformtest.sh: Run all tests.
19805         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19806         headers.
19807         * include/bits/dlfcn.h: Likewise.
19808         * include/langinfo.h: Likewise.
19809         * include/monetary.h: Likewise.
19810         * include/sys/poll.h: Likewise.
19811
19812         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19813         for __USE_GNU.
19814         * posix/spawn.h: Define __need_sigset_t.
19815         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19816         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19817         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19818         to get sigevent_t only.
19819         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19820         only for __USE_GNU.
19821         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19822         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19823         process_vm_writev only for __USE_GNU.
19824         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19825
19826         * conform/Makefile: For now ignore errors from run-conformtest.
19827         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19828         POSIX to avoid namespace pollution.  Don't prepend headers.
19829         * conform/data/aio.h-data: Fixes for POSIX testing.
19830         * conform/data/fcntl.h-data: Likewise.
19831         * conform/data/glob.h-data: Likewise.
19832         * conform/data/grp.h-data: Likewise.
19833         * conform/data/pthread.h-data: Likewise.
19834         * conform/data/pwd.h-data: Likewise.
19835         * conform/data/signal.h-data: Likewise.
19836         * conform/data/spawn.h-data: Likewise.
19837         * conform/data/stdio.h-data: Likewise.
19838         * conform/data/stdlib.h-data: Likewise.
19839         * conform/data/stropts.h-data: Likewise.
19840         * conform/data/sys/mman.h-data: Likewise.
19841         * conform/data/sys/stat.h-data: Likewise.
19842         * conform/data/sys/types.h-data: Likewise.
19843         * conform/data/sys/wait.h-data: Likewise.
19844         * conform/data/time.h-data: Likewise.
19845         * conform/data/unistd.h-data: Likewise.
19846         * conform/data/utime.h-data: Likewise.
19847
19848         * io/sys/stat.h: fchmod was always in POSIX.
19849         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19850         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19851         * rt/aio.h: Define __need_timespec before including <time.h>.
19852         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19853         struct.  Add forward declaration of pthread_attr_t and use it in
19854         sigevent.
19855         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19856         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19857         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19858         always remove CLK_TCK definition.
19859
19860 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19861
19862         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19863
19864 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19865
19866         * conform/run-conformtest.sh: New file.
19867         * conform/Makefile: Run run-conformtest for tests.
19868         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19869         support.
19870
19871         * conform/data/uchar.h-data: New file.
19872         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19873         * conform/data/arpa/inet.h-data: Likewise.
19874         * conform/data/assert.h-data: Likewise.
19875         * conform/data/complex.h-data: Likewise.
19876         * conform/data/cpio.h-data: Likewise.
19877         * conform/data/ctype.h-data: Likewise.
19878         * conform/data/dirent.h-data: Likewise.
19879         * conform/data/dlfcn.h-data: Likewise.
19880         * conform/data/errno.h-data: Likewise.
19881         * conform/data/fcntl.h-data: Likewise.
19882         * conform/data/float.h-data: Likewise.
19883         * conform/data/fmtmsg.h-data: Likewise.
19884         * conform/data/fnmatch.h-data: Likewise.
19885         * conform/data/ftw.h-data: Likewise.
19886         * conform/data/glob.h-data: Likewise.
19887         * conform/data/grp.h-data: Likewise.
19888         * conform/data/iconv.h-data: Likewise.
19889         * conform/data/inttypes.h-data: Likewise.
19890         * conform/data/langinfo.h-data: Likewise.
19891         * conform/data/libgen.h-data: Likewise.
19892         * conform/data/limits.h-data: Likewise.
19893         * conform/data/locale.h-data: Likewise.
19894         * conform/data/math.h-data: Likewise.
19895         * conform/data/monetary.h-data: Likewise.
19896         * conform/data/mqueue.h-data: Likewise.
19897         * conform/data/ndbm.h-data: Likewise.
19898         * conform/data/net/if.h-data: Likewise.
19899         * conform/data/netdb.h-data: Likewise.
19900         * conform/data/netinet/in.h-data: Likewise.
19901         * conform/data/nl_types.h-data: Likewise.
19902         * conform/data/poll.h-data: Likewise.
19903         * conform/data/pthread.h-data: Likewise.
19904         * conform/data/pwd.h-data: Likewise.
19905         * conform/data/regex.h-data: Likewise.
19906         * conform/data/sched.h-data: Likewise.
19907         * conform/data/search.h-data: Likewise.
19908         * conform/data/semaphore.h-data: Likewise.
19909         * conform/data/setjmp.h-data: Likewise.
19910         * conform/data/signal.h-data: Likewise.
19911         * conform/data/spawn.h-data: Likewise.
19912         * conform/data/stdarg.h-data: Likewise.
19913         * conform/data/stdio.h-data: Likewise.
19914         * conform/data/stdlib.h-data: Likewise.
19915         * conform/data/string.h-data: Likewise.
19916         * conform/data/strings.h-data: Likewise.
19917         * conform/data/stropts.h-data: Likewise.
19918         * conform/data/sys/ipc.h-data: Likewise.
19919         * conform/data/sys/mman.h-data: Likewise.
19920         * conform/data/sys/msg.h-data: Likewise.
19921         * conform/data/sys/resource.h-data: Likewise.
19922         * conform/data/sys/select.h-data: Likewise.
19923         * conform/data/sys/sem.h-data: Likewise.
19924         * conform/data/sys/shm.h-data: Likewise.
19925         * conform/data/sys/socket.h-data: Likewise.
19926         * conform/data/sys/stat.h-data: Likewise.
19927         * conform/data/sys/statvfs.h-data: Likewise.
19928         * conform/data/sys/time.h-data: Likewise.
19929         * conform/data/sys/timeb.h-data: Likewise.
19930         * conform/data/sys/times.h-data: Likewise.
19931         * conform/data/sys/types.h-data: Likewise.
19932         * conform/data/sys/uio.h-data: Likewise.
19933         * conform/data/sys/un.h-data: Likewise.
19934         * conform/data/sys/utsname.h-data: Likewise.
19935         * conform/data/sys/wait.h-data: Likewise.
19936         * conform/data/syslog.h-data: Likewise.
19937         * conform/data/tar.h-data: Likewise.
19938         * conform/data/termios.h-data: Likewise.
19939         * conform/data/utime.h-data: Likewise.
19940         * conform/data/utmpx.h-data: Likewise.
19941         * conform/data/varargs.h-data: Likewise.
19942         * conform/data/wchar.h-data: Likewise.
19943         * conform/data/wctype.h-data: Likewise.
19944         * conform/data/wordexp.h-data: Likewise.
19945
19946         * include/stropts.h: New file.
19947         * include/uchar.h: New file.
19948         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19949         * include/assert.h: Likewise.
19950         * include/ctype.h: Likewise.
19951         * include/dirent.h: Likewise.
19952         * include/dlfcn.h: Likewise.
19953         * include/fcntl.h: Likewise.
19954         * include/fnmatch.h: Likewise.
19955         * include/glob.h: Likewise.
19956         * include/grp.h: Likewise.
19957         * include/libio.h: Likewise.
19958         * include/locale.h: Likewise.
19959         * include/math.h: Likewise.
19960         * include/net/if.h: Likewise.
19961         * include/netdb.h: Likewise.
19962         * include/netinet/in.h: Likewise.
19963         * include/pthread.h: Likewise.
19964         * include/pwd.h: Likewise.
19965         * include/regex.h: Likewise.
19966         * include/sched.h: Likewise.
19967         * include/search.h: Likewise.
19968         * include/setjmp.h: Likewise.
19969         * include/signal.h: Likewise.
19970         * include/stdio.h: Likewise.
19971         * include/stdlib.h: Likewise.
19972         * include/string.h: Likewise.
19973         * include/sys/cdefs.h: Likewise.
19974         * include/sys/mman.h: Likewise.
19975         * include/sys/msg.h: Likewise.
19976         * include/sys/resource.h: Likewise.
19977         * include/sys/select.h: Likewise.
19978         * include/sys/socket.h: Likewise.
19979         * include/sys/stat.h: Likewise.
19980         * include/sys/statvfs.h: Likewise.
19981         * include/sys/time.h: Likewise.
19982         * include/sys/times.h: Likewise.
19983         * include/sys/uio.h: Likewise.
19984         * include/sys/utsname.h: Likewise.
19985         * include/sys/wait.h: Likewise.
19986         * include/termios.h: Likewise.
19987         * include/time.h: Likewise.
19988         * include/ulimit.h: Likewise.
19989         * include/unistd.h: Likewise.
19990         * include/utime.h: Likewise.
19991         * include/wchar.h: Likewise.
19992         * include/wctype.h: Likewise.
19993         * include/wordexp.h: Likewise.
19994
19995         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19996
19997         * time/time.h: TIME_UTC must be a macro.
19998         Make timespec_get available for ISO C11 only as well.
19999
20000 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
20001
20002         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20003         Reported by Peng Haitao <penght@cn.fujitsu.com>.
20004
20005 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20006
20007         * configure.in: Use -o not -a in test for unsupported multi-arch.
20008
20009 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20010
20011         * manual/texinfo.tex: Update to version 2012-01-19.16.
20012
20013 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20014
20015         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20016
20017 2012-02-24  Roland McGrath  <roland@hack.frob.com>
20018
20019         [BZ #13738]
20020         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20021         * manual/fdl-1.3.texi: New file.
20022         * manual/fdl-1.1.texi: File removed.
20023
20024         [BZ #13738]
20025         * manual/libc.texinfo (FDL_VERSION): New @set.
20026         Use it for mention of FDL in cover text.
20027         (Documentation License): Use it in @include file name.
20028
20029 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20030             Roland McGrath  <roland@hack.frob.com>
20031
20032         [BZ #5461]
20033         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20034         not LONG_LONG_MAX and LONG_LONG_MIN.
20035         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20036         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
20037         name.
20038         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20039
20040 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20041
20042         [BZ #2547]
20043         [BZ #11365]
20044         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20045         manipulate bits before adding and subtracting TWO23[sx].
20046         * math/libm-test.inc (nearbyint_test): Add more tests.
20047
20048 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20049
20050         [BZ #2548]
20051         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20052         bits before adding and subtracting TWO23[sx].
20053         * math/libm-test.inc (rint_test): Add more tests.
20054         (rint_test_tonearest): Likewise.
20055         (rint_test_towardzero): Likewise.
20056         (rint_test_downward): Likewise.
20057         (rint_test_upward: Likewise.
20058
20059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20060
20061         [BZ #10110]
20062         * include/stdc-predef.h: New file.  Extracted from features.h.
20063         * include/features.h: Include stdc-predef.h.
20064         * Makefile (headers): Add stdc-predef.h.
20065         * CONFORMANCE (Compiler limitations): Update.
20066
20067 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20068
20069         * manual/libc.texinfo (VERSION, UPDATED): Revert.
20070
20071 2012-02-21  David S. Miller  <davem@davemloft.net>
20072
20073         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20074         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20075
20076 2012-02-20  David S. Miller  <davem@davemloft.net>
20077
20078         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20079         using a normal save/restore sequence, rather than allocating a
20080         dummy stack frame just to store a frame pointer and restore.
20081         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20082
20083 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20084
20085         * manual/install.texi: Fix stray word in line-wrapped comment.
20086
20087 2012-02-20  David S. Miller  <davem@davemloft.net>
20088
20089         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20090         both binutils and gcc support GOTDATA.
20091
20092         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20093         "rd %pc" in the PIC register setup sequences.
20094
20095         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20096         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20097         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20098         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20099         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20101         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20102         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20103         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20104         (SYSCALL_ERROR_HANDLER): Likewise.
20105         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20106         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20107         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20108         (SYSCALL_ERROR_HANDLER): Likewise.
20109
20110         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20111         (HAVE_GCC_GOTDATA): New.
20112         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20113         relocation support in both binutils and gcc.
20114         * sysdeps/sparc/elf/configure: Regenerate.
20115
20116         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20117         * sysdeps/sparc/sparc32/elf/configure: Delete.
20118         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20119         * sysdeps/sparc/sparc64/elf/configure: Delete.
20120         * sysdeps/sparc/elf/configure.in: New file.
20121         * sysdeps/sparc/elf/configure: Generate.
20122
20123         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20124         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20125         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20126         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20127         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20128
20129 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20130
20131         * manual/install.texi: Do not mention specific glibc version
20132         numbers.
20133         * manual/libc.texinfo (VERSION, UPDATED): Update.
20134         (@copying): Use @copyright{} and range of years.
20135
20136 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20137
20138         [BZ #13695]
20139         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20140         [crti.S not in sysdirs] (generated): Do not append.
20141         [crti.S not in sysdirs] (omit-deps): Likewise.
20142         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20143         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20144         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20145         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20146         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20147         Likewise.
20148         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20149         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20150         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20151         * csu/defs.awk: Remove file.
20152         * sysdeps/generic/initfini.c: Likewise.
20153         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20154         variable.
20155         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20156         Likewise.
20157
20158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20159
20160         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20161         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20162         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20163         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20164         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20165         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20166         <bits/epoll.h>.
20167         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20168         (__EPOLL_PACKED): Define to empty if not defined by
20169         <bits/epoll.h>.
20170         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20172         bits/epoll.h.
20173
20174 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20175
20176         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20177         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20178         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20179         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20180         <bits/timerfd.h>.
20181         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20183         bits/timerfd.h.
20184
20185 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20186
20187         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20188         in C locale.
20189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20190         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20191         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20193
20194 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20195
20196         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20197         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20198
20199 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20200
20201         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20202         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20203         defined.
20204         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20205         Likewise.
20206         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20207         entry for 2.16.
20208
20209 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20210
20211         * math/w_acos.c: Use non-signaling floating-point comparisons.
20212         * math/w_acosf.c: Likewise.
20213         * math/w_acosh.c: Likewise.
20214         * math/w_acoshf.c: Likewise.
20215         * math/w_acoshl.c: Likewise.
20216         * math/w_acosl.c: Likewise.
20217         * math/w_asin.c: Likewise.
20218         * math/w_asinf.c: Likewise.
20219         * math/w_asinl.c: Likewise.
20220         * math/w_atanh.c: Likewise.
20221         * math/w_atanhf.c: Likewise.
20222         * math/w_atanhl.c: Likewise.
20223         * math/w_exp2.c: Likewise.
20224         * math/w_exp2f.c: Likewise.
20225         * math/w_exp2l.c: Likewise.
20226         * math/w_j0.c: Likewise.
20227         * math/w_j0f.c: Likewise.
20228         * math/w_j0l.c: Likewise.
20229         * math/w_j1.c: Likewise.
20230         * math/w_j1f.c: Likewise.
20231         * math/w_j1l.c: Likewise.
20232         * math/w_jn.c: Likewise.
20233         * math/w_jnf.c: Likewise.
20234         * math/w_log.c: Likewise.
20235         * math/w_log10.c: Likewise.
20236         * math/w_log10f.c: Likewise.
20237         * math/w_log10l.c: Likewise.
20238         * math/w_log2.c: Likewise.
20239         * math/w_log2f.c: Likewise.
20240         * math/w_log2l.c: Likewise.
20241         * math/w_logf.c: Likewise.
20242         * math/w_logl.c: Likewise.
20243         * math/w_sqrt.c: Likewise.
20244         * math/w_sqrtf.c: Likewise.
20245         * math/w_sqrtl.c: Likewise.
20246         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20247         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20248         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20249         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20250         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20251
20252 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20253
20254         [BZ #9739]
20255         * manual/string.texi (strnlen): Use correct parameter name in
20256         equivalent expression.
20257
20258 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20259
20260         [BZ #11174]
20261         * manual/users.texi (seteuid): Consistently use neweuid for
20262         argument name.
20263
20264 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20265
20266         [BZ #13704]
20267         * manual/nss.texi (Services in the NSS configuration): Correct
20268         list of services in example configuration file.
20269
20270 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20271
20272         [BZ #11322]
20273         * manual/arith.texi: Remove statements about negative zero
20274         behaving identically to zero.
20275
20276 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20277
20278         [BZ #5993]
20279         * manual/install.texi: Do not document upgrading from libc5.
20280
20281 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20282
20283         [BZ #4596]
20284         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20285
20286 2012-02-18  David S. Miller  <davem@davemloft.net>
20287
20288         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20289         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20290         %o7 across the call.
20291         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20292         instead.
20293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20294         SETUP_PIC_REG_LEAF.
20295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20296         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20297         * sysdeps/sparc/crtn.S: Likewise.
20298
20299 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20300
20301         * aout/Makefile: Remove.
20302
20303 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20304
20305         [BZ #13058]
20306         * manual/examples/argp-ex1.c (main): Format definition in GNU
20307         style.
20308         * manual/examples/argp-ex2.c (main): Likewise.
20309         * manual/examples/argp-ex3.c (main): Likewise.
20310         * manual/examples/argp-ex4.c (main): Likewise.
20311         * manual/examples/longopt.c (main): Use new-style prototype
20312         definition.
20313         * manual/examples/strncat.c (main): Specify return type and use
20314         (void) for arguments.
20315         * manual/examples/subopt.c (main): Use char **argv argument.
20316
20317 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20318
20319         [BZ #5077]
20320         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20321         rounding modes.
20322
20323 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20324
20325         [BZ #6907]
20326         * manual/string.texi (strchr): Change when strchrnul is
20327         recommended.
20328
20329 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20330
20331         [BZ #174]
20332         * manual/locale.texi (setlocale): Document LOCPATH.
20333
20334 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20335
20336         [BZ #10210]
20337         * manual/process.texi (execle): Move @dots{} before last argument.
20338
20339 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20340
20341         [BZ #12047]
20342         * manual/charset.texi (Generic Charset Conversion): Fix typo
20343         (LC_TYPE -> LC_CTYPE).
20344
20345 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20346
20347         [BZ #5805]
20348         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20349         (scalbnf): Likewise.
20350         (scalbnl): Likewise.
20351         (scalbln): Likewise.
20352         (scalblnf): Likewise.
20353         (scalblnl): Likewise.
20354         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20355         (vwarnx): Likewise.
20356         (verr): Likewise.
20357         (verrx): Likewise.
20358         * manual/filesys.texi (telldir): Use braces around return type.
20359         * manual/llio.texi (mmap): Add space after comma.
20360         (mmap64): Likewise.
20361         * manual/math.texi (jn): Use @var{} on parameter names.
20362         (jnf): Likewise.
20363         (jnl): Likewise.
20364         (yn): Likewise.
20365         (ynf): Likewise.
20366         (ynl): Likewise.
20367         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20368         line.
20369         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20370         "...".
20371         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20372         (sched_get_priority_max): Likewise.
20373         * manual/signal.texi (sigvec): Add space after comma.
20374         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20375         names.
20376         (if_indextoname): Likewise.
20377         (if_freenameindex): Likewise.
20378         (sendto): Use ',' instead of '.' in prototype.
20379         * manual/startup.texi (syscall): Use @dots{} instead of literal
20380         "...".
20381         * manual/stdio.texi (__fpending): Separate initial words of
20382         paragraph from @deftypefun line.
20383         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20384         "...".
20385         (vsyslog): Use @var{} on parameter names.
20386         * manual/terminal.texi (stty): Use @var{} on parameter names.
20387         * manual/users.texi (getutmp): Use @var{} on parameter names.
20388         (getutmpx): Likewise.
20389
20390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20391
20392         [BZ #6884]
20393         * manual/stdio.texi (fopen): Fix typos in description of
20394         ",ccs=STRING".
20395
20396 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20397
20398         [BZ #4026]
20399         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20400         get clock_id definition.
20401
20402 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20403
20404         [BZ #4822]
20405         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20406         (madvise): Cast every argument to void on its own.
20407
20408 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20409
20410         [BZ #9902]
20411         * manual/startup.texi (Exit Status): Fix typo.
20412
20413 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20414
20415         [BZ #10140]
20416         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20417         * manual/examples/argp-ex2.c: Likewise.
20418         * manual/examples/argp-ex3.c: Likewise.
20419
20420 2012-02-16  Richard Henderson  <rth@redhat.com>
20421
20422         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20423         * sysdeps/s390/s390-32/initfini.c: Remove.
20424         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20425         * sysdeps/s390/s390-64/initfini.c: Remove.
20426
20427 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20428
20429         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20430         compiler output for sysdeps/generic/initfini.c.
20431         * sysdeps/sh/elf/initfini.c: Remove file.
20432
20433 2012-02-16  David S. Miller  <davem@davemloft.net>
20434
20435         [BZ #11494]
20436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20437
20438         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20439         * sysdeps/sparc/crti.S: New file.
20440         * sysdeps/sparc/crtn.S: New file.
20441         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20442         * sysdeps/sparc/sparc64/Makefile: Likewise.
20443
20444 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
20445
20446         [BZ #3335]
20447         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20448
20449 2012-02-15  Roland McGrath  <roland@hack.frob.com>
20450
20451         [BZ #4822]
20452         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20453
20454         * mach/devstream.c (cookie_io_functions_t): Macro removed.
20455         (write, read, close): Likewise.
20456         Patch by Aurelien Jarno <aurelien@aurel32.net>.
20457
20458 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
20459
20460         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20461         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20462         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20463         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20464         <bits/signalfd.h>.
20465         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20467         bits/signalfd.h.
20468
20469 2012-02-14  Marek Polacek  <polacek@redhat.com>
20470
20471         * sysdeps/x86_64/crti.S: New file.
20472         * sysdeps/x86_64/crtn.S: New file.
20473         * sysdeps/x86_64/elf/initfini.c: Remove file.
20474
20475 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20476
20477         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20478         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20479         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20480         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20481         <bits/inotify.h>.
20482         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20484         bits/inotify.h.
20485
20486 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20487
20488         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20489         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20490         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20491         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20492         <bits/eventfd.h>.
20493         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20495         bits/eventfd.h.
20496
20497 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20498
20499         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20500         __feraiseexcept instead of feraiseexcept.
20501
20502         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20503         nanosleep invocations.
20504         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20505         strings, and add error checking for a nanosleep invocations.
20506
20507 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20508
20509         Replace FSF snail mail address with URLs, as per GNU coding standards.
20510         Most of the snail mail addresses were wrong anyway, and omitting
20511         them makes the source code easier to maintain.  Almost all of the
20512         changes are to license notices and to locale LC_IDENTIFICATION
20513         addresses, except for this one:
20514         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20515         not its snail mail address.
20516
20517 2012-02-09  Richard Henderson  <rth@twiddle.net>
20518
20519         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20520         of kernel-features.h.
20521
20522         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20523
20524 2012-02-08  Marek Polacek  <polacek@redhat.com>
20525
20526         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20527         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20528         * sysdeps/gnu/_G_config.h: Likewise.
20529         * sysdeps/generic/_G_config.h: Likewise.
20530
20531 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20532
20533         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20534         tests.
20535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536
20537         * sysdeps/powerpc/powerpc32/crti.S: New file.
20538         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20539         * sysdeps/powerpc/powerpc64/crti.S: New file.
20540         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20541
20542         * Makeconfig (have-initfini): Don't set.
20543         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20544         * configure.in (nopic_initfini): Don't substitute.
20545         * config.h.in (HAVE_INITFINI): Don't #undef.
20546         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20547         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20548
20549 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20550
20551         Support crti.S and crtn.S provided directly by architectures.
20552         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20553         [crti.S in sysdirs] (omit-deps): Likewise.
20554         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20555         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20556         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20557         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20558         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20559         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20560         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20561         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20562         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20563         compiler output for sysdeps/generic/initfini.c.
20564         * sysdeps/i386/elf/Makefile: Remove file.
20565         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20566
20567 2012-02-07  Marek Polacek  <polacek@redhat.com>
20568
20569         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20570         * sysdeps/gnu/_G_config.h: Likewise.
20571         * sysdeps/mach/hurd/_G_config.h: Likewise.
20572
20573 2012-02-07  Marek Polacek  <polacek@redhat.com>
20574
20575         * math/Makefile (tests): Add tst-CMPLX2.
20576         * math/tst-CMPLX2.c: New file.
20577
20578 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20579
20580         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20581
20582         * math/libm-test.inc (jn_test): Add missing L suffix.
20583
20584 2012-02-06  Marek Polacek  <polacek@redhat.com>
20585
20586         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20587         * sysdeps/i386/fpu/e_powf.S: Likewise.
20588         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20589         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20590         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20591         * sysdeps/i386/fpu/e_pow.S: Likewise.
20592         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20593         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20594         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20595         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20596         * sysdeps/i386/fpu/e_log2.S: Likewise.
20597         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20598         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20599         * sysdeps/i386/fpu/e_powl.S: Likewise.
20600         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20601         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20602         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20603         * sysdeps/i386/fpu/e_logl.S: Likewise.
20604         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20605         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20606         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20607         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20608         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20609         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20610         * sysdeps/i386/fpu/e_log.S: Likewise.
20611         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20612         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20613         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20614         * sysdeps/i386/fpu/e_logf.S: Likewise.
20615         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20616         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20617         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20618         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20619         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20620         * sysdeps/i386/fpu/e_log10.S: Likewise.
20621         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20622         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20623         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20624         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20625         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20626         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20627         * sysdeps/i386/asm-syntax.h: Likewise.
20628         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20630         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20631         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20632         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20633         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20634         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20635         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20636         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20637         * sysdeps/powerpc/sysdep.h: Likewise.
20638         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20639         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20640
20641 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20642
20643         [BZ #411]
20644         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20645
20646 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20647
20648         * sysdeps/i386/sysdep.h: Include <features.h>.
20649         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20650         version.
20651
20652 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20653
20654         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20655         Define.
20656         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20657         LOAD_PIC_REG_STR.
20658
20659 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20660
20661         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20662         (SETUP_PIC_REG): Use GET_PC_THUNK.
20663         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20664         macro.
20665
20666 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20667
20668         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20669         for non-PIC compilation.
20670         (SETUP_PIC_REG): Add .p2align directive.
20671         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20672         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20673         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20674         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20675         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20676         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20677         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20678         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20679         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20680         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20681         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20682         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20683         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20684         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20685         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20686         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20687         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20688         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20689         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20690         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20691         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20692         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20693         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20694         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20695         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20697         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20698         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20699         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20700         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20701         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20702         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20703         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20704         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20705         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20706         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20707         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20708         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20709         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20710         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20711         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20712
20713 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20714
20715         * math/tst-CMPLX.c: Include <stdio.h>.
20716
20717 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20718
20719         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20720         float.
20721         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20722         * sysdeps/sparc/bits/mathdef.h: Likewise.
20723
20724 2012-01-31  Marek Polacek  <polacek@redhat.com>
20725
20726         * libio/libio.h: Don't define _PARAMS.
20727         * locale/programs/config.h: Don't define PARAMS.
20728         * stdlib/strtol_l.c: Likewise.
20729         (__strtol_l): Remove PARAMS from the prototype.
20730
20731 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20732
20733         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20734         names.  Just use the correct names.  Remove unnecessary wrapper
20735         functions.
20736         * malloc/arena.c: Likewise.
20737         * malloc/hooks.c: Likewise.
20738
20739         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20740         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20741         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20742
20743 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20744
20745         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20746         into tail calls.
20747         (update_get_addr): New function.
20748         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20749         GET_ADDR_MODULE parameter.
20750
20751 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20752
20753         * crypt/cert.c: Remove __STDC__ conditionals.
20754         * crypt/crypt-entry.c: Likewise.
20755         * crypt/crypt_util.c: Likewise.
20756         * libio/filedoalloc.c: Likewise.
20757         * libio/fileops.c: Likewise.
20758         * libio/genops.c: Likewise.
20759         * libio/iofclose.c: Likewise.
20760         * libio/iofdopen.c: Likewise.
20761         * libio/iofopen.c: Likewise.
20762         * libio/iofopen64.c: Likewise.
20763         * libio/iogetdelim.c: Likewise.
20764         * libio/iopopen.c: Likewise.
20765         * libio/obprintf.c: Likewise.
20766         * libio/oldfileops.c: Likewise.
20767         * libio/oldiofclose.c: Likewise.
20768         * libio/oldiofdopen.c: Likewise.
20769         * libio/oldiofopen.c: Likewise.
20770         * libio/oldiopopen.c: Likewise.
20771         * libio/wfiledoalloc.c: Likewise.
20772         * libio/wgenops.c: Likewise.
20773         * locale/programs/xmalloc.c: Likewise.
20774         * misc/syslog.c: Likewise.
20775         * stdio-common/xbug.c: Likewise.
20776         * string/memchr.c: Likewise.
20777         * string/memcmp.c: Likewise.
20778         * string/memrchr.c: Likewise.
20779         * string/rawmemchr.c: Likewise.
20780         * sysdeps/posix/getcwd.c: Likewise.
20781         * time/strftime_l.c: Likewise.
20782
20783 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20784
20785         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20786         * config.make.in (config-cflags-sse2avx): Define.
20787         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20788         Fix typo.
20789
20790 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20791
20792         * scripts/config.guess: Update from upstream config git repository.
20793         * scripts/config.sub: Likewise.
20794
20795 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20796
20797         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20798         (EM_NUM): Update.
20799         (R_TILEPRO_*, R_TILEGX_*): New macros.
20800
20801         * scripts/firstversions.awk: Fix bug in version range handling.
20802
20803         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20804
20805         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20806
20807         * include/sys/epoll.h: New file.
20808         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20809         libc_hidden_def.
20810
20811 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20812
20813         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20814         Avoid unnecessary __WORDSIZE == 64 test.
20815         (fmaxf): Use VEX format if possible.
20816         (fmax): Likewise.
20817         (fminf): Likewise.
20818         (fmin): Likewise.
20819
20820         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20821         * math/math_private.h: Remove libc_fegetround* and
20822         libc_fesetround*.
20823         * sysdeps/i386/configure.in: Check for -msse2avx.
20824         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20825         also if SSE2AVX is defined.
20826         Remove libc_fegetround* and libc_fesetround*.
20827         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20828         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20829         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20830         of HAS_YMM_USABLE.
20831         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20832         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20833         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20834         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20835         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20836
20837         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20838
20839 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20840
20841         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20842         size is not set.
20843         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20844
20845 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20846
20847         [BZ #13618]
20848         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20849         relocation.
20850         * Makeconfig (libm): Define.
20851         * elf/Makefile: Add rules to build and run tst-relsort1.
20852         * elf/tst-relsort1.c: New file.
20853         * elf/tst-relsort1mod1.c: New file.
20854         * elf/tst-relsort1mod2.c: New file.
20855
20856 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20857
20858         * math/s_ldexp.c: Remove __STDC__ conditionals.
20859         * math/s_ldexpf.c: Likewise.
20860         * math/s_ldexpl.c: Likewise.
20861         * math/s_nextafter.c: Likewise.
20862         * math/s_nexttowardf.c: Likewise.
20863         * math/s_significand.c: Likewise.
20864         * math/s_significandf.c: Likewise.
20865         * math/s_significandl.c: Likewise.
20866         * math/w_jnl.c: Likewise.
20867         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20868         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20869         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20870         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20871         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20873         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20874         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20875         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20876         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20877         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20878         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20879         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20880         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20881         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20882         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20883         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20884         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20886         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20887         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20888         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20889         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20890         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20891         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20892         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20893         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20894         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20895         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20896         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20897         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20898         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20899         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20900         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20901         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20902         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20903         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20904         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20905         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20906         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20907         * sysdeps/ieee754/k_standard.c: Likewise.
20908         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20909         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20910         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20911         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20912         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20913         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20914         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20915         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20916         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20917         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20918         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20919         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20920         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20921         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20922         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20924         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20926         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20927         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20928         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20929         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20930         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20931         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20932         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20933         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20937         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20938         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20939         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20940         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20941         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20943         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20944         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20945         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20946         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20947         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20948         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20949         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20950         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20951         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20952         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20953         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20954         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20957         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20958         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20959         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20960         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20961         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20962         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20963         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20964         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20965         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20966         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20967         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20968         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20969         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20970         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20971         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20972         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20973         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20974         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20975         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20976         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20977         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20978         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20979         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20980         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20981         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20982         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20983         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20984         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20985         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20986         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20987         * sysdeps/ieee754/s_matherr.c: Likewise.
20988         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20989         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20992
20993 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20994
20995         * crypt/md5.h: Remove __STDC__ conditionals.
20996         * libio/libioP.h: Likewise.
20997         * locale/programs/config.h: Likewise.
20998         * sysdeps/generic/sysdep.h: Likewise.
20999         * sysdeps/i386/asm-syntax.h: Likewise.
21000         * sysdeps/s390/asm-syntax.h: Likewise.
21001         * sysdeps/unix/sysdep.h: Likewise.
21002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21004
21005 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21006
21007         * libio/libio.h: Remove __STDC__ conditionals.
21008         * malloc/obstack.h: Likewise.
21009         * math/complex.h: Likewise.
21010         * math/math.h: Likewise.
21011         * sysdeps/generic/_G_config.h: Likewise.
21012         * sysdeps/gnu/_G_config.h: Likewise.
21013         * sysdeps/mach/hurd/_G_config.h: Likewise.
21014         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21015         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21016         * sysdeps/sparc/bits/mathdef.h: Likewise.
21017
21018 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
21019
21020         [BZ #13583]
21021         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21022         Clean up HAS_* macros.
21023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21024         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21025         possible.
21026         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21027         HAS_AVX.
21028         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21029         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21030         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21031         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21032         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21033
21034 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
21035
21036         * elf/tst-unique3.cc (gets): Remove declaration.
21037         * elf/tst-unique3lib.cc (gets): Likewise.
21038         * elf/tst-unique3lib2.cc (gets): Likewise.
21039         * elf/tst-unique4.cc (gets): Likewise.
21040
21041 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
21042
21043         * include/stdio.h: Add C++ protection.  Add gets declarations and
21044         definitions.
21045         * debug/tst-chk1.c: Don't declare gets here.
21046         * stdio-common/tst-gets.c: Likewise.
21047
21048 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21049
21050         * posix/glob: Remove directory.
21051
21052 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21053
21054         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21055
21056 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
21057
21058         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21059         of the non-standard EPFNOSUPPORT.
21060
21061 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21062
21063         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21064         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21065         ANYWHERE set to 1 only on KERN_NO_SPACE error.
21066
21067 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
21068
21069         * wcsmbs/uchar.h: Test __STDC_VERSION__.
21070
21071 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
21072
21073         * nscd/aicache.c (addhstaiX): Do not cache negative results of
21074         transient errors.
21075         * nscd/grpcache.c (cache_addgr): Likewise.
21076         * nscd/hstcache.c (cache_addhst): Likewise.
21077         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21078         * nscd/pwdcache.c (cache_addpw): Likewise.
21079         * nscd/servicescache.c (cache_addserv): Likewise.
21080
21081 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
21082
21083         * malloc/malloc.c: Various cleanups.
21084         * malloc/hooks.c: Likewise.
21085
21086         * stdlib/Makefile (tests): Add bug-fmtmsg1.
21087         * stdlib/bug-fmtmsg1.c: New file.
21088
21089         * stdlib/fmtmsg.c (init): Add missing unlock.
21090         Patch by Peng Haitao <penght@cn.fujitsu.com>.
21091
21092 2012-01-12  Marek Polacek  <polacek@redhat.com>
21093
21094         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21095         and _GNU_SOURCE.
21096
21097 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
21098
21099         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21100         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21101         macro to ensure uniqueness of label name.
21102         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21103         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21104
21105 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
21106
21107         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21108
21109         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21110         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21111         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21113
21114 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
21115
21116         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21117
21118         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21119         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21120         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21121
21122         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21123
21124         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21125         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21126         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21127         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21128
21129         * math/bits/math-finite.h: Add ldexp support.
21130
21131 2012-01-10  Marek Polacek  <polacek@redhat.com>
21132
21133         * locale/programs/localedef.h (show_archive_content): Add noreturn
21134         attribute.
21135
21136 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
21137
21138         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21139
21140 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21141
21142         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21143
21144         * io/Makefile (headers): Add bits/poll2.h.
21145
21146 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
21147
21148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21149         typo #include statement.
21150
21151 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21152
21153         * include/sys/cdefs.h: Define __attribute_alloc_size.
21154         * catgets/gencat.c: Add alloc_size attribute and apply consistently
21155         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21156         * elf/pldd.c: Likewise.
21157         * iconv/iconv_charmap.c: Likewise.
21158         * iconv/iconvconfig.c: Likewise.
21159         * iconv/strtab.c: Likewise.
21160         * locale/programs/locale.c: Likewise.
21161         * locale/programs/localedef.h: Likewise.
21162         * locale/programs/simple-hash.c: Likewise.
21163         * nscd/nscd.h: Likewise.
21164         * nss/makedb.c: Likewise.
21165         * sysdeps/generic/ldconfig.h: Likewise.
21166         * locale/programs/localedef.c: Remove xmalloc prototype.
21167         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21168
21169 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21170
21171         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21172         appropriate.
21173
21174 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21175
21176         * math/Makefile (tests): Add tst-CMPLX.
21177         * math/tst-CMPLX.c: New file.
21178
21179         * math/complex.h (CMPLXL): Fix typo.
21180
21181         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21182         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21183         GLIBC_2.16.
21184         * debug/tst-chk1.c: Add poll and ppoll tests.
21185         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21186         * include/sys/poll.h: Add hidden proto for ppoll.
21187         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21188         * sysdeps/mach/hurd/ppoll.c: Likewise.
21189         * io/ppoll.c: Likewise.
21190         * debug/poll_chk.c: New file.
21191         * debug/ppoll_chk.c: New file.
21192         * include/bits/poll2.h: New file.
21193         * io/bits/poll2.h: New file.
21194
21195         [BZ #1350]
21196         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21197
21198         * configure.in: static is always set to yes.  Remove.
21199         * config.make.in: Don't set build-static.
21200         * Makeconfig: Remove use of build-static.
21201         * dlfcn/Makefile: Likewise.
21202         * elf/Makefile: Likewise.
21203         * math/Makefile: Likewise.
21204         * misc/Makefile: Likewise.
21205         * nptl/Makefile: Likewise.
21206         * sysdeps/mach/hurd/Makefile: Likewise.
21207
21208         * configure.in: PWD_P is not used anymore.
21209         * config.make.in: Remove PWD_P entry.
21210
21211         * configure.in: Remove last remnants of RANLIB.
21212         No need to check for signed size_t anymore.
21213         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21214         and IA-64.
21215         Remove __builtin_expect test because we require at least gcc 3.4.
21216         * aclocal.m4: Likewise.
21217
21218         * wcsmbs/mbrtoc16.c: Implement using towc function.
21219         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21220         * wcsmbs/wcsmbsload.c: Likewise.
21221         * iconv/gconv_simple.c: Likewise.
21222         * iconv/gconv_int.h: Likewise.
21223         * iconv/gconv_builtin.h: Likewise.
21224         * iconv/iconv_prog.c: Remove CHAR16 handling.
21225
21226         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21227
21228         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21229
21230         * configure.in: Remove --with-elf and --enable-bounded options.
21231         Dont set base_machine for ia64.  More non-ELF conditions removed.
21232         Remove testing and setting of leading underscore information.
21233         * config.make.in (build-bounded): Set to no.
21234         * config.h.in: Remove NO_UNDERSCORES entry.
21235         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21236         them.
21237         * csu/start.c: Remove !NO_UNDERSCORE code.
21238         * locale/localeinfo.h: Likewise.
21239         * sysdeps/generic/machine-gmon.h: Likewise.
21240         * sysdeps/generic/sysdep.h: Likewise.
21241         * sysdeps/i386/sysdep.h: Likewise.
21242         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21243         * sysdeps/mach/sysdep.h: Likewise.
21244         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21246         * sysdeps/sh/sysdep.h: Likewise.
21247         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21248         * sysdeps/unix/i386/sysdep.S: Likewise.
21249         * sysdeps/unix/sparc/start.c: Likewise.
21250         * sysdeps/unix/sparc/sysdep.S: Likewise.
21251         * sysdeps/unix/sparc/sysdep.h: Likewise.
21252         * sysdeps/unix/start.c: Likewise.
21253         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21254         * sysdeps/x86_64/sysdep.h: Likewise.
21255
21256 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21257
21258         [BZ #13553]
21259         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21260         for non-gcc.
21261         * argp/argp-fmtstream.h: Use const instead __const.
21262         * argp/argp.h: Likewise.
21263         * assert/assert.h: Likewise.
21264         * bits/fenv.h: Likewise.
21265         * bits/sched.h: Likewise.
21266         * bits/sigset.h: Likewise.
21267         * bits/sigthread.h: Likewise.
21268         * catgets/nl_types.h: Likewise.
21269         * conform/data/pthread.h-data: Likewise.
21270         * crypt/crypt-private.h: Likewise.
21271         * crypt/crypt.h: Likewise.
21272         * crypt/crypt_util.c: Likewise.
21273         * ctype/ctype.h: Likewise.
21274         * debug/execinfo.h: Likewise.
21275         * debug/mbsnrtowcs_chk.c: Likewise.
21276         * debug/mbsrtowcs_chk.c: Likewise.
21277         * debug/wcsnrtombs_chk.c: Likewise.
21278         * debug/wcsrtombs_chk.c: Likewise.
21279         * debug/wcstombs_chk.c: Likewise.
21280         * dirent/dirent.h: Likewise.
21281         * dlfcn/dlfcn.h: Likewise.
21282         * elf/neededtest4.c: Likewise.
21283         * grp/grp.h: Likewise.
21284         * gshadow/gshadow.h: Likewise.
21285         * iconv/gconv.h: Likewise.
21286         * iconv/gconv_int.h: Likewise.
21287         * iconv/gconv_simple.c: Likewise.
21288         * iconv/iconv.h: Likewise.
21289         * iconv/loop.c: Likewise.
21290         * iconv/skeleton.c: Likewise.
21291         * include/aio.h: Likewise.
21292         * include/aliases.h: Likewise.
21293         * include/argz.h: Likewise.
21294         * include/arpa/inet.h: Likewise.
21295         * include/assert.h: Likewise.
21296         * include/dirent.h: Likewise.
21297         * include/dlfcn.h: Likewise.
21298         * include/execinfo.h: Likewise.
21299         * include/fcntl.h: Likewise.
21300         * include/fenv.h: Likewise.
21301         * include/glob.h: Likewise.
21302         * include/grp.h: Likewise.
21303         * include/libintl.h: Likewise.
21304         * include/mntent.h: Likewise.
21305         * include/netdb.h: Likewise.
21306         * include/pwd.h: Likewise.
21307         * include/rpc/netdb.h: Likewise.
21308         * include/sched.h: Likewise.
21309         * include/search.h: Likewise.
21310         * include/shadow.h: Likewise.
21311         * include/signal.h: Likewise.
21312         * include/stdio.h: Likewise.
21313         * include/stdlib.h: Likewise.
21314         * include/string.h: Likewise.
21315         * include/sys/socket.h: Likewise.
21316         * include/sys/stat.h: Likewise.
21317         * include/sys/statfs.h: Likewise.
21318         * include/sys/statvfs.h: Likewise.
21319         * include/sys/syslog.h: Likewise.
21320         * include/sys/time.h: Likewise.
21321         * include/sys/uio.h: Likewise.
21322         * include/time.h: Likewise.
21323         * include/unistd.h: Likewise.
21324         * include/utmp.h: Likewise.
21325         * include/wchar.h: Likewise.
21326         * include/wctype.h: Likewise.
21327         * inet/aliases.h: Likewise.
21328         * inet/arpa/inet.h: Likewise.
21329         * inet/netinet/ether.h: Likewise.
21330         * inet/netinet/in.h: Likewise.
21331         * intl/libintl.h: Likewise.
21332         * io/bits/fcntl2.h: Likewise.
21333         * io/fcntl.h: Likewise.
21334         * io/ftw.h: Likewise.
21335         * io/sys/poll.h: Likewise.
21336         * io/sys/stat.h: Likewise.
21337         * io/sys/statfs.h: Likewise.
21338         * io/sys/statvfs.h: Likewise.
21339         * io/utime.h: Likewise.
21340         * libio/bits/stdio.h: Likewise.
21341         * libio/bits/stdio2.h: Likewise.
21342         * libio/libio.h: Likewise.
21343         * libio/libioP.h: Likewise.
21344         * libio/stdio.h: Likewise.
21345         * locale/lc-ctype.c: Likewise.
21346         * locale/locale.h: Likewise.
21347         * login/utmp.h: Likewise.
21348         * malloc/arena.c: Likewise.
21349         * malloc/malloc.c: Likewise.
21350         * malloc/malloc.h: Likewise.
21351         * malloc/mcheck.c: Likewise.
21352         * malloc/mtrace.c: Likewise.
21353         * math/bits/mathcalls.h: Likewise.
21354         * math/fenv.h: Likewise.
21355         * math/math_private.h: Likewise.
21356         * misc/bits/error.h: Likewise.
21357         * misc/bits/syslog.h: Likewise.
21358         * misc/err.h: Likewise.
21359         * misc/error.h: Likewise.
21360         * misc/fstab.h: Likewise.
21361         * misc/mntent.h: Likewise.
21362         * misc/regexp.h: Likewise.
21363         * misc/search.h: Likewise.
21364         * misc/sgtty.h: Likewise.
21365         * misc/sys/mman.h: Likewise.
21366         * misc/sys/syslog.h: Likewise.
21367         * misc/sys/uio.h: Likewise.
21368         * misc/sys/xattr.h: Likewise.
21369         * misc/ttyent.h: Likewise.
21370         * nis/rpcsvc/ypclnt.h: Likewise.
21371         * nss/nss.h: Likewise.
21372         * posix/bits/unistd.h: Likewise.
21373         * posix/fnmatch.h: Likewise.
21374         * posix/glob.h: Likewise.
21375         * posix/sched.h: Likewise.
21376         * posix/spawn.h: Likewise.
21377         * posix/sys/wait.h: Likewise.
21378         * posix/unistd.h: Likewise.
21379         * posix/wordexp.h: Likewise.
21380         * pwd/pwd.h: Likewise.
21381         * resolv/netdb.h: Likewise.
21382         * resource/sys/resource.h: Likewise.
21383         * rt/aio.h: Likewise.
21384         * rt/bits/mqueue2.h: Likewise.
21385         * rt/mqueue.h: Likewise.
21386         * shadow/shadow.h: Likewise.
21387         * signal/signal.h: Likewise.
21388         * socket/send.c: Likewise.
21389         * socket/sendto.c: Likewise.
21390         * socket/sys/socket.h: Likewise.
21391         * stdio-common/printf.h: Likewise.
21392         * stdlib/bits/stdlib.h: Likewise.
21393         * stdlib/fmtmsg.h: Likewise.
21394         * stdlib/monetary.h: Likewise.
21395         * stdlib/stdlib.h: Likewise.
21396         * stdlib/ucontext.h: Likewise.
21397         * streams/stropts.h: Likewise.
21398         * string/argz.h: Likewise.
21399         * string/bits/string2.h: Likewise.
21400         * string/string.h: Likewise.
21401         * string/strings.h: Likewise.
21402         * sunrpc/rpc/auth.h: Likewise.
21403         * sunrpc/rpc/auth_des.h: Likewise.
21404         * sunrpc/rpc/clnt.h: Likewise.
21405         * sunrpc/rpc/netdb.h: Likewise.
21406         * sunrpc/rpc/pmap_clnt.h: Likewise.
21407         * sunrpc/rpc/xdr.h: Likewise.
21408         * sysdeps/generic/inttypes.h: Likewise.
21409         * sysdeps/generic/net/if.h: Likewise.
21410         * sysdeps/generic/sys/swap.h: Likewise.
21411         * sysdeps/gnu/net/if.h: Likewise.
21412         * sysdeps/gnu/utmpx.h: Likewise.
21413         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21414         * sysdeps/i386/i486/bits/string.h: Likewise.
21415         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21416         * sysdeps/s390/bits/string.h: Likewise.
21417         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21418         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21419         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21420         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21421         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21422         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21423         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21424         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21425         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21426         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21427         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21428         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21429         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21430         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21431         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21432         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21433         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21434         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21435         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21436         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21437         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21438         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21439         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21440         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21441         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21442         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21443         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21445         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21446         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21447         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21448         * sysvipc/sys/ipc.h: Likewise.
21449         * sysvipc/sys/msg.h: Likewise.
21450         * sysvipc/sys/sem.h: Likewise.
21451         * sysvipc/sys/shm.h: Likewise.
21452         * termios/termios.h: Likewise.
21453         * time/sys/time.h: Likewise.
21454         * time/time.h: Likewise.
21455         * wcsmbs/bits/wchar2.h: Likewise.
21456         * wcsmbs/uchar.h: Likewise.
21457         * wcsmbs/wchar.h: Likewise.
21458         * wctype/wctype.h: Likewise.
21459
21460         [BZ #13551]
21461         * Makeconfig: Remove all but ELF support including AIX support.
21462         * Makerules: Likewise.
21463         * config.h.in: Likewise.
21464         * config.make.in: Likewise.
21465         * configure: Likewise.
21466         * configure.in: Likewise.
21467         * csu/Makefile: Likewise.
21468         * csu/version.c: Likewise.
21469         * debug/Makefile: Likewise.
21470         * dlfcn/Makefile: Likewise.
21471         * elf/Makefile: Likewise.
21472         * extra-lib.mk: Likewise.
21473         * iconv/Makefile: Likewise.
21474         * include/libc-symbols.h: Likewise.
21475         * include/shlib-compat.h: Likewise.
21476         * resolv/Makefile: Likewise.
21477         * resolv/res_libc.c: Likewise.
21478         * rt/Makefile: Likewise.
21479         * sysdeps/i386/asm-syntax.h: Likewise.
21480         * sysdeps/i386/sysdep.h: Likewise.
21481         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21482         * sysdeps/mach/sysdep.h: Likewise.
21483         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21484         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21485         * sysdeps/s390/asm-syntax.h: Likewise.
21486         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21487         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21488         * sysdeps/sh/sysdep.h: Likewise.
21489         * sysdeps/unix/sparc/sysdep.h: Likewise.
21490         * sysdeps/wordsize-32/divdi3.c: Likewise.
21491         * sysdeps/x86_64/sysdep.h: Likewise.
21492
21493         * argp/Versions: Remove _argp_unlock_xxx.
21494
21495         [BZ #13559]
21496         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21497         * abilist/libBrokenLocale.abilist: Likewise.
21498         * abilist/libanl.abilist: Likewise.
21499         * abilist/libc.abilist: Likewise.
21500         * abilist/libcrypt.abilist: Likewise.
21501         * abilist/libdl.abilist: Likewise.
21502         * abilist/libm.abilist: Likewise.
21503         * abilist/libnsl.abilist: Likewise.
21504         * abilist/libpthread.abilist: Likewise.
21505         * abilist/libresolv.abilist: Likewise.
21506         * abilist/librt.abilist: Likewise.
21507         * abilist/libthread_db.abilist: Likewise.
21508         * abilist/libutil.abilist: Likewise.
21509         * abilist/libnss_db.abilist: New file.
21510
21511         * scripts/abilist.awk: Add support for indirect functions.
21512
21513         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21514
21515         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21516
21517         * shlib-versions: Remove entries for ports architectures.
21518
21519         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21520         files in ports.
21521         * elf/stackguard-macros.h: Remove support for IA-64.
21522         * elf/tst-auditmod1.c: Likewise.
21523         * sysdeps/generic/ldsodefs.h: Likewise.
21524
21525         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21526         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21527         configure files.
21528
21529         [BZ #13552]
21530         * configure.in: Remove --enable-omitfp support.
21531         * FAQ.in: Adjust.
21532         * config.make.in: Likewise.
21533         * Makeconfig: Likewise.
21534         * manual/install.texi: Likewise.
21535
21536         In case anyone cares, the IA-64 architecture could move to ports.
21537         * sysdeps/ia64/*: Removed.
21538         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21539         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21540
21541         [BZ #13555]
21542         * configure.in: Remove entries for unsupported architectures.
21543
21544         [BZ #13533]
21545         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21546         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21547         routines.
21548         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21549         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21550         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21551         fall back to using wcrtomb.
21552         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21553         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21554         renaming.
21555         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21556         * wcsmbs/tst-c16c32-1.c: New file.
21557
21558         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21559         local variable.
21560
21561         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21562
21563         * elf/tst-unique3.cc: Add explicit declaration of gets.
21564         * elf/tst-unique3lib.cc: Likewise.
21565         * elf/tst-unique3lib2.cc: Likewise.
21566         * elf/tst-unique4.cc: Likewise.
21567
21568         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21569
21570 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21571
21572         [BZ #13566]
21573         * assert/assert.h (static_assert): Don't define for C++.
21574         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21575         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21576
21577 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21578
21579         * iconv/loop.c (single loop): Fix assertion in storing of
21580         remaining bytes.
21581
21582         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21583
21584 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21585
21586         * posix/getconf.c: Update copyright year.
21587         * nss/getent.c: Likewise.
21588         * nss/makedb.c: Likewise.
21589         * iconv/iconvconfig.c: Likewise.
21590         * iconv/iconv_prog.c: Likewise.
21591         * elf/ldconfig.c: Likewise.
21592         * elf/pldd.c: Likewise.
21593         * elf/sotruss.ksh: Likewise.
21594         * catgets/gencat.c: Likewise.
21595         * csu/version.c: Likewise.
21596         * elf/ldd.bash.in: Likewise.
21597         * elf/sprof.c (print_version): Likewise.
21598         * locale/programs/locale.c: Likewise.
21599         * locale/programs/localedef.c: Likewise.
21600         * login/programs/pt_chown.c: Likewise.
21601         * nscd/nscd.c (print_version): Likewise.
21602         * debug/xtrace.sh: Likewise.
21603         * malloc/memusage.sh: Likewise.
21604         * malloc/mtrace.pl: Likewise.
21605         * debug/catchsegv.sh: Likewise.
21606
21607 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21608
21609         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21610         pure attribute.
21611
21612 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21613
21614         [BZ #13533]
21615         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21616         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21617         transformations.
21618         * iconv/gconv_int.h: Likewise.
21619         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21620         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21621         from libc for GLIBC_2.16.
21622         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21623         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21624         * wcsmbs/uchar.h: Really define mbstate_t.
21625         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21626         * wcsmbs/c16rtomb.c: New file.
21627         * wcsmbs/mbrtoc16.c: New file.
21628         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21629         for C/POSIX locale.
21630         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21631         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21632
21633         * wcsmbs/wchar.h: Add missing __restrict.
21634
21635 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21636
21637         [BZ #13532]
21638         * time/Makefile (routines): Add timespec_get.
21639         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21640         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21641         timespec for ISO C11.
21642         * time/timespec_get.c: New file.
21643         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21644         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21645
21646         [BZ #13531]
21647         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21648         * stdlib/stdlib.h: Declare aligned_alloc.
21649         * Versions.def: Add GLIBC_2.16 for libc.
21650         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21651
21652         [BZ 13527]
21653         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21654         ISO C11.
21655
21656         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21657         code.
21658
21659         [BZ #13528]
21660         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21661
21662         [BZ #13529]
21663         * assert/assert.h (static_assert): Define.
21664
21665         * version.h: Update for 2.16 development version.
21666
21667         [BZ #13526]
21668         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21669         _ISOC11_SOURCE.
21670
21671         * version.h (RELEASE): Bump for 2.15 release.
21672         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21673
21674         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21675         Patch by Marek Polacek <mpolacek@redhat.com>.
21676
21677         * bits/byteswap.h: Protect long long constants with __extension__.
21678         * sysdeps/i386/bits/byteswap.h: Likewise.
21679         * sysdeps/ia64/bits/byteswap.h: Likewise.
21680         * sysdeps/s390/bits/byteswap.h: Likewise.
21681         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21682
21683 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21684
21685         [BZ #13540]
21686         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21687         destination buffer.
21688         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21689
21690 2011-12-23  Marek Polacek  <polacek@redhat.com>
21691
21692         * elf/dl-addr.c (determine_info): Add inline keyword.
21693         * elf/tst-auditmod4b.c (check_avx): Likewise.
21694         * elf/tst-auditmod6b.c (check_avx): Likewise.
21695         * elf/tst-auditmod6c.c (check_avx): Likewise.
21696         * elf/tst-auditmod7b.c (check_avx): Likewise.
21697
21698 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21699
21700         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21701         !__SSE_MATH__.
21702
21703 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21704
21705         [BZ #13540]
21706         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21707         processing for last bytes.
21708
21709 2011-08-06  Bruno Haible  <bruno@clisp.org>
21710
21711         [BZ #13061]
21712         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21713         U+0385, not to U+1FEE.
21714
21715         [BZ #13062]
21716         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21717         entry for U+00A5 U+0301.
21718
21719 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21720
21721         [BZ #13166]
21722         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21723         buffer for the output is too small.
21724
21725         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21726         optimization.
21727
21728         [BZ #13185]
21729         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21730         SSE flags if possible.
21731
21732 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21733
21734         [BZ #13540]
21735         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21736         processing for last bytes.
21737
21738 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21739
21740         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21741         (syscall-list-default-options, syscall-list-default-condition)
21742         (syscall-list-includes): Define.
21743         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21744         list of ABIs and options and #if conditions for each ABI.  Do not
21745         handle common syscalls between ABIs specially.
21746         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21747         Remove.
21748         (syscall-list-variants, syscall-list-32bit-options)
21749         (syscall-list-32bit-condition, syscall-list-64bit-options)
21750         (syscall-list-64bit-condition): Define.
21751         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21752         (syscall-list-variants, syscall-list-32bit-options)
21753         (syscall-list-32bit-condition, syscall-list-64bit-options)
21754         (syscall-list-64bit-condition): Define.
21755         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21756         Remove.
21757         (syscall-list-variants, syscall-list-32bit-options)
21758         (syscall-list-32bit-condition, syscall-list-64bit-options)
21759         (syscall-list-64bit-condition): Define.
21760         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21761         Remove.
21762         (syscall-list-variants, syscall-list-32bit-options)
21763         (syscall-list-32bit-condition, syscall-list-64bit-options)
21764         (syscall-list-64bit-condition): Define.
21765
21766 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21767
21768         * locale/iso-639.def: Add brx entry.
21769
21770         [BZ #13328]
21771         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21772         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21773
21774         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21775         __feraiseexcept_renamed.
21776
21777 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21778
21779         [BZ #13538]
21780         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21781         EPOLLET with unsigned values.
21782         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21784
21785         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21786         to large cancellation.
21787         * math/s_cacoshf.c: Likewise.
21788         * math/s_cacoshl.c: Likewise.
21789
21790 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21791
21792         [BZ #13305]
21793         [BZ #12786]
21794         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21795         * math/s_cacoshf.c: Likewise.
21796         * math/s_cacoshl.c: Likewise.
21797
21798 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21799
21800         [BZ #13439]
21801         * iconv/gconv.h: Define __GCONV_SWAP.
21802         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21803         * iconvdata/utf-16.c: Likewise.
21804         * iconvdata/utf-32.c: Likewise.
21805
21806 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21807
21808         [BZ #13524]
21809         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21810         numerator after shifting it by one limb.
21811
21812 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21813
21814         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21815         under [__USE_EXTERN_INLINES].
21816
21817 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21818
21819         [BZ #13446]
21820         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21821
21822 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21823
21824         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21825         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21826         optimized code.
21827         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21828         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21829         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21830         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21831         for strncasecmp/strncasecmp_l compilation.
21832         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21833         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21834
21835 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21836
21837         [BZ #13484]
21838         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21839         of __asm__.
21840
21841 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21842
21843         [BZ #13506]
21844         * time/tzfile.c (__tzfile_read): Check values from file header.
21845
21846 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21847
21848         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21849         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21850         * powerpc/powerpc32/dl-start.S: Likewise.
21851         * powerpc/powerpc32/elf/start.S: Likewise.
21852         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21853         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21854         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21855         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21856         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21857         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21858         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21859         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21860         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21861         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21862         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21863         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21864         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21865         * powerpc/powerpc32/memset.S: Likewise.
21866         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21867         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21868         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21869         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21870         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21871         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21872         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21873         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21874         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21875         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21876         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21877         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21878         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21879
21880 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21881
21882         * math/libm-test.inc: Added more nearbyint tests.
21883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21884         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21887
21888 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21889
21890         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21891         FD_CLOEXEC.
21892
21893 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21894
21895         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21896         Add wcscpy-ssse3 wcscpy-c.
21897         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21898         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21899         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21900         * sysdeps/x86_64/wcschr.S: New file.
21901         * sysdeps/x86_64/wcsrchr.S: New file.
21902         * string/test-strcmp.c: Remove checking of wcscmp function for
21903         wrong alignments.
21904         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21905         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21906         wcsrchr-sse2 wcsrchr-c.
21907         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21908         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21909         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21910         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21911         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21912         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21913         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21914         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21915         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21916         * wcsmbc/wcschr.c (WCSCHR): New macro.
21917
21918 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21919
21920         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21921         * wcsmbs/test-wcsrchr.c: New file.
21922         * string/test-strrchr.c: Add wcsrchr support.
21923         (WIDE): New macro.
21924         * wcsmbs/test-wcscpy.c: New file.
21925         * string/test-strcpy.c: Add wcscpy support.
21926         (WIDE): New macro.
21927
21928 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21929
21930         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21931         the inner loop.
21932
21933 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21934
21935         [BZ #13472]
21936         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21937
21938 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21939
21940         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21941         Minor optimizations.
21942
21943         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21944         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21945         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21946
21947 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21948
21949         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21950         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21951         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21952         for gcc to avoid warnings.
21953         * inet/Makefile (tests): Add tst-checks.
21954         * inet/tst-checks.c: New file.
21955
21956         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21957         warning.
21958
21959         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21960         __wmemcmp_sse2.
21961
21962         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21963         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21964
21965         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21966
21967 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21968
21969         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21970         problem.
21971
21972         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21973
21974 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21975
21976         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21977         conditional on GCC version.
21978         (__arch_compare_and_exchange_val_8_acq)
21979         (__arch_compare_and_exchange_val_16_acq)
21980         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21981         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21982         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21983
21984 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21985
21986         * sysdeps/sh/backtrace.c: New file.
21987
21988 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21989
21990         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21991         parenthesis.
21992
21993 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21994
21995         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21996         falling back to utime.
21997
21998 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21999
22000         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22001         expectations for float.
22002
22003 2011-11-29  Andreas Schwab  <schwab@redhat.com>
22004
22005         * locale/weight.h (findidx): Add parameter len.
22006         * locale/weightwc.h (findidx): Likewise.
22007         * posix/fnmatch_loop.c (FCT): Adjust caller.
22008         * posix/regcomp.c (build_equiv_class): Likewise.
22009         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22010         * posix/regexec.c (check_node_accept_bytes): Likewise.
22011         * string/strcoll_l.c (STRCOLL): Likewise.
22012         * string/strxfrm_l.c (STRXFRM): Likewise.
22013
22014 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
22015
22016         * Makefile.in: Remove CVSOPT handling.
22017         * configure.in: Remove use of AC_REVISION.
22018         * iconvdata/Makefile (distribute): No need to filter out CVS.
22019         * scripts/list-sources.sh: Remove CVS, subversion and monotone
22020         handling.
22021
22022 2011-11-16  Andreas Schwab  <schwab@redhat.com>
22023
22024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22025         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22026         [USE_AS_STRNCASECMP_L]: Likewise.
22027         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22028         NO_TLS_DIRECT_SEG_REFS.
22029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22030         Fix argument offsets for non-PIC.
22031         [USE_AS_STRNCASECMP_L]: Likewise.
22032         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22033         NO_TLS_DIRECT_SEG_REFS.
22034
22035 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22036
22037         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22038         O_CLOEXEC.
22039         * locale/loadlocale.c (_nl_load_locale): Likewise.
22040
22041 2011-11-15  Andreas Schwab  <schwab@redhat.com>
22042
22043         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22044         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22045         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22046         (SYSCALL_GETTIME): Set errno on error.
22047
22048         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22049         count references to noai6ai_cached.
22050
22051 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22052
22053         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22054
22055         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22056         FD_CLOEXEC for /proc/self/maps.
22057
22058         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22059         FD_CLOEXEC for /proc/meminfo.
22060
22061         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22062         gai.conf.
22063
22064         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
22065         FD_CLOEXEC for given file.
22066
22067         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22068
22069         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22070         FD_CLOEXEC for /etc/hosts.
22071         (_gethtent): Likewise.
22072
22073         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22074
22075         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22076         cancellation and set FD_CLOEXEC for /etc/netgroup.
22077
22078         * nss/nss_files/files-key.c (search): Don't allow cancellation when
22079         reading /etc/publickey.
22080
22081         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22082         allow cancellation when reading /etc/group.
22083
22084         * nss/nss_files/files-alias.c (internal_setent): Don't allow
22085         cancellation.
22086         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
22087
22088         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22089         when using data file.
22090
22091         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22092
22093         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22094         (write_nis_obj): Use "c" and "e" in fopen.
22095
22096         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22097
22098         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22099
22100         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22101
22102         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22103
22104         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22105         locale.alias.
22106
22107         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22108
22109         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22110
22111         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22112
22113         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22114         file parsing and set FD_CLOEXEC.
22115
22116 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22117
22118         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22119
22120 2011-11-14  Andreas Schwab  <schwab@redhat.com>
22121
22122         * malloc/arena.c (arena_get2): Don't call reused_arena when
22123         _int_new_arena failed.
22124
22125 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22126
22127         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22128         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22129         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22130         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22131         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22132         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22133         to compile strcasecmp and strncasecmp.
22134         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22135         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22136
22137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22138
22139 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
22140
22141         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22142         locale-defines.sym to gen-as-const-headers.
22143         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22144         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22145         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22146         to compile strcasecmp and strncasecmp.
22147         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22148         strcasecmp_l and strncasecmp_l.
22149         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22150         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22151         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22152         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22153         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22154         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22155         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22156         * sysdeps/i386/i686/multiarch/strncase.S: New file.
22157         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22158         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22159         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22160
22161 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22162
22163         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22164         result of SYSDEP_GETTIME_CPU to retval.
22165         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22166         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22167
22168         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22169         variable.
22170
22171         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22172         mantissa words.
22173         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22174
22175         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22176         from unused variable.
22177
22178         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22179         DWARF definitions.
22180         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22181         for assembling.
22182
22183         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22184         over namespaces.
22185
22186         * sunrpc/rpc_prot.c (rejected): Fix case value.
22187
22188         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22189         unsigned long long int to avoid warnings in shift.
22190
22191         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22192         of use of trans.
22193         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22194         variable tmp.
22195
22196         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22197         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22198         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22199
22200         * nis/nis_table.c (nis_list): Use variable of correct type for
22201         result of __follow_path call.
22202
22203 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22204
22205         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22206         of math functions ceil, trunc, floor, round, and sqrt, when
22207         avaliable on the platform.
22208         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22209         name clash.
22210         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22211         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22212         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22213
22214 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22215
22216         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22217         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22218
22219 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22220
22221         * include/unistd.h: Fix __readlink return type.
22222         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22223
22224 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22225
22226         * stdlib/ucontext.h: Undo last change for makecontext.
22227
22228 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22229
22230         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22231
22232         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22233         * setjmp/setjmp.h: Mark functions as non-leaf.
22234         * setjmp/bits/setjmp2.h: Likewise.
22235         * stdlib/ucontext.h: Likewise.
22236
22237 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22238
22239         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22240         (reused_arena): Don't check arena limit.
22241         (arena_get2): Atomically check arena limit.
22242
22243 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22244
22245         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22246         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22247
22248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22249         instructions.
22250
22251 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22252
22253         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22254         handler when locking.
22255
22256         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22257         Fix size of allocated buffer.
22258
22259 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22260
22261         [BZ #10103]
22262         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22263         declarations for long double functions.
22264         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22265
22266         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22267
22268 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22269
22270         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22271         installed.
22272
22273         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22274         is disabled.
22275
22276 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22277
22278         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22279
22280 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22281
22282         * include/alloca.h (stackinfo_alloca_round): Define.
22283         (extend_alloca): Use it.
22284         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22285         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22286         here.
22287
22288         * scripts/check-local-headers.sh: Ignore libaudit.h.
22289
22290         * nscd/Makefile (extra-objs): Make recursively expanded.
22291
22292 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22293
22294         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22295         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22296
22297         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22298         * posix/tst-rfc3484-2.c: Likewise.
22299         * posix/tst-rfc3484-3.c: Likewise.
22300
22301         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22302         process_vm_writev.
22303         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22304         process_vm_writev.
22305         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22306         process_vm_writev from libc using GLIBC_2.15 version.
22307
22308         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22309
22310 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22311
22312         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22313         stack usage.
22314
22315 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22316
22317         [BZ #13367]
22318         * nss/getent.c (initgroups_keys): Show error message in case no group
22319         names are given.
22320
22321         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22322         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22323         __bump_nl_timestamp.
22324         * nscd/connections (nscd_init): When host database is served open
22325         netlink socket and request notification about configuration changes.
22326         (main_loop_poll): Track netlink file descriptor and bump timestamp
22327         in case data becomes available.
22328         (main_loop_epoll): Likewise.
22329         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22330         (database_pers_head): Add extra_data fileds.
22331         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22332         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22333         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22334         Adjust caller.
22335         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22336         in6ai data, call __free_in6ai.
22337         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22338         Add -DHAVE_NETLINK.
22339         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22340         interface information.  Reuse previous data if netlink timestamp
22341         is not changed.
22342         (__bump_nl_timestamp): New function.
22343         (__free_in6ai): New function.
22344
22345 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22346
22347         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22348         close_not_cancel_no_status here.
22349         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22350
22351 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22352
22353         [BZ #13276]
22354         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22355         return value.
22356
22357         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22358         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22359         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22360
22361 2011-07-03  Andreas Jaeger  <aj@suse.de>
22362
22363         [BZ #10709]
22364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22365         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22366         * math/libm-test.inc (sin_test): Add test case.
22367
22368 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22369
22370         [BZ #13337]
22371         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22372         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22373
22374         * elf/chroot_canon.c (chroot_canon): Cleanups.
22375
22376         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22377
22378         [BZ #13335]
22379         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22380         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22381
22382         * string/test-strchr.c: Make usable for strchrnul testing.
22383         * string/test-strchrnul.c: New file.
22384         * string/Makefile (strop-tests): Add strchrnul.
22385
22386         * po/it.po: Update from translation team.
22387         * po/es.po: Likewise.
22388
22389 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22390
22391         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22392         the three constants needed as parameters.  Drop the others.
22393         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22394         __m128i_strloadu_tolower.
22395         Create and initialize variable zero and use it in all the places
22396         where _mm_setzero_si128 was used.
22397
22398         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22399         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22400         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22401         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22402         anymore.
22403         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22404         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22405         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22406         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22407         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22408         __mpranred, __mptan.
22409         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22410         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22411         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22412         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22413         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22414         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22415         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22416         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22417         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22418
22419 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22420
22421         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22422         redefine if SHARED.
22423         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22424
22425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22426         wide char related routines to wcsmbs subdir.
22427
22428 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22429
22430         [BZ #13344]
22431         * misc/sys/cdefs.h (__THROWNL): Define.
22432         * posix/unistd.h: Use __THREADNL instead of __THREAD
22433         for memory synchronization functions.
22434
22435 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22436
22437         [BZ #13349]
22438         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22439         doesn't exist.
22440         * manual/stdio.texi (Obstack Streams): Node removed.
22441
22442 2011-10-26  Andreas Schwab  <schwab@redhat.com>
22443
22444         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22445         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22447
22448         * math/math_private.h (math_force_eval): Allow non-addressable
22449         arguments.
22450         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22451
22452 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22453
22454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22455         file is not needed.
22456
22457         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22458         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22459         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22460         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22461         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22462         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22463         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22464         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22465         Add AVX variants.
22466         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22467         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22468         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22469         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22470         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22471         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22472         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22473         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22474         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22475         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22476         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22477         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22478         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22479         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22480         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22481         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22482         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22483         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22484         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22485
22486         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22487         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22488
22489         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22490         place.  Use VEX encoding when compiling for AVX.
22491
22492 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22493
22494         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22495         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22496
22497         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22498
22499 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22500
22501         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22502         useless if() expression.
22503         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22508         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22509         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22510         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22511         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22512         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22513         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22514         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22515         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22516         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22517         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22518         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22519         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22520         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22521         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22522
22523         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22524
22525 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22526
22527         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22528         condition.
22529         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22530
22531 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22532
22533         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22534         .text section.  Avoid duplicate constants.
22535         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22536         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22539         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22540         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22541         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22543         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22544         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22545         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22546         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22547         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22548         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22549         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22550         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22551         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22552         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22553         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22556         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22557         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22558         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22559         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22560         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22561         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22562         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22563         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22564         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22565         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22566         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22567         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22568         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22569         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22570         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22571         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22573         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22574         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22575         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22576         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22577         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22578         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22579         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22580
22581 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22582
22583         * sysdeps/x86_64/dla.h: Move to ...
22584         * sysdeps/x86_64/fpu/dla.h: ...here.
22585         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22586         situations.  Use __builtin_fma only for gcc 4.6 and up.
22587
22588         * config.make.in: Add have-mfma4 entry.
22589         * configure.in: Substitute libc_cv_cc_fma4.
22590         * math/Makefile (dbl-only-routines): Add sincostab.
22591         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22592         Use __sincostab not sincos.
22593         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22594         name is a macro.
22595         * sysdeps/ieee754/dbl-64/e_exp.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_atan2.c: Likewise.  Define singArctan2
22599         using __copysign.
22600         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22601         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22602         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22603         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22604         and __inv.
22605         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22606         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22607         __copysign.
22608         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22609         define aliases when function name is a macro.
22610         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22611         sysdeps/ieee754/dbl-64/sincos.tbl.
22612         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22613         fma4-enabled routines.
22614         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22615         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22616         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22617         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22618         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22619         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22620         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22621         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22622         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22623         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22624         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22625         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22626         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22627         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22628         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22629         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22630         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22631         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22632         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22633         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22634         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22635         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22636         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22638         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22639         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22640         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22641         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22642         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22643         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22644
22645         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22646         rename.
22647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22649         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22653         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22655
22656 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22657
22658         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22659
22660 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22661
22662         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22663
22664         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22665         prediction.
22666         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22667
22668         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22669         Remove unused variable magic_bits.
22670         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22671
22672         * string/strnlen.c: Define and use STRNLEN macro.
22673         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22674         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22675         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22676         * wcsmbs/wcslen.c: Define and use WCSLEN.
22677         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22678         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22679         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22680         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22681         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22682         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22683         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22684
22685 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22686
22687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22688         strnlen-sse2-no-bsf.
22689         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22690         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22691         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22692         Add strnlen support.
22693         (USE_AS_STRNLEN): New macro.
22694         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22695         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22696         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22697         * sysdeps/x86_64/wcslen.S: New file.
22698
22699 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22700
22701         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22702         XMM-moves are used for copying on small sizes.
22703
22704 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22705
22706         * wcsmbs/Makefile (strop-tests): Add wcschr.
22707         * wcsmbs/test-wcschr.c: New file.
22708         * string/test-strchr.c: Update.
22709         Add wcschr support.
22710         (WIDE): New macro.
22711
22712 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22713
22714         * wcsmbs/Makefile (strop-tests): Add wcslen.
22715         * wcsmbs/test-wcslen.c: New file.
22716         * string/test-strlen.c: Update.
22717         Add wcslen support.
22718         (WIDE): New macro.
22719
22720 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22721
22722         * po/it.po: Update from translation team.
22723
22724 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22725
22726         * sysdeps/x86_64/wcscmp.S: Update.
22727         Fix wrong comparison semantics.
22728         wcscmp shall use signed comparison not unsigned.
22729         Don't use substraction to avoid overflow bug.
22730         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22731         * wcsmbc/wcscmp.c: Likewise.
22732         * string/test-strcmp.c: Likewise.
22733         Add new tests to check cases with negative values.
22734
22735 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22736
22737         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22738         * sysdeps/x86_64/dla.h: ...here.  New file.
22739         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22744         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22748
22749 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22750
22751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22752         __ynl_finite aliases.
22753
22754 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22755
22756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22757
22758         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22759         define DLA_FMA.
22760         [DLA_FMA] (EMULV): Use DLA_FMA.
22761         [DLA_FMA] (MUL12): Use EMULV.
22762         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22763         that are not needed.
22764         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22767         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22769         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22771
22772 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22773
22774         * math/s_nan.c: Undef __nan.
22775         * math/s_nanf.c: Undef __nanf.
22776         * math/s_nanl.c: Undef __nanl.
22777         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22778         "math_private.h".
22779
22780 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22781
22782         * math/s_catan.c: Add branch predictions.
22783         * math/s_catanf.c: Likewise.
22784         * math/s_catanh.c: Likewise.
22785         * math/s_catanhf.c: Likewise.
22786         * math/s_catanhl.c: Likewise.
22787         * math/s_catanl.c: Likewise.
22788         * math/s_cexp.c: Likewise.
22789         * math/s_cexpf.c: Likewise.
22790         * math/s_cexpl.c: Likewise.
22791         * math/s_clog.c: Likewise.
22792         * math/s_clog10.c: Likewise.
22793         * math/s_clog10f.c: Likewise.
22794         * math/s_clog10l.c: Likewise.
22795         * math/s_clogf.c: Likewise.
22796         * math/s_clogl.c: Likewise.
22797         * math/s_csqrt.c: Likewise.
22798         * math/s_csqrtf.c: Likewise.
22799         * math/s_csqrtl.c: Likewise.
22800         * math/s_ctanf.c: Likewise.
22801         * math/s_ctanh.c: Likewise.
22802         * math/s_ctanhf.c: Likewise.
22803         * math/s_ctanhl.c: Likewise.
22804         * math/s_ctanl.c: Likewise.
22805
22806         * math/math_private.h: Define __nan, __nanf, __nanl.
22807         * math/s_cacosh.c: Include <math_private.h>.
22808         * math/s_cacoshl.c: Likewise.
22809         * math/s_casinh.c: Likewise.
22810         * math/s_casinhf.c: Likewise.
22811         * math/s_casinhl.c: Likewise.
22812         * math/s_ccos.c: Rely entire on ccosh.
22813         * math/s_ccosf.c: Rely entire on ccoshf.
22814         * math/s_ccosl.c: Rely entirely on ccoshl.
22815         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22816         Remove tests for FE_INVALID.
22817         * math/s_ccoshf.c: Likewise.
22818         * math/s_ccoshl.c: Likewise.
22819         * math/s_csin.c: Likewise.
22820         * math/s_csinf.c: Likewise.
22821         * math/s_csinh.c Likewise.
22822         * math/s_csinhf.c: Likewise.
22823         * math/s_csinhl.c: Likewise.
22824         * math/s_csinl.c: Likewise.
22825         * math/s_ctan.c: Likewise.
22826         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22827         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22828         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22829
22830 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22831
22832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22833         compilation problems.
22834
22835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22836         __builtin_expect.
22837
22838 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22839
22840         * sysdeps/i386/configure.in: Test for -mfma4 option.
22841         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22842         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22843         COMMON_CPUID_INDEX_80000001.
22844         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22845         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22846         use it if FMA3 is not supported.
22847         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22848
22849         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22850         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22851
22852 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22853
22854         [BZ #12892]
22855         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22856         it would create a cycle with a link time dependency.
22857
22858 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22859
22860         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22861         instruction.
22862         * string/Makefile (strop-tests): Add rawmemchr.
22863         * string/test-rawmemchr.c: New file.
22864
22865         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22866         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22867         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22868         when compiling str{,n}casecmp and when AVX is available.  Hook up
22869         new optimized code in initializers.
22870
22871 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22872
22873         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22874         __feraiseexcept instead of feraiseexcept.
22875
22876 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22877
22878         * math/math_private.h: Define defaults for libc_fetestexcept and
22879         libc_feupdateenv.
22880         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22881         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22882         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22883         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22884         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22885         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22886         libc_fetestexcept and libc_feupdateenv.
22887
22888         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22889         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22890         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22891         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22892         libc_feholdexcept_setround.
22893
22894         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22895         Add s_nearbyint-c and s_nearbyintf-c.
22896         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22897         nearbyintf inlines.
22898         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22899         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22900         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22901         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22902
22903         * math/math_private.h: Define defaults for libc_fegetround,
22904         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22905         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22906         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22907         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22908         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22909         standard functions.
22910         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22911         Remove comments and hacks for old compiler versions.
22912         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22913         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22914         libc_feholdexceptl.
22915
22916 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22917
22918         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22919         (__feraiseexcept_renamed): Add __NTH.
22920         (feraiseexcept): Add __NTH.  Rename local variables to fix
22921         namespace violations.
22922
22923 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22924
22925         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22926
22927         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22928
22929         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22930         recently added interfaces.
22931         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22932
22933         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22934         about macro parameter expansion.
22935
22936         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22937         __NO_MATH_INLINES is defined.  Cleanups.
22938
22939         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22940         and __floorf is target has SSE4.1.
22941         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22942         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22943         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22944         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22945
22946         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22947         name.
22948         (floorf): Likewise.
22949
22950         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22951
22952 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22953
22954         * misc/sys/cdefs.h: Fix last change.
22955
22956         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22957         database lookup.
22958
22959 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22960
22961         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22962
22963         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22965         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22966         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22968         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22969         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22970         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22971         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22972         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22973         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22974         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22975         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22976         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22977         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22978         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22979         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22980         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22981         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22982         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22983         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22984         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22985
22986         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22987         ceil, ceilf, floor, floorf.
22988
22989         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22990         Perform IRELATIVE relocations last.
22991
22992         * elf/do-rel.h: Add another parameter nrelative, replacing the
22993         local variable with the same name.  Change name of the function
22994         to end in Rel or Rela (uppercase).
22995         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22996         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22997         elf_dynamic_do_##reloc function.
22998
22999 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23000
23001         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23002         is sufficient, at least on modern CPUs.
23003
23004         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23005
23006         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23007         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23008
23009         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23010         __expl_finite.
23011         * math/bits/math-finite.h: Add entries for exp.
23012         * math/e_expl.c: Add __*_finite alias.
23013         * sysdeps/i386/fpu/e_exp.S: Likewise.
23014         * sysdeps/i386/fpu/e_expf.S: Likewise.
23015         * sysdeps/i386/fpu/e_expl.c: Likewise.
23016         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23017         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23018         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23020         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23021         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23022         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23023
23024         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23025         is sufficient, at least on modern CPUs.
23026
23027         * ctype/ctype-info.c (__ctype_init): Define.
23028         * include/ctype.h (__ctype_init): Declare.
23029         (__ctype_b_loc): The variable is always initialized.
23030         (__ctype_toupper_loc): Likewise.
23031         (__ctype_tolower_loc): Likewise.
23032         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23033         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23034
23035 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
23036
23037         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23038
23039         * configure.in: Also look in $cxxmachine/include for C++ system
23040         headers.
23041
23042 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23043
23044         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23045         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23046         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23047         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
23048         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23049         (USE_AS_WMEMCMP): New macro.
23050         Fixing indents.
23051         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23052         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23053         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23054         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23056         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23057         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23058         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23059         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23060         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23061         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23062         (USE_AS_WMEMCMP): New macro.
23063         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23064         * sysdeps/string/test-memcmp.c: Update.
23065         Fix simple_wmemcmp.
23066         Add new tests.
23067         * wcsmbs/wmemcmp.c: Update.
23068         (WMEMCMP): New macro.
23069         Fix overflow bug.
23070
23071 2011-10-12  Andreas Jaeger  <aj@suse.de>
23072
23073         [BZ #13268]
23074         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23075
23076 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23077
23078         * libio/iofwide.c (do_length): Avoid warning.
23079
23080         * ctype/ctype.h (__isctype_f): Add missing __THROW.
23081
23082 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
23083
23084         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23085
23086         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23087         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23088         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23089         * sysdeps/i386/i686/fpu/e_log.S: New file.
23090         * sysdeps/i386/i686/fpu/e_logf.S: New file.
23091         * sysdeps/i386/i686/fpu/e_logl.S: New file.
23092
23093         * ctype/ctype.h: Add support for inlined isXXX functions when
23094         compiling C++ code.
23095
23096 2011-10-14  Andreas Schwab  <schwab@redhat.com>
23097
23098         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23099
23100         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23101
23102 2011-10-13  Roland McGrath  <roland@hack.frob.com>
23103
23104         [BZ #13291]
23105         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23106
23107 2011-10-13  Andreas Schwab  <schwab@redhat.com>
23108
23109         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23110         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23111         feraiseexcept.
23112
23113         * sysdeps/x86_64/memrchr.S: Check for zero size.
23114
23115         * string/stratcliff.c: Add memrchr tests.
23116
23117 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23118
23119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23120         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23121         rawmemchr-sse2 rawmemchr-sse2-bsf.
23122         * sysdeps/i386/i686/multiarch/memchr.S: New file.
23123         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23124         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23125         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23126         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23127         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23128         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23129         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23130         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23131         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23132         * string/memrchr.c (MEMRCHR): New macro.
23133
23134 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
23135
23136         Add integration with gcc's -ffinite-math-only and optimize wrapper
23137         functions in libm.
23138         * Versions.def: Define GLIBC_2.15 version for libm.
23139         * math/Makefile (headers): Add bits/math-finite.h.
23140         * math/bits/math-finite.h: New file.
23141         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23142         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23143         * math/e_acoshl.c: Add __*_finite alias.
23144         * math/e_acosl.c: Likewise.
23145         * math/e_asinl.c: Likewise.
23146         * math/e_atan2l.c: Likewise.
23147         * math/e_atanhl.c: Likewise.
23148         * math/e_coshl.c: Likewise.
23149         * math/e_exp10.c: Likewise.
23150         * math/e_exp10f.c: Likewise.
23151         * math/e_exp10l.c: Likewise.
23152         * math/e_exp2l.c: Likewise.
23153         * math/e_fmodl.c: Likewise.
23154         * math/e_gammal_r.c: Likewise.
23155         * math/e_hypotl.c: Likewise.
23156         * math/e_j0l.c: Likewise.
23157         * math/e_j1l.c: Likewise.
23158         * math/e_jnl.c: Likewise.
23159         * math/e_lgammal_r.c: Likewise.
23160         * math/e_log10l.c: Likewise.
23161         * math/e_log2l.c: Likewise.
23162         * math/e_logl.c: Likewise.
23163         * math/e_powl.c: Likewise.
23164         * math/e_sinhl.c: Likewise.
23165         * math/e_sqrtl.c: Likewise.
23166         * math/e_scalb.c: Completely rewritten and optimized.
23167         * math/e_scalbf.c: Likewise.
23168         * math/e_scalbl.c: Likewise.
23169         * math/w_acos.c: Likewise.
23170         * math/w_acosf.c: Likewise.
23171         * math/w_acosl.c: Likewise.
23172         * math/w_acosh.c: Likewise.
23173         * math/w_acoshf.c: Likewise.
23174         * math/w_acoshl.c: Likewise.
23175         * math/w_asin.c: Likewise.
23176         * math/w_asinf.c: Likewise.
23177         * math/w_asinl.c: Likewise.
23178         * math/w_atan2.c: Likewise.
23179         * math/w_atan2f.c: Likewise.
23180         * math/w_atan2l.c: Likewise.
23181         * math/w_atanh.c: Likewise.
23182         * math/w_atanhf.c: Likewise.
23183         * math/w_atanhl.c: Likewise.
23184         * math/w_exp10.c: Likewise.
23185         * math/w_exp10f.c: Likewise.
23186         * math/w_exp10l.c: Likewise.
23187         * math/w_fmod.c: Likewise.
23188         * math/w_fmodf.c: Likewise.
23189         * math/w_fmodl.c: Likewise.
23190         * math/w_j0.c: Likewise.
23191         * math/w_j0f.c: Likewise.
23192         * math/w_j0l.c: Likewise.
23193         * math/w_j1.c: Likewise.
23194         * math/w_j1f.c: Likewise.
23195         * math/w_j1l.c: Likewise.
23196         * math/w_jn.c: Likewise.
23197         * math/w_jnf.c: Likewise.
23198         * math/w_log.c: Likewise.
23199         * math/w_logf.c: Likewise.
23200         * math/w_logl.c: Likewise.
23201         * math/w_log10.c: Likewise.
23202         * math/w_log10f.c: Likewise.
23203         * math/w_log10l.c: Likewise.
23204         * math/w_log2.c: Likewise.
23205         * math/w_log2f.c: Likewise.
23206         * math/w_log2l.c: Likewise.
23207         * math/w_pow.c: Likewise.
23208         * math/w_powf.c: Likewise.
23209         * math/w_powl.c: Likewise.
23210         * math/w_remainder.c: Likewise.
23211         * math/w_remainderf.c: Likewise.
23212         * math/w_remainderl.c: Likewise.
23213         * math/w_scalb.c: Likewise.
23214         * math/w_scalbf.c: Likewise.
23215         * math/w_scalbl.c: Likewise.
23216         * math/w_sqrt.c: Likewise.
23217         * math/w_sqrtf.c: Likewise.
23218         * math/w_sqrtl.c: Likewise.
23219         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23220         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23221         used.
23222         * math/math_private.h: Declare __kernel_standard_f.
23223         * math/w_cosh.c: Remove cruft and optimize a bit.
23224         * math/w_coshf.c: Likewise.
23225         * math/w_coshl.c: Likewise.
23226         * math/w_exp2.c: Likewise.
23227         * math/w_exp2f.c: Likewise.
23228         * math/w_exp2l.c: Likewise.
23229         * math/w_hypot.c: Likewise.
23230         * math/w_hypotf.c: Likewise.
23231         * math/w_hypotl.c: Likewise.
23232         * math/w_lgamma.c: Likewise.
23233         * math/w_lgamma_r.c: Likewise.
23234         * math/w_lgammaf.c: Likewise.
23235         * math/w_lgammaf_r.c: Likewise.
23236         * math/w_lgammal.c: Likewise.
23237         * math/w_lgammal_r.c: Likewise.
23238         * math/w_sinh.c: Likewise.
23239         * math/w_sinhf.c: Likewise.
23240         * math/w_sinhl.c: Likewise.
23241         * math/w_tgamma.c: Likewise.
23242         * math/w_tgammaf.c: Likewise.
23243         * math/w_tgammal.c: Likewise.
23244         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23245         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23246         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23247         Minor optimizations.  Pretty printing.  Remove cruft.
23248         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23249         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23250         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23251         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23252         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23253         * sysdeps/i386/fpu/e_asin.S: Likewise.
23254         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23255         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23256         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23257         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23258         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23259         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23260         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23261         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23262         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23263         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23264         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23265         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23266         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23267         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23268         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23269         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23270         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23271         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23272         * sysdeps/i386/fpu/e_log.S: Likewise.
23273         * sysdeps/i386/fpu/e_log10.S: Likewise.
23274         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23276         * sysdeps/i386/fpu/e_log2.S: Likewise.
23277         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23278         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23279         * sysdeps/i386/fpu/e_logf.S: Likewise.
23280         * sysdeps/i386/fpu/e_logl.S: Likewise.
23281         * sysdeps/i386/fpu/e_pow.S: Likewise.
23282         * sysdeps/i386/fpu/e_powf.S: Likewise.
23283         * sysdeps/i386/fpu/e_powl.S: Likewise.
23284         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23285         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23286         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23287         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23288         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23289         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23290         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23291         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23292         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23293         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23294         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23296         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23297         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23298         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23299         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23300         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23301         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23302         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23303         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23304         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23305         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23306         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23307         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23308         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23309         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23310         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23311         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23312         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23313         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23314         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23315         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23316         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23317         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23318         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23319         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23320         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23321         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23322         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23323         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23324         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23325         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23326         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23327         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23328         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23329         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23330         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23331         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23332         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23333         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23334         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23335         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23336         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23337         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23338         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23339         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23340         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23341         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23342         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23343         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23344         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23345         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23346         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23347         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23348         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23349         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23350         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23351         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23352         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23353         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23354         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23356         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23357         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23359         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23360         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23361         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23362         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23363         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23364         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23365         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23366         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23367         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23368         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23369         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23370         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23371         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23372         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23373         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23374         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23375         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23377         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23378         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23379         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23380         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23381         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23382         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23383         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23384         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23385         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23386         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23387         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23388         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23389         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23390         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23391         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23392         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23393         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23394         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23395         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23396         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23397         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23398         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23399         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23400         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23401         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23402         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23403         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23404         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23405         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23406         (__isnanf): Likewise.
23407         (__isinf_ns): Likewise.
23408         (__isinf_nsf): Likewise.
23409         (__finite): Likewise.
23410         (__finitef): Likewise.
23411         (__ieee754_sqrt): Define as macro.
23412         (__ieee754_sqrtf): Define as macro.
23413         (__ieee754_sqrtl): Define as macro.
23414         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23415         inlined copy.
23416         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23417         __FINITE_MATH_ONLY__ consistent.
23418         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23419
23420 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23421
23422         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23423         of rawmemchr.
23424
23425         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23426
23427 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23428
23429         * po/ja.po: Update from translation team.
23430
23431 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23432
23433         * locale/programs/locarchive.c (prepare_address_space): New function.
23434         (create_archive, enlarge_archive, open_archive): Use it.
23435
23436         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23437         inside [SHARED], where it is used.
23438
23439         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23440
23441         * nss/getent.c (netgroup_keys): Remove unused variable.
23442         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23443
23444 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
23445
23446         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23447         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23449         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23450         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23451         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23452         * math/Makefile (libm-calls): Add s_isinf_ns.
23453         * math/divtc3.c: Use __isinf_nsl instead of isinf.
23454         * math/multc3.c: Likewise.
23455         * math/s_casin.c: Likewise.
23456         * math/s_casinf.c: Likewise.
23457         * math/s_casinl.c: Likewise.
23458         * math/s_ccos.c: Likewise.
23459         * math/s_ccosf.c: Likewise.
23460         * math/s_ccosl.c: Likewise.
23461         * math/s_ctan.c: Likewise.
23462         * math/s_ctanf.c: Likewise.
23463         * math/s_ctanh.c: Likewise.
23464         * math/s_ctanhf.c: Likewise.
23465         * math/s_ctanhl.c: Likewise.
23466         * math/s_ctanl.c: Likewise.
23467         * math/w_fmod.c: Likewise.
23468         * math/w_fmodf.c: Likewise.
23469         * math/w_fmodl.c: Likewise.
23470         * math/w_remainder.c: Likewise.
23471         * math/w_remainderf.c: Likewise.
23472         * math/w_remainderl.c: Likewise.
23473         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23474         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23475         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23477         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23478         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23479         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23480         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23481
23482         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23483         of the number.
23484         * stdio-common/printf_fphex.c: Likewise.
23485         * stdio-common/printf_size.c: Likewise.
23486
23487         * math/e_exp10.c: Include math_private.h using <...> not "...".
23488         * math/e_exp10f.c: Likewise.
23489         * math/e_exp10l.c: Likewise.
23490         * math/e_exp2l.c: Likewise.
23491         * math/e_j0l.c: Likewise.
23492         * math/e_j1l.c: Likewise.
23493         * math/e_jnl.c: Likewise.
23494         * math/e_lgammal_r.c: Likewise.
23495         * math/e_rem_pio2l.c: Likewise.
23496         * math/e_scalb.c: Likewise.
23497         * math/e_scalbf.c: Likewise.
23498         * math/e_scalbl.c: Likewise.
23499         * math/k_cosl.c: Likewise.
23500         * math/k_sinl.c: Likewise.
23501         * math/k_tanl.c: Likewise.
23502         * math/s_cacoshf.c: Likewise.
23503         * math/s_catan.c: Likewise.
23504         * math/s_catanf.c: Likewise.
23505         * math/s_catanh.c: Likewise.
23506         * math/s_catanhf.c: Likewise.
23507         * math/s_catanhl.c: Likewise.
23508         * math/s_catanl.c: Likewise.
23509         * math/s_ccosh.c: Likewise.
23510         * math/s_ccoshf.c: Likewise.
23511         * math/s_ccoshl.c: Likewise.
23512         * math/s_cexp.c: Likewise.
23513         * math/s_cexpf.c: Likewise.
23514         * math/s_cexpl.c: Likewise.
23515         * math/s_clog.c: Likewise.
23516         * math/s_clog10.c: Likewise.
23517         * math/s_clog10f.c: Likewise.
23518         * math/s_clog10l.c: Likewise.
23519         * math/s_clogf.c: Likewise.
23520         * math/s_clogl.c: Likewise.
23521         * math/s_csin.c: Likewise.
23522         * math/s_csinf.c: Likewise.
23523         * math/s_csinh.c: Likewise.
23524         * math/s_csinhf.c: Likewise.
23525         * math/s_csinhl.c: Likewise.
23526         * math/s_csinl.c: Likewise.
23527         * math/s_csqrt.c: Likewise.
23528         * math/s_csqrtf.c: Likewise.
23529         * math/s_csqrtl.c: Likewise.
23530         * math/s_ctan.c: Likewise.
23531         * math/s_ctanf.c: Likewise.
23532         * math/s_ctanh.c: Likewise.
23533         * math/s_ctanhf.c: Likewise.
23534         * math/s_ctanhl.c: Likewise.
23535         * math/s_ctanl.c: Likewise.
23536         * math/s_ldexp.c: Likewise.
23537         * math/s_ldexpf.c: Likewise.
23538         * math/s_ldexpl.c: Likewise.
23539         * math/s_significand.c: Likewise.
23540         * math/s_significandf.c: Likewise.
23541         * math/s_significandl.c: Likewise.
23542         * math/w_acos.c: Likewise.
23543         * math/w_acosf.c: Likewise.
23544         * math/w_acosh.c: Likewise.
23545         * math/w_acoshf.c: Likewise.
23546         * math/w_acoshl.c: Likewise.
23547         * math/w_acosl.c: Likewise.
23548         * math/w_asin.c: Likewise.
23549         * math/w_asinf.c: Likewise.
23550         * math/w_asinl.c: Likewise.
23551         * math/w_atan2.c: Likewise.
23552         * math/w_atan2f.c: Likewise.
23553         * math/w_atan2l.c: Likewise.
23554         * math/w_atanh.c: Likewise.
23555         * math/w_atanhf.c: Likewise.
23556         * math/w_atanhl.c: Likewise.
23557         * math/w_cosh.c: Likewise.
23558         * math/w_coshf.c: Likewise.
23559         * math/w_coshl.c: Likewise.
23560         * math/w_dremf.c: Likewise.
23561         * math/w_exp10.c: Likewise.
23562         * math/w_exp10f.c: Likewise.
23563         * math/w_exp10l.c: Likewise.
23564         * math/w_exp2.c: Likewise.
23565         * math/w_exp2f.c: Likewise.
23566         * math/w_fmod.c: Likewise.
23567         * math/w_fmodf.c: Likewise.
23568         * math/w_fmodl.c: Likewise.
23569         * math/w_hypot.c: Likewise.
23570         * math/w_hypotf.c: Likewise.
23571         * math/w_hypotl.c: Likewise.
23572         * math/w_j0.c: Likewise.
23573         * math/w_j0f.c: Likewise.
23574         * math/w_j0l.c: Likewise.
23575         * math/w_j1.c: Likewise.
23576         * math/w_j1f.c: Likewise.
23577         * math/w_j1l.c: Likewise.
23578         * math/w_jn.c: Likewise.
23579         * math/w_jnf.c: Likewise.
23580         * math/w_jnl.c: Likewise.
23581         * math/w_lgamma.c: Likewise.
23582         * math/w_lgamma_r.c: Likewise.
23583         * math/w_lgammaf.c: Likewise.
23584         * math/w_lgammaf_r.c: Likewise.
23585         * math/w_lgammal.c: Likewise.
23586         * math/w_lgammal_r.c: Likewise.
23587         * math/w_log.c: Likewise.
23588         * math/w_log10.c: Likewise.
23589         * math/w_log10f.c: Likewise.
23590         * math/w_log10l.c: Likewise.
23591         * math/w_log2.c: Likewise.
23592         * math/w_log2f.c: Likewise.
23593         * math/w_log2l.c: Likewise.
23594         * math/w_logf.c: Likewise.
23595         * math/w_logl.c: Likewise.
23596         * math/w_pow.c: Likewise.
23597         * math/w_powf.c: Likewise.
23598         * math/w_powl.c: Likewise.
23599         * math/w_remainder.c: Likewise.
23600         * math/w_remainderf.c: Likewise.
23601         * math/w_remainderl.c: Likewise.
23602         * math/w_scalb.c: Likewise.
23603         * math/w_scalbf.c: Likewise.
23604         * math/w_scalbl.c: Likewise.
23605         * math/w_sinh.c: Likewise.
23606         * math/w_sinhf.c: Likewise.
23607         * math/w_sinhl.c: Likewise.
23608         * math/w_sqrt.c: Likewise.
23609         * math/w_sqrtf.c: Likewise.
23610         * math/w_sqrtl.c: Likewise.
23611         * math/w_tgamma.c: Likewise.
23612         * math/w_tgammaf.c: Likewise.
23613         * math/w_tgammal.c: Likewise.
23614
23615         * po/ja.po: Update from translation team.
23616
23617 2011-09-29  Andreas Jaeger  <aj@suse.de>
23618
23619         [BZ #13179]
23620         * sunrpc/netname.c (netname2host): Fix logic.
23621
23622         [BZ #6779]
23623         [BZ #6783]
23624         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23625         correctly.
23626         * math/w_remainder.c (__remainder): Likewise.
23627         * math/w_remainderf.c (__remainderf): Likewise.
23628         * math/libm-test.inc (remainder_test): Add test cases.
23629
23630 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23631
23632         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23633         sdiv_qrnnd.
23634
23635 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23636
23637         * string/test-memcmp.c: Avoid unncessary #defines.
23638         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23639
23640 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23641
23642         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23643         Use new sse2 version for core i3 - i7 as it's faster
23644         than sse42 version.
23645         (bit_Prefer_PMINUB_for_stringop): New.
23646         * sysdeps/x86_64/rawmemchr.S: Update.
23647         Replace with faster SSE2 version.
23648         * sysdeps/x86_64/memrchr.S: New file.
23649         * sysdeps/x86_64/memchr.S: Update.
23650         Replace with faster SSE2 version.
23651
23652 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23653
23654         * elf/dl-load.c (lose): Add cast to avoid warning.
23655
23656 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23657
23658         * po/ca.po: Update from translation team.
23659
23660         * inet/getnetgrent_r.c: Hook up nscd.
23661         * nscd/Makefile (routines): Add nscd_netgroup.
23662         (nscd-modules): Add netgroupcache.
23663         (CFLAGS-netgroupcache.c): Define.
23664         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23665         (cache_search): Add const to second parameter.
23666         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23667         INNETGR.
23668         (dbs): Add netgrdb entry.
23669         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23670         (verify_persistent_db): Handle netgrdb.
23671         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23672         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23673         GETFDNETGR.
23674         (netgroup_response_header): Define.
23675         (innetgroup_response_header): Define.
23676         (datahead): Add netgroup_response_header and innetgroup_response_header
23677         elements.
23678         * nscd/nscd.conf: Add entries for netgroup cache.
23679         * nscd/nscd.h (dbtype): Add netgrdb.
23680         (_PATH_NSCD_NETGROUP_DB): Define.
23681         (netgroup_iov_disabled): Declare.
23682         (xmalloc, xcalloc, xrealloc): Move declarations here.
23683         (cache_search): Adjust prototype.
23684         Add netgroup-related prototypes.
23685         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23686         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23687         (__nscd_innetgr): Declare.
23688         * nscd/selinux.c (perms): Use access_vector_t as element type and
23689         add netgroup-related initializers.
23690         * nscd/netgroupcache.c: New file.
23691         * nscd/nscd_netgroup.c: New file.
23692         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23693         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23694         For four parameters use innetgr.
23695         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23696         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23697         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23698         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23699
23700         * nscd/connections.c (register_traced_file): Don't register file
23701         for disabled databases.
23702
23703 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23704
23705         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23706
23707         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23708         from tree and freeing node.
23709
23710 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23711
23712         * nss/nsswitch.c (__nss_database_lookup): Handle
23713         nss_parse_service_list out of memory case.
23714
23715 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23716
23717         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23718         out of memory case.
23719
23720 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23721
23722         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23723         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23724         pass it down.
23725         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23726         elf_machine_rela, elf_machine_lazy_rel.
23727         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23728         (ELF_DYNAMIC_DO_REL): Likewise.
23729         (ELF_DYNAMIC_DO_RELA): Likewise.
23730         (ELF_DYNAMIC_RELOCATE): Likewise.
23731         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23732         to ELF_DYNAMIC_DO_REL.
23733         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23734         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23735         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23736         elf_machine_rela.
23737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23738         skip_ifunc, don't call ifunc function if non-zero.
23739         (elf_machine_rela): Likewise.
23740         (elf_machine_lazy_rel): Likewise.
23741         (elf_machine_lazy_rela): Likewise.
23742         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23743         (elf_machine_lazy_rel): Likewise.
23744         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23745         Likewise.
23746         (elf_machine_lazy_rel): Likewise.
23747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23748         Likewise.
23749         (elf_machine_lazy_rel): Likewise.
23750         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23751         (elf_machine_lazy_rel): Likewise.
23752         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23753         (elf_machine_lazy_rel): Likewise.
23754         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23755         (elf_machine_lazy_rel): Likewise.
23756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23757         (elf_machine_lazy_rel): Likewise.
23758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23759         (elf_machine_lazy_rel): Likewise.
23760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23761         (elf_machine_lazy_rel): Likewise.
23762
23763 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23764
23765         * nss/nss_files/files-init.c (_nss_files_init): Use static
23766         initialization for all the *_traced_file variables.
23767
23768 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23769
23770         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23771
23772 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23773
23774         [BZ #13226]
23775         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23776
23777 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23778
23779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23780         Reread the line before reparsing it.
23781
23782 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23783
23784         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23785
23786 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23787             Maxim Kuvyrkov  <maxim@codesourcery.com>
23788             Joseph Myers  <joseph@codesourcery.com>
23789
23790         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23791         if needed for __stack_chk_guard.
23792
23793 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23794
23795         * sysdeps/posix/spawni.c (script_execute): Always define it.
23796         It will be optimized away if unused.
23797         (maybe_script_execute): New function.
23798         (__spawni): Call it.
23799
23800         * Makerules: Don't include tls.make.
23801         (config-tls): Always set to thread.
23802         * tls.make.c: File removed.
23803
23804 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23805
23806         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23807         * config.make.in (CPPFLAGS-config): New substituted variable.
23808
23809 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23810
23811         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23812
23813         [BZ #13192]
23814         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23815         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23816
23817 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23818
23819         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23820         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23821         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23822         (CALL_FAIL): Likewise.
23823         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23824         (CALL_FAIL): Macro removed.
23825         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23826
23827 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23828
23829         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23830         for __FINITE_MATH_ONLY__ == 1.
23831
23832 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23833
23834         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23835         __ieee754_sqrt instead of sqrt.
23836         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23837         __ieee754_sqrtf instead of sqrtf.
23838         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23839         __floorf instead of floorf.
23840         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23841         __floorf, __truncf instead of floorf, truncf.
23842
23843 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23844
23845         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23846
23847         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23848         __extern_always_inline.
23849         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23850         32-bit.
23851
23852 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23853
23854         * elf/rtld.c (dl_main): Also relocate in dependency order when
23855         doing symbol dependency testing.
23856
23857 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23858
23859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23860         Always define `refsym'.
23861
23862 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23863
23864         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23865         (__FD_ELT): Renamed from __FDELT.
23866         * misc/bits/select2.h (__FD_ELT): Likewise.
23867         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23868         __FD_MASK instead of __FDELT, __FDMASK.
23869         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23870         Likewise.
23871         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23872         Likewise.
23873
23874         * elf/Makefile (gen-ldd): Fix pattern.
23875
23876         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23877         (init_tls): Likewise.
23878
23879 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23880
23881         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23882
23883 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23884
23885         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23886         `struct cmsghdr *' instead of `void *'.
23887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23888         Likewise.
23889
23890 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23891
23892         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23893         if non-absolute.
23894         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23895         ldd_rewrite_script.
23896
23897 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23898
23899         * configure.in: Remove --with-tls option.
23900         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23901         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23902         out in case it is missing.
23903         * sysdeps/ia64/elf/configure.in: Likewise.
23904         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23905         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23906         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23907         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23908         * sysdeps/sh/elf/configure.in: Likewise.
23909         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23910         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23911         * sysdeps/x86_64/elf/configure.in: Likewise.
23912         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23913         * sysdeps/mach/hurd/tls.h: Likewise.
23914
23915         [BZ #13067]
23916         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23917
23918         [BZ #13090]
23919         * configure.in: Fix use of AC_INIT.
23920
23921         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23922
23923 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23924
23925         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23926         __set_errno.
23927         * malloc/hooks.c: Likewise.
23928
23929         [BZ #11929]
23930         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23931         variables statically.
23932         (narenas): Initialize.
23933         (list_lock): Initialize.
23934         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23935         initializtion of main_arena and list_lock.  Small cleanups.
23936         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23937         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23938         Add initializers to main_arena and mp_.
23939         (malloc_state): Remove pagesize member.  Change all users to use
23940         GLRO(dl_pagesize).
23941
23942         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23943         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23944         is always initialized.
23945
23946         * malloc/malloc.c: Removed unused configurations and dead code.
23947         * malloc/arena.c: Likewise.
23948         * malloc/hooks.c: Likewise.
23949         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23950
23951         * include/tls.h: Removed.  USE___THREAD must always be defined.
23952         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23953         * elf/dl-libc.c: Likewise.
23954         * elf/dl-tsd.c: Likewise.
23955         * include/errno.h: Likewise.
23956         * include/netdb.h: Likewise.
23957         * include/resolv.h: Likewise.
23958         * inet/herrno-loc.c: Likewise.
23959         * inet/herrno.c: Likewise.
23960         * malloc/arena.c: Likewise.
23961         * malloc/hooks.c: Likewise.
23962         * malloc/malloc.c: Likewise.
23963         * resolv/res-state.c: Likewise.
23964         * resolv/res_libc.c: Likewise.
23965         * sysdeps/i386/dl-machine.h: Likewise.
23966         * sysdeps/ia64/dl-machine.h: Likewise.
23967         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23968         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23969         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23970         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23971         * sysdeps/sh/dl-machine.h: Likewise.
23972         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23973         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23974         * sysdeps/unix/i386/sysdep.S: Likewise.
23975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23976         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23981         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23985         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23986         * sysdeps/x86_64/dl-machine.h: Likewise.
23987         * tls.make.c: Likewise.
23988
23989         * configure.in: Remove --with-__thread option.  Make tests for
23990         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23991         tls_model attribute fail if no support is available.  Remove
23992         USE_IN_LIBIO.
23993         * Makeconfig: Adjust for dropped configure option.  All features are
23994         now mandatory.
23995         * Makerules: Likewise.
23996         * Versions.def: Likewise.
23997         * argp/argp-fmtstream.c: Likewise.
23998         * argp/argp-fmtstream.h: Likewise.
23999         * argp/argp-help.c: Likewise.
24000         * assert/assert.c: Likewise.
24001         * config.h.in: Likewise.
24002         * config.make.in: Likewise.
24003         * configure: Likewise.
24004         * configure.in: Likewise.
24005         * csu/Versions: Likewise.
24006         * csu/init.c: Likewise.
24007         * elf/tst-audit2.c: Likewise.
24008         * elf/tst-tls10.c: Likewise.
24009         * elf/tst-tls10.h: Likewise.
24010         * elf/tst-tls11.c: Likewise.
24011         * elf/tst-tls12.c: Likewise.
24012         * elf/tst-tls14.c: Likewise.
24013         * elf/tst-tlsmod11.c: Likewise.
24014         * elf/tst-tlsmod12.c: Likewise.
24015         * elf/tst-tlsmod13.c: Likewise.
24016         * elf/tst-tlsmod13a.c: Likewise.
24017         * elf/tst-tlsmod14a.c: Likewise.
24018         * elf/tst-tlsmod15b.c: Likewise.
24019         * elf/tst-tlsmod16a.c: Likewise.
24020         * elf/tst-tlsmod16b.c: Likewise.
24021         * elf/tst-tlsmod7.c: Likewise.
24022         * elf/tst-tlsmod8.c: Likewise.
24023         * elf/tst-tlsmod9.c: Likewise.
24024         * gmon/gmon.c: Likewise.
24025         * grp/fgetgrent_r.c: Likewise.
24026         * grp/putgrent.c: Likewise.
24027         * hurd/fopenport.c: Likewise.
24028         * include/libc-symbols.h: Likewise.
24029         * include/tls.h: Likewise.
24030         * intl/gettextP.h: Likewise.
24031         * intl/loadinfo.h: Likewise.
24032         * locale/global-locale.c: Likewise.
24033         * locale/localeinfo.h: Likewise.
24034         * mach/devstream.c: Likewise.
24035         * malloc/arena.c: Likewise.
24036         * malloc/set-freeres.c: Likewise.
24037         * misc/err.c: Likewise.
24038         * misc/getttyent.c: Likewise.
24039         * misc/mntent_r.c: Likewise.
24040         * posix/getopt.c: Likewise.
24041         * posix/wordexp.c: Likewise.
24042         * pwd/fgetpwent_r.c: Likewise.
24043         * resolv/Versions: Likewise.
24044         * resolv/res_hconf.c: Likewise.
24045         * shadow/fgetspent_r.c: Likewise.
24046         * shadow/putspent.c: Likewise.
24047         * stdio-common/printf_fphex.c: Likewise.
24048         * stdio-common/tmpfile.c: Likewise.
24049         * stdlib/abort.c: Likewise.
24050         * stdlib/fmtmsg.c: Likewise.
24051         * sunrpc/auth_unix.c: Likewise.
24052         * sunrpc/clnt_perr.c: Likewise.
24053         * sunrpc/clnt_tcp.c: Likewise.
24054         * sunrpc/clnt_udp.c: Likewise.
24055         * sunrpc/clnt_unix.c: Likewise.
24056         * sunrpc/openchild.c: Likewise.
24057         * sunrpc/svc_simple.c: Likewise.
24058         * sunrpc/svc_tcp.c: Likewise.
24059         * sunrpc/svc_udp.c: Likewise.
24060         * sunrpc/svc_unix.c: Likewise.
24061         * sunrpc/xdr.c: Likewise.
24062         * sunrpc/xdr_array.c: Likewise.
24063         * sunrpc/xdr_rec.c: Likewise.
24064         * sunrpc/xdr_ref.c: Likewise.
24065         * sunrpc/xdr_stdio.c: Likewise.
24066
24067 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24068
24069         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24070
24071 2011-07-03  Andreas Jaeger  <aj@suse.de>
24072
24073         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24074         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24075         regenerate with gen-libm-tests.pl.
24076
24077 2010-05-12  Petr Baudis  <pasky@suse.cz>
24078
24079         [BZ #11589]
24080         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24081         around j0() zero points by switching to j1().
24082         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24083         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24085         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24086
24087 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24088
24089         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24090         instead of 0.
24091         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24092         instead of 0.
24093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24094         Patch in part by Pavel Roskin <proski@gnu.org>.
24095
24096         [BZ #13138]
24097         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24098         realloc.
24099         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
24100         Free memory block if necessary.
24101
24102         [BZ #12847]
24103         * libio/genops.c (INTDEF): For string streams the _lock pointer can
24104         be NULL.  Don't lock in this case.
24105
24106 2011-09-09  Roland McGrath  <roland@hack.frob.com>
24107
24108         * elf/elf.h (ELFOSABI_GNU): New macro.
24109         (ELFOSABI_LINUX): Define to that.
24110
24111 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
24112
24113         * string/strncat.c (strncat): Undef the symbol in case it has been
24114         defined in bits/string.h.
24115
24116 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24117
24118         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24119
24120         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24121         link map.
24122
24123 2011-08-17  Andreas Jaeger  <aj@suse.de>
24124
24125         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24126
24127 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24128             Ian Lance Taylor  <iant@google.com>
24129
24130         * math/libm-test.inc (lround_test): New testcase.
24131         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24132
24133 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
24134
24135         * Makefile: Remove support for automatic cvs check-ins.
24136         * Makerules: Likewise.
24137         * config.make.in: Likewise.
24138         * configure.in: Likewise.
24139         * intl/Makefile: Likewise.
24140         * locale/Makefile: Likewise.
24141         * po/Makefile: Likewise.
24142         * posix/Makefile: Likewise.
24143         * sysdeps/gnu/Makefile: Likewise.
24144         * sysdeps/mach/hurd/Makefile: Likewise.
24145         * sysdeps/sparc/sparc32/Makefile: Likewise.
24146
24147         [BZ #13118]
24148         * posix/Makefile (bug-regex32-ENV): Define.
24149         Patch by John Stanley <jpsinthemix@verizon.net>.
24150
24151         * misc/Makefile (headers): Add bits/select2.h.
24152         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24153         * misc/bits/select2.h: New file.
24154         * include/bits/select2.h: New file.
24155         * debug/Makefile (routines): Add fdelt_chk.
24156         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24157         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24158         FD_ISSET.
24159         * debug/fdelt_chk.c: New file.
24160
24161         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
24162         * wcsmbs/test-wmemcmp.c: Likewise.
24163         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24164         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24165
24166 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24167
24168         * string/Makefile (strop-tests): Add memcmp.
24169         * string/test-wmemcmp.c: New file.
24170         * string/test-memcmp.c: Add wmemcmp support.
24171
24172 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24173
24174         [BZ #13153]
24175         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24176         2011-07-19 change.
24177
24178         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24179         garbage value in a __mach_port_mod_refs call in the cases of the
24180         task-self and thread-self ports.
24181
24182 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24183
24184         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24185
24186 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24187
24188         * elf/dl-load.c (lose): Check for non-null L.
24189
24190 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24191
24192         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24193
24194         * elf/dl-libc.c (dlerror_run): Pass back error code from
24195         dl_catch_error.
24196
24197         [BZ #13123]
24198         * elf/dl-load.c (lose): Free l_origin if it is valid.
24199
24200         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24201         names.
24202         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24203         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24204         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24205         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24206         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24207         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24208
24209 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24210
24211         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24212         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24213         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24214         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24215         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24216         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24217         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24218         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24219         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24220         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24221
24222 2011-08-15  Alan Modra  <amodra@gmail.com>
24223
24224         [BZ #13092]
24225         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24226         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24227         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24228         ppc_mcount to static-only-routines.
24229         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24230         __mcount_internal.
24231         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24232         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24233
24234 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24235
24236         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24237         for finite and infinity parameters.
24238
24239 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24240
24241         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24242         and add nop instructions for throughput optimization.
24243         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24244
24245 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24246
24247         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24248         aligned copy for power7 with vector-scalar instructions.
24249         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24250
24251 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24252
24253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24254         AVX check.
24255
24256 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24257
24258         [BZ #13144]
24259         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24260         last change.
24261
24262 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24263
24264         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24265         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24266         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24267         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24268         clock_gettime.
24269
24270 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24271
24272         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24273         Forgot to demangle the pointer.
24274
24275         * sysdeps/i386/sysdep.h: Define atom_text_section.
24276         * sysdeps/x86_64/sysdep.h: Likewise.
24277         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24278         section with atom_text_section.
24279         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24280         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24281         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24282         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24283         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24284
24285         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24286         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24287         already be defined.  Change to take two parameters and don't assign
24288         result to variable.  Adjust all users.
24289         Define INTERNAL_GETTIME if not already defined.
24290         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24291         call.
24292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24293         HAVE_CLOCK_GETTIME_VSYSCALL.
24294         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24295
24296         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24297         gettimeofday vsyscall, just use time.
24298
24299 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24300
24301         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24302         <errno.h>.
24303
24304 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24305
24306         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24307         syscall on x86-64.
24308         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24309         syscall.
24310         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24312         syscall if possible.
24313
24314 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24315
24316         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24317         e_ident.  Don't pass to find_mapsXX.
24318         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24319
24320 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24321
24322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24323         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24324         * sysdeps/x86_64/multiarch/strchr.S: Update.
24325         Check bit_slow_BSF bit.
24326         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24327         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24328         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24329
24330 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24331
24332         [BZ #13134]
24333         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24334         before glibc 2.15.
24335         (tryshell): Define.
24336         (__spawni): Change last parameter to be flag.  Test
24337         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24338         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24339         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24340         * posix/spawni.c: Likewise.
24341         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24342         * posix/spawnp.c: Likewise.  Change normal version to use
24343         SPAWN_XFLAGS_USE_PATH.
24344         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24345         SPAWN_XFLAGS_TRY_SHELL.
24346
24347         [BZ #13150]
24348         * posix/glob.h: Remove gcc 1.x support.
24349
24350         [BZ #13068]
24351         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24352
24353 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24354
24355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24356         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24357         strrchr-sse2-bsf
24358         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24359         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24360         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24362         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24363         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24364
24365 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24366
24367         * sysdeps/x86_64/wcscmp.S: New file.
24368
24369         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24370         wcscmp-c wcscmp-sse2
24371         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24372         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24373         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24374         * wcsmbs/wcscmp.c: Allow renaming.
24375
24376 2011-09-05  David S. Miller  <davem@davemloft.net>
24377
24378         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24379         stack slot, rather than the struct return pointer slot.
24380         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24381         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24383         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24384
24385 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24386
24387         * po/ja.po: Update from translation team.
24388
24389         [BZ #13144]
24390         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24391         kernel in 64-bit binaries.
24392
24393 2011-09-01  David S. Miller  <davem@davemloft.net>
24394
24395         * elf/elf.h (HWCAP_SPARC_*): Move to..
24396         * sysdeps/sparc/sysdep.h: this new file and add new values.
24397         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24398         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24399         _DL_HWCAP_COUNT to 24.
24400         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24401         entries.
24402         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24403         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24404         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24406         instead of magic constants.
24407         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24408
24409 2011-08-31  David S. Miller  <davem@davemloft.net>
24410
24411         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24412         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24413         Reimplement to do errno handling inline.
24414         (SYSCALL_ERROR_HANDLER): New macro.
24415         (__SYSCALL_STRING): Do not do errno handling in asm.
24416         (__CLONE_SYSCALL_STRING): Delete.
24417         (__INTERNAL_SYSCALL_STRING): Delete.
24418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24419         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24420         (PSEUDO): Reimplement to do errno handling inline.
24421         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24422         (SYSCALL_ERROR_HANDLER): New macro.
24423         (__SYSCALL_STRING): Do not do errno handling in asm.
24424         (__CLONE_SYSCALL_STRING): Delete.
24425         (__INTERNAL_SYSCALL_STRING): Delete.
24426         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24427         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24428         i386.
24429         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24430         (inline_syscall*): Add 'err' argument.
24431         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24432         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24433         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24434         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24435
24436         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24437         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24438
24439 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24440
24441         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24442
24443 2011-08-29  Jiri Olsa <jolsa@redhat.com>
24444
24445         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24446         directive.
24447
24448 2011-08-24  David S. Miller  <davem@davemloft.net>
24449
24450         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24451
24452 2011-08-24  Andreas Schwab  <schwab@redhat.com>
24453
24454         * elf/Makefile: Add rules to build and run unload8 test.
24455         * elf/unload8.c: New file.
24456         * elf/unload8mod1.c: New file.
24457         * elf/unload8mod1x.c: New file.
24458         * elf/unload8mod2.c: New file.
24459         * elf/unload8mod3.c: New file.
24460
24461         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24462         it wasn't used.
24463
24464 2011-08-23  David S. Miller  <davem@davemloft.net>
24465
24466         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24467         subtract stack bias.
24468         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24469         %sp not %fp in calculations.
24470         (_JMPBUF_UNWINDS_ADJ): Likewise.
24471
24472         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24473         (aio_suspend): Call it to force an exception region around the
24474         AIO_MISC_WAIT() invocation.
24475
24476 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24477
24478         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24479         backslash.
24480
24481 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24482
24483         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24484         protection macro.
24485         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24486         and <dl-machine.h>.
24487         (Elf64_FuncDesc): Remove.
24488
24489 2011-08-22  David S. Miller  <davem@davemloft.net>
24490
24491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24492         sigaltstack check, add missing cfi directives.
24493         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24494         missing cfi directives, and sigaltstack handling.
24495
24496 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24497
24498         [BZ #11724]
24499         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24500         object is seen twice.
24501         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24502
24503         * elf/Makefile (distribute): Add tst-initorder2.c.
24504         (tests): Add tst-initorder2.
24505         (modules-names): Add tst-initorder2a tst-initorder2b
24506         tst-initorder2c tst-initorder2d.  Add rules to build them.
24507         ($(objpfx)tst-initorder2.out): New rule.
24508         * elf/tst-initorder2.c: New file.
24509         * elf/tst-initorder2.exp: New file.
24510
24511 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24512
24513         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24514
24515         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24516         dependencies back to end of function.
24517
24518         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24519         $(elfobjdir)/ld.so.
24520
24521 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24522
24523         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24524         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24526         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24527         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24528         of __vdso_gettimeofday.
24529         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24530         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24531         attribute_hidden.
24532         (_libc_vdso_platform_setup): Remove initialization of
24533         __vdso_gettimeofday and __vdso_time.
24534
24535 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24536
24537         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24538         and fgetc_unlocked.
24539         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24540         getc_unlocked.
24541
24542         * elf/dl-open.c (add_to_global): Report additions to the global scope
24543         for LD_DEBUG=scopes.
24544         (dl_open_worker): Also print scope of newly loaded dependencies.
24545         (_dl_show_scope): Indicate if there is no scope.
24546
24547         [BZ #13114]
24548         * stdio-common/Makefile (tests): Add bug24.
24549         * stdio-common/bug24.c: New file.
24550
24551 2011-08-19  Andreas Jaeger  <aj@suse.de>
24552
24553         [BZ #13114]
24554         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24555         non-existant file when using close-on-exec mode.
24556
24557 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24558
24559         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24560         the very first instruction.
24561
24562         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24563         the CFI state in the end.
24564         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24565         inclusion of dl-trampoline.h.
24566         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24567
24568 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24569
24570         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24571         expectations for long double.
24572
24573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24574         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24575
24576 2011-08-14  David S. Miller  <davem@davemloft.net>
24577
24578         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24579         artificual limit depends upon the system page size.
24580
24581 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24582
24583         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24584         * resolv/Makefile: Define CFLAGS-libresolv.
24585
24586 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24587
24588         * nss/makedb.c (compute_tables): Make variables used in nested
24589         function static.
24590
24591 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24592
24593         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24594         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24595         if buffer was too small.
24596
24597         * elf/pldd.c (main): Attach to all threads in the process.
24598         Rewrite /proc handling to use *at functions.
24599
24600 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24601
24602         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24603         specifies first scope to show.
24604         (dl_open_worker): Update callers.  Move printing scope of new
24605         object to before the relocation.
24606         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24607         * sysdeps/generic/ldsodefs.h: Update declaration.
24608
24609         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24610         string for the scope number.
24611
24612 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24613
24614         * nscd/servicescache.c (cache_addserv): Make sure written is always
24615         initialized.
24616
24617 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24618
24619         * sysdeps/i386/i486/bits/atomic.h
24620         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24621         statement expression, so as to suppress "set but not used" warning.
24622         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24623
24624         * string/strncat.c (STRNCAT): Use prototype definition.
24625
24626         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24627         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24628         -Iprograms here.
24629         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24630         (localedef-modules): Add localedef.
24631         (locale-modules): Add locale.
24632
24633         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24634         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24635         to avoid a warning.
24636
24637 2011-08-14  David S. Miller  <davem@davemloft.net>
24638
24639         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24640         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24641
24642 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24643
24644         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24645         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24646         * elf/rtld.c (dl_main): Set l_name of vDSO.
24647         Call _dl_show_scope when DL_DEBUG_SCOPES.
24648         (process_dl_debug): Recognize scopes flag and also set it for all.
24649         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24650         Declare _dl_show_scope.
24651
24652         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24653         (do_dlopen): Pass caller_dlopen to dl_open.
24654         (__libc_dlopen_mode): Initialize caller_dlopen.
24655
24656         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24657         of libc.  Make tolower call locale-independent.  Optimize a bit by
24658         using isdigit instead of isalnum.
24659         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24660
24661 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24662
24663         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24664         was a dependency or dynamically loaded.
24665
24666 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24667
24668         * intl/l10nflist.c: Allow architecture-specific pop function.
24669         * sysdeps/x86_64/l10nflist.c: New file.
24670
24671         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24672         classification.
24673
24674 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24675
24676         * include/dirent.h: Add libc_hidden_proto for scandirat and
24677         scandirat64.  Don't declare __scandirat64.
24678         * dirent/scandirat.c: Add libc_hidden_def.
24679         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24680         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24681
24682 2011-08-10  David S. Miller  <davem@davemloft.net>
24683
24684         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24685         enum.
24686         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24687         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24688         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24689
24690 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24691
24692         * Versions.def [libc]: Add GLIBC_2.15.
24693         * dirent/Makefile (routines): Add scandirat and scandirat64.
24694         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24695         GLIBC_2.15.
24696         * dirent/dirent.h: Declare scandirat and scandirat64.
24697         * dirent/scandirat.c: New file.
24698         * dirent/scandirat64.c: New file.
24699         * sysdeps/wordsize-64/scandirat.c: New file.
24700         * sysdeps/wordsize-64/scandirat64.c: New file.
24701         * dirent/opendir.c: Define opendirat.
24702         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24703         using scandirat.
24704         * dirent/scandir64.c: Adjust for scandir.c change.
24705         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24706         __scandirat64, and __scandir_cancel_handler.
24707         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24708         additional parameter and use openat instead of open (outside of ld.so).
24709         Add new __opendir as wrapper around __opendirat.
24710         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24711         here without requiring old scandirat implementation.
24712
24713 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24714
24715         * dirent/scandir.c (cancel_handler): Renamed to
24716         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24717         defined.  Adjust users.
24718         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24719         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24720
24721 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24722
24723         * string/test-string.h (IMPL): Use __STRING to expand name and then
24724         stringify it.
24725
24726         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24727         of cleanups.
24728
24729 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24730
24731         * string/Makefile: Update.
24732         (strop-tests): Append strncat.
24733         * string/test-wcscmp.c: New file.
24734         New comprehensive test for wcscmp.
24735         * string/test-strcmp.c: Update.
24736         (WIDE): New define.
24737
24738 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24739
24740         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24741         line.
24742
24743 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24744
24745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24746         encoding to ACE if AI_IDN.
24747
24748 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24749
24750         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24751         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24752
24753 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24754
24755         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24756         Fix overflow bug in strncat.
24757         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24758
24759         * string/test-strncat.c: Update.
24760         Add new tests for checking overflow bugs.
24761
24762 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24763
24764         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24765         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24766         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24767         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24769         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24770         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24771         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24772         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24773
24774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24775         (USE_AS_STRCAT): Define.
24776         Add strcat and strncat support.
24777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24778
24779 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24780
24781         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24782         __n bigger than INT_MAX+1.
24783         (__strncmp_g): Likewise.
24784
24785 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24786
24787         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24788         * libio/stido.h: Likewise.
24789
24790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24791         (AF_NFC): Define.
24792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24793         (AF_NFC): Define.
24794
24795         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24796         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24797         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24798         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24799         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24800
24801         [BZ #13021]
24802         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24803         installed.
24804
24805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24806         typo.
24807         (_dl_x86_64_save_sse): Likewise.
24808
24809 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24810
24811         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24812         OSXSAVE.
24813         (_dl_x86_64_save_sse): Likewise.
24814
24815         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24816
24817         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24818
24819 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24820
24821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24822         change.
24823         (_dl_x86_64_save_sse): Use correct AVX check.
24824
24825 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24826
24827         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24828         bug in strncpy/strncat.
24829         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24830
24831 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24832
24833         * string/tester.c (test_strcat): Add tests for different alignments
24834         of source and destination.
24835         (test_strncat): Likewise.
24836
24837 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24838
24839         [BZ #12852]
24840         * posix/glob.c (glob): Check passed in values before using them in
24841         expressions to avoid some overflows.
24842         (glob_in_dir): Likewise.
24843
24844         [BZ #13007]
24845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24846         check for AVX enablement so that we don't crash with old kernels and
24847         new hardware.
24848         * elf/tst-audit4.c: Add same checks here.
24849         * elf/tst-audit6.c: Likewise.
24850
24851         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24852
24853 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24854
24855         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24856
24857 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24858
24859         * po/cs.po: Update from translation team.
24860         * po/bg.po: Likewise.
24861
24862 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24863
24864         * misc/sys/cdefs.h: Add support for const attribute.
24865         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24866         to gnu_dev_{major,minor,makedev} functions.
24867
24868 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24869
24870         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24871
24872 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24873
24874         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24875         strlen results.
24876
24877 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24878
24879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24880         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24881         register in order to avoid conflicts with the soft frame pointer
24882         being held in r11 when necessary.
24883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24884         (INTERNAL_VSYSCALL_NCS): Likewise.
24885
24886 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24887
24888         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24889         * elf/dl-fini.c (_dl_fini): Adjust caller.
24890         * elf/dl-close.c (_dl_close_worker): Likewise.
24891         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24892
24893 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24894
24895         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24896         "aux_cache->nlibs < 0".
24897
24898         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24899         in the reload-count case.
24900
24901 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24902
24903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24904         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24905         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24906         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24907         * sysdeps/x86_64/multiarch/strcat.S: New file.
24908         * sysdeps/x86_64/multiarch/strncat.S: New file.
24909         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24910         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24911         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24912         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24913         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24914         (USE_AS_STRCAT): Define.
24915         Add strcat and strncat support.
24916         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24917         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24918         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24919         * string/strncat.c: Update.
24920         (USE_AS_STRNCAT): Define.
24921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24922         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24923         and i7.
24924         * sysdeps/x86_64/multiarch/init-arch.h
24925         (bit_Prefer_PMINUB_for_stringop): New.
24926         (index_Prefer_PMINUB_for_stringop): Likewise.
24927         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24928         bit_Prefer_PMINUB_for_stringop.
24929
24930 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24931
24932         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24933         buffer64.
24934         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24935         of casting of buffer.
24936         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24937         buffer32 and buffer64.
24938         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24939         writes instead of casting of buffer.
24940         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24941         buffer32.
24942         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24943         casting of buffer.
24944
24945 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24946
24947         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24948
24949 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24950
24951         * nscd/nscd.c (termination_handler): Don't do anything for a database
24952         if it has not yet been initialized.
24953
24954 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24955
24956         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24957
24958 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24959
24960         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24961
24962 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24963
24964         * po/nl.po: Update from translation team.
24965         * po/sv.po: Likewise.
24966
24967 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24968
24969         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24970         now disallowed by GCC.
24971
24972         * configure.in (use-default-link): Default to yes if a test -shared
24973         link meets our qualifications.
24974         * configure: Regenerated.
24975
24976         * config.make.in (output-format): New variable.
24977         * configure.in: Check for ld --print-output-format support.
24978         * configure: Regenerated.
24979         * Makerules ($(common-objpfx)format.lds)
24980         [$(output-format) != unknown]: Just use $(output-format),
24981         instead of the linker-script munging.
24982
24983 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24984
24985         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24986         of $(common-objpfx)shlib.lds.
24987         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24988
24989         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24990         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24991
24992         * configure.in (-z relro check): Adjust test code to add a large
24993         writable data section after it.
24994         * configure: Regenerated.
24995
24996 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24997
24998         * configure.in (-z relro check): Fix test code to make the variable
24999         truly const.
25000         * configure: Regenerated.
25001
25002 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
25003
25004         * nscd/nscd.h (struct traced_file): Define.
25005         (struct database_dyn): Remove inotify_descr, reset_res, and filename
25006         elements.  Add traced_files.
25007         (inotify_fd): Declare.
25008         (register_traced_file): Declare.
25009         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25010         (inotify_fd): Export.
25011         (resolv_conf_descr): Remove.
25012         (nscd_init): Move inotify descriptor creation to main.
25013         Don't register files for notification here.
25014         (register_traced_file): New function.
25015         (invalidate_cache): Don't use reset_res to determine whether to call
25016         res_init, go through the list of registered files.
25017         (main_loop_poll): The inotify descriptors are now stored in the
25018         structures for the traced files.
25019         (main_loop_epoll): Likewise
25020         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
25021         to __nss_disable_nscd.
25022         * nscd/cache.c (prune_cache): There is no single inotify descriptor
25023         for a database anymore.  Check the records for all the registered
25024         files instead.
25025         * nss/Makefile (libnss_files-routines): Add files-init.
25026         (libnss_db-routines): Add db-init.
25027         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25028         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25029         * nss/nss_db/db-init.c: New file.
25030         * nss/nss_files/files-init.c: New file.
25031         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
25032         __nss_lookup_function.
25033         (__nss_lookup_function): Call nss_load_library.
25034         (nss_load_all_libraries): New function.
25035         (__nss_disable_nscd): Take parameter with callback function for files
25036         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
25037         used for the cached services.
25038         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25039         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25040         options for features to all the files in nscd.
25041
25042         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25043
25044 2011-07-10  Roland McGrath  <roland@hack.frob.com>
25045
25046         * csu/elf-init.c (__libc_csu_init): Comment typo.
25047
25048 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
25049
25050         * po/pl.po: Update from translation team.
25051         * po/ja.po: Likewise.
25052         * po/ru.po: Likewise.
25053         * po/ko.po: Likewise.
25054         * po/fr.po: Likewise.
25055
25056 2011-07-09  Roland McGrath  <roland@hack.frob.com>
25057
25058         * configure.in (.ctors/.dtors header and trailer check):
25059         Use an empirical test on a built program.
25060         * configure: Regenerated.
25061
25062         * configure.in (-z relro check): Use an empirical test on a built DSO.
25063         Detect, but do not require, on ia64.
25064         * configure: Regenerated.
25065
25066         * configure.in (READELF): Find it with AC_CHECK_TOOL.
25067         Update tests that use readelf to use $READELF instead.
25068         * configure: Regenerated.
25069
25070 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
25071
25072         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25073         if the result is not used.
25074
25075 2011-07-05  Andreas Jaeger  <aj@suse.de>
25076
25077         [BZ#9696]
25078         * stdlib/tst-strtod.c: Add testcase.
25079
25080 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
25081
25082         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25083         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25084         The latter has a higher limit.  Take additional parameter to pass to
25085         the new function.
25086         (__pathconf): Pass file to __statfs_link_max.
25087         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25088         __statfs_link_max.
25089         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25090         __statfs_link_max.
25091
25092         [BZ #12868]
25093         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25094         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25095         Handle Lustre.
25096         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25097         (__statfs_filesize_max): Likewise.
25098         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25099
25100 2011-07-05  Andreas Jaeger  <aj@suse.de>
25101
25102         * resolv/res_comp.c (dn_skipname): Remove unused variable.
25103
25104 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
25105
25106         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25107         `status' variable.
25108         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25109         Likewise.
25110
25111 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
25112
25113         * Makefile (strop-tests): Add strncat.
25114         * string/test-strncat.c: New file.
25115
25116 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
25117
25118         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25119
25120 2011-06-21  Andreas Jaeger  <aj@suse.de>
25121
25122         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25123         Copy rule from iconvdata/Makefile.
25124
25125 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25126
25127         [BZ #12922]
25128         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25129         but no long options are defined, just return 'W'.
25130
25131 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
25132
25133         [BZ #9696]
25134         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25135
25136 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25137
25138         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25139         netgroups to read.
25140         (innetgr): Likewise.
25141
25142 2011-07-05  Roland McGrath  <roland@hack.frob.com>
25143
25144         * config.make.in (install_root): Default to $(DESTDIR).
25145
25146 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
25147
25148         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25149
25150 2011-07-02  Roland McGrath  <roland@hack.frob.com>
25151
25152         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25153
25154         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25155         containing directory rather than embedding absolute directory names.
25156
25157         * scripts/check-local-headers.sh: Rewritten using awk.
25158         Match by word, not by line.  Print error messages for matches.
25159         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25160
25161         * Makerules [shlib-lds-flags empty]:
25162         ($(common-objpfx)libc_pic.opts): New target.
25163         ($(common-objpfx)libc_pic.os.clean): New target.
25164         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25165
25166         * config.make.in (OBJCOPY): New variable.
25167         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25168         * configure: Regenerated.
25169
25170         * config.make.in (use-default-link): New variable.
25171         * configure.in (use_default_link): Grok --with-default-link to set it.
25172         * configure: Regenerated.
25173         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25174         (shlib-lds, shlib-lds-flags): Define to empty.
25175
25176         * Makerules (shlib-lds): New variable.
25177         (shlib-lds-flags): New variable.
25178         (build-shlib, build-moduile, build-module-asneeded): Use it.
25179         ($(common-objpfx)libc.so): Use $(shlib-lds).
25180         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25181         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25182
25183         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25184         DT_FLAGS/DT_FLAGS_1 with zero flags.
25185
25186         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25187         linker script munging.
25188
25189 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25190
25191         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25192         as 128-bit value.
25193         * crypt/sha512.c (sha512_process_block): Perform total addition using
25194         128-bit if possible.
25195         (__sha512_finish_ctx): Likewise.
25196         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25197         as 64-bit value.
25198         * crypt/sha256.c (SWAP64): Define.
25199         (sha256_process_block): Perform total addition using 64-bit if
25200         possible.
25201         (__sha256_finish_ctx): Likewise.
25202
25203 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25204
25205         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25206         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25207         * nscd/hstcache.c (cache_addhst): Likewise.
25208         * nscd/grpcache.c (cache_addgr): Likewise.
25209         * nscd/aicache.c (addhstaiX): Likewise
25210         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25211
25212 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25213
25214         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25216         * nscd/hstcache.c (cache_addhst): Likewise.
25217         * nscd/grpcache.c (cache_addgr): Likewise.
25218         * nscd/aicache.c (addhstaiX): Likewise
25219
25220 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25221
25222         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25223         domain only when needed.
25224
25225 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25226
25227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25228         is always restored.
25229
25230 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25231
25232         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25233         are re-adding the entry.
25234         * nscd/servicescache.c (cache_addserv): Likewise.
25235
25236 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25237
25238         * sysdeps/generic/dl-irel.h: fix protection against multiple
25239         inclusions.
25240         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25241
25242 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25243
25244         [BZ #12935]
25245         * malloc/memusage.sh: Fix quoting in message.
25246         * debug/xtrace.sh: Likewise.
25247
25248         * configure.in: Remove support for --experimental-malloc option, make
25249         it the default.
25250         * config.make.in: Likewise.
25251         * malloc/Makefile: Likewise.
25252
25253 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25254
25255         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25256         two-byte characters.
25257
25258 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25259
25260         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25261         AC_CACHE_CHECK invocation.
25262         * configure: Regenerated.
25263
25264         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25265
25266 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25267
25268         [BZ #12350]
25269         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25270         bit from old_res_options.
25271
25272         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25273
25274         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25275         value type for setfct.
25276
25277 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25278
25279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25280         __gettimeofday instead of gettimeofday.
25281
25282 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25283
25284         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25285
25286 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25287
25288         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25289
25290         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25291         info.
25292
25293 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25294
25295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25296         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25297         strcpy-sse2-unaligned strncpy-sse2-unaligned
25298         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25299         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25300         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25301         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25302         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25303         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25304         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25305         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25306         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25307         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25308         (STRCPY): Support SSE2 and SSSE3 versions.
25309
25310 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25311
25312         [BZ #12874]
25313         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25314         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25315         kernels which artificially limit size of requests.
25316
25317 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25318
25319         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25320         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25321         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25322         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25323         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25324         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25325         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25326         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25327         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25328         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25329         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25330         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25331         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25332         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25333         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25335         Enable unaligned load optimization for Intel Core i3, i5 and i7
25336         processors.
25337         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25338         Define.
25339         (index_Fast_Unaligned_Load): Define.
25340         (HAS_FAST_UNALIGNED_LOAD): Define.
25341
25342 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25343
25344         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25345
25346 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25347
25348         [BZ #12907]
25349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25350         until it is clear that the information is realy needed.
25351         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25352
25353 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25354
25355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25356
25357 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25358
25359         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25360         /sys/devices/system/cpu/online if it is usable.
25361
25362         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25363         reading the information from the /proc filesystem to once a second.
25364
25365 2011-06-21  Andreas Jaeger  <aj@suse.de>
25366
25367         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25368         NULL after inclusion of kernel headers.
25369
25370 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25371
25372         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25373         calls to internal_setent.
25374
25375         [BZ #12885]
25376         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25377         addresses using gethostbyname4_r ignore IPv4 addresses.
25378
25379         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25380         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25381
25382         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25383
25384 2011-06-20  David S. Miller  <davem@davemloft.net>
25385
25386         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25387         inclusions.
25388         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25389
25390         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25391         (elf_irel): Use it.
25392         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25393         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25394         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25395         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25396         * sysdeps/x86_64/dl-irel.h: Likewise.
25397
25398         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25399         * elf/dl-sym.c: Likewise.
25400
25401 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25402
25403         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25404         need to dereference resplen2.
25405
25406 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25407
25408         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25409
25410 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25411
25412         * Makeconfig: Define vardbdir and inst_vardbdir.
25413         * nss/Makefile: Add rules to install db-Makefile.
25414
25415         * nss/nss_db/db-XXX.c: Cleanup.
25416
25417         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25418         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25419         GLIBC_PRIVATE.
25420         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25421         * nss/makedb.c: Implement -g option to specify that value strings
25422         are generated and should not be added to table iterated over for
25423         get*ent calls.
25424         * nss/nss_db/db-initgroups.c: New file.
25425
25426         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25427         interface.
25428
25429         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25430         (internal_getgrouplist): Adjust to name change.
25431         Update use_initgroups_entry if this is not the first call.
25432         * nss/databases.def: Add initgroups entry.
25433
25434         * nss/makedb.c (compute_tables): Check result of multiple hash table
25435         sizes to minimize maximum chain length.
25436
25437 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25438
25439         * Versions.def: Add entry for libnss_db.
25440         * shlib-versions: Likewise.
25441         * nss/Makefile: Add rules to build libnss_db.
25442         * nss/Versions: Add libnss_db information.  Organize libnss_files
25443         entries better.
25444         * nss/db-Makefile: Add gshadow support.  Change rules for the new
25445         makedb progra.  Some minor improvements to generate smaller files.
25446         * nss/nss_db/nss_db.h: Move NSS database header data structures to
25447         here from...
25448         * nss/makedb.c: ...here.
25449         Improve database format to be smaller and require less memory at
25450         runtime.
25451         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
25452         db anymore.
25453         * nss/nss_db/db-netgrp.c: Likewise.
25454         * nss/nss_db/db-open.c: Likewise.
25455         * nss/nss_files/flies-XXX.x: Adjust comments.
25456         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25457         * nss/nss_files/files-grp.c: Likewise.
25458         * nss/nss_files/files-hosts.c: Likewise.
25459         * nss/nss_files/files-network.c: Likewise.
25460         * nss/nss_files/files-proto.c: Likewise.
25461         * nss/nss_files/files-pwd.c: Likewise.
25462         * nss/nss_files/files-rpc.c: Likewise.
25463         * nss/nss_files/files-service.c: Likewise.
25464         * nss/nss_files/files-sgrp.c: Likewise.
25465         * nss/nss_files/files-spwd.c: Likewise.
25466         * nss/nss_db/db-alias.c: Removed.
25467         * nss/nss_db/dummy-db.h: Removed.
25468
25469 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25470
25471         * nss/makedb.c: Rewritten to not use database library.
25472         * nss/Makefile: Update to build new makedb program.
25473
25474 2011-06-14  Andreas Jaeger  <aj@suse.de>
25475
25476         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25477         memset declaration.
25478
25479 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25480
25481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25482         tmpbuf.
25483
25484 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25485
25486         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25487         * elf/Makefile ($(objpfx)ld.so): Likewise.
25488
25489         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25490         Don't list ld.so twice in dependencies.
25491
25492         * posix/bug-regex31.c: Include <stdlib.h>.
25493
25494         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25495
25496         * nis/nss_compat/compat-spwd.c
25497         (getspent_next_nss_netgr): Remove unused variable.
25498         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25499
25500         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25501         nonmembers" output to use the right array.
25502
25503         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25504
25505         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25506
25507         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25508         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25509         * catgets/gencat.c (read_input_file): Likewise.
25510         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25511
25512         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25513         variable definition inside #if's controlling its use.
25514
25515         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25516
25517         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25518
25519         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25520
25521         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25522         unreachable code.
25523
25524         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25525
25526         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25527         * configure: Regenerated.
25528
25529         * Makerules: Revert last change.
25530         * elf/Makefile: Likewise.
25531
25532 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25533
25534         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25535         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25536         (reloc-link): Likewise.
25537
25538 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25539
25540         * elf/Makefile: Add rules to build pldd.
25541         * elf/pldd.c: New file.
25542         * elf/pldd-xx.c: New file.
25543
25544 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25545
25546         * version.h: Update for 2.15 development version.
25547
25548 2011-06-07  David S. Miller  <davem@davemloft.net>
25549
25550         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25551         ifuncs.
25552         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25553         elf_machine_lazy_rel): Likewise.
25554         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25555         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25556         elf_machine_lazy_rel): Likewise.
25557         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25558         dl_hwcap via passed in argument.
25559         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25560         Likewise.
25561
25562 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25563
25564         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25565
25566 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25567
25568         [BZ #12849]
25569         * manual/fdl-1.1.texi: New file, verbatim from:
25570         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25571         * manual/lgpl-2.1.texi: New file, verbatim from:
25572         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25573         * manual/Makefile (licenses): New variable, list those new file names.
25574         (texis): Use it.
25575         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25576
25577         * manual/fdl.texi: File removed.
25578         * manual/lesser.texi: File removed.
25579         * manual/libc.texinfo (Copying, Documentation License):
25580         Use new @include file names, put @appendix directive before @include.
25581
25582 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25583
25584         [BZ #12841]
25585         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25586         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25587         (mq_open): Add __NTH.
25588
25589 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25590
25591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25592         Assume Intel Core i3/i5/i7 processor if AVX is available.
25593
25594 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25595
25596         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25597         typo.
25598
25599 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25600
25601         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25602         memory.  Use alloca_account.  Fix memory leak when retrying.
25603
25604 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25605
25606         * version.h (RELEASE): Bump for 2.14 release.
25607         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25608
25609         * config.make.in (RANLIB): Remove entry.
25610
25611 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25612
25613         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25614         (libc.pot): Work around missing support for .ksh extension in xgettext.
25615
25616         [BZ #12684]
25617         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25618         if both request failed.
25619         (send_dg): In case of server errors clear resplen or *resplen2.
25620
25621         [BZ #12454]
25622         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25623         when there are multiple maps.
25624         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25625         (_dl_fini): Remove test here.
25626
25627         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25628
25629 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25630
25631         [BZ #12350]
25632         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25633         bit from old_res_options.
25634         (gaih_inet): Likewise.
25635
25636         [BZ #11099]
25637         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25638         as signed.
25639
25640         * resolv/res_init.c (res_setoptions): Make the code more compact.
25641
25642         [BZ #11558]
25643         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25644         set RES_USEVC.
25645
25646         [BZ #11634]
25647         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25648
25649         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25650
25651         [BZ #11781]
25652         * malloc/malloc.h: Declare malloc hook variables as volatile.
25653
25654         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25655         in last patch.
25656
25657         [BZ #11799]
25658         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25659         raise in the comment.
25660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25661         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25662         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25663
25664 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25665
25666         [BZ #12811]
25667         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25668         grow the buffers more if it already has to be sufficient.
25669         (build_wcs_upper_buffer): Likewise.
25670         * posix/regexec.c (check_matching): Likewise.
25671         (clean_state_log_if_needed): Likewise.
25672         (extend_buffers): Don't enlarge buffers beyond size of the input
25673         buffer.
25674         Patches mostly by Emil Wojak <emil@wojak.eu>.
25675         * posix/bug-regex32.c: New file.
25676         * posix/Makefile (tests): Add bug-regex32.
25677
25678         * locale/findlocale.c (_nl_find_locale): Return right away if
25679         _nl_explode_name failed.
25680         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25681
25682         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25683
25684         * debug/xtrace.sh: Unify messages.
25685         * malloc/memusage.sh: Likewise.
25686
25687         [BZ #12813]
25688         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25689         time symbol from vDSO.  Substitute with vsyscall if not available.
25690         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25691         __vdso_time.
25692
25693         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25694         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25695         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25696         Add sendmmsg and internal_sendmmsg.
25697         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25698         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25699         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25700
25701         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25702         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25703         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25704
25705 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25706
25707         [BZ #12813]
25708         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25709         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25710         available.
25711         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25712         __vdso_getcpu.
25713
25714         [BZ #12814]
25715         * iconvdata/Makefile (tests): Add bug-iconv9.
25716         * iconvdata/bug-iconv9.c: New file.
25717
25718 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25719
25720         [BZ #12814]
25721         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25722
25723 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25724
25725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25726         (struct user_regs_struct): Change intcs field back to cs.
25727
25728 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25729
25730         * po/ja.po: Update from translation team.
25731
25732 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25733
25734         [BZ #12795]
25735         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25736         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25737
25738 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25739
25740         * stdlib/longlong.h: Update from GCC.
25741
25742 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25743
25744         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25745         parameter name.
25746         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25747         Add parameter name.
25748         (__sysconf): Pass it down.
25749
25750 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25751
25752         [BZ #12671]
25753         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25754         some situations.
25755         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25756         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25757         add in in __libc_use_alloca calls.  Adjust callers.
25758         (glob): Use malloc in some situations.
25759
25760         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25761         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25762         pltexit.
25763
25764 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25765
25766         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25767         and CLOCK_BOOTTIME_ALARM.
25768
25769         [BZ #12782]
25770         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25771         is returned.
25772
25773         * string/_strerror.c (__strerror_r): Print negative errors as signed
25774         numbers.
25775
25776         [BZ #12777]
25777         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25778         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25779         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25780
25781         * configure.in: Fix typo in redirection and correct removal of test
25782         files in two cases.
25783
25784         [BZ #12788]
25785         * locale/setlocale.c (new_composite_name): Fix test to check for
25786         identical name of all categories.
25787
25788         [BZ #12792]
25789         * libio/filedoalloc.c (local_isatty): New function.
25790         (_IO_file_doallocate): Use local_isatty.
25791         * stdio-common/perror.c (perror): In case a new stream is used
25792         forward the stream error.
25793         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25794         error flag.
25795
25796 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25797
25798         [BZ #11869]
25799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25800         alloca.
25801         * include/alloca.h (extend_alloca_account): Define.
25802
25803         [BZ #11857]
25804         * posix/regex.h: Fix comments with documentation of user-accessible
25805         fields after compilation and describe correct free'ing of pattern
25806         after re_compile_pattern.
25807         Patch by Reuben Thomas <rrt@sc3d.org>.
25808
25809 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25810
25811         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25812         and -mno-altivec to prevent the compiler from using Altivec and/or
25813         VSX instructions when the corresponding registers are not available.
25814
25815 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25816
25817         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25818
25819 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25820
25821         * libio/freopen.c (freopen): Use __dup2, not dup2.
25822         * libio/freopen64.c (freopen64): Likewise.
25823
25824 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25825
25826         [BZ #12775]
25827         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25828         * math/Makefile (tests): Add test-powl.
25829         (CFLAGS-test-powl.c): Define.
25830         * math/test-powl.c: New file.
25831
25832 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25833
25834         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25835
25836 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25837
25838         [BZ #11837]
25839         * iconvdata/gb18030.c: Update to GB18020-2005.
25840
25841 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25842
25843         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25844         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25845         Patch by Aharon Robbins <arnold@skeeve.com>.
25846
25847         [BZ #11892]
25848         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25849         on the stack.
25850
25851         [BZ #11895]
25852         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25853         through underflows.
25854
25855         [BZ #12766]
25856         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25857         point to strings before performing equality test for error_one_per_line
25858         mode.
25859
25860         [BZ #11697]
25861         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25862
25863         [BZ #11820]
25864         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25865         (struct user_fpregs_struct): Avoid __uint*_t types.
25866
25867         [BZ #6420]
25868         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25869         symbol info.  Use it instead of calling _dl_addr locally.
25870         (lock_and_info): New function.
25871         (tr_freehook): Call lock_and_info and pass symbol info as additional
25872         parameter to tr_where.
25873         (tr_mallochook): Likewise.
25874         (tr_reallochook): Likewise.
25875         (tr_memalignhook): Likewise.
25876
25877         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25878         used and couldn't be at all thread-safe.
25879
25880 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25881
25882         * libio/freopen.c (freopen): Don't close old file descriptor
25883         before the new one is opened.  Instead dup the new file descriptor
25884         to the old one after the new stream is created.
25885         * libio/freopen64.c (freopen64): Likewise.
25886         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25887         * libio/fileops.c (_IO_new_file_close_it): Handle new
25888         _IO_FLAGS2_NOCLOSE flag.
25889         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25890         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25891         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25892         _IO_FLAGS2_NOCLOSE flag.
25893         * include/unistd.h: Add hidden_proto for dup3.
25894         Define __have_dup3.
25895         * io/dup3.c: Define hidden symbol.
25896         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25897
25898         [BZ #7101]
25899         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25900         when an incomplete long option is used.
25901         * posix/tst-getopt_long1.c: New file.
25902         * posix/Makefile (tests): Add tst-getopt_long1.
25903
25904         [BZ #10138]
25905         * scripts/config.guess: Update from autoconf-2.68.
25906         * scripts/config.sub: Likewise.
25907
25908         [BZ #10157]
25909         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25910         tests into ...
25911         (has_cpuclock): ...this.  New function.
25912         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25913         macro here based on has_cpuclock code.
25914
25915         [BZ #10149]
25916         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25917         First byte (not low byte) is now always NUL.
25918         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25919
25920         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25921         Use non-cancelable interfaces.
25922
25923         [BZ #9809]
25924         * locale/iso-639.def: Add entry for Sorani.
25925
25926         [BZ #11901]
25927         * include/stdlib.h: Move include protection to the right place.
25928         Define abort_msg_s.  Declare __abort_msg with it.
25929         * stdlib/abort.c (__abort_msg): Adjust type.
25930         * assert/assert.c (__assert_fail_base): New function.  Majority
25931         of code from __assert_fail.  Allocate memory for __abort_msg with
25932         mmap.
25933         (__assert_fail): Now call __assert_fail_base.
25934         * assert/assert-perr.c: Remove bulk of implementation.  Use
25935         __assert_fail_base.
25936         * include/assert.hL Declare __assert_fail_base.
25937         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25938         mmap.
25939         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25940
25941 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25942
25943         [BZ #11952]
25944         [BZ #12453]
25945         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25946         until all modules are registered in the DTV.
25947         * elf/Makefile: Add rules to build and run tst-tls19.
25948         * elf/tst-tls19.c: New file.
25949         * elf/tst-tls19mod1.c: New file.
25950         * elf/tst-tls19mod2.c: New file.
25951         * elf/tst-tls19mod3.c: New file.
25952         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25953
25954         [BZ #12083]
25955         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25956         correctly.
25957
25958         [BZ #12601]
25959         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25960         two-byte sequence errors.
25961         * iconvdata/Makefile (tests): Add bug-iconv8.
25962         * iconvdata/bug-iconv8.c: New file.
25963
25964         [BZ #12626]
25965         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25966         buf2 definition.
25967
25968         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25969
25970         [BZ #12432]
25971         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25972         (dummy_getcfa): New function.
25973         (init): Get _Unwind_GetCFA address, use dummy if not found.
25974         (backtrace_helper): In recursion check, also check whether CFA changes.
25975         (__backtrace): Completely initialize arg.
25976
25977         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25978         storing incomplete byte sequence in state object.  Avoid testing for
25979         guaranteed too small input if we know there is enough data available.
25980
25981 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25982
25983         * Makeconfig (+link-pie): Indent.
25984         * Rules (binaries-pie): Define if $(have-fpie) and
25985         $(build-shared).
25986         (binaries-shared): Also filter out $(binaries-pie).
25987         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25988         * nscd/Makefile (others-pie): Add nscd.
25989         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25990         ($(objpfx)nscd): Remove command override.
25991         * login/Makefile (others-pie): Add pt_chown.
25992         ($(objpfx)pt_chown): Remove command override.
25993         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25994         remove command overrides.
25995
25996 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25997
25998         * libio/tst_putwc.c: Fix error messages.
25999
26000         [BZ #12724]
26001         * libio/fileops.c (_IO_new_file_close_it): Always flush when
26002         currently writing and seek to current position when not.
26003         * libio/Makefile (tests): Add bug-fclose1.
26004         * libio/bug-fclose1.c: New file.
26005
26006 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
26007
26008         [BZ #12511]
26009         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26010         don't set DF_1_NODELETE here.
26011         (do_lookup_x): When entering new entry test for copy relocation
26012         and if necessary set DF_1_NODELETE flag.
26013         * elf/tst-unique4.cc: New file.
26014         * elf/tst-unique4.h: New file.
26015         * elf/tst-unique4lib.cc: New file.
26016         * elf/Makefile: Add rules to build and run tst-unique4.
26017         Patch by Piotr Bury <pbury@goahead.com>.
26018
26019 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
26020
26021         [BZ #12052]
26022         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26023
26024         [BZ #12625]
26025         * misc/mntent_r.c (addmntent): Flush the stream after the output
26026
26027         [BZ #12393]
26028         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26029         (is_trusted_path_normalize): Skip initial colon.  Append slash
26030         to empty buffer.  Duplicate is_trusted_path code but allow
26031         constructed patch to be prefix.
26032         (is_dst): Allow $ORIGIN followed by /.
26033         (_dl_dst_substitute): Correct clearing of check_for_trusted.
26034         Correct testing of result of is_trusted_path_normalize
26035         (decompose_rpath): Fix warning.
26036
26037 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
26038
26039         [BZ #11257]
26040         * grp/initgroups.c (internal_getgrouplist): When we found the service
26041         list through the initgroups entry in nsswitch.conf do not always
26042         continue on a successful lookup.  Don't always use the
26043         __nss_group_database value if it is set.
26044         * nss/nsswitch.conf (initgroups): Change action for successful db
26045         lookup to continue for compatibility.
26046
26047 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
26048
26049         [BZ #11532]
26050         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26051         and CP774 modules.
26052         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26053         and CP774 modules.
26054         * iconvdata/tst-tables.sh: Likewise.
26055         * iconvdata/cp770.c: New file.
26056         * iconvdata/cp771.c: New file.
26057         * iconvdata/cp772.c: New file.
26058         * iconvdata/cp773.c: New file.
26059         * iconvdata/cp774.c: New file.
26060         * iconvdata/testdata/CP770: New file.
26061         * iconvdata/testdata/CP770..UTF8: New file.
26062         * iconvdata/testdata/CP771: New file.
26063         * iconvdata/testdata/CP771..UTF8: New file.
26064         * iconvdata/testdata/CP772: New file.
26065         * iconvdata/testdata/CP772..UTF8: New file.
26066         * iconvdata/testdata/CP773: New file.
26067         * iconvdata/testdata/CP773..UTF8: New file.
26068         * iconvdata/testdata/CP774: New file.
26069         * iconvdata/testdata/CP774..UTF8: New file.
26070
26071         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26072         END CHARMAP line.
26073         * iconvdata/gen-8bit-gap.sh: Likewise.
26074         * iconvdata/gen-8bit.sh: Likewise.
26075
26076         * locale/iso-639.def: Add ary entry.
26077
26078         [BZ #11258]
26079         * locale/C-translit.h.in: Add U20A1 transliteration.
26080
26081         [BZ #12178]
26082         * locale/iso-639.def: Add wae entry.
26083         Patch by Kevin Bortis <bortis@translate-wae.ch>.
26084
26085         [BZ #12545]
26086         * locale/programs/localedef.c (construct_output_path): Use ssize_t
26087         for n.
26088
26089         [BZ #12711]
26090         * locale/C-translit.h.in: Add entry for U20B9.
26091         Patch by pravin.d.s@gmail.com.
26092
26093 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
26094
26095         [BZ #12713]
26096         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26097         ENAMETOOLONG use generic getcwd.
26098         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
26099         in rtld.  Use *stat64.
26100         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26101         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26102         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26103         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26104         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26105         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26106         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26107         __fstatat64 macros.
26108         * include/dirent.h: Add libc_hidden_proto for rewinddir.
26109         * dirent/rewinddir.c: Add libc_hidden_def.
26110         * sysdeps/mach/hurd/rewinddir.c: Likewise.
26111         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
26112
26113         * include/dirent.h (__alloc_dir): Add flags parameter.
26114         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26115         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26116         __alloc_dir.
26117         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
26118         from fdopendir if O_CLOEXEC is already set.
26119
26120 2011-03-15  Alan Modra  <amodra@gmail.com>
26121
26122         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26123         l_tls_firstbyte_offset non-zero.  Save padding offset in
26124         l_tls_firstbyte_offset for later use.
26125         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26126         freeing static tls block.
26127
26128 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
26129
26130         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26131         where #ifdef was intended.  The intent is to prevent ARG_MAX from
26132         being defined by the kernel headers.
26133
26134 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
26135
26136         [BZ #12734]
26137         * resolv/resolv.h: Define RES_NOTLDQUERY.
26138         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26139         no-tld-query and set RES_NOTLDQUERY.
26140         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26141         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26142         modern BIND to search name as TLD unless forbidden.
26143
26144 2011-05-07  Petr Baudis  <pasky@suse.cz>
26145             Ulrich Drepper  <drepper@gmail.com>
26146
26147         [BZ #12393]
26148         * elf/dl-load.c (fillin_rpath): Move trusted path check...
26149         (is_trusted_path): ...to here.
26150         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26151         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26152         using is_trusted_path_normalize() in setuid scripts.
26153
26154 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26155
26156         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26157         __BEGIN/__END_DECLS.
26158
26159 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
26160
26161         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26162         NSS_STATUS_NOTFOUND if no record was found.
26163
26164 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26165
26166         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26167         (headers-not-in-tirpc): Remove rpc/netdb.h
26168         * resolv/netdb.h: Revert last change.
26169
26170 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26171
26172         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26173         circular dependency between libgcc.a and libc.a.
26174
26175 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26176
26177         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26178         * nis/Makefile: Don't install rpcsvc/*.
26179         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26180         instead of <rpc/types.h>.
26181         (MAXHOSTNAMELEN): Define.
26182
26183 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26184
26185         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26186
26187 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26188
26189         [BZ #12714]
26190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26191         gethostbyname4_r when IPv6 results are possible.
26192
26193 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26194
26195         [BZ #12723]
26196         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26197         _PC_PIPE_BUF handling.
26198
26199 2011-04-30  Bruno Haible  <bruno@clisp.org>
26200
26201         [BZ #12717]
26202         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26203         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26204         to 'int'.
26205         * inet/getnameinfo.c (getnameinfo): Likewise.
26206
26207 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26208
26209         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26210         to groups setting in database lookup.
26211         * nss/nsswitch.conf: Add initgroups entry.
26212
26213 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26214
26215         [BZ #12685]
26216         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26217         mode string.
26218         Patch by Eric Blake <eblake@redhat.com>.
26219
26220 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26221
26222         * sunrpc/Makefile (need-export-routines): Add svc_run.
26223         (routines): Remove svc_run.
26224         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26225         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26226         * sunrpc/svc_run.c (svc_run): Likewise.
26227         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26228
26229 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26230
26231         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26232         problem in reallocation in last patch.
26233
26234 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26235
26236         * sunrpc/Makefile: Move inclusion of Rules.
26237
26238 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26239
26240         * nss/nss_files/files-initgroups.c: New file.
26241         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26242         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26243         _nss_files_initgroups_dyn.
26244
26245 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26246
26247         * elf/elf.h (R_ARM_IRELATIVE): Define.
26248
26249 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26250
26251         * po/ru.po: Update from translation team.
26252
26253 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26254
26255         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26256         dependencies.
26257
26258 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26259
26260         [BZ #12653]
26261         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26262         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26263         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26264         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26265         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26266
26267 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26268
26269         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26270         differing bytes.
26271         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26272         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26274
26275 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26276
26277         [BZ #12420]
26278         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26279         storing it.
26280         * stdlib/bug-getcontext.c: New file.
26281         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26282
26283 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26284
26285         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26286         instructions into .machine "z9-109".
26287         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26288         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26289
26290 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26291
26292         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26293         between environment variables and auxiliary vector.
26294
26295 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26296
26297         * Makefile: Add rules to build linkobj/libc.so.
26298         * include/libc-symbols.h: Define libc_hidden_nolink.
26299         * include/rpc/auth.h: Mark functions which are to be hidden.
26300         * include/rpc/auth_des.h: Likewise.
26301         * include/rpc/auth_unix.h: Likewise.
26302         * include/rpc/clnt.h: Likewise.
26303         * include/rpc/des_crypt.h: Likewise.
26304         * include/rpc/key_prot.h: Likewise.
26305         * include/rpc/pmap_clnt.h: Likewise.
26306         * include/rpc/pmap_prot.h: Likewise.
26307         * include/rpc/pmap_rmt.h: Likewise.
26308         * include/rpc/rpc_msg.h: Likewise.
26309         * include/rpc/svc.h: Likewise.
26310         * include/rpc/svc_auth.h: Likewise.
26311         * include/rpc/xdr.h: Likewise.
26312         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26313         * nss/Makefile: Likewise.
26314         * sunrpc/Makefile: Don't install headers.  Build library with normal
26315         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26316         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26317         for the compat linking library.  Remove use of INTDEF/INTUSE.
26318         * sunrpc/auth_none.c: Likewise.
26319         * sunrpc/auth_unix.c: Likewise.
26320         * sunrpc/authdes_prot.c: Likewise.
26321         * sunrpc/authuxprot.c: Likewise.
26322         * sunrpc/clnt_gen.c: Likewise.
26323         * sunrpc/clnt_perr.c: Likewise.
26324         * sunrpc/clnt_raw.c: Likewise.
26325         * sunrpc/clnt_simp.c: Likewise.
26326         * sunrpc/clnt_tcp.c: Likewise.
26327         * sunrpc/clnt_udp.c: Likewise.
26328         * sunrpc/clnt_unix.c: Likewise.
26329         * sunrpc/des_crypt.c: Likewise.
26330         * sunrpc/des_soft.c: Likewise.
26331         * sunrpc/get_myaddr.c: Likewise.
26332         * sunrpc/key_call.c: Likewise.
26333         * sunrpc/key_prot.c: Likewise.
26334         * sunrpc/netname.c: Likewise.
26335         * sunrpc/pm_getmaps.c: Likewise.
26336         * sunrpc/pm_getport.c: Likewise.
26337         * sunrpc/pmap_clnt.c: Likewise.
26338         * sunrpc/pmap_prot.c: Likewise.
26339         * sunrpc/pmap_prot2.c: Likewise.
26340         * sunrpc/pmap_rmt.c: Likewise.
26341         * sunrpc/publickey.c: Likewise.
26342         * sunrpc/rpc_cmsg.c: Likewise.
26343         * sunrpc/rpc_common.c: Likewise.
26344         * sunrpc/rpc_dtable.c: Likewise.
26345         * sunrpc/rpc_prot.c: Likewise.
26346         * sunrpc/rpc_thread.c: Likewise.
26347         * sunrpc/rtime.c: Likewise.
26348         * sunrpc/svc.c: Likewise.
26349         * sunrpc/svc_auth.c: Likewise.
26350         * sunrpc/svc_authux.c: Likewise.
26351         * sunrpc/svc_raw.c: Likewise.
26352         * sunrpc/svc_run.c: Likewise.
26353         * sunrpc/svc_simple.c: Likewise.
26354         * sunrpc/svc_tcp.c: Likewise.
26355         * sunrpc/svc_udp.c: Likewise.
26356         * sunrpc/svc_unix.c: Likewise.
26357         * sunrpc/svcauth_des.c: Likewise.
26358         * sunrpc/xcrypt.c: Likewise.
26359         * sunrpc/xdr.c: Likewise.
26360         * sunrpc/xdr_array.c: Likewise.
26361         * sunrpc/xdr_float.c: Likewise.
26362         * sunrpc/xdr_intXX_t.c: Likewise.
26363         * sunrpc/xdr_mem.c: Likewise.
26364         * sunrpc/xdr_rec.c: Likewise.
26365         * sunrpc/xdr_ref.c: Likewise.
26366         * sunrpc/xdr_sizeof.c: Likewise.
26367         * sunrpc/xdr_stdio.c: Likewise.
26368
26369 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26370
26371         [BZ #12650]
26372         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26373         * sysdeps/ia64/dl-tls.h: Likewise.
26374         * sysdeps/powerpc/dl-tls.h: Likewise.
26375         * sysdeps/s390/dl-tls.h: Likewise.
26376         * sysdeps/sh/dl-tls.h: Likewise.
26377         * sysdeps/sparc/dl-tls.h: Likewise.
26378         * sysdeps/x86_64/dl-tls.h: Likewise.
26379         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26380
26381 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26382
26383         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26384         rpath element also skip the following colon.
26385         (expand_dynamic_string_token): Add is_path parameter and pass
26386         down to DL_DST_REQUIRED and _dl_dst_substitute.
26387         (decompose_rpath): Call expand_dynamic_string_token with
26388         non-zero is_path.  Ignore empty rpaths.
26389         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26390         with zero is_path.
26391
26392 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26393
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26395         Make cancelable.
26396
26397 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26398
26399         [BZ #12655]
26400         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26401         Patch by Filipe David Manana <fdmanana@apache.org>.
26402
26403 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26404
26405         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26406         Maintain aligned stack.
26407         (CHECK_RSP): Remove unused macro.
26408
26409 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26410
26411         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26412         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26413
26414 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26415
26416         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26417
26418         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26419
26420 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26421
26422         [BZ #12518]
26423         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26424         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26425         * sysdeps/x86_64/memmove.c: New file.
26426         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26427         (memcpy): Renamed to ...
26428         (__new_memcpy): This.
26429         (memcpy): Provide GLIBC_2_14 memcpy.
26430         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26431         (memcpy): Provide GLIBC_2_2_5 memcpy.
26432
26433 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26434
26435         [BZ #12631]
26436         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26437
26438 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26439
26440         * misc/syncfs.c: New file.
26441         * misc/Makefile (routines): Add syncfs.
26442         * posix/unistd.h: Declare syncfs.
26443         * sysdeps/unix/syscalls.list: Add syncfs.
26444
26445 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26446
26447         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26448         open_by_handle_at.
26449         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26450         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26451         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26452         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26454         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26455         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26456
26457 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26458
26459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26460         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26461         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26463         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26464         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26466
26467         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26468         sync_file_range.c with -fexceptions.
26469         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26470         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26471         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26472         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26473         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26474         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26475         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26476         sync_file_range as cancellation point
26477         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26478         now a wrapper around __call_sync_file_range with cancellation handling.
26479         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26480         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26481         function name to __call_sync_file_range.
26482         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26483         Add call_sync_file_range.
26484
26485 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26486
26487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26488         bits/timex.h.
26489
26490 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26491
26492         * iconv/iconv.h: Fix typo in comment.
26493         * io/fcntl.h: Likewise.
26494         * libio/stdio.h: Likewise.
26495         * posix/spawn.h: Likewise.
26496         * posix/unistd.h: Likewise.
26497         * stdlib/stdlib.h: Likewise.
26498         * time/time.h: Likewise.
26499         * wcsmbs/wchar.h: Likewise.
26500
26501         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26502         open_by_handle): Add.
26503         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26504         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26505         Augment a few comments.
26506         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26508         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26511         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26512         open_by_handle.
26513
26514         * io/fcntl.h (AT_EMPTY_PATH): Define.
26515
26516 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26517
26518         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26519         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26520         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26521         to...
26522         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26523         * Versions.def: Add GLIBC_2.14.
26524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26525         Export.
26526
26527 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26528
26529         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26530         round counter.
26531         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26532
26533 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26534
26535         [BZ #12597]
26536         * string/test-strncmp.c (do_page_test): New function.
26537         (check2): Likewise.
26538         (test_main): Call check2.
26539         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26540
26541 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26542
26543         [BZ #12587]
26544         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26545         Handle cache information in CPU leaf 4.
26546         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26547
26548 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26549
26550         [BZ #12583]
26551         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26552         character representation.
26553         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26554
26555 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26556
26557         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26558         END(__isnan) to END(__isnanf) to match function entry point/label
26559         EALIGN(__isnanf,...).
26560
26561 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26562
26563         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26564
26565 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26566
26567         [BZ #12510]
26568         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26569         copy from the symbol referenced in the relocation to initialize the
26570         used variable.
26571         Patch by Piotr Bury <pbury@goahead.com>.
26572         * elf/Makefile: Add rules to build and tst-unique3.
26573         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26574         * elf/tst-unique3.cc: New file.
26575         * elf/tst-unique3.h: New file.
26576         * elf/tst-unique3lib.cc: New file.
26577         * elf/tst-unique3lib2.cc: New file.
26578
26579         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26580
26581 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26582
26583         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26584         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26585         to _start.
26586
26587 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26588
26589         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26590         to-be-loaded object along a path to loader is ld.so.
26591
26592 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26593             Ulrich Drepper  <drepper@gmail.com>
26594
26595         * sysdeps/x86_64/memset.S: After aligning destination, code
26596         branches to different locations depending on the value of
26597         misalignment, when multiarch is enabled. Fix this.
26598
26599 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26600
26601         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26602         Set _x86_64_preferred_memory_instruction for AMD processsors.
26603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26604         Set bit_Prefer_SSE_for_memop for AMD processors.
26605
26606 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26607
26608         * libio/fmemopen.c (fmemopen): Optimize a bit.
26609
26610 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26611
26612         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26613
26614 2011-03-03  Roland McGrath  <roland@redhat.com>
26615
26616         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26617
26618 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26619
26620         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26621         __bzero_ultra1 instead of __memset_ultra1.
26622
26623 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26624             Ulrich Drepper  <drepper@gmail.com>
26625
26626         [BZ #12509]
26627         * include/link.h (struct link_map): Add l_orig_initfini.
26628         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26629         returning unsuccessfully.
26630         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26631         close of a file loaded at startup, restore the original l_initfini
26632         list.
26633         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26634         list, store the pointer.
26635         * elf/Makefile ($(objpfx)noload-mem): New rule.
26636         (noload-ENV): Define.
26637         (tests): Add $(objpfx)noload-mem.
26638         * elf/noload.c: Include <memcheck.h>.
26639         (main): Call mtrace.  Close all opened handles.
26640
26641 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26642
26643         [BZ #12454]
26644         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26645         dependencies are missing.
26646
26647 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26648
26649         Fix __if_freereq crash: Unlike the generic version which uses free,
26650         Hurd needs munmap.
26651         * sysdeps/mach/hurd/ifreq.h: New file.
26652
26653 2011-01-27  Petr Baudis  <pasky@suse.cz>
26654             Ulrich Drepper  <drepper@gmail.com>
26655
26656         [BZ 12445]#
26657         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26658         to extend_alloca().
26659         * stdio-common/bug23.c: New file.
26660         * stdio-common/Makefile (tests): Add bug23.
26661
26662 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26663             Ulrich Drepper  <drepper@gmail.com>
26664
26665         [BZ #12489]
26666         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26667         before performing relro protection.  At old place add assertion
26668         to make sure nothing changed.
26669
26670 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26671             Glauber de Oliveira Costa  <glommer@gmail.com>
26672
26673         * elf/elf.h: Add new ARM TLS relocs.
26674
26675 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26676
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26678         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26679         cast from r3.
26680         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26681         'tests' variable.
26682         * sysdeps/wordsize-64/tst-writev.c: New file.
26683
26684 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26685
26686         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26687         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26688         insns in _dl_start to prevent a TOC reference before relocs are
26689         resolved.
26690
26691 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26692
26693         [BZ #12469]
26694         * Makeconfig: Remove RANLIB definition.
26695         * Makerules: Don't use RANLIB.
26696         * aclocal.m4: Remove ranlib test.
26697         * configure.in: No need to check for ranlib.
26698         * elf/rtld-Rules: Don't use RANLIB.
26699
26700 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26701
26702         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26703         protection macro.
26704         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26705         inclusion protection macro.
26706
26707         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26708         SIGRTMIN and SIGRTMAX and print information in that case only when
26709         SIGRTMIN is defined.
26710
26711 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26712
26713         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26714         arginfo fn returning -1.
26715
26716         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26717         and thousands string is zero terminated.
26718
26719 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26720
26721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26722         sysdeps/unix/sysv/linux/bits/socket.h.
26723
26724 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26725
26726         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26727         (__CPU_COUNT): Remove old macros.
26728         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26729         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26730         (__CPU_ALLOC, __CPU_FREE): Add macros.
26731         (__sched_cpualloc, __sched_cpufree): Add declarations.
26732
26733 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26734
26735         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26736         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26737         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26738         (readdhstai): Return value of addhstaiX call.
26739         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26740         (addgrbyX): Return value returned by cache_addgr.
26741         (readdgrbyname): Return value returned by addgrbyX.
26742         (readdgrbygid): Likewise.
26743         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26744         (addpwbyX): Return value returned by cache_addpw.
26745         (readdpwbyname): Return value returned by addhstbyX.
26746         (readdpwbyuid): Likewise.
26747         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26748         (addservbyX): Return value returned by cache_addserv.
26749         (readdservbyname): Return value returned by addservbyX:
26750         (readdservbyport): Likewise.
26751         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26752         (addhstbyX): Return value returned by cache_addhst.
26753         (readdhstbyname): Return value returned by addhstbyX.
26754         (readdhstbyaddr): Likewise.
26755         (readdhstbynamev6): Likewise.
26756         (readdhstbyaddrv6): Likewise.
26757         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26758         (readdinitgroups): Return value returned by addinitgroupsX.
26759         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26760         (prune_cache): Keep track of timeout value of re-added entries.
26761         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26762         * nscd/nscd.h: Adjust prototypes of readd* functions.
26763
26764 2011-02-04  Roland McGrath  <roland@redhat.com>
26765
26766         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26767         (nis_stats): Likewise.
26768         * nis/nis_modify.c (nis_modify): Likewise.
26769         * nis/nis_remove.c (nis_remove): Likewise.
26770         * nis/nis_add.c (nis_add): Likewise.
26771
26772         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26773
26774         * posix/fnmatch_loop.c: Add some consts.
26775
26776         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26777
26778 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26779
26780         [BZ #12460]
26781         * config.make.in (config-cflags-novzeroupper): Define.
26782         * configure.in: Substitute libc_cv_cc_novzeroupper.
26783         * elf/Makefile (AVX-CFLAGS): Define.
26784         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26785         (CFLAGS-tst-auditmod4a.c): Likewise.
26786         (CFLAGS-tst-auditmod4b.c): Likewise.
26787         (CFLAGS-tst-auditmod6b.c): Likewise.
26788         (CFLAGS-tst-auditmod6c.c): Likewise.
26789         (CFLAGS-tst-auditmod7b.c): Likewise.
26790         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26791
26792 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26793
26794         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26795         function to the callback.
26796         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26797
26798 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26799
26800         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26801         of errno.
26802
26803 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26804
26805         [BZ #11724]
26806         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26807         of constructors.
26808         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26809         of destructors.
26810         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26811
26812         [BZ #11724]
26813         * elf/Makefile: Add rules to build and run new test.
26814         * elf/tst-initorder.c: New file.
26815         * elf/tst-initorder.exp: New file.
26816         * elf/tst-initordera1.c: New file.
26817         * elf/tst-initordera2.c: New file.
26818         * elf/tst-initordera3.c: New file.
26819         * elf/tst-initordera4.c: New file.
26820         * elf/tst-initorderb1.c: New file.
26821         * elf/tst-initorderb2.c: New file.
26822         * elf/tst-order-a1.c: New file.
26823         * elf/tst-order-a2.c: New file.
26824         * elf/tst-order-a3.c: New file.
26825         * elf/tst-order-a4.c: New file.
26826         * elf/tst-order-b1.c: New file.
26827         * elf/tst-order-b2.c: New file.
26828         * elf/tst-order-main.c: New file.
26829         New test case by George Gensure <werkt0@gmail.com>.
26830
26831 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26832
26833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26834         decoding ACE if AI_CANONIDN.
26835
26836 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26837
26838         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26839
26840 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26841
26842         * version.h (RELEASE): Bump for 2.13 release.
26843         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26844
26845         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26846
26847         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26848         MADV_NOHUGEPAGE.
26849         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26850         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26851         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26852         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26853         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26854         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26855
26856         * posix/getconf.c: Update copyright year.
26857         * catgets/gencat.c: Likewise.
26858         * csu/version.c: Likewise.
26859         * debug/catchsegv.sh: Likewise.
26860         * debug/xtrace.sh: Likewise.
26861         * elf/ldconfig.c: Likewise.
26862         * elf/ldd.bash.in: Likewise.
26863         * elf/sprof.c (print_version): Likewise.
26864         * iconv/iconv_prog.c: Likewise.
26865         * iconv/iconvconfig.c: Likewise.
26866         * locale/programs/locale.c: Likewise.
26867         * locale/programs/localedef.c: Likewise.
26868         * malloc/memusage.sh: Likewise.
26869         * malloc/mtrace.pl: Likewise.
26870         * nscd/nscd.c (print_version): Likewise.
26871         * nss/getent.c: Likewise.
26872
26873         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26874         PF_CAIF, and PF_ALG.
26875         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26876
26877 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26878
26879         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26880         (modules-names): Use them.
26881         (ifunc-test-modules, ifunc-pie-tests): Define.
26882         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26883         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26884         (test-extras): Likewise.
26885         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26886         $(compile-command.c).
26887         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26888         (all-built-dso): Define.
26889         (check-textrel.out, check-execstack.out): Depend on it.
26890
26891         * configure.in: Don't override --enable-multi-arch.
26892
26893 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26894
26895         [BZ #6812]
26896         * nscd/hstcache.c (tryagain): Define.
26897         (cache_addhst): Return tryagain not notfound for temporary errors.
26898         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26899         failed.
26900
26901 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26902
26903         [BZ #10563]
26904         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26905         to make the syscall.
26906         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26907
26908         [BZ #12378]
26909         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26910         and fall back to matching as normal character if the string ends before
26911         the matching ']' is found.  This is what POSIX requires.
26912         * posix/testfnm.c: Adjust test result.
26913         * posix/globtest.sh: Adjust test result.  Add new test.
26914         * posix/tst-fnmatch.input: Likewise.
26915         * posix/tst-fnmatch2.c: Add new test.
26916
26917 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26918
26919         * elf/Makefile (check-execstack): Revert last change.  Depend on
26920         check-execstack.h.
26921         (check-execstack.h): New target.
26922         (generated): Add check-execstack.h.
26923         * elf/check-execstack.c: Include "check-execstack.h".
26924         (main): Revert last change.
26925         (handle_file): Return zero if GNU_STACK is absent and
26926         DEFAULT_STACK_PERMS doesn't include PF_X.
26927
26928 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26929
26930         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26931         in child fails because the descriptor is already closed.
26932         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26933         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26934         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26935
26936         [BZ #12397]
26937         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26938         syscall.
26939
26940         [BZ #10484]
26941         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26942         temporary buffer used to handle multi lookups locally.
26943         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26944
26945 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26946
26947         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26948         loader is ld.so.
26949
26950 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26951
26952         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26953         alignment for SSE2.
26954
26955 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26956
26957         [BZ #12394]
26958         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26959         characters.  When rounding increased number of integer digits recompute
26960         number of groups.
26961         * stdio-common/tst-grouping.c: New file.
26962         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26963
26964 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26965
26966         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26967         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26968
26969         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26970         void.
26971         * bits/select.h: Likewise.
26972
26973 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26974
26975         * po/ja.po: Update from translation team.
26976
26977 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26978
26979         [BZ #11155]
26980         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26981         implementation just like for lxstat, fxstatat, et al.
26982
26983 2010-12-27  Jim Meyering  <meyering@redhat.com>
26984
26985         [BZ #12348]
26986         * posix/regexec.c (build_trtable): Return failure indication upon
26987         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26988
26989 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26990
26991         [BZ #12201]
26992         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26993         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26994         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26995         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26996
26997         [BZ #12207]
26998         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26999
27000         [BZ #12204]
27001         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27002         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27003
27004 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
27005
27006         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27007         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27008         script has SORT_BY_INIT_PRIORITY.
27009         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27010         NO_CTORS_DTORS_SECTIONS is defined.
27011         * elf/soinit.c: Likewise.
27012         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27013         NO_CTORS_DTORS_SECTIONS is defined.
27014         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27015         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27016         * sysdeps/sh/init-first.c: Likewise.
27017         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27018
27019 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
27020
27021         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27022         always use the slow path.
27023
27024 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
27025
27026         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27027         similar rule which adds the sysdep directories to the header search in
27028         order to pick up the correct platform stackinfo.h.
27029         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27030         perform test if it is, otherwise return successfully without testing.
27031         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27032         DEFAULT_STACK_PERMS define in stackinfo.h.
27033         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27034         defined in stackinfo.h.
27035         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27036         DEFAULT_STACK_PERMS defined in stackinfo.h.
27037         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27038         * sysdeps/ia64/stackinfo.h: Likewise.
27039         * sysdeps/s390/stackinfo.h: Likewise.
27040         * sysdeps/sh/stackinfo.h: Likewise.
27041         * sysdeps/sparc/stackinfo.h: Likewise.
27042         * sysdeps/x86_64/stackinfo.h: Likewise.
27043         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27044         PF_X for powerpc64.  Retain PF_X for powerpc32.
27045
27046 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
27047
27048         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27049         accurately.
27050         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27051         GETDENTS_64BIT_ALIGNED.
27052
27053 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
27054
27055         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27056
27057 2010-12-10  Andreas Schwab  <schwab@redhat.com>
27058
27059         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27060         _GNU_SOURCE.
27061
27062         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27063         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27064         Remove __restrict.
27065         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27066         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27067
27068 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
27069
27070         [BZ #11655]
27071         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27072         are initialized.
27073
27074 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
27075
27076         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27077
27078 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
27079
27080         * po/it.po: Update from translation team.
27081
27082 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
27083
27084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27085         unused codes.
27086
27087 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
27088
27089         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27090
27091 2010-11-24  Andreas Schwab  <schwab@redhat.com>
27092
27093         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27094         specially.
27095         (gaih_getanswer_slice): Likewise.
27096
27097 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
27098
27099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27100
27101 2010-05-31  Petr Baudis  <pasky@suse.cz>
27102
27103         [BZ #11149]
27104         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27105         silently even in the chroot mode.
27106
27107 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
27108
27109         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27110         last patch a bit.  Pretty printing
27111
27112 2010-05-31  Petr Baudis <pasky@suse.cz>
27113
27114         [BZ #10085]
27115         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27116         initialization of skip_initgroups_dyn.
27117
27118 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
27119
27120         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27121         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27122
27123 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
27124
27125         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27126
27127 2010-11-11  Andreas Schwab  <schwab@redhat.com>
27128
27129         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27130         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27131         (tst-fnmatch-ENV): Set MALLOC_TRACE.
27132         ($(objpfx)tst-fnmatch-mem): New rule.
27133         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27134         * posix/tst-fnmatch.c (main): Call mtrace.
27135
27136 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
27137
27138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27139         Support Intel processor model 6 and model 0x2c.
27140
27141 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
27142
27143         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27144           signed comparison.
27145
27146 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
27147
27148         [BZ #12205]
27149         * string/test-strncasecmp.c (check_result): New function.
27150         (do_one_test): Use it.
27151         (check1): New function.
27152         (test_main): Use it.
27153         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27154         Support strcasecmp and strncasecmp.
27155
27156 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
27157
27158         [BZ #12194]
27159         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27160         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27161
27162 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27163
27164         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27165         IFUNC support.
27166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27167         memset-x86-64.
27168         * sysdeps/x86_64/multiarch/bzero.S: New file.
27169         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27170         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27171         * sysdeps/x86_64/multiarch/memset.S: New file.
27172         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27174         Set bit_Prefer_SSE_for_memop for Intel processors.
27175         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27176         Define.
27177         (index_Prefer_SSE_for_memop): Define.
27178         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27179
27180 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27181
27182         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27183         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27184
27185 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27186
27187         [BZ #12191]
27188         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27189         (__x86_64_raw_data_cache_size_half): Likewise.
27190         (__x86_64_raw_shared_cache_size): Likewise.
27191         (__x86_64_raw_shared_cache_size_half): Likewise.
27192
27193         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27194         (__x86_64_raw_data_cache_size_half): Likewise.
27195         (__x86_64_raw_shared_cache_size): Likewise.
27196         (__x86_64_raw_shared_cache_size_half): Likewise.
27197         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27198         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27199         and __x86_64_raw_shared_cache_size_half.  Round
27200         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27201         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27202         to multiple of 256 bytes.
27203
27204 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27205
27206         [BZ #12167]
27207         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27208         of inacessible symlinks.  Verify result of symlink before returning it.
27209         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27210         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27211
27212 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27213
27214         * math/math.h (isinf): Fix typo in comment.
27215
27216 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27217
27218         * po/da.po: Update from translation team.
27219
27220 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27221
27222         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27223         is added to the list.
27224
27225 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27226             Ulrich Drepper  <drepper@gmail.com>
27227
27228         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27229         the global list here.  Move code to...
27230         (_dl_add_to_namespace_list): ...here.  New function.
27231         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27232         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27233         * elf/dl-load.c (lose): Don't remove the element from the list.
27234         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27235         (_dl_map_object): Likewise.
27236
27237 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27238
27239         [BZ #12159]
27240         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27241         into all bytes of SSE register.
27242         Patch by Richard Li <richardpku@gmail.com>.
27243
27244 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27245
27246         [BZ #12140]
27247         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27248         perturbing.
27249
27250 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27251
27252         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27253         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27254         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27255         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27257         submachine.
27258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27259
27260 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27261
27262         * include/dlfcn.h (__RTLD_SECURE): Define.
27263         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27264         mode & __RTLD_SECURE instead.
27265         (open_path): Rename preloaded parameter to secure.
27266         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27267         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27268         * elf/dl-deps.c (openaux): Likewise.
27269         * elf/rtld.c (struct map_args): Remove is_preloaded.
27270         (map_doit): Don't use it.
27271         (dl_main): Likewise.
27272         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27273         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27274
27275 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27276
27277         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27278         (sysd-rules-targets): Remove duplicates.
27279         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27280         rtld-%.$o dependency.
27281
27282 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27283
27284         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27285         _dl_map_object do it.
27286
27287 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27288
27289         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27290         fast fma builtins, define the macros in the C99 standard.
27291         (FP_FAST_FMAF): Likewise.
27292         (FP_FAST_FMAL): Likewise.
27293         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27294
27295         * bits/mathdef.h: Update copyright year.
27296         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27297
27298 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27299
27300         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27301         builtins, define the macros in the C99 standard.
27302         (FP_FAST_FMAF): Likewise.
27303         (FP_FAST_FMAL): Likewise.
27304         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27305         multiply/add.
27306         (FP_FAST_FMAF): Likewise.
27307
27308 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27309
27310         [BZ #3268]
27311         * math/libm-test.inc (fma_test): Some new testcases.
27312         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27313         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27314         y and infinite z.  Do multiplication by C already in long double.
27315         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27317         y and infinite z.  Do bitwise or of inexact bit into u.d.
27318         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27319         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27320         * sysdeps/i386/fpu/s_fma.S: Removed.
27321         * sysdeps/i386/fpu/s_fmal.S: Removed.
27322
27323 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27324
27325         [BZ #3268]
27326         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27328         computation is not scheduled after fetestexcept.  Fix value
27329         of minimum denormal long double.
27330
27331 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27332
27333         [BZ #3268]
27334         * math/libm-test.inc (fma_test): Add some more tests.
27335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27336         correctly.
27337
27338 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27339
27340         * scripts/data/localplt-s390-linux-gnu.data: New file.
27341         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27342
27343 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27344
27345         [BZ #3268]
27346         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27347         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27348         instead of dbl-64.
27349         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27350         inlines.
27351         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27353         if one of x and y is very large and the other is subnormal.
27354         * sysdeps/s390/fpu/s_fmaf.c: New file.
27355         * sysdeps/s390/fpu/s_fma.c: New file.
27356         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27357         * sysdeps/powerpc/fpu/s_fma.S: New file.
27358         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27359         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27360         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27361
27362 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27363
27364         [BZ #3268]
27365         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27366         fma tests.
27367         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27368         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27369         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27370         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27371         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27372         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27373         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27374
27375 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27376
27377         [BZ #12078]
27378         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27379         * posix/bug-regex31.input: Add test case.
27380
27381 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27382
27383         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27384         * posix/bug-regex31.input: New file.
27385
27386         [BZ #12078]
27387         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27388         (parse_sub_exp): Fix last change, use postorder.
27389
27390         * posix/bug-regex31.c: New file.
27391         * posix/Makefile: Add rules to build and run bug-regex31.
27392
27393         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27394
27395         [BZ #12078]
27396         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27397
27398         [BZ #12108]
27399         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27400         to have entries in sys_siglist.
27401
27402         [BZ #12093]
27403         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27404         be NULL.
27405
27406 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27407
27408         [BZ #3268]
27409         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27410         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27411         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27412         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27413         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27414         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27415         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27416         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27417         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27418         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27419         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27420         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27421         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27422         * math/ftestexcept.c (fetestexcept): Likewise.
27423         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27424         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27425         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27426         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27427         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27428         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27429         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27430
27431 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27432
27433         [BZ #12107]
27434         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27435         newline.
27436
27437 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27438
27439         * string/bug-strstr1.c: New file.
27440         * string/Makefile: Add rules to build and run bug-strstr1.
27441
27442 2010-10-05  Eric Blake  <eblake@redhat.com>
27443
27444         [BZ #12092]
27445         * string/str-two-way.h (two_way_long_needle): Always clear memory
27446         when skipping input due to the shift table.
27447
27448 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
27449
27450         [BZ #12005]
27451         * malloc/mcheck.c: Handle large requests.
27452
27453         [BZ #12077]
27454         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27455         for strncmp and strncasecmp.
27456         * string/stratcliff.c: Add tests for strcmp and strncmp.
27457         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27458
27459 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27460
27461         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27462         __set_fpscr.
27463
27464 2010-09-30  Andreas Jaeger  <aj@suse.de>
27465
27466         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27467         (CGROUP_SUPER_MAGIC): Define.
27468         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27469         Handle btrfs and cgroup file systems.
27470         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27471         Likewise.
27472
27473 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27474
27475         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27476         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27477
27478 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27479
27480         [BZ #12067]
27481         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27482         trying to locate the ELF header.
27483
27484 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27485
27486         [BZ #11611]
27487         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27488         Mask out sign-bit copies when constructing f_fsid.
27489
27490 2010-09-24  Petr Baudis <pasky@suse.cz>
27491
27492         * debug/stack_chk_fail_local.c: Add missing licence exception.
27493         * debug/warning-nop.c: Likewise.
27494
27495 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27496
27497         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27498         implementing getdents64 using getdents syscall, set d_type if
27499         __ASSUME_GETDENTS32_D_TYPE.
27500
27501 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27502
27503         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27504         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27505
27506 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27507
27508         [BZ #12037]
27509         * posix/unistd.h: Undo change of feature selection for ftruncate from
27510         2010-01-11.
27511
27512 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27513
27514         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27515         detection.
27516
27517 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27518
27519         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27520         fanotify_mark.
27521         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27522
27523 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27524
27525         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27526         variables after CHECK_SP call.
27527         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27528
27529 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27530             Ulrich Drepper  <drepper@redhat.com>
27531
27532         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27533         re-relocationg ld.so.
27534         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27535         _dl_init_paths call.
27536         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27537         here anymore.
27538
27539 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27540
27541         * resolv/res_init.c (__res_vinit): Count the default server we added.
27542
27543 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27544             Ulrich Drepper  <drepper@redhat.com>
27545
27546         [BZ #11968]
27547         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27548         (____longjmp_chk): Use %ebx for saving value across system call.
27549         Add unwind info.
27550
27551 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27552
27553         * manual/Makefile: Don't mix pattern rules with normal rules.
27554
27555 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27556
27557         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27558         operation.
27559         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27560         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27561         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27562         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27564         Likewise.
27565
27566 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27567
27568         [BZ #11979]
27569         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27570         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27571
27572 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27573
27574         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27575         * sysdeps/x86_64/addmul_1.S: Likewise.
27576         * sysdeps/x86_64/lshift.S: Likewise.
27577         * sysdeps/x86_64/mul_1.S: Likewise.
27578         * sysdeps/x86_64/rshift.S: Likewise.
27579         * sysdeps/x86_64/sub_n.S: Likewise.
27580         * sysdeps/x86_64/submul_1.S: Likewise.
27581
27582 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27583
27584         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27585         Define __sched_param instead of SCHED_* and sched_param when
27586         <bits/sched.h> is included with __need_schedparam defined.
27587         * bits/sched.h [__need_schedparam]
27588         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27589         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27590         (__defined_schedparam): Define to 1.
27591         (__sched_param): New structure, identical to sched_param.
27592         (__need_schedparam): Undefine.
27593
27594 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27595
27596         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27597         (epoll_create1): Declare.
27598
27599         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27600
27601 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27602
27603         [BZ #7066]
27604         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27605         shifting retval into place.
27606
27607 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27608
27609         * nis/rpcsvc/nis.h: Update copyright notice.
27610         * nis/rpcsvc/nis.x: Likewise.
27611         * nis/rpcsvc/nis_callback.h: Likewise.
27612         * nis/rpcsvc/nis_callback.x: Likewise.
27613         * nis/rpcsvc/nis_object.x: Likewise.
27614         * nis/rpcsvc/nis_tags.h: Likewise.
27615         * nis/rpcsvc/yp.h: Likewise.
27616         * nis/rpcsvc/yp.x: Likewise.
27617         * nis/rpcsvc/ypupd.h: Likewise.
27618         * nis/yp_xdr.c: Likewise.
27619         * nis/ypupdate_xdr.c: Likewise.
27620
27621         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27622         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27623         (pmap_getport): Use __libc_rpc_getport.
27624         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27625         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27626         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27627
27628 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27629
27630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27631         fanotify_mark.
27632
27633 2010-08-27  Roland McGrath  <roland@redhat.com>
27634
27635         * sysdeps/i386/i686/multiarch/Makefile
27636         (CFLAGS-varshift.c): New variable.
27637
27638 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27639
27640         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27641         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27642
27643         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27644
27645         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27646
27647 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27648
27649         * sysdeps/x86_64/strlen.S: Unroll the loop.
27650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27651         strlen-sse2 strlen-sse2-bsf.
27652         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27653         __strlen_no_bsf if bit_Slow_BSF is set.
27654         (__strlen_sse42): Removed.
27655         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27656         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27657
27658 2010-08-25  Roland McGrath  <roland@redhat.com>
27659
27660         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27661         * sysdeps/x86_64/multiarch/varshift.c: New file.
27662         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27663         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27664         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27665         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27666
27667 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27668
27669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27670         strlen-sse2 strlen-sse2-bsf.
27671         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27672         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27673         (__strlen_sse2): Removed.
27674         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27675         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27677         bit_Slow_BSF for Atom.
27678         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27679         (index_Slow_BSF): Define.
27680         (HAS_SLOW_BSF): Define.
27681
27682 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27683
27684         [BZ #10851]
27685         * resolv/res_init.c (__res_vinit): When no server address at all
27686         is given default to loopback.
27687
27688 2010-08-24  Roland McGrath  <roland@redhat.com>
27689
27690         * configure.in: Remove config-name.h generation.
27691         * configure: Regenerated.
27692         * config-name.in: File removed.
27693         * scripts/config-uname.sh: New file.
27694         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27695         ($(objdir)config-name.h): New target.
27696
27697         * sunrpc/rpc_parse.h: Avoid nested comment.
27698
27699 2010-08-24  Richard Henderson  <rth@redhat.com>
27700             Ulrich Drepper  <drepper@redhat.com>
27701             H.J. Lu  <hongjiu.lu@intel.com>
27702
27703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27705         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27706         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27707         _mm_alignr_epi8 with _mm_loadu_si128.
27708         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27709         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27710         (__m128i_shift_right): Removed.
27711         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27712         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27713         * sysdeps/x86_64/multiarch/varshift.h: New file.
27714         * sysdeps/x86_64/multiarch/varshift.S: New file.
27715
27716 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27717
27718         * configure.in: Move assembler checks to before sysdep dir checking.
27719
27720 2010-08-20  Petr Baudis  <pasky@suse.cz>
27721
27722         * LICENSES: Sync the sunrpc license.
27723
27724 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27725
27726         * sunrpc/auth_des.c: Update copyright notice once again.
27727         * sunrpc/auth_none.c: Likewise.
27728         * sunrpc/auth_unix.c: Likewise.
27729         * sunrpc/authdes_prot.c: Likewise.
27730         * sunrpc/authuxprot.c: Likewise.
27731         * sunrpc/bindrsvprt.c: Likewise.
27732         * sunrpc/clnt_gen.c: Likewise.
27733         * sunrpc/clnt_perr.c: Likewise.
27734         * sunrpc/clnt_raw.c: Likewise.
27735         * sunrpc/clnt_simp.c: Likewise.
27736         * sunrpc/clnt_tcp.c: Likewise.
27737         * sunrpc/clnt_udp.c: Likewise.
27738         * sunrpc/clnt_unix.c: Likewise.
27739         * sunrpc/des_crypt.c: Likewise.
27740         * sunrpc/des_soft.c: Likewise.
27741         * sunrpc/get_myaddr.c: Likewise.
27742         * sunrpc/getrpcport.c: Likewise.
27743         * sunrpc/key_call.c: Likewise.
27744         * sunrpc/key_prot.c: Likewise.
27745         * sunrpc/openchild.c: Likewise.
27746         * sunrpc/pm_getmaps.c: Likewise.
27747         * sunrpc/pm_getport.c: Likewise.
27748         * sunrpc/pmap_clnt.c: Likewise.
27749         * sunrpc/pmap_prot.c: Likewise.
27750         * sunrpc/pmap_prot2.c: Likewise.
27751         * sunrpc/pmap_rmt.c: Likewise.
27752         * sunrpc/rpc/auth.h: Likewise.
27753         * sunrpc/rpc/auth_unix.h: Likewise.
27754         * sunrpc/rpc/clnt.h: Likewise.
27755         * sunrpc/rpc/des_crypt.h: Likewise.
27756         * sunrpc/rpc/key_prot.h: Likewise.
27757         * sunrpc/rpc/netdb.h: Likewise.
27758         * sunrpc/rpc/pmap_clnt.h: Likewise.
27759         * sunrpc/rpc/pmap_prot.h: Likewise.
27760         * sunrpc/rpc/pmap_rmt.h: Likewise.
27761         * sunrpc/rpc/rpc.h: Likewise.
27762         * sunrpc/rpc/rpc_des.h: Likewise.
27763         * sunrpc/rpc/rpc_msg.h: Likewise.
27764         * sunrpc/rpc/svc.h: Likewise.
27765         * sunrpc/rpc/svc_auth.h: Likewise.
27766         * sunrpc/rpc/types.h: Likewise.
27767         * sunrpc/rpc/xdr.h: Likewise.
27768         * sunrpc/rpc_clntout.c: Likewise.
27769         * sunrpc/rpc_cmsg.c: Likewise.
27770         * sunrpc/rpc_common.c: Likewise.
27771         * sunrpc/rpc_cout.c: Likewise.
27772         * sunrpc/rpc_dtable.c: Likewise.
27773         * sunrpc/rpc_hout.c: Likewise.
27774         * sunrpc/rpc_main.c: Likewise.
27775         * sunrpc/rpc_parse.c: Likewise.
27776         * sunrpc/rpc_parse.h: Likewise.
27777         * sunrpc/rpc_prot.c: Likewise.
27778         * sunrpc/rpc_sample.c: Likewise.
27779         * sunrpc/rpc_scan.c: Likewise.
27780         * sunrpc/rpc_scan.h: Likewise.
27781         * sunrpc/rpc_svcout.c: Likewise.
27782         * sunrpc/rpc_tblout.c: Likewise.
27783         * sunrpc/rpc_util.c: Likewise.
27784         * sunrpc/rpc_util.h: Likewise.
27785         * sunrpc/rpcinfo.c: Likewise.
27786         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27787         * sunrpc/rpcsvc/key_prot.x: Likewise.
27788         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27789         * sunrpc/rpcsvc/mount.x: Likewise.
27790         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27791         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27792         * sunrpc/rpcsvc/rex.x: Likewise.
27793         * sunrpc/rpcsvc/rstat.x: Likewise.
27794         * sunrpc/rpcsvc/rusers.x: Likewise.
27795         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27796         * sunrpc/rpcsvc/spray.x: Likewise.
27797         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27798         * sunrpc/rtime.c: Likewise.
27799         * sunrpc/svc.c: Likewise.
27800         * sunrpc/svc_auth.c: Likewise.
27801         * sunrpc/svc_authux.c: Likewise.
27802         * sunrpc/svc_raw.c: Likewise.
27803         * sunrpc/svc_run.c: Likewise.
27804         * sunrpc/svc_simple.c: Likewise.
27805         * sunrpc/svc_tcp.c: Likewise.
27806         * sunrpc/svc_udp.c: Likewise.
27807         * sunrpc/svc_unix.c: Likewise.
27808         * sunrpc/svcauth_des.c: Likewise.
27809         * sunrpc/xcrypt.c: Likewise.
27810         * sunrpc/xdr.c: Likewise.
27811         * sunrpc/xdr_array.c: Likewise.
27812         * sunrpc/xdr_float.c: Likewise.
27813         * sunrpc/xdr_mem.c: Likewise.
27814         * sunrpc/xdr_rec.c: Likewise.
27815         * sunrpc/xdr_ref.c: Likewise.
27816         * sunrpc/xdr_sizeof.c: Likewise.
27817         * sunrpc/xdr_stdio.c: Likewise.
27818
27819         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27820         handling.
27821
27822 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27823
27824         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27825
27826 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27827
27828         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27829         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27830         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27831         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27832         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27833         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27834         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27835         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27836         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27837         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27838         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27839         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27840         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27841         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27842
27843 2010-07-26  Anton Blanchard  <anton@samba.org>
27844
27845         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27846         * malloc/arena.c (heap_trim): Likewise.
27847
27848 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27849
27850         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27851         here.  Not...
27852         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27853         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27854
27855 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27856
27857         * sysdeps/i386/elf/Makefile: New file.
27858
27859 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27860
27861         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27862         from fanotify_init.
27863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27864         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27865
27866 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27867
27868         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27869         of strncasecmp_l.
27870         * sysdeps/multiarch/strcmp.S: Likewise.
27871
27872 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27873
27874         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27875         strncase_l-nonascii.
27876         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27877         Add strncase_l-ssse3.
27878         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27879         * sysdeps/x86_64/strcmp.S: Likewise.
27880         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27881         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27882         * sysdeps/x86_64/strncase.S: New file.
27883         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27884         * sysdeps/x86_64/strncase_l.S: New file.
27885         * string/Makefile (strop-tests): Add strncasecmp.
27886         * string/test-strncasecmp.c: New file.
27887
27888         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27889         warning.
27890
27891         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27892         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27893
27894 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27895
27896         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27897
27898 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27899
27900         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27901         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27902         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27903
27904 2010-05-01  Alan Modra  <amodra@gmail.com>
27905
27906         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27907         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27908         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27909         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27910         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27911         tidying.  Don't tail-call __sigjmp_save for static lib.
27912         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27913         save location.
27914         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27915         (CALL_MCOUNT): Add eh info, and nop after bl.
27916         (TAIL_CALL_SYSCALL_ERROR): New macro.
27917         (PSEUDO_RET): Use it.
27918         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27919         Correct save location of integer regs and cr.
27920         (_dl_profile_resolve): Correct cr save location.  Delete nops
27921         after bl when SHARED.  Reduce cfi size a little by better
27922         placement of cfi directives.
27923         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27924         make a stack frame.  Instead use parm save area as a temp.
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27926         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27928         Don't make a stack frame for parent, use parm save area.
27929         Increase child stack frame to 112 bytes.  Don't save unused reg,
27930         and adjust reg usage.  Set up cfi on error recovery and
27931         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27933         (__makecontext): Add dummy nop after jump to exit.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27935         Use correct parm save area and cr save, reduce stack frame.
27936         Correct cfi for possible PSEUDO_RET frame setup.
27937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27938         Branch to local label emitted by PSEUDO_RET rather than
27939         __syscall_error.
27940
27941 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27942
27943         [BZ #11904]
27944         * locale/programs/locale.c (print_assignment): New function.
27945         (show_locale_vars): Use it.
27946
27947 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27948
27949         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27950         field.
27951         (struct statfs64): Likewise.
27952         (_STATFS_F_FLAGS): Define.
27953         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27954         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27955         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27956         (ST_VALID): Define locally.
27957         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27958         __statvfs_getflags, use the provided value.
27959         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27960         __ASSUME_STATFS_F_FLAGS.
27961
27962         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27963
27964         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27965         Add sys/fanotify.h.
27966         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27967         fanotify_mask for GLIBC_2.13.
27968         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27969         fanotify_init and fanotify_mark.
27970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27971         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27972
27973         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27974         Add prlimit.
27975         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27976         prlimit64 for GLIBC_2.13.
27977         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27978         prlimit64.
27979         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27980         syscall.
27981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27982         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27983         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27984         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27986         add prlimit alias.
27987         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27988
27989         [BZ #11903]
27990         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27991         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27992
27993         * nss/Makefile: Add rules to build and run tst-nss-test1.
27994         * shlib-versions: Add entry for libnss_test1.
27995         * nss/nss_test1.c: New file.
27996         * nss/tst-nss-test1.c: New file.
27997
27998         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27999         (__nss_configure_lookup): Set appropriate entry in
28000         __nss_configure_lookup to true.
28001         * nss/nsswitch.h: Define enum with indeces of databases in
28002         databases and __nss_database_custom arrays.  Declare
28003         __nss_database_custom.
28004         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28005         to avoid using nscd when custom rules are installed.
28006         * nss/getXXbyYY_r.c: Likewise.
28007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28008
28009         * nss/nss_files/files-parse.c: Whitespace fixes.
28010
28011 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
28012
28013         [BZ #11883]
28014         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28015         * posix/fnmatch_loop.c: Likewise.
28016
28017 2010-07-17  Andi Kleen  <ak@linux.intel.com>
28018
28019         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28020         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28021         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28022         * Versions.def [GLIBC_2.13]: Add.
28023
28024 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
28025
28026         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28027         Also fail if tpwd after pwuid call is NULL.
28028
28029 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28030
28031         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28032         when converting to ms.
28033
28034 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28035
28036         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28037         EOPNOTSUPP errors with ENOTTY.
28038         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28039         EOPNOTSUPP errors with ENOTTY.
28040
28041 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
28042
28043         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28044         Add strcasecmp_l-ssse3.
28045         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28046         strcasecmp.
28047         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28048         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28049         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28050
28051 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
28052
28053         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28054
28055         * string/Makefile (strop-tests): Add strcasecmp.
28056         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28057         strcasecmp_l-nonascii.
28058         (gen-as-const-headers): Add locale-defines.sym.
28059         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28060         * sysdeps/x86_64/strcasecmp.S: New file.
28061         * sysdeps/x86_64/strcasecmp_l.S: New file.
28062         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28063         * sysdeps/x86_64/locale-defines.sym: New file.
28064         * string/test-strcasecmp.c: New file.
28065
28066         * string/test-strcasestr.c: Test both ends of the range of characters.
28067         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28068
28069 2010-07-29  Roland McGrath  <roland@redhat.com>
28070
28071         [BZ #11856]
28072         * manual/locale.texi (Yes-or-No Questions): Fix example code.
28073
28074 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
28075
28076         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28077         for ld.so.
28078
28079 2010-07-27  Andreas Schwab  <schwab@redhat.com>
28080
28081         * manual/memory.texi (Malloc Tunable Parameters): Document
28082         M_PERTURB.
28083
28084 2010-07-26  Roland McGrath  <roland@redhat.com>
28085
28086         [BZ #11840]
28087         * configure.in (-fgnu89-inline check): Set and substitute
28088         gnu89_inline, not libc_cv_gnu89_inline.
28089         * configure: Regenerated.
28090         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28091
28092 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
28093
28094         * string/test-strnlen.c: New file.
28095         * string/Makefile (strop-tests): Add strnlen.
28096         * string/tester.c (test_strnlen): Add a few more test cases.
28097         * string/tst-strlen.c: Better error reporting.
28098
28099         * sysdeps/x86_64/strnlen.S: New file.
28100
28101 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
28102
28103         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28104         lower-latency instructions.
28105
28106 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
28107
28108         * string/test-strcasestr.c: New file.
28109         * string/test-strstr.c: New file.
28110         * string/Makefile (strop-tests): Add strstr and strcasestr.
28111         * string/str-two-way.h: Don't undefine MAX.
28112         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28113
28114 2010-07-21  Andreas Schwab  <schwab@redhat.com>
28115
28116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28117         strcasestr-nonascii.
28118         (CFLAGS-strcasestr-nonascii.c): Define.
28119         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28120         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28121         Remove unused attribute.
28122
28123 2010-07-20  Roland McGrath  <roland@redhat.com>
28124
28125         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28126         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
28127         ld.so.cache was broken.  With it, there is no way to disable dsocaps
28128         like LD_HWCAP_MASK can disable hwcaps.
28129
28130 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28131
28132         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28133
28134 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
28135
28136         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28137         call in strcasestr.
28138         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28139         __strcasestr_sse42_nonascii.
28140         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28141         strcasestr-nonascii.c.
28142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28143
28144 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
28145
28146         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28147         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28148         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28149         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28150
28151 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
28152
28153         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28154         fcntl.
28155
28156 2010-07-06  Andreas Schwab  <schwab@redhat.com>
28157
28158         [BZ #11577]
28159         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28160         dl_signal_cerror.
28161
28162 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28163
28164         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28165         _PC_PIPE_BUF using F_GETPIPE_SZ.
28166
28167 2010-07-05  Roland McGrath  <roland@redhat.com>
28168
28169         * manual/arith.texi (Rounding Functions): Fix rint description
28170         implicit in round description.
28171
28172 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28173
28174         * elf/Makefile: Fix linking for a few tests to make recent linker
28175         happy.
28176
28177 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28178
28179         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28180         $(common-objpfx)libc_nonshared.a.
28181
28182 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28183
28184         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28185         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28186         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28187         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28188         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28189         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28190         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28191         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28206         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28207         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28208         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28209         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28210         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28211         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28212         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28213         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28214         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28215         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28216         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28217         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28232
28233 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28234
28235         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28236         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28237         * string/memmove.c (memmove): Renamed to ...
28238         (MEMMOVE): ...this.  Default to memmove.
28239         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28240         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28241         (END_CHK): Define.
28242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28243         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28244         mempcpy-ssse3-back memmove-ssse3-back.
28245         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28246         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28247         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28248         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28249         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28250         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28251         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28252         * sysdeps/x86_64/multiarch/memmove.c: New file.
28253         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28254         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28255         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28256         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28257         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28258         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28259         Define.
28260         (index_Fast_Copy_Backward): Define.
28261         (HAS_ARCH_FEATURE): Define.
28262         (HAS_FAST_REP_STRING): Define.
28263         (HAS_FAST_COPY_BACKWARD): Define.
28264
28265 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28266
28267         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28268         Restore proper fallback handling.
28269
28270 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28271
28272         [BZ #11701]
28273         * posix/group_member.c (__group_member): Correct checking loop.
28274
28275         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28276         OOM in getpwuid_r correctly.  Return error number when the caller
28277         should return, otherwise -1.
28278         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28279         call returning > 0 value.
28280         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28281
28282 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28283
28284         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28285         libc_nonshared.a from targets in modules-names.
28286
28287 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28288
28289         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28290         requires it.
28291
28292 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28293
28294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28295         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28296         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28297         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28298
28299 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28300
28301         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28302
28303 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28304
28305         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28306         and F_GETPIPE_SZ.
28307         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28308         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28309         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28312         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28313
28314 2010-06-14  Roland McGrath  <roland@redhat.com>
28315
28316         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28317
28318 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28319
28320         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28321         __REDIRECT followed by __THROW.
28322         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28323         * posix/getopt.h (getopt): Likewise.
28324
28325 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28326
28327         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28328         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28329         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28330         in AT_FLAGS.
28331         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28332         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28333
28334 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28335
28336         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28337
28338 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28339
28340         [BZ #11640]
28341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28342         Properly check family and model.
28343
28344 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28345
28346         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28347
28348 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28349
28350         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28351
28352 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28353
28354         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28355         symbol reference.
28356
28357 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28358
28359         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28360         symbol reference.
28361
28362 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28363
28364         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28365         and internal_recvmmsg.
28366         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28367         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28368         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28369         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28370
28371         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28372         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28373         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28374
28375 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28376
28377         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28378
28379 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28380
28381         POWER7 optimizations.
28382         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28383         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28384
28385 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28386
28387         * version.h: Update for 2.13 development version.
28388
28389 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28390
28391         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28392         exceptions.  Return 0.
28393
28394 2010-05-07  Roland McGrath  <roland@redhat.com>
28395
28396         * elf/ldconfig.c (main): Add a const.
28397
28398 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28399
28400         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28401         (args_options): Add no-idn option.
28402         (ahosts_keys_int): Add idn_flags to ai_flags.
28403         (parse_option): Handle 'i' option to clear idn_flags.
28404
28405         * malloc/malloc.c (_int_free): Possible race in the most recently
28406         added check.  Only act on the data if no current modification
28407         happened.
28408
28409 See ChangeLog.17 for earlier changes.