Clean up POSIX.1 implementation of truncate.
[platform/upstream/glibc.git] / ChangeLog
1 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4         Call __ names for open, ftruncate, and close.
5         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6         (truncate): Define as weak alias.
7
8 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9
10         * math/gen-libm-test.pl (parse_args): Initialize x before each
11         test of frexp, modf and remquo.
12
13         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14         test signgam value.
15
16 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17
18         [BZ #15418]
19         [BZ #15419]
20         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21         internal tests.
22         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23
24 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25
26         * elf/dl-writev.h: New file.
27         * elf/dl-misc.c: Include it.
28         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30
31 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32
33         * math/libm-test.inc (noXFails): Remove variable.
34         (noXPasses): Likewise.
35         (BUILD_COMPLEX_INT): Remove macro.
36         (print_screen): Remove xfail argument.
37         (print_screen_max_error): Likewise.
38         (update_stats): Likewise.
39         (print_max_error): Likewise.  Update calls to other affected
40         functions.
41         (print_complex_max_error): Likewise.
42         (test_single_exception): Update calls to print_screen.
43         (test_single_errno): Likewise.
44         (check_float_internal): Remove xfail argument.  Update calls to
45         other affected functions.
46         (check_float): Likewise.
47         (check_complex): Likewise.
48         (check_int): Likewise.
49         (check_long): Likewise.
50         (check_bool): Likewise.
51         (check_longlong): Likewise.
52         (main): Don't print noXFails and noXPasses.
53         * math/gen-libm-test.pl (top level): Don't mention expected
54         failure handling in comment.
55         (new_test): Don't handle expected failures.
56         (parse_args): Don't mention expected failure handling in comment.
57         (generate_testfile): Don't handle expected failures.
58         (parse_ulps): Likewise.
59         (print_ulps_file): Likewise.
60         (get_failure): Remove function.
61         (output_test): Don't handle expected failures.
62         * make/README.libm-test: Don't mention expected failure handling.
63
64         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65         (minus_zero): Likewise.
66         (plus_infty): Likewise.
67         (minus_infty): Likewise.
68         (qnan_value): Likewise.
69         (max_value): Likewise.
70         (min_value): Likewise.
71         (min_subnorm_value): Likewise.
72         (initialize): Do not initialize those variables dynamically.
73
74 2013-05-03  Roland McGrath  <roland@hack.frob.com>
75
76         * io/open.c (__open_2): Moved to ...
77         * io/open_2.c: ... this new file.
78         * io/open64.c (__open64_2): Moved to ...
79         * io/open64_2.c: ... this new file.
80         * io/openat.c (__openat_2): Moved to ...
81         * io/openat_2.c: ... this new file.
82         * io/openat64.c (__openat64_2): Moved to ...
83         * io/openat64_2.c: ... this new file.
84         * io/Makefile (routines): Add them.
85         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
86         * sysdeps/unix/sysv/linux/open_2.c: File removed.
87         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
88         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
89         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
90         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
91         (__openat64): Add hidden_ver.
92         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
93         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
94
95         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
96         Separately conditionalize setting of GLRO(dl_sysinfo) so
97         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
98         as well, but the actual setting is only under [NEED_DL_SYSINFO].
99
100 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
101
102         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
104         definition.
105         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
106         * sysdeps/unix/sysv/linux/powerpc/init-first.c
107         (_libc_vdso_platform_setup): Add __vdso_time initialization.
108         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
109         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
110
111 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
112
113         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
114         test signgam value.
115
116         * math/libm-test.inc (hypot_test): Do not use
117         IGNORE_ZERO_INF_SIGN.
118
119 2013-05-03  Andreas Jaeger  <aj@suse.de>
120
121         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
122         Linux 3.9.
123         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
124         (PF_MAX): Adjust for VSOCK change.
125
126 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
127
128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
129
130 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
131
132         [BZ #15264]
133         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
134         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
135         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
136
137 2013-05-02  David S. Miller  <davem@davemloft.net>
138
139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
140
141 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
142
143         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
144
145 2013-05-01  Roland McGrath  <roland@hack.frob.com>
146
147         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
148
149 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
150
151         [BZ #14952]
152         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
153         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
154         Use __attribute__ ((__gnu_inline__)).
155         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
156         Don't use __attribute__ ((__gnu_inline__)).
157
158 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
159
160         [BZ #15423]
161         * math/s_catan.c (__catan): Handle small real or imaginary part of
162         input specially to avoid spurious underflow.
163         * math/s_catanf.c (__catanf): Likewise.
164         * math/s_catanh.c (__catanh): Likewise.
165         * math/s_catanhf.c (__catanhf): Likewise.
166         * math/s_catanhl.c (__catanhl): Likewise.
167         * math/s_catanl.c (__catanl): Likewise.
168         * math/libm-test.inc (catan_test): Add more tests.
169         (catanh_test): Likewise.
170         * sysdeps/i386/fpu/libm-test-ulps: Update.
171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
172
173 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
174
175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
176
177 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
178
179         [BZ #15416]
180         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
181         accurately for denominator in atan2.
182         * math/s_catanf.c (__catanf): Likewise.
183         * math/s_catanh.c (__catanh): Likewise.
184         * math/s_catanhf.c (__catanhf): Likewise.
185         * math/s_catanhl.c (__catanhl): Likewise.
186         * math/s_catanl.c (__catanl): Likewise.
187         * math/libm-test.inc (catan_test): Add more tests.
188         (catanh_test): Likewise.
189         * sysdeps/i386/fpu/libm-test-ulps: Update.
190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
191
192 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
193
194         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
195
196         * benchtests/Makefile (bench): Remove slow benchmarks.
197         * benchtests/atan-inputs: Add slow benchmark inputs.
198         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
199         (BENCH_FUNC): Accept variant offset.
200         (VARIANT): Define.
201         * benchtests/bench-skeleton.c (main): Run benchmark for each
202         variant.
203         * benchtests/cos-inputs: Add slow benchmark inputs.
204         * benchtests/exp-inputs: Likewise.
205         * benchtests/pow-inputs: Likewise.
206         * benchtests/sin-inputs: Likewise.
207         * benchtests/slowatan-inputs: Remove.
208         * benchtests/slowatan.c: Remove.
209         * benchtests/slowcos-inputs: Remove.
210         * benchtests/slowcos.c: Remove.
211         * benchtests/slowexp-inputs: Remove.
212         * benchtests/slowexp.c: Remove.
213         * benchtests/slowpow-inputs: Remove.
214         * benchtests/slowpow.c: Remove.
215         * benchtests/slowsin-inputs: Remove.
216         * benchtests/slowsin.c: Remove.
217         * benchtests/slowtan-inputs: Remove.
218         * benchtests/slowtan.c: Remove.
219         * benchtests/tan-inputs: Add slow benchmark inputs.
220         * scripts/bench.pl: Parse comments and directives.
221
222         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
223         in CPPFLAGS.
224         ($(objpfx)bench-%.c): Remove *-ITER.
225         * benchtests/bench-modf.c: Remove definition of ITER.
226         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
227         (main): Loop for DURATION seconds instead of fixed number of
228         iterations.
229         * scripts/bench.pl: Don't expect iterations in parameters.
230
231 2013-04-29  Roland McGrath  <roland@hack.frob.com>
232
233         * io/fchdir.c (__fchdir): Renamed from fchdir.
234         (fchdir): Define as weak alias.
235
236 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
237
238         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
239         (ERRNO_EDOM): Likewise.
240         (ERRNO_ERANGE): Likewise.
241         (noErrnoTests): New variable.
242         (init_max_error): Set errno to 0.
243         (test_single_errno): New function.
244         (test_errno): Likewise.
245         (check_float_internal): Call test_errno.  Set errno to 0.
246         (check_complex): Refer to errno tests in comment.
247         (check_int): Call test_errno.  Set errno to 0.
248         (check_long): Likewise.
249         (check_bool): Likewise.
250         (check_longlong): Likewise.
251         (cos_test): Use ERRNO_* flags for errno tests instead of
252         check_int.
253         (expm1_test): Likewise.
254         (fmod_test): Likewise.
255         (ilogb_test): Likewise.
256         (lgamma_test): Likewise.
257         (pow_test): Likewise.
258         (remainder_test): Likewise.
259         (sin_test): Likewise.
260         (tan_test): Likewise.
261         (yn_test): Likewise.
262         (initialize): Set errno to 0.
263         (main): Print number of errno tests.
264         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
265
266 2013-04-29  Andreas Jaeger  <aj@suse.de>
267
268         [BZ #15084]
269         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
270         and RES_USEVC.
271
272         [BZ #15085]
273         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
274         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
275         unimplemented.
276
277         [BZ #15380]
278         * stdlib/random.c (__initstate): Return NULL if
279         __initstate fails.
280
281         [BZ #15086]
282         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
283         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
284         RES_SNGLKUPREOP.
285
286 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
287
288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
289
290 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
291
292         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
293         of individual tests.
294         (casin_test): Likewise.
295         (casinh_test): Likewise.
296
297 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
298
299         [BZ #15409]
300         * math/s_catan.c (__catan): Handle arguments with large real or
301         imaginary part separately without squaring.
302         * math/s_catanf.c (__catanf): Likewise.
303         * math/s_catanh.c (__catanh): Likewise.
304         * math/s_catanhf.c (__catanhf): Likewise.
305         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
306         and redefine.
307         (__catanhl): Handle arguments with large real or imaginary part
308         separately without squaring.
309         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
310         and redefine.
311         (__catanl): Handle arguments with large real or imaginary part
312         separately without squaring.
313         * math/libm-test.inc (catan_test): Add more tests.
314         (catanh_test): Likewise.
315         * sysdeps/i386/fpu/libm-test-ulps: Update.
316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
317
318 2013-04-27  Andreas Jaeger  <aj@suse.de>
319
320         [BZ #15007]
321         * stdlib/stdlib.h: Update guards for qecvt.
322         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
323         <stdlib.h>.
324
325 2013-04-27  Allan McRae  <allan@archlinux.org>
326
327         * sysdeps/i386/fpu/libm-test-ulps: Update.
328
329 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
330
331         [BZ #15406]
332         * math/s_catan.c: Include <float.h>.
333         (__catan): Ensure underflow exception occurs for underflowed
334         result.
335         * math/s_catanf.c: Include <float.h>.
336         (__catanf): Ensure underflow exception occurs for underflowed
337         result.
338         * math/s_catanh.c: Include <float.h>.
339         (__catanh): Ensure underflow exception occurs for underflowed
340         result.
341         * math/s_catanhf.c: Include <float.h>.
342         (__catanhf): Ensure underflow exception occurs for underflowed
343         result.
344         * math/s_catanhl.c: Include <float.h>.
345         (__catanhl): Ensure underflow exception occurs for underflowed
346         result.
347         * math/s_catanl.c: Include <float.h>.
348         (__catanl): Ensure underflow exception occurs for underflowed
349         result.
350         * math/libm-test.inc (catan_test): Add more tests.
351         (catanh_test): Likewise.
352
353         [BZ #15405]
354         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
355         underflowed result.
356         * math/s_ccoshf.c (__ccoshf): Likewise.
357         * math/s_ccoshl.c (__ccoshl): Likewise.
358         * math/s_csin.c (__csin): Likewise.
359         * math/s_csinf.c (__csinf): Likewise.
360         * math/s_csinh.c (__csinh): Likewise.
361         * math/s_csinhf.c (__csinhf): Likewise.
362         * math/s_csinhl.c (__csinhl): Likewise.
363         * math/s_csinl.c (__csinl): Likewise.
364         * math/libm-test.inc (ccos_test): Add more tests.
365         (ccosh_test): Likewise.
366         (csin_test): Likewise.
367         (csinh_test): Likewise.
368
369 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
370
371         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
372         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
373         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
374         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
375         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
376         powerpc/power5+/fpu folders.
377         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
378
379
380 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
381
382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
383
384 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
385
386         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
387         additions to variable.
388         [$(config-machine) = x86_64] (modules-names): Likewise.
389         ($(objpfx)tst-audit3): Remove dependency.
390         ($(objpfx)tst-audit3.out): Likewise.
391         ($(objpfx)tst-audit4): Likewise.
392         ($(objpfx)tst-audit4.out): Likewise.
393         ($(objpfx)tst-audit5): Likewise.
394         ($(objpfx)tst-audit5.out): Likewise.
395         ($(objpfx)tst-audit6): Likewise.
396         ($(objpfx)tst-audit6.out): Likewise.
397         ($(objpfx)tst-audit7): Likewise.
398         ($(objpfx)tst-audit7.out): Likewise.
399         (tst-audit3-ENV): Remove variable.
400         (tst-audit4-ENV): Likewise.
401         (tst-audit5-ENV): Likewise.
402         (tst-audit6-ENV): Likewise.
403         (tst-audit7-ENV): Likewise.
404         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
405         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
406         addition to variable.
407         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
408         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
409         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
410         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
411         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
412         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
413         tst-audit3, tst-audit4 and tst-audit5.
414         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
415         tst-audit6 and tst-audit7.
416         [$(subdir) = elf] (modules-names): Add audit modules for those
417         tests.
418         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
419         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
420         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
421         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
422         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
423         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
424         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
425         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
426         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
427         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
428         [$(subdir) = elf] (tst-audit3-ENV): New variable.
429         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
430         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
431         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
432         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
433         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
434         Likewise.
435         [$(subdir) = elf && $(config-cflags-avx) = yes]
436         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
437         [$(subdir) = elf && $(config-cflags-avx) = yes]
438         (CFLAGS-tst-auditmod4a.c): Likewise.
439         [$(subdir) = elf && $(config-cflags-avx) = yes]
440         (CFLAGS-tst-auditmod4b.c): Likewise.
441         [$(subdir) = elf && $(config-cflags-avx) = yes]
442         (CFLAGS-tst-auditmod6b.c): Likewise.
443         [$(subdir) = elf && $(config-cflags-avx) = yes]
444         (CFLAGS-tst-auditmod6c.c): Likewise.
445         [$(subdir) = elf && $(config-cflags-avx) = yes]
446         (CFLAGS-tst-auditmod7b.c): Likewise.
447         * elf/tst-audit3.c: Move to ...
448         * sysdeps/x86_64/tst-audit3.c: ... here.
449         * elf/tst-audit4.c: Move to ...
450         * sysdeps/x86_64/tst-audit4.c: ... here.
451         * elf/tst-audit5.c: Move to ...
452         * sysdeps/x86_64/tst-audit5.c: ... here.
453         * elf/tst-audit6.c: Move to ...
454         * sysdeps/x86_64/tst-audit6.c: ... here.
455         * elf/tst-audit7.c: Move to ...
456         * sysdeps/x86_64/tst-audit7.c: ... here.
457         * elf/tst-auditmod3a.c: Move to ...
458         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
459         * elf/tst-auditmod3b.c: Move to ...
460         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
461         * elf/tst-auditmod4a.c: Move to ...
462         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
463         * elf/tst-auditmod4b.c: Move to ...
464         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
465         * elf/tst-auditmod5a.c: Move to ...
466         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
467         * elf/tst-auditmod5b.c: Move to ...
468         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
469         * elf/tst-auditmod6a.c: Move to ...
470         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
471         * elf/tst-auditmod6b.c: Move to ...
472         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
473         * elf/tst-auditmod6c.c: Move to ...
474         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
475         * elf/tst-auditmod7a.c: Move to ...
476         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
477         * elf/tst-auditmod7b.c: Move to ...
478         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
479
480 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
481
482         [BZ #15366]
483         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
484         define unconditionally.
485         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
486         define unconditionally.
487         (INT8_C, INT16_C, etc.): Likewise.
488
489 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
490
491         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
492         __ehdr_start with hidden visibility.
493
494         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
495
496 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
497
498         * math/libm-test.inc (cos_test): Use accurate hex constants.
499         (sincost_test): Likewise.
500
501 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
502
503         * math/libm-test.inc (catan_test): Add more tests.
504         (catanh_test): Likewise.
505
506         * math/s_catanf.c (__catanf): Use suffixed floating-point
507         constants.
508         * math/s_catanhf.c (__catanhf): Likewise.
509         * math/s_catanhl.c (__catanhl): Likewise.
510         * math/s_catanl.c (__catanl): Likewise.
511
512         [BZ #15394]
513         * math/s_catan.c (__catan): Calculate imaginary part of result
514         with log1p not log unless computing log of number close to 0.
515         * math/s_catanf.c (__catanf): Likewise.
516         * math/s_catanl.c (__catanl): Likewise.
517         * math/s_catanh.c (__catanh): Calculate real part of result with
518         log1p not log unless computing log of number close to 0.
519         * math/s_catanhf.c (__catanhf): Likewise.
520         * math/s_catanhl.c (__catanhl): Likewise.
521         * math/libm-test.inc (catan_test): Add more tests.
522         (catanh_test): Likewise.
523         * sysdeps/i386/fpu/libm-test-ulps: Update.
524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
525
526 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
527
528         * benchtests/Makefile: Mention files in which fast and slow
529         paths of math functions are implemented.
530
531 2013-04-23  Roland McGrath  <roland@hack.frob.com>
532
533         * sysdeps/posix/timespec_get.c: New file.
534
535 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
536
537         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
538         POWER.
539         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
540         for POWER.
541         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
542         powerpc/power5/fpu folders.
543         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
544         * benchtests/Makefile: Add modf testcase.
545         * benchtests/bench-modf.c: New file: Benchmark test for mo
546
547 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
548
549         [BZ #14888]
550         * time/Makefile (tests): Add tst-strptime-whitespace.
551         * time/strptime_l.c (get_number): Use ISSPACE.
552         (__strptime_internal): Likewise.
553         * time/tst-strptime-whitespace.c: New test case.
554
555 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
556
557         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
558         member.
559         (_nss_files_init): Set it here.
560
561 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
562
563         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
564         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
565         unsigned.
566
567 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
568
569         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
570
571 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
572
573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
574         size just once.
575
576 2013-04-21  David S. Miller  <davem@davemloft.net>
577
578         * po/ru.po: Update Russion translation from translation project.
579
580 2013-04-17  Adam Conrad  <adconrad@0c3.net>
581
582         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
583         and setfsgid.
584
585 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
586
587         * configure.in: Remove i386 configure warning. Remove i386 case.
588         * configure: Regenerate.
589         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
590         Add example to error message.
591         * sysdeps/i386/configure: Regenerate.
592
593 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
594
595         * benchtests/Makefile (bench): Add cos, tan, slowcos and
596         slowtan.
597         * benchtests/cos-inputs: New file.
598         * benchtests/slowcos-inputs: New file.
599         * benchtests/slowcos.c: New file.
600         * benchtests/slowtan-inputs: New file.
601         * benchtests/slowtan.c: New file.
602         * benchtests/tan-inputs: New file.
603
604 2013-04-16  Roland McGrath  <roland@hack.frob.com>
605
606         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
607         considered kosher.
608
609 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
610
611         * benchtests/Makefile: Include cppflags-iterator.mk to add
612         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
613
614         * Makefile.in (bench-clean): New target.
615         * benchtests/Makefile (bench-clean): Likewise.
616
617 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
618
619         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
620
621 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
622
623         * stdio-common/tstdiomisc.c: Fix coding-style violation.
624
625 2013-04-15  Andreas Schwab  <schwab@suse.de>
626
627         * nscd/grpcache.c (cache_addgr): Properly check for short write.
628         * nscd/initgrcache.c (addinitgroupsX): Likewise.
629         * nscd/pwdcache.c (cache_addpw): Likewise.
630         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
631         more than recsize.
632
633 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
634
635         * benchtests/Makefile (bench): Write all output to
636         bench-out.tmp together.
637
638 2013-04-15  Andreas Schwab  <schwab@suse.de>
639
640         * nscd/nscd.c (main): Don't fork again after closing files.
641
642 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
643
644         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
645
646         * benchtests/Rules (bench-deps): Collect dependencies into a
647         single variable.  Add Makefile to dependencies.
648         ($(objpfx)bench-%.c): Depend on bench-deps.
649
650 2013-04-12  Roland McGrath  <roland@hack.frob.com>
651             Xavier Roche  <roche+kml2@exalead.com>
652
653         [BZ #15361]
654         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
655         just that it's a file descriptor.
656         * manual/llio.texi (Synchronizing AIO Operations): Update description
657         for EBADF error from aio_fsync.
658
659 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
660
661         * Rules (bench): Move target definition...
662         * benchtests/Makefile: ... here.
663
664 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
665
666         * math/libm-test.inc (cos_test): Fix PI/2 test.
667         (sincos_test): Likewise.
668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
669         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
670
671 2013-04-11  Andreas Schwab  <schwab@suse.de>
672
673         [BZ #13988]
674         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
675         accept exponent character only when digits were seen.
676         * stdio-common/Makefile (tests): Add bug26.
677         * stdio-common/bug26.c: New file.
678
679         [BZ #14293]
680         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
681         non-freeable.
682
683 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
684
685         * Makeconfig (rtld-prefix): Define built linker prefix.
686         * Rules (run-bench): Use it.
687         * math/Makefile (run-regen-ulps): Likewise.
688
689         * Rules (bench): Remove eval.
690
691 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
692             Roland McGrath  <roland@hack.frob.com>
693             Ondrej Bilka  <neleai@seznam.cz>
694
695         [BZ #15346]
696         * time/getdate.c: Include ctype.h and alloca.h.
697         (__getdate_r): Trim leading and trailing spaces of input.
698         * time/tst-getdate.c (tests): Add tests with leading and
699         trailing spaces.
700
701 2013-04-08  Roland McGrath  <roland@hack.frob.com>
702
703         [BZ #14280]
704         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
705         when computing value.
706
707 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
708
709         * math/README.libm-test (How can I generate "libm-test-ulps"?):
710         Use testrun.sh to run libm tests.
711
712         [BZ #15309]
713         * elf/dl-open.c (dl_open_worker): memset all of seen array.
714
715 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
716
717         [BZ #15264]
718         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
719
720 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
721
722         * Makefile.in (regen-ulps): New target.
723         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
724         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
725         [ifneq (no,$(PERL)] (regen-ulps): New target.
726         [ifeq (no,$(PERL)] (regen-ulps): New target.
727         * math/libm-test.inc (ulps_file_name): Define.
728         (output_dir): New variable.
729         (options): Add "output-dir" option.
730         (parse_opt): Handle 'o' case.
731         (main): If output_dir is non-NULL use it as a prefix
732         otherwise use "".
733         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
734
735 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
736
737         [BZ #10060, #10062]
738         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
739         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
740         fail configure if __sync_val_compare_and_swap is not inlined.
741         * sysdeps/i386/configure: Regenerate.
742         * configure.in: Build for i686 when configured for i386.
743         * configure: Regenerate.
744         * README: Remove i386 reference.
745
746 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
747
748         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
749         * sysdeps/s390/s390-64/sysdep.h: Likewise.
750
751 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
752
753         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
754         (lmsnanval): New variables.
755         (F): Add conversion tests.
756         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
757         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
758
759         * stdio-common/tstdiomisc.c (F): Properly collect individual
760         tests' results.
761
762         [BZ #14686, #15336]
763         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
764         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
765         Instead, use input NaN values or generate a qNaN by arithmetic
766         operation.  Also fix bugs to comply with the standard.
767         * math/libm-test.inc (remainder_test): Add more tests.
768
769         [BZ #15335, #15342]
770         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
772         input NaN values or generate a qNaN by arithmetic operation.
773
774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
775         unreachable code.
776
777         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
778         definitions.
779
780 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
781
782         [BZ #14478]
783         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
784         underflowed result.
785         * math/s_cexpf.c (__cexpf): Likewise.
786         * math/s_cexpl.c (__cexpl): Likewise.
787         * math/libm-test.inc (cexp_test): Add more tests.
788
789 2013-04-03  Andreas Schwab  <schwab@suse.de>
790
791         [BZ #15330]
792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
793         order arrays from heap if bigger than alloca cutoff.
794
795 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
796
797         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
798         (SNAN_TESTS_double): Refer to GCC PR56831.
799         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
800         GCC PR56828.
801
802 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
803
804         * Rules (bench): Move bench.out after the run is complete.
805
806         * Rules (bench): Echo currently running benchmark.
807
808         * benchtests/Makefile (bench): Add atan and slowatan.
809         * benchtests/atan-inputs: New file.
810         * benchtests/slowatan-inputs: New file.
811         * benchtests/slowatan.c: New file.
812
813         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
814         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
815         its value.
816
817         [BZ #15305]
818         * sysdeps/unix/sysv/linux/kernel-features.h
819         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
820         __ASSUME_XFS_RESTRICTED_CHOWN.
821         * sysdeps/unix/sysv/linux/pathconf.c
822         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
823         Save and restore errno.
824
825 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
826
827         [BZ #15327]
828         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
829         arguments using __kernel_casinh.
830         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
831         arguments using __kernel_casinhf.
832         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
833         arguments using __kernel_casinhl.
834         * math/libm-test.inc (cacosh_test): Add more tests.
835         * sysdeps/i386/fpu/libm-test-ulps: Update.
836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
837
838 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
839
840         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
842
843         * bench/Makefile (bench): Add sin and slowsin.
844         * benchtests/sin-inputs: New file.
845         * benchtests/slowsin-inputs: New file.
846         * benchtests/slowsin.c: New file.
847
848         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
849         (bench): Add slowexp and slowpow.
850         (exp-ITER): Increase iterations.
851         (pow-ITER): Likewise.
852         * benchtests/exp-inputs: Change input.
853         * benchtests/pow-inputs: Likewise.
854         * benchtests/slowexp-inputs: New file.
855         * benchtests/slowexp.c: New file.
856         * benchtests/slowpow-inputs: New file.
857         * benchtests/slowpow.c: New file.
858
859 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
860
861         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
862         instructions.
863         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
864         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
865         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
866         * benchtests/Makefile: Add rint benchtest.
867         * benchtests/rint-inputs: Input for rint benchtest.
868
869 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
870
871         * Versions.def (libm): Add GLIBC_2.18.
872         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
873         hidden libm prototypes.
874         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
875         * math/Makefile (libm-calls): Add s_issignaling.
876         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
877         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
878         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
879         declaration.
880         * math/math.h [__USE_GNU] (issignaling): New macro.
881         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
882         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
883         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
884         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
885         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
886         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
887         * manual/arith.texi (issignaling): New section.
888         * manual/libm-err-tab.pl (@all_functions): Update comment.
889         * math/gen-libm-test.pl (parse_args): Apply special handling for
890         issignaling.
891         * math/libm-test.inc (print_float, issignaling_test): New
892         functions.
893         (check_float_internal): Add issignaling checks.
894         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
895         default definition.
896         * sysdeps/powerpc/math-tests.h: New file.
897         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
898         tests.
899         * math/test-snan.c (TEST_FUNC): Likewise.
900
901 2013-03-30  David S. Miller  <davem@davemloft.net>
902
903         * po/de.po: Update from translation team.
904
905 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
906
907         [BZ #10357]
908         * math/k_casinh.c (__kernel_casinh): Handle arguments with
909         imaginary part less than 1.0 and real part less than 0.5
910         specially.
911         * math/k_casinhf.c (__kernel_casinhf): Likewise.
912         * math/k_casinhl.c (__kernel_casinhl): Likewise.
913         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
914         (cacos_test): Add more tests.
915         (casin_test): Likewise.
916         (casinh_test): Likewise.
917         * sysdeps/i386/fpu/libm-test-ulps: Update.
918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
919
920 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
921
922         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
923         ONE with its value.
924
925         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
926         (__pow_mp): Replace ONE and MONE with their values.
927         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
928         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
929         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
930         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
931         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
932         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
933
934         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
935
936         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
937         (__pow_mp): Replace ZERO and MZERO with their values.
938         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
942         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
943         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
944         (__sqr): Likewise.
945
946         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
947
948         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
949
950 2013-03-28  Roland McGrath  <roland@hack.frob.com>
951
952         * include/stdlib.h [!SHARED] (__call_tls_dtors):
953         Declare with __attribute__ ((weak)).
954         * stdlib/exit.c (__libc_atexit) [!SHARED]:
955         Call __call_tls_dtors only if it's not NULL.
956
957 2013-03-28  Roland McGrath  <roland@hack.frob.com>
958
959         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
960         didn't do it already, then set _dl_phdr and _dl_phnum based on the
961         magic __ehdr_start linker symbol if it's defined.
962         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
963         them up here if it was already done.
964
965         * elf/dl-support.c (_dl_phdr): Make pointer to const.
966         (_dl_aux_init): Use const in cast when setting it.
967         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
968         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
969         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
970
971         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
972         Declare them here.
973         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
974         * csu/libc-tls.c: Nor here.
975         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
976
977         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
978         (__libc_message): Never call vsyslog.
979
980 2013-03-28  Alan Modra  <amodra@gmail.com>
981
982         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
983         Define as empty.
984         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
985         Likewise.
986
987 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
988
989         [BZ #15214]
990         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
991         underflow.
992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
993
994 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
995
996         [BZ #15304]
997         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
998         Don't add gid passed as argument.
999
1000         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1001
1002 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
1003
1004         [BZ #15307]
1005         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1006         imaginary part between 1.0 and 1.5 and real part less than 0.5
1007         specially.
1008         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1009         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1010         * math/libm-test.inc (cacos_test): Add more tests.
1011         (casin_test): Likewise.
1012         (casinh_test): Likewise.
1013         * sysdeps/i386/fpu/libm-test-ulps: Update.
1014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015
1016 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1017
1018         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1019         constants.
1020         (norm): Likewise.
1021         (denorm): Likewise.
1022         (__dbl_mp): Likewise.
1023         (add_magnitudes): Likewise.
1024         (sub_magnitudes): Likewise.
1025         (__add): Likewise.
1026         (__sub): Likewise.
1027         (__mul): Likewise.
1028         (__sqr): Likewise.
1029         (__inv): Likewise.
1030         (__dvd): Likewise.
1031
1032         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1033         commented code.
1034         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1035         (__dubcos): Likewise.
1036         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1037         (__ieee754_acos): Likewise.
1038         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1039         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1040         (__exp1): Likewise.
1041         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1043         (log1): Likewise.
1044         (my_log2): Likewise.
1045         (checkint): Likewise.
1046         * sysdeps/ieee754/dbl-64/e_remainder.c
1047         (__ieee754_remainder): Likewise.
1048         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1049         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1050         (bsloww): Likewise.
1051         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1052
1053         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1054         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1055         MANTISSA_STORE_T to store computations on mantissa.  Use
1056         macros for rounding and division.
1057         (denorm): Likewise.
1058         (__dbl_mp): Likewise.
1059         (add_magnitudes): Likewise.
1060         (sub_magnitudes): Likewise.
1061         (__mul): Likewise.
1062         (__sqr): Likewise.
1063         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1064         powers of two in terms of TWOPOW macro.
1065         (mp_no): Make type of mantissa as MANTISSA_T.
1066         [!RADIXI]: Define RADIXI.
1067         [!TWO52]: Define TWO52.
1068         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1069
1070 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1071
1072         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1073         llroundl symbol when building for PPC32.
1074
1075 2013-03-24  Mark H Weaver  <mhw@netris.org>
1076
1077         * manual/arith.texi (Normalization Functions): Fix prototypes for
1078         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1079
1080 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1081
1082         [BZ #13889]
1083         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1084         high value to check if expl overflow.
1085         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1086         to check for underflow and overflow.
1087         * math/libm-test.inc: Add exp test.
1088
1089 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
1090
1091         [BZ #11120]
1092         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1093         with NOT_IN_libc.
1094
1095 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1096
1097         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1098         symbol.
1099
1100 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1101
1102         * math/gen-libm-test.pl (parse_args, special_functions): Properly
1103         wrap blocks consisting of several statements.
1104
1105         * sysdeps/generic/math-tests.h: New file.
1106         * sysdeps/i386/fpu/math-tests.h: Likewise.
1107         * math/test-snan.c: Include it.
1108         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1109
1110 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1111
1112         [BZ #15285]
1113         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1114         (__ieee754_j0l): Do not improve calculations using cos of twice
1115         input for inputs above LDBL_MAX / 2.0L.
1116         (__ieee754_y0l): Likewise.
1117         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1118         (__ieee754_j1l): Do not improve calculations using cos of twice
1119         input for inputs above LDBL_MAX / 2.0L.
1120         (__ieee754_y1l): Likewise.
1121         * math/libm-test.inc (j0_test): Add another test.
1122         (j1_test): Likewise.
1123         (y0_test): Likewise.
1124         (y1_test): Likewise.
1125         * sysdeps/i386/fpu/libm-test-ulps: Update.
1126
1127 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1128
1129         * Rules ($(objpfx)bench-%.c): Include code from a C source
1130         file.
1131
1132 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1133
1134         [BZ #15287]
1135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1136         imaginary part 1.0 and real part less than 0.5 specially.
1137         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1138         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1139         * math/libm-test.inc (cacos_test): Add more tests.
1140         (casin_test): Likewise.
1141         (casinh_test): Likewise.
1142         * sysdeps/i386/fpu/libm-test-ulps: Update.
1143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1144
1145 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1146
1147         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1148         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1149
1150 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
1151
1152         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1153         * config.make.in (config-cflags-sse4): Remove variable.
1154         (config-cflags-avx): Likewise.
1155         (config-cflags-sse2avx): Likewise.
1156         (config-cflags-novzeroupper): Likewise.
1157         (config-asflags-i686): Likewise.
1158         (have-mfma4): Likewise.
1159         (have-as-vis3): Likewise.
1160         (MIG): Likewise.
1161         * configure.in (MIG): Do not AC_SUBST.
1162         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1163         (libc_cv_cc_sse4): Do not AC_SUBST.
1164         (libc_cv_cc_avx): Likewise.
1165         (libc_cv_cc_sse2avx): Likewise.
1166         (libc_cv_cc_novzeroupper): Likewise.
1167         (libc_cv_cc_fma4): Likewise.
1168         (libc_cv_as_i686): Likewise.
1169         (libc_cv_sparc_as_vis3): Likewise.
1170         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1171         LIBC_CONFIG_VAR.
1172         (config-asflags-i686): Likewise.
1173         (config-cflags-avx): Likewise.
1174         (config-cflags-sse2avx): Likewise.
1175         (have-mfma4): Likewise.
1176         (config-cflags-novzeroupper): Likewise.
1177         * sysdeps/mach/configure.in (MIG): Likewise.
1178         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1179         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1180         LIBC_CONFIG_VAR.
1181         (config-cflags-avx): Likewise.
1182         (config-cflags-sse2avx): Likewise.
1183         (have-mfma4): Likewise.
1184         (config-cflags-novzeroupper): Likewise.
1185         * configure: Regenerated.
1186         * sysdeps/i386/configure: Likewise.
1187         * sysdeps/mach/configure: Likewise.
1188         * sysdeps/sparc/configure: Likewise.
1189         * sysdeps/x86_64/configure: Likewise.
1190
1191 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1192
1193         [BZ #14812]
1194         * locale/programs/localedef.c (options): Put N_ translation marker
1195         on argument names, not just descriptions.
1196
1197 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1198
1199         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1200
1201 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1202
1203         [BZ #14176]
1204         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1205
1206 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1207
1208         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1209         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1210         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1211         [!BEFORE_ABORT] (before_abort): New function.
1212         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1213         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1214         (writev_for_fatal): New function.
1215         (WRITEV_FOR_FATAL): New macro; call that.
1216         (backtrace_and_maps): New function.
1217         (BEFORE_ABORT): New macro; call that.
1218         (struct str_list): Type removed.
1219         (__libc_message, __libc_fatal): Functions removed.
1220         Include <sysdeps/posix/libc_fatal.c> instead.
1221
1222 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1223
1224         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1225         constants.
1226         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1227         double constants.
1228
1229 2013-03-19  Andreas Schwab  <schwab@suse.de>
1230
1231         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1232         * sysdeps/gnu/configure: Regenerate.
1233
1234         * configure.in: Substitute libc_cv_rtlddir.
1235         * configure: Regenerate.
1236         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1237         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1238         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1239         * elf/Makefile (install-others, CFLAGS-interp.c)
1240         (ldso_install, common-ldd-rewrite): Likewise.
1241         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1242         $(inst_slibdir)/$(rtld-installed-name).
1243         * scripts/rellns-sh: Add -p option.
1244         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1245         for source.
1246
1247 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1248
1249         * manual/nptl.texi: Renamed to ...
1250         * manual/threads.texi: ... this.
1251         * manual/Makefile (chapters): Update.
1252
1253 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1254
1255         [BZ #14812]
1256         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1257         on argument names, not just descriptions.
1258         * malloc/memusagestat.c (options): Likewise.
1259         * nss/getent.c (options): Likewise.
1260
1261 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1262
1263         [BZ #14812]
1264         * iconv/iconv_prog.c (options): Put N_ translation marker
1265         on argument names, not just descriptions.
1266         * iconv/iconvconfig.c (options): Likewise.
1267
1268 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1269
1270         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1271         implementation which is faster on all x86_64 architectures.
1272         Tested on AMD, Intel Nehalem, SNB, IVB.
1273         * sysdeps/x86_64/strnlen.S: Likewise.
1274
1275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1276         Remove all multiarch strlen and strnlen versions.
1277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1278         Remove strlen and strnlen related parts.
1279
1280         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1281         Inline strlen part.
1282         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1283
1284         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1285         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1286         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1287         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1288         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1290
1291 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1292
1293         * manual/memory.texi (Malloc Tunable Parameters):
1294         Sort parameters alphabetically. Add comments for missing entries.
1295
1296 2013-03-17  David S. Miller  <davem@davemloft.net>
1297
1298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1299
1300 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1301
1302         [BZ #15283]
1303         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1304         for arguments at most half maximum finite value.
1305         * math/libm-test.inc (j0_test): Add more tests.
1306         (j1_test): Likewise.
1307         (y0_test): Likewise.
1308         (y1_test): Likewise.
1309         * sysdeps/i386/fpu/libm-test-ulps: Update.
1310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1311
1312         [BZ #14155]
1313         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1314         1 / x and functions P and Q for arguments above 0x1p256L.
1315         (__ieee754_y0l): Likewise.
1316         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1317         (__ieee754_y1l): Likewise.
1318         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1319         (j1_test): Likewise.
1320         (y0_test): Likewise.
1321         (y1_test): Likewise.
1322
1323 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1324
1325         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1326         variable.
1327
1328 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1329
1330         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1331         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1332         zero since it's initialized to EXEC_PAGESIZE.
1333
1334         * sysdeps/unix/sysv/linux/ldsodefs.h
1335         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1336         * sysdeps/generic/ldsodefs.h: ... here.
1337
1338 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1339
1340         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1341
1342         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1343         math/test-snan.c.
1344         * math/test-snan.c: Renamed from
1345         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1346         * math/Makefile (tests): Add test-snan.
1347         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1348         test-powerpc-snan.
1349
1350         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1351         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1352         functions.
1353         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1354         __builtin_nan family of functions.
1355         * math/libm-test.inc (initialize): Initialize qnan_value with
1356         __builtin_nan family of functions.
1357         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1358         Remove variables.
1359         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1360         Remove functions.
1361         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1362         storage class.  Initialize qNaN_var and sNaN_var with
1363         __builtin_nan and __builtin_nans families of functions,
1364         respectively.
1365
1366         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1367         (sqrt_test): Remove duplicate test with qNaN input.
1368         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1369         (round_test, signbit_test, significand_test): Note missing +/-Inf
1370         as well as qNaN tests.
1371
1372         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1373         qNaN_var.  Fix a few strings, too.
1374         * math/libm-test.inc (nan_value): Rename to qnan_value.
1375         * math/gen-libm-test.pl (%beautify): Adjust to that.
1376         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1377         * math/test-misc.c (main): Likewise.
1378         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1379         to __qnan_bytes, and __qnan_union, respectively.
1380         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1381         Likewise.
1382         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1383         and lqnanval, respectively.
1384         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1385         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1386         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1387         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1388
1389         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1390         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1391         doubles.
1392
1393         * math/test-misc.c (main): Fix copy'n'pastos.
1394         * misc/tst-efgcvt.c (special): Likewise.
1395
1396         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1397         Remove declarations.
1398
1399 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1400
1401         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1402         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1403         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1404         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1405
1406 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1407
1408         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1409         macro to return vdso values correctly in IFUNC implementations.
1410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1411         Optimization by using IFUNC.
1412
1413 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1414             Richard Henderson  <rth@redhat.com>
1415             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1416
1417         * Makefile.in (bench): New target.
1418         * NEWS: Mention the benchmark framework.
1419         * Rules (bench): Likewise.
1420         (binaries-bench): Generate binaries for functions to
1421         benchmark.
1422         * benchtests/Makefile: New makefile for benchmark tests.
1423         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1424         programs.
1425         * benchtests/exp-inputs: New input file for EXP function.
1426         * benchtests/pow-inputs: New input file for POW function.
1427         * scripts/bench.pl: New script to generate source files for
1428         benchmark programs.
1429
1430 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1431
1432         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1433         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1434         computations on mantissa.  Use macros for rounding and
1435         division.
1436         (denorm): Likewise.
1437         (__dbl_mp): Likewise.
1438         (add_magnitudes): Likewise.
1439         (sub_magnitudes): Likewise.
1440         (__mul): Likewise.
1441         (__sqr): Likewise.
1442         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1443         powers of two in terms of TWOPOW macro.
1444         (mp_no): Make type of mantissa as MANTISSA_T.
1445         [!RADIXI]: Define RADIXI.
1446         [!TWO52]: Define TWO52.
1447         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1448
1449         * manual/nptl.texi (cindex): Modify threads to pthreads.
1450
1451 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1452
1453         * sysdeps/x86_64/preconfigure: Regenerated.
1454
1455 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1456
1457         [BZ #14155]
1458         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1459         0x1p28 and above.
1460         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1461         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1462         0x1p28 and above.
1463         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1464         * math/libm-test.inc (j0_test): Do not allow one spurious
1465         underflow exception.
1466         (y1_test): Likewise.
1467
1468 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1469
1470         * manual/Makefile (chapters): Add nptl.
1471         * manual/debug.texi (Debugging Support): Add link to Threads
1472         chapter.
1473         * manual/nptl.texi: New file.
1474
1475         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1476
1477 2013-03-14  Petr Baudis  <pasky@ucw.cz>
1478
1479         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1480         for non-NULL pointer before the memory validity test. Pointed
1481         out by Holger Brunck <holger.brunck@keymile.com>.
1482
1483 2013-03-13  Andreas Schwab  <schwab@suse.de>
1484
1485         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1486         instead of .os.
1487
1488 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
1489
1490         * timezone/zic.c: Update from tzcode 2013b.
1491
1492 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1493
1494         * manual/install.texi (Configuring and compiling):
1495         Mention i686 and i586.
1496         * INSTALL: Regenerate.
1497
1498 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1499
1500         * sysdeps/init_array/elf-init.c: New file.
1501         * csu/elf-init.c
1502         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1503         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1504
1505         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1506         __gmon_start__ as global, but as static with a .preinit_array pointer.
1507         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1508         * sysdeps/init_array/crti.S: New file, empty except for comments.
1509         * sysdeps/init_array/crtn.S: Likewise.
1510
1511 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1512
1513         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1514         definining bcopy.
1515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1516         Remove Prefer_SSE_for_memop.
1517         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1518         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1519         HAS_PREFER_SSE_FOR_MEMOP.
1520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1521         memset-x86-64.
1522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1523         Remove bzero, memset ifunc support.
1524         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1525         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1526         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1527         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1528
1529 2013-03-11  Andreas Schwab  <schwab@suse.de>
1530
1531         [BZ #15234]
1532         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1533         by SHLIB_COMPAT.
1534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1535         (GLIBC_2.16): Remove pthread_atfork.
1536
1537 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1538
1539         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1540         (ptestcases.h): Likewise.
1541
1542 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1543
1544         * Makeconfig ($(common-objpfx)config.status): Depend on
1545         sysdeps/*/preconfigure{,.in} too.
1546
1547 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1548
1549         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1550         (__free_hook): Use void * instead of __malloc_ptr_t.
1551         (__malloc_hook): Likewise.
1552         (__realloc_hook): Likewise.
1553         (__memalign_hook): Likewise.
1554         (__after_morecore_hook): Likewise.
1555         * malloc/arena.c (save_malloc_hook): Likewise.
1556         (save_free_hook): Likewise.
1557         * malloc/hooks.c (malloc_hook_ini): Likewise.
1558         (realloc_hook_ini): Likewise.
1559         (memalign_hook_ini): Likewise.
1560         * malloc/malloc.c (malloc_hook_ini): Likewise.
1561         (realloc_hook_ini): Likewise.
1562         (memalign_hook_ini): Likewise.
1563         (__free_hook): Likewise.
1564         (__malloc_hook): Likewise.
1565         (__realloc_hook): Likewise.
1566         (__memalign_hook): Likewise.
1567         (__libc_malloc): Likewise.
1568         (__libc_free): Likewise.
1569         (__libc_realloc): Likewise.
1570         (__libc_memalign): Likewise.
1571         (__libc_valloc): Likewise.
1572         (__libc_pvalloc): Likewise.
1573         (__libc_calloc): Likewise.
1574         (__posix_memalign): Likewise.
1575         * malloc/morecore.c (__sbrk): Likewise.
1576         (__default_morecore): Likewise.
1577
1578         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1579
1580         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1581         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1582         __malloc_ptrdiff_t.
1583
1584         * malloc/malloc.h (__malloc_size_t): Remove macro.
1585         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1586         __malloc_size_t.
1587         (old_memalign_hook): Likewise.
1588         (old_realloc_hook): Likewise.
1589         (struct hdr): Likewise.
1590         (flood): Likewise.
1591         (mallochook): Likewise.
1592         (memalignhook): Likewise.
1593         (reallochook): Likewise.
1594         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1595         (tr_old_realloc_hook): Likewise.
1596         (tr_old_memalign_hook): Likewise.
1597         (tr_mallochook): Likewise.
1598         (tr_reallochook): Likewise.
1599         (tr_memalignhook): Likewise.
1600
1601 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1602
1603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1604         default_ldbl_pack and using as default implementation.
1605         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1606         implementation.
1607         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1608         redundant definition.
1609         (ldbl_insert_mantissa): Likewise.
1610         (ldbl_canonicalize): Likewise.
1611         (ldbl_nearbyint): Likewise.
1612         (ldbl_pack): Rename to ldbl_pack_ppc.
1613         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1614         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1615         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1616
1617 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1618
1619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1620         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1621         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1622         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1624         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1625         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1626         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1627
1628 2013-03-07  Andreas Jaeger  <aj@suse.de>
1629
1630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1631         bits/mman-linux.h.
1632
1633 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1634
1635         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1636         Include mpa.h and declare __MPEXP.
1637         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1638         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1639         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1640         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1641         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1642         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1643         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1644
1645         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1646         (__slowpow): Use long double EXPL and LOGL functions to
1647         compute POW.
1648         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1649         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1652         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1653         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1654
1655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1656         intermediate variable to calculate exponent.
1657         (__sqr): Likewise.
1658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1659         Likewise.
1660         (__sqr): Likewise.
1661
1662         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1663         [!NO__SQR]: Define __sqr.
1664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1665         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1666         sysdeps/ieee754/dbl-64/mpa.c.
1667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1668
1669         [BZ #12723]
1670         * posix/Makefile (tests): Add tst-pathconf.
1671         * posix/tst-pathconf.c: New test case.
1672         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1673         _PC_PIPE_BUF.
1674         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1675
1676 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1677
1678         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1679
1680 2013-03-06  Andreas Jaeger  <aj@suse.de>
1681
1682         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1683         definition via __MAP_ANONYMOUS.
1684
1685         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1686         it's not part of Linux headers.
1687
1688         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1689         (MAP_HUGE_MASK): Define.
1690
1691         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1692         Define.
1693         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1695         Define.
1696         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1697         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1698         Define.
1699         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1700         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1701         Define.
1702         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1703
1704         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1705         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1706         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1707         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1708         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1709         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1710
1711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1712         Handle f2fs.
1713
1714         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1715         Handle f2fs and efivarfs.
1716
1717         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1718         f2fs.
1719
1720         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1721         (EFIVARFS_MAGIC): Add.
1722         (F2FS_LINK_MAX): Add.
1723
1724 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1725
1726         * stdio-common/vfprintf.c: Replace __builtin_expect with
1727         __glibc_unlikely.
1728
1729 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1730
1731         [BZ #13550]
1732         * sysdeps/generic/bp-sym.h: Remove file.
1733         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1734         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1735         <bp-sym.h> and <bp-asm.h>.
1736         (__longjmp): Don't use BP_SYM.
1737         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1738         and <bp-asm.h>.
1739         (memcpy): Don't use BP_SYM.
1740         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1741         <bp-sym.h> and <bp-asm.h>.
1742         (memcpy): Don't use BP_SYM.
1743         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1744         <bp-asm.h>.
1745         (memcpy): Don't use BP_SYM.
1746         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1747         <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/power4/memcmp.S: Don't include
1755         <bp-sym.h> and <bp-asm.h>.
1756         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1757         pointers.
1758         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1759         <bp-sym.h> and <bp-asm.h>.
1760         (memcpy): Don't use BP_SYM.
1761         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1762         <bp-sym.h> and <bp-asm.h>.
1763         (memset): Don't use BP_SYM.
1764         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1765         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1766         (__bzero): Don't use BP_SYM.
1767         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1768         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1769         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1770         <bp-sym.h> and <bp-asm.h>.
1771         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1772         pointers.
1773         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1774         <bp-sym.h> and <bp-asm.h>.
1775         (memcpy): Don't use BP_SYM.
1776         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1777         <bp-sym.h> and <bp-asm.h>.
1778         (memset): Don't use BP_SYM.
1779         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1780         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1781         (__bzero): Don't use BP_SYM.
1782         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1783         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1784         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1785         <bp-sym.h> and <bp-asm.h>.
1786         (__memchr): Don't use BP_SYM.
1787         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1788         <bp-sym.h> and <bp-asm.h>.
1789         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1790         pointers.
1791         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1792         <bp-sym.h> and <bp-asm.h>.
1793         (memcpy): Don't use BP_SYM.
1794         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1795         <bp-sym.h> and <bp-asm.h>.
1796         (__mempcpy): Don't use BP_SYM.
1797         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1798         <bp-sym.h> and <bp-asm.h>.
1799         (__memrchr): Don't use BP_SYM.
1800         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1801         <bp-sym.h> and <bp-asm.h>.
1802         (memset): Don't use BP_SYM.
1803         (__bzero): Likewise.
1804         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1805         <bp-sym.h> and <bp-asm.h>.
1806         (__rawmemchr): Don't use BP_SYM.
1807         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1808         <bp-sym.h> and <bp-asm.h>.
1809         (__STRCMP): Don't use BP_SYM.
1810         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1811         <bp-sym.h> and <bp-asm.h>.
1812         (strchr): Don't use BP_SYM.
1813         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1814         <bp-sym.h> and <bp-asm.h>.
1815         (__strchrnul): Don't use BP_SYM.
1816         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1817         <bp-sym.h> and <bp-asm.h>.
1818         (strlen): Don't use BP_SYM.
1819         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1820         <bp-sym.h> and <bp-asm.h>.
1821         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1822         pointers.
1823         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1824         <bp-sym.h> and <bp-asm.h>.
1825         (__strnlen): Don't use BP_SYM.
1826         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1827         <bp-sym.h> and <bp-asm.h>.
1828         (__GI__setjmp): Don't use BP_SYM.
1829         (_setjmp): Likewise.
1830         (__sigsetjmp): Likewise.
1831         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1832         (L(start_addresses)): Don't use BP_SYM.
1833         (_start): Likewise.
1834         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1835         <bp-asm.h>.
1836         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1837         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1838         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1839         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1840         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1841         <bp-asm.h>.
1842         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1843         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1844         about bounded pointers.
1845         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1846         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1847         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1848         <bp-asm.h>.
1849         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1850         about bounded pointers.  Remove GKM FIXME comments.
1851         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1852         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1853         <bp-asm.h>.
1854         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1855         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1856         Remove GKM FIXME comments.
1857         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1858         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1859         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1860         <bp-asm.h>.
1861         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1862         about bounded pointers.  Remove GKM FIXME comment.
1863         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1864         and <bp-asm.h>.
1865         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1866         pointers.
1867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1868         <bp-sym.h> and <bp-asm.h>.
1869         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1871         <bp-sym.h> and <bp-asm.h>.
1872         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1873         comment.
1874
1875 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1876
1877         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1878         call free(NULL).
1879
1880 2013-03-05  David S. Miller  <davem@davemloft.net>
1881
1882         * po/es.po: Update from translation team.
1883
1884 2013-03-05  Andreas Jaeger  <aj@suse.de>
1885
1886         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1887         <bits/mman-linux.h>.
1888         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1889         is fine.
1890         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1891         <bits/mman-linux.h> to end of file.
1892         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1893         is fine.
1894         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1895         <bits/mman-linux.h> to end of file.
1896         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1897         is fine.
1898         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1899         <bits/mman-linux.h> to end of file.
1900
1901         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1902         (MCL_CURRENT, MCL_FUTURE): Define here.
1903
1904 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1905
1906         [BZ #15232]
1907         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1908         attribute_hidden.
1909         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1910
1911 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1912
1913         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1914         fourth parameter needed for rt_sigprocmask syscall.
1915         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1916         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1917         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1918         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1919         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1920         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1921
1922 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1923
1924         [BZ #13550]
1925         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1926         comment about bounded pointers.
1927         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1928         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1929
1930 2013-03-04  Andreas Jaeger  <aj@suse.de>
1931
1932         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1933         common definitions.
1934
1935         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1936         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1937         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1938         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1941
1942 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1943
1944         [BZ #15055]
1945         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1946         __ieee754_sqrl instead of __sqrl.
1947
1948 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1949
1950         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1951         * sysdeps/powerpc/fpu_control.h: ... here.
1952         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1953         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1954         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1955         * sysdeps/powerpc/bits/mathinline.h: ... here.
1956
1957 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1958
1959         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1960         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1961         to just [NEED_DL_SYSINFO_DSO].
1962         * elf/dl-support.c: Likewise.
1963         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1964         * elf/rtld.c (dl_main): Likewise.
1965         * elf/setup-vdso.h (setup_vdso): Likewise.
1966         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1967         * sysdeps/unix/sysv/linux/dl-sysdep.c
1968         (_dl_discover_osversion): Likewise.
1969
1970 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1971
1972         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1973         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1974
1975 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1976
1977         * NEWS: Mention libm performance improvements and non-x86 PI
1978         futex support.
1979
1980         * csu/libc-start.c (__pthread_initialize_minimal): Change
1981         function arguments.
1982         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1983
1984 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1985
1986         [BZ #13550]
1987         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1988         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1989         <bp-sym.h> and <bp-asm.h>.
1990         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1991         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1992         and <bp-asm.h>.
1993         (memcpy): Don't use BP_SYM.
1994         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1995         <bp-asm.h>.
1996         (__mpn_add_n): Don't use BP_SYM.
1997         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1998         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1999         and <bp-asm.h>.
2000         (__mpn_addmul_1): Don't use BP_SYM.
2001         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2002         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2003         <bp-sym.h>.
2004         (_setjmp): Don't use BP_SYM.
2005         (__novmx_setjmp): Likewise.
2006         (__GI__setjmp): Likewise.
2007         (__vmx_setjmp): Likewise.
2008         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2009         <bp-sym.h>.
2010         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2011         (__bzero): Don't use BP_SYM.
2012         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2013         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2014         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2015         <bp-sym.h> and <bp-asm.h>.
2016         (memcpy): Don't use BP_SYM.
2017         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2018         <bp-sym.h> and <bp-asm.h>.
2019         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2020         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2021         <bp-sym.h> and <bp-asm.h>.
2022         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2023         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2024         <bp-asm.h>.
2025         (__mpn_lshift): Don't use BP_SYM.
2026         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2027         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2028         <bp-asm.h>.
2029         (memset): Don't use BP_SYM.
2030         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2031         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2032         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2033         <bp-asm.h>.
2034         (__mpn_mul_1): Don't use BP_SYM.
2035         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2036         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2037         <bp-sym.h> and <bp-asm.h>.
2038         (memcmp): Don't use BP_SYM.
2039         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2040         <bp-sym.h> and <bp-asm.h>.
2041         (memcpy): Don't use BP_SYM.
2042         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2043         <bp-sym.h> and <bp-asm.h>.
2044         (memset): Don't use BP_SYM.
2045         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2046         <bp-sym.h> and <bp-asm.h>.
2047         (strncmp): Don't use BP_SYM.
2048         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2049         <bp-sym.h> and <bp-asm.h>.
2050         (memcpy): Don't use BP_SYM.
2051         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2052         <bp-sym.h> and <bp-asm.h>.
2053         (memset): Don't use BP_SYM.
2054         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2055         <bp-sym.h> and <bp-asm.h>.
2056         (__memchr): Don't use BP_SYM.
2057         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2058         <bp-sym.h> and <bp-asm.h>.
2059         (memcmp): Don't use BP_SYM.
2060         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2061         <bp-sym.h> and <bp-asm.h>.
2062         (memcpy): Don't use BP_SYM.
2063         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2064         <bp-sym.h> and <bp-asm.h>.
2065         (__mempcpy): Don't use BP_SYM.
2066         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2067         <bp-sym.h> and <bp-asm.h>.
2068         (__memrchr): Don't use BP_SYM.
2069         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2070         <bp-sym.h> and <bp-asm.h>.
2071         (memset): Don't use BP_SYM.
2072         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2073         <bp-sym.h> and <bp-asm.h>.
2074         (__rawmemchr): Don't use BP_SYM.
2075         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2076         <bp-sym.h> and <bp-asm.h>.
2077         (__STRCMP): Don't use BP_SYM.
2078         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2079         <bp-sym.h> and <bp-asm.h>.
2080         (strchr): Don't use BP_SYM.
2081         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2082         <bp-sym.h> and <bp-asm.h>.
2083         (__strchrnul): Don't use BP_SYM.
2084         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2085         <bp-sym.h> and <bp-asm.h>.
2086         (strlen): Don't use BP_SYM.
2087         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2088         <bp-sym.h> and <bp-asm.h>.
2089         (strncmp): Don't use BP_SYM.
2090         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2091         <bp-sym.h> and <bp-asm.h>.
2092         (__strnlen): Don't use BP_SYM.
2093         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2094         <bp-asm.h>.
2095         (__mpn_rshift): Don't use BP_SYM.
2096         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2097         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2098         <bp-sym.h> and <bp-asm.h>.
2099         (__sigsetjmp): Don't use BP_SYM.
2100         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2101         (L(start_addresses)): Don't use BP_SYM.
2102         (_start): Likewise.
2103         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2104         <bp-asm.h>.
2105         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2106         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2107         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2108         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2109         <bp-asm.h>.
2110         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2111         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2112         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2113         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2114         <bp-asm.h>.
2115         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2116         comments.
2117         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2118         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2119         <bp-asm.h>.
2120         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
2121         FIXME comments.
2122         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2123         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2124         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2125         <bp-asm.h>.
2126         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2127         comment.
2128         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2129         and <bp-asm.h>.
2130         (strncmp): Don't use BP_SYM,
2131         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2132         <bp-asm.h>.
2133         (__mpn_sub_n): Don't use BP_SYM.
2134         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2135         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2136         and <bp-asm.h>.
2137         (__mpn_submul_1): Don't use BP_SYM.
2138         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2140         <bp-sym.h> and <bp-asm.h>.
2141         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2143         <bp-sym.h> and <bp-asm.h>.
2144         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2145         comment.
2146
2147 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2148
2149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2150         Use ZK to minimize writes to Z.
2151         (sub_magnitudes): Simplify code a bit.
2152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2153         Use ZK to minimize writes to Z.
2154         (sub_magnitudes): Simplify code a bit.
2155
2156 2013-02-27  Roland McGrath  <roland@hack.frob.com>
2157
2158         * csu/gmon-start.c: Add special exception to license text.
2159
2160 2013-02-27  Richard Henderson  <rth@redhat.com>
2161
2162         * scripts/config.guess: Update from config.git.
2163         * scripts/config.sub: Likewise.
2164
2165 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2166
2167         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2168
2169         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2170
2171         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2172
2173         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2174
2175         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2176
2177 2013-02-26  Roland McGrath  <roland@hack.frob.com>
2178
2179         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2180         [$(build-shared = yes].
2181
2182 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2183
2184         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2185         (__mul): Reduce iterations for calculating mantissa.
2186
2187         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2188         MPTWO.
2189         (__mpranred): Likewise.
2190
2191         [BZ #15160]
2192         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2193         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2194
2195 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2196
2197         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2198         Define __attribute__.
2199
2200 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2201
2202         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2203         unused.
2204         * posix/regex_internal.h (__attribute): Remove.
2205         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2206         (re_string_context_at): Likewise.
2207         (bitset_not): Use __attribute__ and mark function as possibly
2208         unused.
2209         (bitset_merge): Likewise.
2210         (bitset_mask): Likewise.
2211         (re_string_char_size_at): Likewise.
2212         (re_string_wchar_at): Likewise.
2213         (re_string_elem_size_at): Likewise.
2214
2215 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2216
2217         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2218         code.
2219         (cc32): Likewise.
2220
2221         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2222         (__acr): Likewise.
2223         (__cpy): Likewise.
2224         (norm): Likewise.
2225         (denorm): Likewise.
2226         (__dbl_mp): Likewise.
2227         (add_magnitudes): Likewise.
2228         (sub_magnitudes): Likewise.
2229         (__mul): Likewise.
2230         (__inv): Likewise.
2231
2232         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2233         style.
2234
2235         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2236         style.
2237
2238         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2239         code.
2240
2241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2242         up changes with default code.
2243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2244         Likewise.
2245
2246 2013-02-24  Allan McRae  <allan@archlinux.org>
2247
2248         * manual/socket.texi (The Internet Namespace): Order menu items
2249         to match that in the file.
2250
2251         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2252         node listing of the info page menu.
2253
2254 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2255
2256         [BZ #13550]
2257         * sysdeps/i386/bp-asm.h: Remove file.
2258         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2259         (PARMS): Do not use macros from bp-asm.h.
2260         (S1): Likewise.
2261         (S2): Likewise.
2262         (SIZE): Likewise.
2263         (__mpn_add_n): Do not use BP_SYM
2264         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2265         "bp-asm.h".
2266         (PARMS): Do not use macros from bp-asm.h.
2267         (S1): Likewise.
2268         (SIZE): Likewise.
2269         (__mpn_addmul_1): Do not use BP_SYM
2270         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2271         "bp-asm.h".
2272         (PARMS): Do not use macros from bp-asm.h.
2273         (SIGMSK): Likewise.
2274         (_setjmp): Likewise.  Do not use BP_SYM.
2275         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2276         "bp-asm.h".
2277         (PARMS): Do not use macros from bp-asm.h.
2278         (SIGMSK): Likewise.
2279         (setjmp): Likewise.  Do not use BP_SYM.
2280         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2281         "bp-asm.h".
2282         (PARMS): Do not use macros from bp-asm.h.
2283         (__frexp): Do not use BP_SYM.
2284         (frexp): Likewise.
2285         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2286         "bp-asm.h".
2287         (PARMS): Do not use macros from bp-asm.h.
2288         (__frexpf): Do not use BP_SYM.
2289         (frexpf): Likewise.
2290         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2291         "bp-asm.h".
2292         (PARMS): Do not use macros from bp-asm.h.
2293         (__frexpl): Do not use BP_SYM.
2294         (frexpl): Likewise.
2295         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2296         "bp-asm.h".
2297         (PARMS): Do not use macros from bp-asm.h.
2298         (__remquo): Do not use BP_SYM.
2299         (remquo): Likewise.
2300         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2301         "bp-asm.h".
2302         (PARMS): Do not use macros from bp-asm.h.
2303         (__remquof): Do not use BP_SYM.
2304         (remquof): Likewise.
2305         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2306         "bp-asm.h".
2307         (PARMS): Do not use macros from bp-asm.h.
2308         (__remquol): Do not use BP_SYM.
2309         (remquol): Likewise.
2310         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2311         "bp-asm.h".
2312         (PARMS): Do not use macros from bp-asm.h.
2313         (DEST): Likewise.
2314         (SRC): Likewise.
2315         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2316         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2317         "bp-asm.h".
2318         (PARMS): Do not use macros from bp-asm.h.
2319         (strlen): Do not use BP_SYM.
2320         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2321         "bp-asm.h".
2322         (PARMS): Do not use macros from bp-asm.h.
2323         (S1): Likewise.
2324         (S2): Likewise.
2325         (SIZE): Likewise.
2326         (__mpn_add_n): Do not use BP_SYM.
2327         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2328         "bp-asm.h".
2329         (PARMS): Do not use macros from bp-asm.h.
2330         (S1): Likewise.
2331         (SIZE): Likewise.
2332         (__mpn_addmul_1): Do not use BP_SYM.
2333         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2334         weak_alias.
2335         (bzero): Likewise.
2336         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2337         "bp-asm.h".
2338         (PARMS): Do not use macros from bp-asm.h.
2339         (S): Likewise.
2340         (SIZE): Likewise.
2341         (__mpn_lshift): Do not use BP_SYM.
2342         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2343         "bp-asm.h".
2344         (PARMS): Do not use macros from bp-asm.h.
2345         (DEST): Likewise.
2346         (SRC): Likewise.
2347         (LEN): Likewise.
2348         (memcpy): Likewise.  Do not use BP_SYM.
2349         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2350         libc_hidden_def and weak_alias.
2351         (mempcpy): Do not use BP_SYM in weak_alias.
2352         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2353         "bp-asm.h".
2354         (PARMS): Do not use macros from bp-asm.h.
2355         (DEST): Likewise.
2356         (LEN): Likewise.
2357         [!BZERO_P] (CHR): Likewise.
2358         (memset): Likewise.  Do not use BP_SYM.
2359         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2360         "bp-asm.h".
2361         (PARMS): Do not use macros from bp-asm.h.
2362         (S1): Likewise.
2363         (SIZE): Likewise.
2364         (__mpn_mul_1): Do not use BP_SYM.
2365         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2366         "bp-asm.h".
2367         (PARMS): Do not use macros from bp-asm.h.
2368         (S): Likewise.
2369         (SIZE): Likewise.
2370         (__mpn_rshift): Do not use BP_SYM.
2371         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2372         "bp-asm.h".
2373         (PARMS): Do not use macros from bp-asm.h.
2374         (STR): Likewise.
2375         (CHR): Likewise.
2376         (strchr): Likewise.  Do not use BP_SYM.
2377         (index): Do not use BP_SYM in weak_alias.
2378         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2379         "bp-asm.h".
2380         (PARMS): Do not use macros from bp-asm.h.
2381         (DEST): Likewise.
2382         (SRC): Likewise.
2383         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2384         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2385         "bp-asm.h".
2386         (PARMS): Do not use macros from bp-asm.h.
2387         (strlen): Do not use BP_SYM.
2388         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2389         "bp-asm.h".
2390         (PARMS): Do not use macros from bp-asm.h.
2391         (S1): Likewise.
2392         (S2): Likewise.
2393         (SIZE): Likewise.
2394         (__mpn_sub_n): Do not use BP_SYM.
2395         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2396         "bp-asm.h".
2397         (PARMS): Do not use macros from bp-asm.h.
2398         (S1): Likewise.
2399         (SIZE): Likewise.
2400         (__mpn_submul_1): Do not use BP_SYM.
2401         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2402         "bp-asm.h".
2403         (PARMS): Do not use macros from bp-asm.h.
2404         (S1): Likewise.
2405         (S2): Likewise.
2406         (SIZE): Likewise.
2407         (__mpn_add_n): Do not use BP_SYM.
2408         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2409         weak_alias.
2410         (bzero): Likewise.
2411         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2412         "bp-asm.h".
2413         (PARMS): Do not use macros from bp-asm.h.
2414         (BLK2): Likewise.
2415         (LEN): Likewise.
2416         (memcmp): Do not use BP_SYM.
2417         (bcmp): Do not use BP_SYM in weak_alias.
2418         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2419         "bp-asm.h".
2420         (PARMS): Do not use macros from bp-asm.h.
2421         (DEST): Likewise.
2422         (SRC): Likewise.
2423         (LEN): Likewise.
2424         (memcpy): Likewise.  Do not use BP_SYM.
2425         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2426         "bp-asm.h".
2427         (PARMS): Do not use macros from bp-asm.h.
2428         (DEST): Likewise.
2429         (SRC): Likewise.
2430         (LEN): Likewise.
2431         (memmove): Likewise.  Do not use BP_SYM.
2432         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2433         "bp-asm.h".
2434         (PARMS): Do not use macros from bp-asm.h.
2435         (DEST): Likewise.
2436         (SRC): Likewise.
2437         (LEN): Likewise.
2438         (__mempcpy): Likewise.  Do not use BP_SYM.
2439         (mempcpy): Do not use BP_SYM in weak_alias.
2440         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2441         "bp-asm.h".
2442         (PARMS): Do not use macros from bp-asm.h.
2443         (DEST): Likewise.
2444         (LEN): Likewise.
2445         [!BZERO_P] (CHR): Likewise.
2446         (memset): Likewise.  Do not use BP_SYM.
2447         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2448         "bp-asm.h".
2449         (PARMS): Do not use macros from bp-asm.h.
2450         (STR2): Likewise.
2451         (strcmp): Do not use BP_SYM.
2452         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2453         "bp-asm.h".
2454         (PARMS): Do not use macros from bp-asm.h.
2455         (STR): Likewise.
2456         (DELIM): Likewise.
2457         [USE_AS_STRTOK_R] (SAVE): Likewise.
2458         (FUNCTION): Likewise.  Do not use BP_SYM.
2459         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2460         aliases.
2461         (strtok_r): Likewise.
2462         (__GI___strtok_r): Likewise.
2463         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2464         (PARMS): Do not use macros from bp-asm.h.
2465         (S): Likewise.
2466         (SIZE): Likewise.
2467         (__mpn_lshift): Do not use BP_SYM.
2468         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2469         (PARMS): Do not use macros from bp-asm.h.
2470         (STR): Likewise.
2471         (CHR): Likewise.
2472         (__memchr): Do not use BP_SYM.
2473         (memchr): Do not use BP_SYM in weak_alias.
2474         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2475         (PARMS): Do not use macros from bp-asm.h.
2476         (BLK2): Likewise.
2477         (LEN): Likewise.
2478         (memcmp): Do not use BP_SYM.
2479         (bcmp): Do not use BP_SYM in weak_alias.
2480         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2481         (PARMS): Do not use macros from bp-asm.h.
2482         (S1): Likewise.
2483         (SIZE): Likewise.
2484         (__mpn_mul_1): Do not use BP_SYM.
2485         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2486         "bp-asm.h".
2487         (PARMS): Do not use macros from bp-asm.h.
2488         (STR): Likewise.
2489         (CHR): Likewise.
2490         (__rawmemchr): Do not use BP_SYM.
2491         (rawmemchr): Do not use BP_SYM in weak_alias.
2492         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2493         (PARMS): Do not use macros from bp-asm.h.
2494         (S): Likewise.
2495         (SIZE): Likewise.
2496         (__mpn_rshift): Do not use BP_SYM.
2497         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2498         (PARMS): Do not use macros from bp-asm.h.
2499         (SIGMSK): Likewise.
2500         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2501         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2502         (_start): Do not use BP_SYM.
2503         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2504         (PARMS): Do not use macros from bp-asm.h.
2505         (DEST): Likewise.
2506         (SRC): Likewise.
2507         (__stpcpy): Likewise.  Do not use BP_SYM.
2508         (stpcpy): Do not use BP_SYM in weak_alias.
2509         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2510         "bp-asm.h".
2511         (PARMS): Do not use macros from bp-asm.h.
2512         (DEST): Likewise.
2513         (SRC): Likewise.
2514         (LEN): Likewise.
2515         (__stpncpy): Likewise.  Do not use BP_SYM.
2516         (stpncpy): Do not use BP_SYM in weak_alias.
2517         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2518         (PARMS): Do not use macros from bp-asm.h.
2519         (STR): Likewise.
2520         (CHR): Likewise.
2521         (strchr): Likewise.  Do not use BP_SYM.
2522         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2523         "bp-asm.h".
2524         (PARMS): Do not use macros from bp-asm.h.
2525         (STR): Likewise.
2526         (CHR): Likewise.
2527         (__strchrnul): Likewise.  Do not use BP_SYM.
2528         (strchrnul): Do not use BP_SYM in weak_alias.
2529         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2530         "bp-asm.h".
2531         (PARMS): Do not use macros from bp-asm.h.
2532         (STOP): Likewise.
2533         (strcspn): Do not use BP_SYM.
2534         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2535         "bp-asm.h".
2536         (PARMS): Do not use macros from bp-asm.h.
2537         (STR): Likewise.
2538         (STOP): Likewise.
2539         (strpbrk): Likewise.  Do not use BP_SYM.
2540         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2541         "bp-asm.h".
2542         (PARMS): Do not use macros from bp-asm.h.
2543         (STR): Likewise.
2544         (CHR): Likewise.
2545         (strrchr): Likewise.  Do not use BP_SYM.
2546         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2547         (PARMS): Do not use macros from bp-asm.h.
2548         (SKIP): Likewise.
2549         (strspn): Do not use BP_SYM.
2550         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2551         (PARMS): Do not use macros from bp-asm.h.
2552         (STR): Likewise.
2553         (DELIM): Likewise.
2554         (SAVE): Likewise.
2555         (FUNCTION): Likewise.  Do not use BP_SYM.
2556         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2557         aliases.
2558         (strtok_r): Likewise.
2559         (__GI___strtok_r): Likewise.
2560         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2561         (PARMS): Do not use macros from bp-asm.h.
2562         (S1): Likewise.
2563         (S2): Likewise.
2564         (SIZE): Likewise.
2565         (__mpn_sub_n): Do not use BP_SYM.
2566         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2567         "bp-asm.h".
2568         (PARMS): Do not use macros from bp-asm.h.
2569         (S1): Likewise.
2570         (SIZE): Likewise.
2571         (__mpn_submul_1): Do not use BP_SYM.
2572         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2573         <bp-sym.h>.
2574         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2575         and <bp-asm.h>.
2576         (PARMS): Do not use macros from bp-asm.h.
2577         (FLAGS): Likewise.
2578         (PTID): Likewise.
2579         (TLS): Likewise.
2580         (CTID): Likewise.
2581         (__clone): Do not use BP_SYM.
2582         (clone): Do not use BP_SYM in weak_alias.
2583         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2584         and <bp-asm.h>.
2585         (PARMS): Do not use macros from bp-asm.h.
2586         (LEN): Likewise.
2587         (__mmap64): Do not use BP_SYM.
2588         (mmap64): Do not use BP_SYM in weak_alias.
2589         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2590         <bp-sym.h> and <bp-asm.h>.
2591         (PARMS): Do not use macros from bp-asm.h.
2592         (__posix_fadvise64_l64): Do not use BP_SYM.
2593         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2594         (PARMS): Do not use macros from bp-asm.h.
2595         (NSOPS): Likewise.
2596         (semtimedop): Do not use BP_SYM.
2597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2598         and <bp-asm.h>.
2599
2600 2013-02-21  Allan McRae  <allan@archlinux.org>
2601
2602         * manual/message.texi (Charset conversion in gettext):
2603         Move @end statement to beginning of line.
2604
2605 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2606
2607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2608         static.
2609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2610         Likewise.
2611
2612         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2613         (denorm): Likewise.
2614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2616
2617 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2618
2619         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2620         tail-call to the resolved function if pltexit isn't needed.
2621
2622 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2623
2624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2625         or Y being zero as being unlikely.
2626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2627         Likewise.
2628
2629 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2630
2631         * manual/nss.texi (System Databases and Name Service Switch):
2632         Remove frobnicate @pxref.
2633
2634 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2635
2636         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2637         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2638
2639 2013-02-20  Petr Machata  <pmachata@redhat.com>
2640
2641         * elf/elf.h (R_ARM_TARGET1): New macro.
2642         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2643         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2644         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2645         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2646         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2647         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2648         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2649         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2650         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2651         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2652         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2653         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2654         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2655         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2656         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2657         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2658         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2659         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2660         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2661         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2662         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2663         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2664         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2665         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2666         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2667         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2668         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2669         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2670         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2671         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2672         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2673         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2674         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2675         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2676         (R_ARM_THM_GOT_BREL12): Likewise.
2677         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2678         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2679         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2680         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2681         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2682         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2683         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2684         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2685         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2686
2687 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2688
2689         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2690         __attribute_used__ to __attribute__ ((unused)).
2691
2692 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2693
2694         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2695         powerpc mpa.c.
2696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2697         comment formatting.
2698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2699
2700 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2701
2702         [BZ #13550]
2703         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2704         Remove macro.
2705         (ENTER): Remove both macro definitions.
2706         (LEAVE): Likewise.
2707         (CHECK_BOUNDS_LOW): Likewise.
2708         (CHECK_BOUNDS_HIGH): Likewise.
2709         (CHECK_BOUNDS_BOTH): Likewise.
2710         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2711         (RETURN_BOUNDED_POINTER): Likewise.
2712         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2713         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2714         (POP_ERRNO_LOCATION_RETURN): Likewise.
2715         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2716         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2717         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2718         macros.
2719         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2720         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2721         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2722         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2723         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2724         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2725         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2726         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2727         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2728         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2729         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2730         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2731         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2732         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2733         removed macros.
2734         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2735         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2736         macros.
2737         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2738         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2739         * sysdeps/i386/i586/memset.S (memset): Likewise.
2740         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2741         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2742         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2743         macros.
2744         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2745         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2746         Change uses of L(2) to L(out).
2747         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2748         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2749         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2750         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2751         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2752         removed macros.
2753         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2754         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2755         macros.
2756         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2757         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2758         (RETURN): Do not use macro LEAVE.
2759         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2760         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2761         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2762         * sysdeps/i386/i686/memset.S (memset): Likewise.
2763         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2764         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2765         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2766         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2767         Likewise.
2768         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2769         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2770         L(1_2) and L(1_3) into L(1).
2771         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2772         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2773         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2774         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2775         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2776         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2777         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2778         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2779         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2780         macros.
2781         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2782         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2783         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2784         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2785         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2786         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2787         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2788         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2789         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2790         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2791         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2792         * sysdeps/i386/strspn.S (strspn): Likewise.
2793         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2794         conditional code.
2795         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2796         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2797         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2798         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2799         L(1_3) into L(1_1).
2800         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2801         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2802         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2803         macros.
2804         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2805
2806 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2807
2808         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2809         macro.
2810
2811 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2812
2813         * math/atest-exp.c (exp_mpn): Remove ROUND.
2814         * math/atest-exp2.c (exp_mpn): Likewise.
2815         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2816
2817         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2818         * stdlib/tst-tls-atexit-lib.c: Likewise.
2819         * stdlib/tst-tls-atexit.c: Likewise.
2820
2821 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2822
2823         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2824         and __attribute_alloc_size__.
2825
2826 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2827
2828         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2829         __attribute_alloc_size__.
2830         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2831         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2832
2833 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2834
2835         * include/programs/xmalloc.h: New file.
2836         * catgets/gencat.c: Include it.
2837         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2838         * elf/pldd.c: Likewise.
2839         * iconv/iconv_charmap.c: Likewise.
2840         * iconv/iconvconfig.c: Likewise.
2841         * iconv/strtab.c: Likewise.
2842         * locale/programs/locale.c: Likewise.
2843         * locale/programs/localedef.h: Likewise.
2844         * locale/programs/simple-hash.c: Likewise.
2845         * nscd/nscd.h: Likewise.
2846         * nss/makedb.c: Likewise.
2847         * sysdeps/generic/ldconfig.h: Likewise.
2848
2849 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2850
2851         * Versions.def: Add GLIBC_2.18.
2852         * include/link.h (struct link_map): New member l_tls_dtor_count.
2853         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2854         (__call_tls_dtors): Likewise.
2855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2856         __cxa_thread_atexit_impl.
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2858         Likewise.
2859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2860         Likewise.
2861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2862         Likewise.
2863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2864         Likewise.
2865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2867         Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2869         Likewise.
2870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2872         Likewise.
2873         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2874         (tests): Add test case tst-tls-atexit.
2875         (modules-names): Add shared library for tst-tls-atexit.
2876         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2877         (GLIBC_PRIVATE): Add __call_tls_dtors.
2878         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2879         for libstdc++.
2880         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2881         * stdlib/tst-tls-atexit.c: New test case.
2882         * stdlib/tst-tls-atexit-lib.c: New test case.
2883
2884         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2885
2886         * elf/Versions (ld): Add _dl_find_dso_for_object.
2887         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2888         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2889         (dl_open_worker): Use _dl_find_dso_for_object.
2890         * elf/dl-sym.c (do_sym): Likewise.
2891         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2892
2893 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2894
2895         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2896         Syntactic changes only.
2897         (_dl_runtime_profile): Do a tail-call to the resolved function.
2898
2899 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2900
2901         [BZ #13550]
2902         * sysdeps/x86_64/bp-asm.h: Remove file.
2903         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2904         <bp-sym.h> and <bp-asm.h>.
2905         (__clone): Do not use BP_SYM.
2906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2907         <bp-sym.h> and <bp-asm.h>.
2908         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2909         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2910         "bp-asm.h".
2911         (_setjmp): Do not use BP_SYM.
2912         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2913         "bp-asm.h".
2914         (setjmp): Do not use BP_SYM.
2915         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2916         libc_hidden_def.
2917         (mempcpy): Do not use BP_SYM in weak_alias.
2918         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2919         "bp-asm.h".
2920         (strchr): Do not use BP_SYM.
2921         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2922         "bp-asm.h".
2923         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2924         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2925         (_start): Do not use BP_SYM.
2926         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2927         "bp-asm.h".
2928         (strcat): Do not use BP_SYM.
2929         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2930         "bp-asm.h".
2931         (STRCMP): Do not use BP_SYM.
2932         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2933         "bp-asm.h".
2934         (STRCPY): Do not use BP_SYM.
2935         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2936         "bp-asm.h".
2937         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2938         "bp-asm.h".
2939         (FUNCTION): Do not use BP_SYM.
2940         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2941         weak_alias.
2942         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2943
2944 2013-02-17  Andreas Jaeger  <aj@suse.de>
2945
2946         * time/Versions: Sort entries.
2947         * string/Versions: Likewise.
2948         * resolv/Versions: Likewise.
2949         * posix/Versions: Likewise.
2950         * iconv/Versions: Likewise.
2951         * elf/Versions: Likewise.
2952         * wcsmbs/Versions: Likewise.
2953
2954 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2955
2956         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2957         loop termination condition.
2958
2959         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2960         variable to calculate EZ.
2961         (__sqr): Likewise.
2962
2963         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2964         the lower precision input.
2965
2966 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2967
2968         [BZ #13550]
2969         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2970         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2971         (run-via-rtld-prefix): Do not handle %-bp tests.
2972         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2973         (all-object-suffixes): Remove .ob.
2974         (bppfx): Remove variable.
2975         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2976         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2977         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2978         [$(build-bounded) = yes] (libtype.ob): Likewise.
2979         * Makerules (elide-routines.ob): Remove variable.
2980         (do-tests-clean): Do not handle *-bp.out.
2981         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2982         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2983         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2984         (tests): Do not include $(tests-bp.out).
2985         (xtests): Do not include $(xtests-bp.out).
2986         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2987         [$(build-bounded) = yes] ($(addprefix
2988         $(objpfx),$(binaries-bounded))): Remove rule.
2989         ($(objpfx)%-bp.out): Remove rule.
2990         * config.make.in (build-bounded): Remove variable.
2991         * crypt/Makefile [$(build-bounded) = yes]
2992         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2993         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2994         append to variable.
2995         [$(build-bounded) = yes] (install-lib): Likewise.
2996         [$(build-bounded) = yes] (generated): Likewise.
2997         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2998         Remove rule.
2999         * intl/Makefile [$(build-bounded) = yes]
3000         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3001         * math/Makefile [$(build-bounded) = yes]
3002         ($(tests:%=$(objpfx)%-bp): Likewise.
3003         * misc/Makefile [$(build-bounded) = yes]
3004         ($(objpfx)tst-tsearch-bp): Likewise.
3005         * nptl/Makeconfig (bounded-thread-library): Remove variable.
3006         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3007         Remove dependency.
3008         * string/Makefile (o-objects.ob): Remove variable.
3009         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3010         (CFLAGS-.ob): Remove variable.
3011         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3012         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3013         both definitions of variable.
3014         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3015         (ASFLAGS-.ob): Remove variable.
3016
3017 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
3018
3019         [BZ #13550]
3020         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3021         Remove __BOUNDED_POINTERS__ from condition.
3022         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3023         * string/bits/string2.h [!__NO_STRING_INLINES &&
3024         !__BOUNDED_POINTERS__]: Likewise.
3025         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3028         Remove conditional code.
3029         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3030         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3031         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3032         condition.
3033
3034         [BZ #13550]
3035         * csu/libc-start.c: Do not include <bp-sym.h>.
3036         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3037         * elf/dl-open.c: Do not include <bp-sym.h>.
3038         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3039         * math/fegetenv.c: Do not include <bp-sym.h>.
3040         (fegetenv): Do not use BP_SYM in versioned symbols.
3041         * nptl/sysdeps/pthread/bits/libc-lockP.h
3042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3043         <bp-sym.h>.
3044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3045         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3047         (__pthread_mutex_destroy): Likewise.
3048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3049         (__pthread_mutex_lock): Likewise.
3050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3051         (__pthread_mutex_trylock): Likewise.
3052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3053         (__pthread_mutex_unlock): Likewise.
3054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3055         (__pthread_mutexattr_init): Likewise.
3056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3057         (__pthread_mutexattr_destroy): Likewise.
3058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3059         (__pthread_mutexattr_settype): Likewise.
3060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3061         (__pthread_rwlock_init): Likewise.
3062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3063         (__pthread_rwlock_destroy): Likewise.
3064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3065         (__pthread_rwlock_rdlock): Likewise.
3066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3067         (__pthread_rwlock_tryrdlock): Likewise.
3068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3069         (__pthread_rwlock_wrlock): Likewise.
3070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3071         (__pthread_rwlock_trywrlock): Likewise.
3072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3073         (__pthread_rwlock_unlock): Likewise.
3074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3075         (__pthread_key_create): Likewise.
3076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3077         (__pthread_setspecific): Likewise.
3078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3079         (__pthread_getspecific): Likewise.
3080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3081         Likewise.
3082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3083         (_pthread_cleanup_push_defer): Likewise.
3084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3085         (_pthread_cleanup_pop_restore): Likewise.
3086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3087         (pthread_setcancelstate): Likewise.
3088         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3089         <bp-sym.h>.
3090         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3091         (memchr): Do not use BP_SYM in weak_alias.
3092         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3093         (fegetenv): Do not use BP_SYM in versioned symbols.
3094         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3095         (fesetenv): Do not use BP_SYM in versioned symbols.
3096         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3097         (feupdateenv): Do not use BP_SYM in versioned symbols.
3098         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3099         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3100         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3101         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3102         (open64): Do not use BP_SYM in weak_alias.
3103         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3104         (fegetenv): Do not use BP_SYM in versioned symbols.
3105         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3106         (fesetenv): Do not use BP_SYM in versioned symbols.
3107         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3108         (feupdateenv): Do not use BP_SYM in versioned symbols.
3109         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3110         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3111         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3112         (feraiseexcept): Do not use BP_SYM in versioned symbols.
3113         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3114         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3115         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3116         <bp-sym.h>.
3117         (__libc_start_main): Do not use BP_SYM.
3118
3119 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3120
3121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3122         redundant return line.
3123         (norm): Likewise.
3124         (denorm): Likewise.
3125         (dbl_mp): Likewise.
3126         (sub_magnitudes): Likewise.
3127         (__add): Likewise.
3128         (__sub): Likewise.
3129         (__mul): Likewise.
3130         (__inv): Likewise.
3131         (__dvd): Likewise.
3132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3133         (norm): Likewise.
3134         (denorm): Likewise.
3135         (dbl_mp): Likewise.
3136         (sub_magnitudes): Likewise.
3137         (__add): Likewise.
3138         (__sub): Likewise.
3139         (__mul): Likewise.
3140         (__inv): Likewise.
3141         (__dvd): Likewise.
3142
3143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3144         instead of __mul.
3145         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3146         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3147         (cc32): Likewise.
3148
3149         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3150         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3152         of __mul for squares.
3153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3154         function
3155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3156         Likewise.
3157         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3159
3160 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
3161
3162         [BZ #13550]
3163         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3164         code.
3165         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3166         prototype or function definition.  Rename ubp_* variables and
3167         parameters.  Remove argv definitions conditional on
3168         [__BOUNDED_POINTERS__].
3169         * debug/backtrace.c (__backtrace): Do not use __unbounded.
3170         * elf/dl-runtime.c (_dl_fixup): Likewise.
3171         * include/set-hooks.h (RUN_HOOK): Likewise.
3172         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3173         definition.
3174         * string/strcpy.c (strcpy): Do not use __unbounded.
3175         * sysdeps/generic/frame.h (struct layout): Likewise.
3176         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3177         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3178         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3179         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3180         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3181         (__backtrace): Likewise.
3182         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3183         use __ptrvalue.
3184         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3185         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3186         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3187         Likewise.
3188         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3189         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3190         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3191         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3192         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3193         Do not use __unbounded.
3194         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3195         Rename __unboundedrlimits parameter to rlimits in prototype.
3196         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3197         Do not use __unbounded.
3198         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3199         not use __ptrvalue.
3200         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3201         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3202         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3203         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3204         __ptrvalue or __unbounded.
3205         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3206         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3207         use __unbounded.
3208         (__new_msgctl): Do not use __ptrvalue.
3209         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3210         __unbounded.
3211         (__libc_msgrcv): Do not use __ptrvalue.
3212         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3213         startup_info): Do not use __unbounded.
3214         (__libc_start_main): Likewise.  Rename ubp_* variables and
3215         parameters.  Remove argv definitions conditional on
3216         [__BOUNDED_POINTERS__].
3217         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3218         __ptrvalue.
3219         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3220         use __unbounded.
3221         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3222         or __ptrvalue.
3223         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3224         use __unbounded.
3225         (__new_shmctl): Do not use __ptrvalue.
3226         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3227         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3228         Likewise.
3229         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3230         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3231         (__libc_sigaction): Likewise.
3232         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3233         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3234         Likewise.
3235         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3236
3237 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3238
3239         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3240
3241         * string/mempcpy.c: Implement by calling memcpy.
3242
3243 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3244
3245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3246
3247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3248         evaluation.
3249
3250         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3251         values in the mantissa.
3252
3253         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3254         minimize writes to Z.
3255         (sub_magnitudes): Simplify code a bit.
3256
3257 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3258
3259         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3260         from the message.  The linker prefixes all warnings with that already.
3261
3262 2013-02-12  Andreas Schwab  <schwab@suse.de>
3263
3264         [BZ #15078]
3265         * posix/regexec.c (extend_buffers): Add parameter min_len.
3266         (check_matching): Pass minimum needed length.
3267         (clean_state_log_if_needed): Likewise.
3268         (get_subexp): Likewise.
3269         * posix/Makefile (tests): Add bug-regex34.
3270         (bug-regex34-ENV): Define.
3271         * posix/bug-regex34.c: New file.
3272
3273         [BZ #11561]
3274         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3275         elements compare against the byte sequence of it, not its name.
3276         * posix/Makefile (tests): Add bug-regex35.
3277         (bug-regex35-ENV): Define.
3278         * posix/bug-regex35.c: New file.
3279
3280 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3281
3282         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3283         comment.
3284         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3285         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3286         (CHECK_EOL): Add undef.
3287
3288 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3289
3290         * bits/stdlib-bsearch.h: New file.
3291         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3292         * stdlib/stdlib.h: Likewise.
3293
3294 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3295
3296         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3297         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3298         declaration.
3299         * manual/search.texi (Array Search Function): Add missing const in
3300         lfind prototype.
3301         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3302         declaration to use rlim_t.
3303         (Basic Scheduling Functions): Remove erroneous const from
3304         sched_getparam prototype.  Remove erroneous * from
3305         sched_get_priority_max and sched_get_priority_min prototypes.
3306         (Resource Usage): Fix summary @comment on vtimes to refer to
3307         sys/vtimes.h rather than vtimes.h.
3308         Add missing *s in vtimes prototype.
3309         (Limits on Resources): Fix ulimit prototype to return long int.
3310         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3311         prototypes to use long int rather than double.
3312         (BSD Random): Fix initstate and setstate to use char *, not void *.
3313         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3314         prototype to make second argument 'struct aiocb64 *const[]'.
3315         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3316         (Status of AIO Operations): Remove erroneous const in aio_return and
3317         aio_return64 prototypes.
3318         (Synchronizing I/O): Fix sync prototype to return void.
3319         * manual/startup.texi (Suboptions): Remove an erroneous const in
3320         getsubopt prototype.
3321         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3322         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3323         use size_t rather than int.
3324         (Scanning All Users): Likewise for getpwent_r.
3325         (Setting Groups): Add missing const to setgroups prototype.
3326         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3327         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3328         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3329         'const void *' rather than 'const char *'.
3330         (Host Address Functions): Likewise for inet_ntop.
3331         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3332         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3333         ssize_t for return value.
3334         (Sending Data): Likewise for send, sendto, sendmsg.
3335         (Socket Option Functions): Add a missing const in setsockopt prototype.
3336         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3337         use wchar_t for the argument.
3338         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3339         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3340         take no arguments.
3341         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3342         double/float/long double for second argument.
3343         Fix return types of significand, significandf, significandl.
3344         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3345         argument in fchmod prototype.
3346         (File Owner): Use uid_t and gid_t in fchown prototype.
3347         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3348         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3349         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3350         use 'const struct dirent **' as argument types to CMP function pointer
3351         argument.
3352         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3353         (File Times): Fix summary magic @comment for struct utimbuf and utime
3354         to refer to utime.h, not time.h.
3355         * manual/string.texi (Argz Functions): Add missing const in
3356         argz_extract and argz_next prototypes.
3357         (Finding Tokens in a String): Likewise for basename.
3358         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3359         (Copying and Concatenation): Fix typo in wmemmove prototype.
3360         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3361         (Signal Stack): Remove erroneous const in sigstack prototype.
3362         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3363         prototype.
3364         (Simple Calendar Time): Likewise for stime.
3365         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3366         prototype.
3367         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3368         say sys/sysctl.h instead.
3369         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3370         and vsyslog prototypes.
3371
3372 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3373
3374         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3375         Remove.
3376
3377 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3378
3379         * misc/sys/mman.h: Fix typo in mremap comment.
3380
3381 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3382
3383         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3384         the '\0' terminator.
3385
3386 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3387
3388         [BZ #13550]
3389         * debug/segfault.c: Don't include <bp-checks.h>.
3390         * sysdeps/generic/bp-checks.h: Remove file.
3391         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3392         (__GETDENTS): Don't use CHECK_N.
3393         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3394         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3395         (__getgroups): Don't use CHECK_N.
3396         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3397         (setgroups): Don't use CHECK_N.
3398         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3399         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3400         (__libc_msgrcv): Don't use CHECK_N.
3401         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3402         (__libc_msgsnd): Don't use CHECK_N.
3403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3404         <bp-checks.h>.
3405         (__libc_pread): Don't use CHECK_N.
3406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3407         include <bp-checks.h>.
3408         (__libc_pread64): Don't use CHECK_N.
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3410         include <bp-checks.h>.
3411         (__libc_pwrite): Don't use CHECK_N.
3412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3413         include <bp-checks.h>.
3414         (__libc_pwrite64): Don't use CHECK_N.
3415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3416         <bp-checks.h>.
3417         (__libc_pread): Don't use CHECK_N.
3418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3419         include <bp-checks.h>.
3420         (__libc_pread64): Don't use CHECK_N.
3421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3422         include <bp-checks.h>.
3423         (__libc_pwrite): Don't use CHECK_N.
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3425         include <bp-checks.h>.
3426         (__libc_pwrite64): Don't use CHECK_N.
3427         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3428         (do_pread): Don't use CHECK_N.
3429         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3430         (do_pread64): Don't use CHECK_N.
3431         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3432         (do_pwrite): Don't use CHECK_N.
3433         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3434         (do_pwrite64): Don't use CHECK_N.
3435         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3436         (__libc_readv): Don't use CHECK_N.
3437         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3438         (semop): Don't use CHECK_N.
3439         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3440         <bp-checks.h>.
3441         (semtimedop): Don't use CHECK_N.
3442         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3443         (__libc_pread): Don't use CHECK_N.
3444         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3445         <bp-checks.h>.
3446         (__libc_pread64): Don't use CHECK_N.
3447         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3448         <bp-checks.h>.
3449         (__libc_pwrite): Don't use CHECK_N.
3450         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3451         <bp-checks.h>.
3452         (__libc_pwrite64): Don't use CHECK_N.
3453         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3454         <bp-checks.h>.
3455         (__libc_msgrcv): Don't use CHECK_N.
3456         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3457         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3458         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3459         (__libc_writev): Don't use CHECK_N.
3460
3461 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3462
3463         * string/strcpy.c: Removed unused variable.
3464
3465         * Makeconfig (+sysdep-includes): Define with := rather than =.
3466         Use an existing include/ subdir of each sysdeps dir before it.
3467
3468 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3469
3470         * nscd/connection.c (register_traced_file): Comment function.
3471         [HAVE_INOTIFY] (union __inev): Define.
3472         [HAVE_INOTIFY] (inotify_check_files): New function.
3473         [HAVE_INOTIFY] (clear_db_cache): Likewise.
3474         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3475         clear_db_cache.
3476         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3477
3478 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3479
3480         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3481         loaded if not already and that a failure is permanent.
3482
3483 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3484
3485         [BZ #15006]
3486         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3487         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3488
3489 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3490
3491         [BZ #13550]
3492         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3493         (CHECK_1_NULL_OK): Likewise.
3494         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3495         (__fxstat): Do not use CHECK_1.
3496         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3497         <bp-checks.h>.
3498         (___fxstat64): Do not use CHECK_1.
3499         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3500         <bp-checks.h>.
3501         (__fxstatat): Do not use CHECK_1.
3502         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3503         <bp-checks.h>.
3504         (__fxstatat64): Do not use CHECK_1.
3505         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3506         <bp-checks.h>.
3507         (__fxstat): Do not use CHECK_1.
3508         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3509         <bp-checks.h>.
3510         (__fxstatat): Do not use CHECK_1.
3511         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3512         <bp-checks.h>.
3513         (__getresgid): Do not use CHECK_1.
3514         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3515         <bp-checks.h>.
3516         (__getresuid): Do not use CHECK_1.
3517         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3518         <bp-checks.h>.
3519         (__lxstat): Do not use CHECK_1.
3520         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3521         <bp-checks.h>.
3522         (__old_msgctl): Do not use CHECK_1.
3523         (__new_msgctl): Likewise.
3524         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3525         <bp-checks.h>.
3526         (__new_setrlimit): Do not use CHECK_1.
3527         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3528         <bp-checks.h>.
3529         (__old_shmctl): Do not use CHECK_1.
3530         (__new_shmctl): Likewise.
3531         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3532         <bp-checks.h>.
3533         (__xstat): Do not use CHECK_1.
3534         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3535         (__lxstat): Do not use CHECK_1.
3536         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3537         <bp-checks.h>.
3538         (___lxstat64): Do not use CHECK_1.
3539         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3540         (__old_msgctl): Do not use CHECK_1.
3541         (__new_msgctl): Likewise.
3542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3543         <bp-checks.h>.
3544         (__gettimeofday): Do not use CHECK_1.
3545         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3546         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3547         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3548         <bp-checks.h>.
3549         (__gettimeofday): Do not use CHECK_1.
3550         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3551         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3552         (__new_shmctl): Do not use CHECK_1.
3553         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3554         <bp-checks.h>.
3555         (do_sigtimedwait): Do not use CHECK_1.
3556         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3557         <bp-checks.h>.
3558         (do_sigwaitinfo): Do not use CHECK_1.
3559         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3560         <bp-checks.h>.
3561         (msgctl): Do not use CHECK_1.
3562         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3563         <bp-checks.h>.
3564         (shmctl): Do not use CHECK_1.
3565         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3566         (ustat): Do not use CHECK_1.
3567         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3568         <bp-checks.h>.
3569         (__fxstat): Do not use CHECK_1.
3570         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3571         <bp-checks.h>.
3572         (__fxstatat): Do not use CHECK_1.
3573         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3574         <bp-checks.h>.
3575         (__lxstat): Do not use CHECK_1.
3576         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3577         <bp-checks.h>.
3578         (__xstat): Do not use CHECK_1.
3579         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3580         (__xstat): Do not use CHECK_1.
3581         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3582         (___xstat64): Do not use CHECK_1.
3583
3584         [BZ #13550]
3585         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3586         definitions.
3587         (CHECK_BOUNDS_HIGH): Likewise.
3588         * string/strcpy.c: Do not include <bp-checks.h>.
3589         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3590
3591 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3592
3593         * nscd/nscd-client.h (__nscd_drop_map_ref):
3594         Add __attribute__ ((unused)).
3595         * nis/nss-nisplus.h (niserr2nss): Likewise.
3596
3597         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3598         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3599
3600         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3601         Remove inline keyword.
3602         * include/rounding-mode.h (round_away): Likewise.
3603         * libio/wfileops.c (adjust_wide_data): Likewise.
3604         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3605         (__m128i_strloadu_tolower): Likewise.
3606         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3607         (__m128i_strloadu_tolower): Likewise.
3608         * time/mktime.c (ydhms_diff): Likewise.
3609         * locale/elem-hash.h (elem_hash): Likewise.
3610         * locale/setlocale.c (setdata): Likewise.
3611         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3612         (re_string_wchar_at): Likewise.
3613         (bitset_not, bitset_merge, bitset_mask): Likewise.
3614         [!(__GNUC__ > 3)] (inline): Remove macro.
3615         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3616         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3617         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3618         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3619         * string/memcmp.c (memcmp_bytes): Likewise.
3620         * locale/programs/locarchive.c (compute_hashval): Likewise.
3621         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3622         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3623         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3624         * nss/getent.c (print_rpc, print_protocols): Likewise.
3625         (print_passwd, print_group, print_aliases): Likewise.
3626         * nis/nss-nisplus.h (niserr2nss): Likewise.
3627         * nscd/connections.c (restart_p): Likewise.
3628         Change return type to bool.
3629
3630 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3631
3632         * Makeconfig (all-Depend-files): Add existing
3633         $(sorted-subdirs:=/Depend) files.
3634         (all-subdirs): Remove nss.
3635         * sysdeps/unix/inet/Subdirs: Add it here instead.
3636         * hesiod/Depend: New file.
3637
3638         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3639         instead of calling alloca.
3640
3641         * io/lseek.c (__lseek): Rename to __libc_lseek.
3642         Define __lseek as an alias.
3643
3644         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3645
3646 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3647
3648         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3649         else clause and remove check for non-standard endianness.
3650
3651 2013-02-04  David S. Miller  <davem@davemloft.net>
3652
3653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3654
3655 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3656
3657         [BZ #13550]
3658         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3659         (__ubp_memchr): Remove prototype.
3660         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3661         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3662         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3663         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3664         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3665         Remove alias.
3666         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3667         (__ubp_memchr): Likewise.
3668         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3669         (__ubp_memchr): Likewise.
3670         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3671         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3672         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3673         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3674         CHECK_STRING.
3675         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3676         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3677         (__getcwd): Do not use CHECK_STRING.
3678         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3679         <bp-checks.h>.
3680         (__real_chown): Do not use CHECK_STRING.
3681         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3682         <bp-checks.h>.
3683         (fchownat): Do not use CHECK_STRING.
3684         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3685         CHECK_STRING.
3686         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3687         <bp-checks.h>.
3688         (__lchown): Do not use CHECK_STRING.
3689         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3690         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3691         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3692         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3694         include <bp-checks.h>.
3695         (truncate64): Do not use CHECK_STRING.
3696         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3697         <bp-checks.h>.
3698         (__real_chown): Do not use CHECK_STRING.
3699         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3700         <bp-checks.h>.
3701         (__lchown): Do not use CHECK_STRING.
3702         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3703         <bp-checks.h>.
3704         (__chown): Do not use CHECK_STRING.
3705         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3706         <bp-checks.h>.
3707         (truncate64): Do not use CHECK_STRING.
3708         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3709         Likewise.
3710         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3711         (__xmknod): Do not use CHECK_STRING.
3712         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3713         <bp-checks.h>.
3714         (__xmknodat): Do not use CHECK_STRING.
3715         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3716         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3717
3718 2013-02-04  Andreas Schwab  <schwab@suse.de>
3719
3720         [BZ #14142]
3721         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3722         * include/netdb.h: Likewise for h_errno.
3723         * elf/tst-stackguard1.c: Include <tls.h>.
3724
3725 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3726
3727         * elf/link.h (struct link_map): Extend the l_addr comment.
3728         * include/link.h (struct link_map): Likewise.
3729
3730 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3731
3732         [BZ #13550]
3733         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3734         (BOUNDED_1): Remove macro.
3735         * debug/backtrace.c: Don't include <bp-checks.h>.
3736         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3737         (__backtrace): Likewise.
3738         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3739         <bp-checks.h>.
3740         (__backtrace): Don't use BOUNDED_1.
3741         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3742         <bp-checks.h>.
3743         (__backtrace): Don't use BOUNDED_1.
3744         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3745         (__backtrace): Don't use BOUNDED_1.
3746         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3747         (shmat): Don't use BOUNDED_N.
3748
3749 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3750
3751         [BZ #13550]
3752         * sysdeps/generic/bp-start.h: Remove file.
3753         * csu/libc-start.c: Don't include <bp-start.h>.
3754         (LIBC_START_MAIN): Set up __environ directly instead of using
3755         INIT_ARGV_and_ENVIRON.
3756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3757         <bp-start.h>.
3758
3759         [BZ #13550]
3760         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3761         definitions.
3762         (CHECK_FCNTL): Likewise.
3763         (CHECK_N_PAGES): Likewise.
3764
3765         [BZ #13550]
3766         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3767         definitions.
3768         (CHECK_SIGSET_NULL_OK): Likewise.
3769         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3770         <bp-checks.h>.
3771         (sigpending): Don't use CHECK_SIGSET.
3772         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3773         <bp-checks.h>.
3774         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3775         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3776         <bp-checks.h>.
3777         (do_sigsuspend): Don't use CHECK_SIGSET.
3778         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3779         use CHECK_SIGSET.
3780         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3781         (do_sigwait): Don't use CHECK_SIGSET.
3782         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3783         use CHECK_SIGSET.
3784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3785         include <bp-checks.h>.
3786         (sigpending): Don't use CHECK_SIGSET.
3787         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3788         include <bp-checks.h>.
3789         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3790         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3791         <bp-checks.h>.
3792         (sigpending): Don't use CHECK_SIGSET.
3793         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3794         <bp-checks.h>.
3795         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3796
3797         [BZ #13550]
3798         * sysdeps/generic/bp-semctl.h: Remove file.
3799         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3800         <bp-checks.h> and <bp-semctl.h>.
3801         (__old_semctl): Don't use CHECK_SEMCTL.
3802         (__new_semctl): Likewise.
3803         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3804         and <bp-semctl.h>.
3805         (__old_semctl): Don't use CHECK_SEMCTL.
3806         (__new_semctl): Likewise.
3807         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3808         <bp-checks.h> and <bp-semctl.h>.
3809         (__old_semctl): Don't use CHECK_SEMCTL.
3810         (__new_semctl): Likewise.
3811         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3812         <bp-checks.h> and <bp-semctl.h>.
3813         (semctl): Don't use CHECK_SEMCTL.
3814
3815         [BZ #13550]
3816         * Makerules (elide-bp-thunks): Remove variable.
3817         (elide-routines.oS): Don't use $(elide-bp-thunks).
3818         (elide-routines.os): Likewise.
3819         (elide-routines.o): Likewise.
3820         (elide-routines.op): Likewise.
3821         (elide-routines.og): Likewise.
3822         (objects): Don't use $(bp-thunks).
3823         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3824         include.
3825         (common-generated): Do not add s-proto-bp.d.
3826         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3827         (int): Likewise.
3828         (typ): Likewise.
3829         Do not generate makefile rules for bounded-pointer thunks.
3830         * sysdeps/generic/bp-thunks.h: Remove file.
3831         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3832         * sysdeps/unix/s-proto-bp.S: Likewise.
3833
3834         [BZ #15062]
3835         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3836         parts of result separately when argument is not close to line from
3837         -i to i and one part of argument is small.
3838         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3839         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3840         * math/libm-test.inc (cacos_test): Add more tests.
3841         (casin_test): Likewise.
3842         (casinh_test): Likewise.
3843         * sysdeps/i386/fpu/libm-test-ulps: Update.
3844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3845
3846 2013-01-31  David S. Miller  <davem@davemloft.net>
3847
3848         * po/de.po: Update from translation team.
3849
3850 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3851
3852         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3853
3854 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3855
3856         * configure.in (_AC_PROG_CC_C89): New definition.
3857         * configure: Regenerate.
3858
3859         * configure.in (AC_PROG_CPP): New definition.
3860         * configure: Regenerate.
3861
3862 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3863
3864         * debug/tst-backtrace.h: New file.
3865         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3866         (ret): Remove variable.
3867         (x): Likewise.
3868         (FAIL): Remove macro.
3869         (NO_INLINE): Likewise.
3870         (fn1): Use match function instead of strstr.
3871         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3872         (ret): Remove variable.
3873         (x): Likewise.
3874         (FAIL): Remove macro.
3875         (NO_INLINE): Likewise.
3876         (fn): Use match function instead of strstr.
3877         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3878         (ret): Remove variable.
3879         (x): Likewise.
3880         (FAIL): Remove macro.
3881         (NO_INLINE): Likewise.
3882         (handle_signal): Use match function instead of strstr.
3883         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3884         (ret): Remove variable.
3885         (x): Likewise.
3886         (FAIL): Remove macro.
3887         (NO_INLINE): Likewise.
3888         (handle_signal): Use match function instead of strstr.
3889
3890 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3891
3892         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3893
3894 2013-01-23  David S. Miller  <davem@davemloft.net>
3895
3896         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3897         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3898         argument of CAS if possible.
3899         * sysdeps/sparc/sparc64/bits/atomic.h
3900         (__arch_compare_and_exchange_val_32_acq): Likewise.
3901         (__arch_compare_and_exchange_val_64_acq): Likewise.
3902
3903 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3904
3905         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3906         * sysdeps/posix/ulimit.c: ... this.
3907         Include <limits.h>.
3908         * sysdeps/unix/bsd/ulimit.c: Remove file.
3909
3910 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3911
3912         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3913         (LDFLAGS-tst-array5): Likewise.
3914
3915 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3916
3917         [BZ #15036]
3918         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3919         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3920         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3921         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3922
3923 2013-01-21  David S. Miller  <davem@davemloft.net>
3924
3925         * sysdeps/sparc/backtrace.c: New file.
3926         * sysdeps/sparc/sparc32/backtrace.h: New file.
3927         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3928         * sysdeps/sparc/sparc64/backtrace.h: New file.
3929         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3930         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3931         -funwind-tables.
3932
3933 2013-01-21  Andreas Schwab  <schwab@suse.de>
3934
3935         [BZ #15020]
3936         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3937         closed its stdout.
3938
3939 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3940
3941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3942         "mpa2.h".
3943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3944
3945 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3946             Mark Mitchell  <mark@codesourcery.com>
3947             Tom de Vries  <tom@codesourcery.com>
3948             Paul Pluzhnikov  <ppluzhnikov@google.com>
3949
3950         * debug/tst-backtrace2.c: New file.
3951         * debug/tst-backtrace3.c: Likewise.
3952         * debug/tst-backtrace4.c: Likewise.
3953         * debug/tst-backtrace5.c: Likewise.
3954         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3955         (CFLAGS-tst-backtrace3.c): Likewise.
3956         (CFLAGS-tst-backtrace4.c): Likewise.
3957         (CFLAGS-tst-backtrace5.c): Likewise.
3958         (LDFLAGS-tst-backtrace2): Likewise.
3959         (LDFLAGS-tst-backtrace3): Likewise.
3960         (LDFLAGS-tst-backtrace4): Likewise.
3961         (LDFLAGS-tst-backtrace5): Likewise.
3962         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3963         tst-backtrace4 and tst-backtrace5.
3964
3965 2013-01-18  Anton Blanchard  <anton@samba.org>
3966             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3967
3968         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3969         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3970         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3971         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3973         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3974         "+r" and remove output regs list as redundant.  Add explicit inline
3975         asm to specify register of return val to work around compiler codegen
3976         bug.  Remove (int) cast on return value.  Add return type parameter to
3977         use in macro so that this macro does not truncate return value for
3978         64-bit values.
3979         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3980         pass to INTERNAL_VSYSCALL_NCS.
3981         (INLINE_VSYSCALL): Add 'long int' as return type to
3982         INTERNAL_VSYSCALL_NCS macro invocation.
3983         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3984         INTERNAL_VSYSCALL_NCS macro invocation.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3986
3987 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3988
3989         [BZ #14496]
3990         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3991         Fix application of SIMD FP exception mask.
3992
3993         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3994         mp_no from a power of two.
3995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3996         __mpexp_twomm1.  Use __pow_mp.
3997
3998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3999         multiplication.
4000
4001 2013-01-17  David S. Miller  <davem@davemloft.net>
4002
4003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4004
4005 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4006
4007         [BZ #15023]
4008         * include/complex.h: Condition contents on [!_COMPLEX_H].
4009         (__kernel_casinhf): New prototype.
4010         (__kernel_casinh): Likewise.
4011         (__kernel_casinhl): Likewise.
4012         * math/Makefile (libm_calls): Add k_casinh.
4013         * math/k_casinh.c: New file.
4014         * math/k_casinhf.c: Likewise.
4015         * math/k_casinhl.c: Likewise.
4016         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4017         finite nonzero arguments.
4018         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4019         finite nonzero arguments.
4020         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4021         finite nonzero arguments.
4022         * math/s_casinh.c: Do not include <float.h>.
4023         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4024         * math/s_casinhf.c: Do not include <float.h>.
4025         (__casinhf): Move code for finite nonzero arguments to
4026         k_casinhf.c.
4027         * math/s_casinhl.c: Do not include <float.h>.
4028         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4029         redefine.
4030         (__casinhl): Move code for finite nonzero arguments to
4031         k_casinhl.c.
4032         * math/libm-test.inc (cacos_test): Add more tests.
4033         * sysdeps/i386/fpu/libm-test-ulps: Update.
4034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035
4036 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
4037
4038         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4039         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4040         [!HAVE_MREMAP]: Remove [defined linux] case.
4041         * malloc/arena.c: Do not include <malloc-sysdep.h>.
4042
4043 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4044
4045         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4046
4047 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
4048
4049         * elf/elf.h (R_386_SIZE32): New relocation.
4050         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4051         R_386_SIZE32.
4052         (elf_machine_rela): Likewise.
4053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4054         R_X86_64_SIZE64 and R_X86_64_SIZE32.
4055
4056 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4057
4058         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4059         (FP_FAST_FMA): Do not define.
4060         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4061         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4062         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4063         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4064         !_SOFT_FLOAT]: Likewise.
4065         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4066         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4067         value.
4068         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4069         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4070         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4071         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4072         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4073         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4074         file.
4075
4076 2013-01-16  Andreas Schwab  <schwab@suse.de>
4077
4078         [BZ #14327]
4079         * include/stdlib.h (__mktemp): Add declaration.
4080         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4081         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4082
4083 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4084
4085         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4086         definitions.
4087         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4088         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4089         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4090         definitions here.
4091         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4092         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4093         definitions.
4094         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4095         and ONE.
4096         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4097         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4098         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4099         definitions.
4100         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4101         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4102         definitions.
4103         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4104
4105         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4106
4107 2013-01-15  David S. Miller  <davem@davemloft.net>
4108
4109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4110         trunc{,f} to libm-sysdep_routes.
4111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4113         file.
4114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4116         file.
4117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4118         file.
4119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4121         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4122         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4123         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4124         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4125         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4126         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4127
4128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4129         nearbyint{,f} to libm-sysdep_routes.
4130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4132         New file.
4133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4134         file.
4135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4136         New file.
4137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4138         file.
4139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4141         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4142         file.
4143         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4144         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4145         file.
4146         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4147         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4148         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4149
4150         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4151         libc_feholdexcept and libc_fesetenv.
4152
4153 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
4154
4155         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4156
4157 2013-01-14  David S. Miller  <davem@davemloft.net>
4158
4159         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4160         (SPARC_ASM_VIS2_IFUNC): Likewise.
4161         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4163         use of 'siam' instruction.
4164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4165         Likewise.
4166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4167         Likewise.
4168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4169         Likewise.
4170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4175         file.
4176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4177         file.
4178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4179         file.
4180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4181         file.
4182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4187         new VIS2 routines.
4188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4191         Likewise.
4192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4197         routines to libm-sysdep_routines.
4198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4199
4200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4201         fdim/fdimf to libm-sysdep_routines.
4202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4203         file.
4204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4206         file.
4207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4210         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4211         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4212         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4213         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4214
4215 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4216
4217         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4218         to optimize copies.
4219
4220         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4223
4224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4225         local variable MPTWO.
4226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4227         Likewise.
4228
4229 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4230
4231         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4232         GLOB_NOESCAPE.
4233
4234 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4235
4236         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4237
4238 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4239
4240         * manual/pattern.texi (glob_t): Document gl_flags.
4241         (glob64_t): Likewise.
4242
4243 2013-01-11  David S. Miller  <davem@davemloft.net>
4244
4245         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4246         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4247         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4248         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4249         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4250         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4251         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4252         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4253         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4254         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4255         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4256         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4257         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4258
4259         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4260         sparc V9 rather than using V8 code.
4261         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4262         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4263
4264         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4265         Move to...
4266         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4267         Here.
4268
4269 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4270
4271         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4272         not in the main loop.
4273         * configure: Regenerated.
4274
4275 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4276
4277         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4278         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4279         to just #else.
4280         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4281         [!__GLIBC_HAVE_LONG_LONG] case.
4282         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4283         condition to just #else.
4284         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4285         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4286         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4287         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4288         unconditional.
4289         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4290         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4291         #elif condition to just #else.
4292         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4293         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4294         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4295         #elif condition to just #else.
4296
4297 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4298
4299         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4300         (EF_MIPS_ARCH_64): Fix value.
4301         (EF_MIPS_ARCH_32R2): New.
4302         (EF_MIPS_ARCH_64R2): New.
4303
4304 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4305
4306         * Makeconfig (+link-pie-before-libc): New.
4307         (+link-pie-after-libc): Likewise.
4308         (+link-pie-tests): Likewise.
4309         (+link-pie): Rewritten.
4310         (link-before-libc): Remove $(config-LDFLAGS).
4311         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4312         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4313         (config-LDFLAGS): Renamed to ...
4314         (rtld-LDFLAGS): This.
4315         (rtld-tests-LDFLAGS): New macro.
4316         (link-libc-rpath-link): Likewise.
4317         (link-libc-tests-rpath-link): Likewise.
4318         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4319         (link-libc): Prepand $(link-libc-rpath-link).
4320         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4321         (test-program-prefix): New macro.
4322         (test-via-rtld-prefix): Likewise.
4323         (test-program-cmd): Likewise.
4324         (host-test-program-cmd): Likewise.
4325         * Makefile ($(common-objpfx)testrun.sh): Replace
4326         $(run-program-prefix) with $(test-program-prefix).
4327         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4328         $(rtld-LDFLAGS).
4329         ($(common-objpfx)shlib.lds): Likewise.
4330         (build-module-helper): Likewise.
4331         ($(common-objpfx)format.lds): Likewise.
4332         * Rules (binaries-pie-tests): New.
4333         (binaries-pie-notests): Likewise.
4334         (binaries-pie): Rewritten.
4335         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4336         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4337         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4338         (make-test-out): Replace $(host-built-program-cmd) with
4339         $(host-test-program-cmd).
4340         * config.make.in (build-hardcoded-path-in-tests): New variable.
4341         * configure.in (--enable-hardcoded-path-in-tests): New configure
4342         option.
4343         (hardcoded_path_in_tests): New AC_SUBST.
4344         * configure: Regenerated.
4345         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4346         $(built-program-cmd) with $(test-program-cmd).
4347         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4348         (test_program_cmd): This.
4349         * elf/Makefile ($(objpfx)order.out): Run test with
4350         $(test-program-prefix).
4351         ($(objpfx)order2.out): Likewise.
4352         ($(objpfx)tst-initorder.out): Likewise.
4353         ($(objpfx)tst-initorder2.out): Likewise.
4354         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4355         $(test-program-cmd).
4356         ($(objpfx)tst-array1-static.out): Likewise.
4357         ($(objpfx)tst-array2.out): Likewise.
4358         ($(objpfx)tst-array3.out): Likewise.
4359         ($(objpfx)tst-array4.out): Likewise.
4360         ($(objpfx)tst-array5.out): Likewise.
4361         ($(objpfx)tst-array5-static.out): Likewise.
4362         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4363         $(test-program-cmd).
4364         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4365         $(run-program-prefix) with $(test-program-prefix).
4366         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4367         (test_program_prefix): This.
4368         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4369         $(run-program-prefix) with $(test-program-prefix).
4370         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4371         (test_program_prefix): This.
4372         * iconvdata/tst-tables.sh: Likewise.
4373         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4374         $(run-program-prefix) with $(test-program-prefix).
4375         ($(objpfx)tst-translit.out): Likewise.
4376         ($(objpfx)tst-gettext2.out): Likewise.
4377         ($(objpfx)tst-gettext4.out): Likewise.
4378         ($(objpfx)tst-gettext6.out): Likewise.
4379         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4380         (test_program_prefix): This.
4381         * intl/tst-gettext2.sh: Likewise.
4382         * intl/tst-gettext4.sh  Likewise.
4383         * intl/tst-gettext6.sh: Likewise.
4384         * intl/tst-translit.sh: Likewise.
4385         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4386         with $(test-program-cmd).
4387         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4388         $(run-program-prefix) with $(test-program-prefix).
4389         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4390         (test_program_prefix): This.
4391         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4392         $(run-program-prefix) with $(test-program-prefix).
4393         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4394         (test_program_prefix): This.
4395         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4396         * posix/Makefile ($(objpfx)globtest.out): Replace
4397         $(run-via-rtld-prefix) and $(test-wrapper) with
4398         $(test-program-prefix) and $(test-via-rtld-prefix).
4399         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4400         $(test-program-prefix).
4401         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4402         $(host-test-program-cmd).
4403         (tst-spawn-ARGS): Likewise.
4404         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4405         $(test-program-prefix).
4406         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4407         (test_via_rtld_prefix): This.
4408         (test_wrapper): Renamed to ...
4409         (test_program_prefix): This.
4410         (run_program_prefix): Replaced by test_program_prefix.
4411         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4412         (test_program_prefix): This.
4413         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4414         with $(host-test-program-cmd).
4415         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4416         $(run-program-prefix) with $(test-program-prefix).
4417         ($(objpfx)tst-printf.out): Likewise.
4418         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4419         $(test-program-cmd).
4420         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4421         (test_program_prefix): This.
4422         * stdio-common/tst-unbputc.sh: Likewise.
4423         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4424         $(run-program-prefix) with $(test-program-prefix).
4425         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4426         (test_program_prefix): This.
4427         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4428         $(built-program-cmd) with $(test-program-cmd).
4429
4430 2013-01-11  Andreas Jaeger  <aj@suse.de>
4431
4432         [BZ #15003]
4433         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4434         value. Sync with Linux 3.7.
4435
4436 2013-01-10  David S. Miller  <davem@davemloft.net>
4437
4438         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4439         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4440         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4441
4442 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4443
4444         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4445         never set.
4446         * configure: Regenerated.
4447
4448 2013-01-10  David S. Miller  <davem@davemloft.net>
4449
4450         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4451         sparc V9 rather than using V8 code.
4452         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4453         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4454
4455 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4456
4457         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4458         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4459         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4460         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4461         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4462         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4463         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4464         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4465         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4466         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4467         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4468         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4469         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4470         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4471         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4472         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4473         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4474         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4475         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4476         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4477         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4478         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4479         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4480         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4481         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4482         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4483         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4484
4485 2013-01-10  David S. Miller  <davem@davemloft.net>
4486
4487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4488
4489 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4490
4491         * posix/Makefile (tests-static): New variable.
4492         (tests): Add $(tests-static).
4493         (tst-exec-static-ARGS): New variable.
4494         (tst-spawn-static-ARGS): Likewise.
4495         * posix/tst-exec-static.c: New file.
4496         * posix/tst-spawn-static.c: Likewise.
4497         * posix/tst-exec.c: Support run directly.
4498         * posix/tst-spawn.c: Likewise.
4499
4500 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4501
4502         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4503         long.
4504         * math/bits/mathcalls.h (llrint): Likewise.
4505         (llround): Likewise.
4506         * stdlib/stdlib.h (struct drand48_data): Likewise.
4507         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4508         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4510         Likewise.
4511         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4512         Likewise.
4513         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4514         (elf_greg_t): Likewise.
4515         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4516         (__jmp_buf): Likewise.
4517         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4518         definitions.
4519         (llrint): Likewise, for all definitions.
4520         (llrintl): Likewise.
4521
4522         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4523         Remove [__GNUC__] condition.
4524         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4525         condition to just [__USE_ISOC99].
4526         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4527
4528 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4529
4530         [BZ #14200]
4531         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4532         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4533         defined.
4534         (_POSIX_V6_ILP32_OFF32): Likewise.
4535         (_XBS5_ILP32_OFF32): Likewise.
4536         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4537         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4538
4539 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4540
4541         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4542
4543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4544         doubles __mpexp_twomm1.  Adjust usage.
4545         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4546         Remove.
4547
4548 2013-01-10  Andreas Schwab  <schwab@suse.de>
4549
4550         [BZ #14964]
4551         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4552         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4553
4554 2013-01-09  David S. Miller  <davem@davemloft.net>
4555
4556         [BZ #15003]
4557         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4558         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4559         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4560         TCP_FASTOPEN): Define.
4561         (tcp_repair_opt): New structure.
4562         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4563         enum values.
4564         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4565         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4566         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4567         (tcp_cookie_transactions): New structure.
4568
4569 2013-01-09  Anton Blanchard  <anton@samba.org>
4570
4571         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4572         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4574         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4575
4576 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4577
4578         * include/features.h (__USE_ANSI): Remove.
4579
4580 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4581
4582         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4583
4584         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4585
4586 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4587
4588         * sysdeps/s390/fpu/libm-test-ulps: Update.
4589
4590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4591
4592         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4593         (__acr): Likewise.
4594         (__cpy): Likewise.
4595         (norm): Likewise.
4596         (denorm): Likewise.
4597         (__mp_dbl): Likewise.
4598         (__dbl_mp): Likewise.
4599         (add_magnitudes): Likewise.
4600         (sub_magnitudes): Likewise.
4601         (__add): Likewise.
4602         (__sub): Likewise.
4603         (__mul): Likewise.
4604         (__inv): Likewise.
4605         (__dvd): Likewise.
4606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4607         (__acr): Likewise.
4608         (__cpy): Likewise.
4609         (norm): Likewise.
4610         (denorm): Likewise.
4611         (__mp_dbl): Likewise.
4612         (__dbl_mp): Likewise.
4613         (add_magnitudes): Likewise.
4614         (sub_magnitudes): Likewise.
4615         (__add): Likewise.
4616         (__sub): Likewise.
4617         (__mul): Likewise.
4618         (__inv): Likewise.
4619         (__dvd): Likewise.
4620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4621         (__acr): Likewise.
4622         (__cpy): Likewise.
4623         (norm): Likewise.
4624         (denorm): Likewise.
4625         (__mp_dbl): Likewise.
4626         (__dbl_mp): Likewise.
4627         (add_magnitudes): Likewise.
4628         (sub_magnitudes): Likewise.
4629         (__add): Likewise.
4630         (__sub): Likewise.
4631         (__mul): Likewise.
4632         (__inv): Likewise.
4633         (__dvd): Likewise.
4634
4635 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4636
4637         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4638         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4639         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4640         2 && __USE_EXTERN_INLINES]: Likewise.
4641
4642 2013-01-08  Andreas Jaeger  <aj@suse.de>
4643
4644         [BZ# 14985]
4645         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4646         Remove.
4647         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4648         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4649
4650 2013-01-07  Anton Blanchard  <anton@samba.org>
4651
4652         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4653         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4654         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4655         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4656         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4657         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4658         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4659         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4661         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4662         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4663         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4664         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4665         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4666         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4667         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4668         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4669         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4670         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4671         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4672         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4673         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4675         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4676         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4677         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4678         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4679         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4680         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4681         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4682         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4684         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4685         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4686         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4687         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4688         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4689         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4690         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4692         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4693         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4694         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4695
4696 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4697
4698         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4699         (__MALLOC_PMT): Likewise.
4700         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4701         [__GNUC__], only on [_LIBC].
4702         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4703         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4704         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4705         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4706         forward declaration.
4707         (realloc_hook_ini): Likewise.
4708         (memalign_hook_ini): Likewise.
4709         (__libc_memalign): Do not use __MALLOC_PMT in variable
4710         declaration.
4711         (__libc_valloc): Likewise.
4712         (__libc_pvalloc): Likewise.
4713         (__libc_calloc): Likewise.
4714         (__posix_memalign): Likewise.
4715
4716         [BZ #14996]
4717         * math/s_casinh.c: Include <float.h>.
4718         (__casinh): Do not do computation with squaring and square root
4719         for large arguments.
4720         * math/s_casinhf.c: Include <float.h>.
4721         (__casinhf): Do not do computation with squaring and square root
4722         for large arguments.
4723         * math/s_casinhl.c: Include <float.h>.
4724         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4725         (__casinhl): Do not do computation with squaring and square root
4726         for large arguments.
4727         * math/libm-test.inc (casin_test): Add more tests.
4728         (casinh_test): Likewise.
4729         * sysdeps/i386/fpu/libm-test-ulps: Update.
4730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4731
4732 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4733
4734         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4735         (__x86_64_raw_data_cache_size): Likewise.
4736         (__x86_64_data_cache_size_half): Likewise.
4737         (__x86_64_raw_data_cache_size_half): Likewise.
4738         (__x86_64_shared_cache_size): Likewise.
4739         (__x86_64_raw_shared_cache_size): Likewise.
4740         (__x86_64_shared_cache_size_half): Likewise.
4741         (__x86_64_raw_shared_cache_size_half): Likewise.
4742         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4743         to ...
4744         (__x86_data_cache_size): This.
4745         (__x86_64_raw_data_cache_size): Renamed to ...
4746         (__x86_raw_data_cache_size): This.
4747         (__x86_64_data_cache_size_half): Renamed to ...
4748         (__x86_data_cache_size_half): This.
4749         (__x86_64_raw_data_cache_size_half): Renamed to ...
4750         (__x86_raw_data_cache_size_half): This.
4751         (__x86_64_shared_cache_size): Renamed to ...
4752         (__x86_shared_cache_size): This.
4753         (__x86_64_raw_shared_cache_size): Renamed to ...
4754         (__x86_raw_shared_cache_size): This.
4755         (__x86_64_shared_cache_size_half): Renamed to ...
4756         (__x86_shared_cache_size_half): This.
4757         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4758         (__x86_raw_shared_cache_size_half): This.
4759         * sysdeps/x86_64/memcpy.S: Updated.
4760         * sysdeps/x86_64/memset.S: Likewise.
4761         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4763         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4764
4765 2013-01-04  David S. Miller  <davem@davemloft.net>
4766
4767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4768
4769 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4770
4771         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4772         1 to avoid redefinition warning.
4773         (__USE_GNU): Don't define.
4774         (init_signaling_nan): Protoize.
4775
4776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4777
4778 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4779
4780         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4782         (__cpymn): Likewise.
4783         (norm): Remove commented code.
4784         (denorm): Likewise.
4785         (__mp_dbl): Likewise.
4786         (__inv): Likewise.
4787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4788         (__cpymn): Likewise.
4789         (norm): Remove commented code.
4790         (denorm): Likewise.
4791         (__mp_dbl): Likewise.
4792         (__inv): Likewise.
4793
4794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4795         mp_no value for 1.0 and 2.0.
4796         (norm): Use RADIXI instead of radixi.d.
4797         (denorm): Likewise.
4798         (__mul): Use 0.0 instead of zero.d.
4799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4800         mp_no value for 1.0 and 2.0.
4801         (norm): Use RADIXI instead of radixi.d.
4802         (denorm): Likewise.
4803         (__mul): Use 0.0 instead of zero.d.
4804
4805 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4806
4807         [BZ #14994]
4808         * math/s_casinh.c (__casinh): Reduce finite argument to first
4809         quadrant then set signs of results at the end.
4810         * math/s_casinhf.c (__casinhf): Likewise.
4811         * math/s_casinhl.c (__casinhl): Likewise.
4812         * math/libm-test.inc (casin_test): Add more tests.
4813         (casinh_test): Likewise.
4814         * sysdeps/i386/fpu/libm-test-ulps: Update.
4815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4816
4817 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4818
4819         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4820
4821         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4822
4823         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4824         declarations.
4825         (denorm): Likewise.
4826         (__mp_dbl): Likewise.
4827         (__inv): Likewise.
4828
4829         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4830         and adjust the header comment.
4831
4832         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4833         variable name from declaration.
4834
4835 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4836
4837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4838         Initialize COMMON_CPUID_INDEX_7 element.
4839         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4840         (CPUID_RTM): Likewise.
4841         (HAS_RTM): Likewise.
4842         (COMMON_CPUID_INDEX_7): New enum.
4843
4844 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4845
4846         [BZ #14981]
4847         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4848         size is zero, record memory as freed.
4849
4850 2013-01-03  Andreas Jaeger  <aj@suse.de>
4851
4852         * po/ia.po: Add new Interlingua translation.
4853
4854 2012-01-03  Allan McRae  <allan@archlinux.org>
4855
4856         * locale/programs/localedef.c: Fix description of '--posix' flag.
4857
4858 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4859
4860         * NEWS: Update dates in second copyright notice.
4861         * README: Update copyright dates in example.
4862         * manual/libc.texinfo: Update copyright dates.
4863         * scripts/test-installation.pl: Update copyright date in --version
4864         output.
4865
4866         * hurd/ctty-input.c: Fix copyright notice formatting.
4867         * hurd/ctty-output.c: Likewise.
4868         * hurd/dtable.c: Likewise.
4869         * hurd/hurd-raise.c: Likewise.
4870         * hurd/hurdprio.c: Likewise.
4871         * hurd/msgportdemux.c: Likewise.
4872         * misc/sys/file.h: Likewise.
4873         * misc/sys/ioctl.h: Likewise.
4874         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4875         * sysdeps/mach/hurd/chdir.c: Likewise.
4876         * sysdeps/mach/hurd/fchdir.c: Likewise.
4877         * sysdeps/mach/hurd/rename.c: Likewise.
4878         * sysdeps/mach/hurd/rmdir.c: Likewise.
4879         * sysdeps/mach/hurd/seekdir.c: Likewise.
4880         * sysdeps/mach/hurd/setsid.c: Likewise.
4881         * sysdeps/posix/wait3.c: Likewise.
4882
4883         * All files with FSF copyright notices: Update copyright dates
4884         using scripts/update-copyrights.
4885         * intl/plural.c: Regenerated.
4886         * locale/programs/charmap-kw.h: Likewise.
4887         * locale/programs/locfile-kw.h: Likewise.
4888
4889 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4890
4891         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4892         four values.
4893
4894         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4895         calculation loop and add branch prediction.
4896
4897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4898         check access beyond bounds of m1np.
4899
4900         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4901         MPTWO.
4902         (__inv): Remove local variable MPTWO to use the global
4903         constant.
4904         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4906         variable MPTWO.
4907         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4908         MP3HALFS static const.
4909
4910 2013-01-01  David S. Miller  <davem@davemloft.net>
4911
4912         * po/ca.po: Update from translation team.
4913
4914 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4915
4916         * scripts/update-copyrights: New file.
4917         * Makeconfig: Reformat copyright notice.
4918         * ctype/ctype.h: Likewise.
4919         * debug/swprintf_chk.c: Likewise.
4920         * elf/dl-cache.c: Likewise.
4921         * elf/dl-debug.c: Likewise.
4922         * elf/dl-object.c: Likewise.
4923         * grp/initgroups.c: Likewise.
4924         * hurd/Makefile: Likewise.
4925         * hurd/hurd/signal.h: Likewise.
4926         * hurd/hurdfault.c: Likewise.
4927         * hurd/hurdioctl.c: Likewise.
4928         * hurd/hurdlookup.c: Likewise.
4929         * hurd/intr-msg.c: Likewise.
4930         * iconv/gconv_open.c: Likewise.
4931         * libio/swprintf.c: Likewise.
4932         * locale/lc-ctype.c: Likewise.
4933         * locale/nl_langinfo.c: Likewise.
4934         * mach/Machrules: Likewise.
4935         * mach/Makefile: Likewise.
4936         * malloc/obstack.h: Likewise.
4937         * manual/Makefile: Likewise.
4938         * manual/tsort.awk: Likewise.
4939         * misc/bits/stab.def: Likewise.
4940         * nis/nis_print_group_entry.c: Likewise.
4941         * nis/nis_table.c: Likewise.
4942         * nis/nss_compat/compat-pwd.c: Likewise.
4943         * nis/nss_compat/compat-spwd.c: Likewise.
4944         * po/Makefile: Likewise.
4945         * posix/fnmatch.c: Likewise.
4946         * posix/regex.h: Likewise.
4947         * resolv/Makefile: Likewise.
4948         * resolv/nss_dns/dns-network.c: Likewise.
4949         * resolv/res_hconf.c: Likewise.
4950         * scripts/gen-sorted.awk: Likewise.
4951         * soft-fp/soft-fp.h: Likewise.
4952         * stdio-common/printf.h: Likewise.
4953         * stdlib/monetary.h: Likewise.
4954         * stdlib/random.c: Likewise.
4955         * stdlib/random_r.c: Likewise.
4956         * sysdeps/generic/Makefile: Likewise.
4957         * sysdeps/gnu/Makefile: Likewise.
4958         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4959         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4960         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4962         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4964         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4965         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4966         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4968         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4969         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4970         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4971         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4972         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4974         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4977         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4978         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4980         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4981         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4982         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4983         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4984         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4985         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4986         * sysdeps/mach/hurd/errnos.awk: Likewise.
4987         * sysdeps/mach/hurd/fork.c: Likewise.
4988         * sysdeps/mach/hurd/getcwd.c: Likewise.
4989         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4990         * sysdeps/mach/hurd/mmap.c: Likewise.
4991         * sysdeps/mach/hurd/utimes.c: Likewise.
4992         * sysdeps/mach/hurd/xmknod.c: Likewise.
4993         * sysdeps/posix/profil.c: Likewise.
4994         * sysdeps/posix/readdir_r.c: Likewise.
4995         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4996         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4997         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4998         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5000         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5001         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5002         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5004         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5005         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5006         * sysdeps/pthread/lio_listio.c: Likewise.
5007         * sysdeps/sparc/dl-procinfo.h: Likewise.
5008         * sysdeps/unix/i386/sysdep.S: Likewise.
5009         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5010         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5011         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5012         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5014         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5015         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5016         * sysdeps/unix/sysv/linux/speed.c: Likewise.
5017         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5018         * sysdeps/wordsize-32/divdi3.c: Likewise.
5019         * time/sys/time.h: Likewise.
5020         * wcsmbs/Makefile: Likewise.
5021
5022 2013-01-01  David S. Miller  <davem@davemloft.net>
5023
5024         * po/fr.po: Update from translation team.
5025
5026         * catgets/gencat.c: Update copyright year.
5027         * csu/version.c: Likewise.
5028         * debug/catchsegv.sh: Likewise.
5029         * debug/pcprofiledump.c: Likewise.
5030         * debug/xtrace.sh: Likewise.
5031         * elf/ldconfig.c: Likewise.
5032         * elf/ldd.bash.in: Likewise.
5033         * elf/pldd.c: Likewise.
5034         * elf/sotruss.ksh: Likewise.
5035         * elf/sprof.c: Likewise.
5036         * iconv/iconv_prog.c: Likewise.
5037         * iconv/iconvconfig.c: Likewise.
5038         * locale/programs/locale.c: Likewise.
5039         * locale/programs/localedef.c: Likewise.
5040         * login/programs/pt_chown.c: Likewise.
5041         * malloc/memusage.sh: Likewise.
5042         * malloc/memusagestat.c: Likewise.
5043         * malloc/mtrace.pl: Likewise.
5044         * nscd/nscd.c: Likewise.
5045         * nss/getent.c: Likewise.
5046         * nss/makedb.c: Likewise.
5047         * posix/getconf.c: Likewise.
5048
5049 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5050
5051         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5052         numbers.
5053
5054 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
5055
5056         * math/bits/mathcalls.h (modf): Use __nonnull.
5057
5058 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5059
5060         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5061         (split): Use macro CN instead of the bare value.
5062         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5063         could be used.
5064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5065         instead of the bare value.
5066         (power1): Likewise.
5067
5068 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5069
5070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5071         __ATAN_TWOM.
5072         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5073
5074         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5075         their values.
5076         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5077         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5078         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5079         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5080
5081 2012-12-28  Andreas Jaeger  <aj@suse.de>
5082
5083         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
5084         values are from Linux 3.7.
5085
5086         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5087         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
5088
5089 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5090
5091         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5092         TRUE case.
5093
5094         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5095         (norm): Likewise.
5096         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5097         variables with preprocessor constants.
5098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5099         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5100         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5101
5102 2012-12-27  Bruno Haible  <bruno@clisp.org>
5103
5104         [BZ #14317]
5105         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5106         only if needed.
5107
5108 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5109
5110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5111         and use variable directly.
5112         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5113
5114         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5115         MPONE.
5116         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5118         variable MPONE.
5119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5121         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5122         include directive.  Remove local variable MPONE.
5123         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5124         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5125         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5126
5127 2012-12-25  David S. Miller  <davem@davemloft.net>
5128
5129         * version.h (RELEASE): Set to "development".
5130         (VERSION): Set to "2.17.90".
5131         * NEWS: Add 2.18 section.
5132
5133 2012-12-21  David S. Miller  <davem@davemloft.net>
5134
5135         * po/hr.po: Update from translation team.
5136
5137 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5138
5139         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5140
5141 2012-12-19  Steve Ellcey  <sellcey@mips.com>
5142
5143         * NEWS:  Mention new memcpy for MIPS.
5144
5145 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5146
5147         * manual/contrib.texi (Contributors): Spelling correction.
5148
5149 2012-12-15  David S. Miller  <davem@davemloft.net>
5150
5151         * po/ru.po: Update from translation team.
5152
5153 2012-12-13  David S. Miller  <davem@davemloft.net>
5154
5155         * NEWS: Mention IFUNC testsuite enhancements.
5156
5157         * po/pl.po: Update from translation team.
5158         * po/bg.po: Likewise.
5159
5160         * manual/contrib.texi (Contributors): Update entries for Hongjiu
5161         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
5162
5163 2012-12-11  David S. Miller  <davem@davemloft.net>
5164
5165         * po/sv.po: Update from translation team.
5166
5167         * po/vi.po: Update from translation team.
5168
5169         * po/cs.po: Update from translation team.
5170
5171         * po/de.po: Update from translation team.
5172         * po/eo.po: Likewise.
5173         * po/nl.po: Likewise.
5174
5175 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5176
5177         [BZ #14246]
5178         * manual/argp.texi (Argp Helper Functions): Move node to follow
5179         Argp Parsing State.
5180
5181         [BZ #14872]
5182         * manual/conf.texi (Limits on File System Capacity): Mention if
5183         terminating null is included in the max size.
5184
5185 2012-12-10  Andreas Jaeger  <aj@suse.de>
5186
5187         * po/cs.po: Update from translation team.
5188
5189 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5190
5191         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5192         void pointer and cast to uintptr_t.
5193         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5194         path.
5195         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5196         * sysdeps/s390/s390-64/memset.S: Likewise.
5197
5198 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5199
5200         [BZ #14833]
5201         * menual/message.texi (Message Translation): Fix typos.
5202         (Helper programs for gettext): Likewise.
5203
5204 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5205
5206         [BZ #14898]
5207         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5208         Change to -1.
5209
5210 2012-12-07  David S. Miller  <davem@davemloft.net>
5211
5212         * po/libc.pot: Update.
5213
5214 2012-12-07  Richard Henderson  <rth@redhat.com>
5215
5216         [BZ #10114]
5217         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5218         normal/normal case to before the switch.
5219         (_FP_DIV): Likewise.
5220
5221 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5222             Mike Frysinger  <vapier@gentoo.org>
5223
5224         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5225         check for __NR_fadvise64_64.
5226
5227 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5228
5229         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5230         0, not just to plain "0" as a statement.
5231         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5232         with cw.
5233
5234 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5235
5236         * NEWS: Use sourceware.org in Bugzilla URL.
5237
5238 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5239
5240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5241         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5242
5243         * stdio-common/tst-put-error.c (do_test): Add newline to the
5244         padded test to ensure flush.
5245
5246 2012-12-05  Jeff Law  <law@redhat.com>
5247
5248         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5249
5250 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5251
5252         * README: Don't refer to ports add-on as distributed separately.
5253         Mention AArch64 in list of systems supported in the ports add-on.
5254
5255         * LICENSES: Add more non-FSF copyright and license notices.
5256
5257         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5258         ((unused)).
5259
5260         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5261
5262         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5263         10000 as width of padded output.
5264
5265 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5266
5267         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5268
5269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5270         variable LX with __attribute__ ((unused)).
5271         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5272         Likewise.
5273         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5275         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5276         with __attribute__ ((unused)).
5277
5278 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5279
5280         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5281
5282 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5283
5284         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5285         (CFLAGS-nldbl-acos.c): New variable.
5286         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5287         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5288         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5289         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5290         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5291         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5292         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5293         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5294         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5295         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5296         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5297         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5298         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5299         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5300         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5301         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5302         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5303         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5304         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5305         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5306         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5307         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5308         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5309         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5310         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5311         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5312         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5313         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5314         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5315         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5316         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5317         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5318         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5319         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5320         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5321         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5322         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5323         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5324         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5325         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5326         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5327         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5328         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5329         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5330         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5331         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5332         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5333         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5334         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5335         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5336         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5337         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5338         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5339         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5340         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5341         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5342         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5343         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5344         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5345         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5346         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5347         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5348         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5349         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5350         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5351         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5352         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5353         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5354         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5355         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5356         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5357         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5358         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5359         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5360         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5361         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5362         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5363         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5364         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5365         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5366         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5367         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5368         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5369         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5370         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5371         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5372         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5373         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5374         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5375         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5376         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5377         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5378         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5379         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5380         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5381         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5382         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5383
5384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5385         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5386
5387         [BZ #14914]
5388         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5389         whole low double instead of just low 47 bits when splitting values
5390         into two parts.
5391
5392 2012-12-03  Allan McRae  <allan@archlinux.org>
5393
5394         * manual/stdio.texi (Predefined Printf Handlers): Remove
5395         @hsep and @vsep usage.
5396
5397 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5398
5399         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5400         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5401
5402 2012-12-03  Jeff Law  <law@redhat.com>
5403
5404         * time/sys/time.h (settimeofday): Do not mark TV argument
5405         as __nonnull.
5406
5407 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5408
5409         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5410         when currently writing and seek to current position when not.
5411         * libio/Makefile (tests): Remove bug-fclose1.
5412         * libio/bug-fclose1.c: Delete.
5413
5414 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5415
5416         * manual/arith.texi (feenableexcept): Fix typo.
5417         (fedisableexcept): Likewise.
5418
5419 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5420
5421         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5422         second, differently-typed declaration, rather than a cast.
5423
5424 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5425
5426         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5427         * include/rpc/svc.h: ... here.
5428
5429 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5430
5431         [BZ #13013]
5432         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5433         depending n and resplen2 to catch cases where answer
5434         equals answerp2.
5435
5436 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5437
5438         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5439         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5440
5441 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5442
5443         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5444
5445 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5446
5447         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5448
5449 2012-11-28  Jeff Law  <law@redhat.com>
5450
5451         [BZ #13761]
5452         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5453         dataset_temporary.  Track alloca usage into alloca_used.
5454         If dataset is large allocate and release it via malloc/free.
5455
5456 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5457
5458         [BZ #14197]
5459         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5460
5461 2012-11-28  David S. Miller  <davem@davemloft.net>
5462
5463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5464
5465 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5466
5467         [BZ #14803]
5468         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5469         of pi/2 rounded to nearest to 64 bits.
5470         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5471         nearest to 64 bits.
5472         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5473         bits.
5474
5475 2012-11-28  Jeff Law <law@redhat.com>
5476             Martin Osvald <mosvald@redhat.com>
5477
5478         [BZ #14889]
5479         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5480         * sunrpc/svc.c: Include time.h.
5481         (__svc_accept_failed): New function.
5482         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5483         any reason other than EINTR, call __svc_accept_failed.
5484         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5485         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5486
5487 2012-11-28  Andreas Schwab  <schwab@suse.de>
5488
5489         * scripts/abilist.awk: Also handle indirect functions in .opd
5490         section.
5491
5492 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5493
5494         [BZ #13881]
5495         * sysdeps/x86/fpu/powl_helper.c: New file.
5496         * sysdeps/x86/fpu/Makefile: Likewise.
5497         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5498         (p3): New object.
5499         (__ieee754_powl): Use __powl_helper for finite arguments except
5500         integer exponents below 8.
5501         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5502         (p3): New object.
5503         (__ieee754_powl): Use __powl_helper for finite arguments except
5504         integer exponents below 8.
5505         * math/libm-test.inc (pow_test): Add more tests and enable some
5506         previously disabled tests.
5507         * sysdeps/i386/fpu/libm-test-ulps: Update.
5508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5509
5510 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5511             Carlos O'Donell  <carlos_odonell@mentor.com>
5512
5513         * nss/makedb.c (is_prime): Assert that input is odd and greater
5514         than 4.  Note that fact in a comment too.
5515         (next_prime): Add 4 to input.
5516
5517 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5518
5519         [BZ #11741]
5520         * libio/Makefile (tests): Add test case tst-fwrite-error.
5521         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5522         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5523         * libio/tst-fwrite-error.c: New test case.
5524
5525 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5526
5527         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5528         before casting to void *.
5529         * include/libc-internal.h (__pointer_type): New macro.
5530         (__integer_if_pointer_type_sub): Likewise.
5531         (__integer_if_pointer_type): Likewise.
5532         (cast_to_integer): Likewise.
5533         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5534         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5535         before casting to atomic64_t.
5536         (atomic_exchange_acq): Likewise.
5537         (__arch_exchange_and_add_body): Likewise.
5538         (__arch_add_body): Likewise.
5539         (atomic_add_negative): Likewise.
5540         (atomic_add_zero): Likewise.
5541
5542 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5543
5544         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5545         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5546         (add_fdes): Likewise.
5547         (linear_search_fdes): Likewise.
5548         (binary_search_unencoded_fdes): Likewise.
5549
5550 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5551
5552         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5553
5554 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5555
5556         * configure.in: Autodetect C++ header directories.
5557         * configure: Regenerated.
5558
5559 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5560
5561         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5562
5563 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5564
5565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5566
5567 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5568
5569         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5570         LDBL_MANT_DIG == 106]: Disable some tests.
5571         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5572         Likewise.
5573         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5574         Likewise.
5575
5576         [BZ #14871]
5577         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5578         input for small inputs.  Return +/- pi/2 for large inputs.
5579         * math/libm-test.inc (atan_test): Add more tests.
5580
5581         * sysdeps/generic/unwind-dw2-fde-glibc.c
5582         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5583         __attribute__ ((unused)).
5584
5585         [BZ #14645]
5586         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5587         x * y if x and y are nonzero and z is zero.
5588
5589         [BZ #14811]
5590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5591         nonzero exponents with absolute value below 0x1p-117 to +/-
5592         0x1p-117.
5593
5594         [BZ #14869]
5595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5596         up arguments below 2**-450, not just those below 2**-500.
5597         * math/libm-test.inc (hypot_test): Add another test.
5598
5599         [BZ #14868]
5600         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5601         Return a+b for ratio over 2**120, not 2**60.
5602         * math/libm-test.inc (hypot_test): Add another test.
5603
5604         * math/libm-test.inc (clog_test): Use
5605         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5606         (clog10_test): Likewise.
5607
5608         [BZ #6778]
5609         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5610
5611 2012-11-22  Andreas Schwab  <schwab@suse.de>
5612
5613         * sysdeps/i386/fpu/libm-test-ulps: Update.
5614
5615 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5616
5617         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5618         printf output with newline.
5619
5620 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5621
5622         [BZ #14865]
5623         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5624         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5625         -z nodlopen, -z initfirst and -z execstack support.
5626         * configure: Regenerated.
5627
5628         * elf/elf.h (DF_1_NODIRECT): New macro.
5629         (DF_1_IGNMULDEF): Likewise.
5630         (DF_1_NOKSYMS): Likewise.
5631         (DF_1_NOHDR): Likewise.
5632         (DF_1_EDITED): Likewise.
5633         (DF_1_NORELOC): Likewise.
5634         (DF_1_SYMINTPOSE): Likewise.
5635         (DF_1_GLOBAUDIT): Likewise.
5636         (DF_1_SINGLETON): Likewise.
5637         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5638         DT_1_SUPPORTED_MASK bits.
5639         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5640
5641 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5642
5643         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5644
5645 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5646
5647         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5648         macro.
5649
5650         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5651         (sendmmsg): Move declarations...
5652         * socket/sys/socket.h: ... here.
5653         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5654         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5655         include it from...
5656         * socket/recvmmsg.c: ... this new file.
5657         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5658         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5659         definition of __sendmmsg hidden.
5660         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5661         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5662         Move ENOSYS stub into and include it from...
5663         * socket/sendmmsg.c: ... this new file.
5664         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5665         (sysdep_routines): Move recvmmsg and sendmmsg...
5666         * socket/Makefile (routines): ... here.
5667         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5668         (GLIBC_PRIVATE): Add __sendmmsg.
5669         * include/sys/socket.h (__sendmmsg): Add declarations.
5670         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5671         sendmmsg.
5672
5673 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5674
5675         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5676         variable I1 with __attribute__ ((unused)).
5677         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5678
5679 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5680
5681         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5682         DUMMY variables with __attribute__ ((unused)).
5683
5684         * bits/byteswap.h: Include <bits/types.h>.
5685         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5686
5687 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5688
5689         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5690         string_t.  Do not manually set errno.
5691         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5692         length with __strnlen.  Make sure to both set errno and return it on
5693         failure.
5694
5695 2012-11-19  David S. Miller  <davem@davemloft.net>
5696
5697         With help from Joseph Myers.
5698         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5699         very large arguments properly.
5700         * math/libm-test.inc (atan_test): New tests.
5701         (atan2_test): New tests.
5702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5704
5705 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5706
5707         [BZ #14856]
5708         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5709         Define to 3.
5710
5711         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5712         [POSIX] (EADDRNOTAVAIL): Likewise.
5713         [POSIX] (EAFNOSUPPORT): Likewise.
5714         [POSIX] (EALREADY): Likewise.
5715         [POSIX] (ECONNABORTED): Likewise.
5716         [POSIX] (ECONNREFUSED): Likewise.
5717         [POSIX] (ECONNRESET): Likewise.
5718         [POSIX] (EDESTADDRREQ): Likewise.
5719         [POSIX] (EDQUOT): Likewise.
5720         [POSIX] (EHOSTUNREACH): Likewise.
5721         [POSIX] (EIDRM): Likewise.
5722         [POSIX] (EISCONN): Likewise.
5723         [POSIX] (ELOOP): Likewise.
5724         [POSIX] (EMULTIHOP): Likewise.
5725         [POSIX] (ENETDOWN): Likewise.
5726         [POSIX] (ENETUNREACH): Likewise.
5727         [POSIX] (ENOBUFS): Likewise.
5728         [POSIX] (ENODATA): Likewise.
5729         [POSIX] (ENOLINK): Likewise.
5730         [POSIX] (ENOMSG): Likewise.
5731         [POSIX] (ENOPROTOOPT): Likewise.
5732         [POSIX] (ENOSR): Likewise.
5733         [POSIX] (ENOSTR): Likewise.
5734         [POSIX] (ENOTCONN): Likewise.
5735         [POSIX] (ENOTSOCK): Likewise.
5736         [POSIX] (EOPNOTSUPP): Likewise.
5737         [POSIX] (EOVERFLOW): Likewise.
5738         [POSIX] (EPROTO): Likewise.
5739         [POSIX] (EPROTONOSUPPORT): Likewise.
5740         [POSIX] (EPROTOTYPE): Likewise.
5741         [POSIX] (ESTALE): Likewise.
5742         [POSIX] (ETIME): Likewise.
5743         [POSIX] (ETXTBSY): Likewise.
5744         [POSIX] (EWOULDBLOCK): Likewise.
5745         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5746         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5747         [POSIX] (SEEK_CUR): Likewise.
5748         [POSIX] (SEEK_END): Likewise.
5749         [POSIX || UNIX98] (mode_t): Do not require.
5750         [POSIX] (off_t): Likewise.
5751         [POSIX] (pid_t): Likewise.
5752         [POSIX] (sys/stat.h): Do not allow header.
5753         [POSIX] (unistd.h): Likewise.
5754         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5755         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5756         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5757         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5758         require.
5759         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5760         sigevent): Specify elements.
5761         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5762         entry.
5763         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5764         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5765
5766         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5767         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5768         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5769         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5770         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5771         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5772         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5773         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5774         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5775         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5776         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5777         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5778         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5779         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5780         Likewise.
5781         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5782         Likewise.
5783         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5784         Likewise.
5785         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5786         Likewise.
5787         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5788         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5789         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5790         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5791         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5792         Specify lower bound on value.
5793         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5794         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5795         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5796         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5797         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5798         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5799         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5800         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5801         value.
5802         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5803         as optional.
5804         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5805         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5806         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5807         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5808         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5809         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5810         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5811         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5812         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5813         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5814         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5815         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5816         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5817         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5818         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5819         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5820         entry.
5821         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5822         optional.
5823         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5824         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5825         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5826         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5827         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5828         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5829         Likewise.
5830         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5831         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5832         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5833         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5834         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5835         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5836         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5837         as optional.
5838         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5839         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5840         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5841         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5842         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5843         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5844         specify as optional.
5845         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5846         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5847         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5848         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5849         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5850         [XPG3] (NL_LANGMAX): Likewise.
5851         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5852         [POSIX || XPG3] (NL_NMAX): Likewise.
5853         [POSIX || XPG3] (NL_SETMAX): Likewise.
5854         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5855         [XPG3] (NZERO): Likewise.
5856         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5857         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5858         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5859         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5860         (REG_ERANGE): Expect.
5861         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5862         optional-constant.
5863         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5864         Use (void) in prototype.
5865         [POSIX] (*_t): Allow.
5866         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5867         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5868         (WRDE_BADVAL): Expect.
5869
5870         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5871         expect.
5872         [XPG3 || XPG4] (O_RSYNC): Likewise.
5873         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5874         Likewise.
5875         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5876         [XPG3 || XPG4] (sigqueue): Likewise.
5877         [XPG3 || XPG4] (sigtimedwait): Likewise.
5878         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5879         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5880         [XPG3 || XPG4] (vsnprintf): Likewise.
5881         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5882         Likewise.
5883         [XPG3 || XPG4] (blksize_t): Likewise.
5884         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5885         Likewise.
5886         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5887         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5888         [XPG3 || XPG4] (struct itimerspec): Likewise.
5889         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5890         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5891         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5892         [XPG3 || XPG4] (clockid_t): Likewise.
5893         [XPG3 || XPG4] (timer_t): Likewise.
5894         [XPG3 || XPG4] (clock_getres): Likewise.
5895         [XPG3 || XPG4] (clock_gettime): Likewise.
5896         [XPG3 || XPG4] (clock_settime): Likewise.
5897         [XPG3 || XPG4] (nanosleep): Likewise.
5898         [XPG3 || XPG4] (timer_create): Likewise.
5899         [XPG3 || XPG4] (timer_delete): Likewise.
5900         [XPG3 || XPG4] (timer_gettime): Likewise.
5901         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5902         [XPG3 || XPG4] (timer_settime): Likewise.
5903         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5904         [XPG3 || XPG4] (getlogin_r): Likewise.
5905         [XPG3 || XPG4] (pread): Likewise.
5906         [XPG3 || XPG4] (pthread_atfork): Likewise.
5907         [XPG3 || XPG4] (pwrite): Likewise.
5908
5909         [BZ #14835]
5910         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5911         <bits/siginfo.h>.
5912
5913 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5914
5915         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5916         finalizing MALLSTREAM.
5917
5918         * sysdeps/mach/hurd/syncfs.c: New file.
5919
5920 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5921
5922         [BZ #14719]
5923         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5924         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5925         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5926         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5927         (_nss_dns_gethostbyname4_r): Likewise.
5928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5929         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5930
5931 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5932
5933         [BZ #13763]
5934         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5935
5936 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5937
5938         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5939         * elf/cache.c (print_entry): Print ",AArch64" for
5940         FLAG_AARCH64_LIB64
5941
5942         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5943         * elf/cache.c (print_entry): Print ",hard-float" for
5944         FLAG_ARM_LIBHF.
5945
5946 2012-11-18  David S. Miller  <davem@davemloft.net>
5947
5948         With help from Joseph Myers.
5949         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5950         cutoff to 2**-13.
5951         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5952         cutoff to 2**-25.
5953         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5954         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5955         small.
5956         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5957         * math/libm-test.inc (y0_test): New tests.
5958         (y1_test): New tests.
5959         * sysdeps/i386/fpu/libm-test-ulps: Update.
5960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5962
5963 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5964
5965         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5966         64-bit targets.
5967         * configure: Regenerated.
5968
5969 2012-11-17  David S. Miller  <davem@davemloft.net>
5970
5971         [BZ #14811]
5972         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5973         nonzero exponents with absolute value below 0x1p-128 to +/-
5974         0x1p-128.
5975
5976 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5977
5978         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5979
5980         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5981
5982         * posix/getconf-speclist.c: New file.
5983         * posix/posix-envs.def: Likewise.
5984         * posix/confstr.c (START_ENV_GROUP): New macro.
5985         (END_ENV_GROUP): Likewise.
5986         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5987         (KNOWN_PRESENT_ENV_STRING): Likewise.
5988         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5989         (UNKNOWN_ENVIRONMENT): Likewise.
5990         (confstr): Include posix-envs.def instead of handling
5991         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5992         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5993         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5994         (END_ENV_GROUP): Likewise.
5995         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5996         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5997         (UNKNOWN_ENVIRONMENT): Likewise.
5998         (__sysconf): Include posix-envs.def instead of handling associated
5999         cases directly here.
6000         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6001         preprocessing getconf-speclist.c rather than running getconf or
6002         generating empty file.
6003
6004 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
6005
6006         * scripts/check-local-headers.sh: Ignore 'mach' headers.
6007
6008 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
6009
6010         [BZ #14672]
6011         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6012
6013 2012-11-16  David S. Miller  <davem@davemloft.net>
6014
6015         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6016         smaller than LDBL_EPSILON/2.0L, just return xm1.
6017
6018 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
6019
6020         * elf/tst-array1.c (init): Set constructor priority to 1000.
6021         (fini): Set destructor priority to 1000.
6022         * elf/tst-array2dep.c: Likewise.
6023
6024 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6025
6026         [BZ #11741]
6027         * libio/fileops.c (_IO_new_file_write): Correctly return error.
6028         (_IO_new_file_xsputn): Also return EOF if none of the input
6029         data was written when overflow failed.
6030         * libio/iopadn.c (_IO_padn): Likewise.
6031         * libio/iowpadn.c (_IO_wpadn): Likewise.
6032         * stdio-common/tst-put-error.c: Add copyright notice.
6033         (do_test): Add case for printing padded string.
6034         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6035         _IO_padn returned error.
6036         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6037         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6038         return EOF.
6039
6040 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6041
6042         * libio/libioP.h: Add comment note that the references to C++
6043         bits are now obsolete.
6044
6045 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6046
6047         * math/libm-test.inc (check_complex): Use asprintf.
6048
6049 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
6050
6051         * debug/pcprofiledump.c (print_version): Update copyright year.
6052         * malloc/memusagestat.c (print_version): Likewise.
6053
6054 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6055
6056         [BZ #14831]
6057         * elf/Makefile (tests): Add tst-audit8.
6058         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6059         ($(objpfx)tst-audit8.out): New target.
6060         (tst-audit8-ENV): New variable.
6061         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6062         audit if l_reloc_result is NULL.
6063         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6064         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6065         * elf/tst-audit8.c: New file.
6066
6067 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6068
6069         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6070         * misc/Makefile (CFLAGS-select.c): Define.
6071         * posix/Makefile (CFLAGS-pause.c): Define.
6072
6073 2012-11-13  David S. Miller  <davem@davemloft.net>
6074
6075         * crypt/Makefile: Move test targets after toplevel Rules
6076         inclusion.  Grab any necessary sysdep routines when linking.
6077         * crypt/md5.c (md5_process_block): Remove define, we will always
6078         name it __md5_process_block.
6079         (md5_finish_ctx): Update md5_process_block call.
6080         (md5_stream): Likewise.
6081         (md5_process_bytes): Likewise.
6082         (md5_process_block): Rename to __md5_process_block and move to ...
6083         * crypt/md5-block.c: ... here.
6084         * crypt/sha256.c (sha256_process_block): Move to ...
6085         * crypt/sha256-block.c: ... here.
6086         * crypt/sha512.c (sha512_process_block): Move to ...
6087         * crypt/sha512-block.c: ... here.
6088         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6089         path.
6090         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6091         * sysdeps/sparc/sparc64/multiarch/Makefile
6092         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6093         crypt subdir.
6094         (localedef-aux): Add md5 crypto assembler when in locale subdir.
6095         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6096         multiarch changes.
6097         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6098         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6099         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6100         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6101         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6102         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6103         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6104         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6105         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6106         file.
6107         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6108         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6109         file.
6110         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6111
6112 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
6113
6114         * timezone/tzselect.ksh: Update from tzcode git revision
6115         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6116         * timezone/zdump.c: Likewise.
6117         * timezone/zic.c: Likewise.
6118         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6119         in TZVERSION setting, not $(PKGVERSION).
6120         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
6121         REPORT_BUGS_TO settings.
6122
6123         [BZ #14838]
6124         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6125         macro.
6126
6127 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6128
6129         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6130         detection to immediately after _FP_ROUND().
6131         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6132         bits are 0.
6133
6134 2012-11-11  David S. Miller  <davem@davemloft.net>
6135
6136         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6137         inttypes.h
6138         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6139         __close rather than their public counterparts.
6140
6141 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
6142
6143         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6144         file.
6145         [UNIX98] (sem_timedwait): Do not expect.
6146         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6147         [XPG4 || UNIX98] (sockatmark): Do not expect.
6148         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6149         (clock_getcpuclockid): Do not expect.
6150         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6151         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6152         Do not expect.
6153         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6154         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6155         [UNIX98] (vwscanf): Likewise.
6156         [UNIX98] (vswscanf): Likewise.
6157
6158 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
6159
6160         * timezone/version.h: Remove file.
6161         * timezone/README: Do not refer to version.h.
6162         * timezone/Makefile ($(objpfx)zic.o): New dependency on
6163         $(objpfx)version.h.
6164         ($(objpfx)zdump.o): Likewise.
6165         ($(objpfx)version.h): New target.
6166
6167         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6168         2012i.
6169         * timezone/README: Don't mention modification to tzselect.ksh.
6170         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6171         work on unmodified tzselect.ksh.  Substitute version numbers in
6172         tzselect.ksh.
6173
6174         * Makefile (format-me): Remove.
6175         (INSTALL): Adjust indentation.  Use commands directly instead of
6176         using $(format-me).
6177
6178         * aclocal.m4 (ACX_PKGVERSION): New macro.
6179         (ACX_BUGURL): Likewise.
6180         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6181         (PKGVERSION): New AC_DEFINE_UNQUOTED.
6182         (REPORT_BUGS_TO): Likewise.
6183         * configure: Regenerated.
6184         * config.h.in (PKGVERSION): New macro.
6185         (REPORT_BUGS_TO): Likewise.
6186         * config.make.in (PKGVERSION): New variable.
6187         (PKGVERSION_TEXI): Likewise.
6188         (REPORT_BUGS_TO): Likewise.
6189         (REPORT_BUGS_TEXI): Likewise.
6190         * Makefile (format-me): Use -I$(common-objpfx)manual.
6191         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6192         ($(common-objpfx)manual/%): New target.
6193         (manual/%): Remove target.
6194         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6195         (print_version): Use PKGVERSION.
6196         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6197         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6198         and REPORT_BUGS_TO.
6199         ($(objpfx)xtrace): Likewise.
6200         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6201         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6202         (print_version): Use PKGVERSION.
6203         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6204         (do_version): Use PKGVERSION.
6205         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6206         REPORT_BUGS_TO.
6207         (common-ldd-rewrite): Likewise.
6208         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6209         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6210         (print_version): Use PKGVERSION.
6211         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6212         * elf/pldd.c (argp_program_bug_address): Remove variable.
6213         (more_help): New function.
6214         (argp): Use more_help.
6215         (print_version): Use PKGVERSION.
6216         * elf/sln.c (main): Use PKGVERSION.
6217         (usage): Use REPORT_BUGS_TO.
6218         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6219         (top level): Use PKGVERSION.
6220         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6221         (print_version): Use PKGVERSION.
6222         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6223         (print_version): Use PKGVERSION.
6224         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6225         (print_version): Use PKGVERSION.
6226         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6227         (print_version): Use PKGVERSION.
6228         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6229         (print_version): Use PKGVERSION.
6230         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6231         (print_version): Use PKGVERSION.
6232         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6233         and BUGURL.
6234         ($(objpfx)memusage): Likewise.
6235         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6236         (do_version): Use PKGVERSION.
6237         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6238         (print_version): Use PKGVERSION.
6239         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6240         ($PKGVERSION): New variable.
6241         ($REPORT_BUGS_TO): Likewise.
6242         (usage): Use $REPORT_BUGS_TO.
6243         (top level): Use $PKGVERSION.
6244         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6245         ($(objpfx)pkgvers.texi): New rule.
6246         ($(objpfx)stamp-pkgvers): Likewise.
6247         * manual/install.texi: Include pkgvers.texi.
6248         (--with-pkgversion): Document new configure option.
6249         (--with-bugurl): Likewise.
6250         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6251         than necessarily for this particular distribution.  Use
6252         REPORT_BUGS_TO for where to report bugs.
6253         * INSTALL: Regenerated.
6254         * manual/libc.texinfo: Include pkgvers.texi.
6255         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6256         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6257         (print_version): Use PKGVERSION.
6258         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6259         (print_version): Use PKGVERSION.
6260         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6261         (print_version): Use PKGVERSION.
6262         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6263         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6264         macro.
6265         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6266         (print_version): Use PKGVERSION.
6267         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6268         (print_version): Use PKGVERSION.
6269         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6270         and PKGVERSION.
6271
6272         * timezone/checktab.awk: Update from tzcode 2012i.
6273         * timezone/ialloc.c: Likewise.
6274         * timezone/private.h: Likewise.
6275         * timezone/scheck.c: Likewise.
6276         * timezone/tzfile.h: Likewise.
6277         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6278         (TZVERSION): Hardcode tzcode version number.
6279         * timezone/zdump.c: Update from tzcode 2012i.
6280         * timezone/zic.c: Likewise.
6281         * timezone/version.h: New file.
6282         * timezone/README: Describe version.h.  Update upstream location.
6283
6284         [BZ #14824]
6285         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6286         (mktemp): Enable declaration.
6287         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6289         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6291         Likewise.
6292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6293         Likewise.
6294         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6295         Likewise.
6296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6297         Likewise.
6298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6299         Likewise.
6300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6301         Likewise.
6302
6303         [BZ #14821]
6304         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6305         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6306         for copies of such integer values.
6307         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6308         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6309
6310 2012-11-09  Andreas Jaeger  <aj@suse.de>
6311
6312         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6313         definitions and declarations that are provided by
6314         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6315
6316 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6317
6318         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6319         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6320         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6321         definition.
6322
6323 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6324
6325         * elf/elf.h: Update comment before AArch64 relocations.
6326
6327 2012-11-07  David S. Miller  <davem@davemloft.net>
6328
6329         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6330         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6331         (__start_context): Declare.
6332         (__makecontext_ret): Delete.
6333         (__makecontext): Hook up __start_context instead of
6334         __makecontext_ret.
6335         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6336         (sysdep_routines): Add __start_context when in stdlib.
6337
6338 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6339
6340         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6341         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6342         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6343         hardcoded "nm".
6344         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6345         (READELF): New variable.  Use it instead of hardcoded "readelf".
6346
6347 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6348
6349         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6350         * sysdeps/x86/Makefile: Here.
6351         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6352         * sysdeps/x86/tst-xmmymm.sh: This.
6353
6354 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6355
6356         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6357         expectations.
6358         [UNIX98] (pthread_barrier_t): Do not expect.
6359         [UNIX98] (pthread_barrierattr_t): Likewise.
6360         [UNIX98] (pthread_spinlock_t): Likewise.
6361         [UNIX98] (pthread_barrier_destroy): Likewise.
6362         [UNIX98] (pthread_barrier_init): Likewise.
6363         [UNIX98] (pthread_barrier_wait): Likewise.
6364         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6365         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6366         [UNIX98] (pthread_barrierattr_init): Likewise.
6367         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6368         [UNIX98] (pthread_getcpuclockid): Likewise.
6369         [UNIX98] (pthread_mutex_timedlock): Likewise.
6370         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6371         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6372         [UNIX98] (pthread_sigmask): Likewise.
6373         [UNIX98] (pthread_spin_destroy): Likewise.
6374         [UNIX98] (pthread_spin_init): Likewise.
6375         [UNIX98] (pthread_spin_lock): Likewise.
6376         [UNIX98] (pthread_spin_trylock): Likewise.
6377         [UNIX98] (pthread_spin_unlock): Likewise.
6378         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6379         Do not expect.
6380         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6381         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6382         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6383         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6384         [XPG3 || XPG4] (pthread_key_t): Likewise.
6385         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6386         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6387         [XPG3 || XPG4] (pthread_once_t): Likewise.
6388         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6389         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6390         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6391         [XPG3 || XPG4] (pthread_t): Likewise.
6392
6393         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6394         not expect.
6395         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6396
6397         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6398         Change function return type to int.
6399
6400         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6401         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6402         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6403         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6404         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6405         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6406         [!POSIX] (posix_madvise): Likewise.
6407         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6408         && !UNIX98].
6409         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6410         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6411         (mode_t): Likewise.
6412         (posix_mem_offset): Likewise.
6413         (posix_typed_mem_get_info): Likewise.
6414         (posix_typed_mem_open): Likewise.
6415
6416         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6417         Change condition to [XOPEN2K8].
6418
6419         * conform/conformtest.pl: Preprocess allow-header data with -x c
6420         instead of from stdin.
6421         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6422         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6423         [C99-based standards] (cerfc): Likewise.
6424         [C99-based standards] (cexp2): Likewise.
6425         [C99-based standards] (cexpm1): Likewise.
6426         [C99-based standards] (clog10): Likewise.
6427         [C99-based standards] (clog1p): Likewise.
6428         [C99-based standards] (clog2): Likewise.
6429         [C99-based standards] (clgamma): Likewise.
6430         [C99-based standards] (ctgamma): Likewise.
6431         [C99-based standards] (cerff): Likewise.
6432         [C99-based standards] (cerfcf): Likewise.
6433         [C99-based standards] (cexp2f): Likewise.
6434         [C99-based standards] (cexpm1f): Likewise.
6435         [C99-based standards] (clog10f): Likewise.
6436         [C99-based standards] (clog1pf): Likewise.
6437         [C99-based standards] (clog2f): Likewise.
6438         [C99-based standards] (clgammaf): Likewise.
6439         [C99-based standards] (ctgammaf): Likewise.
6440         [C99-based standards] (cerfl): Likewise.
6441         [C99-based standards] (cerfcl): Likewise.
6442         [C99-based standards] (cexp2l): Likewise.
6443         [C99-based standards] (cexpm1l): Likewise.
6444         [C99-based standards] (clog10l): Likewise.
6445         [C99-based standards] (clog1pl): Likewise.
6446         [C99-based standards] (clog2l): Likewise.
6447         [C99-based standards] (clgammal): Likewise.
6448         [C99-based standards] (ctgammal): Likewise.
6449         * conform/data/inttypes.h-data [C99-based standards]: Include
6450         stdint.h-data.  Remove all expectations for stdint.h contents.
6451         [C99-based standards] (PRI*): Do not allow.
6452         [C99-based standards] (SCN*): Likewise.
6453         [C99-based standards] (*_t): Likewise.
6454         [C99-based-standards] (PRId8): Expect macro.
6455         [C99-based-standards] (PRIi8): Likewise.
6456         [C99-based-standards] (PRIo8): Likewise.
6457         [C99-based-standards] (PRIu8): Likewise.
6458         [C99-based-standards] (PRIx8): Likewise.
6459         [C99-based-standards] (PRIX8): Likewise.
6460         [C99-based-standards] (SCNd8): Likewise.
6461         [C99-based-standards] (SCNi8): Likewise.
6462         [C99-based-standards] (SCNo8): Likewise.
6463         [C99-based-standards] (SCNu8): Likewise.
6464         [C99-based-standards] (SCNx8): Likewise.
6465         [C99-based-standards] (PRIdLEAST8): Likewise.
6466         [C99-based-standards] (PRIiLEAST8): Likewise.
6467         [C99-based-standards] (PRIoLEAST8): Likewise.
6468         [C99-based-standards] (PRIuLEAST8): Likewise.
6469         [C99-based-standards] (PRIxLEAST8): Likewise.
6470         [C99-based-standards] (PRIXLEAST8): Likewise.
6471         [C99-based-standards] (SCNdLEAST8): Likewise.
6472         [C99-based-standards] (SCNiLEAST8): Likewise.
6473         [C99-based-standards] (SCNoLEAST8): Likewise.
6474         [C99-based-standards] (SCNuLEAST8): Likewise.
6475         [C99-based-standards] (SCNxLEAST8): Likewise.
6476         [C99-based-standards] (PRIdFAST8): Likewise.
6477         [C99-based-standards] (PRIiFAST8): Likewise.
6478         [C99-based-standards] (PRIoFAST8): Likewise.
6479         [C99-based-standards] (PRIuFAST8): Likewise.
6480         [C99-based-standards] (PRIxFAST8): Likewise.
6481         [C99-based-standards] (PRIXFAST8): Likewise.
6482         [C99-based-standards] (SCNdFAST8): Likewise.
6483         [C99-based-standards] (SCNiFAST8): Likewise.
6484         [C99-based-standards] (SCNoFAST8): Likewise.
6485         [C99-based-standards] (SCNuFAST8): Likewise.
6486         [C99-based-standards] (SCNxFAST8): Likewise.
6487         [C99-based-standards] (PRId16): Likewise.
6488         [C99-based-standards] (PRIi16): Likewise.
6489         [C99-based-standards] (PRIo16): Likewise.
6490         [C99-based-standards] (PRIu16): Likewise.
6491         [C99-based-standards] (PRIx16): Likewise.
6492         [C99-based-standards] (PRIX16): Likewise.
6493         [C99-based-standards] (SCNd16): Likewise.
6494         [C99-based-standards] (SCNi16): Likewise.
6495         [C99-based-standards] (SCNo16): Likewise.
6496         [C99-based-standards] (SCNu16): Likewise.
6497         [C99-based-standards] (SCNx16): Likewise.
6498         [C99-based-standards] (PRIdLEAST16): Likewise.
6499         [C99-based-standards] (PRIiLEAST16): Likewise.
6500         [C99-based-standards] (PRIoLEAST16): Likewise.
6501         [C99-based-standards] (PRIuLEAST16): Likewise.
6502         [C99-based-standards] (PRIxLEAST16): Likewise.
6503         [C99-based-standards] (PRIXLEAST16): Likewise.
6504         [C99-based-standards] (SCNdLEAST16): Likewise.
6505         [C99-based-standards] (SCNiLEAST16): Likewise.
6506         [C99-based-standards] (SCNoLEAST16): Likewise.
6507         [C99-based-standards] (SCNuLEAST16): Likewise.
6508         [C99-based-standards] (SCNxLEAST16): Likewise.
6509         [C99-based-standards] (PRIdFAST16): Likewise.
6510         [C99-based-standards] (PRIiFAST16): Likewise.
6511         [C99-based-standards] (PRIoFAST16): Likewise.
6512         [C99-based-standards] (PRIuFAST16): Likewise.
6513         [C99-based-standards] (PRIxFAST16): Likewise.
6514         [C99-based-standards] (PRIXFAST16): Likewise.
6515         [C99-based-standards] (SCNdFAST16): Likewise.
6516         [C99-based-standards] (SCNiFAST16): Likewise.
6517         [C99-based-standards] (SCNoFAST16): Likewise.
6518         [C99-based-standards] (SCNuFAST16): Likewise.
6519         [C99-based-standards] (SCNxFAST16): Likewise.
6520         [C99-based-standards] (PRId32): Likewise.
6521         [C99-based-standards] (PRIi32): Likewise.
6522         [C99-based-standards] (PRIo32): Likewise.
6523         [C99-based-standards] (PRIu32): Likewise.
6524         [C99-based-standards] (PRIx32): Likewise.
6525         [C99-based-standards] (PRIX32): Likewise.
6526         [C99-based-standards] (SCNd32): Likewise.
6527         [C99-based-standards] (SCNi32): Likewise.
6528         [C99-based-standards] (SCNo32): Likewise.
6529         [C99-based-standards] (SCNu32): Likewise.
6530         [C99-based-standards] (SCNx32): Likewise.
6531         [C99-based-standards] (PRIdLEAST32): Likewise.
6532         [C99-based-standards] (PRIiLEAST32): Likewise.
6533         [C99-based-standards] (PRIoLEAST32): Likewise.
6534         [C99-based-standards] (PRIuLEAST32): Likewise.
6535         [C99-based-standards] (PRIxLEAST32): Likewise.
6536         [C99-based-standards] (PRIXLEAST32): Likewise.
6537         [C99-based-standards] (SCNdLEAST32): Likewise.
6538         [C99-based-standards] (SCNiLEAST32): Likewise.
6539         [C99-based-standards] (SCNoLEAST32): Likewise.
6540         [C99-based-standards] (SCNuLEAST32): Likewise.
6541         [C99-based-standards] (SCNxLEAST32): Likewise.
6542         [C99-based-standards] (PRIdFAST32): Likewise.
6543         [C99-based-standards] (PRIiFAST32): Likewise.
6544         [C99-based-standards] (PRIoFAST32): Likewise.
6545         [C99-based-standards] (PRIuFAST32): Likewise.
6546         [C99-based-standards] (PRIxFAST32): Likewise.
6547         [C99-based-standards] (PRIXFAST32): Likewise.
6548         [C99-based-standards] (SCNdFAST32): Likewise.
6549         [C99-based-standards] (SCNiFAST32): Likewise.
6550         [C99-based-standards] (SCNoFAST32): Likewise.
6551         [C99-based-standards] (SCNuFAST32): Likewise.
6552         [C99-based-standards] (SCNxFAST32): Likewise.
6553         [C99-based-standards] (PRId64): Likewise.
6554         [C99-based-standards] (PRIi64): Likewise.
6555         [C99-based-standards] (PRIo64): Likewise.
6556         [C99-based-standards] (PRIu64): Likewise.
6557         [C99-based-standards] (PRIx64): Likewise.
6558         [C99-based-standards] (PRIX64): Likewise.
6559         [C99-based-standards] (SCNd64): Likewise.
6560         [C99-based-standards] (SCNi64): Likewise.
6561         [C99-based-standards] (SCNo64): Likewise.
6562         [C99-based-standards] (SCNu64): Likewise.
6563         [C99-based-standards] (SCNx64): Likewise.
6564         [C99-based-standards] (PRIdLEAST64): Likewise.
6565         [C99-based-standards] (PRIiLEAST64): Likewise.
6566         [C99-based-standards] (PRIoLEAST64): Likewise.
6567         [C99-based-standards] (PRIuLEAST64): Likewise.
6568         [C99-based-standards] (PRIxLEAST64): Likewise.
6569         [C99-based-standards] (PRIXLEAST64): Likewise.
6570         [C99-based-standards] (SCNdLEAST64): Likewise.
6571         [C99-based-standards] (SCNiLEAST64): Likewise.
6572         [C99-based-standards] (SCNoLEAST64): Likewise.
6573         [C99-based-standards] (SCNuLEAST64): Likewise.
6574         [C99-based-standards] (SCNxLEAST64): Likewise.
6575         [C99-based-standards] (PRIdFAST64): Likewise.
6576         [C99-based-standards] (PRIiFAST64): Likewise.
6577         [C99-based-standards] (PRIoFAST64): Likewise.
6578         [C99-based-standards] (PRIuFAST64): Likewise.
6579         [C99-based-standards] (PRIxFAST64): Likewise.
6580         [C99-based-standards] (PRIXFAST64): Likewise.
6581         [C99-based-standards] (SCNdFAST64): Likewise.
6582         [C99-based-standards] (SCNiFAST64): Likewise.
6583         [C99-based-standards] (SCNoFAST64): Likewise.
6584         [C99-based-standards] (SCNuFAST64): Likewise.
6585         [C99-based-standards] (SCNxFAST64): Likewise.
6586         [C99-based-standards] (PRIdMAX): Likewise.
6587         [C99-based-standards] (PRIiMAX): Likewise.
6588         [C99-based-standards] (PRIoMAX): Likewise.
6589         [C99-based-standards] (PRIuMAX): Likewise.
6590         [C99-based-standards] (PRIxMAX): Likewise.
6591         [C99-based-standards] (PRIXMAX): Likewise.
6592         [C99-based-standards] (SCNdMAX): Likewise.
6593         [C99-based-standards] (SCNiMAX): Likewise.
6594         [C99-based-standards] (SCNoMAX): Likewise.
6595         [C99-based-standards] (SCNuMAX): Likewise.
6596         [C99-based-standards] (SCNxMAX): Likewise.
6597         [C99-based-standards] (PRIdPTR): Likewise.
6598         [C99-based-standards] (PRIiPTR): Likewise.
6599         [C99-based-standards] (PRIoPTR): Likewise.
6600         [C99-based-standards] (PRIuPTR): Likewise.
6601         [C99-based-standards] (PRIxPTR): Likewise.
6602         [C99-based-standards] (PRIXPTR): Likewise.
6603         [C99-based-standards] (SCNdPTR): Likewise.
6604         [C99-based-standards] (SCNiPTR): Likewise.
6605         [C99-based-standards] (SCNoPTR): Likewise.
6606         [C99-based-standards] (SCNuPTR): Likewise.
6607         [C99-based-standards] (SCNxPTR): Likewise.
6608         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6609         allow.
6610         * conform/data/stdint.h-data: Update comments to clarify
6611         requirements.
6612         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6613         type.
6614         [C99-based standards] (INT8_MAX): Likewise.
6615         [C99-based standards] (INT16_MIN): Likewise.
6616         [C99-based standards] (INT16_MAX): Likewise.
6617         [C99-based standards] (INT32_MIN): Likewise.
6618         [C99-based standards] (INT32_MAX): Likewise.
6619         [C99-based standards] (INT64_MIN): Likewise.
6620         [C99-based standards] (INT64_MAX): Likewise.
6621         [C99-based standards] (UINT8_MAX): Likewise.
6622         [C99-based standards] (UINT16_MAX): Likewise.
6623         [C99-based standards] (UINT32_MAX): Likewise.
6624         [C99-based standards] (UINT64_MAX): Likewise.
6625         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6626         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6627         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6628         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6629         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6630         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6631         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6632         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6633         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6634         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6635         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6636         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6637         [C99-based standards] (INT_FAST8_MIN): Likewise.
6638         [C99-based standards] (INT_FAST8_MAX): Likewise.
6639         [C99-based standards] (INT_FAST16_MIN): Likewise.
6640         [C99-based standards] (INT_FAST16_MAX): Likewise.
6641         [C99-based standards] (INT_FAST32_MIN): Likewise.
6642         [C99-based standards] (INT_FAST32_MAX): Likewise.
6643         [C99-based standards] (INT_FAST64_MIN): Likewise.
6644         [C99-based standards] (INT_FAST64_MAX): Likewise.
6645         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6646         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6647         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6648         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6649         [C99-based standards] (INTPTR_MIN): Likewise.
6650         [C99-based standards] (INTPTR_MAX): Likewise.
6651         [C99-based standards] (UINTPTR_MAX): Likewise.
6652         [C99-based standards] (INTMAX_MIN): Likewise.
6653         [C99-based standards] (INTMAX_MAX): Likewise.
6654         [C99-based standards] (UINTMAX_MAX): Likewise.
6655         [C99-based standards] (PTRDIFF_MIN): Likewise.
6656         [C99-based standards] (PTRDIFF_MAX): Likewise.
6657         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6658         [C99-based standards] (SIZE_MAX): Likewise.
6659         [C99-based standards] (WCHAR_MAX): Likewise.
6660         [C99-based standards] (WINT_MAX): Likewise.
6661         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6662         constraint on value.
6663         [C99-based standards] (WCHAR_MIN): Likewise.
6664         [C99-based standards] (WINT_MIN): Likewise.
6665         [C99-based standards] (*_t): Allow.
6666         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6667         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6668         Include math.h-data and complex.h-data.  Remove all expectations
6669         of math.h and complex.h contents.
6670         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6671         at end of line.
6672         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6673         (struct tm): Expect tag.
6674         [C99-based-standards] (wcstof): Expect function.
6675         [C99-based-standards] (wcstold): Likewise.
6676         [C99-based-standards] (wcstoll): Likewise.
6677         [C99-based-standards] (wcstoull): Likewise.
6678         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6679         macro-int-constant.  Specify type.
6680         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6681         constraint on value.
6682         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6683         Specify type.
6684         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6685         Specify value.
6686         [ISO C standards]: Do not allow headers.
6687         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6688         wcs[abcdefghijklmnopqrstuvwxyz]*.
6689         [ISO C standards] (*_t): Do not allow.
6690         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6691         Expect function.
6692         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6693         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6694         Specify type.
6695         [ISO C standards]: Do not allow headers.
6696         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6697         is[abcdefghijklmnopqrstuvwxyz]*.
6698         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6699         to[abcdefghijklmnopqrstuvwxyz]*.
6700         [ISO C standards] (*_t): Do not allow.
6701         * conform/data/stdalign.h-data: New file.
6702         * conform/data/stdbool.h-data: Likewise.
6703         * conform/data/stdnoreturn.h-data: Likewise.
6704
6705 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6706
6707         [BZ #14815]
6708         * manual/filesys.texi (Directory Entries): Typo fix.
6709         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6710
6711 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6712
6713         * elf/elf.h (EM_AARCH64): New macro.
6714         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6715         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6716         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6717         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6718         (R_AARCH64_TLSDESC): Likewise.
6719         (NT_ARM_TLS): Likewise.
6720         (NT_ARM_HW_BREAK): Likewise.
6721         (NT_ARM_HW_WATCH): Likewise.
6722
6723 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6724
6725         [BZ #14811]
6726         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6727         (__ieee754_powl): Saturate nonzero exponents with absolute value
6728         below 0x1p-79 to +/- 0x1p-79.
6729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6730         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6731         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6732         nonzero exponents with absolute value below 0x1p-32 to +/-
6733         0x1p-32.
6734         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6735         (__ieee754_powl): Saturate nonzero exponents with absolute value
6736         below 0x1p-79 to +/- 0x1p-79.
6737         * math/libm-test.inc (pow_test): Add more tests.
6738
6739 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6740
6741         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6742         _dl_s390_cap_flags with kernel. Increase string length.
6743         (_dl_s390_platforms): Add z196 and zEC12.
6744
6745 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6746
6747         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6748         Change XOPEN21K to XOPEN2K.
6749
6750 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6751
6752         * string/memmove.c: Use memcpy when possible.
6753
6754 2012-11-06  Andreas Jaeger  <aj@suse.de>
6755
6756         * po/eo.po: Update from translation team.
6757
6758 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6759
6760         [BZ #14793]
6761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6762         exponent and small x and y exponents, scale x or y up.  Increase
6763         by 2 the exponent used in scaling up.
6764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6766         * math/libm-test.inc (fma_test): Add more tests.
6767         (fma_test_towardzero): Likewise.
6768         (fma_test_downward): Likewise.
6769         (fma_test_upward): Likewise.
6770
6771 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6772
6773         [BZ #14805]
6774         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6775         fenv_t *.
6776
6777         [BZ #14801]
6778         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6779         namespace for names of struct fields.
6780         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6781         fenv_t fields.
6782         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6783         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6784
6785 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6786
6787         [BZ #3665]
6788         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6789
6790 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6791
6792         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6793         PTR_DEMANGLE.
6794
6795         [BZ #5246]
6796         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6797         PTR_DEMANGLE.
6798
6799 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6800
6801         [BZ #14797]
6802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6803         definitely overflow as x * y not x * y + z.
6804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6806         * math/libm-test.inc (fma_test): Add more tests.
6807         (fma_test_towardzero): Likewise.
6808         (fma_test_downward): Likewise.
6809         (fma_test_upward): Likewise.
6810
6811 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6812
6813         [BZ #157]
6814
6815         * include/stub-tag.h: Remove file.
6816         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6817         '#include' of it.
6818         * manual/maint.texi (Porting): Don't reference it.
6819         * Makerules ($(objpfx)stubs): Likewise.
6820         * dirent/closedir.c: Don't include <stub-tag.h>.
6821         * dirent/dirfd.c: Likewise.
6822         * dirent/fdopendir.c: Likewise.
6823         * dirent/getdents.c: Likewise.
6824         * dirent/getdents64.c: Likewise.
6825         * dirent/opendir.c: Likewise.
6826         * dirent/readdir.c: Likewise.
6827         * dirent/readdir64.c: Likewise.
6828         * dirent/readdir64_r.c: Likewise.
6829         * dirent/readdir_r.c: Likewise.
6830         * dirent/rewinddir.c: Likewise.
6831         * dirent/seekdir.c: Likewise.
6832         * dirent/telldir.c: Likewise.
6833         * gmon/profil.c: Likewise.
6834         * grp/setgroups.c: Likewise.
6835         * inet/if_index.c: Likewise.
6836         * io/access.c: Likewise.
6837         * io/chdir.c: Likewise.
6838         * io/chmod.c: Likewise.
6839         * io/chown.c: Likewise.
6840         * io/close.c: Likewise.
6841         * io/dup.c: Likewise.
6842         * io/dup2.c: Likewise.
6843         * io/dup3.c: Likewise.
6844         * io/euidaccess.c: Likewise.
6845         * io/faccessat.c: Likewise.
6846         * io/fchdir.c: Likewise.
6847         * io/fchmod.c: Likewise.
6848         * io/fchmodat.c: Likewise.
6849         * io/fchown.c: Likewise.
6850         * io/fchownat.c: Likewise.
6851         * io/fcntl.c: Likewise.
6852         * io/flock.c: Likewise.
6853         * io/fstatfs.c: Likewise.
6854         * io/fstatfs64.c: Likewise.
6855         * io/fstatvfs.c: Likewise.
6856         * io/fstatvfs64.c: Likewise.
6857         * io/futimens.c: Likewise.
6858         * io/fxstat.c: Likewise.
6859         * io/fxstat64.c: Likewise.
6860         * io/fxstatat.c: Likewise.
6861         * io/fxstatat64.c: Likewise.
6862         * io/getcwd.c: Likewise.
6863         * io/isatty.c: Likewise.
6864         * io/lchmod.c: Likewise.
6865         * io/lchown.c: Likewise.
6866         * io/link.c: Likewise.
6867         * io/linkat.c: Likewise.
6868         * io/lseek.c: Likewise.
6869         * io/lseek64.c: Likewise.
6870         * io/lxstat64.c: Likewise.
6871         * io/mkdir.c: Likewise.
6872         * io/mkdirat.c: Likewise.
6873         * io/mkfifo.c: Likewise.
6874         * io/mkfifoat.c: Likewise.
6875         * io/open.c: Likewise.
6876         * io/open64.c: Likewise.
6877         * io/openat.c: Likewise.
6878         * io/openat64.c: Likewise.
6879         * io/pipe.c: Likewise.
6880         * io/pipe2.c: Likewise.
6881         * io/poll.c: Likewise.
6882         * io/posix_fadvise.c: Likewise.
6883         * io/posix_fadvise64.c: Likewise.
6884         * io/posix_fallocate.c: Likewise.
6885         * io/posix_fallocate64.c: Likewise.
6886         * io/read.c: Likewise.
6887         * io/readlink.c: Likewise.
6888         * io/readlinkat.c: Likewise.
6889         * io/rmdir.c: Likewise.
6890         * io/sendfile.c: Likewise.
6891         * io/sendfile64.c: Likewise.
6892         * io/statfs.c: Likewise.
6893         * io/statfs64.c: Likewise.
6894         * io/statvfs.c: Likewise.
6895         * io/statvfs64.c: Likewise.
6896         * io/symlink.c: Likewise.
6897         * io/symlinkat.c: Likewise.
6898         * io/ttyname.c: Likewise.
6899         * io/ttyname_r.c: Likewise.
6900         * io/umask.c: Likewise.
6901         * io/unlink.c: Likewise.
6902         * io/unlinkat.c: Likewise.
6903         * io/utime.c: Likewise.
6904         * io/utimensat.c: Likewise.
6905         * io/write.c: Likewise.
6906         * io/xmknod.c: Likewise.
6907         * io/xmknodat.c: Likewise.
6908         * io/xstat.c: Likewise.
6909         * io/xstat64.c: Likewise.
6910         * login/getpt.c: Likewise.
6911         * login/grantpt.c: Likewise.
6912         * login/unlockpt.c: Likewise.
6913         * math/e_acoshl.c: Likewise.
6914         * math/e_acosl.c: Likewise.
6915         * math/e_asinl.c: Likewise.
6916         * math/e_atan2l.c: Likewise.
6917         * math/e_atanhl.c: Likewise.
6918         * math/e_coshl.c: Likewise.
6919         * math/e_expl.c: Likewise.
6920         * math/e_fmodl.c: Likewise.
6921         * math/e_gammal_r.c: Likewise.
6922         * math/e_hypotl.c: Likewise.
6923         * math/e_j0l.c: Likewise.
6924         * math/e_j1l.c: Likewise.
6925         * math/e_jnl.c: Likewise.
6926         * math/e_lgammal_r.c: Likewise.
6927         * math/e_log10l.c: Likewise.
6928         * math/e_log2l.c: Likewise.
6929         * math/e_logl.c: Likewise.
6930         * math/e_powl.c: Likewise.
6931         * math/e_rem_pio2l.c: Likewise.
6932         * math/e_sinhl.c: Likewise.
6933         * math/e_sqrtl.c: Likewise.
6934         * math/fclrexcpt.c: Likewise.
6935         * math/fedisblxcpt.c: Likewise.
6936         * math/feenablxcpt.c: Likewise.
6937         * math/fegetenv.c: Likewise.
6938         * math/fegetexcept.c: Likewise.
6939         * math/fegetround.c: Likewise.
6940         * math/feholdexcpt.c: Likewise.
6941         * math/fesetenv.c: Likewise.
6942         * math/fesetround.c: Likewise.
6943         * math/feupdateenv.c: Likewise.
6944         * math/fgetexcptflg.c: Likewise.
6945         * math/fraiseexcpt.c: Likewise.
6946         * math/fsetexcptflg.c: Likewise.
6947         * math/ftestexcept.c: Likewise.
6948         * math/k_cosl.c: Likewise.
6949         * math/k_rem_pio2l.c: Likewise.
6950         * math/k_sinl.c: Likewise.
6951         * math/k_tanl.c: Likewise.
6952         * math/s_asinhl.c: Likewise.
6953         * math/s_atanl.c: Likewise.
6954         * math/s_cbrtl.c: Likewise.
6955         * math/s_erfl.c: Likewise.
6956         * math/s_expm1l.c: Likewise.
6957         * math/s_log1pl.c: Likewise.
6958         * math/s_tanhl.c: Likewise.
6959         * misc/acct.c: Likewise.
6960         * misc/brk.c: Likewise.
6961         * misc/chflags.c: Likewise.
6962         * misc/chroot.c: Likewise.
6963         * misc/fchflags.c: Likewise.
6964         * misc/fgetxattr.c: Likewise.
6965         * misc/flistxattr.c: Likewise.
6966         * misc/fremovexattr.c: Likewise.
6967         * misc/fsetxattr.c: Likewise.
6968         * misc/fsync.c: Likewise.
6969         * misc/ftruncate.c: Likewise.
6970         * misc/futimes.c: Likewise.
6971         * misc/futimesat.c: Likewise.
6972         * misc/getdomain.c: Likewise.
6973         * misc/getdtsz.c: Likewise.
6974         * misc/gethostid.c: Likewise.
6975         * misc/gethostname.c: Likewise.
6976         * misc/getloadavg.c: Likewise.
6977         * misc/getpagesize.c: Likewise.
6978         * misc/getsysstats.c: Likewise.
6979         * misc/getxattr.c: Likewise.
6980         * misc/gtty.c: Likewise.
6981         * misc/ioctl.c: Likewise.
6982         * misc/lgetxattr.c: Likewise.
6983         * misc/listxattr.c: Likewise.
6984         * misc/llistxattr.c: Likewise.
6985         * misc/lremovexattr.c: Likewise.
6986         * misc/lsetxattr.c: Likewise.
6987         * misc/lutimes.c: Likewise.
6988         * misc/madvise.c: Likewise.
6989         * misc/mincore.c: Likewise.
6990         * misc/mlock.c: Likewise.
6991         * misc/mlockall.c: Likewise.
6992         * misc/mmap.c: Likewise.
6993         * misc/mprotect.c: Likewise.
6994         * misc/msync.c: Likewise.
6995         * misc/munlock.c: Likewise.
6996         * misc/munlockall.c: Likewise.
6997         * misc/munmap.c: Likewise.
6998         * misc/preadv.c: Likewise.
6999         * misc/preadv64.c: Likewise.
7000         * misc/ptrace.c: Likewise.
7001         * misc/pwritev.c: Likewise.
7002         * misc/pwritev64.c: Likewise.
7003         * misc/readv.c: Likewise.
7004         * misc/reboot.c: Likewise.
7005         * misc/remap_file_pages.c: Likewise.
7006         * misc/removexattr.c: Likewise.
7007         * misc/revoke.c: Likewise.
7008         * misc/select.c: Likewise.
7009         * misc/setdomain.c: Likewise.
7010         * misc/setegid.c: Likewise.
7011         * misc/seteuid.c: Likewise.
7012         * misc/sethostid.c: Likewise.
7013         * misc/sethostname.c: Likewise.
7014         * misc/setregid.c: Likewise.
7015         * misc/setreuid.c: Likewise.
7016         * misc/setxattr.c: Likewise.
7017         * misc/sstk.c: Likewise.
7018         * misc/stty.c: Likewise.
7019         * misc/swapoff.c: Likewise.
7020         * misc/swapon.c: Likewise.
7021         * misc/sync.c: Likewise.
7022         * misc/syncfs.c: Likewise.
7023         * misc/syscall.c: Likewise.
7024         * misc/truncate.c: Likewise.
7025         * misc/ualarm.c: Likewise.
7026         * misc/usleep.c: Likewise.
7027         * misc/ustat.c: Likewise.
7028         * misc/utimes.c: Likewise.
7029         * misc/vhangup.c: Likewise.
7030         * misc/writev.c: Likewise.
7031         * posix/_exit.c: Likewise.
7032         * posix/alarm.c: Likewise.
7033         * posix/execve.c: Likewise.
7034         * posix/fexecve.c: Likewise.
7035         * posix/fork.c: Likewise.
7036         * posix/fpathconf.c: Likewise.
7037         * posix/getaddrinfo.c: Likewise.
7038         * posix/getegid.c: Likewise.
7039         * posix/geteuid.c: Likewise.
7040         * posix/getgid.c: Likewise.
7041         * posix/getgroups.c: Likewise.
7042         * posix/getlogin.c: Likewise.
7043         * posix/getlogin_r.c: Likewise.
7044         * posix/getpgid.c: Likewise.
7045         * posix/getpid.c: Likewise.
7046         * posix/getppid.c: Likewise.
7047         * posix/getresgid.c: Likewise.
7048         * posix/getresuid.c: Likewise.
7049         * posix/getsid.c: Likewise.
7050         * posix/getuid.c: Likewise.
7051         * posix/glob64.c: Likewise.
7052         * posix/nanosleep.c: Likewise.
7053         * posix/pathconf.c: Likewise.
7054         * posix/pause.c: Likewise.
7055         * posix/posix_madvise.c: Likewise.
7056         * posix/pread.c: Likewise.
7057         * posix/pread64.c: Likewise.
7058         * posix/pwrite.c: Likewise.
7059         * posix/pwrite64.c: Likewise.
7060         * posix/sched_getaffinity.c: Likewise.
7061         * posix/sched_getp.c: Likewise.
7062         * posix/sched_gets.c: Likewise.
7063         * posix/sched_primax.c: Likewise.
7064         * posix/sched_primin.c: Likewise.
7065         * posix/sched_rr_gi.c: Likewise.
7066         * posix/sched_setaffinity.c: Likewise.
7067         * posix/sched_setp.c: Likewise.
7068         * posix/sched_sets.c: Likewise.
7069         * posix/sched_yield.c: Likewise.
7070         * posix/setgid.c: Likewise.
7071         * posix/setlogin.c: Likewise.
7072         * posix/setpgid.c: Likewise.
7073         * posix/setresgid.c: Likewise.
7074         * posix/setresuid.c: Likewise.
7075         * posix/setsid.c: Likewise.
7076         * posix/setuid.c: Likewise.
7077         * posix/sleep.c: Likewise.
7078         * posix/spawni.c: Likewise.
7079         * posix/sysconf.c: Likewise.
7080         * posix/times.c: Likewise.
7081         * posix/wait.c: Likewise.
7082         * posix/wait3.c: Likewise.
7083         * posix/wait4.c: Likewise.
7084         * posix/waitpid.c: Likewise.
7085         * resolv/gai_sigqueue.c: Likewise.
7086         * resource/getpriority.c: Likewise.
7087         * resource/getrlimit.c: Likewise.
7088         * resource/getrusage.c: Likewise.
7089         * resource/nice.c: Likewise.
7090         * resource/setpriority.c: Likewise.
7091         * resource/setrlimit.c: Likewise.
7092         * resource/ulimit.c: Likewise.
7093         * rt/aio_cancel.c: Likewise.
7094         * rt/aio_fsync.c: Likewise.
7095         * rt/aio_read.c: Likewise.
7096         * rt/aio_sigqueue.c: Likewise.
7097         * rt/aio_suspend.c: Likewise.
7098         * rt/aio_write.c: Likewise.
7099         * rt/clock_getres.c: Likewise.
7100         * rt/clock_gettime.c: Likewise.
7101         * rt/clock_nanosleep.c: Likewise.
7102         * rt/clock_settime.c: Likewise.
7103         * rt/lio_listio.c: Likewise.
7104         * rt/mq_close.c: Likewise.
7105         * rt/mq_getattr.c: Likewise.
7106         * rt/mq_notify.c: Likewise.
7107         * rt/mq_open.c: Likewise.
7108         * rt/mq_receive.c: Likewise.
7109         * rt/mq_send.c: Likewise.
7110         * rt/mq_setattr.c: Likewise.
7111         * rt/mq_timedreceive.c: Likewise.
7112         * rt/mq_timedsend.c: Likewise.
7113         * rt/mq_unlink.c: Likewise.
7114         * rt/shm_open.c: Likewise.
7115         * rt/shm_unlink.c: Likewise.
7116         * rt/timer_create.c: Likewise.
7117         * rt/timer_delete.c: Likewise.
7118         * rt/timer_getoverr.c: Likewise.
7119         * rt/timer_gettime.c: Likewise.
7120         * rt/timer_settime.c: Likewise.
7121         * setjmp/__longjmp.c: Likewise.
7122         * setjmp/setjmp.c: Likewise.
7123         * signal/kill.c: Likewise.
7124         * signal/killpg.c: Likewise.
7125         * signal/raise.c: Likewise.
7126         * signal/sigaction.c: Likewise.
7127         * signal/sigaltstack.c: Likewise.
7128         * signal/sigblock.c: Likewise.
7129         * signal/sigignore.c: Likewise.
7130         * signal/sigintr.c: Likewise.
7131         * signal/signal.c: Likewise.
7132         * signal/sigpause.c: Likewise.
7133         * signal/sigpending.c: Likewise.
7134         * signal/sigqueue.c: Likewise.
7135         * signal/sigreturn.c: Likewise.
7136         * signal/sigset.c: Likewise.
7137         * signal/sigsetmask.c: Likewise.
7138         * signal/sigstack.c: Likewise.
7139         * signal/sigsuspend.c: Likewise.
7140         * signal/sigtimedwait.c: Likewise.
7141         * signal/sigvec.c: Likewise.
7142         * signal/sigwait.c: Likewise.
7143         * signal/sigwaitinfo.c: Likewise.
7144         * signal/sysv_signal.c: Likewise.
7145         * socket/accept.c: Likewise.
7146         * socket/accept4.c: Likewise.
7147         * socket/bind.c: Likewise.
7148         * socket/connect.c: Likewise.
7149         * socket/getpeername.c: Likewise.
7150         * socket/getsockname.c: Likewise.
7151         * socket/getsockopt.c: Likewise.
7152         * socket/isfdtype.c: Likewise.
7153         * socket/listen.c: Likewise.
7154         * socket/recv.c: Likewise.
7155         * socket/recvfrom.c: Likewise.
7156         * socket/recvmsg.c: Likewise.
7157         * socket/send.c: Likewise.
7158         * socket/sendmsg.c: Likewise.
7159         * socket/sendto.c: Likewise.
7160         * socket/setsockopt.c: Likewise.
7161         * socket/shutdown.c: Likewise.
7162         * socket/sockatmark.c: Likewise.
7163         * socket/socket.c: Likewise.
7164         * socket/socketpair.c: Likewise.
7165         * stdio-common/ctermid.c: Likewise.
7166         * stdio-common/cuserid.c: Likewise.
7167         * stdio-common/remove.c: Likewise.
7168         * stdio-common/rename.c: Likewise.
7169         * stdio-common/renameat.c: Likewise.
7170         * stdio-common/tempname.c: Likewise.
7171         * stdlib/getcontext.c: Likewise.
7172         * stdlib/makecontext.c: Likewise.
7173         * stdlib/setcontext.c: Likewise.
7174         * stdlib/swapcontext.c: Likewise.
7175         * stdlib/system.c: Likewise.
7176         * streams/fattach.c: Likewise.
7177         * streams/fdetach.c: Likewise.
7178         * streams/getmsg.c: Likewise.
7179         * streams/getpmsg.c: Likewise.
7180         * streams/putmsg.c: Likewise.
7181         * streams/putpmsg.c: Likewise.
7182         * sysdeps/unix/bsd/getpt.c: Likewise.
7183         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7184         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7185         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7189         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7190         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7191         * sysvipc/msgctl.c: Likewise.
7192         * sysvipc/msgget.c: Likewise.
7193         * sysvipc/msgrcv.c: Likewise.
7194         * sysvipc/msgsnd.c: Likewise.
7195         * sysvipc/semctl.c: Likewise.
7196         * sysvipc/semget.c: Likewise.
7197         * sysvipc/semop.c: Likewise.
7198         * sysvipc/semtimedop.c: Likewise.
7199         * sysvipc/shmat.c: Likewise.
7200         * sysvipc/shmctl.c: Likewise.
7201         * sysvipc/shmdt.c: Likewise.
7202         * sysvipc/shmget.c: Likewise.
7203         * termios/tcdrain.c: Likewise.
7204         * termios/tcflow.c: Likewise.
7205         * termios/tcflush.c: Likewise.
7206         * termios/tcgetattr.c: Likewise.
7207         * termios/tcgetpgrp.c: Likewise.
7208         * termios/tcsendbrk.c: Likewise.
7209         * termios/tcsetattr.c: Likewise.
7210         * termios/tcsetpgrp.c: Likewise.
7211         * time/adjtime.c: Likewise.
7212         * time/clock.c: Likewise.
7213         * time/getitimer.c: Likewise.
7214         * time/gettimeofday.c: Likewise.
7215         * time/setitimer.c: Likewise.
7216         * time/settimeofday.c: Likewise.
7217         * time/stime.c: Likewise.
7218         * time/time.c: Likewise.
7219
7220 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7221
7222         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7223         /usr/old/bin.
7224
7225         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7226         instead of spaces.
7227         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7228
7229 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7230
7231         [BZ #14796]
7232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7233         FE_TONEAREST before applying Dekker multiplication and Knuth
7234         addition.  Clear inexact exceptions and check for exact zero
7235         results afterwards.
7236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7237         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7238         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7239         * math/libm-test.inc (fma_test): Add more tests.
7240         (fma_test_towardzero): Likewise.
7241         (fma_test_downward): Likewise.
7242         (fma_test_upward): Likewise.
7243         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7244         function.
7245         (libc_fesetround): New macro.
7246         (libc_fesetroundf): Likewise.
7247         (libc_fesetroundl): Likewise.
7248         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7249         function.
7250         (libc_fesetround_387): Likewise.
7251         (libc_fesetroundf): New macro.
7252         (libc_fesetround): Likewise.
7253         (libc_fesetroundl): Likewise.
7254         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7255         function.
7256         (libc_fesetroundf): New macro.
7257         (libc_fesetround): Likewise.
7258         (libc_fesetroundl): Likewise.
7259         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7260         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7261         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7262         libm_hidden_ver.
7263         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7264         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7265         libm_hidden_def.
7266         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7267         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7268         libm_hidden_ver.
7269         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7270         libm_hidden_def.
7271
7272         [BZ #3439]
7273         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7274         integer constant usable in #if and use that to give value to enum
7275         constant.
7276         (FE_DIVBYZERO): Likewise.
7277         (FE_UNDERFLOW): Likewise.
7278         (FE_OVERFLOW): Likewise.
7279         (FE_INVALID): Likewise.
7280         (FE_INVALID_SNAN): Likewise.
7281         (FE_INVALID_ISI): Likewise.
7282         (FE_INVALID_IDI): Likewise.
7283         (FE_INVALID_ZDZ): Likewise.
7284         (FE_INVALID_IMZ): Likewise.
7285         (FE_INVALID_COMPARE): Likewise.
7286         (FE_INVALID_SOFTWARE): Likewise.
7287         (FE_INVALID_SQRT): Likewise.
7288         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7289         (FE_TONEAREST): Likewise.
7290         (FE_TOWARDZERO): Likewise.
7291         (FE_UPWARD): Likewise.
7292         (FE_DOWNWARD): Likewise.
7293         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7294         (FE_DIVBYZERO): Likewise.
7295         (FE_OVERFLOW): Likewise.
7296         (FE_UNDERFLOW): Likewise.
7297         (FE_INEXACT): Likewise.
7298         (FE_TONEAREST): Likewise.
7299         (FE_DOWNWARD): Likewise.
7300         (FE_UPWARD): Likewise.
7301         (FE_TOWARDZERO): Likewise.
7302         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7303         (FE_UNDERFLOW): Likewise.
7304         (FE_OVERFLOW): Likewise.
7305         (FE_DIVBYZERO): Likewise.
7306         (FE_INVALID): Likewise.
7307         (FE_TONEAREST): Likewise.
7308         (FE_TOWARDZERO): Likewise.
7309         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7310         (FE_OVERFLOW): Likewise.
7311         (FE_UNDERFLOW): Likewise.
7312         (FE_DIVBYZERO): Likewise.
7313         (FE_INEXACT): Likewise.
7314         (FE_TONEAREST): Likewise.
7315         (FE_TOWARDZERO): Likewise.
7316         (FE_UPWARD): Likewise.
7317         (FE_DOWNWARD): Likewise.
7318         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7319         (FE_DIVBYZERO): Likewise.
7320         (FE_OVERFLOW): Likewise.
7321         (FE_UNDERFLOW): Likewise.
7322         (FE_INEXACT): Likewise.
7323         (FE_TONEAREST): Likewise.
7324         (FE_DOWNWARD): Likewise.
7325         (FE_UPWARD): Likewise.
7326         (FE_TOWARDZERO): Likewise.
7327
7328 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7329
7330         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7331
7332 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7333
7334         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7335         commands.  Quote $PWD.
7336         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7337         -x" by "export".
7338         (remove_newlines): Remove.
7339
7340 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7341
7342         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7343         * stdlib/stdlib.h (atof): Moved to ...
7344         * include/bits/stdlib-float.h: Here.  New file.
7345         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7346         * stdlib/bits/stdlib-float.h: New file.
7347         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7348         -mno-sse -mno-mmx.
7349         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7350         <xmmintrin.h>.
7351
7352 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7353
7354         * conform/conformtest.pl (@headers): Add fenv.h.
7355         * conform/data/fenv.h-data: New file.
7356         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7357         include of <math/fenv.h>.
7358
7359         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7360         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7361         && !UNIX98].  Enables tests for XOPEN2K8.
7362         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7363         POSIX2008]: Likewise.
7364
7365         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7366         (struct rusage): Do not expect type or its members.
7367
7368         [BZ #3439]
7369         * math/math.h (FP_NAN): Define macro to integer constant usable in
7370         #if and use that to give value to enum constant.
7371         (FP_INFINITE): Likewise.
7372         (FP_ZERO): Likewise.
7373         (FP_SUBNORMAL): Likewise.
7374         (FP_NORMAL): Likewise.
7375
7376 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7377
7378         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7379         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7380         arguments.
7381
7382 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7383
7384         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7385         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7386         autoconf-time if not.
7387         * configure.in: Remove AC_PREREQ.
7388
7389 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7390
7391         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7392         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7393         of the internal implementation.
7394
7395 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7396
7397         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7398         except include of <misc/sys/syslog.h>.
7399
7400 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7401
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7403         function returns with a NULL context exit with zero.
7404
7405 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7406
7407         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7408
7409 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7410
7411         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7412         (run_program_cmd): This.
7413         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7414         (tst_langinfo): New variable.  Use it.
7415
7416 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7417
7418         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7419         floating point opcodes.
7420
7421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7422
7423         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7424         variable.
7425
7426         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7427
7428         * sysdeps/mach/hurd/powerpc: Remove directory.
7429         * sysdeps/mach/powerpc: Likewise.
7430
7431 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7432
7433         * scripts/check-local-headers.sh: Ignore c++ headers.
7434
7435 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7436
7437         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7438         __libc_cleanup_region_start argument.
7439
7440 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7441
7442         [BZ #14784]
7443         [BZ #14785]
7444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7445         x * y using scaling, not as x * y + z.
7446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7447         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7448         * math/libm-test.inc (fma_test): Add more tests.
7449         (fma_test_towardzero): Likewise.
7450         (fma_test_downward): Likewise.
7451         (fma_test_upward): Likewise.
7452
7453 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7454
7455         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7456
7457 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7458
7459         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7460         New variable.
7461
7462 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7463
7464         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7465
7466 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7467
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7469         Fix sort order.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7471         Likewise.
7472
7473 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7474
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7476         Fix the order of the list for glibc 2.17.
7477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7478         Likewise.
7479
7480 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7481
7482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7483
7484 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7485
7486         [BZ #14610]
7487         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7488         for low part of x being zero before using __atanl (y).
7489         * math/libm-test.inc (atan2_test): Add another test.
7490
7491         * manual/install.texi (Configuring and compiling): Document
7492         general use of test-wrapper and test-wrapper-env.
7493         * INSTALL: Regenerated.
7494
7495         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7496         (__fma): Do not extract and scale down low bits on after-rounding
7497         systems when result rounded to normal precision would have normal
7498         exponent.
7499         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7500         (__fmal): Do not extract and scale down low bits on after-rounding
7501         systems when result rounded to normal precision would have normal
7502         exponent.
7503         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7504         (__fmal): Do not extract and scale down low bits on after-rounding
7505         systems when result rounded to normal precision would have normal
7506         exponent.
7507         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7508         macro.
7509         (fma_test): Add more tests.
7510         (fma_test_towardzero): Likewise.
7511         (fma_test_downward): Likewise.
7512         (fma_test_upward): Likewise.
7513
7514 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7515
7516         * sysdeps/i386/tininess.h: Renamed to ...
7517         * sysdeps/x86/tininess.h: This.
7518         * sysdeps/x86_64/tininess.h: Removed.
7519
7520 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7521
7522         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7523         input.  Use $(build-program-cmd).
7524         ($(objpfx)tst-array1-static.out): Likewise.
7525         ($(objpfx)tst-array2.out): Likewise.
7526         ($(objpfx)tst-array3.out): Likewise.
7527         ($(objpfx)tst-array4.out): Likewise.
7528         ($(objpfx)tst-array5.out): Likewise.
7529         ($(objpfx)tst-array5-static.out): Likewise.
7530
7531 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7532
7533         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7534         if defined.
7535
7536         * nss/nsswitch.h (nss_interface_function): Provide new
7537         macro for use with NSS functions.
7538         * grp/initgroups.c: Use new macro.
7539         * nss/getXXbyYY.c: Likewise.
7540         * nss/getXXbyYY_r.c: Likewise.
7541         * nss/getXXent.c: Likewise.
7542         * nss/getXXent_r.c: Likewise.
7543         * sysdeps/posix/getaddrinfo.c: Likewise.
7544
7545 2012-10-30  Andreas Jaeger  <aj@suse.de>
7546
7547         * po/ru.po: Update Russion translation from translation project.
7548
7549 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7550
7551         [BZ #14152]
7552         [BZ #14783]
7553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7554         result and shift together with sticky bit instead of replicating
7555         round-to-nearest rounding.
7556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7558         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7559         missing underflow exceptions.
7560         (fma_test_towardzero): Add more tests.
7561         (fma_test_downward): Likewise.
7562         (fma_test_upward): Likewise.
7563
7564         [BZ #14047]
7565         * sysdeps/generic/tininess.h: New file.
7566         * sysdeps/i386/tininess.h: Likewise.
7567         * sysdeps/sh/tininess.h: Likewise.
7568         * sysdeps/x86_64/tininess.h: Likewise.
7569         * stdlib/tst-strtod-underflow.c: Likewise.
7570         * stdlib/tst-tininess.c: Likewise.
7571         * stdlib/strtod_l.c: Include <tininess.h>.
7572         (round_and_return): Do not set errno for exact underflow cases.
7573         Force an underflow exception when setting errno for underflow.
7574         Determine underflow based on rounding to normal precision if
7575         TININESS_AFTER_ROUNDING.
7576         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7577         ERANGE for exact underflow cases.
7578         * stdlib/Makefile (tests): Add tst-tininess and
7579         tst-strtod-underflow.
7580         ($(objpfx)tst-tininess): Use $(link-libm).
7581         ($(objpfx)tst-strtod-underflow): Likewise.
7582
7583 2012-10-30  Andreas Jaeger  <aj@suse.de>
7584
7585         [BZ#14767]
7586         * elf/Makefile (tests): Remove conditional for have-initfini-array
7587         since this is now always required and the variable does not exist
7588         anymore.
7589         (tests-static): Likewise.
7590         (modules-names): Likewise.
7591
7592         * po/eo.po: Add Esperanto translation from translation project.
7593
7594         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7595         merged with constructor/destructor.
7596         (init_array): Likewise.
7597         * elf/tst-array2dep.c (fini_array): Likewise.
7598         (init_array): Likewise.
7599
7600 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7601
7602         * manual/message.texi: Delete @cartouche tags.
7603
7604 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7605
7606         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7607         EOPNOTSUPP.
7608         * sysdeps/mach/hurd/fsync.c: Likewise.
7609
7610         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7611         [_POSIX_REALTIME_SIGNALS]: Change condition to
7612         [_POSIX_REALTIME_SIGNALS > 0].
7613
7614 2012-10-27  Andreas Jaeger  <aj@suse.de>
7615
7616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7617         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7618         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7619         [__WORDSIZE != 64]: Likewise.
7620
7621 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7622
7623         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7624         *  iconvdata/tst-tables.sh: Likewise.
7625
7626 2012-10-25  David S. Miller  <davem@davemloft.net>
7627
7628         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7629         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7630         of strtoull.
7631
7632         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7633         ifunc-impl-list.c
7634         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7635         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7636         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7637         file.
7638
7639 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7640
7641         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7642         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7643         __getdirentries.
7644
7645 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7646             Jim Blandy  <jimb@codesourcery.com>
7647
7648         * scripts/cross-test-ssh.sh: New file.
7649         * manual/install.texi (Configuring and compiling): Document use of
7650         cross-test-ssh.sh.
7651         * INSTALL: Regenerated.
7652
7653 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7654
7655         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7656         EOPNOTSUPP.
7657
7658 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7659
7660         * Makeconfig (run-program-prefix): Fix comment.
7661
7662 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7663             Jim Blandy  <jimb@codesourcery.com>
7664
7665         * Makeconfig (test-wrapper): New variable,
7666         (test-wrapper-env): Likewise.
7667         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7668         (run-built-tests): Define to yes.
7669         (run-program-prefix): Use $(test-wrapper).
7670         (built-program-cmd): Likewise.
7671         * Rules (make-test-out): Use $(test-wrapper-env) and
7672         $(host-built-program-cmd).
7673         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7674         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7675         tst-pathopt.sh.
7676         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7677         $(test-wrapper-env) to tst-rtld-load-self.sh.
7678         ($(objpfx)order2.out): Use $(test-wrapper).
7679         ($(objpfx)tst-initorder.out): Likewise.
7680         ($(objpfx)tst-initorder2.out): Likewise.
7681         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7682         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7683         (test_wrapper_env): New variable.  Use it to run ld.so.
7684         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7685         Use it to run ld.so.
7686         (test_wrapper_env): Likewise.
7687         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7688         $(test-wrapper) to run-iconv-test.sh.
7689         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7690         (ICONV): Use $test_wrapper.
7691         * posix/Makefile ($(objpfx)globtest.out): Pass
7692         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7693         globtest.sh, not $(run-program-prefix).
7694         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7695         (test_wrapper): Likewise.
7696         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7697         set together with run_via_rtld_prefix.
7698         (run_program_prefix): Define in terms of test_wrapper and
7699         run_via_rtld_prefix.
7700
7701 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7702
7703         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7704         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7705         Targets removed.
7706
7707         [BZ #14743]
7708         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7709         Declare __clock_getres, __clock_gettime, __clock_settime,
7710         __clock_nanosleep, and __clock_getcpuclockid.
7711         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7712         Remove librt_hidden_def (clock_gettime).
7713         * sysdeps/unix/clock_gettime.c: Likewise.
7714         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7715         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7716         * rt/clock_getres.c: Define __clock_getres as an alias.
7717         * sysdeps/posix/clock_getres.c: Likewise.
7718         * rt/clock_settime.c: Define __clock_settime as an alias.
7719         * sysdeps/unix/clock_settime.c: Likewise.
7720         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7721         * sysdeps/unix/clock_nanosleep.c: Likewise.
7722         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7723         * rt/clock-compat.c: New file.
7724         * rt/Makefile (librt-routines): Add clock-compat and move
7725         $(clock-routines) to ...
7726         (routines): ... here, new variable.
7727         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7728         Don't add get_clockfreq here.
7729         * rt/Versions (libc: GLIBC_2.17): New version set.
7730         Add clock_* symbols here.
7731         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7732         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7733         (GLIBC_2.17): Add clock_* symbols.
7734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7736         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7738         Likewise.
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7740         Likewise.
7741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7745         * NEWS: Mention the move.
7746
7747         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7748         Use __open, __read, __close rather than their public counterparts.
7749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7750         (__get_clockfreq_via_cpuinfo): Likewise.
7751         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7752         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7753
7754         * config.h.in (HAVE_IFUNC): New #undef.
7755         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7756         was successful.
7757         * configure: Regenerated.
7758
7759 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7760
7761         * configure.in: Move READELF check to start of file.
7762         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7763         libc_cv_asm_gnu_indirect_function in the process.
7764         * configure: Regenerated.
7765
7766 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7767
7768         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7769         send the output to /dev/null.
7770         (libc_cv_cc_with_libunwind): Likewise.
7771         (libc_cv_as_noexecstack): Likewise.
7772         * configure: Regenerate.
7773
7774 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7775
7776         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7777
7778         * posix/globtest.sh (TMPDIR): Do not set.
7779         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7780         (testout): Likewise.
7781
7782 2012-10-24  Andreas Jaeger  <aj@suse.de>
7783
7784         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7785         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7786         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7787         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7788         posix_fadvise64, posix_fallocate64.
7789
7790         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7791         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7792         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7793         Likewise.
7794         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7795         Likewise.
7796         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7797
7798         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7799         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7800         <bits/fcntl-linux.h>.
7801         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7802
7803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7804         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7805         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7806         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7807         [__WORDSIZE != 64]: Likewise.
7808
7809 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7810
7811         * Makeconfig (run-built-tests): New variable.
7812         * Rules [$(cross-compiling) = yes]: Change condition to
7813         [$(run-built-tests) = no].
7814         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7815         to [$(run-built-tests) = yes].
7816         * elf/Makefile [$(cross-compiling) = no]: Likewise
7817         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7818         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7819         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7820         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7821         * io/Makefile [$(cross-compiling) = no]: Likewise.
7822         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7823         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7824         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7825         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7826         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7827         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7828         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7829         * string/Makefile [$(cross-compiling) = no]: Likewise.
7830
7831         * posix/Makefile ($(objpfx)globtest.out): Pass
7832         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7833         $(rtld-installed-name).
7834         * posix/globtest.sh (elf_objpfx): Remove variable.
7835         (rtld_installed_name): Likewise.
7836         (library_path): Likewise.
7837         (run_program_prefix): New variable.  Use for running globtest
7838         binary.
7839
7840 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7841             Joseph Myers  <joseph@codesourcery.com>
7842
7843         * Makeconfig (host-built-program-cmd): New variable.
7844         * elf/Makefile (tst-stackguard1-ARGS): Use
7845         $(host-built-program-cmd).
7846         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7847         (tst-spawn-ARGS): Likewise.
7848         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7849
7850 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7851             Jim Blandy  <jimb@codesourcery.com>
7852
7853         * Makeconfig (run-via-rtld-prefix): New variable.
7854         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7855         (built-program-cmd): Likewise.
7856
7857 2012-10-22  Andreas Jaeger  <aj@suse.de>
7858
7859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7860         __O_RSYNC if it exists, otherwise to O_SYNC.
7861
7862 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7863             Joseph Myers  <joseph@codesourcery.com>
7864
7865         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7866         /dev/null.
7867         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7868         from /dev/null
7869         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7870         /dev/null.
7871
7872 2012-10-22  Andreas Jaeger  <aj@suse.de>
7873
7874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7875         Define always.
7876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7877
7878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7879         bits/fcntl-linux.h.
7880
7881         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7882         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7883
7884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7885         to __O_LARGEFILE.
7886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7887         to __O_LARGEFILE.
7888
7889 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7890             Joseph Myers  <joseph@codesourcery.com>
7891
7892         * config.make.in (NM): New variable.
7893
7894 2012-10-21  Andreas Jaeger  <aj@suse.de>
7895
7896         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7897         definitions and declarations that are provided by
7898         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7899
7900 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7901
7902         [BZ #14683]
7903         * elf/Makefile (tests-static): Add tst-leaks1-static.
7904         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7905         ($(objpfx)tst-leaks1-static): New rule.
7906         ($(objpfx)tst-leaks1-static-mem): Likewise.
7907         (tst-leaks1-static-ENV): New macro.
7908         * elf/dl-open.c (dl_open_worker): Check the main application
7909         only if SHARED is defined.
7910         * elf/tst-leaks1-static.c: New file.
7911
7912 2012-10-20  Andreas Jaeger  <aj@suse.de>
7913
7914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7915         generic values for Linux.
7916         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7917         and declarations that are provided by <bits/fcntl-linux.h> and
7918         include <bits/fcntl-linux.h>.
7919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7921
7922 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7923
7924         * io/fcntl.h: Move include of <bits/types.h> to the top and
7925         include it unconditionally.
7926
7927 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7928
7929         * wcsmbs/Makefile (tests-ifunc): New variable.
7930         (tests): Add $(tests-ifunc).
7931         * wcsmbs/test-wcschr-ifunc.c: New file.
7932         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7933         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7934         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7935         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7936         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7937
7938         * string/Makefile (tests-ifunc): New variable.
7939         (tests): Add $(tests-ifunc).
7940         * string/test-memccpy.c (TEST_NAME): New macro.
7941         * string/test-memchr.c (TEST_NAME): Likewise.
7942         * string/test-memcmp.c (TEST_NAME): Likewise.
7943         * string/test-memcpy.c (TEST_NAME): Likewise.
7944         * string/test-memmem.c (TEST_NAME): Likewise.
7945         * string/test-memmove.c (TEST_NAME): Likewise.
7946         * string/test-memset.c (TEST_NAME): Likewise.
7947         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7948         * string/test-stpcpy.c (TEST_NAME): Likewise.
7949         * string/test-stpncpy.c (TEST_NAME): Likewise.
7950         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7951         * string/test-strcasestr.c (TEST_NAME): Likewise.
7952         * string/test-strcat.c (TEST_NAME): Likewise.
7953         * string/test-strchr.c (TEST_NAME): Likewise.
7954         * string/test-strcmp.c(TEST_NAME): Likewise.
7955         * string/test-strcpy.c (TEST_NAME): Likewise.
7956         * string/test-strcspn.c (TEST_NAME): Likewise.
7957         * string/test-strlen.c (TEST_NAME): Likewise.
7958         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7959         * string/test-strncmp.c (TEST_NAME): Likewise.
7960         * string/test-strncpy.c (TEST_NAME): Likewise.
7961         * string/test-strnlen.c (TEST_NAME): Likewise.
7962         * string/test-strpbrk.c (TEST_NAME): Likewise.
7963         * string/test-strrchr.c (TEST_NAME): Likewise.
7964         * string/test-strspn.c (TEST_NAME): Likewise.
7965         * string/test-strstr.c (TEST_NAME): Likewise.
7966         * string/test-bcopy-ifunc.c: New file.
7967         * string/test-bzero-ifunc.c: Likewise.
7968         * string/test-memccpy-ifunc.c: Likewise.
7969         * string/test-memchr-ifunc.c: Likewise.
7970         * string/test-memcmp-ifunc.c: Likewise.
7971         * string/test-memcpy-ifunc.c: Likewise.
7972         * string/test-memmem-ifunc.c: Likewise.
7973         * string/test-memmove-ifunc.c: Likewise.
7974         * string/test-mempcpy-ifunc.c: Likewise.
7975         * string/test-memset-ifunc.c: Likewise.
7976         * string/test-rawmemchr-ifunc.c: Likewise.
7977         * string/test-stpcpy-ifunc.c: Likewise.
7978         * string/test-stpncpy-ifunc.c: Likewise.
7979         * string/test-strcasecmp-ifunc.c: Likewise.
7980         * string/test-strcasestr-ifunc.c: Likewise.
7981         * string/test-strcat-ifunc.c: Likewise.
7982         * string/test-strchr-ifunc.c: Likewise.
7983         * string/test-strchrnul-ifunc.c: Likewise.
7984         * string/test-strcmp-ifunc.c: Likewise.
7985         * string/test-strcpy-ifunc.c: Likewise.
7986         * string/test-strcspn-ifunc.c: Likewise.
7987         * string/test-strlen-ifunc.c: Likewise.
7988         * string/test-strncasecmp-ifunc.c: Likewise.
7989         * string/test-strncat-ifunc.c: Likewise.
7990         * string/test-strncmp-ifunc.c: Likewise.
7991         * string/test-strncpy-ifunc.c: Likewise.
7992         * string/test-strnlen-ifunc.c: Likewise.
7993         * string/test-strpbrk-ifunc.c: Likewise.
7994         * string/test-strrchr-ifunc.c: Likewise.
7995         * string/test-strspn-ifunc.c: Likewise.
7996         * string/test-strstr-ifunc.c: Likewise.
7997
7998         * debug/Makefile (tests-ifunc): New variable.
7999         (tests): Add $(tests-ifunc).
8000         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8001         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8002         * debug/test-stpcpy_chk-ifunc.c: New file.
8003         * debug/test-strcpy_chk-ifunc.c: Likewise.
8004
8005 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8006
8007         [BZ #13601]
8008         * elf/dl-load.c (open_verify): Retry read if the entire ELF
8009         header is not read in.
8010
8011 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
8012
8013         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
8014         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
8015         directly.  Pass built executable to script as
8016         $(built-program-cmd).
8017         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
8018         $testprogram without using LD_LIBRARY_PATH and $ldso.
8019
8020         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8021         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8022         $(rtld-installed-name).
8023         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8024         (rtld_installed_name): Likewise.
8025         (library_path): Likewise.
8026         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
8027         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8028         $(run-program-prefix) to tst-tables.sh.
8029         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
8030         it to run tst-table-from and tst-table-to.
8031         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8032         Pass it to tst-table.sh.
8033         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8034         $(run-program-prefix) to tst-gettext.sh.
8035         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8036         tst-translit.sh.
8037         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8038         tst-gettext2.sh.
8039         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
8040         to run tst-gettext.
8041         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
8042         to run tst-gettext2.
8043         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
8044         to run tst-translit.
8045         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8046         $(run-program-prefix) to tst-mtrace.sh.
8047         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
8048         to run tst-mtrace.
8049         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8050         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8051         $(rtld-installed-name).
8052         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8053         (rtld_installed_name): Likewise.
8054         (run_program_prefix): New variable.  Use it to run wordexp-test.
8055
8056         * Makeconfig (ARCH): Remove all definitions.
8057         (machine): Likewise.
8058         [ARCH]: Remove conditional code.
8059         [!objdir]: Give error.
8060         [!objdir] (objpfx): Remove.
8061         [!objdir] (common-objpfx): Likewise.
8062         [!objdir] (common-objdir): Likewise.
8063         * configure.in (config_makefile): Remove.  Hardcode Makefile in
8064         AC_CONFIG_FILES call.
8065         * configure: Regenerated.
8066
8067         [BZ #13888]
8068         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8069         or TMPDIR.
8070         (testout): Likewise.
8071
8072         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8073         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8074         $(rtld-installed-name).
8075         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8076         (rtld_installed_name): Likwise.
8077         (runit): Remove function.
8078         (run_getconf): New variable,  Use it for running getconf binary.
8079
8080 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
8081
8082         [BZ #14716]
8083         * string/test-memmem.c (check_result): New function.
8084         (do_one_test): Use it.
8085         (check1): New function.
8086         (test_main): Use it.
8087
8088 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
8089
8090         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8091
8092 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
8093
8094         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8095         (_G_LSEEK64): Likewise.
8096         (_G_MMAP64): Likewise.
8097         (_G_FSTAT64): Likewise.
8098         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8099         (_G_LSEEK64): Likewise.
8100         (_G_MMAP64): Likewise.
8101         (_G_FSTAT64): Likewise.
8102         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8103         unconditional.  Call __mmap64 directly.
8104         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8105         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
8106         __lseek64 directly.
8107         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8108         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
8109         __mmap64 directly.
8110         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8111         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8112         __lseek64 directly.
8113         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8114         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8115         __lseek64 directly.
8116         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8117         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
8118         __lseek64 directly.
8119         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8120         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
8121         __fxstat64 directly.
8122         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8123         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8124         unconditional.
8125         (freopen64) [!_G_OPEN64]: Remove conditional code.
8126         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8127         unconditional.
8128         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8129         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8130         unconditional.
8131         (ftello64) [!_G_LSEEK64]: Remove conditional code.
8132         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8133         unconditional.
8134         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8135         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8136         unconditional.
8137         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8138         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8139         unconditional.
8140         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8141         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8142         unconditional.
8143         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8144         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8145         unconditional.
8146         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8147
8148 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8149
8150         [BZ #12140]
8151         * manual/memory.texi (Malloc Tunable Parameters): Add note
8152         about free list pointers overwriting some perturb bytes.
8153         Wording suggested by Roland McGrath.
8154
8155 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
8156
8157         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8158         (lgamma_test): Likewise.
8159         (tgamma_test): Likewise.
8160
8161 2012-10-16  Florian Weimer  <fweimer@redhat.com>
8162
8163         [BZ #14700]
8164         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8165         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8166
8167 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
8168
8169         * NEWS: Mention BZ #14716.
8170         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8171         when removing AVAILABLE1_USES_J macro.
8172
8173 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8174
8175         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8176         (__bswap_64): __uint64_t for unsigned 64-bit int.
8177
8178 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
8179
8180         * include/string.h (memmem): Declare libc hidden alias.
8181         * string/memmem.c (memmem): Define libc hidden alias.
8182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8183         __read, __close instead of open, read, close.
8184
8185 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
8186
8187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8188         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8189         global and hidden.
8190         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8191         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8192         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8193         Likewise.
8194         (__rawmemchr_sse2): Likewise.
8195         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8196         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8197         (__strchr_sse2): Likewise.
8198         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8199         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8200         (__strcasecmp_sse2): Likewise.
8201         (__strncasecmp_sse2): Likewise.
8202         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8203         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8204         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8205         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8206         (__strrchr_sse2): Likewise.
8207         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8208         ifunc-impl-list.c.
8209         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8210         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8211         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8212         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8213         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8214         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8215         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8216         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8217         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8218         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8219         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8220         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8221         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8222         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8223         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8224         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8225         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8226         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8227         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8228         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8229         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8230         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8231         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8232         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8233         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8234         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8235         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8236         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8237         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8238         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8239
8240         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8241         global and hidden.
8242         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8243         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8244         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8245         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8246         Likewise.
8247         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8248         Likewise.
8249         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8250         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8251         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8252         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8253         ifunc-impl-list.c.
8254         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8255         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8256         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8257         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8258         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8259         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8260         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8261         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8262         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8263         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8264         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8265         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8266         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8267         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8268         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8269         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8270         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8271         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8272         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8273         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8274         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8275         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8276         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8277         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8278         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8279         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8280         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8281         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8282         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8283         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8284         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8285         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8286         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8287         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8288         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8289         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8290         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8291         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8292         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8293         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8294         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8295
8296         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8297         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8298         * include/ifunc-impl-list.h: New file.
8299         * misc/ifunc-impl-list.c: Likewise.
8300         * misc/Makefile (routines): Add ifunc-impl-list.
8301         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8302         * string/test-string.h: Include <ifunc-impl-list.h>.
8303         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8304         impl_array): New variables.
8305         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8306         are defined.
8307         (test_init): Call __libc_ifunc_impl_list to initialize
8308         func_list if TEST_IFUNC and TEST_NAME are defined.
8309
8310         * string/Makefile (strop-tests): Add bcopy and bzero.
8311         * string/test-bcopy.c: New file.
8312         * string/test-bzero.c: Likewise.
8313         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8314         defined.
8315         * string/test-memset.c: Support bzero test if TEST_BZERO is
8316         defined.
8317         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8318         __libc_memmove.
8319         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8320         __libc_memset.
8321         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8322         of memset.
8323
8324 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8325
8326         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8327         * configure: Regenerated.
8328
8329         * Makeconfig (+link-static-before-libc): Don't include
8330         $(link-static-libc).
8331
8332         * libio/libio.h (_IO_pos_t): Remove.
8333
8334 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8335
8336         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8337         McGrath.
8338
8339 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8340
8341         * crypt/crypt-entry.c: Include fips-private.h.
8342         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8343         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8344         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8345         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8346
8347 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8348
8349         * crypt/crypt-private.h: Include stdbool.h.
8350         (_ufc_setup_salt_r): Return bool.
8351         * crypt/crypt-entry.c: Include errno.h.
8352         (__crypt_r): Return NULL with EINVAL for bad salt.
8353         * crypt/crypt_util.c (bad_for_salt): New.
8354         (_ufc_setup_salt_r): Check that salt is long enough and within
8355         the specified alphabet.
8356         * crypt/badsalttest.c: New file.
8357         * crypt/Makefile (tests): Add it.
8358         ($(objpfx)badsalttest): New.
8359
8360 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8361
8362         * NEWS: Add entry for BZ #14602.
8363
8364 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8365
8366         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8367         type-generic.
8368         * math/libm-test.inc: Update comment listing what functions and
8369         macros are tested.
8370         (isgreater_test): New function.
8371         (isgreaterequal_test): Likewise.
8372         (isless_test): Likewise.
8373         (islessequal_test): Likewise.
8374         (islessgreater_test): Likewise.
8375         (isunordered_test): Likewise.
8376         (main): Call the new functions.
8377
8378 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8379
8380         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8381         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8382         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8383         * sysdeps/i386/configure: Regenerated.
8384         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8385         * sysdeps/mach/configure: Regenerated.
8386         * sysdeps/mach/hurd/configure: Regenerated.
8387         * sysdeps/powerpc/configure: Regenerated.
8388         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8389         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8390         * sysdeps/s390/s390-32/configure: Regenerated.
8391         * sysdeps/s390/s390-64/configure: Regenerated.
8392         * sysdeps/sh/configure: Regenerated.
8393         * sysdeps/sparc/configure: Regenerated.
8394         * sysdeps/unix/sysv/linux/configure: Regenerated.
8395         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8396         * sysdeps/x86_64/configure: Regenerated.
8397
8398         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8399         defined.  Don't check if MAP is NULL.
8400
8401 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8402
8403         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8404         (_G_stat64): Likewise.
8405         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8406         (_G_stat64): Likewise.
8407         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8408         instead of struct _G_stat64.
8409         * libio/fileops.c (mmap_remap_check): Likewise.
8410         (decide_maybe_mmap): Likewise.
8411         (_IO_new_file_seekoff): Likewise.
8412         (_IO_file_stat): Likewise.
8413         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8414         _G_off64_t.
8415         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8416         instead of struct _G_stat64.
8417         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8418
8419 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8420
8421         [BZ #14602]
8422         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8423         Replace with ...
8424         (CHECK_EOL): New macro.
8425         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8426         CHECK_EOL.
8427         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8428         Replace with CHECK_EOL.
8429         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8430         Replace with CHECK_EOL.
8431
8432 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8433
8434         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8435         type-generic.
8436         * math/libm-test.inc: Update comment listing what functions and
8437         macros are tested.
8438         (finite_test): New function.
8439         (isinf_test): Likewise.
8440         (isnan_test): Likewise.
8441         (fpclassify_test): Test subnormal input.
8442         (isfinite_test): Likewise.
8443         (isnormal_test): Likewise.
8444         (main): Call the new functions.
8445
8446 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8447
8448         [BZ #14660]
8449         * Makerules (%.dynsym): Force C locale when running
8450         $(OBJDUMP) --dynamic-syms.
8451
8452 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8453
8454         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8455         <stdint.h>.
8456
8457 2012-10-06  David S. Miller  <davem@davemloft.net>
8458
8459         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8460         upper 32-bits of the length value in %o2 since we use branch-on-register
8461         tests which consider the entire 64-bit register.
8462
8463 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8464
8465         * string/test-strstr.c (check2): Add a test for page boundary.
8466
8467 2012-10-05  David S. Miller  <davem@davemloft.net>
8468
8469         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8470         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8471         file.
8472         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8473         sysdep_routines.
8474         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8475         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8476         and bzero when HWCAP_SPARC_CRYPTO is present.
8477
8478 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
8479
8480         [BZ #14602]
8481         * string/test-strstr.c (check2): New function.
8482         (test_main): Call check2.
8483
8484         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8485         and bug-strchr1.
8486         * string/bug-strcasestr1.c (do_test): Moved to ...
8487         * string/test-strcasestr.c (check1): Here.  New function.
8488         (do_one_test): Break out result checking code into ...
8489         (check_result): This.  New function.
8490         (do_one_test): Call check_result.
8491         (test_main): Call check1.
8492         * string/bug-strchr1.c (do_test): Moved to ...
8493         * string/test-strchr.c (check1): Here.  New function.
8494         (do_one_test): Break out result checking code into ...
8495         (check_result): This.  New function.
8496         (do_one_test): Call check_result.
8497         (test_main): Call check1.
8498         * string/bug-strstr1.c (main): Moved to ...
8499         * string/test-strstr.c (check1): Here.  New function.
8500         (do_one_test): Break out result checking code into ...
8501         (check_result): This.  New function.
8502         (do_one_test): Call check_result.
8503         (test_main): Call check1.
8504         * string/bug-strcasestr1.c: Removed.
8505         * string/bug-strchr1.c: Likewise.
8506         * string/bug-strstr1.c: Likewise.
8507
8508         * elf/Makefile (dl-routines): Add hwcaps.
8509         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8510         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8511         (_dl_important_hwcaps): Moved to ...
8512         * elf/dl-hwcaps.c: Here.  New file.
8513         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8514
8515         [BZ #14557]
8516         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8517         if IS_IN_rtld isn't defined.
8518
8519         * elf/dl-support.c (_dl_sysinfo_map): New.
8520         Include "get-dynamic-info.h" and "setup-vdso.h".
8521         (_dl_non_dynamic_init): Call setup_vdso.
8522         * elf/dynamic-link.h: Don't include <assert.h>.
8523         (elf_get_dynamic_info): Moved to ...
8524         * elf/get-dynamic-info.h: Here.  New file.
8525         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8526         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8527         * elf/setup-vdso.h: Here.  New file.
8528         * elf/rtld.c: Include "setup-vdso.h".
8529         (dl_main): Call setup_vdso.
8530
8531 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8532
8533         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8534         creal in comment listing functions tested.  List finite, isinf,
8535         isnan, isless, islessequal, isgreater, isgreaterequal,
8536         islessgreater, isunordered, lgamma_r and pow10 as functions and
8537         macros not tested.  Mention which functions not tested are aliases
8538         for other functions.  Fix typo.  Note that signs of NaNs are not
8539         tested.
8540
8541         * scripts/config.guess: Update from config.git.
8542         * scripts/config.sub: Likewise.
8543
8544 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8545
8546         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8547         * misc/madvise.c (madvise): Renamed to __madvise.
8548         Make madvise a weak alias.
8549         * include/sys/mman.h: Declare __madvise.
8550         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8551         * sysdeps/unix/syscalls.list
8552         (madvise): Make __madvise the strong name, and madvise a weak alias.
8553         * sysdeps/unix/sysv/linux/syscalls.list
8554         (madvise, mmap): Remove redundant entries.
8555         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8556         * malloc/malloc.c (mtrim): Likewise.
8557         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8558
8559 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8560
8561         * sysdeps/mach/hurd/dl-cache.c: File removed.
8562         * config.h.in (USE_LDCONFIG): New #undef.
8563         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8564         * configure: Regenerated.
8565         * elf/Makefile (dl-routines): Add dl-cache only under
8566         [$(use-ldconfig) = yes].
8567         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8568         cache on [USE_LDCONFIG].
8569         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8570         [USE_LDCONFIG].
8571         * elf/rtld.c (dl_main): Likewise.
8572
8573 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8574
8575         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8576         _SC_LEVEL4_CACHE_LINESIZE.
8577
8578 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8579
8580         * sysdeps/unix/bsd/confstr.h: File removed.
8581
8582 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8583
8584         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8585         sys/sdt-config.h.
8586
8587 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8588
8589         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8590         Make 'mapoff' field ElfW(Off) rather than off_t.
8591
8592 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8593
8594         * nscd/Makefile: Remove nscd-cflags and all its users.
8595         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8596         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8597
8598         [BZ #10631]
8599         * malloc.c (malloc_printerr): Clarify error message.
8600
8601 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8602
8603         [BZ #14648]
8604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8605         Set bit_FMA_Usable if FMA is supported.
8606         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8607         macro.
8608         (bit_FMA4_Usable): Updated.
8609         (index_FMA_Usable): New macro.
8610         (CPUID_FMA): Likewise
8611         (HAS_FMA): Defined with bit_FMA_Usable.
8612
8613 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8614
8615         * bits/types.h (__swblk_t): Type removed.
8616         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8617         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8619         (__SWBLK_T_TYPE): Likewise.
8620         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8621         (__SWBLK_T_TYPE): Likewise.
8622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8623         (__SWBLK_T_TYPE): Likewise.
8624         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8625         (__SWBLK_T_TYPE): Likewise.
8626
8627 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8628             Honza Horak <hhorak@redhat.com>
8629
8630         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8631         (xdr_mapname): Use YPMAXMAP as maxsize.
8632         (xdr_peername): Use YPMAXPEER as maxsize.
8633         (xdr_keydat): Use YPAXRECORD as maxsize.
8634         (xdr_valdat): Use YPMAXRECORD as maxsize.
8635
8636 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8637
8638         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8639
8640         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8641         * csu/init-first.c: ... here.
8642         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8643         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8644         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8645         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8646         * sysdeps/i386/init-first.c: File removed.
8647         * sysdeps/sh/init-first.c: File removed.
8648
8649 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8650
8651         [BZ #14645]
8652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8653         if x * y might underflow to zero and z is zero.
8654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8655         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8656         * math/libm-test.inc (min_subnorm_value): New variable.
8657         (fma_test): Add more tests.
8658         (fma_test_towardzero): Likewise.
8659         (fma_test_downward): Likewise
8660         (fma_test_upward): Likewise.
8661         (initialize): Set min_subnorm_value.
8662
8663 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8664
8665         [BZ #14638]
8666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8667         0 + 0.
8668         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8669         mode for addition resulting in exact zero.
8670         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8672         exact 0 + 0.
8673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8675         * math/libm-test.inc (fma_test): Add more tests.
8676         (fma_test_towardzero): New function.
8677         (fma_test_downward): Likewise.
8678         (fma_test_upward): Likewise.
8679         (main): Call the new functions.
8680
8681 2012-09-28  David S. Miller  <davem@davemloft.net>
8682
8683         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8684
8685 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8686
8687         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8688         instead of SIGALRM.
8689
8690         * sysdeps/gnu/_G_config.h: Moved to ...
8691         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8692         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8693         * sysdeps/generic/_G_config.h: ... here.
8694
8695         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8696
8697         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8698
8699         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8700         Conditionalize target on [libnss_test1.so-version].
8701
8702         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8703
8704         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8705         (elfobjdir): Move out of conditionals.
8706
8707         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8708         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8709         (__nss_lookup_function): Conditionalize label remove_from_tree on
8710         [!DO_STATIC_NSS || SHARED], matching its only use.
8711
8712 2012-09-28  David S. Miller  <davem@davemloft.net>
8713
8714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8715         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8716         file.
8717         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8718         sysdep_routines.
8719         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8721         when HWCAP_SPARC_CRYPTO is present.
8722
8723 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8724
8725         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8726
8727 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8728
8729         [BZ #6530]
8730         * stdio-common/vfprintf.c (process_string_arg): Revert
8731         2000-07-22 change.
8732
8733 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8734
8735         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8736         for testcase.
8737         * stdio-common/tst-sprintf.c: Include <locale.h>
8738         (main): Test sprintf's handling of incomplete multibyte
8739         characters.
8740
8741 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8742
8743         * elf/dl-runtime.c (VERSYMIDX): Removed.
8744         * elf/dl-version.c (VERSYMIDX): Likewise.
8745         * elf/do-rel.h (VERSYMIDX): Likewise.
8746         (VALIDX): Likewise.
8747         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8748         * elf/rtld.c (VALIDX): Likewise.
8749         (ADDRIDX): Likewise.
8750         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8751         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8752         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8753         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8754         (VALIDX): Likewise.
8755         (ADDRIDX): Likewise.
8756
8757 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8758
8759         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8760
8761 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8762
8763         [BZ #11438]
8764         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8765         to global scope.
8766         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8767         addresses are in the same scope as 192.0.2/24.
8768         * posix/gai.conf: Document new scope table defaults.
8769
8770 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8771
8772         [BZ #5298]
8773         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8774         for ftell.  Compute offsets from write pointers instead.
8775         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8776
8777 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8778
8779         [BZ #14543]
8780         * libio/Makefile (tests): New test case tst-fseek.
8781         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8782         combination works in wide mode.
8783         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8784         state when the external buffer state changes.
8785
8786 2012-09-27  David S. Miller  <davem@davemloft.net>
8787
8788         [BZ #14376]
8789         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8790         pass reloc->r_addend in as the 'high' argument to
8791         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8792
8793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8794
8795 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8796
8797         * rt/tst-aio2.c: Include <pthread.h>.
8798         * rt/tst-aio3.c: Likewise.
8799
8800 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8801
8802         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8803
8804 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8805
8806         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8807         contents on [SHARED].
8808
8809 2012-09-26  Marek Polacek  <polacek@redhat.com>
8810
8811         [BZ #14530]
8812         [BZ #13741]
8813         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8814         for C++ and GCC <4.3 as well as for non GCC compilers.
8815
8816 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8817
8818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8819
8820 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8821
8822         * Makefile.in (all, install): Declare with .PHONY.
8823         Reported by Michael Hope <michael.hope@linaro.org>.
8824
8825 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8826
8827         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8828         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8829         system header.
8830         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8831         Likewise.
8832         (sydep_routines): Add the new and the internal functions.
8833         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8834         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8836         (GLIBC_2.17): Add the new function.
8837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8838         (GLIBC_2.17): Likewise.
8839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8840         (GLIBC_2.17): Likewise.
8841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8842         (GLIBC_2.17): Likewise.
8843         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8844
8845 2012-09-25  Alan Modra  <amodra@gmail.com>
8846
8847         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8848         Add release barrier before setting once_control to say
8849         initialisation is done.  Add hints on lwarx.  Use macro in
8850         place of isync.
8851         (clear_once_control): Add release barrier.
8852
8853 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8854
8855         [BZ #13629]
8856         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8857         specially.
8858         * math/s_clog10.c (__clog10): Likewise.
8859         * math/s_clog10f.c (__clog10f): Likewise.
8860         * math/s_clog10l.c (__clog10l): Likewise.
8861         * math/s_clogf.c (__clogf): Likewise.
8862         * math/s_clogl.c (__clogl): Likewise.
8863         * math/Makefile (libm-calls): Add x2y2m1.
8864         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8865         (__x2y2m1): Likewise.
8866         (__x2y2m1l): Likewise.
8867         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8868         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8869         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8870         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8871         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8872         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8873         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8874         * sysdeps/i386/fpu/libm-test-ulps: Update.
8875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8876
8877         [BZ #14621]
8878         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8879         int as type of variable DEPTH.
8880         (glob): Use size_t instead of int as type of variables NEWCOUNT
8881         and OLD_PATHC.
8882
8883 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8884
8885         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8886         Add s_sincosf-sse2.
8887         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8888         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8889         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8890         macros for using routine as __sincosf_ia32.
8891         Use macro for function declaration and weak_alias.
8892         * sysdeps/i386/fpu/libm-test-ulps: Update.
8893
8894         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8896
8897         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8898         subnormal argument.
8899         * math/s_cexpf.c (__cexpf): Likewise.
8900         * math/s_csinf.c (__csinf): Likewise.
8901         * math/s_csinhf.c (__csinhf): Likewise.
8902         * math/s_ctanf.c (__ctanf): Likewise.
8903         * math/s_ctanhf.c (__ctanhf): Likewise.
8904         * math/s_ccosh.c (__ccoshf): Likewise.
8905         * math/s_cexp.c (__cexpl): Likewise.
8906         * math/s_csin.c (__csin): Likewise.
8907         * math/s_csinh.c (__csinh): Likewise.
8908         * math/s_ctan.c (__ctan): Likewise.
8909         * math/s_ctanh.c (ctanh): Likewise.
8910         * math/s_ccoshl.c (__ccoshl): Likewise.
8911         * math/s_cexpl.c (__cexpl): Likewise.
8912         * math/s_csinl.c (__csinl): Likewise.
8913         * math/s_csinhl.c (__csinhl): Likewise.
8914         * math/s_ctanl.c (__ctanl): Likewise.
8915         * math/s_ctanhl.c (__ctanhl): Likewise.
8916
8917 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8918
8919         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8920         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8921         (_IO_off_t): Define to __off_t, not _G_off_t.
8922         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8923         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8924         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8925         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8926         type of __dummy and __dummy2 fields.
8927         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8928         (_G_ssize_t): Likewise.
8929         (_G_off_t): Likewise.
8930         (_G_pid_t): Likewise.
8931         (_G_uid_t): Likewise.
8932         (_G_wchar_t): Likewise.
8933         (_G_wint_t): Likewise.
8934         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8935         (_G_ssize_t): Likewise.
8936         (_G_off_t): Likewise.
8937         (_G_pid_t): Likewise.
8938         (_G_uid_t): Likewise.
8939         (_G_wchar_t): Likewise.
8940         (_G_wint_t): Likewise.
8941         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8942         (_G_ssize_t): Likewise.
8943         (_G_off_t): Likewise.
8944         (_G_pid_t): Likewise.
8945         (_G_uid_t): Likewise.
8946         (_G_wchar_t): Likewise.
8947         (_G_wint_t): Likewise.
8948
8949 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8950
8951         * malloc/arena.c: Include malloc-sysdep.h.
8952         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8953         is sufficient to shrink the heap or an unmap is needed.
8954         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8955         new function check_may_shrink_heap.
8956         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8957         new function check_may_shrink_heap.
8958
8959 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8960
8961         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8962         comments.
8963
8964 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8965
8966         * catgets/test-gencat.sh: Add "set -e".
8967         * elf/tst-pathopt.sh: Likewise.
8968         * grp/tst_fgetgrent.sh: Likewise.
8969         * iconvdata/run-iconv-test.sh: Likewise.
8970         * intl/tst-gettext.sh: Likewise.
8971         * intl/tst-gettext2.sh: Likewise.
8972         * intl/tst-gettext4.sh: Likewise.
8973         * intl/tst-gettext6.sh: Likewise.
8974         * intl/tst-translit.sh: Likewise.
8975         * io/ftwtest-sh: Likewise.
8976         * libio/test-freopen.sh: Likewise.
8977         * malloc/tst-mtrace.sh: Likewise.
8978         * posix/globtest.sh: Likewise.
8979         * posix/tst-getconf.sh: Likewise.
8980         * posix/wordexp-tst.sh: Likewise.
8981         * stdio-common/tst-printf.sh: Likewise.
8982         * stdio-common/tst-unbputc.sh: Likewise.
8983         * stdlib/tst-fmtmsg.sh: Likewise.
8984         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8985         * catgets/Makefile: Do not specify -e option when running
8986         testsuite shell scripts.
8987         * elf/Makefile: Likewise.
8988         * grp/Makefile: Likewise.
8989         * iconvdata/Makefile: Likewise.
8990         * intl/Makefile: Likewise.
8991         * io/Makefile: Likewise.
8992         * libio/Makefile: Likewise.
8993         * malloc/Makefile: Likewise.
8994         * posix/Makefile: Likewise.
8995         * stdio-common/Makefile: Likewise.
8996         * stdlib/Makefile: Likewise.
8997         * sysdeps/x86_64/Makefile: Likewise.
8998
8999         * io/ftwtest-sh: Add copyright header.
9000         * posix/globtest.sh: Likewise.
9001         * posix/tst-getconf.sh: Likewise.
9002         * posix/wordexp-tst.sh: Likewise.
9003         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9004
9005 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
9006
9007         [BZ #13679]
9008         * Makeconfig (+link): Defined as $(+link-static) if
9009         $(build-shared) isn't yes.
9010         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9011         isn't yes.
9012         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9013
9014         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9015
9016         [BZ #14562]
9017         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9018         new chunk size with MALLOC_ALIGN_MASK.
9019
9020 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
9021
9022         [BZ #5044]
9023         * stdio-common/printf_fphex.c: Include <stdbool.h> and
9024         <rounding-mode.h>.
9025         (__printf_fphex): Determine rounding using get_rounding_mode and
9026         round_away.
9027         * stdio-common/tst-printf-round.c (struct hex_test): New
9028         structure.
9029         (hex_tests): New variable.
9030         (test_hex_in_one_mode): New function.
9031         (do_test): Also run tests for hex float output.
9032
9033 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
9034
9035         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9036         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9037         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9038         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9039         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9040         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9041         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9042         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9043
9044 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
9045
9046         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9047         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9048         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9049         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9050
9051 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
9052
9053         [BZ #14579]
9054         * elf/rtld.c (dl_main): Limit the check for self loading to normal
9055         mode only.
9056         * elf/tst-rtld-load-self.sh: New test.
9057         * elf/Makefile: Run it.
9058
9059 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
9060
9061         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9062         (tst-writev-ENV): Remove.
9063         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9064
9065 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
9066
9067         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9068
9069 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
9070
9071         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9072         unconditional.
9073         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9074         Likewise.
9075         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9076         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9077         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9078         Likewise.
9079
9080 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9081
9082         [BZ #14587]
9083         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9084         * config.make.in (have-cpp-asm-debuginfo): Removed.
9085         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9086         * configure: Regenerated.
9087
9088 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
9089
9090         [BZ #5044]
9091         * stdio-common/printf_fp.c: Include <stdbool.h> and
9092         <rounding-mode.h>.
9093         (___printf_fp): Determine rounding using get_rounding_mode and
9094         round_away.
9095         * stdio-common/tst-printf-round.c: New file.
9096         * stdio-common/Makefile (tests): Add tst-printf-round.
9097         (link-libm): New variable.
9098         ($(objpfx)tst-printf-round): Depend in $(link-libm).
9099
9100 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
9101
9102         [BZ #14576]
9103         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9104         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9105         Likewise.
9106         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9107         Likewise.
9108
9109 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
9110
9111         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9112         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9113         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9114         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9115
9116 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
9117
9118         [BZ #14518]
9119         * include/rounding-mode.h: New file.
9120         * sysdeps/generic/get-rounding-mode.h: Likewise.
9121         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9122         * stdlib/strtod_l.c: Include <rounding-mode.h>.
9123         (MAX_VALUE): New macro.
9124         (MIN_VALUE): Likewise.
9125         (overflow_value): New function.
9126         (underflow_value): Likewise.
9127         (round_and_return): Use overflow_value and underflow_value to
9128         determine return values in overflow and underflow cases.  Use
9129         round_away to determine rounding depending on rounding mode.
9130         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9131         determine return values in overflow and underflow cases.
9132         * stdlib/tst-strtod-round.c: Include <fenv.h>.
9133         (struct test_results): New structure.
9134         (struct test): Use struct test_results to store expected results
9135         for all rounding modes.
9136         (TEST): Include expected results for all rounding modes.
9137         (test_in_one_mode): New function.
9138         (do_test): Use test_in_one_mode to compute and check results.
9139         Check results for all rounding modes.
9140         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9141         $(link-libm).
9142
9143 2012-12-09  Allan McRae  <allan@archlinux.org>
9144
9145         * sysdeps/i386/fpu/libm-test-ulps: Update
9146
9147 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
9148
9149         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9150         (_G_int32_t): Likewise.
9151         (_G_uint16_t): Likewise.
9152         (_G_uint32_t): Likewise.
9153         (_G_HAVE_BOOL): Likewise.
9154         (_G_HAVE_ATEXIT): Likewise.
9155         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9156         (_G_HAVE_IO_FILE_OPEN): Likewise.
9157         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9158         (_G_int32_t): Likewise.
9159         (_G_uint16_t): Likewise.
9160         (_G_uint32_t): Likewise.
9161         (_G_HAVE_BOOL): Likewise.
9162         (_G_HAVE_ATEXIT): Likewise.
9163         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9164         (_G_HAVE_IO_FILE_OPEN): Likewise.
9165         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9166         (_G_int32_t): Likewise.
9167         (_G_uint16_t): Likewise.
9168         (_G_uint32_t): Likewise.
9169         (_G_HAVE_BOOL): Likewise.
9170         (_G_HAVE_ATEXIT): Likewise.
9171         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9172         (_G_HAVE_IO_FILE_OPEN): Likewise.
9173
9174 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
9175
9176         * csu/libc-tls.c: Update copyright years.
9177
9178 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
9179
9180         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9181         [!_G_USING_THUNKS]: Remove conditional code.
9182         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9183         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9184
9185         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9186         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9187         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9188         (_G_VTABLE_LABEL_PREFIX): Likewise.
9189         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9190         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9191         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9192         (_G_VTABLE_LABEL_PREFIX): Likewise.
9193         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9194         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9195         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9196         (_G_VTABLE_LABEL_PREFIX): Likewise.
9197         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9198
9199 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9200
9201         * libio/Makefile: Include ../Makeconfig before tests.
9202         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9203         only if $(build-shared) is yes.
9204
9205         * iconv/gconv_db.c: Update copyright years.
9206
9207 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9208
9209         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9210         unwind info if defined PIC. Fix special cases description.
9211         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9212
9213         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9214         DP_HI_MASK entry.
9215         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9216
9217 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9218
9219         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9220
9221         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9222         is NULL.
9223
9224         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9225         (LDLIBS-tst-chk4): This.
9226         (LDFLAGS-tst-chk5): Renamed to ...
9227         (LDLIBS-tst-chk5): This.
9228         (LDFLAGS-tst-chk6): Renamed to ...
9229         (LDLIBS-tst-chk6): This.
9230         (LDFLAGS-tst-lfschk4): Renamed to ...
9231         (LDLIBS-tst-lfschk4): This.
9232         (LDFLAGS-tst-lfschk5): Renamed to ...
9233         (LDLIBS-tst-lfschk5): This.
9234         (LDFLAGS-tst-lfschk6): Renamed to ...
9235         (LDLIBS-tst-lfschk6): This.
9236
9237         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9238         on $(common-objpfx)soversions.mk.
9239
9240 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9241
9242         [BZ #10014]
9243         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9244         example host name.
9245
9246 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9247
9248         * malloc/arena.c (arena_get_retry): New function that gets
9249         another arena for the caller to try its request on.
9250         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9251         current arena cannot fulfill the request.
9252         (__libc_memalign): Likewise.
9253         (__libc_memalign): Likewise.
9254         (__libc_pvalloc): Likewise.
9255         (__libc_calloc): Likewise.
9256
9257 2012-09-05  John Tobey  <john.tobey@gmail.com>
9258
9259         [BZ #13542]
9260         * manual/arith.texi (Operations on Complex): Fix description
9261         of carg branch cut.
9262
9263 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9264
9265         [BZ #10014]
9266         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9267         host name.
9268
9269         [BZ #10038]
9270         * manual/memory.texi (Memory): Make order of menu items match
9271         order of sections.
9272
9273 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9274
9275         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9276         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9277         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9278
9279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9280
9281         * csu/libc-tls.c (static_dtv): Renamed to ...
9282         (_dl_static_dtv): This.  Make it global.
9283         (_dl_initial_dtv): Removed.
9284         (__libc_setup_tls): Updated.
9285         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9286         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9287         DL_INITIAL_DTV.
9288
9289 2012-09-06  Petr Machata  <pmachata@redhat.com>
9290
9291         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9292         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9293         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9294         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9295
9296 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9297
9298         [BZ #14545]
9299         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9300         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9301         freeing dtv[-1].
9302
9303 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9304
9305         [BZ #14544]
9306         * Makeconfig (link-static-before-libc): Replace $(+prector)
9307         with $(+prectorT).
9308         (link-static-after-libc): Replace $(+postctor) with
9309         $(+postctorT).
9310         (link-bounded): Replace $(+prector)/$(+postctor) with
9311         $(+prectorT)/$(+postctorT).
9312         (+prectorT): New macro.
9313         (+postctorT): Likewise.
9314
9315 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9316
9317         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9318         (round_str): Handle values above the maximum for IBM long double
9319         as inexact.
9320         * stdlib/tst-strtod-round.c (tests): Regenerated.
9321
9322 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9323
9324         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9325         assembler flag.
9326         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9327         zarch_nohighgprs around the zarch optimized routines.
9328         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9329         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9330         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9331         for zarch.
9332
9333 2012-09-05  David S. Miller  <davem@davemloft.net>
9334
9335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9336
9337         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9338         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9339         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9340         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9341         entries.
9342
9343 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9344
9345         * malloc/arena.c: Fold copyright years.
9346         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9347
9348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9349
9350         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9351
9352 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9353
9354         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9355
9356 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9357
9358         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9359         change internal state upon failure.
9360
9361 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9362
9363         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9364         * malloc/memusage.c (mmap): Likewise.
9365         (mmap64, mremap): Likewise.  Adjust name in comment.
9366
9367 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9368
9369         * libio/fileops.c: Fix typos in comments.
9370         * libio/oldfileops.c: Likewise.
9371         * libio/wfileops.c: Likewise.
9372
9373 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374
9375         [BZ #1349]
9376         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9377         (tst-malloc-usable-ENV): Set environment for test case.
9378         * malloc/hooks.c (malloc_check_get_size): New function to get
9379         requested size.
9380         * malloc/malloc.c (musable): Use malloc_check_get_size.
9381         * malloc/tst-malloc-usable.c: New test case.
9382
9383 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9384
9385         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9386
9387 2012-09-05  Allan McRae  <allan@archlinux.org>
9388
9389         [BZ #13966]
9390         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9391         determine header location.
9392         * configure: Regenerated.
9393
9394 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9395
9396         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9397         float format.
9398         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9399         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9400         format.
9401         (test): Regenerate.
9402
9403 2012-09-04  David S. Miller  <davem@davemloft.net>
9404
9405         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9406         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9407         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9408
9409 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9410
9411         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9412         failures.
9413
9414         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9415
9416 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9417
9418         [BZ #9914]
9419         * libio/iogetdelim.c: Include <limits.h>.
9420         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9421         + len + 1 would overflow.
9422
9423 2012-09-03  Andreas Jaeger  <aj@suse.de>
9424
9425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9426         * sysdeps/i386/fpu/libm-test-ulps: Update.
9427
9428 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9429
9430         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9431         Add s_sinf-sse2, s_conf-sse2.
9432
9433         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9434         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9435         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9436         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9437
9438         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9439         for using routine as __sinf_ia32.
9440         Use macro for function declaration and weak_alias.
9441         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9442         for using routine as __cosf_ia32.
9443         Use macro for function declaration and weak_alias.
9444
9445         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9446         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9447
9448         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9449         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9451
9452         * math/libm-test.inc (cos_test): Add more test cases.
9453         (sin_test): Likewise.
9454         (sincos_test): Likewise.
9455
9456 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9457
9458         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9459         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9460         hidden.
9461         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9462
9463 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9464
9465         [BZ #14538]
9466         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9467         first element of the GOT.
9468         (elf_machine_load_address): Return the difference between
9469         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9470
9471 2012-09-01  Allan McRae  <allan@archlinux.org>
9472
9473         [BZ #13412]
9474         * configure.in (AWK): Require gawk version 3.0 or later.
9475         * configure: Regenerated.
9476
9477 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
9478
9479         * sysdeps/unix/sysv/linux/kernel-features.h
9480         (__ASSUME_POSIX_CPU_TIMERS): Remove.
9481         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9482         [__NR_clock_getres]: Make code unconditional.
9483         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9484         (clock_getcpuclockid): Remove code left unreachable by removal of
9485         conditionals.
9486         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9487         code unconditional.
9488         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9489         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9490         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9491         Make code unconditional.
9492         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9493         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9494         * sysdeps/unix/sysv/linux/clock_settime.c
9495         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9496         conditional code.
9497         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9498         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9499
9500 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9501
9502         [BZ #14476]
9503         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9504         scripts/test-installation.pl.
9505
9506         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9507         and $ld_so_version if it is set.
9508
9509 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9510
9511         [BZ #14516]
9512         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9513         failure if reading from procfs failed.
9514         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9515
9516 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9517
9518         * sysdeps/unix/sysv/linux/kernel-features.h
9519         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9520         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9521         Remove conditional code.
9522         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9523         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9524         Remove conditional code.
9525         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9526         * sysdeps/unix/sysv/linux/i386/fxstat.c
9527         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9528         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9529         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9530         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9532         * sysdeps/unix/sysv/linux/i386/lxstat.c
9533         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9535         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9536         Remove conditional code.
9537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9538         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9539         Remove conditional code.
9540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9541         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9542         <kernel-features.h>.
9543         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9544         Remove.
9545         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9546         Remove conditional code.
9547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9548         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9549         Remove conditional.
9550
9551 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9552
9553         [BZ #5400]
9554         * NEWS: Add fixed bug number.
9555
9556 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9557
9558         [BZ #14519]
9559         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9560         underflowing exponent in case of negative sign.
9561         * stdlib/tst-strtod-round-data: Add more tests.
9562         * stdlib/tst-strtod-round.c (tests): Regenerated.
9563
9564         [BZ #3479]
9565         * stdlib/strtod_l.c (NDIG): Remove.
9566         (HEXNDIG): Likewise.
9567         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9568         smallest representable value.
9569         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9570         lie within an exact representation of 1/2 ulp of the result.
9571         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9572         unconditionally.
9573         (TENS_P9_IDX): Define unconditionally.
9574         (TENS_P9_SIZE): Likewise.
9575         (TENS_P10_IDX): Likewise.
9576         (TENS_P10_SIZE): Likewise.
9577         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9578         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9579         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9580         entries for 10^2^13 and 10^2^14.
9581         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9582         (TENS_P13_IDX): Define.
9583         (TENS_P13_SIZE): Likewise.
9584         (TENS_P14_IDX): Likewise.
9585         (TENS_P14_SIZE): Likewise.
9586         (_fpioconst_pow10): Change array size to
9587         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9588         unconditional.
9589         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9590         1024]: Add entries for 10^2^13 and 10^2^14.
9591         [LAST_POW10 > _LAST_POW10]: Remove #error.
9592         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9593         (_fpioconst_pow10): Change array size to
9594         FPIOCONST_POW10_ARRAY_SIZE.
9595         * stdlib/gen-fpioconst.c: New file.
9596         * stdlib/gen-tst-strtod-round.c: Likewise.
9597         * stdlib/tst-strtod-round-data: Likewise.
9598         * stdlib/tst-strtod-round.c: Likewise.
9599         * stdlib/Makefile (tests): Add tst-strtod-round.
9600
9601         [BZ #14459]
9602         * stdlib/strtod_l.c: Include <stdint.h>.
9603         (NDEBUG): Do not define.
9604         (round_and_return): Change EXPONENT parameter to type intmax_t.
9605         Rearrange calculations to avoid internal overflow possibilities.
9606         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9607         Rearrange calculations to avoid internal overflow possibilities.
9608         Assert that number fits inside MPNSIZE limbs.
9609         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9610         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9611         calculations and add assertions to avoid internal overflow
9612         possibilities.  Add casts to avoid signed/unsigned operations.
9613         * stdlib/tst-strtod-overflow.c: New file.
9614         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9615
9616 2012-08-25  Marek Polacek  <polacek@redhat.com>
9617
9618         * time/time.h: Fix some typos in comments.
9619
9620 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9621
9622         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9623         * posix/tst-rfc3484-2.c: Likewise.
9624         * posix/tst-rfc3484-3.c: Likewise.
9625
9626 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9627
9628         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9629         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9630
9631 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9632
9633         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9634         #include of fxstatat64.c.
9635
9636 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9637
9638         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9639         * shadow/getspent_r.c: Likewise.
9640         * shadow/getspnam.c: Likewise.
9641         * shadow/getspnam_r.c: Likewise.
9642         * gshadow/getsgent.c: Likewise.
9643         * gshadow/getsgent_r.c: Likewise.
9644         * gshadow/getsgnam.c: Likewise.
9645         * gshadow/getsgnam_r.c: Likewise.
9646         * inet/getnetbyad.c: Likewise.
9647         * inet/getnetbyad_r.c: Likewise.
9648         * inet/getnetbynm.c: Likewise.
9649         * inet/getnetbynm_r.c: Likewise.
9650         * inet/getnetent.c: Likewise.
9651         * inet/getnetent_r.c: Likewise.
9652         * inet/getproto.c: Likewise.
9653         * inet/getproto_r.c: Likewise.
9654         * inet/getprtent.c: Likewise.
9655         * inet/getprtent_r.c: Likewise.
9656         * inet/getprtname.c: Likewise.
9657         * inet/getprtname_r.c: Likewise.
9658         * inet/getrpcbyname.c: Likewise.
9659         * inet/getrpcbyname_r.c: Likewise.
9660         * inet/getrpcbynumber.c: Likewise.
9661         * inet/getrpcbynumber_r.c: Likewise.
9662         * inet/getrpcent.c: Likewise.
9663         * inet/getrpcent_r.c: Likewise.
9664         * inet/getaliasent.c: Likewise.
9665         * inet/getaliasent_r.c: Likewise.
9666         * inet/getaliasname.c: Likewise.
9667         * inet/getaliasname_r.c: Likewise.
9668         * nscd/getgrgid_r.c: Likewise.
9669         * nscd/getgrnam_r.c: Likewise.
9670         * nscd/gethstbyad_r.c: Likewise.
9671         * nscd/gethstbynm3_r.c: Likewise.
9672         * nscd/getpwnam_r.c: Likewise.
9673         * nscd/getpwuid_r.c: Likewise.
9674         * nscd/getsrvbynm_r.c: Likewise.
9675         * nscd/getsrvbypt_r.c: Likewise.
9676         * nscd/gai.c: Likewise.
9677
9678         * configure.in (build_nscd): New substituted variable, set
9679         by --disable-build-nscd and defaults to $use_nscd.
9680         * configure: Regenerated.
9681         * config.make.in (build-nscd): New substituted variable.
9682         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9683         Change conditional to require [$(build-nscd) = yes] as well.
9684         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9685
9686         [BZ# 13696]
9687         * configure.in (use_nscd): New substituted variable, set by
9688         --disable-nscd.  If enabled, define USE_NSCD.
9689         * configure: Regenerated.
9690         * config.h.in: Add USE_NSCD.
9691         * config.make.in (use-nscd): New substituted variable.
9692         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9693         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9694         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9695         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9696         (CFLAGS-getgrnam_r.c): Likewise.
9697         (CFLAGS-initgroups.c): Likewise.
9698         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9699         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9700         Variables removed.
9701         * inet/getnetgrent_r.c
9702         (nscd_setnetgrent): New function, broken out of ...
9703         (setnetgrent): ... here.  Call it.
9704         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9705         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9706         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9707         * nscd/Makefile (routines, aux): Move definitions after include of
9708         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9709         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9710         Conditionalize on [USE_NSCD].
9711         (is_nscd, nscd_init_cb): Likewise.
9712         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9713         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9714         * nss/nss_db/db-init.c: Likewise.
9715         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9716         [USE_NSCD].
9717         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9718         (make_request): Use it.
9719         (cache_valid_p): New function.
9720         (__check_pf): Use it.
9721         * NEWS: Add item for --disable-nscd.
9722
9723 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9724
9725         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9726         to support sed >= 4.2.1-20-ga9bf076.
9727         * configure: Regenerated.
9728
9729 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9730
9731         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9732         Conditionalize whole body on [IREL].
9733
9734 2012-08-22  Jeff Law <law@redhat.com>
9735
9736         [BZ #14505]
9737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9738         if the family is PF_UNSPEC.
9739
9740 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9741
9742         * Makerules (lib-version): Rename from V.
9743         (install-lib-nosubdir): Change V to lib-version.
9744
9745 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9746
9747         [BZ #14252]
9748         * powerpc32/power6/wcschr.c: New file.
9749         * powerpc32/power6/wcscpy.c: New file.
9750         * powerpc32/power6/wcsrchr.c: New file.
9751         * powerpc64/power6/wcschr.c: New file.
9752         * powerpc64/power6/wcscpy.c: New file.
9753         * powerpc64/power6/wcsrchr.c: New file.
9754
9755 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9756
9757         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9758         (two_way_short_needle): Use it.
9759         * string/strstr.c (AVAILABLE1_USES_J): Define.
9760         * string/strcasestr.c: Likewise.
9761
9762         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9763         array references.
9764         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9765
9766         [BZ #11607]
9767         * NEWS: Add an entry.
9768         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9769         define their defaults.
9770         (two_way_short_needle): Detect end-of-string on-the-fly.
9771         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9772         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9773         * string/bug-strcasestr1.c: New test.
9774         * string/Makefile: Run it.
9775
9776 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9777
9778         [BZ #11607]
9779         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9780         the first character.
9781
9782 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9783
9784         * csu/elf-init.c (__libc_csu_irel): Function removed.
9785         * csu/libc-start.c (apply_irel): New function.
9786         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9787
9788 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9789
9790         * sysdeps/unix/sysv/linux/kernel-features.h
9791         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9792         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9793         <kernel-features.h>.
9794         [__NR_fadvise64_64]: Make code unconditional.
9795         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9796         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9797         !__NR_fadvise64_64)]: Likewise.
9798         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9799         !__NR_fadvise64_64))]: Likewise.
9800         [__NR_fadvise64]: Make code unconditional.
9801         [!__NR_fadvise64]: Remove conditional code.
9802         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9803         <kernel-features.h>.
9804         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9805         unconditional.
9806         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9807         conditional code.
9808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9809         not include <kernel-features.h>.
9810         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9811         unconditional.
9812         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9813         conditional code.
9814         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9815         include <kernel-features.h>.
9816         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9817         unconditional.
9818         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9819         conditional code.
9820
9821 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9822
9823         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9824         slight instruction rearrangements per scrollpipe analysis.
9825         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9826
9827 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9828
9829         * manual/syslog.texi (syslog; vsyslog, closelog):
9830         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9831         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9832
9833         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9834         DSOCAPS to match condition on defining it.
9835
9836 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9837
9838         * sysdeps/unix/sysv/linux/kernel-features.h
9839         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9841         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9842         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9844         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9845         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9847         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9848         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9849
9850         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9851         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9852
9853         * sysdeps/unix/sysv/linux/kernel-features.h
9854         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9855         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9856         unconditional.
9857         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9858         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9859         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9860         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9861         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9862         Make code unconditional.
9863         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9864         (__mmap64) [!__NR_mmap2]: Likewise.
9865         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9866         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9867         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9868         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9869         [__NR_mmap2]: Make code unconditional.
9870         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9871         (__mmap64) [!__NR_mmap2]: Likewise.
9872
9873 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9874
9875         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9876
9877 2012-08-18  Andreas Jaeger  <aj@suse.de>
9878
9879         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9880
9881 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9882
9883         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9884         * include/unistd.h (__have_sock_cloexec): Likewise.
9885         (__have_pipe2): Likewise.
9886         (__have_dup3): Likewise.
9887
9888 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9889
9890         [BZ #9685]
9891         * include/unistd.h (__have_pipe2): Change define into an extern int.
9892         (__have_dup3): Likewise.
9893         * socket/have_sock_cloexec.c: Include fcntl.h.
9894         (__have_pipe2): New variable.
9895         (__have_dup3): Likewise.
9896
9897 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9898
9899         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9900
9901 2012-08-17  Marek Polacek  <polacek@redhat.com>
9902
9903         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9904         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9905
9906 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9907
9908         * configure.in: Add AC_SUBST for sysheaders.
9909         * configure: Regenerated.
9910         * config.make.in (sysheaders): New substituted variable.
9911
9912         * sysdeps/unix/mkfifo.c: Moved ...
9913         * sysdeps/posix/mkfifo.c: ... here.
9914         * sysdeps/unix/mkfifoat.c: Moved ...
9915         * sysdeps/posix/mkfifoat.c: ... here.
9916
9917         * sysdeps/unix/utime.c: Moved ...
9918         * sysdeps/posix/utime.c: ... here.
9919
9920         * sysdeps/unix/time.c: Moved ...
9921         * sysdeps/posix/time.c: ... here.
9922         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9923         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9924
9925         * sysdeps/unix/nice.c: Moved ...
9926         * sysdeps/posix/nice.c: ... here.
9927
9928         * sysdeps/unix/alarm.c: Moved ...
9929         * sysdeps/posix/alarm.c: ... here.
9930
9931         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9932
9933 2012-08-17  Jeff Law <law@redhat.com>
9934
9935         * intl/Makefile (codeset_mo): New variable.
9936         ($(codeset_mo)): New target.
9937         (tst-codeset.out): Depend on that.  Remove explicit rule.
9938         (tst-gettext3.out, tst-gettext5.out): Likewise.
9939         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9940         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9941         * intl/tst-codeset.sh: Remove.
9942         * intl/tst-gettext3.sh: Likewise.
9943         * intl/tst-gettext5.sh: Likewise.
9944
9945 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9946
9947         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9948         * sysdeps/unix/syscalls.list: ... here.
9949
9950         * sysdeps/posix/getaddrinfo.c
9951         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9952         (gaiconf_init, gaiconf_reload): Use them.
9953         [!_STATBUF_ST_NSEC]
9954         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9955         Define using time_t rather than struct timespec.
9956
9957         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9958         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9959         Macros removed.
9960         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9961         [!NO_THREADS].
9962         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9963         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9964         Likewise.
9965
9966         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9967         __libc_cleanup_push argument.
9968
9969         * bits/param.h: New file.
9970         * misc/sys/param.h: New file.
9971         * include/sys/param.h: New file.
9972         * misc/Makefile (headers): Add bits/param.h.
9973         * sysdeps/generic/sys/param.h: File removed.
9974         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9975         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9976         * sysdeps/mach/hurd/bits/param.h: New file.
9977         * sysdeps/mach/hurd/sys/param.h: File removed.
9978
9979         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9980         last change.
9981
9982         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9983         [_IO_MTSAFE_IO].
9984         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9985         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9986         New macros.
9987
9988         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9989         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9990         rather than -D_IO_MTSAFE_IO conditionally.
9991         * stdio-common/Makefile (CPPFLAGS): Likewise.
9992         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9993         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9994         Use $(libio-mtsafe).
9995         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9996         of -D_IO_MTSAFE_IO.
9997         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9998         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9999         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10000         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10001         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10002         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10003         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10004         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10005         (CFLAGS-fread_u_chk.c): Likewise.
10006         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10007         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10008         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10009         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10010         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10011         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10012         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10013         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10014         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10015
10016         * libio/Makefile: Test [$(libc-reentrant) = yes]
10017         instead of [$(filter %REENTRANT, $(defines)) nonempty].
10018
10019         * Makeconfig
10020         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10021         * sysdeps/pthread/configure: File removed.
10022         * sysdeps/pthread/Makeconfig: New file.
10023         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10024         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10025
10026 2012-08-16  Gary Benson  <gbenson@redhat.com>
10027
10028         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10029         unmapping the first object in a namespace.
10030
10031 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10032
10033         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10034         (__internal_setnetgrent): ... this.  Add internal_function to
10035         definition.  Add libc_hidden_def.
10036         (setnetgrent): Update caller.
10037         (internal_endnetgrent): Renamed to ...
10038         (__internal_endnetgrent): ... this.  Add internal_function to
10039         definition.  Add libc_hidden_def.
10040         (endnetgrent): Update caller.
10041         (internal_getnetgrent_r): Renamed to ...
10042         (__internal_getnetgrent_r): ... this.  Add internal_function to
10043         definition.  Add libc_hidden_def.
10044         (__getnetgrent_r): Update caller.
10045         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
10046
10047 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10048
10049         * stdlib/longlong.h: Update from GCC.
10050
10051 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10052
10053         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10054         on _QL, which is set by umul_ppmm but never used.
10055         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10056         variables, which are set by GMP macros but never used.
10057         * stdio-common/_itowa.c (_itowa): Likewise.
10058         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10059         * stdlib/mod_1.c (mpn_mod_1): Likewise.
10060
10061 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
10062
10063         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10064         struct La_sh_regs is not constant.
10065         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10066         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10067         and struct La_sparc64_regs are not constant.
10068
10069 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10070
10071         * sysdeps/unix/sysv/linux/kernel-features.h
10072         (__ASSUME_POSIX_TIMERS): Remove.
10073         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10074         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10075         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10076         Make code unconditional.
10077         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10078         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10079         Make code unconditional.
10080         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10081         * sysdeps/unix/sysv/linux/clock_nanosleep.c
10082         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10083         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10084         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10085         Make code unconditional.
10086         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10087         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10088         (__libc_missing_posix_timers): Remove.
10089
10090 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10091
10092         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10093         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10094
10095         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10096
10097         * elf/dl-sym.c: Include <stdlib.h>.
10098
10099         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10100         constants, which avoids warnings in 32-bit builds.
10101
10102         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10103         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10104
10105         * misc/lseek.c: File moved to ...
10106         * io/lseek.c: ... here.
10107
10108         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10109
10110         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10111         shifting LEN more than 31 bits at once.
10112
10113 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10114
10115         [BZ #14195]
10116         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10117         segmentation fault for a case of two empty input strings.
10118         * string/test-strncasecmp.c (check1): Renamed to...
10119         (bz12205): ...this.
10120         (bz14195): Add new testcase for two empty input strings and N > 0.
10121         (test_main): Call new testcase, adapt for renamed function.
10122
10123 2012-08-15  Andreas Jaeger  <aj@suse.de>
10124
10125         [BZ #14090]
10126         * crypt/md5test2.c: New test, based on test supplied by Serge
10127         Belyshev <belyshev@depni.sinp.msu.ru>.
10128         * crypt/Makefile (xtests): Add md5test-giant..
10129         * crypt/Makefile ($(objpfx)md5test-giant): Add.
10130
10131 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
10132
10133         [BZ #14090]
10134         * crypt/md5.c (md5_process_block): Don't assume the buffer
10135         length is less than 2**32.
10136         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10137         length is less than 2**64.
10138
10139 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10140
10141         * string/str-two-way.h: Include <sys/param.h>.
10142         (MAX): Macro removed.
10143
10144         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10145         Move #define and #undef of memmove to just before and after
10146         including <string.h>.
10147
10148         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10149         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10150         and after including <string.h>.  Move declarations of
10151         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10152         to before #include "string/memmove.c".
10153
10154         * include/dirent.h: Declare __getdirentries.
10155
10156         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10157         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10158
10159 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
10160
10161         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10162         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10163         * sysdeps/i386/configure: Regenerated.
10164         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10165         STABS_CURRENT_FILE, and STABS_FUN.
10166         (END): Remove call to STABS_FUN_END.
10167         (STABS_CURRENT_FILE1): Delete.
10168         (STABS_CURRENT_FILE): Likewise.
10169         (STABS_FUN): Likewise.
10170         (STABS_FUN_END): Likewise.
10171         (STABS_FUN2): Likewise.
10172         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10173         * sysdeps/x86_64/configure: Regenerated.
10174
10175 2012-08-14  Roland McGrath  <roland@hack.frob.com>
10176
10177         * elf/dl-open.c: Include <atomic.h>.
10178         * elf/dl-lookup.c: Likewise.
10179
10180 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
10181
10182         * sysdeps/unix/sysv/linux/kernel-features.h
10183         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10184         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10185         unconditionally.
10186         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10187         unconditionally.
10188         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10189         condition on __ASSUME_CLONE_THREAD_FLAGS.
10190
10191 2012-08-14  Andreas Jaeger  <aj@suse.de>
10192
10193         * sysdeps/i386/fpu/libm-test-ulps: Update.
10194
10195 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10196
10197         * include/atomic.h (atomic_exchange_and_add): Split into ...
10198         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10199         New atomic macros.
10200
10201 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10202
10203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10204
10205 2012-08-13  Jeff Law <law@redhat.com>
10206
10207         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10208         null byte in the output string.
10209
10210 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10211
10212         * sysdeps/unix/sysv/linux/kernel-features.h
10213         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10214         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10215         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10216         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10217         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10218         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10219         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10220
10221 2012-08-09  Jeff Law <law@redhat.com>
10222
10223         [BZ #13939]
10224         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10225         When avoid_arena is set, don't retry in the that arena.  Pick the
10226         next one, whatever it might be.
10227         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10228         (arena_lock): Pass in new parameter to arena_get2.
10229         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10230         arena_get2.
10231         (__libc_malloc): Unify retrying after main arena failure with
10232         __libc_memalign version.
10233         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10234
10235 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10236
10237         [BZ #14166]
10238         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10239         to __redirect_strstr.
10240         (__strstr_sse42): Use typeof __redirect_strstr.
10241         (__strstr_ia32): Likewise.
10242         (__libc_strstr): New prototype.
10243         (strstr): Renamed to ...
10244         (__libc_strstr): This.
10245         (strstr): New strong alias of __libc_strstr.
10246         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10247         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10248         __redirect_time.
10249         Include <time.h>.
10250         (__libc_time): New prototype.
10251         (time_ifunc): Replace time with __libc_time.
10252         (time): New strong alias and hidden definition of __libc_time.
10253         (__GI_time): Remove strong alias.
10254         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10255         Include <stddef.h>.
10256         (memmove): Redefined to __redirect_memmove.
10257         (__memmove_sse2): Use typeof __redirect_memmove.
10258         (__memmove_ssse3): Likewise.
10259         (__memmove_ssse3_back): Likewise.
10260         (__libc_memmove): New prototype.
10261         (memmove): Renamed to ...
10262         (__libc_memmove): This.
10263         (memmove): New strong alias of __libc_memmove.
10264
10265 2012-08-08  Mark Salter  <msalter@redhat.com>
10266
10267         * elf/elf.h
10268         (R_MN10300_TLS_GD): Define.
10269         (R_MN10300_TLS_LD): Likewise.
10270         (R_MN10300_TLS_LDO): Likewise.
10271         (R_MN10300_TLS_GOTIE): Likewise.
10272         (R_MN10300_TLS_IE): Likewise.
10273         (R_MN10300_TLS_LE): Likewise.
10274         (R_MN10300_TLS_DTPMOD): Likewise.
10275         (R_MN10300_TLS_DTPOFF): Likewise.
10276         (R_MN10300_TLS_TPOFF): Likewise.
10277         (R_MN10300_SYM_DIFF): Likewise.
10278         (R_MN10300_ALIGN): Likewise.
10279         (R_MN10300_NUM): Update.
10280
10281 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10282
10283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10284         Remove.
10285
10286 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10287
10288         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10289
10290         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10291         sysdeps/unix -> sysdeps/posix move.
10292         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10293
10294 2012-08-07      Allan McRae     <allan@archlinux.org>
10295
10296         [BZ #14303]
10297         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10298         (SUNOS_CPP): Likewise.
10299         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10300         not found.
10301         (open_input): Call CPP using execvp.
10302
10303 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10304
10305         * sysdeps/unix/sysv/linux/kernel-features.h
10306         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10307         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10308         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10309         (__ASSUME_WAITID_SYSCALL): Likewise.
10310         * sysdeps/unix/sysv/linux/dl-execstack.c
10311         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10312         code unconditional.
10313         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10314         conditional code.
10315         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10316         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10317         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10318         code.
10319         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10320         unconditional.
10321         [__ASSUME_WAITID_SYSCALL]: Likewise.
10322         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10323
10324 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10325
10326         * sysdeps/unix/closedir.c: Renamed to ...
10327         * sysdeps/posix/closedir.c: ... here.
10328         * sysdeps/unix/dirfd.c: Renamed to ...
10329         * sysdeps/posix/dirfd.c: ... here.
10330         * sysdeps/unix/dirstream.h: Renamed to ...
10331         * sysdeps/posix/dirstream.h: ... here.
10332         * sysdeps/unix/fdopendir.c: Renamed to ...
10333         * sysdeps/posix/fdopendir.c: ... here.
10334         * sysdeps/unix/opendir.c: Renamed to ...
10335         * sysdeps/posix/opendir.c: ... here.
10336         * sysdeps/unix/readdir.c: Renamed to ...
10337         * sysdeps/posix/readdir.c: ... here.
10338         * sysdeps/unix/readdir_r.c: Renamed to ...
10339         * sysdeps/posix/readdir_r.c: ... here.
10340         * sysdeps/unix/rewinddir.c: Renamed to ...
10341         * sysdeps/posix/rewinddir.c: ... here.
10342         * sysdeps/unix/seekdir.c: Renamed to ...
10343         * sysdeps/posix/seekdir.c: ... here.
10344         * sysdeps/unix/telldir.c: Renamed to ...
10345         * sysdeps/posix/telldir.c: ... here.
10346         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10347         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10348         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10349         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10350
10351         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10352         * bits/fcntl.h: ... here.
10353
10354         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10355         not 0.
10356         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10357         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10358         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10359         (struct flock): Move l_start, l_len to the beginning.
10360         Use __pid_t for l_pid.
10361         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10362         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10363         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10364         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10365         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10366         [__USE_LARGEFILE64] (struct flock64): New type.
10367         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10368
10369         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10370         * bits/dirent.h: ... here.
10371
10372         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10373         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10374
10375 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10376
10377         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10378         Change from 2.6.0 to 2.6.16.
10379         * sysdeps/unix/sysv/linux/configure: Regenerated.
10380         * sysdeps/unix/sysv/linux/kernel-features.h
10381         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10382         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10383         version.
10384         (__ASSUME_UTIMES): Likewise.
10385         (__ASSUME_CLONE_STOPPED): Remove.
10386         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10387         architectures, not kernel version.
10388         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10389         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10390         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10391         (__ASSUME_WAITID_SYSCALL): Likewise.
10392         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10393         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10394         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10395         refer to older versions.
10396
10397 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10398
10399         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10400         Define alphasort64 as an alias.
10401         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10402         Define versionsort64 as an alias.
10403         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10404         Define scandir64 as an alias.
10405         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10406         Define scandirat64 as an alias.
10407         * dirent/alphasort64.c (alphasort64):
10408         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10409         * dirent/versionsort64.c: Likewise.
10410         * dirent/scandir64.c: Likewise.
10411         * dirent/scandirat64.c: Likewise.
10412         * sysdeps/wordsize-64/alphasort.c: File removed.
10413         * sysdeps/wordsize-64/alphasort64.c: File removed.
10414         * sysdeps/wordsize-64/scandir.c: File removed.
10415         * sysdeps/wordsize-64/scandir64.c: File removed.
10416         * sysdeps/wordsize-64/scandirat.c: File removed.
10417         * sysdeps/wordsize-64/scandirat64.c: File removed.
10418         * sysdeps/wordsize-64/versionsort.c: File removed.
10419         * sysdeps/wordsize-64/versionsort64.c: File removed.
10420         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10421         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10422         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10423         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10424         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10425         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10426         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10427         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10428
10429         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10431         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10433         [defined __arch64__ || defined __sparcv9]
10434         (__INO_T_MATCHES_INO64_T): New macro.
10435         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10436         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10437         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10438         * sysdeps/unix/sysv/linux/bits/dirent.h
10439         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10440         (_DIRENT_MATCHES_DIRENT64): New macro.
10441
10442         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10443         Define lockf64 as an alias.
10444         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10445         Define fseeko64 as an alias.
10446         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10447         Define ftello64 as an alias.
10448         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10449         Define _IO_fgetpos64 and fgetpos64 as aliases.
10450         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10451         Define _IO_fsetpos64 and fsetpos64 as aliases.
10452         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10453         Conditionalize body on this.
10454         * libio/fseeko64.c: Likewise.
10455         * libio/ftello64.c: Likewise.
10456         * libio/iofgetpos64.c: Likewise.
10457         * libio/iofsetpos64.c: Likewise.
10458         * sysdeps/wordsize-64/lockf.c: File removed.
10459         * sysdeps/wordsize-64/lockf64.c: File removed.
10460         * sysdeps/wordsize-64/fseeko.c: File removed.
10461         * sysdeps/wordsize-64/fseeko64.c: File removed.
10462         * sysdeps/wordsize-64/ftello.c: File removed.
10463         * sysdeps/wordsize-64/ftello64.c: File removed.
10464         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10465         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10466         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10467         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10468         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10469         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10470         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10471         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10472         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10473         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10474         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10475         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10476         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10477         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10478
10479         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10481         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10483         [defined __arch64__ || defined __sparcv9]
10484         (__OFF_T_MATCHES_OFF64_T): New macro.
10485         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10486         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10488         (__OFF_T_MATCHES_OFF64_T): New macro.
10489
10490 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10491
10492         * stdlib/secure-getenv.c (__secure_getenv): Replace
10493         GLIBC_2_16 with GLIBC_2_17.
10494
10495 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10496
10497         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10498         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10499
10500 2012-08-03  David S. Miller  <davem@davemloft.net>
10501
10502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10503
10504 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10505
10506         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10507         Remove.
10508         (__ASSUME_CORRECT_SI_PID): Likewise.
10509         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10510         (__ASSUME_TMPFS_NAME): Likewise.
10511         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10512         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10513         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10514         (HAVE_AUX_SECURE): Make definition unconditional.
10515         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10516         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10517
10518 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10519
10520         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10521         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10522         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10523         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10524         __eloop_threshold instead of SYMLOOP_MAX.
10525
10526         * sysdeps/generic/eloop-threshold.h: New file.
10527         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10528         of MAXSYMLINKS.
10529         * elf/chroot_canon.c (chroot_canon): Likewise.
10530
10531 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10532
10533         [BZ #13717]
10534         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10535         Change to 2.6.0 everywhere.
10536         * sysdeps/unix/sysv/linux/configure: Regenerated.
10537         * sysdeps/unix/sysv/linux/kernel-features.h
10538         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10539         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10540         kernel versions.
10541         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10542         (__ASSUME_FUTEX_REQUEUE): Remove.
10543         (__ASSUME_STATFS64): Define unconditionally.
10544         (__ASSUME_AT_SECURE): Likewise.
10545         (__ASSUME_CORRECT_SI_PID): Likewise.
10546         (__ASSUME_TGKILL): Define without depending on kernel version for
10547         i386.
10548         (__ASSUME_UTIMES): Likewise.
10549         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10550         kernel version.
10551         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10552         (__ASSUME_TMPFS_NAME): Likewise.
10553         * README: Update reference to Linux kernel versions.
10554
10555 2012-08-02  Marek Polacek  <polacek@redhat.com>
10556
10557         [BZ# 14150]
10558         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10559         libc_cv_asm_type_prefix with %.
10560         * configure: Regenerated.
10561         * include/libc-symbols.h: Remove comment about
10562         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10563         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10564         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10565         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10566         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10567         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10568         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10569         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10570         * elf/tst-unique2mod1.c: Likewise.
10571         * elf/tst-unique1mod2.c: Likewise.
10572         * elf/tst-unique1mod1.c: Likewise.
10573         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10574         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10575         Replace ASM_TYPE_DIRECTIVE with .type.
10576         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10577         * sysdeps/i386/sysdep.h: Likewise.
10578         * sysdeps/x86_64/sysdep.h: Likewise.
10579         * sysdeps/sh/sysdep.h: Likewise.
10580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10581         Do not define ASM_TYPE_DIRECTIVE.
10582         * sysdeps/powerpc/sysdep.h: Likewise.
10583         * sysdeps/powerpc/powerpc32/sysdep.h:
10584         Replace ASM_TYPE_DIRECTIVE with .type.
10585         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10586         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10587         * sysdeps/i386/fpu/e_powf.S: Likewise.
10588         * sysdeps/i386/fpu/e_expl.S: Likewise.
10589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10590         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10591         * sysdeps/i386/fpu/e_pow.S: Likewise.
10592         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10593         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10594         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10595         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10596         * sysdeps/i386/fpu/e_log2.S: Likewise.
10597         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10598         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10599         * sysdeps/i386/fpu/e_powl.S: Likewise.
10600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10601         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10602         * sysdeps/i386/fpu/e_logl.S: Likewise.
10603         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10604         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10605         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10606         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10607         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10608         * sysdeps/i386/fpu/e_log.S: Likewise.
10609         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10610         * sysdeps/i386/fpu/e_logf.S: Likewise.
10611         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10612         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10613         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10614         * sysdeps/i386/fpu/e_log10.S: Likewise.
10615         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10616         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10617         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10618         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10620         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10621         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10622         * sysdeps/i386/i686/strtok.S: Likewise.
10623         * sysdeps/i386/i386-mcount.S: Likewise.
10624         * sysdeps/i386/strtok.S: Likewise.
10625         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10626         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10627         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10628         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10629         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10630         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10631         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10632         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10633         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10634         * sysdeps/x86_64/_mcount.S: Likewise.
10635         * sysdeps/x86_64/strtok.S: Likewise.
10636         * sysdeps/sh/_mcount.S: Likewise.
10637
10638 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10639
10640         * libio/iofopen.c: Include <fcntl.h>.
10641         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10642         (_IO_fopen64, fopen64): Define as aliases.
10643         * libio/iofopen64.c: Include <fcntl.h>.
10644         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10645         Conditionalize body on this.
10646         * sysdeps/wordsize-64/iofopen.c: File removed.
10647         * sysdeps/wordsize-64/iofopen64.c: File removed.
10648
10649 2012-08-01  Marek Polacek  <polacek@redhat.com>
10650
10651         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10652         Use dlfcn directly instead of a variable.
10653         (binfmt-subdir): Do not define.
10654         (dlfcn): Likewise.
10655
10656 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10657
10658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10659         Remove all definitions.
10660         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10661         <kernel-features.h>.
10662         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10663         (miss_F_GETOWN_EX): Remove all definitions.
10664         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10665         macro definition.
10666         [!__ASSUME_FCNTL64]: Remove conditional code.
10667         [__ASSUME_FCNTL64]: Make code unconditional.
10668         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10669         <kernel-features.h>.
10670         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10671         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10672         (lockf64) [__NR_fcntl64]: Make code unconditional.
10673         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10674
10675         * sysdeps/unix/sysv/linux/kernel-features.h
10676         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10677         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10678         Make code unconditional.
10679         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10680         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10682         [__NR_vfork]: Make code unconditional.
10683         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10684         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10686         [__NR_vfork]: Make code unconditional.
10687         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10688         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10689
10690 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10691
10692         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10693         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10694
10695         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10696         Define mkstemp64 as an alias.
10697         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10698         Define mkstemps64 as an alias.
10699         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10700         Define mkostemp64 as an alias.
10701         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10702         Define mkostemps64 as an alias.
10703         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10704         Conditionalize body on this.
10705         * misc/mkostemp64.c: Likewise.
10706         * misc/mkostemps64.c: Likewise.
10707         * misc/mkstemps64.c: Likewise.
10708         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10709         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10710         * sysdeps/wordsize-64/mkostemp.c: File removed.
10711         * sysdeps/wordsize-64/mkstemp.c: File removed.
10712         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10713         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10714         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10715         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10716
10717         [BZ #14138]
10718         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10719         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10720         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10721         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10722
10723         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10724         compat_symbol macros from <shlib-compat.h> rather than the underlying
10725         default_symbol_version and symbol_version macros, so that DEFAULT
10726         lines in shlib-versions are respected.
10727         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10728
10729 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10730
10731         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10732         Declare with warn_unused_result.
10733         (setgid, setregid, setegid, setresgid): Likewise.
10734         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10735         Likewise.
10736         * WUR-REPORT: Remove set*id functions.
10737
10738 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10739
10740         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10741
10742 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10743
10744         * include/sys/socket.h (__libc_accept, __libc_accept4):
10745         Add attribute_hidden.
10746         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10747
10748         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10749         use of PTR_MANGLE.
10750         * inet/getnetgrent_r.c (setup): Likewise.
10751
10752         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10753
10754 2012-07-31  David S. Miller  <davem@davemloft.net>
10755
10756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10757
10758 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10759
10760         [BZ #13629]
10761         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10762         value between 1.0 and 2.0 and smaller part has absolute value less
10763         than 1.0.
10764         * math/s_clog10.c (__clog10): Likewise.
10765         * math/s_clog10f.c (__clog10f): Likewise.
10766         * math/s_clog10l.c (__clog10l): Likewise.
10767         * math/s_clogf.c (__clogf): Likewise.
10768         * math/s_clogl.c (__clogl): Likewise.
10769         * math/libm-test.inc (clog_test): Add more tests.
10770         (clog10_test): Likewise.
10771         * sysdeps/i386/fpu/libm-test-ulps: Update.
10772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10773
10774 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10775
10776         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10777         Exit with zero in case no suitable GID is found, and write a
10778         message to standard error.
10779
10780 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10781
10782         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10783         rather than to 1.
10784         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10785         (MAXPATHLEN): Removed.
10786         (NOGROUP, NODEV): New macros.
10787         (setbit, clrbit, isset, isclr): New macros.
10788         (howmany, roundup, powerof2): New macros.
10789         (DEV_BSIZE): New macro.
10790
10791         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10792         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10793
10794         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10795         definition on [!__NO_LONG_DOUBLE_MATH].
10796
10797         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10798         PTR_MANGLE and PTR_DEMANGLE.
10799
10800         * socket/accept4.c (accept4): Rename to __libc_accept4.
10801         Define accept4 as a weak alias.
10802
10803         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10804         on [_DIRENT_HAVE_D_TYPE].
10805         * io/ftw.c (ftw_dir): Likewise.
10806
10807         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10808
10809         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10810
10811         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10812         Use the BSD numbers rather than the arbitrary ones we had.
10813         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10814         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10815         (SIGXCPU, SIGXFSZ): New macros.
10816         (_NSIG): Now 32.
10817
10818         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10819         initializer on [_LIBC_REENTRANT].
10820
10821         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10822         definitions inside [_POSIX_MAPPED_FILES].
10823
10824         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10825
10826         * dirent/opendir.c: Include <fcntl.h>.
10827
10828         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10829         (__libc_getspecific): Likewise.
10830         (__libc_key_create): Likewise.
10831
10832         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10833         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10834         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10835         (tmpfile64): Define as alias.
10836         * sysdeps/wordsize-64/tmpfile.c: File removed.
10837         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10838         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10839         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10840
10841         * stdio-common/vfscanf.c: Include <stdbool.h>.
10842         * nss/makedb.c: Likewise.
10843         * stdio-common/_i18n_number.h: Likewise.
10844         * argp/argp-help.c: Likewise.
10845         * posix/wordexp.c: Likewise.
10846         * sysdeps/posix/spawni.c: Likewise.
10847         * nss/nss_files/files-initgroups.c: Likewise.
10848         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10849         * nss/nss_files/files-initgroups.c: Likewise.
10850         * nss/nss_db/db-netgrp.c: Likewise.
10851         * nss/nss_db/db-initgroups.c: Likewise.
10852         * io/fchmodat.c: Include <sys/stat.h>.
10853
10854         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10855         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10856
10857         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10858         [HAVE_MMAP].
10859
10860         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10861         Add multiple inclusion protection.
10862
10863 2012-07-27  David S. Miller  <davem@davemloft.net>
10864
10865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10866
10867 2012-07-27  Gary Benson  <gbenson@redhat.com>
10868
10869         [BZ #14298]
10870         * elf/rtld.c: Include <stap-probe.h>.
10871         (dl_main): Added static probes "init_start" and "init_complete".
10872         * elf/dl-load.c: Include <stap-probe.h>.
10873         (lose): Take new parameter "nsid".
10874         Added static probe "map_failed".
10875         (_dl_map_object_from_fd): Pass namespace id to lose.
10876         Added static probe "map_start".
10877         (open_verify): Pass namespace id to lose.
10878         * elf/dl-open.c: Include <stap-probe.h>.
10879         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10880         and "reloc_complete".
10881         * elf/dl-close.c: Include <stap-probe.h>.
10882         (_dl_close_worker): Added static probes "unmap_start" and
10883         "unmap_complete".
10884         * elf/rtld-debugger-interface.txt: New file documenting the above.
10885
10886 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10887
10888         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10889         rather than a string variable.
10890         * sunrpc/rpc_main.c (h_output): Likewise.
10891         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10892
10893 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10894
10895         * inet/check_native.c: New file.
10896
10897 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10898
10899         [BZ #13629]
10900         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10901         if larger part has absolute value 1.0.
10902         * math/s_clog10.c (__clog10): Likewise.
10903         * math/s_clog10f.c (__clog10f): Likewise.
10904         * math/s_clog10l.c (__clog10l): Likewise.
10905         * math/s_clogf.c (__clogf): Likewise.
10906         * math/s_clogl.c (__clogl): Likewise.
10907         * math/libm-test.inc (clog_test): Add more tests.
10908         (clog10_test): Likewise.
10909         * sysdeps/i386/fpu/libm-test-ulps: Update.
10910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
10912         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10913         (pltexit): Likewise.
10914         (La_regs): Likewise.
10915         (La_retval): Likewise.
10916         (int_retval): Likewise.
10917         Update #error for removed macros to refer only to definitions in
10918         tst-audit.h.
10919         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10920         macro.
10921         (pltexit): Likewise.
10922         (La_regs): Likewise.
10923         (La_retval): Likewise.
10924         (int_retval): Likewise.
10925         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10926         macro.
10927         (pltexit): Likewise.
10928         (La_regs): Likewise.
10929         (La_retval): Likewise.
10930         (int_retval): Likewise.
10931         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10932         macro.
10933         (pltexit): Likewise.
10934         (La_regs): Likewise.
10935         (La_retval): Likewise.
10936         (int_retval): Likewise.
10937         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10938         macro.
10939         (pltexit): Likewise.
10940         (La_regs): Likewise.
10941         (La_retval): Likewise.
10942         (int_retval): Likewise.
10943         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10944         macro.
10945         (pltexit): Likewise.
10946         (La_regs): Likewise.
10947         (La_retval): Likewise.
10948         (int_retval): Likewise.
10949         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10950         macro.
10951         (pltexit): Likewise.
10952         (La_regs): Likewise.
10953         (La_retval): Likewise.
10954         (int_retval): Likewise.
10955         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10956         macro definitions in tst-audit.h.
10957         * sysdeps/i386/tst-audit.h: New file.
10958         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10959         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10960         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10961         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10962         * sysdeps/sh/tst-audit.h: Likewise.
10963         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10964         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10965         * sysdeps/x86_64/tst-audit.h: Likewise.
10966
10967 2012-07-26  Andreas Jaeger  <aj@suse.de>
10968
10969         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10970         ptrace.
10971
10972         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10973         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10974         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10975         PTRACE_O_MASK.
10976         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10977         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10978         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10979
10980         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10981         value.
10982
10983         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10984         _sigsys.
10985         (si_call_addr, si_syscall, si_arch): Define new macro.
10986         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10987         _sigsys.
10988         (si_call_addr, si_syscall, si_arch): Define new marcro.
10989         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10990         _sigsys.
10991         (si_call_addr, si_syscall, si_arch): Define new macro.
10992         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10993         _sigsys.
10994         (si_call_addr, si_syscall, si_arch): Define new macro.
10995
10996 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10997
10998         [BZ #13717]
10999         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11000         Change to 2.4.21 where previously 2.4.1.
11001         * sysdeps/unix/sysv/linux/configure: Regenerated.
11002         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11003         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11004         Linux kernel version.
11005         (__ASSUME_STD_AUXV): Remove.
11006         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11007         kernel version.
11008         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11009         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11010         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11011         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11012         (__ASSUME_NETLINK_SUPPORT): Likewise.
11013         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11014         (__no_netlink_support): Remove conditional definition.
11015         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11016         Remove.
11017         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11018         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11019         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11020         (if_nameindex_ioctl): Remove.
11021         (if_nameindex_netlink): Do not handle __no_netlink_support.
11022         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11023         code.
11024         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11025         Remove conditional code.
11026         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11027         code.
11028         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11029         unconditional.
11030         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11031         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11032         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11033         Remove.
11034         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11035         [!__ASSUME_STD_AUXV]: Remove conditional code.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11037         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11038         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11040         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11041         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11042         code.
11043         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11045         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11046         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11047         conditional code.
11048         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11050         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11051         code.
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11053         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11054         conditional code.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11056         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11057         code unconditional.
11058         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11059         conditional code.
11060         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11061         unconditional.
11062         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11063         conditional code.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11065         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11066         unconditional.
11067         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11068         conditional code.
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11070         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11071         code unconditional.
11072         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11073         conditional code.
11074         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11075         unconditional.
11076         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11077         conditional code.
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11079         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11080         code unconditional.
11081         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11082         conditional code.
11083         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11084         unconditional.
11085         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11086         conditional code.
11087
11088 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
11089
11090         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11091         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11092         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11093         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11094         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11095         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11096         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11097         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11098         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11099         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11100         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11101         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11102         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11103         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11104         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11105         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11106         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11107         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11108         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11111         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11112         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11113
11114 2012-07-25  Florian Weimer  <fweimer@redhat.com>
11115
11116         * Versions.def: Add GLIBC_2.17.
11117         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11118         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11119         Introduce __libc_secure_getenv.
11120         * stdlib/Versions (2.17): Add secure_getenv
11121         (GLIBC_PRIVATE): Add __libc_secure_getenv.
11122         * stdlib/secure-getenv.c: Rename __secure_getenv to
11123         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
11124         symbol __secure_getenv for GLIBC_2.0.
11125         * stdlib/tst-secure-getenv.c: New.
11126         * stdlib/Makefile (tests): Add testcase.
11127         * manual/startup.texi (Environment Access): Document
11128         secure_getenv.
11129         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11130         __libc_secure_getenv.
11131         * inet/ruserpass.c (ruserpass): Likewise.
11132         * malloc/mtrace.c (mtrace): Likewise.
11133         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11134         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11135         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11136         * sysdeps/posix/tempname.c: Likewise.  Evaluate
11137         HAVE_SECURE_GETENV.
11138         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11139         __secure_getenv to __libc_secure_getenv.
11140         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11142         Likewise.
11143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11144         Likewise.
11145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11147         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11152
11153 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11154
11155         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11156         (struct La_i86_retval): Likewise.
11157         (struct La_x86_64_regs): Likewise.
11158         (struct La_x86_64_retval): Likewise.
11159         (struct La_x32_regs): Likewise.
11160         (struct La_x32_retval): Likewise.
11161         (struct La_ppc32_regs): Likewise.
11162         (struct La_ppc32_retval): Likewise.
11163         (struct La_ppc64_regs): Likewise.
11164         (struct La_ppc64_retval): Likewise.
11165         (struct La_sh_regs): Likewise.
11166         (struct La_sh_retval): Likewise.
11167         (struct La_s390_32_regs): Likewise.
11168         (struct La_s390_32_retval): Likewise.
11169         (struct La_s390_64_regs): Likewise.
11170         (struct La_s390_64_retval): Likewise.
11171         (struct La_sparc32_regs): Likewise.
11172         (struct La_sparc32_retval): Likewise.
11173         (struct La_sparc64_regs): Likewise.
11174         (struct La_sparc64_retval): Likewise.
11175         (struct audit_ifaces): Remove architecture-specific pltenter and
11176         pltexit members.
11177         * sysdeps/i386/ldsodefs.h: New file.
11178         * sysdeps/powerpc/ldsodefs.h: Likewise.
11179         * sysdeps/s390/ldsodefs.h: Likewise.
11180         * sysdeps/sh/ldsodefs.h: Likewise.
11181         * sysdeps/sparc/ldsodefs.h: Likewise.
11182         * sysdeps/x86_64/ldsodefs.h: Likewise.
11183
11184 2012-07-25  Marek Polacek  <polacek@redhat.com>
11185
11186         [BZ #6808]
11187         * math/libm-test.inc (yn_test): Add another test.
11188         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11189         to ERANGE when the result is +-Inf.
11190         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11191         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11192         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11193         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11194
11195 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11196
11197         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11198         equal to 0.
11199         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11200         clock_t.
11201         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11202
11203 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11204
11205         * configure.in <sysdeps resolving>: Correct printing
11206         Implies_before.
11207         * configure: Regenerate.
11208
11209 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11210
11211         * math/w_ilogb.c: Include <limits.h>.
11212         * math/w_ilogbl.c: Likewise.
11213
11214 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11215
11216         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11217         va_copy.  Document allowing for unavailable va_copy only as
11218         pre-C99 compatibility.
11219         * manual/string.texi (Copying and Concatenation): Use va_copy
11220         instead of __va_copy in concat example.
11221
11222 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11223
11224         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11225         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11226         it if not null.
11227
11228         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11229         with O_NOLINK passed to __file_name_lookup.
11230
11231         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11232         with O_NOLINK passed to __file_name_lookup.
11233
11234         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11235         negative N or less than NGIDS.
11236
11237         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11238         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11239         enough.  Use memcpy instead of strncpy.
11240
11241 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11242
11243         * elf/Makefile (check-data): Remove.
11244         (localplt.data): New vpath directive.
11245         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11246         instead of $(check-data).
11247         * scripts/data/localplt-generic.data: Move to ...
11248         * sysdeps/generic/localplt.data: ... here.
11249         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11250         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11251         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11253         ... here.
11254         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11256         ... here.
11257         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11259         ... here.
11260         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11262         ... here.
11263         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11265         ... here.
11266         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11268         ... here.
11269
11270 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11271
11272         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11273         PPC32 and PPC64 files.
11274         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11275         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11276
11277 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11278
11279         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11280         __makecontext_ret to ...
11281         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11282         ... here and call exit if uc_link is NULL.  New file.
11283         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11284         __makecontext_ret.S.
11285         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11286         __makecontext_ret to ...
11287         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11288         ... here and call exit if uc_link is NULL.  New file.
11289         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11290         __makecontext_ret.S.
11291
11292 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11293
11294         * elf/elf.h (R_390_IRELATIVE): New definition.
11295         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11296         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11297         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11298         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11299         (elf_machine_lazy_rel): Likewise.
11300         * sysdeps/s390/dl-irel.h: New file.
11301         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11302         * sysdeps/s390/s390-64/memset.S: New asm code.
11303         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11304         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11305         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11306         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11307         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11308         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11310         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11311         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11312         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11313         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11314         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11315         * sysdeps/s390/s390-32/memset.S: New asm code.
11316         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11317
11318 2012-07-17  Marek Polacek  <polacek@redhat.com>
11319
11320         [BZ #14349]
11321         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11322         * sysdeps/s390/s390-64/configure.in: Likewise.
11323         * sysdeps/sparc/configure.in: Likewise.
11324         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11325         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11326         * sysdeps/i386/configure.in: Likewise.
11327         * sysdeps/x86_64/configure.in: Likewise.
11328         * sysdeps/sh/configure.in: Likewise.
11329         * sysdeps/s390/s390-32/configure: Regenerated.
11330         * sysdeps/s390/s390-64/configure: Likewise.
11331         * sysdeps/x86_64/configure: Likewise.
11332         * sysdeps/sh/configure: Likewise.
11333         * sysdeps/powerpc/powerpc64/configure: Likewise.
11334         * sysdeps/powerpc/powerpc32/configure: Likewise.
11335         * sysdeps/sparc/configure: Likwise.
11336         * sysdeps/i386/configure: Likewise.
11337
11338         * elf/dl-open.c: Comment fixes.
11339
11340 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11341
11342         * Makefile [CXX] (check-data): Remove.
11343         [CXX] (c++-types.data): New vpath directive.
11344         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11345         vpath.  Do not allow for C++ type data being missing.
11346         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11347         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11348         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11349         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11350         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11351         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11352         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11354         ... here.
11355         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11357         ... here.
11358         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11360         ... here.
11361         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11363         ... here.
11364         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11366         ... here.
11367         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11369         ... here.
11370         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11372         ... here.
11373         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11375
11376         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11377         definitions to architecture-specific files.
11378         (TLS_IE): Likewise.
11379         (TLS_LD): Likewise.
11380         (TLS_GD): Likewise.
11381         * sysdeps/i386/tls-macros.h: New file.
11382         * sysdeps/powerpc/tls-macros.h: Likewise.
11383         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11384         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11385         * sysdeps/sh/tls-macros.h: Likewise.
11386         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11387         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11388         * sysdeps/x86_64/tls-macros.h: Likewise.
11389
11390 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11391
11392         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11393         zero value for regular exit case.
11394
11395         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11396         (__start_context): Preserve zero value for regular exit case.
11397
11398 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11399             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11400
11401         * manual/setjmp.texi (setcontext): Clarify normal process
11402         termination when uc_link is the null pointer.
11403         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11404         exit call.
11405
11406 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11407
11408         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11409         preprocessor.  Test for each exception mask separately.
11410
11411 2012-07-16  Andreas Jaeger  <aj@suse.de>
11412
11413         * po/ru.po: Update from translation team.
11414
11415 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11416
11417         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11418         equal to 0.
11419         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11420         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11421         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11422         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11424
11425 2012-07-13  Andreas Jaeger  <aj@suse.de>
11426
11427         * po/fr.po: Update from translation team.
11428
11429 2012-07-12  Marek Polacek  <polacek@redhat.com>
11430
11431         [BZ #14173]
11432         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11433         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11434         loop condition.
11435
11436 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11437
11438         [BZ #13717]
11439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11440         Change to 2.4.1 where previously 2.4.0.
11441         * sysdeps/unix/sysv/linux/configure: Regenerated.
11442         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11443         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11444         version.
11445         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11446         (__ASSUME_AT_CLKTCK): Remove.
11447         (__ASSUME_AT_PAGESIZE): Likewise.
11448         (__ASSUME_AT_XID): Likewise.
11449         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11450         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11451         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11452         unconditionally.
11453         (HAVE_AUX_PAGESIZE): Likewise.
11454         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11455         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11456         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11457
11458 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11459
11460         [BZ #14307]
11461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11462         the temporary buffer used to invoke __gethostbyname2_r,
11463         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11464         host_data / struct gaih_addrtuple.
11465         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11466         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11467         header file nss/nsswitch.h.
11468         * nss/nsswitch.h (global scope): Add definition of implementation
11469         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11470         resolv/nss_dns/dns-host.c).
11471
11472 2012-07-11  Andreas Jaeger  <aj@suse.de>
11473
11474         * po/fr.po: Update from translation team.
11475
11476         * po/sv.po: Update from translation team
11477         * po/fr.po: Another update from translation team.
11478
11479 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11480
11481         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11482         for subnormals or multiply small sinh result by itself.
11483         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11485
11486 2012-07-11  David S. Miller  <davem@davemloft.net>
11487
11488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11489
11490 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11491
11492         [BZ #14347]
11493         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11494         (INTERNAL_MARK): Shift it here.
11495
11496 2012-07-10  Marek Polacek  <polacek@redhat.com>
11497
11498         [BZ #14151]
11499         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11500         libc_cv_asm_global_directive with .globl.
11501         * configure: Regenerated.
11502         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11503         with .globl.
11504         * sysdeps/i386/configure: Regenerated.
11505         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11506         with .globl.
11507         * sysdeps/x86_64/configure: Regenerated.
11508         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11509         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11510         * elf/tst-unique2mod2.c: Likewise.
11511         * elf/tst-unique2mod1.c: Likewise.
11512         * elf/tst-unique1mod2.c: Likewise.
11513         * elf/tst-unique1mod1.c: Likewise.
11514         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11515         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11516         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11517         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11518         * sysdeps/mach/sysdep.h: Likewise.
11519         * sysdeps/i386/sysdep.h: Likewise.
11520         * sysdeps/i386/i386-mcount.S: Likewise.
11521         * sysdeps/x86_64/_mcount.S: Likewise.
11522         * sysdeps/x86_64/sysdep.h: Likewise.
11523         * sysdeps/sh/_mcount.S: Likewise.
11524         * sysdeps/sh/sysdep.h: Likewise.
11525         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11526         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11527         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11528         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11529         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11530         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11531         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11532         * locale/localeinfo.h: Likewise.
11533         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11534         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11535
11536 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11537
11538         [BZ #14336]
11539         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11540         system".
11541         * manual/message.texi (The Uniforum approach): Likewise.
11542         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11543         (glibc iconv Implementation): Likewise.
11544
11545 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11546
11547         [BZ #14337]
11548         * math/s_clog.c (__clog): Avoid scaling a value down where that
11549         could result in underflow.
11550         * math/s_clog10.c (__clog10): Likewise.
11551         * math/s_clog10f.c (__clog10f): Likewise.
11552         * math/s_clog10l.c (__clog10l): Likewise.
11553         * math/s_clogf.c (__clogf): Likewise.
11554         * math/s_clogl.c (__clogl): Likewise.
11555         * math/libm-test.inc (clog_test): Add more tests.
11556         (clog10_test): Likewise.
11557         * sysdeps/i386/fpu/libm-test-ulps: Update.
11558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11559
11560 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11561
11562         [BZ #14283]
11563         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11564         by 7 not 8 to examine high bit of fractional part.
11565
11566         [BZ #14042]
11567         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11568         for call to __mcount_internal.
11569         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11570         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11571         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11572
11573 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11574
11575         [BZ #14154]
11576         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11577         approximation for values within 0x1p-13f of an odd multiple of
11578         pi/4.
11579         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11580         exception.  Add more tests.
11581         * sysdeps/i386/fpu/libm-test-ulps: Update.
11582
11583         [BZ #6778]
11584         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11585         inputs and return -1 for them.  Do not check for +Inf in case not
11586         reachable for +Inf.
11587         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11588         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11589         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11590         and return -1 for them.  Do not check for +Inf in case not
11591         reachable for +Inf.
11592         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11593         define.
11594         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11595         and return -1 for them.  Do not check for +Inf in case not
11596         reachable for +Inf.
11597         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11598         spurious underflow.
11599         * sysdeps/i386/fpu/libm-test-ulps: Update.
11600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11601
11602 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11603
11604         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11605
11606 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11607
11608         [BZ #14157]
11609         [BZ #14331]
11610         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11611         could result in spurious underflow.  Scale down values above
11612         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11613         * math/s_csqrtf.c (__csqrtf): Likewise.
11614         * math/s_csqrtl.c (__csqrtl): Likewise.
11615         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11616         spurious underflow.
11617         * sysdeps/i386/fpu/libm-test-ulps: Update.
11618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11619
11620 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11621
11622         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11623         xopen-msg.sed.
11624         * catgets/xopen-msg.awk: New file.
11625         * catgets/xopen-msg.sed: Removed.
11626
11627         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11628         po2text.sed.
11629         * intl/po2test.awk: New file.
11630         * intl/po2test.sed: Removed.
11631
11632 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11633
11634         [BZ #14328]
11635         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11636         or multiply small sinh result by itself.
11637         * math/s_ctanf.c (__ctanf): Likewise.
11638         * math/s_ctanh.c (__ctanh): Likewise.
11639         * math/s_ctanhf.c (__ctanhf): Likewise.
11640         * math/s_ctanhl.c (__ctanhl): Likewise.
11641         * math/s_ctanl.c (__ctanl): Likewise.
11642         * math/libm-test.inc (ctan_test_tonearest): New function.
11643         (ctan_test_towardzero): Likewise.
11644         (ctan_test_downward): Likewise.
11645         (ctan_test_upward): Likewise.
11646         (ctanh_test_tonearest): Likewise.
11647         (ctanh_test_towardzero): Likewise.
11648         (ctanh_test_downward): Likewise.
11649         (ctanh_test_upward): Likewise.
11650         (main): Call these new functions.
11651         * sysdeps/i386/fpu/libm-test-ulps: Update.
11652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11653
11654 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11655
11656         * .gitignore: Delete /ports entry.
11657
11658 2012-07-03  Andreas Jaeger  <aj@suse.de>
11659
11660         * po/bg.po: Update from translation team.
11661         * po/cs.po: Likewise.
11662         * po/de.po: Likewise.
11663         * po/hr.po: Likewise.
11664         * po/nl.pl: Likewise.
11665         * po/pl.po: Likewise.
11666         * po/vi.po: Likewise.
11667
11668 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11669
11670         * Makeconfig [!+link] (+link-before-libc): New variable.
11671         [!+link] (+link-after-libc): Likewise.
11672         [!+link] (+link-tests): Likewise.
11673         [!+link] (+link): Define in terms of $(+link-before-libc) and
11674         $(+link-after-libc).
11675         [!+link-static] (+link-static-before-libc): New variable.
11676         [!+link-static] (+link-static-after-libc): Likewise.
11677         [!+link-static] (+link-static-tests): Likewise.
11678         [!+link-static] (+link-static): Define in terms of
11679         $(+link-static-before-libc) and $(+link-static-after-libc).
11680         [build-shared] (link-libc-before-gnulib): New variable.
11681         [build-shared] (link-libc-tests): Likewise.
11682         [build-shared] (link-libc): Define in terms of
11683         $(link-libc-before-gnulib).
11684         [!build-shared] (link-libc-tests): New variable.
11685         (link-libc-static-tests): New variable.
11686         [!gnulib] (gnulib-arch): New variable.
11687         [!gnulib] (gnulib-tests): Likewise.
11688         [!gnulib] (static-gnulib-arch): Likewise.
11689         [!gnulib] (static-gnulib-tests): Likewise.
11690         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11691         Define with "=" instead of ":=".
11692         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11693         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11694         * Rules (binaries-all-notests): New variable.
11695         (binaries-all-tests): Likewise.
11696         (binaries-static-notests): Likewise.
11697         (binaries-static-tests): Likewise.
11698         (binaries-all): Define using $(binaries-all-notests) and
11699         $(binaries-all-tests).
11700         (binaries-static): Define using $(binaries-static-notests) and
11701         $(binaries-static-tests).
11702         (binaries-shared-tests): New variable.
11703         (binaries-shared-notests): Likewise.
11704         (binaries-shared): Remove variable.
11705         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11706         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11707         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11708         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11709         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11710         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11711         * elf/Makefile (sln-modules): New variable.
11712         (extra-objs): Add $(sln-modules:=.o).
11713         (ldconfig-modules): Add static-stubs.
11714         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11715         * elf/static-stubs.c: New file.
11716
11717         [BZ #14283]
11718         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11719         by 7 not 8 to examine high bit of fractional part.  Use volatile
11720         variables when splitting into final array of floats if
11721         __FLT_EVAL_METHOD__ != 0.
11722         * math/libm-test.inc (cos_test): Add another test.
11723         (sin_test): Likewise.
11724         * sysdeps/i386/fpu/libm-test-ulps: Update.
11725
11726         [BZ #14273]
11727         * math/libm-test.inc (cosh_test): Add more tests.
11728
11729         * version.h (RELEASE): Set to "development".
11730         (VERSION): Set to "2.16.90".
11731
11732 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11733
11734         * NEWS: Update copyright. Remove last-updated date.
11735         Mention math library bug fixes and timezone data changes.
11736         * README: Mention GNU/Hurd, x32, and HPPA support status.
11737
11738 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11739
11740         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11741
11742 2012-06-27  Andreas Jaeger  <aj@suse.de>
11743
11744         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11745
11746 2012-06-25  Andreas Jaeger  <aj@suse.de>
11747
11748         * sysdeps/s390/fpu/libm-test-ulps: Update.
11749
11750 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11751             Thomas Schwinge  <thomas@codesourcery.com>
11752
11753         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11754         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11755         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11756         fanotify_mark.
11757
11758 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11759
11760         * sysdeps/mach/start.c: Remove file.
11761         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11762         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11763         * sysdeps/sh/init-first.c: Likewise.
11764
11765         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11766         registers for frame unwinding purposes, add CFI directives.
11767         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11768         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11769         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11770         Likewise.
11771
11772         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11773         __fortify_fail returning.
11774         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11775
11776         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11777         sysdeps/sh/____longjmp_chk.S.
11778         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11779         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11780         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11781         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11782
11783         * sysdeps/sh/abort-instr.h: New file.
11784         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11785         process in case exit returns.
11786
11787         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11788         initialize the GOT register before use.
11789
11790         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11791         calculation of ARGC > 4.
11792
11793         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11794         meaningful names to some local labels.
11795
11796 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11797             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11798
11799         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11800         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11801         (__arch_compare_and_exchange_val_16_acq): Likewise.
11802         (__arch_compare_and_exchange_val_32_acq): Likewise.
11803         (atomic_exchange_and_add): Fix gUSA sequence.
11804         (atomic_add): Likewise.
11805         (atomic_add_negative): Likewise.
11806         (atomic_add_zero): Likewise.
11807         (atomic_bit_test_set): Likewise.
11808
11809 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11810
11811         [BZ #13579]
11812         * include/link.h (struct link_map): Add l_free_initfini.
11813         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11814         l_initfini.
11815         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11816         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11817         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11818         set.
11819
11820 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11821
11822         * configure.in: Use AC_LANG_SOURCE.
11823         * configure: Regenerate.
11824
11825 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11826
11827         * configure.in (libc_cv_localstatedir): New substituted variable.
11828         * configure: Regenerated.
11829         * config.make.in (localstatedir): New variable, substituted from
11830         libc_cv_localstatedir.
11831         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11832         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11833         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11834         * sysdeps/gnu/configure: Regenerated.
11835
11836 2012-06-21  Jeff Law  <law@redhat.com>
11837
11838         [BZ #14277]
11839         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11840         free.  Simplify list management for _LIBC case.
11841
11842 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11843
11844         [BZ #14273]
11845         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11846         Clear sign bit of 64-bit integer value before comparing against
11847         overflow value.
11848
11849         * sysdeps/mach/configure: Regenerated.
11850
11851 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11852
11853         [BZ #14278]
11854         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11855
11856 2012-06-21  Jeff Law  <law@redhat.com>
11857
11858         [BZ #13882]
11859         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11860         uint16_t for elements in the "seen" array to avoid char overflows.
11861         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11862         * elf/dl-open.c (dl_open_worker): Likewise.
11863
11864 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11865
11866         * scripts/list-sources.sh: Scan PORTS for translations.
11867         * po/libc.pot: Regenerated.
11868
11869 2012-06-21  Andreas Jaeger  <aj@suse.de>
11870
11871         [BZ #12194]
11872         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11873         warning.
11874         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11875         * bits/byteswap-16.h (__bswap_16): Likewise.
11876         * bits/byteswap.h (__bswap_constant_16): Likewise.
11877
11878 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11879
11880         [BZ #14117]
11881         * sysdeps/i386/fpu_control.h: Removed.
11882         * sysdeps/x86_64/fpu_control.h: Moved to ...
11883         * sysdeps/x86/fpu_control.h: Here.
11884
11885         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11886         (_FPU_SETCW): Likewise.
11887
11888 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11889
11890         [BZ #14117]
11891         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11892         * sysdeps/x86/fpu/bits/mathinline.h: This.
11893         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11894
11895         [BZ #14050]
11896         [BZ #14117]
11897         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11898         functions if __x86_64__ is defined.
11899
11900 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11901
11902         * string/endian.h: Add !__ASSEMBLER__ condition for including
11903         conversion interfaces.
11904
11905 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11906
11907         [BZ #14241]
11908         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11909         of ABS(x) in calculating zero to negative powers other than odd
11910         integers.
11911         * math/libm-test.inc (pow_test): Add more tests.
11912
11913 2012-06-15  Andreas Jaeger  <aj@suse.de>
11914
11915         * manual/contrib.texi (Contributors): Update entry of Liubov
11916         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11917         Machado Filho.
11918
11919 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11920
11921         * string/string.h: Add __wur to GNU version of strerror_r.
11922
11923 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11924
11925         [BZ #14229]
11926         * string/Makefile (tests): Add tst-strtok_r.
11927         * string/tst-strtok_r.c: New file.
11928         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11929         RAX_LP/RDX_LP on SAVE_PTR.
11930
11931 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11932
11933         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11934
11935 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11936
11937         * libm_test.inc (csqrt_test): Allow more spurious underflow
11938         exceptions.
11939         (j0_test): Likewise.
11940         (j1_test): Likewise.
11941         (y0_test): Likewise.
11942         (y1_test): Likewise.
11943
11944 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11945
11946         * po/Makefile (libc.pot): Use UTF-8 charset.
11947
11948 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11949
11950         [BZ #14210]
11951         Suppress sign-conversion warning from FD_SET.
11952         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11953         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11954         not unsigned long int.
11955         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11956
11957 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11958
11959         [BZ #14050]
11960         [BZ #14117]
11961         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11962         __extern_always_inline instead of __extern_inline.
11963         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11964         (__signbit): Likewise.
11965         (__signbitl): Support C++ namespace.
11966         (lrintf): New inline function.
11967         (lrint): Likewise.
11968         (llrintf): Likewise.
11969         (llrint): Likewise.
11970         (fmaxf): Likewise.
11971         (fmax): Likewise.
11972         (fminf): Likewise.
11973         (fmin): Likewise.
11974         (rint): Likewise.
11975         (rintf): Likewise.
11976         (ceil): Likewise.
11977         (ceilf): Likewise.
11978         (floor): Likewise.
11979         (floorf): Likewise.
11980         (nearbyint): Likewise.
11981         (nearbyintf): Likewise.
11982
11983 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11984
11985         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11986         non-default versions.
11987
11988 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11989
11990         [BZ #14218]
11991         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11992
11993 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11994
11995         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11996         (FE_UPWARD, FE_DOWNWARD): Don't define.
11997         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11998         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11999
12000         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12001         reading it.
12002         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12003         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12004
12005 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12006
12007         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12008         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12009         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12010         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12011
12012 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12013
12014         [BZ #14117]
12015         * sysdeps/i386/fpu/bits/fenv.h: Removed.
12016         * sysdeps/i386/fpu/Implies: New file.
12017         * sysdeps/x86_64/fpu/Implies: Likewise.
12018         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12019         * sysdeps/x86/fpu/bits/fenv.h: This.
12020
12021         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12022         __SSE_MATH__.
12023
12024 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12025
12026         [BZ #14134]
12027         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12028         character 0xffff that matches the last element of the
12029         conversion table.
12030
12031 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12032
12033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12034         fmodl commit.
12035
12036 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12037
12038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12039         values higher than 25.6283.
12040
12041 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12042
12043         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12044         subnormal exponent extraction and add some __builtin_expect.
12045         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12046         Fix for subnormal mantissa calculation.
12047
12048 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
12049
12050         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12051         cpu2 is -1 and errno is not ENOSYS.
12052
12053 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
12054
12055         [BZ #14117]
12056         * sysdeps/i386/i486/bits/string.h: Renamed to ...
12057         * sysdeps/x86/bits/string.h: This.
12058         * sysdeps/x86_64/bits/string.h: Removed.
12059
12060         * sysdeps/i386/i486/bits/string.h: Define inline functions only
12061         if not compiling for x86-64, but compiling for >= i486.
12062
12063         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12064         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12065
12066         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12067         New macro from Linux kernel 3.4.0.
12068         (FP_XSTATE_MAGIC2): Likewise.
12069         (FP_XSTATE_MAGIC2_SIZE): Likewise.
12070         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12071         (struct _fpx_sw_bytes): New struct.
12072         (struct _xsave_hdr): Likewise.
12073         (struct _ymmh_state): Likewise.
12074         (struct _xstate): Likewise.
12075
12076         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12077         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12078         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12079         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12080         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12081         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12082
12083         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12084         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12085         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12086         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12087         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12088         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12089
12090 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12091
12092         [BZ #13743]
12093         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12094         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12095         (sysdep_headers): Include sys/platform/ppc.h.
12096         * sysdeps/powerpc/test-gettimebase.c: Test for
12097         __ppc_get_timebase() to catch future ISA opcode/insn changes.
12098         * manual/Makefile (appendices): Include platform.texi.
12099         * manual/contrib.texi (Contributors): Update @node pointers.
12100         * manual/maint.texi (Maintenance): Likewise.
12101         (Platform): New node.
12102         * manual/platform.texi: New file.  Document the new features.
12103
12104 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12105             Jakub Jelinek  <jakub@redhat.com>
12106
12107         [BZ #14188]
12108         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12109         where __builtin_expect is unavailable.
12110
12111 2012-06-03  David S. Miller  <davem@davemloft.net>
12112
12113         * stdlib/longlong.h: Updated from GCC.
12114
12115 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
12116
12117         [BZ #14042]
12118         * sysdeps/powerpc/powerpc32/mcount.c: New file.
12119         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12120         __mcount_internal.
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12122         (GLIBC_2.16): Likewise.
12123
12124 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12125
12126         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12127
12128 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12129
12130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12131         (default-abi): New variable.
12132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12133         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12134         variable.
12135         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12140         Likewise.
12141
12142         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12143         definition.  Document in comment.
12144
12145 2012-06-01  David S. Miller  <davem@davemloft.net>
12146
12147         * stdlib/longlong.h: Updated from GCC.
12148
12149 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12150
12151         [BZ #14117]
12152         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12153         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12154         sys/debugreg.h sys/io.h here.
12155         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12156         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12157         sys/io.h.
12158         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12159         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12160         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12161         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12162         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12163         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12164
12165         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12166         Define only if __x86_64__ is defined.
12167
12168 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12169
12170         [BZ #14048]
12171         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12172         Use int64_t for variable i.
12173         * math/libm-test.inc (fmod_test): Add more tests.
12174
12175         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12176         z computation is not scheduled after fetestexcept.
12177         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12178         Use math_force_eval instead of asm to ensure calculation scheduled
12179         before exception test.
12180         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12181         Ensure a1 + u.d computation is not scheduled after fetestexcept.
12182
12183 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
12184
12185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12186         computation is not scheduled after fetestexcept.
12187
12188 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12189
12190         [BZ #14117]
12191         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12192         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12193
12194 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12195
12196         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12197         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12198
12199 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12200
12201         [BZ #14117]
12202         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12203         <bits/wordsize.h>.
12204         (__WCHAR_MIN): Support __WORDSIZE == 64.
12205         (__WCHAR_MAX): Likewise.
12206
12207         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12208         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12209
12210         [BZ #14183]
12211         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12212         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12213
12214         [BZ #14117]
12215         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12216         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12217
12218         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12219         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12220
12221         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12222         Defined to 1 if __x86_64__ isn't defined.
12223         (_STAT_VER_LINUX_OLD): New.
12224         (st_atime): Remove duplicate.
12225         (st_mtime): Likewise.
12226         (st_ctime): Likewise.
12227
12228 2012-05-31  David S. Miller  <davem@davemloft.net>
12229
12230         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12231         entries.
12232
12233 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12234
12235         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12236         gen-libm-test.pl.
12237
12238         [BZ #14132]
12239         * elf/dl-reloc.c: Include <_itoa.h>.
12240         (_dl_reloc_bad_type): Remove use of INTUSE.
12241         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12242         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12243         * stdio-common/psiginfo.c (psiginfo): Likewise.
12244         * stdio-common/psignal.c (psignal): Likewise.
12245         * string/strsignal.c (strsignal): Likewise.
12246         * include/signal.h (_sys_siglist): Declare hidden proto.
12247         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12248         INTVARDEF with libc_hidden_data_def.
12249         * stdio-common/itoa-udigits.c: Likewise.
12250         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12251         (_itoa_lower_digits_internal): Remove declaration.
12252         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12253         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12254         (_sys_sigabbrev_internal): Remove aliases.
12255         (_sys_siglist): Define hidden alias.
12256
12257 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12258
12259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12260         bits/sysctl.h.
12261
12262 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12263
12264         [BZ #14117]
12265         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12266         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12267
12268         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12269         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12270         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12271         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12272         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12273         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12274
12275         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12276         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12277         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12278
12279         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12280         with __addr.
12281         (insw): Likewise.
12282         (insl): Likewise.
12283         (outsb): Likewise.
12284         (outsw): Likewise.
12285         (outsl): Likewise.
12286
12287         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12288         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12289         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12290
12291         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12292         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12293         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12294         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12295         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12296         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12297
12298         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12299         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12300
12301         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12302         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12303
12304         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12306         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12307
12308         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12309         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12310         to ...
12311         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12312
12313         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12314         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12315         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12316
12317         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12318         for x86-64.
12319         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12320
12321 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12322
12323         * math/math.h (M_El): Use two more decimal places.
12324         (M_LOG2El): Likewise.
12325         (M_LOG10El): Likewise.
12326         (M_LN2l): Likewise.
12327         (M_LN10l): Likewise.
12328         (M_PIl): Likewise.
12329         (M_PI_2l): Likewise.
12330         (M_PI_4l): Likewise.
12331         (M_1_PIl): Likewise.
12332         (M_2_PIl): Likewise.
12333         (M_2_SQRTPIl): Likewise.
12334         (M_SQRT2l): Likewise.
12335         (M_SQRT1_2l): Likewise.
12336
12337 2012-05-31  David S. Miller  <davem@davemloft.net>
12338
12339         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12340         values between float registers.
12341         * sysdeps/sparc/sparc64/memset.S: Likewise.
12342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12343
12344 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12345
12346         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12347         -D_FORTIFY_SOURCE=1.
12348         (CPPFLAGS-tst-longjmp_chk.c): Define.
12349         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12350         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12351         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12352         CFLAGS-tst-wchar-h.c.
12353
12354 2012-05-31  Marek Polacek  <polacek@redhat.com>
12355
12356         [BZ #14132]
12357         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12358         __endmntent_internal): Remove declaration.
12359         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12360         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12361         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12362
12363 2012-05-30  David S. Miller  <davem@davemloft.net>
12364
12365         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12366         (___Q_simulate_exceptions): Use real FP ops rather than writing
12367         into the %fsr.
12368         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12369         Likewise.
12370
12371 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12372
12373         [BZ #14117]
12374         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12375         * sysdeps/x86/bits/xtitypes.h: This.
12376
12377         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12378         * sysdeps/x86/bits/wordsize.h: This.
12379
12380         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12381         * sysdeps/x86/bits/huge_vall.h: This.
12382
12383         * sysdeps/i386/bits/select.h: Removed.
12384         * sysdeps/x86_64/bits/select.h: Renamed to ...
12385         * sysdeps/x86/bits/select.h: This.
12386
12387         * sysdeps/i386/bits/setjmp.h: Removed.
12388         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12389         * sysdeps/x86/bits/setjmp.h: This.
12390
12391         * sysdeps/i386/bits/mathdef.h: Removed.
12392         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12393         * sysdeps/x86/bits/mathdef.h: This.
12394
12395 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12396
12397         [BZ #14132]
12398         * include/sys/socket.h (__connect_internal)
12399         (__libc_sa_len_internal): Remove declaration.
12400         (__connect, __libc_sa_len): Declare hidden_proto.
12401         (SA_LEN): Remove use of INTUSE.
12402         * socket/connect.c: Add libc_hidden_def.
12403         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12404         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12405         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12406         alias.
12407         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12408         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12409         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12410         of adding _internal alias.
12411
12412 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12413
12414         [BZ #14117]
12415         * sysdeps/i386/bits/link.h: Removed.
12416         * sysdeps/i386/bits/linkmap.h: Likewise.
12417         * sysdeps/x86_64/bits/link.h: Renamed to ...
12418         * sysdeps/x86/bits/link.h: This.
12419         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12420         * sysdeps/x86/bits/linkmap.h: This.
12421
12422         * sysdeps/i386/bits/endian.h: Removed.
12423         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12424         * sysdeps/x86/bits/endian.h: This.
12425
12426         * sysdeps/i386/bits/byteswap.h: Removed.
12427         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12428         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12429         * sysdeps/x86/bits/byteswap.h: This.
12430         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12431         * sysdeps/x86/bits/byteswap-16.h: This.
12432         * sysdeps/i386/Implies: Add x86.
12433         * sysdeps/x86_64/Implies: Likewise.
12434
12435 2012-05-30  David S. Miller  <davem@davemloft.net>
12436
12437         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12438         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12439         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12440         (FP_TRAPPING_EXCEPTIONS): Define.
12441         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12442         (FP_TRAPPING_EXCEPTIONS): Define.
12443         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12444         subnormals only when inexact has been signalled or underflow
12445         exceptions are enabled.
12446         (_FP_PACK_CANONICAL): Likewise.
12447
12448 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12449
12450         [BZ #14183]
12451         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12452         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12453
12454 2012-05-30  Richard Henderson  <rth@twiddle.net>
12455
12456         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12457         with #ifndef NOT_IN_libc.
12458
12459         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12460         marked to avoid plt entry.
12461
12462 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12463
12464         [BZ #14112]
12465         * Makeconfig (default-abi): New macro.
12466         (abi-includes): Likewise.
12467         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12468         $(abi-$(default-abi)-lib-soname) for soname if defined.
12469         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12470         abi-variants.
12471         * Makefile (installed-stubs): Likewise.
12472         * include/stubs-biarch.h: Removed.
12473         * scripts/lib-names.awk: Only handle one library at a time.
12474         * scripts/soversions.awk: Remove WORDSIZE support.
12475         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12476         entries.
12477         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12478         Removed.
12479         (syscall-list-default-condition): Likewise.
12480         (syscall-list-default-condition): Likewise.
12481         (syscall-list-includes): Likewise.
12482         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12483         syscall-list-* with abi-*.  Handle undefined abi-variants.
12484         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12485         * sysdeps/unix/sysv/linux/i386/Implies: New file.
12486         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12487         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12488         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12489         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12490         Removed.
12491         (syscall-list-32-options): Likewise.
12492         (syscall-list-32-condition): Likewise.
12493         (syscall-list-64-options): Likewise.
12494         (syscall-list-64-condition): Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12496         macro.
12497         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12498         Renamed to ...
12499         (abi-*): This.
12500         (abi-64-ld-soname): New macro.
12501         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12502         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12503         Renamed to ...
12504         (abi-*): This.
12505         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12506         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12507
12508 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12509
12510         * sysdeps/unix/sysv/linux/kernel-features.h
12511         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12512         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12513         include <kernel-features.h>.
12514         [!__NR_ftruncate64]: Remove conditional code.
12515         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12516         [__NR_ftruncate64]: Make code unconditional.
12517         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12518         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12519         include <kernel-features.h>.
12520         [!__NR_ftruncate64]: Remove conditional code.
12521         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12522         [__NR_ftruncate64]: Make code unconditional.
12523         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12525         include <kernel-features.h>.
12526         [!__NR_ftruncate64]: Remove conditional code.
12527         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12528         [__NR_ftruncate64]: Make code unconditional.
12529         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12531         include <kernel-features.h>.
12532         [!__NR_ftruncate64]: Remove conditional code.
12533         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12534         [__NR_ftruncate64]: Make code unconditional.
12535         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12536
12537         * configure.in (libc_cv_fpie): Weaken to a compile test using
12538         LIBC_TRY_CC_OPTION.
12539         * configure: Regenerated.
12540
12541 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12542
12543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12547         Refreshed.
12548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12554         Refreshed.
12555
12556 2012-05-27  David S. Miller  <davem@davemloft.net>
12557
12558         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12559         (___Q_zero): New.
12560         (__Q_simulate_exceptions): Return void.  Change to simulate
12561         exceptions by writing into the %fsr.
12562         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12563         (__Qp_handle_exceptions): Likewise.
12564         (numbers): Delete.
12565         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12566         __Qp_handle_exceptions.
12567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12568         __Qp_handle_exceptions.
12569         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12570         as unused and give dummy FP_RND_NEAREST initializer.
12571         (FP_INHIBIT_RESULTS): Define.
12572         (___Q_simulate_exceptions): Update declaration.
12573         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12574         formatting.
12575         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12576         as unused and give dummy FP_RND_NEAREST initializer.
12577         (__Qp_handle_exceptions): Update declaration.
12578         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12579         formatting.
12580
12581 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12582
12583         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12584         the temporary FPU control word.
12585         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12586         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12587         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12588         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12589         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12590         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12591         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12592         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12593         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12594         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12595         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12596
12597 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12598
12599         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12600         fields.
12601
12602 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12603
12604         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12605         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12606         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12607         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12608         Likewise.
12609         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12610         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12611         Likewise.
12612
12613 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12614
12615         * po/h.po: Update from translation team.
12616
12617 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12618
12619         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12620
12621         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12622         handling of denormals.
12623         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12624         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12625         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12626         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12628         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12629         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12630         Likewise.
12631
12632 2012-05-26  Marek Polacek  <polacek@redhat.com>
12633
12634         [BZ #14152]
12635         * math/libm-test.inc (fma_test): Don't always expect underflow
12636         exception.
12637
12638 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12639
12640         [BZ #12416]
12641         * elf/tst-execstack.c: Include stackinfo.h.
12642         (do_test): Adjust test case to ensure that pthread_getattr_np
12643         behaviour remains the same after marking stack executable.
12644
12645 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12646
12647         * sysdeps/unix/sysv/linux/kernel-features.h
12648         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12649         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12650         kernel-features.h.
12651         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12652         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12653         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12654         kernel-features.h.
12655         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12656         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12657
12658 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12659
12660         * configure.in: Define the default includes to being none.
12661         * configure: Regenerated.
12662
12663 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12664
12665         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12666         * sysdeps/x86_64/setjmp.S: Likewise.
12667         * sysdeps/i386/bsd-setjmp.S: Likewise.
12668         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12669         * sysdeps/i386/setjmp.S: Likewise.
12670         * sysdeps/i386/__longjmp.S: Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12672         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12673
12674         * include/stap-probe.h: New file.
12675         * configure.in: Handle --enable-systemtap.
12676         * configure: Regenerated.
12677         * config.h.in (USE_STAP_PROBE): New #undef.
12678         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12679         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12680         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12681
12682 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12683
12684         [BZ #13717]
12685         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12686         to 2.4.0 where earlier.
12687         * sysdeps/unix/sysv/linux/configure: Regenerated.
12688         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12689         <kernel-features.h>.
12690         [__ASSUME_32BITUIDS]: Make code unconditional.
12691         [!__ASSUME_32BITUIDS]: Remove conditional code.
12692         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12693         <kernel-features.h>.
12694         [__ASSUME_32BITUIDS]: Make code unconditional.
12695         [!__ASSUME_32BITUIDS]: Remove conditional code.
12696         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12697         [__ASSUME_32BITUIDS]: Make code unconditional.
12698         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12699         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12700         <kernel-features.h>.
12701         [__ASSUME_32BITUIDS]: Make code unconditional.
12702         [!__ASSUME_32BITUIDS]: Remove conditional code.
12703         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12704         <kernel-features.h>.
12705         [__ASSUME_32BITUIDS]: Make code unconditional.
12706         [!__ASSUME_32BITUIDS]: Remove conditional code.
12707         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12708         <kernel-features.h>.
12709         [__ASSUME_32BITUIDS]: Make code unconditional.
12710         [!__ASSUME_32BITUIDS]: Remove conditional code.
12711         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12712         <kernel-features.h>.
12713         [__ASSUME_32BITUIDS]: Make code unconditional.
12714         [!__ASSUME_32BITUIDS]: Remove conditional code.
12715         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12716         <kernel-features.h>.
12717         [__ASSUME_32BITUIDS]: Make code unconditional.
12718         [!__ASSUME_32BITUIDS]: Remove conditional code.
12719         * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
12740         <kernel-features.h>.
12741         [__NR_setresgid] (__setresgid): Do not declare.
12742         [__ASSUME_32BITUIDS]: Make code unconditional.
12743         [!__ASSUME_32BITUIDS]: Remove conditional code.
12744         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12745         <kernel-features.h>.
12746         [__NR_setresuid] (__setresuid): Do not declare.
12747         [__ASSUME_32BITUIDS]: Make code unconditional.
12748         [!__ASSUME_32BITUIDS]: Remove conditional code.
12749         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12750         <kernel-features.h>.
12751         [__ASSUME_32BITUIDS]: Make code unconditional.
12752         [!__ASSUME_32BITUIDS]: Remove conditional code.
12753         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12754         <kernel-features.h>.
12755         [__ASSUME_32BITUIDS]: Make code unconditional.
12756         [!__ASSUME_32BITUIDS]: Remove conditional code.
12757         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12758         <kernel-features.h>.
12759         [__ASSUME_32BITUIDS]: Make code unconditional.
12760         [!__ASSUME_32BITUIDS]: Remove conditional code.
12761         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12762         <kernel-features.h>.
12763         [__ASSUME_32BITUIDS]: Make code unconditional.
12764         [!__ASSUME_32BITUIDS]: Remove conditional code.
12765         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12766         <kernel-features.h>.
12767         [__ASSUME_32BITUIDS]: Make code unconditional.
12768         [!__ASSUME_32BITUIDS]: Remove conditional code.
12769         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12770         <kernel-features.h>.
12771         [__ASSUME_32BITUIDS]: Make code unconditional.
12772         [!__ASSUME_32BITUIDS]: Remove conditional code.
12773         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12774         <kernel-features.h>.
12775         [__ASSUME_32BITUIDS]: Make code unconditional.
12776         [!__ASSUME_32BITUIDS]: Remove conditional code.
12777         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12778         <kernel-features.h>.
12779         [__ASSUME_32BITUIDS]: Make code unconditional.
12780         [!__ASSUME_32BITUIDS]: Remove conditional code.
12781         * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
12790         (__ASSUME_SETRESUID_SYSCALL): Remove.
12791         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12792         (__ASSUME_32BITUIDS): Likewise.
12793         (__ASSUME_LDT_WORKS): Likewise.
12794         (__ASSUME_O_DIRECTORY): Likewise.
12795         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12796         architecture but not kernel version.
12797         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12798         (__ASSUME_MMAP2_SYSCALL): Likewise.
12799         (__ASSUME_STAT64_SYSCALL): Likewise.
12800         (__ASSUME_IPC64): Likewise.
12801         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12802         <kernel-features.h>.
12803         [__ASSUME_32BITUIDS]: Make code unconditional.
12804         [!__ASSUME_32BITUIDS]: Remove conditional code.
12805         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12806         <kernel-features.h>.
12807         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12808         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12809         132096]: Remove conditional code.
12810         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12811         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12812         <kernel-features.h>.
12813         [__ASSUME_32BITUIDS]: Make code unconditional.
12814         [!__ASSUME_32BITUIDS]: Remove conditional code.
12815         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12816         <kernel-features.h>.
12817         [__ASSUME_32BITUIDS]: Make code unconditional.
12818         [!__ASSUME_32BITUIDS]: Remove conditional code.
12819         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12820         <kernel-features.h>.
12821         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12822         unconditional.
12823         (__setresgid): Do not declare.
12824         [__ASSUME_32BITUIDS]: Make code unconditional.
12825         [!__ASSUME_32BITUIDS]: Remove conditional code.
12826         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12827         <kernel-features.h>.
12828         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12829         unconditional.
12830         (__setresuid): Do not declare.
12831         [__ASSUME_32BITUIDS]: Make code unconditional.
12832         [!__ASSUME_32BITUIDS]: Remove conditional code.
12833         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12834         <kernel-features.h>.
12835         [__ASSUME_32BITUIDS]: Make code unconditional.
12836         [!__ASSUME_32BITUIDS]: Remove conditional code.
12837         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12838         <kernel-features.h>.
12839         [__ASSUME_32BITUIDS]: Make code unconditional.
12840         [!__ASSUME_32BITUIDS]: Remove conditional code.
12841
12842 2012-05-25  Richard Henderson  <rth@twiddle.net>
12843
12844         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12845         dl_hwcap to ifunc resolver.
12846         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12847         elf_ifunc_invoke.
12848         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12849         dl_hwcap to ifunc resolver.
12850         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12851
12852 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12853
12854         [BZ #14153]
12855         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12856         for |x| <= 2**-26, not 2**-57.
12857         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12858         exception.
12859
12860 2012-05-24  Jeff Law  <law@redhat.com>
12861
12862         * stdio-common/Makefile (tests): Add bug25.
12863         * stdio-common/bug25.c: New test.
12864
12865 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12866
12867         [BZ #13576]
12868         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12869         multiple of MALLOC_ALIGNMENT in size.
12870         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12871
12872 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12873
12874         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12875         Require >= 256.
12876         (FILENAME_MAX): Use macro-int-constant.
12877         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12878         (_IOFBF): Use macro-int-constant.
12879         (_IOLBF): Likewise.
12880         (_IONBF): Likewise.
12881         (SEEK_CUR): Likewise.
12882         (SEEK_END): Likewise.
12883         (SEEK_SET): Likewise.
12884         (TMP_MAX): Likewise.
12885         (EOF): Use macro-int-constant.  Require < 0.
12886         (NULL): Use macro-constant.  Require == 0.
12887         (stdin): Require type to be FILE *.
12888         (stdout): Likewise.
12889         (stderr): Likewise.
12890         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12891         macro-int-constant.
12892         (EXIT_SUCCESS): Likewise.
12893         (NULL): Use macro-constant.  Require == 0.
12894         (RAND_MAX): Use macro-int-constant.
12895         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12896         [C99-based standards] (strtof): Require function.
12897         [C99-based standards] (strtold): Likewise.
12898         [C99-based standards] (strtoll): Likewise.
12899         [C99-based standards] (strtoull): Likewise.
12900         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12901         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12902         [ISO || ISO99 || ISO11] (math.h): Likewise.
12903         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12904         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12905         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12906
12907 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12908
12909         [BZ #14132]
12910         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12911         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12912         * intl/dgettext.c (DCGETTEXT): Likewise.
12913         * intl/gettext.c (DCGETTEXT): Likewise.
12914         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12915         * posix/regex_internal.h (gettext): Likewise.
12916         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12917         Remove declaration.
12918         * include/argz.h (__argz_count_internal)
12919         (__argz_stringify_internal): Remove declaration.
12920         (__argz_count, __argz_stringify): Declare hidden proto.
12921         * intl/dcgettext.c: Remove use of INTDEF.
12922         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12923         * string/argz-stringify.c: Likewise.
12924         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12925         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12926         Declare hidden proto.
12927         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12928         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12929         Declare hidden proto.
12930         * include/stdio.h (__asprintf_internal): Don't declare.
12931         (__asprintf): Don't define as macro.  Declare hidden proto.
12932         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12933         (__fsetlocking): Declare hidden proto.
12934         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12935         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12936         hidden proto.
12937         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12938         (_IO_setlinebuf): Remove use of INTUSE.
12939         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12940         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12941         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12942         Remove declaration.
12943         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12944         (_IO_do_flush): Remove use of INTUSE.
12945         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12946         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12947         (_IO_adjust_column, _IO_least_wmarker)
12948         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12949         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12950         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12951         (_IO_default_doallocate, _IO_wdefault_doallocate)
12952         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12953         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12954         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12955         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12956         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12957         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12958         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12959         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12960         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12961         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12962         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12963         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12964         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12965         proto.
12966         (_IO_flush_all_internal, _IO_adjust_column_internal)
12967         (_IO_default_uflow_internal, _IO_default_finish_internal)
12968         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12969         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12970         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12971         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12972         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12973         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12974         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12975         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12976         (_IO_file_close_internal, _IO_file_close_it_internal)
12977         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12978         (_IO_file_init_internal, _IO_file_attach_internal)
12979         (_IO_file_fopen_internal, _IO_file_read_internal)
12980         (_IO_file_sync_internal, _IO_file_seek_internal)
12981         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12982         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12983         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12984         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12985         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12986         (_IO_list_all_internal, _IO_link_in_internal)
12987         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12988         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12989         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12990         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12991         (_IO_do_write_internal, _IO_padn_internal)
12992         (_IO_getline_info_internal, _IO_getline_internal)
12993         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12994         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12995         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12996         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12997         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12998         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12999         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13000         with libc_hidden_ver, remove use of INTUSE.
13001         * libio/genops.c: Likewise.
13002         * libio/freopen.c: Likewise.
13003         * libio/freopen64.c: Likewise.
13004         * libio/iofclose.c: Likewise.
13005         * libio/iofdopen.c: Likewise.
13006         * libio/iofflush.c: Likewise.
13007         * libio/iofflush_u.c: Likewise.
13008         * libio/iofgets.c: Likewise.
13009         * libio/iofgets_u.c: Likewise.
13010         * libio/iofopen.c: Likewise.
13011         * libio/iofopncook.c: Likewise.
13012         * libio/iofread.c: Likewise.
13013         * libio/iofread_u.c: Likewise.
13014         * libio/ioftell.c: Likewise.
13015         * libio/iofwrite.c: Likewise.
13016         * libio/iogetline.c: Likewise.
13017         * libio/iogets.c: Likewise.
13018         * libio/iogetwline.c: Likewise.
13019         * libio/iopadn.c: Likewise.
13020         * libio/iopopen.c: Likewise.
13021         * libio/ioseekoff.c: Likewise.
13022         * libio/ioseekpos.c: Likewise.
13023         * libio/iosetbuffer.c: Likewise.
13024         * libio/iosetvbuf.c: Likewise.
13025         * libio/ioungetc.c: Likewise.
13026         * libio/ioungetwc.c: Likewise.
13027         * libio/iovdprintf.c: Likewise.
13028         * libio/iovsprintf.c: Likewise.
13029         * libio/iovsscanf.c: Likewise.
13030         * libio/memstream.c: Likewise.
13031         * libio/obprintf.c: Likewise.
13032         * libio/oldfileops.c: Likewise.
13033         * libio/oldiofclose.c: Likewise.
13034         * libio/oldiofdopen.c: Likewise.
13035         * libio/oldiofopen.c: Likewise.
13036         * libio/oldiopopen.c: Likewise.
13037         * libio/oldstdfiles.c: Likewise.
13038         * libio/putc.c: Likewise.
13039         * libio/setbuf.c: Likewise.
13040         * libio/setlinebuf.c: Likewise.
13041         * libio/stdfiles.c: Likewise.
13042         * libio/strops.c: Likewise.
13043         * libio/vasprintf.c: Likewise.
13044         * libio/vscanf.c: Likewise.
13045         * libio/vsnprintf.c: Likewise.
13046         * libio/vswprintf.c: Likewise.
13047         * libio/wfiledoalloc.c: Likewise.
13048         * libio/wfileops.c: Likewise.
13049         * libio/wgenops.c: Likewise.
13050         * libio/wmemstream.c: Likewise.
13051         * libio/wstrops.c: Likewise.
13052         * libio/__fpurge.c: Likewise.
13053         * libio/__fsetlocking.c: Likewise.
13054         * assert/assert.c: Likewise.
13055         * debug/fgets_chk.c: Likewise.
13056         * debug/fgets_u_chk.c: Likewise.
13057         * debug/fread_chk.c: Likewise.
13058         * debug/fread_u_chk.c: Likewise.
13059         * debug/gets_chk.c: Likewise.
13060         * debug/obprintf_chk.c: Likewise.
13061         * debug/vasprintf_chk.c: Likewise.
13062         * debug/vdprintf_chk.c: Likewise.
13063         * debug/vsnprintf_chk.c: Likewise.
13064         * debug/vsprintf_chk.c: Likewise.
13065         * malloc/mtrace.c: Likewise.
13066         * misc/error.c: Likewise.
13067         * misc/syslog.c: Likewise.
13068         * stdio-common/asprintf.c: Likewise.
13069         * stdio-common/fxprintf.c: Likewise.
13070         * stdio-common/getw.c: Likewise.
13071         * stdio-common/isoc99_fscanf.c: Likewise.
13072         * stdio-common/isoc99_scanf.c: Likewise.
13073         * stdio-common/isoc99_vfscanf.c: Likewise.
13074         * stdio-common/isoc99_vscanf.c: Likewise.
13075         * stdio-common/isoc99_vsscanf.c: Likewise.
13076         * stdio-common/printf-prs.c: Likewise.
13077         * stdio-common/printf_fp.c: Likewise.
13078         * stdio-common/printf_fphex.c: Likewise.
13079         * stdio-common/printf_size.c: Likewise.
13080         * stdio-common/putw.c: Likewise.
13081         * stdio-common/scanf.c: Likewise.
13082         * stdio-common/sprintf.c: Likewise.
13083         * stdio-common/tmpfile.c: Likewise.
13084         * stdio-common/vfprintf.c: Likewise.
13085         * stdio-common/vfscanf.c: Likewise.
13086         * stdlib/strfmon_l.c: Likewise.
13087         * sunrpc/openchild.c: Likewise.
13088         * sunrpc/xdr_stdio.c: Likewise.
13089         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13090         * sysdeps/mach/hurd/tmpfile.c: Likewise.
13091
13092 2012-05-24  Roland McGrath  <roland@hack.frob.com>
13093
13094         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13095
13096         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13097         in the third column, to generate for the shared library an IFUNC
13098         that uses _dl_vdso_vsym.
13099         * Makerules (COMPILE.c, compile-stdin.c): New variables.
13100         * Makeconfig (object-suffixes-noshared): New variable.
13101
13102         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13103         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13104         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13105         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13106
13107         [BZ #14132]
13108         * include/sys/time.h (__gettimeofday): Remove macro.
13109         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13110         * time/gettimeofday.c (__gettimeofday): Remove #undef.
13111         Remove INTDEF.
13112         (__gettimeofday): Add libc_hidden_def.
13113         (gettimeofday): Add libc_hidden_weak.
13114         * sysdeps/mach/gettimeofday.c: Likewise.
13115         * sysdeps/posix/gettimeofday.c: Likewise.
13116         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13117         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13119         (__gettimeofday_internal): Remove strong_alias.
13120         (__gettimeofday): Add libc_hidden_def.
13121         (gettimeofday): Add libc_hidden_weak.
13122         * sysdeps/unix/syscalls.list (gettimeofday):
13123         Remove __gettimeofday_internal alias.
13124
13125 2012-05-24  Daniel Jacobowitz  <drow@false.org>
13126             H.J. Lu  <hongjiu.lu@intel.com>
13127
13128         [BZ #12495]
13129         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13130         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13131         (largebin_index_32_big): New.
13132         (largebin_index): Use it for 16-byte alignment.
13133         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
13134         correction with front_misalign.
13135
13136 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13137
13138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13140         Likewise.
13141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13142         Likewise.
13143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13144         Likewise.
13145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13146         Likewise.
13147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13148         Likewise.
13149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13150         Likewise.
13151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13152         Likewise.
13153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13154         Likewise.
13155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13156         Likewise.
13157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13158         Likewise.
13159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13160         Likewise.
13161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13162         Likewise.
13163
13164         * scripts/data/c++-types-x32-linux-gnu.data: New file.
13165         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13166
13167 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13168
13169         [BZ #10846]
13170         [BZ #14036]
13171         * math/libm-test.inc (exp_test): Add test from bug 14036.
13172         (pow_test): Add test from bug 10846.
13173
13174         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13175         and other flags.
13176         (special_function): Do not include flags in test name.
13177         (parse_args): Likewise.
13178         * sysdeps/i386/fpu/libm-test-ulps: Update.
13179         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13180         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13181         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13183
13184         * math/gen-libm-test.pl (%beautify): Add entries for underflow
13185         exceptions.
13186         * math/libm-test.inc ("Philosophy"): Update comment about
13187         exception testing.
13188         (UNDERFLOW_EXCEPTION): New macro.
13189         (UNDERFLOW_EXCEPTION_OK): Likewise.
13190         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13191         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13192         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13193         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13194         (INVALID_EXCEPTION_OK): Update value.
13195         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13196         (OVERFLOW_EXCEPTION_OK): Likewise.
13197         (IGNORE_ZERO_INF_SIGN): Likewise.
13198         (test_exceptions): Handle underflow exceptions.
13199         (acos_test): Update for underflow exception expectations.
13200         (cexp_test): Likewise.
13201         (clog_test): Likewise.
13202         (clog10_test): Likewise.
13203         (csqrt_test): Likewise.
13204         (ctan_test): Likewise.
13205         (ctanh_test): Likewise.
13206         (exp_test): Likewise.
13207         (exp10_test): Likewise.
13208         (exp2_test): Likewise.
13209         (expm1_test): Likewise.
13210         (fma_test): Likewise.
13211         (j0_test): Likewise.
13212         (jn_test): Likewise.
13213         (nexttoward_test): Likewise.
13214         (pow_test): Likewise.
13215         (scalbn_test): Likewise.
13216         (scalbln_test): Likewise.
13217         (tan_test): Likewise.
13218         (y1_test): Likewise.
13219         * sysdeps/i386/fpu/libm-test-ulps: Update.
13220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13221
13222 2012-05-23  David S. Miller  <davem@davemloft.net>
13223
13224         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13225         (__libc_sigaction): Remove unused local variables.
13226
13227 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13228
13229         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13230
13231 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13232
13233         mktime: avoid signed integer overflow
13234         * time/mktime.c (__mktime_internal): Do not mishandle the case
13235         where diff == INT_MIN.
13236
13237         mktime: simplify computation of average
13238         * time/mktime.c (ranged_convert): Use new time_t_avg function
13239         instead of rolling our own (probably-slower) code.
13240
13241         mktime: do not assume signed right shift propagates sign bit
13242         * time/mktime.c (isdst_differ): New static function.
13243         (__mktime_internal): No need to normalize tm_isdst now.
13244         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13245         tm_isdst values.
13246
13247         mktime: merge another wrapv change from gnulib
13248         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13249         from some compilers.
13250
13251         mktime: remove incorrect attempt at unusual arithmetics
13252         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13253         The code didn't really work on such machines anyway.
13254         (TYPE_MINIMUM): Assume two's complement.
13255         (twos_complement_arithmetic): Verify that long_int and time_t
13256         are two's complement (or unsigned, in the latter case).
13257
13258         mktime: check signed shifts on long_int and time_t, too
13259         * time/mktime.c (SHR): Check that shifts work as desired
13260         on the types long_int and time_t too, as SHR is used on
13261         such types.
13262
13263         mktime: do not assume 'long' is wide enough
13264         * time/mktime.c (verify): Move decl up.
13265         (long_int): New type.
13266         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13267         to remove assumption in the code that 'long' is wide enough to
13268         store year values.  This assumption is not true on x32 and on
13269         some non-glibc platforms.
13270
13271         mktime: merge wrapv change from gnulib
13272         * time/mktime.c (WRAPV): New macro.
13273         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13274         (guess_time_tm, __mktime_internal): Do not assume that signed
13275         integer overflow wraps around; modern compilers generate code
13276         where this assumption is no longer valid.
13277
13278 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13279
13280         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13281         Replace "jmp L(pseudo_end)" with "ret".
13282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13283         Likewise.
13284
13285 2012-05-23  Andreas Jaeger  <aj@suse.de>
13286
13287         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13288         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13289
13290 2012-05-23  Andreas Jaeger  <aj@suse.de>
13291             Maximilian Attems  <max@stro.at>
13292
13293         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13294         New macros.
13295
13296 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13297
13298         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13299         code so that pseudo_end is just ret and the stack pointer is
13300         correct also for static library in error case.
13301
13302 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13303
13304         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13305         move to syscalls.list.
13306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13310
13311         * manual/install.texi (Running make install): Do not mention Linux
13312         kernel version for which pt_chown is not needed.
13313         (Linux): Do not mention problems with nscd with 2.0 kernels.
13314         * INSTALL: Regenerated.
13315
13316 2012-05-23  Andreas Jaeger  <aj@suse.de>
13317
13318         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13319         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13320         macro.
13321         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13322         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13323         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13324         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13325         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13326         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13327         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13328         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13329         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13330         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13331         * sysdeps/unix/sysv/linux/bits/in.h
13332         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13333
13334 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13335
13336         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13337         (PREPARE_VERSION): Just use assert instead, it will be elided
13338         under [NDEBUG] anyway.
13339
13340 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13341
13342         * sysdeps/unix/sysv/linux/Makefile: Include
13343         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13344         (sysdep_routines): Remove sysctl.
13345         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13346         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13347         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13348         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13349         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13350
13351 2012-05-22  Andreas Jaeger  <aj@suse.de>
13352
13353         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13354         that pseudo_end is just ret and the stack pointer is correct also
13355         for static library in error case.
13356
13357 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13358
13359         [BZ #14122]
13360         * nss/nsswitch.c (defconfig_entries): New variable.
13361         (__nss_database_lookup): Don't leak defconfig entries.
13362         (nss_parse_service_list): Don't leak on error paths.
13363         (free_database_entries): New function.
13364         (free_defconfig): New function.
13365         (free_mem): Move common code to free_database_entries.
13366
13367 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13368
13369         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13370         Add arch_prctl.
13371         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13372
13373         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13374         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13376         New macro.
13377         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13378         (INTERNAL_SYSCALL_TYPES): Likewise.
13379         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13380         (LOAD_REGS_TYPES_[1-6]): Likewise.
13381         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13382         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13383
13384 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13385
13386         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13387         copysignl for GLIBC_2_0.
13388         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13389         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13391         logbl for GLIBC_2_0.
13392         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13393         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13394
13395 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13396
13397         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13398         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13399
13400         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13401         Use "neg %eax".
13402
13403         * time/mktime.c: Update copyright years.
13404
13405 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13406
13407         mktime: merge comment-quoting-style change from gnulib
13408         * time/mktime.c: Quote 'like this' in comments.
13409         The GNU coding standards suggest that we no longer quote `like this',
13410         as "`" and "'" are typically rendered asymmetrically nowadays.
13411         The typical gnulib style is to quote 'like this' when quoting
13412         code, and "like this" when quoting English.
13413
13414         * time/mktime.c (compile-command): Add "-I.".
13415
13416         mktime: merge mktime-internal.h change from gnulib
13417         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13418
13419         mktime: merge time_r change from gnulib
13420         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13421
13422         mktime: merge DEBUG change from gnulib
13423         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13424         case system <time.h> has a #define.
13425
13426         mktime: merge <sys/types.h> change from gnulib
13427         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13428         since <time.t> is now guaranteed to define time_t.
13429
13430         mktime: merge HAVE_CONFIG_H change from gnulib
13431         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13432
13433 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13434
13435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13436         Use "neg %eax".
13437
13438         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13439         __rlim_t cast.
13440         (struct rusage): Use anonymous union to pad each field to
13441         __syscall_slong_t.
13442
13443 2012-05-21  David S. Miller  <davem@davemloft.net>
13444
13445         * Makefules (o-iterator): Remove .s cases.
13446         (compile-command.s): Delete.
13447         (COMPILE.s): Delete.
13448         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13449
13450 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13451
13452         * configure.in (libc_cv_predef_stack_protector): Only consider
13453         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13454         * configure: Regenerated.
13455
13456 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13457
13458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13459         New macro.  Use R*LP on int and pointer.
13460         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13461         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13462         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13463         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13464
13465         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13466         [__WORDSIZE_TIME64_COMPAT32] instead of
13467         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13468         (struct utmp): Likewise.
13469         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13470         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13471         Renamed to ...
13472         (__WORDSIZE_TIME64_COMPAT32): This.
13473         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13474         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13475         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13476         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13477         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13478         (__WORDSIZE_TIME64_COMPAT32): New macro.
13479
13480 2012-05-21  Andreas Jaeger  <aj@suse.de>
13481
13482         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13483         only if [SHARED]. Add prototype for __wcschr_ia32.
13484
13485 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13486
13487         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13488         of %rbp unmolested in the jmp_buf while mangling the low bits.
13489         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13490         unmolested high bits of %rbp while demangling the low bits.
13491         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13492
13493 2012-05-21  Andreas Jaeger  <aj@suse.de>
13494
13495         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13496         * sunrpc/svc_simple.c: Use it for registerrpc.
13497         * sunrpc/xcrypt.c: Use it for passwd2des.
13498
13499         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13500
13501 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13502
13503         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13504         Don't define if [__SYSCALL_WORDSIZE != 32].
13505         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13506         New macro.
13507
13508 2012-05-21  Bruno Haible  <bruno@clisp.org>
13509             Andreas Jaeger  <aj@suse.de>
13510
13511         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13512         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13513         inptr and inend for must_buffer_ch.
13514         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13515         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13516         * stdio-common/Makefile (tests): Remove bug15.
13517         (bug15-ENV): Remove macro.
13518         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13519         anymore.
13520
13521 2012-05-19  Andreas Jaeger  <aj@suse.de>
13522             Roland McGrath  <roland@hack.frob.com>
13523
13524         * manual/contrib.texi: Completely rewritten. It contains now an
13525         alphabetical list of contributors and their contributions.
13526
13527 2012-05-21  Richard Henderson  <rth@twiddle.net>
13528
13529         * misc/getauxval.c (__getauxval): Use unsigned long int.
13530         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13531         (getauxval): Use unsigned long int.
13532
13533 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13534
13535         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13536
13537 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13538
13539         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13540         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13541         __alignof__ (long double).
13542
13543 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13544
13545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13546
13547 2012-05-20  Richard Henderson  <rth@twiddle.net>
13548
13549         * misc/getauxval.c: New file.
13550         * misc/sys/auxv.h: New file.
13551         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13552         (routines): Add getauxval.
13553         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13554         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13555         * elf/dl-sysdep.c (_dl_auxv): Remove.
13556         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13557         * elf/dl-support.c (_dl_auxv): New variable.
13558         (_dl_aux_init): Initialize it.
13559         * manual/startup.texi (Auxiliary Vector): New node.
13560         * sysdeps/generic/bits/hwcap.h: New file.
13561         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13562         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13563         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13564         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13565         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13568         Update.
13569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13577
13578 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13579
13580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13581
13582 2012-05-19  David S. Miller  <davem@davemloft.net>
13583
13584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13585
13586 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13587
13588         [BZ #14123]
13589         * math/s_ccosh.c: Include <float.h>
13590         (__ccosh): Avoid internal overflow calculating sinh and cosh
13591         values before multiplying by sin and cos values.
13592         * math/s_ccoshf.c: Likewise.
13593         * math/s_ccoshl.c: Likewise.
13594         * math/s_csin.c: Likewise.
13595         * math/s_csinf.c: Likewise.
13596         * math/s_csinl.c: Likewise.
13597         * math/s_csinh.c: Likewise.
13598         * math/s_csinhf.c: Likewise.
13599         * math/s_csinhl.c: Likewise.
13600         * math/libm-test.inc (ccos_test): Add more tests.
13601         (ccosh_test): Likewise.
13602         (csin_test): Likewise.
13603         (csinh_test): Likewise.
13604         * sysdeps/i386/fpu/libm-test-ulps: Update.
13605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13606
13607 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13608
13609         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13610         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13611
13612         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13613
13614 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13615
13616         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13617         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13618         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13619         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13620         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13621         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13622         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13623         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13624         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13625         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13626         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13627         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13628         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13629         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13630         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13631         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13632         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13633         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13634         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13635         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13636         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13637         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13638         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13639         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13640         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13641         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13642         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13643         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13644         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13645         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13646         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13647
13648 2012-05-18  Andreas Jaeger  <aj@suse.de>
13649
13650         * csu/.gitignore: Delete.
13651
13652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13653
13654         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13655         (timex): Use __syscall_slong_t.
13656
13657 2012-05-18  Andreas Jaeger  <aj@suse.de>
13658             Carlos O'Donell  <carlos_odonell@mentor.com>
13659
13660         * manual/install.texi (Configuring and compiling): Update
13661         description about files modified in the source directory.
13662         * INSTALL: Regenerated.
13663
13664 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13665
13666         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13667         value.  Use "or" to set return value to -1.
13668         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13669         negate return value.
13670
13671 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13672
13673         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13674         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13675         failure if the compiler has Graphite support disabled.
13676         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13677         Likewise.
13678         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13679         CFLAGS-memmove.c): Likewise.
13680         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13681         Likewise.
13682
13683 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13684
13685         * sysdeps/x86_64/x32/_itoa.h: New file.
13686
13687         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13688         getdents system call only if kernel and user dirents have the
13689         same d_ino and d_off.
13690
13691         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13692         LLONG_MAX != LONG_MAX.
13693         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13694         (_fitoa_word): Likewise.
13695
13696         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13697         years.
13698         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13699         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13700         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13701
13702         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13703         include <bits/wordsize.h>.  Check __x86_64__ instead of
13704         __WORDSIZE.
13705         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13706         if __x86_64__ is defined.  Use anonymous union on fpstate.
13707
13708         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13709         anonymous union.
13710
13711 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13712
13713         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13714         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13715         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13716         Refer to _rtld_local_ro instead of _rtld_global_ro.
13717         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13718         Likewise.
13719         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13720         Likewise.
13721         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13722         Likewise.
13723         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13724         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13725         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13726
13727         * sysdeps/powerpc/powerpc32/dl-machine.c
13728         (__elf_machine_runtime_setup) [PROF]: Don't reference
13729         _dl_prof_resolve.
13730
13731 2012-05-18  Andreas Jaeger  <aj@suse.de>
13732
13733         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13734         function only available for GCCs before 3.4 since GCC 3.4
13735         introduced a builtin.
13736         (lrint): Likewise.
13737         (llrintf): Likewise.
13738         (llrint): Likewise.
13739         (fmaxf): Likewise.
13740         (fmax): Likewise.
13741         (fminf): Likewise.
13742         (fmin): Likewise.
13743         (rint): Likewise.
13744         (rintf): Likewise.
13745         (nearbyint): Likewise.
13746         (nearbyintf): Likewise.
13747         (ceil): Likewise.
13748         (ceilf): Likewise.
13749         (floor): Likewise.
13750         (floorf): Likewise.
13751
13752 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13753
13754         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13755         on both fields and cast pointer to __syscall_ulong_t.
13756
13757         * bits/types.h (__fsword_t): New type.
13758         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13759         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13761         (__FSWORD_T_TYPE): Likewise.
13762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13763         (__FSWORD_T_TYPE): Likewise.
13764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13765         (__FSWORD_T_TYPE): Likewise.
13766         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13767         (__FSWORD_T_TYPE): Likewise.
13768         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13769         __SWORD_TYPE with __fsword_t.
13770         (statfs64): Likewise.
13771
13772 2012-05-17  David S. Miller  <davem@davemloft.net>
13773
13774         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13775
13776 2012-05-17  Andreas Jaeger  <aj@suse.de>
13777
13778         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13779         warning.
13780
13781 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13782
13783         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13784
13785 2012-05-17  Andreas Jaeger  <aj@suse.de>
13786
13787         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13788         when it is used.
13789
13790 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13791
13792         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13793
13794 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13795
13796         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13797         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13798
13799 2012-05-17  Andreas Jaeger  <aj@suse.de>
13800             Carlos O'Donell  <carlos_odonell@mentor.com>
13801
13802         [BZ #14059]
13803         * sysdeps/x86_64/multiarch/init-arch.h
13804         (bit_YMM_Usable): Rename to...
13805         (bit_AVX_Usable): ... this.
13806         (bit_FMA4_Usable): New macro.
13807         (bit_XMM_state): New macro.
13808         (bit_YMM_state): New macro.
13809         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13810         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13811         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13812         (CPUID_OSXSAVE): New macro.
13813         (CPUID_AVX): New macro.
13814         (CPUID_FMA4): New macro.
13815         (index_YMM_Usable): Rename to...
13816         (index_AVX_Usable): ... this.
13817         (HAS_AVX): Use HAS_ARCH_FEATURE.
13818         (HAS_FMA4): Likewise.
13819         (HAS_YMM_USABLE): Remove.
13820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13821         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13822         are present.
13823         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13824         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13825         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13826         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13827         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13828
13829 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13830
13831         * math/libm-test.c: Support platforms without multiple rounding modes.
13832         * math/bug-nextafter.c: Support platforms without FP exceptions.
13833         * math/bug-nexttoward.c: Likewise.
13834         * math/test-fenv.c: Likewise.
13835         * math/test-misc.c: Likewise.
13836         * stdlib/bug-getcontext.c: Likewise.
13837
13838 2012-05-17  Andreas Jaeger  <aj@suse.de>
13839
13840         * manual/examples/search.c (critter_cmp): Change signature to
13841         avoid warnings.
13842         * manual/string.texi (Collation Functions): Likewise.
13843
13844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13845
13846         * bits/types.h: Fold copyright years.
13847         * bits/typesizes.h: Likewise.
13848         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13849         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13852         * time/time.h: Likewise.
13853
13854 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13855
13856         [BZ #208]
13857         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13858         in instead of returning them.  Return void.
13859         (__libc_mallinfo): Accumulate over all arenas.
13860         (__malloc_stats): Adjust for change in int_mallinfo interface.
13861
13862 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13863
13864         [BZ #10375]
13865         * configure.in (NM): Add AC_CHECK_TOOL for it.
13866         (libc_extra_cflags): New substituted variable.
13867         Check for -fstack-protector being used implicitly.
13868         * configure: Regenerated.
13869         * config.make.in (config-extra-cflags): New variable,
13870         gets @libc_extra_cflags@.
13871         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13872
13873         [BZ #10375]
13874         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13875         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13876         * configure: Regenerated.
13877         * config.make.in (CPPUNDEFS): New substituted variable.
13878         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13879         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13880         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13881
13882 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13883
13884         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13885         (mq_attr): Use __syscall_slong_t.
13886
13887 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13888
13889         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13890         Check __x86_64__ instead of __WORDSIZE.
13891         (_STAT_VER_LINUX): Likewise.
13892         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13893         __syscall_ulong_t and __syscall_slong_t.
13894         (stat64): Likewise.
13895
13896 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13897
13898         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13899
13900 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13901
13902         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13903
13904 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13905
13906         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13907         __syscall_ulong_t.
13908
13909         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13910         include <bits/wordsize.h>.  Check __x86_64__ instead of
13911         __WORDSIZE.
13912         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13913         defined.
13914         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13915
13916         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13917         include <bits/wordsize.h>.  Check __x86_64__ instead of
13918         __WORDSIZE.
13919         (user_regs_struct): Use "__extension__ unsigned long long"
13920         instead of "unsigned long" if __x86_64__ is defined.
13921         (user): Likewise.  Pad after pointer field if __ILP32__ is
13922         defined.
13923
13924 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13925
13926         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13927         versions 5 to 9.
13928         * configure: Regenerated.
13929         * manual/install.texi (texinfo): Increase version requirement to
13930         4.5 or later.
13931         * INSTALL: Regenerated.
13932
13933         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13934
13935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13936
13937         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13938
13939         * sysdeps/x86_64/x32/ffs.c: New file.
13940
13941         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13942         __syscall_ulong_t.
13943         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13944         defined.  Use __syscall_ulong_t.
13945         (shminfo): Use __syscall_ulong_t.
13946         (shm_info): Likewise.
13947
13948         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13949         __syscall_ulong_t.
13950
13951         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13952         <bits/wordsize.h>.
13953         (msgqnum_t): Use __syscall_ulong_t.
13954         (msglen_t): Likewise.
13955         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13956         __syscall_ulong_t.
13957
13958         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13959         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13960
13961         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13962
13963         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13964         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13965
13966         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13967         __syscall_slong_t.
13968
13969         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13970         include <bits/wordsize.h>.  Check __x86_64__ instead of
13971         __WORDSIZE.
13972
13973         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13974         "unsigned long long int" if __x86_64__ is defined.
13975         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13976
13977         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13978         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13979         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13980
13981         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13982         <stdint.h>.
13983         (GET_PC): Cast to uintptr_t first.
13984         (GET_FRAME): Likewise.
13985         (GET_STACK): Likewise.
13986
13987         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13988         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13989         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13990         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13991         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13992         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13993         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13994         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13995         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13996         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13997         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13998         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13999         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14000         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14001         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14002         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14003         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14004         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14005         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14006         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14007         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14008         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14009         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14010         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14011         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14012         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14013         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14014         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14015         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14016
14017 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
14018
14019         * Makerules (+depfiles): Also collect depfiles from .oS in
14020         $(extra-objs).
14021         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14022         .oS, $(libnldbl-routines)).
14023
14024         * Makerules (native-compile-mkdep-flags): Define.
14025         * sunrpc/Makefile (extra-objs): Add $(addprefix
14026         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14027         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14028         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
14029         calling $(make-target-directory).
14030
14031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14032
14033         * bits/types.h (__snseconds_t): Removed.
14034         * time/time.h (struct timespec): Replace __snseconds_t with
14035         __syscall_slong_t.
14036         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14037         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14038         Likewise.
14039         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14040         (__SNSECONDS_T_TYPE): Likewise.
14041         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14042         (__SNSECONDS_T_TYPE): Likewise.
14043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14044         (__SNSECONDS_T_TYPE): Likewise.
14045
14046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14047
14048         * sysdeps/mach/hurd/bits/typesizes.h
14049         (__SYSCALL_SLONG_TYPE): New macro.
14050         (__SYSCALL_ULONG_TYPE): Likewise.
14051
14052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14053
14054         * bits/types.h (__syscall_slong_t): New type.
14055         (__syscall_ulong_t): Likewise.
14056
14057         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14058         (__SYSCALL_ULONG_TYPE): Likewise.
14059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14060         (__SYSCALL_SLONG_TYPE): Likewise.
14061         (__SYSCALL_ULONG_TYPE): Likewise.
14062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14063         (__SYSCALL_SLONG_TYPE): Likewise.
14064         (__SYSCALL_ULONG_TYPE): Likewise.
14065         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14066         (__SYSCALL_SLONG_TYPE): Likewise.
14067         (__SYSCALL_ULONG_TYPE): Likewise.
14068
14069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14070
14071         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14072         Add sigaltstack-offsets.sym.
14073         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14074         <sigaltstack-offsets.h>.
14075         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
14076         longjmp_msg pointer.
14077         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
14078         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14079         signal stack.
14080         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14081
14082 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14083
14084         * elf/stackguard-macros.h: Remove file.
14085         * sysdeps/generic/stackguard-macros.h: New file.
14086         * sysdeps/i386/stackguard-macros.h: Likewise.
14087         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14088         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14089         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14090         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14091         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14092         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14093         * sysdeps/x86_64/stackguard-macros.h: Likewise.
14094         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14095         <elf/stackguard-macros.h>.
14096
14097         [BZ #14109]
14098         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14099         __aligned__ in attribute.
14100         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14101         (gregset_t): Likewise.
14102
14103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14104
14105         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14106         * sysdeps/x86_64/64/Implies-after: Here.  New file.
14107         * sysdeps/x86_64/x32/Implies-after: New file.
14108
14109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14110
14111         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14112         and access return value for _dl_profile_fixup.  Use R10_LP to
14113         load frame size.
14114
14115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14116
14117         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14118
14119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14120
14121         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14122         * sysdeps/x86_64/x32/sysdep.h: New file.
14123
14124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14125
14126         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14127         * sysdeps/x86_64/setjmp.S: Likewise.
14128
14129 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14130
14131         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14132         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14133         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14134         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14135         remove unused global constant.
14136
14137 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
14138
14139         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14140         include of <not-cancel.h>.
14141
14142 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14143
14144         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14145
14146 2012-05-15  Jeff Law  <law@redhat.com>
14147             Andreas Jaeger  <aj@suse.de>
14148
14149         [BZ #13594]
14150         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14151         out from...
14152         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14153         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14154         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14155         code changing __hst_map_handle.map.
14156
14157 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14158
14159         * configure.in (sysnames): Look for Implies-before and Implies-after
14160         files.
14161         * configure: Regenerated.
14162
14163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14164
14165         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14166         8-byte data alignment with LP_SIZE alignment.
14167
14168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14169
14170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14171         into R10_LP.
14172
14173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14174
14175         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14176
14177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14178
14179         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14180         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14181         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14182         Likewise.
14183         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14184
14185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14186
14187         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14188         (stackinfo_sub_sp): Likewise.
14189
14190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14191
14192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14193         RAX_LP.
14194
14195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14196
14197         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14198         into R*_LP.
14199
14200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14201
14202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14203         sizes into R*_LP.
14204
14205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14206
14207         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14208
14209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14210
14211         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14212         into R11_LP and load __x86_64_shared_cache_size_half into
14213         R8_LP.
14214
14215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14216
14217         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14218         R8_LP.
14219
14220 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14221
14222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14223         logb for POWER7.
14224         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14225         logbf for POWER7.
14226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14227         logbl for POWER7.
14228         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14229         powerpc32/power7/fpu/s_logb.c via #include.
14230         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14231         powerpc32/power7/fpu/s_logbf.c via #include.
14232         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14233         powerpc32/power7/fpu/s_logbl.c via #include.
14234
14235 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14236
14237         * README.libm: Remove file.
14238
14239 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14240
14241         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14242         count for x32.  Use R*_LP and omit operand-size suffix.
14243
14244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14245
14246         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14247         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14248         * sysdeps/x86_64/x32/shlib-versions: New file.
14249
14250 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14251
14252         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14253         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14254         Use _dl_fatal_printf instead.
14255
14256 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14257
14258         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14259         set if not set by the user.  Do not allow for being unset.
14260         * sysdeps/unix/sysv/linux/configure: Regenerated.
14261
14262 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14263
14264         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14265         the `q' suffix from lea and replace .quad with ASM_ADDR.
14266
14267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14268
14269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14270         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14271         instead of $17.
14272         (PTR_DEMANGLE): Likewise.
14273
14274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14275
14276         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14277         (LP_OP): Likewise.
14278         (ASM_ADDR): Likewise.
14279         (RAX_LP): Likewise.
14280         (RBP_LP): Likewise.
14281         (RBX_LP): Likewise.
14282         (RCX_LP): Likewise.
14283         (RDI_LP): Likewise.
14284         (RSI_LP): Likewise.
14285         (RSP_LP): Likewise.
14286         (R8_LP): Likewise.
14287         (R9_LP): Likewise.
14288         (R10_LP): Likewise.
14289         (R10_LP): Likewise.
14290         (R11_LP): Likewise.
14291         (R12_LP): Likewise.
14292         (R13_LP): Likewise.
14293         (R14_LP): Likewise.
14294         (R15_LP): Likewise.
14295
14296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14297
14298         * sysdeps/x86_64/x32/dl-machine.h: New file.
14299
14300 2012-05-14  Andreas Jaeger  <aj@suse.de>
14301
14302         * manual/Makefile (subdir): Remove export of subdir.
14303         (all): Remove target.
14304         (.PHONY): Remove all from list.
14305         (mkinstalldirs): Remove.
14306         (.PHONY): Remove installdirs from list.
14307         ($(inst_infodir)/libc.info): Use make-target-directory.
14308         (installdirs): Remove.
14309         (subdir_%): Remove.
14310         (glibc-targets): Remove.
14311         (lib): Remove.
14312         (stubs): Remove.
14313         ($(objpfx)stubs ../po/manual.pot): Remove.
14314         ($(objpfx)stamp%): Remove.
14315         (make-target-directory): Remove.
14316         (subdir_install): Remove.
14317         (routines): Remove.
14318         (aux): Remove.
14319         (sources): Remove.
14320         (objects): Remove.
14321         (headers): Remove.
14322
14323         [BZ #13750]
14324         * manual/.gitignore: Remove, it's not needed anymore.
14325         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14326         all files in it.
14327         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14328         directory.
14329         (texis): Renamed to $(objpfx)texis.
14330         (texis-path): New, contains path to generated files.
14331         (chapters.%): Use texis-path for complete path, add extra argument
14332         libc-texinfo.sh.
14333         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14334         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14335         (summary,texi, stamp-summary): Use complete path of
14336         files. Generate files in build dir.
14337         (dir-add.texi): Build in build dir.
14338         (libm-err.texi,stamp-libm-err): Likewise.
14339         (version.texi, stamp-version): Likewise.
14340         (.%c.texi): Likewise.
14341         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14342         (mostlyclean): Remove target.
14343         (realclean): Remove target.
14344         (generated): Add new variable with contents from mostlyclean and
14345         realclean, remove entries duplicated in common-mostlyclean, add
14346         stamp-libm-err and stamp-version.
14347         (generated-dirs): Add libc directory.
14348         ($(inst_infodir)/libc.info): Install files from build dir.
14349
14350         * manual/install.texi (Configuring and compiling): Adjust since
14351         the info files are not part of the tar ball anymore.
14352
14353 2012-05-14  Andreas Jaeger  <aj@suse.de>
14354
14355         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14356         variable.
14357
14358 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14359
14360         [BZ #13717]
14361         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14362         to 2.2.0 where earlier.
14363         * sysdeps/unix/sysv/linux/configure: Regenerated.
14364         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14365         Remove conditional code.
14366         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14367         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14368         Remove conditional code.
14369         [!__NR_lchown]: Likewise.
14370         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14371         [__NR_lchown]: Likewise.
14372         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14373         comment referencing __ASSUME_LCHOWN_SYSCALL.
14374         * sysdeps/unix/sysv/linux/i386/sigaction.c
14375         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14376         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14377         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14378         Remove conditional code.
14379         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14380         (__protocol_available): Remove #if 0 code.
14381         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14382         conditional code.
14383         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14384         * sysdeps/unix/sysv/linux/kernel-features.h
14385         (__ASSUME_GETCWD_SYSCALL): Don't define.
14386         (__ASSUME_REALTIME_SIGNALS): Likewise.
14387         (__ASSUME_PREAD_SYSCALL): Likewise.
14388         (__ASSUME_PWRITE_SYSCALL): Likewise.
14389         (__ASSUME_POLL_SYSCALL): Likewise.
14390         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14391         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14392         non-SPARC.
14393         (__ASSUME_SIOCGIFNAME): Don't define.
14394         (__ASSUME_MSG_NOSIGNAL): Likewise.
14395         (__ASSUME_SENDFILE): Define unconditionally.
14396         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14397         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14398         conditional code.
14399         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14400         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14401         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14402         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14403         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14404         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14405         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14407         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14410         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14416         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14419         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14422         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14423         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14425         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14426         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14428         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14429         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14430         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14431         Remove conditional code.
14432         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14433         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14434         Remove conditional code.
14435         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14436         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14437         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14438         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14439         Remove conditional code.
14440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14441         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14442         Remove conditional code.
14443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14444         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14445         Remove conditional code.
14446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14447         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14448         Remove conditional code.
14449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14450         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14451         Remove conditional code.
14452         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14453         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14454         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14455         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14456         * sysdeps/unix/sysv/linux/sigaction.c
14457         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14458         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14459         * sysdeps/unix/sysv/linux/sigpending.c
14460         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14461         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14462         * sysdeps/unix/sysv/linux/sigprocmask.c
14463         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14464         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14465         * sysdeps/unix/sysv/linux/sigsuspend.c
14466         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14467         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14468         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14469         (__libc_missing_rt_sigs): Remove.
14470         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14471         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14472         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14473         Remove conditional code.
14474         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14475         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14476         return 1.
14477         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14478         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14479         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14480         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14481
14482 2012-05-14  Andreas Jaeger  <aj@suse.de>
14483
14484         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14485         it's not used in glibc.
14486         (__coshm1): Likewise.
14487         (__acosh1p): Likewise.
14488         (__sgn): Likewise.
14489
14490         * manual/string.texi (Copying and Concatenation): Add missing
14491         variable in concat example.
14492         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14493
14494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14495
14496         [BZ #14103]
14497         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14498         __builtin_clzl with __builtin_clzll.
14499
14500 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14501
14502         [BZ #14104]
14503         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14504         libc_freeres_ptr.
14505
14506 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14507
14508         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14509         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14510         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14511         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14512
14513 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14514
14515         * NEWS: Update ia64 info.
14516
14517 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14518
14519         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14520         used as bcopy.
14521
14522 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14523
14524         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14525         * sysdeps/unix/syscalls.list (dup3): Likewise.
14526         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14527         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14528
14529 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14530
14531         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14532         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14533
14534 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14535
14536         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14537         thread pointer.
14538         (TLS_IE): Use mov/add instead of movq/addq to load thread
14539         pointer.
14540         (TLS_GD_PREFIX): New.
14541         (TLS_GD): Use it.
14542
14543 2012-05-11  David S. Miller  <davem@davemloft.net>
14544
14545         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14546         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14547         (_FPU_SETCW): Likewise.
14548
14549 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14550
14551         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14552         is 32-byte aligned.
14553
14554 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14555
14556         [BZ #11837]
14557         * iconvdata/gb18030.c: Update tables.
14558         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14559         characters specially.
14560         (BODY for TO_LOOP): Add encoding of missing ranges.
14561
14562 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14563
14564         [BZ #13673]
14565         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14566         * sysdeps/mach/hurd/dup3.c: Likewise.
14567         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14568         * sysdeps/powerpc/memmove.c:: Likewise.
14569
14570 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14571
14572         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14573         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14574
14575 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14576
14577         * elf/elf.h (R_X86_64_RELATIVE64): New.
14578         (R_X86_64_NUM): Updated.
14579         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14580         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14581         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14582         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14583         tst-quad1pie tst-quad2pie
14584         (modules-names): Add tst-quadmod1 tst-quadmod2.
14585         ($(objpfx)tst-quad1): New dependency.
14586         ($(objpfx)tst-quad2): Likewise.
14587         ($(objpfx)tst-quad1pie): Likewise.
14588         ($(objpfx)tst-quad2pie): Likewise.
14589         * sysdeps/x86_64/tst-quad1.c: New file.
14590         * sysdeps/x86_64/tst-quad1pie.c: New file.
14591         * sysdeps/x86_64/tst-quad2.c: Likewise.
14592         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14593         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14594         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14595         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14596         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14597
14598 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14599
14600         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14601         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14602         * streams/stropts.h (t_scalar_t): Define type.
14603
14604         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14605         (_PATH_PRESERVE): Set to "/var/lib".
14606         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14607
14608         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14609         instead of int.
14610
14611         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14612         if __dir_mkfile succeeded.
14613
14614         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14615         checking for _hurd_dtablesize.  Unlock it right after having
14616         finished _hurd_dtable allocation.
14617
14618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14619
14620         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14621         * sysdeps/mach/hurd/configure: Regenerated.
14622         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14623         special-casing to...
14624         * sysdeps/gnu/configure.in: ... this new file.
14625         * sysdeps/unix/sysv/linux/configure: Regenerated.
14626         * sysdeps/gnu/configure: New generated file.
14627
14628         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14629         for Linux: use nsec instead of usec, as well as:
14630         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14631         members of type struct timespec.
14632         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14633         New macros.
14634         (struct stat64): Likewise.
14635         (_STATBUF_ST_NSEC): New macro.
14636         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14637
14638         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14639         __strtoul_internal rather than strtoul.
14640
14641 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14642
14643         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14644         and reject them.
14645
14646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14647
14648         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14649         which preserves existing values.
14650         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14651
14652 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14653
14654         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14655         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14656         greater than FD_SETSIZE.
14657
14658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14659
14660         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14661         allocated, call __vm_protect to finish enabling the existing space, and
14662         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14663         allocate the remainder.
14664
14665 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14666
14667         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14668         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14669
14670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14671
14672         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14673         sysdeps/mach/hurd/readlink.c.
14674
14675         * posix/tst-sysconf.c (posix_options): Only use
14676         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14677         _POSIX_SYNCHRONIZED_IO when they are defined
14678         * sysdeps/mach/hurd/bits/posix_opt.h:
14679         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14680         (_XOPEN_REALTIME): Undefine macro.
14681         (_XOPEN_REALTIME_THREADS): Undefine macro.
14682         (_XOPEN_SHM): Undefine macro.
14683         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14684         macro to -1.
14685         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14686         macro to -1.
14687         (_POSIX_ASYNC_IO): Undefine macro.
14688         (_POSIX_PRIORITIZED_IO): Undefine macro.
14689         (_POSIX_SPIN_LOCKS): Define macro to -1.
14690
14691         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14692         SA_NODEFER, SA_RESETHAND.
14693         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14694         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14695         F_DUPFD_CLOEXEC.
14696
14697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14698
14699         * elf/Makefile (pldd-modules): Define unconditionally.
14700
14701 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14702
14703         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14704
14705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14706
14707         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14708         Return ENOENT when name is empty.
14709         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14710
14711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14712
14713         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14714
14715         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14716
14717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14718
14719         Fix mlock in all cases except non-readable pages.
14720         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14721         instead of VM_PROT_ALL as parameter to __vm_wire function.
14722
14723         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14724         (__mkdir): When path is `/', just fail with EEXIST.
14725         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14726
14727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14728
14729         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14730         <sys/uio.h> (for writev).
14731         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14732         and <sys/param.h> (for MIN).
14733
14734 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14735
14736         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14737         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14738         if interrupted.
14739
14740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14741
14742         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14743         Depend on against $(link-rpcuserlibs).
14744
14745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14746
14747         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14748         (__libc_stack_end): Do not use attribute_relro.
14749         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14750         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14751         to libthread-provided value.
14752         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14753         attribute_relro.
14754
14755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14756
14757         [BZ #3748]
14758         * bits/libc-lock.h (__libc_once_get): New macro.
14759         * sysdeps/mach/bits/libc-lock.h: Likewise.
14760         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14761         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14762         instead of using implementation details.
14763
14764         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14765         * libio/freopen.c: Likewise.
14766         * libio/freopen64.c: Likewise.
14767         * misc/syslog.c: Likewise.
14768         * nscd/connections.c: Likewise.
14769         * nscd/netgroupcache.c: Likewise.
14770         * sysdeps/posix/getcwd.c: Likewise.
14771
14772 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14773
14774         * math/w_ilogbf.c: Add #include <limits.h>.
14775
14776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14777
14778         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14779         path instead of returning without unlocking.
14780
14781         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14782         immediate-write ioctls.
14783         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14784
14785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14786
14787         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14788         __builtin_frame_address instead of making assumptions about the
14789         location of the return address relative to DATA.  Force early load of
14790         the return address.
14791         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14792         __builtin_frame_address.
14793
14794         dup3 for GNU Hurd.
14795         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14796         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14797         implement dup3 and do some further code clean-ups.
14798         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14799         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14800
14801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14802
14803         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14804
14805         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14806         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14807         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14808         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14809         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14810         d->port.lock.
14811
14812         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14813         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14814         when handler == SIG_ERR, not when handler != SIG_ERR.
14815
14816 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14817
14818         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14819         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14820         definitions.
14821
14822         accept4 for GNU Hurd.
14823         * include/sys/socket.h (__libc_accept4): New prototype.
14824         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14825         to implement __libc_accept4.
14826         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14827         __libc_accept4.
14828         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14829
14830         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14831         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14832         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14833         signal-defines.sym.
14834
14835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14836
14837         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14838
14839 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14840
14841         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14842         assertion on O_CLOEXEC flag.
14843         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14844         * hurd/intern-fd.c: Likewise.
14845         * hurd/port2fd.c: Likewise.
14846
14847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14848
14849         [BZ #3906]
14850         * bits/in.h (IPV6_PKTINFO): Define new macro.
14851         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14852
14853 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14854
14855         [BZ #13954]
14856         [BZ #13955]
14857         [BZ #13956]
14858         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14859         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14860         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14861         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14863         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14864         * math/libm-test.inc (logb_test) : Additional logb tests.
14865
14866 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14867             Andreas Jaeger  <aj@suse.de>
14868
14869         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14870         * configure: Regenerated.
14871         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14872         * config.make.in (link-obsolete-rpc): New substituted variable.
14873         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14874         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14875         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14876         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14877         so that libc.a contains the symbols.
14878         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14879         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14880         * sunrpc/auth_none.c: Likewise.
14881         * sunrpc/auth_unix.c: Likewise.
14882         * sunrpc/authdes_prot.c: Likewise.
14883         * sunrpc/authuxprot.c: Likewise.
14884         * sunrpc/clnt_gen.c: Likewise.
14885         * sunrpc/clnt_perr.c: Likewise.
14886         * sunrpc/clnt_raw.c: Likewise.
14887         * sunrpc/clnt_simp.c: Likewise.
14888         * sunrpc/clnt_tcp.c: Likewise.
14889         * sunrpc/clnt_udp.c: Likewise.
14890         * sunrpc/clnt_unix.c: Likewise.
14891         * sunrpc/des_crypt.c: Likewise.
14892         * sunrpc/des_soft.c: Likewise.
14893         * sunrpc/get_myaddr.c: Likewise.
14894         * sunrpc/key_call.c: Likewise.
14895         * sunrpc/key_prot.c: Likewise.
14896         * sunrpc/netname.c: Likewise.
14897         * sunrpc/pm_getmaps.c: Likewise.
14898         * sunrpc/pm_getport.c: Likewise.
14899         * sunrpc/pmap_clnt.c: Likewise.
14900         * sunrpc/pmap_prot.c: Likewise.
14901         * sunrpc/pmap_prot2.c: Likewise.
14902         * sunrpc/pmap_rmt.c: Likewise.
14903         * sunrpc/publickey.c: Likewise.
14904         * sunrpc/rpc_cmsg.c: Likewise.
14905         * sunrpc/rpc_common.c: Likewise.
14906         * sunrpc/rpc_dtable.c: Likewise.
14907         * sunrpc/rpc_prot.c: Likewise.
14908         * sunrpc/rpc_thread.c: Likewise.
14909         * sunrpc/rtime.c: Likewise.
14910         * sunrpc/svc.c: Likewise.
14911         * sunrpc/svc_auth.c: Likewise.
14912         * sunrpc/svc_raw.c: Likewise.
14913         * sunrpc/svc_run.c: Likewise.
14914         * sunrpc/svc_tcp.c: Likewise.
14915         * sunrpc/svc_udp.c: Likewise.
14916         * sunrpc/svc_unix.c: Likewise.
14917         * sunrpc/svcauth_des.c: Likewise.
14918         * sunrpc/xcrypt.c: Likewise.
14919         * sunrpc/xdr.c: Likewise.
14920         * sunrpc/xdr_array.c: Likewise.
14921         * sunrpc/xdr_float.c: Likewise.
14922         * sunrpc/xdr_intXX_t.c: Likewise.
14923         * sunrpc/xdr_mem.c: Likewise.
14924         * sunrpc/xdr_rec.c: Likewise.
14925         * sunrpc/xdr_ref.c: Likewise.
14926         * sunrpc/xdr_sizeof.c: Likewise.
14927         * sunrpc/xdr_stdio.c: Likewise.
14928
14929 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14930
14931         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14932         change.  Update copyright years.
14933
14934 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14935
14936         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14937
14938 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14939             Joseph Myers  <joseph@codesourcery.com>
14940             Paul Pluzhnikov  <ppluzhnikov@google.com>
14941
14942         [BZ #14012]
14943         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14944         requiring rpcgen.
14945         [cross-compiling] (extra-libs): Likewise.
14946         [cross-compiling] (extra-libs-others): Likewise.
14947         [cross-compiling] (librpcsvc-routines): Likewise.
14948         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14949         [cross-compiling] (omit-deps): Likewise.
14950         (sunrpc-CPPFLAGS): New variable.
14951         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14952         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14953         (cross-rpcgen-objs): New variable.
14954         (extra-objs): Append $(cross-rpcgen-objs).
14955         ($(cross-rpcgen-objs)): New rule.
14956         ($(objpfx)cross-rpcgen): Likewise.
14957         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14958         comment.
14959         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14960         ($(objpfx)x%.stmp): Likewise.
14961         * sunrpc/proto.h [IS_IN_build] (_): Define.
14962         [IS_IN_build] (_libc_intl_domainname): Likewise.
14963
14964 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14965
14966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14967         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14968         and R_X86_64_TPOFF64.
14969
14970 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14971
14972         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14973         sysdeps/unix/sysv/syscalls.list.
14974         (stime): Likewise.
14975         (utime): Likewise.
14976         * sysdeps/unix/sysv/syscalls.list: Remove file.
14977
14978 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14979
14980         [BZ #3440]
14981         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14982         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14983         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14984         (__LC_IDENTIFICATION): Make these macros useful in #if
14985         expressions, as required by C99.
14986
14987 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14988
14989         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14990         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14991         after this.
14992
14993 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14994
14995         * stdlib/longlong.h: Updated from GCC.
14996
14997 2012-05-09  Andreas Jaeger  <aj@suse.de>
14998
14999         * nscd/nscd.c (run_modes): Make named enum, reorder so that
15000         default is first entry.
15001         (run_mode): Set type.
15002         (main): Remove informal message about syslog.
15003         (options): Fix typo.
15004
15005         [BZ #14053]
15006         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15007         to asm.
15008         (lrint): Likewise.
15009         (llrintf): Likewise.
15010         (llrint): Likewise.
15011         (rint): Likewise.
15012         (rintf): Likewise.
15013         (nearbyint): Likewise.
15014         (nearbyintf): Likewise.
15015
15016 2012-05-09  Andreas Jaeger  <aj@suse.de>
15017             Pedro Alves  <palves@redhat.com>
15018
15019         * nscd/nscd.c (run_mode): Use enum.
15020         (main): Cleanup coding style issue.
15021
15022 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
15023             Andreas Jaeger  <aj@suse.de>
15024
15025         * nscd/nscd.c (go_background): Replaced with...
15026         (run_mode): ... this.
15027         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15028         (options): Add -F --foreground.
15029         (main): Implement it.
15030         (parse_opt): Parse it.
15031
15032 2012-05-09  Andreas Jaeger  <aj@suse.de>
15033
15034         [BZ #14083]
15035         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15036         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15037         -Wconversion warning.
15038         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15039         Likewise.
15040
15041 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
15042
15043         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
15044         == 0.
15045         (LC_ALL): Use macro-int-constant.
15046         (LC_COLLATE): Likewise.
15047         (LC_CTYPE): Likewise.
15048         (LC_MESSAGES): Likewise.
15049         (LC_MONETARY): Likewise.
15050         (LC_NUMERIC): Likewise.
15051         (LC_TIME): Likewise.
15052         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15053         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15054         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15055         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15056         Specify type.
15057         [C99-based standards] (float_t): Expect type.
15058         [C99-based standards] (double_t): Expect type.
15059         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
15060         type.
15061         [C99-based standards] (HUGE_VALL): Likewise.
15062         [C99-based standards] (INFINITY): Likewise.
15063         [C99-based standards] (NAN): Likewise.
15064         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15065         [C99-based standards] (FP_NAN): Likewise.
15066         [C99-based standards] (FP_NORMAL): Likewise.
15067         [C99-based standards] (FP_SUBNORMAL): Likewise.
15068         [C99-based standards] (FP_ZERO): Likewise.
15069         [C99-based standards] (FP_FAST_FMA): Use
15070         optional-macro-int-constant.  Specify type.  Require == 1.
15071         [C99-based standards] (FP_FAST_FMAF): Likewise.
15072         [C99-based standards] (FP_FAST_FMAL): Likewise.
15073         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15074         [C99-based standards] (FP_ILOGBNAN): Likewise.
15075         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15076         Specify type.
15077         [C99-based standards] (MATH_ERREXCEPT): Likewise.
15078         [C99-based standards] (math_errhandling): Specify type.
15079         [ISO99 || ISO11] (signgam): Do not allow.
15080         [non-C99-based standards] (copysignf): Do not allow.
15081         [non-C99-based standards] (exp2f): Likewise.
15082         [non-C99-based standards] (log2f): Likewise.
15083         [non-C99-based standards] (modff): Allow.
15084         [non-C99-based standards] (erff): Do not allow.
15085         [non-C99-based standards] (erfcf): Likewise.
15086         [non-C99-based standards] (gammaf): Likewise.
15087         [non-C99-based standards] (hypotf): Likewise.
15088         [non-C99-based standards] (j0f): Likewise.
15089         [non-C99-based standards] (j1f): Likewise.
15090         [non-C99-based standards] (jnf): Likewise.
15091         [non-C99-based standards] (lgammaf): Likewise.
15092         [non-C99-based standards] (tgammaf): Likewise.
15093         [non-C99-based standards] (y0f): Likewise.
15094         [non-C99-based standards] (y1f): Likewise.
15095         [non-C99-based standards] (ynf): Likewise.
15096         [non-C99-based standards] (isnanf): Likewise.
15097         [non-C99-based standards] (acoshf): Likewise.
15098         [non-C99-based standards] (asinhf): Likewise.
15099         [non-C99-based standards] (atanhf): Likewise.
15100         [non-C99-based standards] (cbrtf): Likewise.
15101         [non-C99-based standards] (expm1f): Likewise.
15102         [non-C99-based standards] (ilogbf): Likewise.
15103         [non-C99-based standards] (log1pf): Likewise.
15104         [non-C99-based standards] (logbf): Likewise.
15105         [non-C99-based standards] (nextafterf): Likewise.
15106         [non-C99-based standards] (remainderf): Likewise.
15107         [non-C99-based standards] (rintf): Likewise.
15108         [non-C99-based standards] (scalbf): Likewise.
15109         [non-C99-based standards] (copysignl): Likewise.
15110         [non-C99-based standards] (exp2l): Likewise.
15111         [non-C99-based standards] (log2l): Likewise.
15112         [non-C99-based standards] (modfl): Allow.
15113         [non-C99-based standards] (erfl): Do not allow.
15114         [non-C99-based standards] (erfcl): Likewise.
15115         [non-C99-based standards] (gammal): Likewise.
15116         [non-C99-based standards] (hypotl): Likewise.
15117         [non-C99-based standards] (j0l): Likewise.
15118         [non-C99-based standards] (j1l): Likewise.
15119         [non-C99-based standards] (jnl): Likewise.
15120         [non-C99-based standards] (lgammal): Likewise.
15121         [non-C99-based standards] (tgammal): Likewise.
15122         [non-C99-based standards] (y0l): Likewise.
15123         [non-C99-based standards] (y1l): Likewise.
15124         [non-C99-based standards] (ynl): Likewise.
15125         [non-C99-based standards] (isnanl): Likewise.
15126         [non-C99-based standards] (acoshl): Likewise.
15127         [non-C99-based standards] (asinhl): Likewise.
15128         [non-C99-based standards] (atanhl): Likewise.
15129         [non-C99-based standards] (cbrtl): Likewise.
15130         [non-C99-based standards] (expm1l): Likewise.
15131         [non-C99-based standards] (ilogbl): Likewise.
15132         [non-C99-based standards] (log1pl): Likewise.
15133         [non-C99-based standards] (logbl): Likewise.
15134         [non-C99-based standards] (nextafterl): Likewise.
15135         [non-C99-based standards] (remainderl): Likewise.
15136         [non-C99-based standards] (rintl): Likewise.
15137         [non-C99-based standards] (scalbl): Likewise.
15138         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15139         [non-C99-based standards] (FP_*): Do not allow.
15140         [C99-based standards] (FP_*): Change to
15141         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15142         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15143         allow.
15144         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15145         (SIG_ERR): Likewise.
15146         [X/Open-based standards] (SIG_HOLD): Likewise.
15147         (SIG_IGN): Likewise.
15148         (SIGABRT): Use macro-int-constant.  Specify type.  Require
15149         positive value.
15150         (SIGFPE): Likewise.
15151         (SIGILL): Likewise.
15152         (SIGINT): Likewise.
15153         (SIGSEGV): Likewise.
15154         (SIGTER): Likewise.
15155         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15156         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15157         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15158         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15159         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15160         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15161         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15162         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15163         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15164         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15165         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15166         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15167         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15168         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15169         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15170         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15171         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15172         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15173         [X/Open-based standards] (SIGTRAP): Likewise.
15174         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15175         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15176         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15177         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15178         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15179         allow.
15180
15181 2012-05-08  Ian Wienand  <ianw@vmware.com>
15182
15183         [BZ #14080]
15184         * time/tzset.c (__tzset_parse_tz): Update default rules for
15185         daylight time changes in the Energy Policy Act of 2005.
15186
15187 2012-05-09  Andreas Jaeger  <aj@suse.de>
15188
15189         [BZ #13983]
15190         * elf/ldconfig.c (parse_conf): Change string to make clear that
15191         ldconfig only issued a warning if ld.so.conf does not exist.
15192
15193 2012-05-08  David S. Miller  <davem@davemloft.net>
15194
15195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15196         movxtod instead of popping the value on the stack.
15197
15198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15199
15200 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15201
15202         * config.h.in: Add HAVE_ARM_PCS_VFP.
15203
15204 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15205
15206         [BZ #13979]
15207         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15208         checking but the checks are disabled for any reason.
15209
15210 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15211
15212         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15213         and ELF64_R_TYPE with ELFW(R_TYPE).
15214
15215 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15216
15217         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15218         (ulimit): Likewise.
15219
15220         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15221         (settimeofday): Likewise.
15222
15223 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15224
15225         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15226         a struct th_u2 inside the union, and move tu_block/tu_code into
15227         a new th_u3 union of tu_block/tu_code inside of that.  Move
15228         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15229         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15230         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15231         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15232         (th_stuff): Change to th_u1.tu_stuff.
15233         (th_data): Define.
15234         (th_msg): Change to th_u1.th_u2.tu_data.
15235
15236 2012-05-07  David S. Miller  <davem@davemloft.net>
15237
15238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15239
15240         [BZ #14074]
15241         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15242         (SETUP_PIC_REG): Use it.
15243         (SETUP_PIC_REG_LEAF): Use it.
15244
15245 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15246
15247         [BZ #13885]
15248         [BZ #13923]
15249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15250         USE_AS_EXPM1L.
15251         (EXPL_FINITE): Likewise.
15252         (FLDLOG): Likewise.
15253         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15254         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15255         e_expl.S.
15256         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15257         USE_AS_EXPM1L.
15258         (EXPL_FINITE): Likewise.
15259         (FLDLOG): Likewise.
15260         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15261         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15262         e_expl.S.
15263         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15264         test of -max_value argument for long double.
15265         * sysdeps/i386/fpu/libm-test-ulps: Update.
15266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15267
15268 2012-05-06  David S. Miller  <davem@davemloft.net>
15269
15270         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15271         quad soft-float symbols whose references which are compiler
15272         generated.
15273         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15274
15275 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15276
15277         [BZ #13884]
15278         [BZ #13914]
15279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15280         USE_AS_EXP10L.
15281         (EXPL_FINITE): Likewise.
15282         (FLDLOG): Likewise.
15283         (c0): Likewise.
15284         (c1): Likewise.
15285         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15286         Adjust comments for base varying.
15287         (__expl_finite): Change alias to EXPL_FINITE.
15288         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15289         e_expl.S.
15290         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15291         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15292         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15293         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15294         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15295         USE_AS_EXP10L.
15296         (EXPL_FINITE): Likewise.
15297         (FLDLOG): Likewise.
15298         (c0): Likewise.
15299         (c1): Likewise.
15300         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15301         Adjust comments for base varying.
15302         (__expl_finite): Change alias to EXPL_FINITE.
15303         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15304         tests for bugs.
15305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15306
15307         [BZ #14064]
15308         * math/libm-test.inc (check_float_internal): Correct ulp
15309         calculation for subnormal expected results.
15310
15311 2012-05-06  Andreas Jaeger  <aj@suse.de>
15312
15313         * Makeconfig (+math-flags): New, set to -frounding-math.
15314         (+cflags): Add +math-flags so that all of glibc gets compiled with
15315         it.
15316
15317         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15318
15319 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15320
15321         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15322         Disable one test.
15323
15324         [BZ #13787]
15325         [BZ #13922]
15326         [BZ #14036]
15327         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15328         (__ieee754_expl): Allow for and saturate large arguments.
15329         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15330         (u_threshold): Likewise.
15331         (__exp): Call __ieee754_exp before checking for overflow and
15332         underflow.
15333         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15334         (u_threshold): Likewise.
15335         (__expf): Call __ieee754_expf before checking for overflow and
15336         underflow.
15337         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15338         (u_threshold): Likewise.
15339         (__expl): Call __ieee754_expl before checking for overflow and
15340         underflow.
15341         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15342         (__ieee754_expl): Allow for and saturate large arguments.
15343         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15344         missing overflow exception on overflow.
15345         (expm1_test): Do not allow missing overflow exception on overflow.
15346
15347         * sysdeps/i386/fpu/e_expl.c: Move to ...
15348         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15349         rather than using inline asm.
15350         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15351         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15352         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15353
15354         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15355         (nice): Likewise.
15356         (poll): Likewise.
15357         (signal): Likewise.
15358         (time): Likewise.
15359         (times): Likewise.
15360
15361 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15362
15363         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15364         sysdeps/unix/common/syscalls.list.
15365         (fchmod): Likewise.
15366         (fchown): Likewise.
15367         (ftruncate): Likewise.
15368         (getrusage): Likewise.
15369         (gettimeofday): Likewise.
15370         (setpgid): Likewise.
15371         (setregid): Likewise.
15372         (setreuid): Likewise.
15373         (sigaction): Likewise.
15374         (truncate): Likewise.
15375         (vhangup): Likewise.
15376         * sysdeps/unix/common/syscalls.list: Remove file.
15377         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15378         * sysdeps/unix/sysv/linux/Implies: Likewise.
15379
15380 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15381
15382         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15384         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15385         Moved to ...
15386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15387         Here.
15388         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15389         to ...
15390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15391         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15392         to ...
15393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15394         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15395         to ...
15396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15397         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15398         to ...
15399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15400         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15401         to ...
15402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15403         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15404         to ...
15405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15406         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15407         to ...
15408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15409         Here.
15410         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15411         to ...
15412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15413         Here.
15414         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15415         to ...
15416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15417         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15418         Moved to ...
15419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15420         Here.
15421         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15422         to ...
15423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15424
15425 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15426
15427         * sysdeps/unix/common/bits/dirent.h: Remove file.
15428         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15429
15430         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15431         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15432         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15433         * sysdeps/unix/bsd/isatty.c: Likewise.
15434         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15435         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15436         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15437
15438 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15439
15440         [BZ #13563]
15441         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15442         long double comparison inaccuracies.
15443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15445
15446 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15447
15448         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15449         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15450
15451 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15452
15453         [BZ #14049]
15454         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15455         nonzero digits before rounding a hex value.
15456         * stdlib/tst-strtod.c (tests): Add another test.
15457
15458 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15459
15460         * sysdeps/s390/fpu/libm-test-ulps: Update.
15461
15462 2012-05-03  Andreas Jaeger  <aj@suse.de>
15463
15464         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15465         does not get optimized out.
15466         (malloc_opt_barrier): New.
15467
15468 2012-05-03  Andreas Jaeger  <aj@suse.de>
15469             Roland McGrath  <roland@hack.frob.com>
15470
15471         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15472         intermediate file deletion.
15473         (generated): Add .symlist files.
15474
15475 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
15476
15477         [BZ #13775]
15478         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15479         Redirect under this condition.
15480         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15481         [__USE_GNU] (__dprintf_chk): Not under this condition.
15482         [__USE_GNU] (__vdprintf_chk): Likewise.
15483         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15484         under this condition.
15485         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15486         [__USE_XOPEN2K8] (dprintf): Define under this condition.
15487         [__USE_XOPEN2K8] (vdprintf): Likewise.
15488         [__USE_GNU] (__dprintf_chk): Not under this condition.
15489         [__USE_GNU] (__vdprintf_chk): Likewise.
15490         [__USE_GNU] (dprintf): Likewise.
15491         [__USE_GNU] (vdprintf): Likewise.
15492
15493 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15494
15495         * elf/Makefile (common-generated): Set this instead of generated for
15496         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15497         $(all-built-dso)-derived lists.
15498
15499 2012-05-03  Andreas Jaeger  <aj@suse.de>
15500
15501         * sysdeps/i386/fpu/libm-test-ulps: Update.
15502
15503         * FAQ: Removed.
15504         * FAQ.in: Likewise.
15505         * scripts/gen-FAQ.pl: Likewise.
15506         * manual/install.texi (Installation): Point to online location of
15507         FAQ.
15508         * Makefile (files-for-dist): Remove FAQ.
15509         (FAQ): Remove.
15510
15511 2012-05-02  Allan McRae  <allan@archlinux.org>
15512
15513         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15514         (LDFLAGS-reldepmod5.so): Likewise.
15515         (LDFLAGS-reldep6mod1.so): Likewise.
15516         (LDFLAGS-reldep6mod4.so): Likewise.
15517         (LDFLAGS-reldep8mod3.so): Likewise.
15518         (LDFLAGS-unload4mod1.so): Likewise.
15519         (LDFLAGS-unload4mod2.so): Likewise.
15520         (LDFLAGS-tst-initorder): Likewise.
15521         (LDFLAGS-tst-initordera2.so): Likewise.
15522         (LDFLAGS-tst-initordera3.so): Likewise.
15523         (LDFLAGS-tst-initordera4.so): Likewise.
15524         (LDFLAGS-tst-initorderb2.so): Likewise.
15525         (LDFLAGS-noload): Likewise.
15526         (LDFLAGS-next): Likewise.
15527         (LDFLAGS-order2mod1.so): Likewise.
15528         (LDFLAGS-order2mod2.so): Likewise.
15529         (LDFLAGS-tst-initorder2): Likewise.
15530         (LDFLAGS-tst-initorder2a.so): Likewise.
15531         (LDFLAGS-tst-initorder2b.so): Likewise.
15532         (LDFLAGS-tst-initorder2c.so): Likewise.
15533         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15534
15535 2012-05-02  David S. Miller  <davem@davemloft.net>
15536
15537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15538
15539 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15540
15541         [BZ #14055]
15542         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15543
15544 2012-05-02  Andreas Jaeger  <aj@suse.de>
15545
15546         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15547         since we manipulate rounding mode.
15548         (CPPFLAGS-test-idouble.c): Likewise.
15549         (CPPFLAGS-test-ifloat.c): Likewise.
15550         (CFLAGS-test-ldouble.c): Likewise.
15551         (CFLAGS-test-double.c): Likewise.
15552         (CFLAGS-test-float.c): Likewise.
15553         (CFLAGS-test-misc.c): Likewise.
15554         (CFLAGS-test-test-fenv.c): Likewise.
15555
15556 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15557
15558         [BZ #2550]
15559         [BZ #2570]
15560         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15561         comparisons to determine direction to adjust input.
15562
15563 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15564
15565         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15566         output to the target.
15567
15568         * scripts/localplt.awk: New file.
15569         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15570         (check-localplt-CFLAGS): Variable removed.
15571         ($(all-built-dso:=.jmprel)): New static pattern rule.
15572         (generated): Add those targets.
15573         (localplt-built-dso): New variable.
15574         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15575
15576         * elf/check-localplt.c: File removed.
15577
15578         * scripts/check-execstack.awk: New file.
15579         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15580         (check-execstack-CFLAGS): Variable removed.
15581         ($(objpfx)check-execstack.h): Target removed.
15582         ($(objpfx)execstack-default): New target.
15583         (generated): Add that instead of check-execstack.h.
15584         ($(all-built-dso:=.phdr)): New static pattern rule.
15585         (generated): Add those targets.
15586         * elf/check-execstack.c: File removed.
15587
15588         * scripts/check-textrel.awk: New file.
15589         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15590         (check-textrel-CFLAGS): Variable removed.
15591         (all-built-dso): Use := to define.o
15592         ($(all-built-dso:=.dyn)): New static pattern rule.
15593         (generated): Add those targets.
15594         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15595         * config.make.in (READELF): New substituted variable.
15596         * elf/check-textrel.c: File removed.
15597
15598 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15599
15600         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15601         allow.
15602         * conform/data/ctype.h-data [C99-based standards] (isblank):
15603         Expect function.
15604         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15605         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15607         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15608         Specify type.  Require positive value.
15609         (EILSEQ): Likewise.
15610         (ERANGE): Likewise.
15611         [ISO || POSIX] (EILSEQ): Do not expect.
15612         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15613         Specify type.  Require positive value.
15614         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15615         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15616         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15617         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15618         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15619         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15620         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15621         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15622         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15623         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15624         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15625         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15626         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15627         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15628         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15629         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15630         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15631         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15632         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15633         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15634         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15635         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15636         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15637         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15638         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15639         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15640         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15641         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15642         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15643         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15644         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15645         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15646         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15647         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15648         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15649         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15650         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15651         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15652         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15653         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15654         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15655         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15656         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15657         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15658         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15659         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15660         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15661         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15662         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15663         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15664         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15665         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15666         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15667         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15668         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15669         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15670         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15671         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15672         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15673         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15674         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15675         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15676         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15677         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15678         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15679         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15680         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15681         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15682         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15683         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15684         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15685         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15686         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15687         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15688         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15689         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15690         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15691         Require >= 2.
15692         (FLT_ROUNDS): Expect as macro, not constant.
15693         (FLT_MANT_DIG): Use macro-int-constant.
15694         (DBL_MANT_DIG): Likewise.
15695         (LDBL_MANT_DIG): Likewise.
15696         (FLT_DIG): Likewise.
15697         (DBL_DIG): Likewise.
15698         (LDBL_DIG): Likewise.
15699         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15700         (DBL_MIN_EXP): Likewise.
15701         (LDBL_MIN_EXP): Likewise.
15702         (FLT_MAX_EXP): Use macro-int-constant.
15703         (DBL_MAX_EXP): Likewise.
15704         (LDBL_MAX_EXP): Likewise.
15705         (FLT_MAX_10_EXP): Likewise.
15706         (DBL_MAX_10_EXP): Likewise.
15707         (LDBL_MAX_10_EXP): Likewise.
15708         (FLT_MAX): Use macro-constant.
15709         (DBL_MAX): Likewise.
15710         (LDBL_MAX): Likewise.
15711         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15712         (DBL_EPSILON): Likewise.
15713         (LDBL_EPSILON): Likewise.
15714         (FLT_MIN): Likewise.
15715         (DBL_MIN): Likewise.
15716         (LDBL_MIN): Likewise.
15717         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15718         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15719         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15720         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15721         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15722         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15723         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15724         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15725         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15726         [ISO11] (FLT_TRUE_MIN): Likewise.
15727         [ISO11] (LDBL_TRUE_MIN): Likewise.
15728         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15729         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15730         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15731         (SCHAR_MAX): Likewise.
15732         (UCHAR_MAX): Likewise.
15733         (CHAR_MIN): Likewise.
15734         (CHAR_MAX): Likewise.
15735         (MB_LEN_MAX): Use macro-int-constant.
15736         (SHRT_MIN): Use macro-int-constant.  Specify type.
15737         (SHRT_MAX): Likewise.
15738         (USHRT_MAX): Likewise.
15739         (INT_MAX): Likewise.
15740         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15741         bound negative.
15742         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15743         bound with "U".
15744         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15745         bound with "L".
15746         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15747         bound negative.  Suffix upper bound with "L".
15748         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15749         bound with "UL".
15750         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15751         Specify type.
15752         [C99-based standards] (LLONG_MAX): Likewise.
15753         [C99-based standards] (ULLONG_MAX): Likewise.
15754         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15755         == 0.
15756         [ISO11] (max_align_t): Require type.
15757         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15758
15759         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15760         from $CFLAGS, without defining away __attribute__ calls.
15761         (checknamespace): Use $CFLAGS_namespace.
15762
15763         * conform/conformtest.pl (@keywords): Only include C99 keywords
15764         for standards based on C99 or C11.
15765
15766         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15767         Disable tests.
15768         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15769         UNIX98]: Likewise.
15770
15771         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15772         usability of symbols in #if.
15773
15774         * conform/conformtest.pl: If macro or constant types start
15775         "promoted:", expect the symbol to be of the following type
15776         promoted by the integer promotions.
15777
15778         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15779         in one place.  Also handle "macro-constant".
15780
15781         * conform/conformtest.pl: Only accept expected macro values with
15782         "==".  Parse all "macro" lines in one place.
15783         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15784
15785         * conform/conformtest.pl: Handle braced types on "constant" lines
15786         instead of handling "typed-constant".
15787         * conform/data/signal.h-data: Use "constant" instead of
15788         "typed-constant".
15789
15790         * conform/conformtest.pl: Handle "optional-" at start of lines in
15791         one place rather than duplicating several cases.  Handle each
15792         format of "macro" line with initial "optional-".
15793
15794         * conform/conformtest.pl: Only accept expected constant or
15795         optional-constant values with "==".  Parse all "constant" lines in
15796         one place.  Parse all "optional-constant" lines in one place.
15797         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15798         * conform/data/fmtmsg.h-data: Likewise.
15799         * conform/data/netinet/in.h-data: Likewise.
15800         * conform/data/tar.h-data: Likewise.
15801         * conform/data/limits.h-data: Use "==" form on "constant" and
15802         "optional-constant" lines.
15803
15804         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15805         Use -std=c99 for XOPEN2K.
15806         (@knownproblems): Remove.
15807         (newtoken): Don't check %isknown.
15808
15809         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15810         Do not expect macro.
15811         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15812         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15813         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15814         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15815         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15816         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15817         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15818         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15819         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15820         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15821         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15822         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15823         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15824         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15825         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15826         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15827         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15828         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15829         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15830         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15831         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15832         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15833         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15834         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15835         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15836         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15837         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15838         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15839         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15840         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15841         [XPG3] (acosh): Likewise.
15842         [XPG3] (asinh): Likewise.
15843         [XPG3] (atanh): Likewise.
15844         [XPG3] (cbrt): Likewise.
15845         [XPG3] (expm1): Likewise.
15846         [XPG3] (ilogb): Likewise.
15847         [XPG3] (log1p): Likewise.
15848         [XPG3] (logb): Likewise.
15849         [XPG3] (nextafter): Likewise.
15850         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15851         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15852         [XPG3] (remainder): Likewise.
15853         [XPG3] (rint): Likewise.
15854         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15855         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15856         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15857         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15858         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15859         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15860         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15861         [UNIX98 || XOPEN2K] (scalb): Expect.
15862         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15863         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15864         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15865         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15866         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15867         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15868         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15869         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15870         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15871         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15872         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15873         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15874         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15875         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15876         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15877         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15878         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15879         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15880         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15881         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15882         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15883         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15884         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15885         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15886         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15887         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15888         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15889         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15890         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15891         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15892         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15893         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15894         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15895         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15896         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15897         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15898         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15899         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15900         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15901         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15902         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15903         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15904         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15905         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15906         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15907         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15908         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15909         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15910         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15911         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15912         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15913         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15914         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15915         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15916         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15917         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15918         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15919         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15920         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15921         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15922         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15923         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15924         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15925         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15926         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15927         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15928         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15929         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15930         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15931         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15932         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15933         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15934         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15935         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15936         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15937         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15938         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15939         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15940         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15941         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15942         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15943         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15944         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15945         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15946         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15947         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15948         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15949         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15950         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15951         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15952         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15953         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15954         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15955         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15956         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15957         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15958         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15959         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15960         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15961         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15962         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15963         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15964         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15965         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15966         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15967         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15968         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15969         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15970         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15971         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15972         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15973         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15974         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15975         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15976         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15977         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15978         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15979         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15980         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15981         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15982         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15983         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15984         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15985         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15986         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15987         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15988         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15989         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15990         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15991         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15992         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15993         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15994         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15995         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15996         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15997         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15998         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15999
16000         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16001         _XOPEN_SOURCE_EXTENDED for XPG4.
16002
16003         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16004
16005         * Makeconfig (localtime): Remove variable.
16006         (inst_localtime-file): Likewise.
16007
16008 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16009
16010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16011         Update.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16013         Update.
16014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16015         Update.
16016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16017         Update.
16018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16019         Update.
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16021         Update.
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16023         Update.
16024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16025         Update.
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16027         Update.
16028
16029 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
16030
16031         [BZ #2550]
16032         [BZ #2570]
16033         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16034         comparisons to determine direction to adjust input.
16035         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16036         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16037         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16038         Likewise.
16039         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16040         Likewise.
16041         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16042         Likewise.
16043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16044         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16045         Likewise.
16046         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16047         Likewise.
16048         * math/libm-test.inc (nexttoward_test): Add more tests.
16049
16050 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16051
16052         [BZ #14040]
16053         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16054         in version GLIBC_2.1, not GLIBC_2.0.
16055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16056         Likewise.
16057
16058 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
16059
16060         [BZ #13942]
16061         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16062         (1 - x) * (1 + x).
16063         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16064         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16065         * math/libm-test.inc (acos_test): Add more tests.
16066         (asin_test): Likewise.
16067         * sysdeps/i386/fpu/libm-test-ulps: Update.
16068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16069
16070         [BZ #14034]
16071         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16072         of square root.
16073         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16074         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16075         * math/libm-test.inc (acos_test_tonearest): New function.
16076         (acos_test_towardzero): Likewise.
16077         (acos_test_downward): Likewise.
16078         (acos_test_upward): Likewise.
16079         (asin_test_tonearest): Likewise.
16080         (asin_test_towardzero): Likewise.
16081         (asin_test_downward): Likewise.
16082         (asin_test_upward): Likewise.
16083         (main): Call the new functions.
16084         * sysdeps/i386/fpu/libm-test-ulps: Update.
16085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16086
16087         [BZ #13884]
16088         [BZ #13924]
16089         * math/e_exp10.c: Include <float.h>.
16090         (__ieee754_exp10): Handle underflow here rather than multiplying
16091         large negative argument by M_LN10.
16092         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16093         of __ieee754_expf.
16094         * math/e_exp10l.c: Include <float.h>.
16095         (__ieee754_exp10l): Handle underflow here rather than multiplying
16096         large negative argument by M_LN10l.
16097         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
16098         spurious overflow exception on underflow.
16099
16100 2012-04-29  Marek Polacek  <polacek@redhat.com>
16101
16102         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16103         (__fortify_function): New macro.
16104         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16105         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16106         __extern_always_inline.
16107         * libio/bits/stdio2.h: Likewise.
16108         * libio/bits/stdio.h: Likewise.
16109         * string/string.h: Likewise.
16110         * string/bits/string3.h: Likewise.
16111         * include/stdio.h: Likewise.
16112         * stdlib/bits/stdlib.h: Likewise.
16113         * stdlib/stdlib.h: Likewise.
16114         * rt/bits/mqueue2.h: Likewise.
16115         * rt/mqueue.h: Likewise.
16116         * posix/bits/unistd.h: Likewise.
16117         * posix/unistd.h: Likewise.
16118         * io/bits/poll2.h: Likewise.
16119         * io/bits/fcntl2.h: Likewise.
16120         * io/fcntl.h: Likewise.
16121         * io/sys/poll.h: Likewise.
16122         * misc/bits/syslog.h: Likewise.
16123         * misc/bits/syslog-ldbl.h: Likewise.
16124         * misc/sys/syslog.h: Likewise.
16125         * socket/bits/socket2.h: Likewise.
16126         * socket/sys/socket.h: Likewise.
16127         * debug/tst-chk1.c: Likewise.
16128         * wcsmbs/bits/wchar2.h: Likewise.
16129         * wcsmbs/bits/wchar-ldbl.h: Likewise.
16130         * wcsmbs/wchar.h: Likewise.
16131
16132 2012-04-29  Andreas Jaeger  <aj@suse.de>
16133
16134         * Makerules (tests): Remove enable-check-abi protection.
16135         (check-abi-warn): Remove.
16136         (check-abi-%): Remove check-abi-warn usage.
16137
16138         * configure.in: Remove check-abi configure option.
16139         * configure: Regenerated.
16140         * config.make.in (enable-check-abi): Remove.
16141
16142 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
16143
16144         [BZ #14033]
16145         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16146         double functions to double *_finite functions.
16147
16148         [BZ #13941]
16149         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16150         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16151         LDBL_MIN_EXP.
16152         * stdio-common/Makefile (tests): Add tst-sprintf3.
16153         * stdio-common/tst-sprintf3.c: New file.
16154
16155         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16156         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16157
16158 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16159
16160         * conform/conformtest.pl: Remove duplicate typed-constant
16161         handling.
16162
16163 2012-04-28  David S. Miller  <davem@davemloft.net>
16164
16165         * Makerules (%.abilist): Add vpath on sysdep_dirs.
16166         (check-abi-%): Remove AWK script prerequisite and explicit
16167         abilist directory.
16168         (check-abi): Rewrite to just diff the symlist with the abilist.
16169         (config-tls, config-abi-config): Delete, no longer used.
16170         (update-abi-%): Remove AWK script and explicit abilist directory.
16171         (update-abi): Rewrite to simply compare and conditionally copy the
16172         symlist and the sysdep abilist file.  Remove update-abi-config
16173         checks.
16174         * abilist/ld.abilist: Remove.
16175         * abilist/libBrokenLocale.abilist: Remove.
16176         * abilist/libanl.abilist: Remove.
16177         * abilist/libcrypt.abilist: Remove.
16178         * abilist/libdl.abilist: Remove.
16179         * abilist/librt.abilist: Remove.
16180         * abilist/libthread_db.abilist: Remove.
16181         * abilist/libutil.abilist: Remove.
16182         * scripts/extract-abilist.awk: Remove.
16183         * scripts/merge-abilist.awk: Remove.
16184         * sysdeps/generic/libcidn.abilist: New file.
16185         * sysdeps/generic/libnss_compat.abilist: New file.
16186         * sysdeps/generic/libnss_db.abilist: New file.
16187         * sysdeps/generic/libnss_dns.abilist: New file.
16188         * sysdeps/generic/libnss_files.abilist: New file.
16189         * sysdeps/generic/libnss_hesiod.abilist: New file.
16190         * sysdeps/generic/libnss_nis.abilist: New file.
16191         * sysdeps/generic/libnss_nisplus.abilist: New file.
16192         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16193         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16194         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16195         file.
16196         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16197         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16198         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16199         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16200         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16201         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16202         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16203         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16204         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16205         file.
16206         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16207         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16208         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16209         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16210         file.
16211         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16212         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16213         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16214         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16215         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16216         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16217         file.
16218         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16219         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16220         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16221         file.
16222         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16224         New file.
16225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16226         New file.
16227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16228         New file.
16229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16230         New file.
16231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16232         New file.
16233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16234         New file.
16235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16236         New file.
16237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16238         New file.
16239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16240         New file.
16241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16242         New file.
16243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16244         New file.
16245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16246         New file.
16247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16248         New file.
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16250         file.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16252         New file.
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16254         New file.
16255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16256         file.
16257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16258         New file.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16260         New file.
16261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16262         file.
16263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16264         New file.
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16266         New file.
16267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16268         New file.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16270         New file.
16271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16272         New file.
16273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16274         New file.
16275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16277         file.
16278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16279         New file.
16280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16281         file.
16282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16283         file.
16284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16285         file.
16286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16287         file.
16288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16289         file.
16290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16291         New file.
16292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16293         file.
16294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16295         file.
16296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16297         New file.
16298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16299         file.
16300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16302         file.
16303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16304         New file.
16305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16306         file.
16307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16308         file.
16309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16310         file.
16311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16312         file.
16313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16314         file.
16315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16316         New file.
16317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16318         file.
16319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16320         file.
16321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16322         New file.
16323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16324         file.
16325         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16326         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16327         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16328         file.
16329         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16330         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16331         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16332         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16333         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16334         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16335         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16336         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16337         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16338         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16341         file.
16342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16343         New file.
16344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16345         file.
16346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16347         file.
16348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16349         file.
16350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16351         file.
16352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16353         file.
16354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16355         New file.
16356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16357         New file.
16358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16359         file.
16360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16361         New file.
16362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16363         file.
16364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16366         file.
16367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16368         New file.
16369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16370         file.
16371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16372         file.
16373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16374         file.
16375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16376         file.
16377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16378         file.
16379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16380         New file.
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16382         New file.
16383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16384         file.
16385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16386         New file.
16387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16388         file.
16389
16390 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16391
16392         * conform/conformtest.pl: Fix typo in handling typed-constant from
16393         allow-header.
16394
16395 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16396
16397         * README: Cut down references to pre-2.6 Linux kernels and
16398         Linuxthreads.  Update lists of configurations in libc and ports
16399         and sort alphabetically.  Say "or newer" with Linux kernel version
16400         requirements.
16401
16402         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16403
16404 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16405
16406         [BZ #887]
16407         * math/libm-test.inc (logb_test_downward): New test to expose
16408         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16409         rounding mode.
16410
16411 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16412
16413         [BZ #14027]
16414         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16415         to be done.
16416         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16417         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16418
16419 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16420
16421         * sysdeps/unix/i386/brk.S: Remove file.
16422         * sysdeps/unix/i386/dl-brk.S: Likewise.
16423         * sysdeps/unix/i386/pipe.S: Likewise.
16424         * sysdeps/unix/i386/sigreturn.S: Likewise.
16425         * sysdeps/unix/i386/syscall.S: Likewise.
16426         * sysdeps/unix/i386/vfork.S: Likewise.
16427         * sysdeps/unix/i386/wait.S: Likewise.
16428
16429         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16430         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16431
16432         * configure.in (arm*-none*): Do not allow without
16433         --enable-hacker-mode.
16434         (netbsd*): Remove case setting base_os.
16435         (386bsd*): Likewise.
16436         (freebsd*): Likewise.
16437         (bsdi*): Likewise.
16438         (osf*): Likewise.
16439         (sunos*): Likewise.
16440         (ultrix*): Likewise.
16441         (newsos*): Likewise.
16442         (dynix*): Likewise.
16443         (*bsd*): Likewise.
16444         (sysv*): Likewise.
16445         (isc*): Likewise.
16446         (esix*): Likewise.
16447         (sco*): Likewise.
16448         (minix*): Likewise.
16449         (irix4*): Likewise.
16450         (irix6*): Likewise.
16451         (solaris[2-9]*): Likewise.
16452         (none): Likewise.
16453         * configure: Regenerated.
16454
16455 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16456
16457         [BZ #11521]
16458         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16459         overflow or cancellation in calculating denominator.
16460         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16462         down expression to avoid unexpected rounding in newer GCCs.
16463         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16464
16465 2012-04-26  David S. Miller  <davem@davemloft.net>
16466
16467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16468         long-double compat symbols.
16469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16482
16483 2012-04-25  David S. Miller  <davem@davemloft.net>
16484
16485         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16486         HWCAP_* values only after the memory barriers have been defined.
16487         (atomic_full_barrier): Define.
16488         (atomic_read_barrier): Define.
16489         (atomic_write_barrier): Define.
16490
16491 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16492
16493         * shlib-versions: Add libgcc_s version information.
16494         * sysdeps/generic/libgcc_s.h: Remove.
16495         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16496         libgcc_s.h.
16497         * sysdeps/gnu/unwind-resume.c: Likewise.
16498         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16499
16500 2012-04-25  David S. Miller  <davem@davemloft.net>
16501
16502         * sysdeps/unix/sparc/brk.S: Delete.
16503         * sysdeps/unix/sparc/dl-brk.S: Delete.
16504         * sysdeps/unix/sparc/pipe.S: Delete.
16505         * sysdeps/unix/sparc/sysdep.S: Delete.
16506         * sysdeps/unix/sparc/sysdep.h: Delete.
16507         * sysdeps/unix/sparc/vfork.S: Delete.
16508         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16509         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16511         ret_ERRVAL, r0, r1, MOVE): Define.
16512         (JUMPTARGET): Remove.
16513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16514         sysdeps/unix/sparc/sysdep.h
16515         (ENTRY, END): Remove.
16516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16517
16518 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16519
16520         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16521         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16522         -DIS_IN_build.
16523
16524         * timezone/README: Update upstream location and email address for
16525         tzcode and tzdata.
16526         * timezone/zdump.c: Update from tzcode 2012b.
16527         * timezone/zic.c: Likewise.
16528
16529         * configure.in (libc_cv_as_needed): Remove test.
16530         * configure: Regenerated.
16531         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16532         conditional definition.
16533         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16534         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16535         * config.make.in (have-as-needed): Remove variable.
16536
16537 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16538             Paul Pluzhnikov  <ppluzhnikov@google.com>
16539
16540         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16541         strings correctly.
16542
16543 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16544
16545         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16546         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16547         * sysdeps/sh/strlen.S: Likewise.
16548
16549 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16550
16551         * sysdeps/unix/fork.S: Remove file.
16552         * sysdeps/unix/i386/fork.S: Likewise.
16553         * sysdeps/unix/sparc/fork.S: Likewise.
16554
16555         * sysdeps/unix/system.c: Remove file.
16556         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16557
16558         * sysdeps/unix/getegid.S: Remove file.
16559         * sysdeps/unix/geteuid.S: Likewise.
16560
16561 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16562
16563         * scripts/check-localplt.awk: New file.
16564         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16565         of diff.
16566         * scripts/data/localplt-generic.data: Add a comment.
16567
16568         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16569         NODE when __dir_mkfile failed.
16570         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16571         Reported by Ludovic Courtès <ludo@gnu.org>.
16572
16573 2012-04-24  Andreas Jaeger  <aj@suse.de>
16574
16575         * Makerules (common-clean): Also remove gen-as-const-headers
16576         files.
16577
16578 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16579
16580         * Makerules (native-compile): Do not change working directory for
16581         build.  Use $(OUTPUT_OPTION) in command.
16582         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16583
16584 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16585
16586         [BZ #13886]
16587         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16588         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16589         * math/libm-test.inc (floor_test): Add more tests.
16590         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16591
16592 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16593
16594         * sysdeps/unix/getdents.c: Remove file.
16595         * sysdeps/unix/sysv/getdents.c: Likewise.
16596         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16597
16598         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16599         sysdeps/unix/mman/syscalls.list.
16600         (mmap): Likewise.
16601         (mprotect): Likewise.
16602         (msync): Likewise.
16603         (munmap): Likewise.
16604         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16605         * sysdeps/unix/mman/syscalls.list: Remove.
16606         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16607
16608         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16609         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16610         * configure: Regenerated.
16611         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16612         $(libgcc_s_suffix).
16613         * config.make.in (libgcc_s_suffix): Remove variable.
16614
16615 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16616
16617         * sysdeps/unix/sysv/gethostname.c: Move to ...
16618         * sysdeps/posix/gethostname.c: ... here.
16619
16620         * sysdeps/unix/execve.S: Remove file.
16621
16622         * sysdeps/unix/_exit.S: Remove file.
16623
16624 2012-04-23  Andreas Jaeger  <aj@suse.de>
16625
16626         [BZ #13739]
16627         * manual/Makefile: Remove make dist support, there's no
16628         need for a stand-alone documentation tar ball.
16629         (TEXI2DVI): Define always, it's not in Makeconfig.
16630         (dist): Removed.
16631         (tar-it): Removed.
16632         (edition): Removed.
16633         (glibc-doc-$(edition).tar): Removed
16634         (%.Z): Removed.
16635         (%.gz): Removed.
16636         (%.uu): Removed.
16637         (ETAGS): Remove, it's in Makeconfig.
16638         (move-if-change): Remove, it's in Makeconfig.
16639
16640 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16641
16642         [BZ #13970]
16643         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16644         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16645         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16646         (strtod_l, strtof_l, strtold_l): Remove __wur.
16647         It is not necessarily an error to ignore strtol's return value.
16648         One can reliably look at the stored endptr to decide whether
16649         the number had valid syntax.
16650
16651 2012-04-21  Andreas Jaeger  <aj@suse.de>
16652
16653         [BZ #13739]
16654         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16655
16656 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16657
16658         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16659         * sysdeps/unix/sysv/Versions: Remove file.
16660
16661 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16662
16663         [BZ #13927]
16664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16665
16666 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16667
16668         [BZ #7064]
16669         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16670         version from __vm86.
16671
16672 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16673
16674         * sysdeps/unix/common/lxstat.c: Remove file.
16675         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16676
16677         * sysdeps/unix/sysv/Makefile: Remove file.
16678
16679         * sysdeps/unix/sysv/direct.h: Remove file.
16680
16681         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16682         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16683         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16684         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16685         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16686         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16687         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16688
16689         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16690
16691         * sysdeps/unix/xmknod.c: Remove file.
16692         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16693
16694         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16695
16696         * sysdeps/unix/sysv/i386/time.S: Remove file.
16697
16698         * sysdeps/unix/fxstat.c: Remove file.
16699         * sysdeps/unix/xstat.c: Likewise.
16700         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16701
16702         * sysdeps/unix/sysv/sigaction.c: Remove file.
16703
16704         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16705         (sysdep_headers): Remove variable.
16706         [termio.h not in sysdep_headers] (generated): Likewise.
16707         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16708         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16709         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16710         * sysdeps/unix/sysv/tcflow.c: Likewise.
16711         * sysdeps/unix/sysv/tcflush.c: Likewise.
16712         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16713         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16714         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16715         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16716         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16717
16718         * sysdeps/unix/siglist.c: Remove file.
16719
16720         * sysdeps/unix/getppid.S: Remove file.
16721
16722         * sysdeps/unix/mkdir.c: Remove file.
16723         * sysdeps/unix/rmdir.c: Likewise.
16724
16725 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16726
16727         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16728         ERR_MAX value.
16729         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16730         errlist-compat value.
16731
16732 2012-04-18  David S. Miller  <davem@davemloft.net>
16733
16734         * sysdeps/generic/memcopy.h (reg_char): Delete.
16735         * debug/strcat_chk.c: Use char, not reg_char.
16736         * debug/strcpy_chk.c: Likewise.
16737         * debug/strncat_chk.c: Likewise.
16738         * debug/strncpy_chk.c: Likewise.
16739         * string/memchr.c: Likewise.
16740         * string/memrchr.c: Likewise.
16741         * string/rawmemchr.c: Likewise.
16742         * string/strcat.c: Likewise.
16743         * string/strchr.c: Likewise.
16744         * string/strchrnul.c: Likewise.
16745         * string/strcmp.c: Likewise.
16746         * string/strcpy.c: Likewise.
16747         * string/strncat.c: Likewise.
16748         * string/strncmp.c: Likewise.
16749         * string/strncpy.c: Likewise.
16750
16751 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16752
16753         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16754         __builtin_memcopy is called when src and dest ranges are known to not
16755         overlap.
16756
16757 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16758
16759         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16760         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16761         fwd_align_merge macro call.
16762         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16763         bwd_align_merge macro call.
16764         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16765
16766 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16767
16768         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16769         bwd_align_merge macros.
16770         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16771         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16772         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16773
16774 2012-04-18  David S. Miller  <davem@davemloft.net>
16775
16776         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16777
16778 2012-04-18  Andreas Jaeger  <aj@suse.de>
16779
16780         [BZ# 6794]
16781         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16782         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16783         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16784
16785         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16786         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16787         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16788
16789         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16790         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16791         Adjust for changed ldbl-128 files.
16792
16793         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16794         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16795         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16796
16797 2012-04-17  David S. Miller  <davem@davemloft.net>
16798
16799         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16800
16801 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16802
16803         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16804         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16805         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16806         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16807         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16808         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16809
16810 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16811
16812         [BZ #6794]
16813         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16814         * math/libm-test.inc: Add ilogb errno and exception tests.
16815         * math/w_ilogb.c: New file: ilogb wrapper.
16816         * math/w_ilogbf.c: New file: ilogbf wrapper.
16817         * math/w_ilogbl.c: New file: ilogbl wrapper.
16818         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16819         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16820         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16821         exception being thrown with 0.0 as argument.
16822         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16823         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16824         exception being thrown with 0.0 as argument.
16825         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16826         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16827         exception being thrown with 0.0 as argument.
16828         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16829         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16830         exception being thrown with 0.0 as argument.
16831         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16832         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16833         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16834         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16835         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16836         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16837         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16838         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16839         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16840
16841 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16842
16843         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16844         with altivec.
16845
16846 2012-04-16  Marek Polacek  <polacek@redhat.com>
16847
16848         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16849
16850 2012-04-16  Marek Polacek  <polacek@redhat.com>
16851
16852         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16853         operands of fdivp instruction.
16854
16855 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16856
16857         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16858         * elf/tst-auditmod3b.c: Likewise.
16859         * elf/tst-auditmod4b.c: Likewise.
16860         * elf/tst-auditmod5b.c: Likewise.
16861         * elf/tst-auditmod6b.c: Likewise.
16862         * elf/tst-auditmod6c.c: Likewise.
16863         * elf/tst-auditmod7b.c: Likewise.
16864         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16865         * sysdeps/x86_64/preconfigure.in: Likewise.
16866         * sysdeps/x86_64/preconfigure: Regenerated.
16867
16868 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16869
16870         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16871         __ILP32__.
16872
16873 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16874
16875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16876         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16877
16878 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16879
16880         [BZ #13973]
16881         * locale/iso-639.def: Fix gl language name. Spotted by
16882         Yaron Shahrabani.
16883
16884 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16885
16886         [BZ #2074]
16887         * libio/libio.h (__io_write_fn): Update comment.
16888
16889 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16890
16891         [BZ #2074]
16892         * stdio.texi (Hook Functions): The user provided writer function
16893         is not allowed to return -1.
16894
16895 2012-04-11  David S. Miller  <davem@davemloft.net>
16896
16897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16898
16899 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16900
16901         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16902         Add a leading slash to rtkaio.
16903
16904 2012-04-11  Jim Meyering  <meyering@redhat.com>
16905
16906         [BZ #11959]
16907         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16908         It is not necessarily an error to ignore fwrite's return
16909         value.  One can reliably use ferror to test for errors after
16910         the fact.
16911
16912 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16913
16914         * bits/types.h (__snseconds_t): New type.
16915         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16916
16917         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16919         (__SNSECONDS_T_TYPE): Likewise.
16920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16921         (__SNSECONDS_T_TYPE): Likewise.
16922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16923         (__SNSECONDS_T_TYPE): Likewise.
16924
16925 2012-04-10  Andreas Jaeger  <aj@suse.de>
16926
16927         [BZ #2636]
16928         * manual/time.texi (Processor Time): Return type of times is
16929         elapsed real time since an arbitrary point in the past.
16930         (CPU Time): Move CLK_TCK from here...
16931         (Processor Time): ...to here.  Correct description.
16932         * manual/conf.texi (Constants for Sysconf): Correct description of
16933         _SC_CLK_TCK.
16934
16935 2012-04-10  David S. Miller  <davem@davemloft.net>
16936
16937         [BZ #13967]
16938         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16939         where the is a gap between DT_REL(A) and DT_JMPREL.
16940
16941 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16942
16943         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16944         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16945         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16946
16947 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16948
16949         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16950         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16951         (dl_main): Handle --inhibit-cache.
16952         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16953         _dl_inhibit_cache.
16954         * elf/dl-load.c (_dl_map_object): Use it.
16955         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16956
16957 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16958
16959         [BZ #13872]
16960         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16961         (__ieee754_powl): Saturate large exponents rather than testing for
16962         overflow of y*log2(x).
16963         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16964         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16965         exceptions.
16966
16967         [BZ #11521]
16968         * math/s_ctan.c: Include <float.h>.
16969         (__ctan): Avoid internal overflow or cancellation in calculating
16970         denominator.
16971         * math/s_ctanf.c: Likewise.
16972         * math/s_ctanl.c: Likewise.
16973         * math/s_ctanh.c: Likewise.
16974         * math/s_ctanhf.c: Likewise.
16975         * math/s_ctanhl.c: Likewise.
16976         * math/libm-test.inc (ctan_test): Add more tests.
16977         (ctanh_test): Likewise.
16978         * sysdeps/i386/fpu/libm-test-ulps: Update.
16979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16980
16981 2012-04-09  Andreas Jaeger  <aj@suse.de>
16982
16983         [BZ #6894]
16984         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16985         is an optional BSD extension.
16986
16987         [BZ #10254]
16988         * manual/stdio.texi (Opening Streams): Document additional fopen
16989         parameters.
16990
16991 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16992
16993         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16994         %eax without telling the compiler.
16995
16996 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16997
16998         [BZ # 13963]
16999         * manual/install.texi: Use sourceware.org.
17000
17001 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
17002
17003         [BZ #13873]
17004         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17005         (__ieee754_pow): Generate overflow and underflow using huge*huge
17006         and tiny*tiny rather than just returning constant infinity or zero
17007         for large exponents.
17008         * math/libm-test.inc (pow_test): Require overflow exceptions for
17009         applicable cases of large exponents.
17010
17011         [BZ #706]
17012         * sysdeps/i386/fpu/e_pow.S (p10): New object.
17013         (__ieee754_pow): Use iterative multiplication algorithm only for
17014         integer exponents with absolute value below 1024.  Check for odd
17015         integer exponents when using algorithm for real exponents.
17016         * math/libm-test.inc (pow_test): Add more tests.
17017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17018
17019 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
17020
17021         [BZ #13705]
17022         * math/libm-test.inc (exp_test): Do not allow overflow exception
17023         on underflow test.
17024
17025 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
17026
17027         [BZ #13705]
17028         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17029         instead of __kernel_standard_f.
17030
17031 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
17032
17033         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17034         * sysdeps/x86_64/memset_chk.S: Likewise.
17035
17036 2012-04-08  Andreas Jaeger  <aj@suse.de>
17037
17038         [BZ #10153]
17039         * manual/startup.texi (Environment Access): Describe return value
17040         for putenv and setenv.
17041
17042         [BZ #6895]
17043         * manual/filesys.texi (Directory Entries): Add description for
17044         DT_LNK.
17045
17046         [BZ #6890]
17047         * manual/filesys.texi (Directory Entries): Clarify that it's file
17048         system not operating system in the description of DT_UNKNOWN.
17049
17050         [BZ #6578]
17051         * manual/syslog.texi (closelog): Fix reference, it's openlog.
17052
17053 2012-04-08  Stephen Compall  <s11@member.fsf.org>
17054
17055         [BZ #6649]
17056         * manual/llio.texi (Opening and Closing Files): Add cross
17057         reference to explain mode argument.
17058
17059 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
17060
17061         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17062         * sysdeps/x86_64/memset_chk.S: Likewise.
17063
17064 2012-04-07  David S. Miller  <davem@davemloft.net>
17065
17066         * elf/elf.h (R_SPARC_WDISP10): Define.
17067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17068         R_SPARC_SIZE32.
17069         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17070         R_SPARC_SIZE64 and R_SPARC_H34.
17071
17072 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
17073
17074         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17075         conditions and remove no longer applicable assertion.
17076
17077 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17078
17079         * bits/byteswap.h: Include <features.h>.
17080         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17081         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17082
17083 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17084
17085         * bits/byteswap.h (__bswap_16): Removed.
17086         Include <bits/byteswap-16.h> to get __bswap_16.
17087         * sysdeps/i386/bits/byteswap.h: Likewise.
17088         * sysdeps/s390/bits/byteswap.h: Likewise.
17089         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17090         * bits/byteswap-16.h: New file.
17091         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17092         * sysdeps/s390/bits/byteswap-16.h: Likewise.
17093         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17094         * string/Makefile (headers): Add bits/byteswap-16.h.
17095
17096 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17097
17098         [BZ #13895]
17099         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17100         extra indirection.
17101         * nss/Makefile (tests-static, tests): Add tst-nss-static.
17102         * nss/tst-nss-static.c: New.
17103
17104 2012-04-06  Robert Millan  <rmh@gnu.org>
17105
17106         [BZ #6486]
17107         * manual/llio.texi (File Position Primitive): lseek
17108         refers to WHENCE when it really means OFFSET.
17109
17110 2012-04-06  Andreas Jaeger  <aj@suse.de>
17111
17112         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17113         strncmp declarations.
17114
17115         * abilist/libc.abilist: Add __poll and __ppoll.
17116
17117 2012-04-05  David S. Miller  <davem@davemloft.net>
17118
17119         * scripts/check-local-headers.sh: Accept a host triplet in the
17120         path matched by the exclude regexp.
17121
17122         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17123         definition.
17124         * sysdeps/powerpc/powerpc32/dl-machine.h
17125         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17126         * sysdeps/s390/s390-32/dl-machine.h
17127         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17128         * sysdeps/sparc/sparc32/dl-machine.h
17129         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17130         * sysdeps/sparc/sparc64/dl-machine.h
17131         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17132
17133         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17134         lazy binding.
17135         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17136         undefined symbol errors.
17137
17138         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17139         DT_NEEDED entries.
17140
17141 2012-04-05  Michael Matz  <matz@suse.de>
17142
17143         [BZ #13592]
17144         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17145
17146 2012-04-05  Andreas Jaeger  <aj@suse.de>
17147
17148         [BZ #13908]
17149         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17150         comment.
17151
17152 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17153
17154         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17155         which ROUND is no valid rounding mode.
17156
17157 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17158
17159         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17160         read again.
17161         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17162
17163 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17164
17165         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17166         an exception using FPU order intentionally.
17167
17168 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17169
17170         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17171         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17172         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17173         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17174
17175 2012-04-05  Simon Josefsson  <simon@josefsson.org>
17176
17177         [BZ #12340]
17178         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17179         EINVAL when BUFLEN is too smal.
17180
17181 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17182
17183         [BZ #13553]
17184         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17185         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17186
17187 2012-04-03  Andreas Jaeger  <aj@suse.de>
17188
17189         [BZ #13938]
17190         * manual/setjmp.texi (System V contexts): Fix sentence.
17191
17192         [BZ #13926]
17193         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17194         New macro for this case.
17195         [!__GNUC__] (__bswap_64): New inline function for this case.
17196         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17197         * bits/byteswap.h: Likewise.
17198         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17199         ull, guard with __GLIBC_HAVE_LONG_LONG.
17200
17201         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17202         __GLIBC_HAVE_LONG_LONG.
17203
17204         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17205         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17206
17207 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17208
17209         [BZ #13691]
17210         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17211         inptr and inend, rather than using last_ch.
17212
17213 2012-04-02  David S. Miller  <davem@davemloft.net>
17214
17215         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17216         * stdio-common/printf-parse.h (read_int): Change return type to
17217         'int', return -1 on INT_MAX overflow.
17218         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17219         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17220         overflows INT_MAX.  Check for overflow of in-format-string precision
17221         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17222         SIZE_MAX not INT_MAX for integer overflow test.
17223         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17224         skip the construct in the format string but do not record anything.
17225         * stdio-common/bug22.c: Adjust to test both width/prevision
17226         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17227         explicitly for proper errno values.
17228
17229 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17230
17231         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17232         CHAR_MAX.
17233         * string/test-strcmp.c [! WIDE]: Likewise.
17234         * time/tst-mktime2.c: Likewise for INT_MAX.
17235         * string/test-string.h: #include <sys/param.h> for MIN.
17236
17237         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17238         * sysdeps/i386/init-first.c (init): Likewise.
17239         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17240         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17241         * sysdeps/sh/init-first.c (init): Likewise.
17242
17243 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17244
17245         * po/ru.po: Update from translation team.
17246         * po/vi.po: Likewise.
17247
17248 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17249
17250         * resolv/nss_dns/dns-host.c: Merge copyright years.
17251
17252 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17253
17254         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17255         Optimize memcpy with prefetch if
17256         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17257         src, dst pointers have unequal 16 byte alignments.
17258
17259 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17260
17261         [BZ #13928]
17262         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17263         from a CNAME entry and return the minimum ttl for the query.
17264         (gaih_getanswer_slice): Likewise.
17265
17266 2012-03-30  Jeff Law  <law@redhat.com>
17267
17268         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17269         due to long keys.
17270         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17271         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17272
17273         * resolv/nss_dns/dns-host.c: Update copyright year.
17274
17275 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17276
17277         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17278         requests to save a system call.  Fix check that all bytes are sent.
17279
17280         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17281         comments for sendmmsg.
17282
17283 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17284
17285         [BZ #13691]
17286         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17287         with only 1 character between 0x0041 and 0x01b0.
17288         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17289         * wcsmbs/tst-mbsnrtowcs.c: New file.
17290
17291 2012-03-29  David S. Miller  <davem@davemloft.net>
17292
17293         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17294         small copies by hand.
17295
17296 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17297
17298         [BZ #13761]
17299         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17300         _nss_compat_initgroups_dyn): Fall back to malloc/free
17301         for large group memberships.
17302
17303 2012-03-28  David S. Miller  <davem@davemloft.net>
17304
17305         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17306         that branches into memcpy.
17307         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17308         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17309         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17310         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17311         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17312         bits.
17313         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17314         implementation too.
17315         * sysdeps/sparc/mempcpy.S: New file.
17316
17317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17318         the IFUNC routine in the libc case.
17319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17320
17321         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17322         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17323         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17324         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17325         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17326         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17327         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17328         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17329
17330         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17331         loop to 256 bytes instead of 64 bytes and fix test signedness.
17332
17333         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17334         * sysdeps/sparc/sparc32/Makefile: rather than here...
17335         * sysdeps/sparc/sparc64/Makefile: and here.
17336
17337 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17338
17339         * malloc/mallocbug.c: Avoid warnings about unused variables.
17340
17341 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17342
17343         [BZ #13760]
17344         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17345         in the right place. Discard and retry query if response is
17346         larger than input buffer size.
17347
17348 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17349
17350         [BZ #369]
17351         [BZ #2678]
17352         [BZ #3866]
17353         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17354         x for large integer exponent.
17355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17356         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17357         sign of result as needed afterwards.
17358         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17359         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17360         result for underflowing pow the same as for overflow.
17361         (__kernel_standard_l): Handle powl overflow and underflow here
17362         rather than calling __kernel_standard.
17363         * math/libm-test.inc (pow_test): Add more tests.
17364
17365         [BZ #3868]
17366         [BZ #13879]
17367         [BZ #13910]
17368         [BZ #13911]
17369         [BZ #13912]
17370         [BZ #13913]
17371         [BZ #13915]
17372         [BZ #13916]
17373         [BZ #13917]
17374         [BZ #13918]
17375         [BZ #13919]
17376         [BZ #13920]
17377         [BZ #13921]
17378         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17379         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17380         (__kernel_standard_l): New function.
17381         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17382         __kernel_standard.
17383         * math/w_acosl.c (__acosl): Likewise.
17384         * math/w_asinl.c (__asinl): Likewise.
17385         * math/w_atan2l.c (__atan2l): Likewise.
17386         * math/w_atanhl.c (__atanhl): Likewise.
17387         * math/w_coshl.c (__coshl): Likewise.
17388         * math/w_exp10l.c (__exp10l): Likewise.
17389         * math/w_exp2l.c (__exp2l): Likewise.
17390         * math/w_fmodl.c (__fmodl): Likewise.
17391         * math/w_hypotl.c (__hypotl): Likewise.
17392         * math/w_j0l.c (__j0l, __y0l): Likewise.
17393         * math/w_j1l.c (__j1l, __y1l): Likewise.
17394         * math/w_jnl.c (__jnl, __ynl): Likewise.
17395         * math/w_lgammal.c (__lgammal): Likewise.
17396         * math/w_log10l.c (__log10l): Likewise.
17397         * math/w_log2l.c (__log2l): Likewise.
17398         * math/w_logl.c (__logl): Likewise.
17399         * math/w_powl.c (__powl): Likewise.
17400         * math/w_remainderl.c (__remainderl): Likewise.
17401         * math/w_scalbl.c (sysv_scalbl): Likewise.
17402         * math/w_sinhl.c (__sinhl): Likewise.
17403         * math/w_sqrtl.c (__sqrtl): Likewise.
17404         * math/w_tgammal.c (__tgammal): Likewise.
17405         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17406         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17407         * math/libm-test.inc (acos_test): Add more tests.
17408         (acosh_test): Likewise.
17409         (asin_test): Likewise.
17410         (atanh_test): Likewise.
17411         (exp_test): Likewise.
17412         (exp10_test): Likewise.
17413         (exp2_test): Likewise.
17414         (expm1_test): Likewise.
17415         (lgamma_test): Likewise.
17416         (log_test): Likewise.
17417         (log10_test): Likewise.
17418         (log1p_test): Likewise.
17419         (log2_test): Likewise.
17420         (pow_test): Do not allow some spurious overflow exceptions.
17421         (sqrt_test): Add more tests.
17422         (tgamma_test): Likewise.
17423         (y0_test): Likewise.
17424         (y1_test): Likewise.
17425         (yn_test): Likewise.
17426
17427 2012-03-27  Anton Blanchard  <anton@samba.org>
17428
17429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17430         MAP_HUGETLB.
17431         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17432         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17433         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17434
17435 2012-03-27  David S. Miller  <davem@davemloft.net>
17436
17437         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17438
17439         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17440         have-as-vis3 check.
17441
17442 2012-03-27  Andreas Jaeger  <aj@suse.de>
17443
17444         * sysdeps/x86_64/elf/configure.in: Moved to ...
17445         * sysdeps/x86_64/configure.in: ... here.
17446         * sysdeps/x86_64/elf/start.S: Moved to ...
17447         * sysdeps/x86_64/start.S: ... here.
17448         * sysdeps/x86_64/elf/configure: Delete.
17449
17450         * sysdeps/x86_64/configure.in: Merge contents from
17451         sysdeps/i386/configure.in (without i686 check).
17452
17453         * sysdeps/i386/elf/Versions: Merge into ...
17454         * sysdeps/i386/Versions: ... this.
17455         * sysdeps/i386/elf/Versions: Delete file.
17456         * sysdeps/i386/elf/start.S: Moved to ...
17457         * sysdeps/i386/start.S: ...here.
17458         * sysdeps/i386/elf/configure.in: Merge into...
17459         * sysdeps/i386/configure.in: ...here.
17460         * sysdeps/i386/elf/configure.in: Delete file.
17461         * sysdeps/i386/elf/configure: Delete file.
17462
17463         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17464         * debug/backtracesyms.c: ... here.
17465         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17466         * debug/backtracesymsfd.c: ... here.
17467         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17468         * sysdeps/generic/ifunc-sel.h: ... here.
17469
17470         * sysdeps/unix/i386/start.c: Delete file.
17471         * sysdeps/unix/sparc/start.c: Delete file.
17472         * sysdeps/unix/start.c: Delete file.
17473
17474         * sysdeps/sh/elf/configure.in: Moved to ...
17475         * sysdeps/sh/configure.in: ... here.
17476         * sysdeps/sh/elf/start.S: Moved to ...
17477         * sysdeps/sh/start.S: ... here.
17478         * sysdeps/sh/elf/configure: Delete file.
17479
17480         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17481         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17482         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17483         * sysdeps/powerpc/powerpc64/entry.h: ... here.
17484         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17485         * sysdeps/powerpc/powerpc64/start.S: here.
17486         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17487         * sysdeps/powerpc/powerpc64/Makefile: ... this.
17488         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17489         * sysdeps/powerpc/powerpc64/configure.in: ... this.
17490         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17491
17492         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17493         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17494         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17495         * sysdeps/powerpc/powerpc32/start.S: ... here.
17496         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17497         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17498         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17499
17500         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17501         * sysdeps/powerpc/ifunc-sel.h: ... here.
17502         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17503         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17504
17505         * sysdeps/sparc/elf/configure.in: Moved to ...
17506         * sysdeps/sparc/configure.in: ... here.
17507         * sysdeps/sparc/elf/configure: Delete file.
17508         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17509         * sysdeps/sparc/sparc32/start.S: ... here.
17510         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17511         * sysdeps/sparc/sparc64/start.S: ... here.
17512         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17513         * sysdeps/sparc/sparc32/Makefile: ... this.
17514         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17515         * sysdeps/sparc/sparc64/Makefile: ... this.
17516
17517         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17518         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17519         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17520         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17521         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17522         * sysdeps/s390/s390-32/setjmp.S: ... here.
17523         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17524         * sysdeps/s390/s390-32/configure.in: ... here.
17525         * sysdeps/s390/s390-32/elf/configure: Delete file.
17526         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17527         * sysdeps/s390/s390-32/start.S: ... here.
17528
17529         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17530         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17531         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17532         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17533         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17534         * sysdeps/s390/s390-64/setjmp.S: ... here.
17535         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17536         * sysdeps/s390/s390-64/configure.in: ... here
17537         * sysdeps/s390/s390-64/elf/configure: Delete file.
17538         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17539         * sysdeps/s390/s390-64/start.S: ... here.
17540         * sysdeps/s390/s390-64/elf/configure: Delete.
17541
17542         * configure.in: Remove support for elf directories in sysdeps.
17543
17544         * configure: Regenerated.
17545         * sysdeps/i386/configure: Regenerated.
17546         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17547         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17548         * sysdeps/s390/s390-32/configure: Regenerated.
17549         * sysdeps/s390/s390-64/configure: Regenerated.
17550         * sysdeps/sh/configure: Regenerated.
17551         * sysdeps/sparc/configure: Regenerated.
17552         * sysdeps/x86_64/configure: Regenerated.
17553
17554 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17555
17556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17557
17558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17559         denormal result into account.
17560
17561 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17562
17563         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17564         Reported by Allan McRae <allan@archlinux.org>.
17565
17566 2012-03-23  Jeff Law  <law@redhat.com>
17567
17568         * nss/getnssent.c (__nss_getent): Fix typo.
17569
17570 2012-03-23  David S. Miller  <davem@davemloft.net>
17571
17572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17573
17574 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17575
17576         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17577         to pad to uint64_t for each field.
17578         (dl_tls_index): Replace unsigned long with uint64_t.
17579
17580 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17581         Paul Pluzhnikov  <ppluzhnikov@google.com>
17582
17583         [BZ #6528]
17584         * grp/Makefile (otherlibs): Don't set it.
17585         * inet/Makefile (otherlibs): Likewise.
17586         * login/Makefile (otherlibs): Likewise.
17587         * nscd/Makefile (otherlibs): Likewise.
17588         * posix/Makefile (otherlibs): Likewise.
17589         * pwd/Makefile (otherlibs): Likewise.
17590         * rt/Makefile (otherlibs): Likewise.
17591         * sunrpc/Makefile (otherlibs): Likewise.
17592         * nss/Makefile (otherlibs): Likewise.
17593         Add libnss_files to routines and static-only-routines.
17594         ($(objpfx)getent): Remove rule.
17595         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17596         static-only-routines.
17597
17598 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17599
17600         [BZ #13892]
17601         * math/s_cexp.c: Include <float.h>.
17602         (__cexp): Handle exp result overflowing not necessarily
17603         overflowing both real and imaginary parts of result.
17604         * math/s_cexpf.c: Likewise.
17605         * math/s_cexpl.c: Likewise.
17606         * math/libm-test.inc (cexp_test): Add more tests.
17607         * sysdeps/i386/fpu/libm-test-ulps: Update.
17608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17609
17610 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17611
17612         * include/link.h (ELFW): New macro.
17613         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17614         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17615
17616 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17617
17618         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17619         with uint64_t.
17620
17621 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17622
17623         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17624         declaration.
17625         (struct La_x32_retval): Likewise.
17626
17627 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17628
17629         * sysdeps/x86_64/preconfigure.in: New file.
17630         * sysdeps/x86_64/preconfigure: New generated file.
17631
17632 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17633
17634         [BZ #13824]
17635         * math/e_exp2l.c: Include <float.h>.
17636         (__ieee754_exp2l): Handle overflow and underflow cases
17637         separately.  Only pass fractional part of argument to
17638         __ieee754_expl.
17639         * math/libm-test.inc (exp2_test): Add more tests.
17640
17641         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17642         negating x to take absolute value.
17643         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17644         Likewise.
17645         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17646         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17647         Likewise.
17648         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17649         computing low part if x was negated.
17650         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17651
17652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17653
17654         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17655         la_x32_gnu_pltexit.
17656         (pltexit): Cast int_retval to ptrdiff_t.
17657         * elf/tst-auditmod3b.c: Likewise.
17658         * elf/tst-auditmod4b.c: Likewise.
17659         * elf/tst-auditmod5b.c: Likewise.
17660         * elf/tst-auditmod6b.c: Likewise.
17661         * elf/tst-auditmod6c.c: Likewise.
17662         * elf/tst-auditmod7b.c: Likewise.
17663
17664         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17665         and x32_gnu_pltexit.
17666
17667         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17668         __ELF_NATIVE_CLASS.
17669         (La_x32_regs): New macro.
17670         (La_x32_retval): Likewise.
17671         (la_x32_gnu_pltenter): New function prototype.
17672         (la_x32_gnu_pltexit): Likewise.
17673
17674 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17675
17676         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17677         exponent.
17678
17679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17680
17681         * configure.in (libc_cv_cc_nofma): Check for option to disable
17682         generation of FMA instructions.
17683         * configure: Regenerate.
17684         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17685         * sysdeps/ieee754/dbl-64/Makefile: New file.
17686         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17687         Remove brandred-fma4.
17688         (CFLAGS-brandred-fma4.c): Remove.
17689         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17690         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17691         define.
17692         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17693         define.
17694
17695 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17696
17697         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17698         LLONG_MAX != LONG_MAX.
17699         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17700         (_fitoa_word): Likewise.
17701         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17702         LLONG_MAX != LONG_MAX.
17703         * stdio-common/_itowa.h: Include <_itoa.h>.
17704         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17705         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17706         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17707         only if not defined.
17708         (_ITOA_WORD_TYPE): Likewise.
17709         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17710         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17711
17712 2012-03-21  David S. Miller  <davem@davemloft.net>
17713
17714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17715
17716 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17717
17718         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17719         of x86_64 when setting libc_cv_slibdir, libdir and
17720         libc_cv_localedir.
17721         * sysdeps/unix/sysv/linux/configure: Regenerated.
17722
17723 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17724
17725         * manual/lang.texi (Old Varargs): Remove section.
17726         (How Variadic): Update menu.
17727         (va_start): Do not mention varargs.h.
17728
17729 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17730             Joseph Myers  <joseph@codesourcery.com>
17731
17732         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17733         link test.
17734         * configure: Regenerated.
17735
17736 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17737
17738         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17739         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17740         conformtest.pl
17741
17742 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17743
17744         * NOTES: Remove.
17745         * Makefile (files-for-dist): Remove NOTES.
17746         (NOTES): Remove rule.
17747         * README: Don't refer to NOTES.
17748         * manual/creature.texi: Don't include macros.texi.
17749         * manual/intro.texi (creature.texi): Remove comment referring to
17750         NOTES.
17751
17752         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17753         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17754         * configure: Regenerated.
17755         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17756         LIBC_TRY_CC_OPTION.
17757         (libc_cv_as_i686): Likewise.
17758         (libc_cv_cc_avx): Likewise.
17759         (libc_cv_cc_sse2avx): Likewise.
17760         (libc_cv_cc_fma4): Likewise.
17761         (libc_cv_cc_novzeroupper): Likewise.
17762         * sysdeps/i386/configure: Regenerated.
17763
17764         [BZ #13883]
17765         * sysdeps/i386/fpu/s_cexp.S: Remove.
17766         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17767         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17768         * math/libm-test.inc (cexp_test): Add more tests.
17769         * sysdeps/i386/fpu/libm-test-ulps: Update.
17770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17771
17772 2012-03-21  Allan McRae  <allan@archlinux.org>
17773
17774         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17775
17776 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17777
17778         [BZ #13871]
17779         * math/w_exp2.c: Do not include <float.h>.
17780         (o_threshold, u_threshold): Remove.
17781         (__exp2): Calculate result before checking finiteness and calling
17782         __kernel_standard.
17783         * math/w_exp2f.c: Likewise.
17784         * math/w_exp2l.c: Likewise.
17785         * math/libm-test.inc (exp2_test): Require overflow exception for
17786         1e6 input.
17787
17788         [BZ #3866]
17789         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17790         range of signed 64-bit integers before using fistpll.  Remove
17791         checks for whether integers fit in mantissa bits.
17792         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17793         the range of signed 32-bit integers before using fistpl.  Remove
17794         checks for whether integers fit in mantissa bits.
17795         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17796         (__ieee754_powl): Test for y outside the range of signed 64-bit
17797         integers before using fistpll.  Reduce 64-bit values to 63-bit
17798         ones as needed.
17799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17800         divide-by-zero is raised for zero to large negative powers.
17801         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17802         (__ieee754_powl): Test for y outside the range of signed 64-bit
17803         integers before using fistpll.  Reduce 64-bit values to 63-bit
17804         ones as needed.
17805         * math/libm-test.inc (pow_test): Add more tests.
17806
17807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17808
17809         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17810         <stdio-common/_itoa.h>.
17811         * debug/segfault.c: Likewise.
17812         * elf/dl-cache.c: Likewise.
17813         * elf/dl-minimal.c: Likewise.
17814         * elf/dl-misc.c: Likewise.
17815         * elf/dl-sysdep.c: Likewise.
17816         * elf/dl-version.c: Likewise.
17817         * elf/rtld.c: Likewise.
17818         * hurd/hurdsock.c: Likewise.
17819         * hurd/lookup-retry.c: Likewise.
17820         * malloc/malloc.c: Likewise.
17821         * malloc/mtrace.c: Likewise.
17822         * nscd/nscd_getgr_r.c: Likewise.
17823         * nscd/nscd_getpw_r.c: Likewise.
17824         * nscd/nscd_getserv_r.c: Likewise.
17825         * posix/getopt_init.c: Likewise.
17826         * posix/wordexp.c: Likewise.
17827         * stdio-common/_itoa.c: Likewise.
17828         * stdio-common/printf_fphex.c: Likewise.
17829         * stdio-common/vfprintf.c: Likewise.
17830         * string/_strerror.c: Likewise.
17831         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17832         * sysdeps/i386/i686/hp-timing.h: Likewise.
17833         * sysdeps/mach/_strerror.c: Likewise.
17834         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17835         * sysdeps/mach/hurd/sethostid.c: Likewise.
17836         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17837         * sysdeps/mach/xpg-strerror.c: Likewise.
17838         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17839         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17840         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17841         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17842         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17843         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17844         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17845         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17846         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17847         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17848         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17849         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17850         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17851         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17852         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17853         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17854         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17855         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17856         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17857         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17858         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17859
17860         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17861
17862         * stdio-common/_itoa.h: Moved to ...
17863         * sysdeps/generic/_itoa.h: Here.
17864
17865         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17866
17867         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17868         instead of "_itoa.h" and "_itowa.h".
17869         * stdio-common/vfprintf.: Likewise.
17870
17871 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17872
17873         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17874         <bits/wordsize.h>.
17875         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17876         (__signbit): Likwise.
17877         (llrintf): Likwise.
17878         (llrint): Likwise.
17879
17880 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17881
17882         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17883         __WORDSIZE != 64.
17884
17885 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17886
17887         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17888         OVERFLOW_EXCEPTION_OK.
17889         * math/libm-test.inc ("Philosophy"): Update comment about
17890         exception testing.
17891         (OVERFLOW_EXCEPTION): Define.
17892         (OVERFLOW_EXCEPTION_OK): Likewise.
17893         (INVALID_EXCEPTION_OK): Renumber.
17894         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17895         (IGNORE_ZERO_INF_SIGN): Likewise.
17896         (test_exceptions): Handle FE_OVERFLOW.
17897         (exp10_test): Expect overflow exceptions.
17898         (exp2_test): Likewise.
17899         (expm1_test): Likewise.
17900         (nextafter_test): Likewise.
17901         (pow_test): Likewise.
17902         (scalbn_test): Likewise.
17903         (scalbln_test): Likewise.
17904
17905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17906
17907         * sysdeps/x86_64/bits/atomic.h
17908         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17909         64bit integer.
17910         (atomic_exchange_acq): Likewise.
17911         (__arch_exchange_and_add_body): Likewise.
17912         (__arch_add_body): Likewise.
17913         (atomic_add_negative): Likewise.
17914         (atomic_add_zero): Likewise.
17915
17916 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17917
17918         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17919         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17920
17921 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17922
17923         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17924         Check __x86_64__ instead of __WORDSIZE.
17925
17926 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17927
17928         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17929
17930 2012-03-19  David S. Miller  <davem@davemloft.net>
17931
17932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17933
17934         * sysdeps/sparc/fpu/fenv_private.h: New file.
17935         * sysdeps/sparc/fpu/math_private.h: Use it.
17936         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17937         Remove.
17938         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17939         (libc_feholdexcept_setroundl): Remove.
17940         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17941         Remove.
17942         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17943         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17944
17945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17946
17947         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17948         int64_t instead of long int.
17949         (INSERT_WORDS64): Likwise.
17950
17951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17952
17953         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17954         _Unwind_GetCFA return to _Unwind_Ptr first.
17955
17956 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17957
17958         [BZ #13629]
17959         * math/s_clog.c: Include <float.h>.
17960         (__clog): Scale large or subnormal inputs.
17961         * math/s_clogf.c: Likewise.
17962         * math/s_clogl.c: Likewise.
17963         * math/s_clog10.c: Include <float.h>.
17964         (M_LOG10_2): Define.
17965         (__clog10): Scale large or subnormal inputs.
17966         * math/s_clog10f.c: Likewise.
17967         * math/s_clog10l.c: Likewise.
17968         * math/libm-test.inc (clog_test): Add more tests.
17969         (clog10_test): Likewise.
17970         * sysdeps/i386/fpu/libm-test-ulps: Update.
17971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972
17973         [BZ #11451]
17974         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17975         x and y.
17976         * math/libm-test.inc (atan2_test): Add another test.
17977
17978         * Makerules (common-objdir-compile): Remove.
17979         * sysdeps/unix/Makefile (config-generated): Do not add
17980         $(unix-generated) to variable.
17981         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17982         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17983         Remove rule.
17984         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17985         Likewise.
17986         [generic bits/local_lim.h] (before-compile): Do not append to
17987         variable.
17988         [generic bits/local_lim.h] (common-generated): Likewise.
17989         [generic sys/param.h] (before-compile): Do not append to variable.
17990         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17991         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17992         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17993         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17994         include.
17995         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17996         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17997         [generic sys/param.h] ($(addprefix
17998         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17999         [generic sys/param.h] (common-generated): Do not append to
18000         variable.
18001         [generic sys/param.h] (sysdep_headers): Likewise.
18002         [generic bits/errno.h] (before-compile): Do not append to
18003         variable.
18004         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18005         rule.
18006         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18007         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18008         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18009         [generic bits/errno.h] (common-generated): Do not append to
18010         variable.
18011         [generic bits/ioctls.h] (before-compile): Do not append to
18012         variable.
18013         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18014         rule.
18015         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18016         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18017         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18018         rule.
18019         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18020         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18021         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18022         [generic bits/ioctls.h] (common-generated): Do not append to
18023         variable.
18024         [generic sys/syscall.h] (syscall.h): Remove variable.
18025         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18026         rule.
18027         [generic sys/syscall.h] (before-compile): Do not append to
18028         variable.
18029         [generic sys/syscall.h] (common-generated): Likewise.
18030         * sysdeps/unix/errnos-tmpl.c: Remove file.
18031         * sysdeps/unix/errnos.awk: Likewise.
18032         * sysdeps/unix/ioctls-tmpl.c: Likewise.
18033         * sysdeps/unix/ioctls.awk: Likewise.
18034         * sysdeps/unix/mk-local_lim.c: Likewise.
18035         * sysdeps/unix/snarf-ioctls: Likewise.
18036
18037 2012-03-19  Richard Henderson  <rth@twiddle.net>
18038
18039         * sysdeps/i386/fpu/fenv_private.h: New file.
18040         * sysdeps/i386/fpu/math_private.h: Use it.
18041         (math_opt_barrier, math_force_eval): Remove.
18042         (libc_feholdexcept_setround_53bit): Remove.
18043         (libc_feupdateenv_53bit): Remove.
18044         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18045         (math_opt_barrier, math_force_eval): Remove.
18046         (libc_feholdexcept): Remove.
18047         (libc_feholdexcept_setround): Remove.
18048         (libc_fetestexcept, libc_fesetenv): Remove.
18049         (libc_feupdateenv_test): Remove.
18050         (libc_feupdateenv, libc_feholdsetround): Remove.
18051         (libc_feresetround): Remove.
18052
18053         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18054         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18055
18056         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18057         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18058         (libc_feupdateenv_testl): New.
18059         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18060         (libc_feupdateenv_testf): New.
18061         (libc_feupdateenv): Use libc_feupdateenv_test.
18062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18063         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18064
18065         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18066         (libc_feholdsetroundf, libc_feholdsetroundl): New.
18067         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18068         (libc_feresetround_noex): New.
18069         (libc_feresetround_noexf): New.
18070         (libc_feresetround_noexl): New.
18071         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18072         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18073         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18074         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18075         SET_RESTORE_ROUND.
18076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18077         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18078         (__cos): Likewise.
18079         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18081         SET_RESTORE_ROUND_NOEX.
18082         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18083         SET_RESTORE_ROUND_NOEXF.
18084         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18085         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18086         (libc_feholdsetroundf): New.
18087         (libc_feresetround, libc_feresetroundf): New.
18088
18089         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18090         (libc_feholdexcept_setround_53bit): Convert from macro to function.
18091         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
18092
18093         * sysdeps/generic/math_private.h: Include <fenv.h>.
18094         (default_libc_feholdexcept): New.
18095         (default_libc_feholdexcept_setround): New.
18096         (default_libc_fesetenv, default_libc_feupdateenv): New.
18097         (libc_feholdexcept): Only define if undefined.
18098         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18099         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18100         (libc_feholdexcept_setroundl): Likewise.
18101         (libc_feholdexcept_setround_53bit): Likewise.
18102         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18103         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18104         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18105         (libc_feupdateenv_53bit): Likewise.
18106         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18107         (libc_feholdexcept): Convert from macro to inline function.
18108         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18109         (libc_fesetenv, libc_feupdateenv): Likewise.
18110
18111         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18112         not previously defined.
18113         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18114         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18115         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18116         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18117         * sysdeps/ieee754/flt-32/math_private.h: New file.
18118         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18119         math_private.h below SET_FLOAT_WORD.
18120         (__isnan, __isinf_ns, __finite): Remove.
18121         (__isnanf, __isinf_nsf, __finitef): Remove.
18122
18123 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
18124
18125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18126
18127 2012-03-17  David S. Miller  <davem@davemloft.net>
18128
18129         [BZ #6471]
18130         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18131         for 2.16.
18132
18133 2012-03-16  David S. Miller  <davem@davemloft.net>
18134
18135         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18136         warnings.
18137
18138         [BZ #6471]
18139         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18140         properly.
18141         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18142         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18143         sysdep_routines when subdir is sysvipc.
18144         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18145         __getshmlba helper.
18146
18147         * sysdeps/sparc/fpu/libm-test/ulps: Update.
18148
18149 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18150
18151         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18152         [__LP64__].
18153
18154 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18155
18156         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18157         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18158         (__lround): Renamed to ...
18159         (__llround): This.  Replace long int with long long int.
18160         Define lround functions as aliases of llround functions.
18161         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18162
18163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18164
18165         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18166         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
18167         adresses to uintptr_t.  Replace "long int" and "unsigned long
18168         int" with "greg_t" on va_arg.
18169
18170 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18171
18172         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18173         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18174
18175         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18176         Move e_machine check before EI_CLASS check.  Handle x32
18177         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18178         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18179         SKIP_EM_IA_64 and include
18180         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18181
18182         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18183         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18184         (add_system_dir): New macro.
18185
18186         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18187         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18188
18189 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18190
18191         [BZ #2551]
18192         [BZ #2552]
18193         [BZ #2553]
18194         [BZ #2554]
18195         [BZ #2562]
18196         [BZ #2563]
18197         [BZ #2565]
18198         [BZ #2566]
18199         [BZ #2576]
18200         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18201         (y0): Likewise.
18202         * math/w_j0f.c (j0f): Likewise.
18203         (y0f): Likewise.
18204         * math/w_j0l.c (__j0l): Likewise.
18205         (__y0l): Likewise.
18206         * math/w_j1.c (j1): Likewise.
18207         (y1): Likewise.
18208         * math/w_j1f.c (j1f): Likewise.
18209         (y1f): Likewise.
18210         * math/w_j1l.c (__j1l): Likewise.
18211         (__y1l): Likewise.
18212         * math/w_jn.c (jn): Likewise.
18213         (yn): Likewise.
18214         * math/w_jnf.c (jnf): Likewise.
18215         (ynf): Likewise.
18216         * math/w_jnl.c (__jnl): Likewise.
18217         (__ynl): Likewise.
18218         * math/libm-test.inc (j0_test): Add more tests.
18219         (j1_test): Likewise.
18220         (jn_test): Likewise.  Add trailing semicolon to existing test.
18221         (y0_test): Likewise.
18222         (y1_test): Likewise.
18223         * sysdeps/i386/fpu/libm-test-ulps: Update.
18224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18225
18226         [BZ #13851]
18227         [BZ #13854]
18228         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18229         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18230         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18231         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18232         (__tanl): Set errno for infinite argument.
18233         * sysdeps/i386/fpu/mptan.c: Remove.
18234         * sysdeps/i386/fpu/s_tan.S: Likewise.
18235         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18236         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18237         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18238         * math/libm-test.inc (tan_test): Add more tests and enable more
18239         tests for double and long double.
18240         * sysdeps/i386/fpu/libm-test-ulps: Update.
18241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242
18243 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18244
18245         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18246         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18247
18248 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18249
18250         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18251         * configure.in: Use it for both main tree and add-ons.
18252         * configure: Regenerated.
18253
18254 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18255
18256         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18257
18258 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18259
18260         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18261         in comment.
18262
18263         [BZ #13851]
18264         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18265         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18266         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18267         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18268         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18269         infinite argument.
18270         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18271         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18272         != 0 for prec == 2.
18273         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18274         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18275         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18276         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18277         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18278         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18279         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18280         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18281         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18282         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18283         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18284         * math/libm-test.inc (cos_test): Add more tests and enable more
18285         tests for long double.
18286         (sin_test): Likewise.
18287         (sincos_test): Likewise.
18288         * sysdeps/i386/fpu/libm-test-ulps: Update.
18289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18290
18291 2012-03-16  David S. Miller  <davem@davemloft.net>
18292
18293         * sysdeps/sparc/fpu/math_private.h: New file.
18294
18295 2012-03-15  David S. Miller  <davem@davemloft.net>
18296
18297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18298         file.
18299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18301         file.
18302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18308         sysdep routines.
18309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18310
18311         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18312         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18313
18314         * sysdeps/sparc/sparc-ifunc.h: New file.
18315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18316         sparc-ifunc.h
18317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18319         Likewise.
18320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18321         Likewise.
18322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18326         Likewise.
18327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18332         Likewise.
18333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18334         Likewise.
18335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18341         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18343         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18353         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18354         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18355         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18356         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18357         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18358         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18359
18360 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18361
18362         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18363         scaling.
18364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18365
18366 2012-03-15  Andreas Jaeger  <aj@suse.de>
18367
18368         [BZ #13852]
18369         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18370         ieee754/flt-32 implementation for sin, cos and sincos.
18371         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18372         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18373         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18374         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18375         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18376         ieee754/flt-32 implementation for tan.
18377
18378         * math/libm-test.inc (cos_test): Enable some large input tests for
18379         float as well
18380         (sin_test): Likewise.
18381         (sincos_test): Likewise.
18382         (tan_test): Add tests for large input.
18383
18384         * sysdeps/i386/fpu/libm-test-ulps: Update.
18385
18386 2012-03-15  Andreas Jaeger  <aj@suse.de>
18387
18388         [BZ #13658]
18389         * math/libm-test.inc (cos_test): Add more test cases.
18390         (sin_test): Likewise.
18391         (sincos_test): Likewise.
18392
18393 2012-03-15  Andreas Jaeger  <aj@suse.de>
18394
18395         [BZ #13837]
18396         * math/libm-test.inc (cos_test): Add a test case for large input
18397         value.
18398         (sin_test): Likewise.
18399         (sincos_test): Likewise.
18400
18401 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18402         Joseph Myers  <joseph@codesourcery.com>
18403
18404         [BZ #13658]
18405         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18406         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18407         * sysdeps/i386/fpu/branred.c: Likewise.
18408         * sysdeps/i386/fpu/dosincos.c: Likewise.
18409         * sysdeps/i386/fpu/mpa.c: Likewise.
18410         * sysdeps/i386/fpu/s_cos.S: Likewise.
18411         * sysdeps/i386/fpu/s_sin.S: Likewise.
18412         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18413         * sysdeps/i386/fpu/sincos32.c: Likewise.
18414
18415         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18416         Define.
18417         (libc_feupdateenv_53bit): Define.
18418         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18419         Define.
18420         (libc_feupdateenv_53bit): Define.
18421
18422         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18423         53 bit (without extend i386 double precision).
18424
18425         * math/libm-test.inc (sincos_test): Add tests for large input.
18426         (sin): Likewise.
18427         (cos): Likewise.
18428
18429         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18430
18431 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18432
18433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18434
18435 2012-03-15  David S. Miller  <davem@davemloft.net>
18436
18437         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18438         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18439         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18440         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18453         file.
18454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18456         file.
18457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18459         file.
18460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18462         file.
18463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18465         fmin/fmax sysdep routines.
18466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18467
18468 2012-03-14  David S. Miller  <davem@davemloft.net>
18469
18470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18474         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18475         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18476         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18490         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18493         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18495         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18496         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18497         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18498         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18499         routines.
18500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18501         file.
18502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18504         file.
18505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18507         file.
18508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18510         file.
18511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18513         file.
18514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18516         file.
18517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18518         file.
18519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18520         file.
18521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18522         file.
18523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18524         New file.
18525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18526         file.
18527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18528         file.
18529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18531         file.
18532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18534         file.
18535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18537         file.
18538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18540         VIS3 routines.
18541
18542         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18543         New file.
18544
18545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18546
18547         * sysdeps/sparc/configure.in: New file.
18548         * sysdeps/sparc/configure: Generate.
18549         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18550         * configure: Regenerate.
18551         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18552         * config.make.in (have-as-vis3): New.
18553         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18554         available use -Av9d instead of -Av9a.
18555         * sysdeps/sparc/sparc64/Makefile: Likewise.
18556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18558         New file.
18559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18560         file.
18561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18562         New file.
18563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18564         file.
18565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18566         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18567         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18568         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18570
18571         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18572         fzeros/fnegs to load 0x80000000 into a float register instead of
18573         using the stack.
18574         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18575
18576 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18577
18578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18579         bits/syscall.h.
18580         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18581         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18582         ($(inst_includedir)/bits/syscall.h): Remove rule.
18583         ($(objpfx)bits/syscall.d): Include instead of
18584         $(objpfx)syscall-list.d.
18585         (generated): Change syscall-list.h and syscall-list.d to
18586         bits/syscall.h and bits/syscall.d.
18587
18588 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18589
18590         [BZ #13846]
18591         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18592
18593 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18594
18595         [BZ #13841]
18596         * math/s_csqrt.c: Include <float.h>.
18597         (__csqrt): Scale large or subnormal inputs.
18598         * math/s_csqrtf.c: Likewise.
18599         * math/s_csqrtl.c: Likewise.
18600         * math/libm-test.inc (csqrt_test): Add more tests.
18601         * sysdeps/i386/fpu/libm-test-ulps: Update.
18602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603
18604         [BZ #13840]
18605         * math/libm-test.inc (hypot_test): Add more tests.
18606
18607 2012-03-13  David S. Miller  <davem@davemloft.net>
18608
18609         [BZ #13840]
18610         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18611         double-precision for the calculation instead of scaling.
18612
18613 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18614
18615         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18616         manipulate bits before adding and subtracting TWO52[sx].
18617         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18618         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18619         Likewise.
18620         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18621
18622 2012-03-13  David S. Miller  <davem@davemloft.net>
18623
18624         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18625         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18626         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18627         rtld-global-offsets.h
18628         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18629
18630         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18631         large parameters.
18632
18633         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18634
18635         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18636         'err' in the ifdef scope in which it is actually used.
18637
18638         * nss/nss_db/db-init.c: Include string.h
18639
18640 2012-03-12  David S. Miller  <davem@davemloft.net>
18641
18642         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18643         masking out of the most significant byte of random value used.
18644         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18645         Fix coding style in previous change.
18646
18647         * sysdeps/unix/sysv/linux/kernel-features.h
18648         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18649         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18650         expression.
18651         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18652         later.
18653
18654 2012-03-11  David S. Miller  <davem@davemloft.net>
18655
18656         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18657         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18658         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18659         for 'resultvar' otherwise things get truncated on 64-bit.
18660
18661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18662         Fix masking out of the most significant byte of random value used.
18663
18664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18665
18666 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18667
18668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18669
18670 2012-03-09  David S. Miller  <davem@davemloft.net>
18671
18672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18673         variables with appropriate CPP guards.
18674         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18675         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18676         on resulting framesize and the management of the outregs buffer for pltexit.
18677         Preserve floating point return values across _dl_call_pltexit call.
18678         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18679         framesize and the management of the outregs buffer for pltexit.
18680         Preserve floating point return values across _dl_call_pltexit
18681         call.
18682         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18683         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18684         (print_exit): Fix format string for return register value.
18685
18686 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18687
18688         * sunrpc/Makefile (others): Add rpcgen.
18689         ($(objpfx)rpcgen): Remove special build rule and dependency on
18690         libc.
18691         * sunrpc/rpcgen.c: New file.
18692
18693 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18694
18695         [BZ #13673]
18696         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18697         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18698         * sysdeps/i386/crti.S: Likewise.
18699         * sysdeps/i386/crtn.S: Likewise.
18700         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18701         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18702         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18703         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18704         * sysdeps/sh/crti.S: Likewise.
18705         * sysdeps/sh/crtn.S: Likewise.
18706         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18707
18708         [BZ #13673]
18709         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18710         with URL.
18711         * locale/programs/locfile-kw.gperf: Likewise.
18712         * locale/programs/charmap-kw.h: Regenerated.
18713         * locale/programs/locfile-kw.h: Likewise.
18714
18715         [BZ #13673]
18716         * intl/plural.y: Replace FSF snail mail address with URL.
18717         * intl/plural.c: Regenerated.
18718
18719 2012-03-09  Richard Henderson  <rth@twiddle.net>
18720
18721         * include/math_private.h: Remove file.
18722         * math/math_private.h: Move file ...
18723         * sysdeps/generic/math_private.h: ... here.
18724
18725         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18726         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18727         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18728
18729         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18730         and <math_private.h>.
18731         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18732         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18733         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18734         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18735         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18736         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18737         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18738         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18739         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18742         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18743         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18745         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18748         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18749         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18750         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18755         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18756         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18757         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18760         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18761         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18762         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18763         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18764         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18765         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18766         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18767         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18768         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18769         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18770         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18771         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18772         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18773         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18774         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18775         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18776         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18779         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18780         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18785         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18786         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18787         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18788         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18789         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18790         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18791         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18792         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18793         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18794         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18795         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18796         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18797         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18798         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18799         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18800         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18801         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18802         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18803         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18804         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18805         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18810         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18811         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18812         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18813         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18814         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18815         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18817         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18818         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18819         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18820         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18821         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18822         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18823         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18824         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18825         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18826         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18827         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18828         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18829         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18830         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18831         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18832         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18833         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18834         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18835         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18836         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18837         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18838         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18839         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18841         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18842         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18843         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18844         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18845         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18846         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18847         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18848         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18849         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18850         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18851         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18852         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18853         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18854         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18855         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18856         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18857         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18858         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18859         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18860         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18861         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18862         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18863         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18864         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18865         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18866         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18867         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18868         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18869         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18870         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18871         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18872         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18873         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18874         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18875         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18876         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18877         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18878         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18879         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18880         * sysdeps/ieee754/k_standard.c: Likewise.
18881         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18882         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18883         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18884         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18885         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18886         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18887         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18888         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18889         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18893         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18894         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18895         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18896         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18897         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18898         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18899         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18900         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18901         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18902         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18903         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18904         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18905         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18906         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18907         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18908         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18912         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18913         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18914         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18916         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18917         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18918         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18919         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18922         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18924         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18925         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18926         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18927         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18929         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18930         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18931         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18932         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18933         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18934         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18935         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18936         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18937         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18938         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18939         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18940         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18941         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18942         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18944         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18947         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18949         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18951         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18953         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18954         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18955         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18956         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18957         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18958         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18960         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18961         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18962         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18963         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18965         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18966         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18967         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18968         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18971         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18972         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18973         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18974         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18977         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18978         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18979         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18982         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18983         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18985         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18986         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18987         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18988         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18989         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18990         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18991         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18992         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18993         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18994         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18995         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18996         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18997         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18998         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18999         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19000         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19002         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19003         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19004         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19005         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19006         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19007         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19008         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19009         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19010         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19011         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19012         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19013         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19014         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19015         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19016         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19017         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19018         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19019         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19020         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19021         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19022         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19023         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19024         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19025         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19026         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19027         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19028         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19029         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19030         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19031         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19032         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19033         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19034         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19035         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19036         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19037         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19038         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19039         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19040         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19041         * sysdeps/ieee754/s_lib_version.c: Likewise.
19042         * sysdeps/ieee754/s_matherr.c: Likewise.
19043         * sysdeps/ieee754/s_signgam.c: Likewise.
19044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19046         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19047         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19048         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19049         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19050         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19051         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19052         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19053         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19054         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19055         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19056         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19057         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19058         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19059         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19060         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19061         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19062         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19065
19066 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19067
19068         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19069         * sunrpc/rpc_main.c: Likewise.
19070         * sunrpc/rpc_svcout.c: Likewise.
19071
19072 2012-03-09  David S. Miller  <davem@davemloft.net>
19073
19074         * include/math_private.h: New file.
19075
19076 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19077
19078         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19079         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19080         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19081         from <bits/socket_type.h>.
19082         (enum __socket_type): Don't define here.
19083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19085         bits/socket_type.h.
19086
19087         [BZ #13566]
19088         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19089         checking __USE_GNU.
19090
19091         * Makerules ($(inst_includedir)/%.h): New rule.
19092         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19093         (install-others): Remove variable setting.
19094         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19095
19096 2012-03-08  Richard Henderson  <rth@twiddle.net>
19097
19098         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19099         from macro to inline function; merge with the
19100         !__LIBC_INTERNAL_MATH_INLINES version.
19101         (__ieee754_sqrtf): Likewise.
19102
19103         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19104         to inline function.
19105         (__rintf, __floor, __floorf): Likewise.
19106
19107         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19108         macro to inline function.
19109         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19110
19111         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19112         not <math/math_private.h>.
19113
19114 2012-03-08  David S. Miller  <davem@davemloft.net>
19115
19116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19117         copyright year.
19118         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19119
19120 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
19121
19122         * resolv/gai_misc.c (handle_requests): Fix struct timespec
19123         normalization.
19124         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19125         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19126
19127 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
19128
19129         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
19130         be defined individually, they must be defined as a block.  Define
19131         S for printing a string instead of hidint the different by using a
19132         macro for adding the 'l'.
19133         * stdio-common/tst-fphex-wide.c: Adjust.
19134
19135 2012-03-07  Marek Polacek  <polacek@redhat.com>
19136
19137         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19138
19139 2012-03-08  Marek Polacek  <polacek@redhat.com>
19140
19141         [BZ #13806]
19142         * stdio-common/Makefile (tests): Add tst-fphex-wide.
19143         * stdio-common/tst-fphex.c: Define a few macros to make the
19144         test reusable.  Use them.
19145         * stdio-common/tst-fphex-wide.c: New file.
19146
19147 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
19148
19149         [BZ #6911]
19150         * manual/macros.texi (gnusystems): New macro.
19151         (nongnusystems): Likewise.
19152         (gnulinuxhurdsystems): Likewise.
19153         (gnuhurdsystems): Likewise..
19154         (gnulinuxsystems): Likewise.
19155         * manual/charset.texi: Use new macros or @theglibc{} to refer to
19156         variants of the GNU system, not "GNU system".
19157         * manual/conf.texi: Likewise.
19158         * manual/errno.texi: Likewise.  Update example of errno macro
19159         expansion.
19160         * manual/filesys.texi: Likewise.
19161         (getumask): Document as specific to GNU/Hurd.
19162         * manual/install.texi: Likewise.  Reword some references to
19163         GNU/Linux.
19164         * manual/intro.texi: Likewise.
19165         * manual/io.texi: Likewise.
19166         (File Name Portability): Detail which constraints are inapplicable
19167         to all GNU systems and which are only inapplicable to GNU/Hurd.
19168         * manual/job.texi: Likewise.
19169         * manual/llio.texi: Likewise.
19170         (O_NOCTTY): Document as present on GNU/Linux.
19171         * manual/maint.texi: Likewise.
19172         * manual/memory.texi: Likewise.
19173         * manual/pattern.texi: Likewise.
19174         * manual/pipe.texi: Likewise.
19175         * manual/process.texi: Likewise.
19176         * manual/resource.texi: Likewise.
19177         (RUSAGE_CHILDREN): Remove statement about specifying a particular
19178         child on GNU/Hurd.
19179         * manual/setjmp.texi: Likewise.
19180         * manual/signal.texi: Likewise.
19181         * manual/startup.texi: Likewise.
19182         * manual/stdio.texi: Likewise.
19183         * manual/terminal.texi: Likewise.
19184         (ONLCR): Document as POSIX.
19185         (OXTABS): Document availability on GNU/Linux as XTABS.
19186         (ONOEOT): Document availability separately from other bits.
19187         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19188         * manual/time.texi: Likewise.
19189         * manual/users.texi: Likewise.
19190         * INSTALL: Regenerated.
19191         * sysdeps/gnu/errlist.c: Regenerated.
19192
19193         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19194         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19195         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19196         puts.
19197         * configure: Regenerated.
19198
19199 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19200
19201         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19202         default includes instead of AC_HEADER_CHECK.
19203         * sysdeps/i386/configure: Regenerated.
19204
19205         [BZ #10716]
19206         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19207         * math/s_cacoshf.c (__cacoshf): Likewise.
19208         * math/s_cacoshl.c (__cacoshl): Likewise.
19209         * math/s_casinh.c (__casinh): Set signs of result from argument.
19210         * math/s_casinhf.c (__casinhf): Likewise.
19211         * math/s_casinhl.c (__casinhl): Likewise.
19212         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19213         (casinh_test): Add more tests.
19214         * sysdeps/i386/fpu/libm-test-ulps: Update.
19215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19216
19217 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19218
19219         * po/zh_TW.po: Update from translation team.
19220
19221         * login/Makefile (distribute): Remove variable.
19222         * catgets/Makefile: Likewise.
19223         * mach/Makefile: Likewise.
19224         * malloc/Makefile: Likewise.
19225         * misc/Makefile: Likewise.
19226         * iconv/Makefile: Likewise.
19227         * nscd/Makefile: Likewise.
19228         * hurd/Makefile: Likewise.
19229         * manual/Makefile: Likewise.
19230         * locale/Makefile: Likewise.
19231         * intl/Makefile: Likewise.
19232         * conform/Makefile: Likewise.
19233         * nss/Makefile: Likewise.
19234         * time/Makefile: Likewise.
19235         * soft-fp/Makefile: Likewise.
19236         * dirent/Makefile: Likewise.
19237         * gmon/Makefile: Likewise.
19238         * po/Makefile: Likewise.
19239         * rt/Makefile: Likewise.
19240         * socket/Makefile: Likewise.
19241         * math/Makefile: Likewise.
19242         * signal/Makefile: Likewise.
19243         * debug/Makefile: Likewise.
19244         * elf/Makefile: Likewise.
19245         * timezone/Makefile: Likewise.
19246         * stdlib/Makefile: Likewise.
19247         * iconvdata/Makefile: Likewise.
19248         * sunrpc/Makefile: Likewise.
19249         * io/Makefile: Likewise.
19250         * argp/Makefile: Likewise.
19251         * inet/Makefile: Likewise.
19252         * hesiod/Makefile: Likewise.
19253         * grp/Makefile: Likewise.
19254         * csu/Makefile: Likewise.
19255         * wctype/Makefile: Likewise.
19256         * crypt/Makefile: Likewise.
19257         * libio/Makefile: Likewise.
19258         * string/Makefile: Likewise.
19259         * nis/Makefile: Likewise.
19260         * resolv/Makefile: Likewise.
19261         * stdio-common/Makefile: Likewise.
19262         * wcsmbs/Makefile: Likewise.
19263         * dlfcn/Makefile: Likewise.
19264         * posix/Makefile: Likewise.
19265
19266         [BZ #6959]
19267         * timezone/Makefile: Don't install timezone files, just the programs
19268         and scripts.
19269
19270 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19271
19272         * nss/databases.def: Add missing gshadow entry.
19273
19274         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19275
19276 2012-03-06  Marek Polacek  <polacek@redhat.com>
19277
19278         [BZ #13726]
19279         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19280         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19281         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19282         * stdio-common/tst-long-dbl-fphex.c: New file.
19283
19284 2012-03-06  David S. Miller  <davem@davemloft.net>
19285
19286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19287         (set_obp_int): New function.
19288         (get_obp_int): New function.
19289         (__get_clockfreq_via_dev_openprom): Likewise.
19290         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19291         Avoid unused variable warnings on 'val' and use builtin_expect.
19292         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19293         __builtin_expect.
19294         (INLINE_CLONE_SYSCALL): Likewise.
19295
19296 2012-03-05  David S. Miller  <davem@davemloft.net>
19297
19298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19299
19300 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19301
19302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303
19304         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19305         only for |x| >= 40.
19306         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19307
19308 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19309
19310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19311         Replace gettimeofday with __vdso_gettimeofday.
19312
19313         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19314         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19315         __vdso_clock_gettime and __vdso_getcpu.
19316
19317         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19318         time with __vdso_time.
19319
19320 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19321
19322         * manual/lang.texi (size_t): Note types to which size_t may be
19323         equivalent with the GNU C Library, but do not describe when
19324         differences between them are significant.
19325
19326 2012-03-05  Andreas Jaeger  <aj@suse.de>
19327
19328         * sysdeps/i386/fpu/libm-test-ulps: Update.
19329
19330 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19331
19332         [BZ #3976]
19333         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19334         (__ieee754_pow): Save and restore rounding mode and use
19335         round-to-nearest for main computations.
19336         * math/libm-test.inc (pow_test_tonearest): New function.
19337         (pow_test_towardzero): Likewise.
19338         (pow_test_downward): Likewise.
19339         (pow_test_upward): Likewise.
19340         (main): Call the new functions.
19341         * sysdeps/i386/fpu/libm-test-ulps: Update.
19342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19343
19344         [BZ #3976]
19345         * math/libm-test.inc (cosh_test_tonearest): New function.
19346         (cosh_test_towardzero): Likewise.
19347         (cosh_test_downward): Likewise.
19348         (cosh_test_upward): Likewise.
19349         (sinh_test_tonearest): Likewise.
19350         (sinh_test_towardzero): Likewise.
19351         (sinh_test_downward): Likewise.
19352         (sinh_test_upward): Likewise.
19353         (main): Call the new functions.
19354         * sysdeps/i386/fpu/libm-test-ulps: Update.
19355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19356
19357 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19358
19359         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19360         default stack guard is set in last bytes.
19361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19362
19363 2012-03-05  Kees Cook  <keescook@chromium.org>
19364
19365         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19366
19367         [BZ #13656]
19368         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19369         possibly allocate from heap instead of stack.
19370         * stdio-common/bug-vfprintf-nargs.c: New file.
19371         * stdio-common/Makefile (tests): Add nargs overflow test.
19372
19373 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19374
19375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19376
19377 2012-03-03  Marek Polacek  <polacek@redhat.com>
19378
19379         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19380         * math/math_private.h: Likewise.
19381         * stdlib/tst-strtod.c: Likewise.
19382         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19383         * sysdeps/x86_64/bits/atomic.h: Likewise.
19384
19385 2012-03-02  David S. Miller  <davem@davemloft.net>
19386
19387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19391         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19392         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19393         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19394         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19395
19396 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19397
19398         [BZ #13792]
19399         * manual/examples/README: New file, says the example source files
19400         can be used under GPL>=2.
19401         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19402         line containing just "*/".
19403         * manual/examples/add.c: Add copyright header (GPL>=2).
19404         * manual/examples/argp-ex1.c: Likewise.
19405         * manual/examples/argp-ex2.c: Likewise.
19406         * manual/examples/argp-ex3.c: Likewise.
19407         * manual/examples/argp-ex4.c: Likewise.
19408         * manual/examples/atexit.c: Likewise.
19409         * manual/examples/db.c: Likewise.
19410         * manual/examples/dir.c: Likewise.
19411         * manual/examples/dir2.c: Likewise.
19412         * manual/examples/execinfo.c: Likewise.
19413         * manual/examples/filecli.c: Likewise.
19414         * manual/examples/filesrv.c: Likewise.
19415         * manual/examples/fmtmsgexpl.c: Likewise.
19416         * manual/examples/genpass.c: Likewise.
19417         * manual/examples/inetcli.c: Likewise.
19418         * manual/examples/inetsrv.c: Likewise.
19419         * manual/examples/isockad.c: Likewise.
19420         * manual/examples/longopt.c: Likewise.
19421         * manual/examples/memopen.c: Likewise.
19422         * manual/examples/memstrm.c: Likewise.
19423         * manual/examples/mkfsock.c: Likewise.
19424         * manual/examples/mkisock.c: Likewise.
19425         * manual/examples/mygetpass.c: Likewise.
19426         * manual/examples/pipe.c: Likewise.
19427         * manual/examples/popen.c: Likewise.
19428         * manual/examples/rprintf.c: Likewise.
19429         * manual/examples/search.c: Likewise.
19430         * manual/examples/select.c: Likewise.
19431         * manual/examples/setjmp.c: Likewise.
19432         * manual/examples/sigh1.c: Likewise.
19433         * manual/examples/sigusr.c: Likewise.
19434         * manual/examples/stpcpy.c: Likewise.
19435         * manual/examples/strdupa.c: Likewise.
19436         * manual/examples/strftim.c: Likewise.
19437         * manual/examples/strncat.c: Likewise.
19438         * manual/examples/subopt.c: Likewise.
19439         * manual/examples/swapcontext.c: Likewise.
19440         * manual/examples/termios.c: Likewise.
19441         * manual/examples/testopt.c: Likewise.
19442         * manual/examples/testpass.c: Likewise.
19443         * manual/examples/timeval_subtract.c: Likewise.
19444
19445         [BZ #13792]
19446         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19447         function to ...
19448         * manual/timeval_subtract.c.texi: ... here, new file.
19449
19450 2012-03-02  David S. Miller  <davem@davemloft.net>
19451
19452         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19453
19454 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19455
19456         [BZ #3976]
19457         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19458         (__sin): Save and restore rounding mode and use round-to-nearest
19459         for all computations.
19460         (__cos): Save and restore rounding mode and use round-to-nearest
19461         for all computations.
19462         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19463         <fenv.h>.
19464         (tan): Save and restore rounding mode and use round-to-nearest for
19465         all computations.
19466         * math/libm-test.inc (cos_test_tonearest): New function.
19467         (cos_test_towardzero): Likewise.
19468         (cos_test_downward): Likewise.
19469         (cos_test_upward): Likewise.
19470         (sin_test_tonearest): Likewise.
19471         (sin_test_towardzero): Likewise.
19472         (sin_test_downward): Likewise.
19473         (sin_test_upward): Likewise.
19474         (tan_test_tonearest): Likewise.
19475         (tan_test_towardzero): Likewise.
19476         (tan_test_downward): Likewise.
19477         (tan_test_upward): Likewise.
19478         (main): Call the new functions.
19479         * sysdeps/i386/fpu/libm-test-ulps: Update.
19480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19481
19482         [BZ #10135]
19483         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19484         small n, then large n, before computing and testing k+n.
19485         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19487         Likewise.
19488         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19489         Likewise.
19490         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19491         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19492         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19493         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19498         * math/libm-test.inc (scalbn_test): Add more tests.
19499         (scalbln_test): Likewise.
19500
19501         * manual/filesys.texi (mode_t): Describe constraints on size and
19502         signedness, not exact equivalence to a particular type.
19503         (ino_t): Likewise.
19504         (ino64_t): Likewise.
19505         (dev_t): Likewise.
19506         (nlink_t): Likewise.
19507         (blkcnt_t): Likewise.
19508         (blkcnt64_t): Likewise.
19509         * manual/llio.texi (off_t): Likewise.
19510
19511         [BZ #3976]
19512         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19513         (__ieee754_exp): Save and restore rounding mode and use
19514         round-to-nearest for all computations.
19515         * math/libm-test.inc (exp_test_tonearest): New function.
19516         (exp_test_towardzero): Likewise.
19517         (exp_test_downward): Likewise.
19518         (exp_test_upward): Likewise.
19519         (main): Call the new functions.
19520         * sysdeps/i386/fpu/libm-test-ulps: Update.
19521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19522
19523 2012-03-01  Chris Demetriou  <cgd@google.com>
19524
19525         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19526         have predictable order.
19527
19528 2012-03-01  David S. Miller  <davem@davemloft.net>
19529
19530         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19531
19532         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19533         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19534         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19535         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19536
19537         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19538         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19539         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19541         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19542         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19543         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19544         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19545         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19546
19547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19548
19549         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19550         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19551         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19552
19553         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19554         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19555         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19556         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19557         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19558         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19559         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19560         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19561         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19562         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19563         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19566         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19567         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19569         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19570         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19571         * sysdeps/sparc/elf/configure: Regenerated.
19572
19573 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19574
19575         * configure.in (AS, LD): Require binutils 2.20 or later.
19576         * configure: Regenerated.
19577         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19578         as required minimum version.
19579         * INSTALL: Regenerated.
19580
19581         [BZ #2541]
19582         [BZ #4108]
19583         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19584         before squaring exponent.
19585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19586         bottom long double and 27 bits of top long double before squaring
19587         exponent.
19588         * math/libm-test.inc (erfc_test): Add more tests.
19589         * sysdeps/i386/fpu/libm-test-ulps: Update.
19590         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592
19593 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19594
19595         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19596         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19597         containing bit-fields.
19598         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19599         * soft-fp/single.h (_FP_UNION_S): Likewise.
19600         * soft-fp/double.h (_FP_UNION_D): Likewise.
19601
19602 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19603
19604         [BZ #13786]
19605         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19606         not include ../strcmp.S.
19607         [USE_AS_STRNCASECMP_L]: Likewise.
19608         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19609         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19610         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19611         (__strncasecmp_l_ia32): Define as alias to
19612         __strncasecmp_l_nonascii.
19613
19614         [BZ #5794]
19615         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19616         * sysdeps/i386/fpu/libm-test-ulps: Update.
19617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19618
19619         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19621
19622 2012-02-29  Jeff Law  <law@redhat.com>
19623
19624         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19625         out of bounds read.
19626
19627 2012-02-29  Marek Polacek  <polacek@redhat.com>
19628
19629         [BZ #13706]
19630         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19631         * elf/Makefile: Add rules to run tst-unused-dep.out.
19632
19633 2012-02-28  David S. Miller  <davem@davemloft.net>
19634
19635         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19636         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19638         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19639         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19640         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19641
19642 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19643
19644         * math/libm-test.inc (llround_test): Move one test from
19645         lround_test.  Use TEST_f_L in moved test.
19646         (lround_test): Move misplaced test to llround_test.  Add testcase
19647         from bug 2561.
19648
19649 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19650
19651         * sysdeps/x86_64/fpu/e_expf.S: New file.
19652         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19653
19654 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19655
19656         [BZ #13637]
19657         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19658         of remain_len that may cause incomplete multi-byte character and
19659         false match.
19660         * posix/bug-regex33.c: New file.
19661         * posix/Makefile (tests): Add bug-regex33.
19662
19663 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19664
19665         * manual/macros.texi: New file.
19666         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19667         * manual/libc.texinfo: Include macros.texi.
19668         * manual/creatute.texi: Likewise.
19669         * manual/install.texi: Likewise.
19670         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19671         @glibcadj{} in references to the GNU C Library.
19672         * manual/charset.texi: Likewise.
19673         * manual/conf.texi: Likewise.
19674         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19675         when not using those macros.
19676         * manual/creature.texi: Likewise.
19677         * manual/crypt.texi: Likewise.
19678         * manual/errno.texi: Likewise.
19679         * manual/filesys.texi: Likewise.
19680         * manual/header.texi: Likewise.
19681         * manual/install.texi: Likewise.
19682         * manual/intro.texi: Likewise.
19683         * manual/io.texi: Likewise.
19684         * manual/job.texi: Likewise.
19685         * manual/lang.texi: Likewise.
19686         * manual/libc.texiinfo: Likewise.
19687         * manual/llio.texi: Likewise.
19688         * manual/locale.texi: Likewise.
19689         * manual/maint.texi: Likewise.
19690         * manual/math.texi: Likewise.
19691         * manual/memory.texi: Likewise.
19692         * manual/message.texi: Likewise.
19693         * manual/nss.texi: Likewise.
19694         * manual/pattern.texi: Likewise.
19695         * manual/process.texi: Likewise.
19696         * manual/resource.texi: Likewise.
19697         * manual/search.texi: Likewise.
19698         * manual/setjmp.texi: Likewise.
19699         * manual/signal.texi: Likewise.
19700         * manual/socket.texi: Likewise.
19701         * manual/startup.texi: Likewise.
19702         * manual/stdio.texi: Likewise.
19703         * manual/string.texi: Likewise.
19704         * manual/sysinfo.texi: Likewise.
19705         * manual/syslog.texi: Likewise.
19706         * manual/terminal.texi: Likewise.
19707         * manual/time.texi: Likewise.
19708         * manual/users.texi: Likewise.
19709         * INSTALL: Regenerated.
19710         * NOTES: Regenerated.
19711         * sysdeps/gnu/errlist.c: Regenerated.
19712
19713 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19714
19715         * include/dirent.h: Include <dirstream.h> before
19716         <dirent/dirent.h>.
19717
19718 2012-02-28  David S. Miller  <davem@davemloft.net>
19719
19720         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19721         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19722         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19723         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19724
19725 2012-02-27  David S. Miller  <davem@davemloft.net>
19726
19727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19729         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19730         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19731
19732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19733         frame pointer instead of stack pointer relative arg slot.
19734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19735         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19736         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19737
19738 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19739
19740         [BZ #3992]
19741         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19742
19743 2012-02-27  David S. Miller  <davem@davemloft.net>
19744
19745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19749         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19750         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19751         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19752         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19753
19754 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19755
19756         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19757         later.  Allow versions 5-9.
19758         * configure: Regenerated.
19759         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19760         required minimum version and 4.6 as recommended version.  Do not
19761         mention bugs in GCC 2.7 and 2.8.
19762         * INSTALL: Regenerated.
19763
19764 2012-02-27  David S. Miller  <davem@davemloft.net>
19765
19766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19770         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19771         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19772         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19773         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19774
19775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19776         manipulate bits before adding and subtracting TWO112[sx].
19777         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19778
19779 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19780
19781         [BZ #13775]
19782         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19783         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19784         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19785         being in POSIX, because they are in 1003.1-2008.
19786
19787         * rt/tst-aio.c: Include <fcntl.h>.
19788         * rt/tst-aio7.c: Likewise.
19789         * rt/tst-aio64.c: Likewise.
19790
19791         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19792
19793 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19794
19795         * manual/install.texi (--with-headers): Describe headers as
19796         interface headers, not private headers.
19797         (Specific advice for GNU/Linux systems): Describe use of headers
19798         from "make headers_install", not private headers from older
19799         kernels.
19800         * INSTALL: Regenerated.
19801         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19802         Change to 2.6.19.
19803         * sysdeps/unix/sysv/linux/configure: Regenerated.
19804
19805         * manual/llio.texi (fclean): Remove documentation.
19806
19807         * manual/Makefile (libc-texi-generated): New variable.  Include
19808         version.texi.
19809         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19810         $(libc-texi-generated), not duplicated list of files.
19811         (version.texi, stamp-version): New rules.
19812         (realclean): Remove $(libc-texi-generated), not individual files
19813         from that list.  Do not remove dir-add.texinfo.
19814         * manual/libc.texinfo: Comment out uses of edition numbers and
19815         references to printed manual.  Remove last-updated dates.
19816         (EDITION): Comment out.
19817         (ISBN): Likewise.
19818         (VERSION, UPDATED): Remove.
19819         (version.texi): Include.
19820
19821 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19822
19823         * sysdeps/posix/spawni.c: Include <signal.h>.
19824         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19825         * sysdeps/pthread/aio_fsync.c: Likewise.
19826
19827 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19828
19829         * conform/Makefile (tests): Run only when not cross-compiling and
19830         when fast-check is not defined.
19831
19832         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19833         * conform/data/limits.h-data: Fixes for POSIX2008.
19834         * conform/run-conformtest.sh: Run all tests.
19835         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19836         headers.
19837         * include/bits/dlfcn.h: Likewise.
19838         * include/langinfo.h: Likewise.
19839         * include/monetary.h: Likewise.
19840         * include/sys/poll.h: Likewise.
19841
19842         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19843         for __USE_GNU.
19844         * posix/spawn.h: Define __need_sigset_t.
19845         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19846         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19847         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19848         to get sigevent_t only.
19849         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19850         only for __USE_GNU.
19851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19852         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19853         process_vm_writev only for __USE_GNU.
19854         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19855
19856         * conform/Makefile: For now ignore errors from run-conformtest.
19857         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19858         POSIX to avoid namespace pollution.  Don't prepend headers.
19859         * conform/data/aio.h-data: Fixes for POSIX testing.
19860         * conform/data/fcntl.h-data: Likewise.
19861         * conform/data/glob.h-data: Likewise.
19862         * conform/data/grp.h-data: Likewise.
19863         * conform/data/pthread.h-data: Likewise.
19864         * conform/data/pwd.h-data: Likewise.
19865         * conform/data/signal.h-data: Likewise.
19866         * conform/data/spawn.h-data: Likewise.
19867         * conform/data/stdio.h-data: Likewise.
19868         * conform/data/stdlib.h-data: Likewise.
19869         * conform/data/stropts.h-data: Likewise.
19870         * conform/data/sys/mman.h-data: Likewise.
19871         * conform/data/sys/stat.h-data: Likewise.
19872         * conform/data/sys/types.h-data: Likewise.
19873         * conform/data/sys/wait.h-data: Likewise.
19874         * conform/data/time.h-data: Likewise.
19875         * conform/data/unistd.h-data: Likewise.
19876         * conform/data/utime.h-data: Likewise.
19877
19878         * io/sys/stat.h: fchmod was always in POSIX.
19879         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19880         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19881         * rt/aio.h: Define __need_timespec before including <time.h>.
19882         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19883         struct.  Add forward declaration of pthread_attr_t and use it in
19884         sigevent.
19885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19887         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19888         always remove CLK_TCK definition.
19889
19890 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19891
19892         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19893
19894 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19895
19896         * conform/run-conformtest.sh: New file.
19897         * conform/Makefile: Run run-conformtest for tests.
19898         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19899         support.
19900
19901         * conform/data/uchar.h-data: New file.
19902         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19903         * conform/data/arpa/inet.h-data: Likewise.
19904         * conform/data/assert.h-data: Likewise.
19905         * conform/data/complex.h-data: Likewise.
19906         * conform/data/cpio.h-data: Likewise.
19907         * conform/data/ctype.h-data: Likewise.
19908         * conform/data/dirent.h-data: Likewise.
19909         * conform/data/dlfcn.h-data: Likewise.
19910         * conform/data/errno.h-data: Likewise.
19911         * conform/data/fcntl.h-data: Likewise.
19912         * conform/data/float.h-data: Likewise.
19913         * conform/data/fmtmsg.h-data: Likewise.
19914         * conform/data/fnmatch.h-data: Likewise.
19915         * conform/data/ftw.h-data: Likewise.
19916         * conform/data/glob.h-data: Likewise.
19917         * conform/data/grp.h-data: Likewise.
19918         * conform/data/iconv.h-data: Likewise.
19919         * conform/data/inttypes.h-data: Likewise.
19920         * conform/data/langinfo.h-data: Likewise.
19921         * conform/data/libgen.h-data: Likewise.
19922         * conform/data/limits.h-data: Likewise.
19923         * conform/data/locale.h-data: Likewise.
19924         * conform/data/math.h-data: Likewise.
19925         * conform/data/monetary.h-data: Likewise.
19926         * conform/data/mqueue.h-data: Likewise.
19927         * conform/data/ndbm.h-data: Likewise.
19928         * conform/data/net/if.h-data: Likewise.
19929         * conform/data/netdb.h-data: Likewise.
19930         * conform/data/netinet/in.h-data: Likewise.
19931         * conform/data/nl_types.h-data: Likewise.
19932         * conform/data/poll.h-data: Likewise.
19933         * conform/data/pthread.h-data: Likewise.
19934         * conform/data/pwd.h-data: Likewise.
19935         * conform/data/regex.h-data: Likewise.
19936         * conform/data/sched.h-data: Likewise.
19937         * conform/data/search.h-data: Likewise.
19938         * conform/data/semaphore.h-data: Likewise.
19939         * conform/data/setjmp.h-data: Likewise.
19940         * conform/data/signal.h-data: Likewise.
19941         * conform/data/spawn.h-data: Likewise.
19942         * conform/data/stdarg.h-data: Likewise.
19943         * conform/data/stdio.h-data: Likewise.
19944         * conform/data/stdlib.h-data: Likewise.
19945         * conform/data/string.h-data: Likewise.
19946         * conform/data/strings.h-data: Likewise.
19947         * conform/data/stropts.h-data: Likewise.
19948         * conform/data/sys/ipc.h-data: Likewise.
19949         * conform/data/sys/mman.h-data: Likewise.
19950         * conform/data/sys/msg.h-data: Likewise.
19951         * conform/data/sys/resource.h-data: Likewise.
19952         * conform/data/sys/select.h-data: Likewise.
19953         * conform/data/sys/sem.h-data: Likewise.
19954         * conform/data/sys/shm.h-data: Likewise.
19955         * conform/data/sys/socket.h-data: Likewise.
19956         * conform/data/sys/stat.h-data: Likewise.
19957         * conform/data/sys/statvfs.h-data: Likewise.
19958         * conform/data/sys/time.h-data: Likewise.
19959         * conform/data/sys/timeb.h-data: Likewise.
19960         * conform/data/sys/times.h-data: Likewise.
19961         * conform/data/sys/types.h-data: Likewise.
19962         * conform/data/sys/uio.h-data: Likewise.
19963         * conform/data/sys/un.h-data: Likewise.
19964         * conform/data/sys/utsname.h-data: Likewise.
19965         * conform/data/sys/wait.h-data: Likewise.
19966         * conform/data/syslog.h-data: Likewise.
19967         * conform/data/tar.h-data: Likewise.
19968         * conform/data/termios.h-data: Likewise.
19969         * conform/data/utime.h-data: Likewise.
19970         * conform/data/utmpx.h-data: Likewise.
19971         * conform/data/varargs.h-data: Likewise.
19972         * conform/data/wchar.h-data: Likewise.
19973         * conform/data/wctype.h-data: Likewise.
19974         * conform/data/wordexp.h-data: Likewise.
19975
19976         * include/stropts.h: New file.
19977         * include/uchar.h: New file.
19978         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19979         * include/assert.h: Likewise.
19980         * include/ctype.h: Likewise.
19981         * include/dirent.h: Likewise.
19982         * include/dlfcn.h: Likewise.
19983         * include/fcntl.h: Likewise.
19984         * include/fnmatch.h: Likewise.
19985         * include/glob.h: Likewise.
19986         * include/grp.h: Likewise.
19987         * include/libio.h: Likewise.
19988         * include/locale.h: Likewise.
19989         * include/math.h: Likewise.
19990         * include/net/if.h: Likewise.
19991         * include/netdb.h: Likewise.
19992         * include/netinet/in.h: Likewise.
19993         * include/pthread.h: Likewise.
19994         * include/pwd.h: Likewise.
19995         * include/regex.h: Likewise.
19996         * include/sched.h: Likewise.
19997         * include/search.h: Likewise.
19998         * include/setjmp.h: Likewise.
19999         * include/signal.h: Likewise.
20000         * include/stdio.h: Likewise.
20001         * include/stdlib.h: Likewise.
20002         * include/string.h: Likewise.
20003         * include/sys/cdefs.h: Likewise.
20004         * include/sys/mman.h: Likewise.
20005         * include/sys/msg.h: Likewise.
20006         * include/sys/resource.h: Likewise.
20007         * include/sys/select.h: Likewise.
20008         * include/sys/socket.h: Likewise.
20009         * include/sys/stat.h: Likewise.
20010         * include/sys/statvfs.h: Likewise.
20011         * include/sys/time.h: Likewise.
20012         * include/sys/times.h: Likewise.
20013         * include/sys/uio.h: Likewise.
20014         * include/sys/utsname.h: Likewise.
20015         * include/sys/wait.h: Likewise.
20016         * include/termios.h: Likewise.
20017         * include/time.h: Likewise.
20018         * include/ulimit.h: Likewise.
20019         * include/unistd.h: Likewise.
20020         * include/utime.h: Likewise.
20021         * include/wchar.h: Likewise.
20022         * include/wctype.h: Likewise.
20023         * include/wordexp.h: Likewise.
20024
20025         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20026
20027         * time/time.h: TIME_UTC must be a macro.
20028         Make timespec_get available for ISO C11 only as well.
20029
20030 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
20031
20032         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20033         Reported by Peng Haitao <penght@cn.fujitsu.com>.
20034
20035 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20036
20037         * configure.in: Use -o not -a in test for unsupported multi-arch.
20038
20039 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20040
20041         * manual/texinfo.tex: Update to version 2012-01-19.16.
20042
20043 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20044
20045         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20046
20047 2012-02-24  Roland McGrath  <roland@hack.frob.com>
20048
20049         [BZ #13738]
20050         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20051         * manual/fdl-1.3.texi: New file.
20052         * manual/fdl-1.1.texi: File removed.
20053
20054         [BZ #13738]
20055         * manual/libc.texinfo (FDL_VERSION): New @set.
20056         Use it for mention of FDL in cover text.
20057         (Documentation License): Use it in @include file name.
20058
20059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20060             Roland McGrath  <roland@hack.frob.com>
20061
20062         [BZ #5461]
20063         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20064         not LONG_LONG_MAX and LONG_LONG_MIN.
20065         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20066         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
20067         name.
20068         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20069
20070 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20071
20072         [BZ #2547]
20073         [BZ #11365]
20074         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20075         manipulate bits before adding and subtracting TWO23[sx].
20076         * math/libm-test.inc (nearbyint_test): Add more tests.
20077
20078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20079
20080         [BZ #2548]
20081         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20082         bits before adding and subtracting TWO23[sx].
20083         * math/libm-test.inc (rint_test): Add more tests.
20084         (rint_test_tonearest): Likewise.
20085         (rint_test_towardzero): Likewise.
20086         (rint_test_downward): Likewise.
20087         (rint_test_upward: Likewise.
20088
20089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20090
20091         [BZ #10110]
20092         * include/stdc-predef.h: New file.  Extracted from features.h.
20093         * include/features.h: Include stdc-predef.h.
20094         * Makefile (headers): Add stdc-predef.h.
20095         * CONFORMANCE (Compiler limitations): Update.
20096
20097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20098
20099         * manual/libc.texinfo (VERSION, UPDATED): Revert.
20100
20101 2012-02-21  David S. Miller  <davem@davemloft.net>
20102
20103         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20104         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20105
20106 2012-02-20  David S. Miller  <davem@davemloft.net>
20107
20108         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20109         using a normal save/restore sequence, rather than allocating a
20110         dummy stack frame just to store a frame pointer and restore.
20111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20112
20113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20114
20115         * manual/install.texi: Fix stray word in line-wrapped comment.
20116
20117 2012-02-20  David S. Miller  <davem@davemloft.net>
20118
20119         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20120         both binutils and gcc support GOTDATA.
20121
20122         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20123         "rd %pc" in the PIC register setup sequences.
20124
20125         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20126         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20127         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20128         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20129         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20131         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20132         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20134         (SYSCALL_ERROR_HANDLER): Likewise.
20135         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20136         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20138         (SYSCALL_ERROR_HANDLER): Likewise.
20139
20140         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20141         (HAVE_GCC_GOTDATA): New.
20142         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20143         relocation support in both binutils and gcc.
20144         * sysdeps/sparc/elf/configure: Regenerate.
20145
20146         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20147         * sysdeps/sparc/sparc32/elf/configure: Delete.
20148         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20149         * sysdeps/sparc/sparc64/elf/configure: Delete.
20150         * sysdeps/sparc/elf/configure.in: New file.
20151         * sysdeps/sparc/elf/configure: Generate.
20152
20153         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20154         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20155         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20156         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20157         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20158
20159 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20160
20161         * manual/install.texi: Do not mention specific glibc version
20162         numbers.
20163         * manual/libc.texinfo (VERSION, UPDATED): Update.
20164         (@copying): Use @copyright{} and range of years.
20165
20166 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20167
20168         [BZ #13695]
20169         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20170         [crti.S not in sysdirs] (generated): Do not append.
20171         [crti.S not in sysdirs] (omit-deps): Likewise.
20172         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20173         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20174         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20175         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20176         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20177         Likewise.
20178         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20179         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20180         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20181         * csu/defs.awk: Remove file.
20182         * sysdeps/generic/initfini.c: Likewise.
20183         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20184         variable.
20185         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20186         Likewise.
20187
20188 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20189
20190         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20191         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20192         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20195         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20196         <bits/epoll.h>.
20197         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20198         (__EPOLL_PACKED): Define to empty if not defined by
20199         <bits/epoll.h>.
20200         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20202         bits/epoll.h.
20203
20204 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20205
20206         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20207         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20208         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20209         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20210         <bits/timerfd.h>.
20211         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20213         bits/timerfd.h.
20214
20215 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20216
20217         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20218         in C locale.
20219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20220         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20223
20224 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20225
20226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20227         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20228
20229 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20230
20231         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20232         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20233         defined.
20234         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20235         Likewise.
20236         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20237         entry for 2.16.
20238
20239 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20240
20241         * math/w_acos.c: Use non-signaling floating-point comparisons.
20242         * math/w_acosf.c: Likewise.
20243         * math/w_acosh.c: Likewise.
20244         * math/w_acoshf.c: Likewise.
20245         * math/w_acoshl.c: Likewise.
20246         * math/w_acosl.c: Likewise.
20247         * math/w_asin.c: Likewise.
20248         * math/w_asinf.c: Likewise.
20249         * math/w_asinl.c: Likewise.
20250         * math/w_atanh.c: Likewise.
20251         * math/w_atanhf.c: Likewise.
20252         * math/w_atanhl.c: Likewise.
20253         * math/w_exp2.c: Likewise.
20254         * math/w_exp2f.c: Likewise.
20255         * math/w_exp2l.c: Likewise.
20256         * math/w_j0.c: Likewise.
20257         * math/w_j0f.c: Likewise.
20258         * math/w_j0l.c: Likewise.
20259         * math/w_j1.c: Likewise.
20260         * math/w_j1f.c: Likewise.
20261         * math/w_j1l.c: Likewise.
20262         * math/w_jn.c: Likewise.
20263         * math/w_jnf.c: Likewise.
20264         * math/w_log.c: Likewise.
20265         * math/w_log10.c: Likewise.
20266         * math/w_log10f.c: Likewise.
20267         * math/w_log10l.c: Likewise.
20268         * math/w_log2.c: Likewise.
20269         * math/w_log2f.c: Likewise.
20270         * math/w_log2l.c: Likewise.
20271         * math/w_logf.c: Likewise.
20272         * math/w_logl.c: Likewise.
20273         * math/w_sqrt.c: Likewise.
20274         * math/w_sqrtf.c: Likewise.
20275         * math/w_sqrtl.c: Likewise.
20276         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20277         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20278         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20279         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20281
20282 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20283
20284         [BZ #9739]
20285         * manual/string.texi (strnlen): Use correct parameter name in
20286         equivalent expression.
20287
20288 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20289
20290         [BZ #11174]
20291         * manual/users.texi (seteuid): Consistently use neweuid for
20292         argument name.
20293
20294 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20295
20296         [BZ #13704]
20297         * manual/nss.texi (Services in the NSS configuration): Correct
20298         list of services in example configuration file.
20299
20300 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20301
20302         [BZ #11322]
20303         * manual/arith.texi: Remove statements about negative zero
20304         behaving identically to zero.
20305
20306 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20307
20308         [BZ #5993]
20309         * manual/install.texi: Do not document upgrading from libc5.
20310
20311 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20312
20313         [BZ #4596]
20314         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20315
20316 2012-02-18  David S. Miller  <davem@davemloft.net>
20317
20318         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20319         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20320         %o7 across the call.
20321         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20322         instead.
20323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20324         SETUP_PIC_REG_LEAF.
20325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20326         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20327         * sysdeps/sparc/crtn.S: Likewise.
20328
20329 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20330
20331         * aout/Makefile: Remove.
20332
20333 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20334
20335         [BZ #13058]
20336         * manual/examples/argp-ex1.c (main): Format definition in GNU
20337         style.
20338         * manual/examples/argp-ex2.c (main): Likewise.
20339         * manual/examples/argp-ex3.c (main): Likewise.
20340         * manual/examples/argp-ex4.c (main): Likewise.
20341         * manual/examples/longopt.c (main): Use new-style prototype
20342         definition.
20343         * manual/examples/strncat.c (main): Specify return type and use
20344         (void) for arguments.
20345         * manual/examples/subopt.c (main): Use char **argv argument.
20346
20347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20348
20349         [BZ #5077]
20350         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20351         rounding modes.
20352
20353 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20354
20355         [BZ #6907]
20356         * manual/string.texi (strchr): Change when strchrnul is
20357         recommended.
20358
20359 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20360
20361         [BZ #174]
20362         * manual/locale.texi (setlocale): Document LOCPATH.
20363
20364 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20365
20366         [BZ #10210]
20367         * manual/process.texi (execle): Move @dots{} before last argument.
20368
20369 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20370
20371         [BZ #12047]
20372         * manual/charset.texi (Generic Charset Conversion): Fix typo
20373         (LC_TYPE -> LC_CTYPE).
20374
20375 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20376
20377         [BZ #5805]
20378         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20379         (scalbnf): Likewise.
20380         (scalbnl): Likewise.
20381         (scalbln): Likewise.
20382         (scalblnf): Likewise.
20383         (scalblnl): Likewise.
20384         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20385         (vwarnx): Likewise.
20386         (verr): Likewise.
20387         (verrx): Likewise.
20388         * manual/filesys.texi (telldir): Use braces around return type.
20389         * manual/llio.texi (mmap): Add space after comma.
20390         (mmap64): Likewise.
20391         * manual/math.texi (jn): Use @var{} on parameter names.
20392         (jnf): Likewise.
20393         (jnl): Likewise.
20394         (yn): Likewise.
20395         (ynf): Likewise.
20396         (ynl): Likewise.
20397         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20398         line.
20399         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20400         "...".
20401         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20402         (sched_get_priority_max): Likewise.
20403         * manual/signal.texi (sigvec): Add space after comma.
20404         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20405         names.
20406         (if_indextoname): Likewise.
20407         (if_freenameindex): Likewise.
20408         (sendto): Use ',' instead of '.' in prototype.
20409         * manual/startup.texi (syscall): Use @dots{} instead of literal
20410         "...".
20411         * manual/stdio.texi (__fpending): Separate initial words of
20412         paragraph from @deftypefun line.
20413         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20414         "...".
20415         (vsyslog): Use @var{} on parameter names.
20416         * manual/terminal.texi (stty): Use @var{} on parameter names.
20417         * manual/users.texi (getutmp): Use @var{} on parameter names.
20418         (getutmpx): Likewise.
20419
20420 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20421
20422         [BZ #6884]
20423         * manual/stdio.texi (fopen): Fix typos in description of
20424         ",ccs=STRING".
20425
20426 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20427
20428         [BZ #4026]
20429         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20430         get clock_id definition.
20431
20432 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20433
20434         [BZ #4822]
20435         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20436         (madvise): Cast every argument to void on its own.
20437
20438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20439
20440         [BZ #9902]
20441         * manual/startup.texi (Exit Status): Fix typo.
20442
20443 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20444
20445         [BZ #10140]
20446         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20447         * manual/examples/argp-ex2.c: Likewise.
20448         * manual/examples/argp-ex3.c: Likewise.
20449
20450 2012-02-16  Richard Henderson  <rth@redhat.com>
20451
20452         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20453         * sysdeps/s390/s390-32/initfini.c: Remove.
20454         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20455         * sysdeps/s390/s390-64/initfini.c: Remove.
20456
20457 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20458
20459         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20460         compiler output for sysdeps/generic/initfini.c.
20461         * sysdeps/sh/elf/initfini.c: Remove file.
20462
20463 2012-02-16  David S. Miller  <davem@davemloft.net>
20464
20465         [BZ #11494]
20466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20467
20468         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20469         * sysdeps/sparc/crti.S: New file.
20470         * sysdeps/sparc/crtn.S: New file.
20471         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20472         * sysdeps/sparc/sparc64/Makefile: Likewise.
20473
20474 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
20475
20476         [BZ #3335]
20477         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20478
20479 2012-02-15  Roland McGrath  <roland@hack.frob.com>
20480
20481         [BZ #4822]
20482         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20483
20484         * mach/devstream.c (cookie_io_functions_t): Macro removed.
20485         (write, read, close): Likewise.
20486         Patch by Aurelien Jarno <aurelien@aurel32.net>.
20487
20488 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
20489
20490         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20491         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20492         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20493         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20494         <bits/signalfd.h>.
20495         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20497         bits/signalfd.h.
20498
20499 2012-02-14  Marek Polacek  <polacek@redhat.com>
20500
20501         * sysdeps/x86_64/crti.S: New file.
20502         * sysdeps/x86_64/crtn.S: New file.
20503         * sysdeps/x86_64/elf/initfini.c: Remove file.
20504
20505 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20506
20507         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20508         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20509         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20510         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20511         <bits/inotify.h>.
20512         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20514         bits/inotify.h.
20515
20516 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20517
20518         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20519         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20520         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20521         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20522         <bits/eventfd.h>.
20523         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20525         bits/eventfd.h.
20526
20527 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20528
20529         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20530         __feraiseexcept instead of feraiseexcept.
20531
20532         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20533         nanosleep invocations.
20534         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20535         strings, and add error checking for a nanosleep invocations.
20536
20537 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20538
20539         Replace FSF snail mail address with URLs, as per GNU coding standards.
20540         Most of the snail mail addresses were wrong anyway, and omitting
20541         them makes the source code easier to maintain.  Almost all of the
20542         changes are to license notices and to locale LC_IDENTIFICATION
20543         addresses, except for this one:
20544         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20545         not its snail mail address.
20546
20547 2012-02-09  Richard Henderson  <rth@twiddle.net>
20548
20549         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20550         of kernel-features.h.
20551
20552         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20553
20554 2012-02-08  Marek Polacek  <polacek@redhat.com>
20555
20556         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20557         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20558         * sysdeps/gnu/_G_config.h: Likewise.
20559         * sysdeps/generic/_G_config.h: Likewise.
20560
20561 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20562
20563         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20564         tests.
20565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20566
20567         * sysdeps/powerpc/powerpc32/crti.S: New file.
20568         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20569         * sysdeps/powerpc/powerpc64/crti.S: New file.
20570         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20571
20572         * Makeconfig (have-initfini): Don't set.
20573         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20574         * configure.in (nopic_initfini): Don't substitute.
20575         * config.h.in (HAVE_INITFINI): Don't #undef.
20576         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20577         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20578
20579 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20580
20581         Support crti.S and crtn.S provided directly by architectures.
20582         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20583         [crti.S in sysdirs] (omit-deps): Likewise.
20584         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20585         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20586         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20587         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20588         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20589         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20590         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20591         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20592         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20593         compiler output for sysdeps/generic/initfini.c.
20594         * sysdeps/i386/elf/Makefile: Remove file.
20595         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20596
20597 2012-02-07  Marek Polacek  <polacek@redhat.com>
20598
20599         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20600         * sysdeps/gnu/_G_config.h: Likewise.
20601         * sysdeps/mach/hurd/_G_config.h: Likewise.
20602
20603 2012-02-07  Marek Polacek  <polacek@redhat.com>
20604
20605         * math/Makefile (tests): Add tst-CMPLX2.
20606         * math/tst-CMPLX2.c: New file.
20607
20608 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20609
20610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20611
20612         * math/libm-test.inc (jn_test): Add missing L suffix.
20613
20614 2012-02-06  Marek Polacek  <polacek@redhat.com>
20615
20616         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20617         * sysdeps/i386/fpu/e_powf.S: Likewise.
20618         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20619         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20620         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20621         * sysdeps/i386/fpu/e_pow.S: Likewise.
20622         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20623         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20624         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20625         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20626         * sysdeps/i386/fpu/e_log2.S: Likewise.
20627         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20628         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20629         * sysdeps/i386/fpu/e_powl.S: Likewise.
20630         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20631         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20632         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20633         * sysdeps/i386/fpu/e_logl.S: Likewise.
20634         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20635         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20636         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20637         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20638         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20639         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20640         * sysdeps/i386/fpu/e_log.S: Likewise.
20641         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20643         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20644         * sysdeps/i386/fpu/e_logf.S: Likewise.
20645         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20646         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20647         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20648         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20649         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20650         * sysdeps/i386/fpu/e_log10.S: Likewise.
20651         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20652         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20653         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20654         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20655         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20656         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20657         * sysdeps/i386/asm-syntax.h: Likewise.
20658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20660         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20661         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20662         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20663         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20664         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20665         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20667         * sysdeps/powerpc/sysdep.h: Likewise.
20668         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20669         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20670
20671 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20672
20673         [BZ #411]
20674         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20675
20676 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20677
20678         * sysdeps/i386/sysdep.h: Include <features.h>.
20679         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20680         version.
20681
20682 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20683
20684         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20685         Define.
20686         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20687         LOAD_PIC_REG_STR.
20688
20689 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20690
20691         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20692         (SETUP_PIC_REG): Use GET_PC_THUNK.
20693         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20694         macro.
20695
20696 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20697
20698         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20699         for non-PIC compilation.
20700         (SETUP_PIC_REG): Add .p2align directive.
20701         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20702         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20703         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20704         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20705         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20706         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20707         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20708         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20709         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20710         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20711         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20712         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20713         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20714         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20715         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20716         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20717         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20718         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20719         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20720         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20721         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20722         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20723         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20724         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20725         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20726         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20727         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20728         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20729         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20730         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20731         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20732         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20733         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20734         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20735         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20736         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20737         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20738         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20739         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20740         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20741         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20742
20743 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20744
20745         * math/tst-CMPLX.c: Include <stdio.h>.
20746
20747 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20748
20749         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20750         float.
20751         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20752         * sysdeps/sparc/bits/mathdef.h: Likewise.
20753
20754 2012-01-31  Marek Polacek  <polacek@redhat.com>
20755
20756         * libio/libio.h: Don't define _PARAMS.
20757         * locale/programs/config.h: Don't define PARAMS.
20758         * stdlib/strtol_l.c: Likewise.
20759         (__strtol_l): Remove PARAMS from the prototype.
20760
20761 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20762
20763         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20764         names.  Just use the correct names.  Remove unnecessary wrapper
20765         functions.
20766         * malloc/arena.c: Likewise.
20767         * malloc/hooks.c: Likewise.
20768
20769         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20770         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20771         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20772
20773 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20774
20775         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20776         into tail calls.
20777         (update_get_addr): New function.
20778         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20779         GET_ADDR_MODULE parameter.
20780
20781 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20782
20783         * crypt/cert.c: Remove __STDC__ conditionals.
20784         * crypt/crypt-entry.c: Likewise.
20785         * crypt/crypt_util.c: Likewise.
20786         * libio/filedoalloc.c: Likewise.
20787         * libio/fileops.c: Likewise.
20788         * libio/genops.c: Likewise.
20789         * libio/iofclose.c: Likewise.
20790         * libio/iofdopen.c: Likewise.
20791         * libio/iofopen.c: Likewise.
20792         * libio/iofopen64.c: Likewise.
20793         * libio/iogetdelim.c: Likewise.
20794         * libio/iopopen.c: Likewise.
20795         * libio/obprintf.c: Likewise.
20796         * libio/oldfileops.c: Likewise.
20797         * libio/oldiofclose.c: Likewise.
20798         * libio/oldiofdopen.c: Likewise.
20799         * libio/oldiofopen.c: Likewise.
20800         * libio/oldiopopen.c: Likewise.
20801         * libio/wfiledoalloc.c: Likewise.
20802         * libio/wgenops.c: Likewise.
20803         * locale/programs/xmalloc.c: Likewise.
20804         * misc/syslog.c: Likewise.
20805         * stdio-common/xbug.c: Likewise.
20806         * string/memchr.c: Likewise.
20807         * string/memcmp.c: Likewise.
20808         * string/memrchr.c: Likewise.
20809         * string/rawmemchr.c: Likewise.
20810         * sysdeps/posix/getcwd.c: Likewise.
20811         * time/strftime_l.c: Likewise.
20812
20813 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20814
20815         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20816         * config.make.in (config-cflags-sse2avx): Define.
20817         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20818         Fix typo.
20819
20820 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20821
20822         * scripts/config.guess: Update from upstream config git repository.
20823         * scripts/config.sub: Likewise.
20824
20825 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20826
20827         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20828         (EM_NUM): Update.
20829         (R_TILEPRO_*, R_TILEGX_*): New macros.
20830
20831         * scripts/firstversions.awk: Fix bug in version range handling.
20832
20833         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20834
20835         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20836
20837         * include/sys/epoll.h: New file.
20838         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20839         libc_hidden_def.
20840
20841 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20842
20843         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20844         Avoid unnecessary __WORDSIZE == 64 test.
20845         (fmaxf): Use VEX format if possible.
20846         (fmax): Likewise.
20847         (fminf): Likewise.
20848         (fmin): Likewise.
20849
20850         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20851         * math/math_private.h: Remove libc_fegetround* and
20852         libc_fesetround*.
20853         * sysdeps/i386/configure.in: Check for -msse2avx.
20854         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20855         also if SSE2AVX is defined.
20856         Remove libc_fegetround* and libc_fesetround*.
20857         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20858         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20859         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20860         of HAS_YMM_USABLE.
20861         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20862         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20864         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20865         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20866
20867         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20868
20869 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20870
20871         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20872         size is not set.
20873         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20874
20875 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20876
20877         [BZ #13618]
20878         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20879         relocation.
20880         * Makeconfig (libm): Define.
20881         * elf/Makefile: Add rules to build and run tst-relsort1.
20882         * elf/tst-relsort1.c: New file.
20883         * elf/tst-relsort1mod1.c: New file.
20884         * elf/tst-relsort1mod2.c: New file.
20885
20886 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20887
20888         * math/s_ldexp.c: Remove __STDC__ conditionals.
20889         * math/s_ldexpf.c: Likewise.
20890         * math/s_ldexpl.c: Likewise.
20891         * math/s_nextafter.c: Likewise.
20892         * math/s_nexttowardf.c: Likewise.
20893         * math/s_significand.c: Likewise.
20894         * math/s_significandf.c: Likewise.
20895         * math/s_significandl.c: Likewise.
20896         * math/w_jnl.c: Likewise.
20897         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20898         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20899         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20900         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20901         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20902         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20903         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20904         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20905         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20906         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20907         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20908         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20909         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20910         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20911         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20912         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20913         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20914         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20915         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20916         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20917         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20918         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20919         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20921         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20922         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20923         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20925         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20927         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20928         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20929         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20930         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20931         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20932         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20933         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20934         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20935         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20936         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20937         * sysdeps/ieee754/k_standard.c: Likewise.
20938         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20939         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20940         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20941         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20942         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20943         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20945         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20946         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20947         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20948         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20949         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20950         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20951         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20952         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20953         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20954         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20955         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20956         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20957         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20958         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20959         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20960         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20961         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20962         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20963         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20968         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20969         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20970         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20971         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20973         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20974         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20977         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20978         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20981         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20982         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20983         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20986         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20987         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20988         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20989         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20991         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20992         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20993         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20994         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20995         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20997         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20998         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20999         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21000         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21001         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21002         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21003         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21004         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21005         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21006         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21007         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21008         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21009         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21010         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21011         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21013         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21014         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21015         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21016         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21017         * sysdeps/ieee754/s_matherr.c: Likewise.
21018         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21019         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21022
21023 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21024
21025         * crypt/md5.h: Remove __STDC__ conditionals.
21026         * libio/libioP.h: Likewise.
21027         * locale/programs/config.h: Likewise.
21028         * sysdeps/generic/sysdep.h: Likewise.
21029         * sysdeps/i386/asm-syntax.h: Likewise.
21030         * sysdeps/s390/asm-syntax.h: Likewise.
21031         * sysdeps/unix/sysdep.h: Likewise.
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21034
21035 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21036
21037         * libio/libio.h: Remove __STDC__ conditionals.
21038         * malloc/obstack.h: Likewise.
21039         * math/complex.h: Likewise.
21040         * math/math.h: Likewise.
21041         * sysdeps/generic/_G_config.h: Likewise.
21042         * sysdeps/gnu/_G_config.h: Likewise.
21043         * sysdeps/mach/hurd/_G_config.h: Likewise.
21044         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21045         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21046         * sysdeps/sparc/bits/mathdef.h: Likewise.
21047
21048 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
21049
21050         [BZ #13583]
21051         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21052         Clean up HAS_* macros.
21053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21054         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21055         possible.
21056         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21057         HAS_AVX.
21058         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21059         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21060         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21061         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21062         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21063
21064 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
21065
21066         * elf/tst-unique3.cc (gets): Remove declaration.
21067         * elf/tst-unique3lib.cc (gets): Likewise.
21068         * elf/tst-unique3lib2.cc (gets): Likewise.
21069         * elf/tst-unique4.cc (gets): Likewise.
21070
21071 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
21072
21073         * include/stdio.h: Add C++ protection.  Add gets declarations and
21074         definitions.
21075         * debug/tst-chk1.c: Don't declare gets here.
21076         * stdio-common/tst-gets.c: Likewise.
21077
21078 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21079
21080         * posix/glob: Remove directory.
21081
21082 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21083
21084         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21085
21086 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
21087
21088         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21089         of the non-standard EPFNOSUPPORT.
21090
21091 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21092
21093         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21094         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21095         ANYWHERE set to 1 only on KERN_NO_SPACE error.
21096
21097 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
21098
21099         * wcsmbs/uchar.h: Test __STDC_VERSION__.
21100
21101 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
21102
21103         * nscd/aicache.c (addhstaiX): Do not cache negative results of
21104         transient errors.
21105         * nscd/grpcache.c (cache_addgr): Likewise.
21106         * nscd/hstcache.c (cache_addhst): Likewise.
21107         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21108         * nscd/pwdcache.c (cache_addpw): Likewise.
21109         * nscd/servicescache.c (cache_addserv): Likewise.
21110
21111 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
21112
21113         * malloc/malloc.c: Various cleanups.
21114         * malloc/hooks.c: Likewise.
21115
21116         * stdlib/Makefile (tests): Add bug-fmtmsg1.
21117         * stdlib/bug-fmtmsg1.c: New file.
21118
21119         * stdlib/fmtmsg.c (init): Add missing unlock.
21120         Patch by Peng Haitao <penght@cn.fujitsu.com>.
21121
21122 2012-01-12  Marek Polacek  <polacek@redhat.com>
21123
21124         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21125         and _GNU_SOURCE.
21126
21127 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
21128
21129         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21130         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21131         macro to ensure uniqueness of label name.
21132         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21133         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21134
21135 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
21136
21137         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21138
21139         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21140         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21141         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21143
21144 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
21145
21146         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21147
21148         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21149         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21150         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21151
21152         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21153
21154         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21155         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21156         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21158
21159         * math/bits/math-finite.h: Add ldexp support.
21160
21161 2012-01-10  Marek Polacek  <polacek@redhat.com>
21162
21163         * locale/programs/localedef.h (show_archive_content): Add noreturn
21164         attribute.
21165
21166 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
21167
21168         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21169
21170 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21171
21172         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21173
21174         * io/Makefile (headers): Add bits/poll2.h.
21175
21176 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
21177
21178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21179         typo #include statement.
21180
21181 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21182
21183         * include/sys/cdefs.h: Define __attribute_alloc_size.
21184         * catgets/gencat.c: Add alloc_size attribute and apply consistently
21185         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21186         * elf/pldd.c: Likewise.
21187         * iconv/iconv_charmap.c: Likewise.
21188         * iconv/iconvconfig.c: Likewise.
21189         * iconv/strtab.c: Likewise.
21190         * locale/programs/locale.c: Likewise.
21191         * locale/programs/localedef.h: Likewise.
21192         * locale/programs/simple-hash.c: Likewise.
21193         * nscd/nscd.h: Likewise.
21194         * nss/makedb.c: Likewise.
21195         * sysdeps/generic/ldconfig.h: Likewise.
21196         * locale/programs/localedef.c: Remove xmalloc prototype.
21197         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21198
21199 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21200
21201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21202         appropriate.
21203
21204 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21205
21206         * math/Makefile (tests): Add tst-CMPLX.
21207         * math/tst-CMPLX.c: New file.
21208
21209         * math/complex.h (CMPLXL): Fix typo.
21210
21211         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21212         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21213         GLIBC_2.16.
21214         * debug/tst-chk1.c: Add poll and ppoll tests.
21215         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21216         * include/sys/poll.h: Add hidden proto for ppoll.
21217         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21218         * sysdeps/mach/hurd/ppoll.c: Likewise.
21219         * io/ppoll.c: Likewise.
21220         * debug/poll_chk.c: New file.
21221         * debug/ppoll_chk.c: New file.
21222         * include/bits/poll2.h: New file.
21223         * io/bits/poll2.h: New file.
21224
21225         [BZ #1350]
21226         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21227
21228         * configure.in: static is always set to yes.  Remove.
21229         * config.make.in: Don't set build-static.
21230         * Makeconfig: Remove use of build-static.
21231         * dlfcn/Makefile: Likewise.
21232         * elf/Makefile: Likewise.
21233         * math/Makefile: Likewise.
21234         * misc/Makefile: Likewise.
21235         * nptl/Makefile: Likewise.
21236         * sysdeps/mach/hurd/Makefile: Likewise.
21237
21238         * configure.in: PWD_P is not used anymore.
21239         * config.make.in: Remove PWD_P entry.
21240
21241         * configure.in: Remove last remnants of RANLIB.
21242         No need to check for signed size_t anymore.
21243         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21244         and IA-64.
21245         Remove __builtin_expect test because we require at least gcc 3.4.
21246         * aclocal.m4: Likewise.
21247
21248         * wcsmbs/mbrtoc16.c: Implement using towc function.
21249         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21250         * wcsmbs/wcsmbsload.c: Likewise.
21251         * iconv/gconv_simple.c: Likewise.
21252         * iconv/gconv_int.h: Likewise.
21253         * iconv/gconv_builtin.h: Likewise.
21254         * iconv/iconv_prog.c: Remove CHAR16 handling.
21255
21256         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21257
21258         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21259
21260         * configure.in: Remove --with-elf and --enable-bounded options.
21261         Dont set base_machine for ia64.  More non-ELF conditions removed.
21262         Remove testing and setting of leading underscore information.
21263         * config.make.in (build-bounded): Set to no.
21264         * config.h.in: Remove NO_UNDERSCORES entry.
21265         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21266         them.
21267         * csu/start.c: Remove !NO_UNDERSCORE code.
21268         * locale/localeinfo.h: Likewise.
21269         * sysdeps/generic/machine-gmon.h: Likewise.
21270         * sysdeps/generic/sysdep.h: Likewise.
21271         * sysdeps/i386/sysdep.h: Likewise.
21272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21273         * sysdeps/mach/sysdep.h: Likewise.
21274         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21275         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21276         * sysdeps/sh/sysdep.h: Likewise.
21277         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21278         * sysdeps/unix/i386/sysdep.S: Likewise.
21279         * sysdeps/unix/sparc/start.c: Likewise.
21280         * sysdeps/unix/sparc/sysdep.S: Likewise.
21281         * sysdeps/unix/sparc/sysdep.h: Likewise.
21282         * sysdeps/unix/start.c: Likewise.
21283         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21284         * sysdeps/x86_64/sysdep.h: Likewise.
21285
21286 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21287
21288         [BZ #13553]
21289         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21290         for non-gcc.
21291         * argp/argp-fmtstream.h: Use const instead __const.
21292         * argp/argp.h: Likewise.
21293         * assert/assert.h: Likewise.
21294         * bits/fenv.h: Likewise.
21295         * bits/sched.h: Likewise.
21296         * bits/sigset.h: Likewise.
21297         * bits/sigthread.h: Likewise.
21298         * catgets/nl_types.h: Likewise.
21299         * conform/data/pthread.h-data: Likewise.
21300         * crypt/crypt-private.h: Likewise.
21301         * crypt/crypt.h: Likewise.
21302         * crypt/crypt_util.c: Likewise.
21303         * ctype/ctype.h: Likewise.
21304         * debug/execinfo.h: Likewise.
21305         * debug/mbsnrtowcs_chk.c: Likewise.
21306         * debug/mbsrtowcs_chk.c: Likewise.
21307         * debug/wcsnrtombs_chk.c: Likewise.
21308         * debug/wcsrtombs_chk.c: Likewise.
21309         * debug/wcstombs_chk.c: Likewise.
21310         * dirent/dirent.h: Likewise.
21311         * dlfcn/dlfcn.h: Likewise.
21312         * elf/neededtest4.c: Likewise.
21313         * grp/grp.h: Likewise.
21314         * gshadow/gshadow.h: Likewise.
21315         * iconv/gconv.h: Likewise.
21316         * iconv/gconv_int.h: Likewise.
21317         * iconv/gconv_simple.c: Likewise.
21318         * iconv/iconv.h: Likewise.
21319         * iconv/loop.c: Likewise.
21320         * iconv/skeleton.c: Likewise.
21321         * include/aio.h: Likewise.
21322         * include/aliases.h: Likewise.
21323         * include/argz.h: Likewise.
21324         * include/arpa/inet.h: Likewise.
21325         * include/assert.h: Likewise.
21326         * include/dirent.h: Likewise.
21327         * include/dlfcn.h: Likewise.
21328         * include/execinfo.h: Likewise.
21329         * include/fcntl.h: Likewise.
21330         * include/fenv.h: Likewise.
21331         * include/glob.h: Likewise.
21332         * include/grp.h: Likewise.
21333         * include/libintl.h: Likewise.
21334         * include/mntent.h: Likewise.
21335         * include/netdb.h: Likewise.
21336         * include/pwd.h: Likewise.
21337         * include/rpc/netdb.h: Likewise.
21338         * include/sched.h: Likewise.
21339         * include/search.h: Likewise.
21340         * include/shadow.h: Likewise.
21341         * include/signal.h: Likewise.
21342         * include/stdio.h: Likewise.
21343         * include/stdlib.h: Likewise.
21344         * include/string.h: Likewise.
21345         * include/sys/socket.h: Likewise.
21346         * include/sys/stat.h: Likewise.
21347         * include/sys/statfs.h: Likewise.
21348         * include/sys/statvfs.h: Likewise.
21349         * include/sys/syslog.h: Likewise.
21350         * include/sys/time.h: Likewise.
21351         * include/sys/uio.h: Likewise.
21352         * include/time.h: Likewise.
21353         * include/unistd.h: Likewise.
21354         * include/utmp.h: Likewise.
21355         * include/wchar.h: Likewise.
21356         * include/wctype.h: Likewise.
21357         * inet/aliases.h: Likewise.
21358         * inet/arpa/inet.h: Likewise.
21359         * inet/netinet/ether.h: Likewise.
21360         * inet/netinet/in.h: Likewise.
21361         * intl/libintl.h: Likewise.
21362         * io/bits/fcntl2.h: Likewise.
21363         * io/fcntl.h: Likewise.
21364         * io/ftw.h: Likewise.
21365         * io/sys/poll.h: Likewise.
21366         * io/sys/stat.h: Likewise.
21367         * io/sys/statfs.h: Likewise.
21368         * io/sys/statvfs.h: Likewise.
21369         * io/utime.h: Likewise.
21370         * libio/bits/stdio.h: Likewise.
21371         * libio/bits/stdio2.h: Likewise.
21372         * libio/libio.h: Likewise.
21373         * libio/libioP.h: Likewise.
21374         * libio/stdio.h: Likewise.
21375         * locale/lc-ctype.c: Likewise.
21376         * locale/locale.h: Likewise.
21377         * login/utmp.h: Likewise.
21378         * malloc/arena.c: Likewise.
21379         * malloc/malloc.c: Likewise.
21380         * malloc/malloc.h: Likewise.
21381         * malloc/mcheck.c: Likewise.
21382         * malloc/mtrace.c: Likewise.
21383         * math/bits/mathcalls.h: Likewise.
21384         * math/fenv.h: Likewise.
21385         * math/math_private.h: Likewise.
21386         * misc/bits/error.h: Likewise.
21387         * misc/bits/syslog.h: Likewise.
21388         * misc/err.h: Likewise.
21389         * misc/error.h: Likewise.
21390         * misc/fstab.h: Likewise.
21391         * misc/mntent.h: Likewise.
21392         * misc/regexp.h: Likewise.
21393         * misc/search.h: Likewise.
21394         * misc/sgtty.h: Likewise.
21395         * misc/sys/mman.h: Likewise.
21396         * misc/sys/syslog.h: Likewise.
21397         * misc/sys/uio.h: Likewise.
21398         * misc/sys/xattr.h: Likewise.
21399         * misc/ttyent.h: Likewise.
21400         * nis/rpcsvc/ypclnt.h: Likewise.
21401         * nss/nss.h: Likewise.
21402         * posix/bits/unistd.h: Likewise.
21403         * posix/fnmatch.h: Likewise.
21404         * posix/glob.h: Likewise.
21405         * posix/sched.h: Likewise.
21406         * posix/spawn.h: Likewise.
21407         * posix/sys/wait.h: Likewise.
21408         * posix/unistd.h: Likewise.
21409         * posix/wordexp.h: Likewise.
21410         * pwd/pwd.h: Likewise.
21411         * resolv/netdb.h: Likewise.
21412         * resource/sys/resource.h: Likewise.
21413         * rt/aio.h: Likewise.
21414         * rt/bits/mqueue2.h: Likewise.
21415         * rt/mqueue.h: Likewise.
21416         * shadow/shadow.h: Likewise.
21417         * signal/signal.h: Likewise.
21418         * socket/send.c: Likewise.
21419         * socket/sendto.c: Likewise.
21420         * socket/sys/socket.h: Likewise.
21421         * stdio-common/printf.h: Likewise.
21422         * stdlib/bits/stdlib.h: Likewise.
21423         * stdlib/fmtmsg.h: Likewise.
21424         * stdlib/monetary.h: Likewise.
21425         * stdlib/stdlib.h: Likewise.
21426         * stdlib/ucontext.h: Likewise.
21427         * streams/stropts.h: Likewise.
21428         * string/argz.h: Likewise.
21429         * string/bits/string2.h: Likewise.
21430         * string/string.h: Likewise.
21431         * string/strings.h: Likewise.
21432         * sunrpc/rpc/auth.h: Likewise.
21433         * sunrpc/rpc/auth_des.h: Likewise.
21434         * sunrpc/rpc/clnt.h: Likewise.
21435         * sunrpc/rpc/netdb.h: Likewise.
21436         * sunrpc/rpc/pmap_clnt.h: Likewise.
21437         * sunrpc/rpc/xdr.h: Likewise.
21438         * sysdeps/generic/inttypes.h: Likewise.
21439         * sysdeps/generic/net/if.h: Likewise.
21440         * sysdeps/generic/sys/swap.h: Likewise.
21441         * sysdeps/gnu/net/if.h: Likewise.
21442         * sysdeps/gnu/utmpx.h: Likewise.
21443         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21444         * sysdeps/i386/i486/bits/string.h: Likewise.
21445         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21446         * sysdeps/s390/bits/string.h: Likewise.
21447         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21448         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21449         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21450         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21451         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21452         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21453         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21454         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21455         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21456         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21457         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21458         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21459         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21460         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21461         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21462         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21463         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21465         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21466         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21467         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21468         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21469         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21470         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21471         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21472         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21473         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21474         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21475         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21476         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21477         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21478         * sysvipc/sys/ipc.h: Likewise.
21479         * sysvipc/sys/msg.h: Likewise.
21480         * sysvipc/sys/sem.h: Likewise.
21481         * sysvipc/sys/shm.h: Likewise.
21482         * termios/termios.h: Likewise.
21483         * time/sys/time.h: Likewise.
21484         * time/time.h: Likewise.
21485         * wcsmbs/bits/wchar2.h: Likewise.
21486         * wcsmbs/uchar.h: Likewise.
21487         * wcsmbs/wchar.h: Likewise.
21488         * wctype/wctype.h: Likewise.
21489
21490         [BZ #13551]
21491         * Makeconfig: Remove all but ELF support including AIX support.
21492         * Makerules: Likewise.
21493         * config.h.in: Likewise.
21494         * config.make.in: Likewise.
21495         * configure: Likewise.
21496         * configure.in: Likewise.
21497         * csu/Makefile: Likewise.
21498         * csu/version.c: Likewise.
21499         * debug/Makefile: Likewise.
21500         * dlfcn/Makefile: Likewise.
21501         * elf/Makefile: Likewise.
21502         * extra-lib.mk: Likewise.
21503         * iconv/Makefile: Likewise.
21504         * include/libc-symbols.h: Likewise.
21505         * include/shlib-compat.h: Likewise.
21506         * resolv/Makefile: Likewise.
21507         * resolv/res_libc.c: Likewise.
21508         * rt/Makefile: Likewise.
21509         * sysdeps/i386/asm-syntax.h: Likewise.
21510         * sysdeps/i386/sysdep.h: Likewise.
21511         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21512         * sysdeps/mach/sysdep.h: Likewise.
21513         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21514         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21515         * sysdeps/s390/asm-syntax.h: Likewise.
21516         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21518         * sysdeps/sh/sysdep.h: Likewise.
21519         * sysdeps/unix/sparc/sysdep.h: Likewise.
21520         * sysdeps/wordsize-32/divdi3.c: Likewise.
21521         * sysdeps/x86_64/sysdep.h: Likewise.
21522
21523         * argp/Versions: Remove _argp_unlock_xxx.
21524
21525         [BZ #13559]
21526         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21527         * abilist/libBrokenLocale.abilist: Likewise.
21528         * abilist/libanl.abilist: Likewise.
21529         * abilist/libc.abilist: Likewise.
21530         * abilist/libcrypt.abilist: Likewise.
21531         * abilist/libdl.abilist: Likewise.
21532         * abilist/libm.abilist: Likewise.
21533         * abilist/libnsl.abilist: Likewise.
21534         * abilist/libpthread.abilist: Likewise.
21535         * abilist/libresolv.abilist: Likewise.
21536         * abilist/librt.abilist: Likewise.
21537         * abilist/libthread_db.abilist: Likewise.
21538         * abilist/libutil.abilist: Likewise.
21539         * abilist/libnss_db.abilist: New file.
21540
21541         * scripts/abilist.awk: Add support for indirect functions.
21542
21543         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21544
21545         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21546
21547         * shlib-versions: Remove entries for ports architectures.
21548
21549         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21550         files in ports.
21551         * elf/stackguard-macros.h: Remove support for IA-64.
21552         * elf/tst-auditmod1.c: Likewise.
21553         * sysdeps/generic/ldsodefs.h: Likewise.
21554
21555         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21556         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21557         configure files.
21558
21559         [BZ #13552]
21560         * configure.in: Remove --enable-omitfp support.
21561         * FAQ.in: Adjust.
21562         * config.make.in: Likewise.
21563         * Makeconfig: Likewise.
21564         * manual/install.texi: Likewise.
21565
21566         In case anyone cares, the IA-64 architecture could move to ports.
21567         * sysdeps/ia64/*: Removed.
21568         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21569         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21570
21571         [BZ #13555]
21572         * configure.in: Remove entries for unsupported architectures.
21573
21574         [BZ #13533]
21575         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21576         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21577         routines.
21578         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21579         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21580         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21581         fall back to using wcrtomb.
21582         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21583         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21584         renaming.
21585         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21586         * wcsmbs/tst-c16c32-1.c: New file.
21587
21588         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21589         local variable.
21590
21591         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21592
21593         * elf/tst-unique3.cc: Add explicit declaration of gets.
21594         * elf/tst-unique3lib.cc: Likewise.
21595         * elf/tst-unique3lib2.cc: Likewise.
21596         * elf/tst-unique4.cc: Likewise.
21597
21598         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21599
21600 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21601
21602         [BZ #13566]
21603         * assert/assert.h (static_assert): Don't define for C++.
21604         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21605         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21606
21607 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21608
21609         * iconv/loop.c (single loop): Fix assertion in storing of
21610         remaining bytes.
21611
21612         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21613
21614 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21615
21616         * posix/getconf.c: Update copyright year.
21617         * nss/getent.c: Likewise.
21618         * nss/makedb.c: Likewise.
21619         * iconv/iconvconfig.c: Likewise.
21620         * iconv/iconv_prog.c: Likewise.
21621         * elf/ldconfig.c: Likewise.
21622         * elf/pldd.c: Likewise.
21623         * elf/sotruss.ksh: Likewise.
21624         * catgets/gencat.c: Likewise.
21625         * csu/version.c: Likewise.
21626         * elf/ldd.bash.in: Likewise.
21627         * elf/sprof.c (print_version): Likewise.
21628         * locale/programs/locale.c: Likewise.
21629         * locale/programs/localedef.c: Likewise.
21630         * login/programs/pt_chown.c: Likewise.
21631         * nscd/nscd.c (print_version): Likewise.
21632         * debug/xtrace.sh: Likewise.
21633         * malloc/memusage.sh: Likewise.
21634         * malloc/mtrace.pl: Likewise.
21635         * debug/catchsegv.sh: Likewise.
21636
21637 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21638
21639         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21640         pure attribute.
21641
21642 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21643
21644         [BZ #13533]
21645         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21646         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21647         transformations.
21648         * iconv/gconv_int.h: Likewise.
21649         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21650         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21651         from libc for GLIBC_2.16.
21652         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21653         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21654         * wcsmbs/uchar.h: Really define mbstate_t.
21655         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21656         * wcsmbs/c16rtomb.c: New file.
21657         * wcsmbs/mbrtoc16.c: New file.
21658         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21659         for C/POSIX locale.
21660         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21661         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21662
21663         * wcsmbs/wchar.h: Add missing __restrict.
21664
21665 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21666
21667         [BZ #13532]
21668         * time/Makefile (routines): Add timespec_get.
21669         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21670         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21671         timespec for ISO C11.
21672         * time/timespec_get.c: New file.
21673         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21674         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21675
21676         [BZ #13531]
21677         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21678         * stdlib/stdlib.h: Declare aligned_alloc.
21679         * Versions.def: Add GLIBC_2.16 for libc.
21680         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21681
21682         [BZ 13527]
21683         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21684         ISO C11.
21685
21686         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21687         code.
21688
21689         [BZ #13528]
21690         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21691
21692         [BZ #13529]
21693         * assert/assert.h (static_assert): Define.
21694
21695         * version.h: Update for 2.16 development version.
21696
21697         [BZ #13526]
21698         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21699         _ISOC11_SOURCE.
21700
21701         * version.h (RELEASE): Bump for 2.15 release.
21702         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21703
21704         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21705         Patch by Marek Polacek <mpolacek@redhat.com>.
21706
21707         * bits/byteswap.h: Protect long long constants with __extension__.
21708         * sysdeps/i386/bits/byteswap.h: Likewise.
21709         * sysdeps/ia64/bits/byteswap.h: Likewise.
21710         * sysdeps/s390/bits/byteswap.h: Likewise.
21711         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21712
21713 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21714
21715         [BZ #13540]
21716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21717         destination buffer.
21718         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21719
21720 2011-12-23  Marek Polacek  <polacek@redhat.com>
21721
21722         * elf/dl-addr.c (determine_info): Add inline keyword.
21723         * elf/tst-auditmod4b.c (check_avx): Likewise.
21724         * elf/tst-auditmod6b.c (check_avx): Likewise.
21725         * elf/tst-auditmod6c.c (check_avx): Likewise.
21726         * elf/tst-auditmod7b.c (check_avx): Likewise.
21727
21728 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21729
21730         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21731         !__SSE_MATH__.
21732
21733 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21734
21735         [BZ #13540]
21736         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21737         processing for last bytes.
21738
21739 2011-08-06  Bruno Haible  <bruno@clisp.org>
21740
21741         [BZ #13061]
21742         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21743         U+0385, not to U+1FEE.
21744
21745         [BZ #13062]
21746         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21747         entry for U+00A5 U+0301.
21748
21749 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21750
21751         [BZ #13166]
21752         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21753         buffer for the output is too small.
21754
21755         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21756         optimization.
21757
21758         [BZ #13185]
21759         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21760         SSE flags if possible.
21761
21762 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21763
21764         [BZ #13540]
21765         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21766         processing for last bytes.
21767
21768 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21769
21770         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21771         (syscall-list-default-options, syscall-list-default-condition)
21772         (syscall-list-includes): Define.
21773         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21774         list of ABIs and options and #if conditions for each ABI.  Do not
21775         handle common syscalls between ABIs specially.
21776         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21777         Remove.
21778         (syscall-list-variants, syscall-list-32bit-options)
21779         (syscall-list-32bit-condition, syscall-list-64bit-options)
21780         (syscall-list-64bit-condition): Define.
21781         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21782         (syscall-list-variants, syscall-list-32bit-options)
21783         (syscall-list-32bit-condition, syscall-list-64bit-options)
21784         (syscall-list-64bit-condition): Define.
21785         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21786         Remove.
21787         (syscall-list-variants, syscall-list-32bit-options)
21788         (syscall-list-32bit-condition, syscall-list-64bit-options)
21789         (syscall-list-64bit-condition): Define.
21790         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21791         Remove.
21792         (syscall-list-variants, syscall-list-32bit-options)
21793         (syscall-list-32bit-condition, syscall-list-64bit-options)
21794         (syscall-list-64bit-condition): Define.
21795
21796 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21797
21798         * locale/iso-639.def: Add brx entry.
21799
21800         [BZ #13328]
21801         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21802         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21803
21804         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21805         __feraiseexcept_renamed.
21806
21807 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21808
21809         [BZ #13538]
21810         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21811         EPOLLET with unsigned values.
21812         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21813         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21814
21815         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21816         to large cancellation.
21817         * math/s_cacoshf.c: Likewise.
21818         * math/s_cacoshl.c: Likewise.
21819
21820 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21821
21822         [BZ #13305]
21823         [BZ #12786]
21824         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21825         * math/s_cacoshf.c: Likewise.
21826         * math/s_cacoshl.c: Likewise.
21827
21828 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21829
21830         [BZ #13439]
21831         * iconv/gconv.h: Define __GCONV_SWAP.
21832         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21833         * iconvdata/utf-16.c: Likewise.
21834         * iconvdata/utf-32.c: Likewise.
21835
21836 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21837
21838         [BZ #13524]
21839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21840         numerator after shifting it by one limb.
21841
21842 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21843
21844         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21845         under [__USE_EXTERN_INLINES].
21846
21847 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21848
21849         [BZ #13446]
21850         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21851
21852 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21853
21854         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21855         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21856         optimized code.
21857         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21858         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21859         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21860         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21861         for strncasecmp/strncasecmp_l compilation.
21862         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21863         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21864
21865 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21866
21867         [BZ #13484]
21868         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21869         of __asm__.
21870
21871 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21872
21873         [BZ #13506]
21874         * time/tzfile.c (__tzfile_read): Check values from file header.
21875
21876 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21877
21878         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21879         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21880         * powerpc/powerpc32/dl-start.S: Likewise.
21881         * powerpc/powerpc32/elf/start.S: Likewise.
21882         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21883         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21884         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21885         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21886         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21887         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21888         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21889         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21890         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21891         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21892         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21893         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21894         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21895         * powerpc/powerpc32/memset.S: Likewise.
21896         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21897         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21898         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21899         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21900         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21901         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21902         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21903         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21904         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21905         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21906         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21907         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21908         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21909
21910 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21911
21912         * math/libm-test.inc: Added more nearbyint tests.
21913         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21915         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21916         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21917
21918 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21919
21920         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21921         FD_CLOEXEC.
21922
21923 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21924
21925         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21926         Add wcscpy-ssse3 wcscpy-c.
21927         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21928         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21929         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21930         * sysdeps/x86_64/wcschr.S: New file.
21931         * sysdeps/x86_64/wcsrchr.S: New file.
21932         * string/test-strcmp.c: Remove checking of wcscmp function for
21933         wrong alignments.
21934         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21935         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21936         wcsrchr-sse2 wcsrchr-c.
21937         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21938         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21939         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21940         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21941         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21942         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21943         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21944         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21945         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21946         * wcsmbc/wcschr.c (WCSCHR): New macro.
21947
21948 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21949
21950         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21951         * wcsmbs/test-wcsrchr.c: New file.
21952         * string/test-strrchr.c: Add wcsrchr support.
21953         (WIDE): New macro.
21954         * wcsmbs/test-wcscpy.c: New file.
21955         * string/test-strcpy.c: Add wcscpy support.
21956         (WIDE): New macro.
21957
21958 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21959
21960         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21961         the inner loop.
21962
21963 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21964
21965         [BZ #13472]
21966         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21967
21968 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21969
21970         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21971         Minor optimizations.
21972
21973         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21974         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21975         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21976
21977 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21978
21979         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21980         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21981         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21982         for gcc to avoid warnings.
21983         * inet/Makefile (tests): Add tst-checks.
21984         * inet/tst-checks.c: New file.
21985
21986         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21987         warning.
21988
21989         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21990         __wmemcmp_sse2.
21991
21992         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21993         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21994
21995         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21996
21997 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21998
21999         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22000         problem.
22001
22002         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22003
22004 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
22005
22006         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22007         conditional on GCC version.
22008         (__arch_compare_and_exchange_val_8_acq)
22009         (__arch_compare_and_exchange_val_16_acq)
22010         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22011         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22012         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22013
22014 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
22015
22016         * sysdeps/sh/backtrace.c: New file.
22017
22018 2011-12-02  Andreas Schwab  <schwab@redhat.com>
22019
22020         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
22021         parenthesis.
22022
22023 2011-12-01  Andreas Schwab  <schwab@redhat.com>
22024
22025         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22026         falling back to utime.
22027
22028 2011-11-30  Andreas Schwab  <schwab@redhat.com>
22029
22030         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22031         expectations for float.
22032
22033 2011-11-29  Andreas Schwab  <schwab@redhat.com>
22034
22035         * locale/weight.h (findidx): Add parameter len.
22036         * locale/weightwc.h (findidx): Likewise.
22037         * posix/fnmatch_loop.c (FCT): Adjust caller.
22038         * posix/regcomp.c (build_equiv_class): Likewise.
22039         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22040         * posix/regexec.c (check_node_accept_bytes): Likewise.
22041         * string/strcoll_l.c (STRCOLL): Likewise.
22042         * string/strxfrm_l.c (STRXFRM): Likewise.
22043
22044 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
22045
22046         * Makefile.in: Remove CVSOPT handling.
22047         * configure.in: Remove use of AC_REVISION.
22048         * iconvdata/Makefile (distribute): No need to filter out CVS.
22049         * scripts/list-sources.sh: Remove CVS, subversion and monotone
22050         handling.
22051
22052 2011-11-16  Andreas Schwab  <schwab@redhat.com>
22053
22054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22055         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22056         [USE_AS_STRNCASECMP_L]: Likewise.
22057         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22058         NO_TLS_DIRECT_SEG_REFS.
22059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22060         Fix argument offsets for non-PIC.
22061         [USE_AS_STRNCASECMP_L]: Likewise.
22062         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22063         NO_TLS_DIRECT_SEG_REFS.
22064
22065 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22066
22067         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22068         O_CLOEXEC.
22069         * locale/loadlocale.c (_nl_load_locale): Likewise.
22070
22071 2011-11-15  Andreas Schwab  <schwab@redhat.com>
22072
22073         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22074         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22075         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22076         (SYSCALL_GETTIME): Set errno on error.
22077
22078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22079         count references to noai6ai_cached.
22080
22081 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22082
22083         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22084
22085         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22086         FD_CLOEXEC for /proc/self/maps.
22087
22088         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22089         FD_CLOEXEC for /proc/meminfo.
22090
22091         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22092         gai.conf.
22093
22094         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
22095         FD_CLOEXEC for given file.
22096
22097         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22098
22099         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22100         FD_CLOEXEC for /etc/hosts.
22101         (_gethtent): Likewise.
22102
22103         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22104
22105         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22106         cancellation and set FD_CLOEXEC for /etc/netgroup.
22107
22108         * nss/nss_files/files-key.c (search): Don't allow cancellation when
22109         reading /etc/publickey.
22110
22111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22112         allow cancellation when reading /etc/group.
22113
22114         * nss/nss_files/files-alias.c (internal_setent): Don't allow
22115         cancellation.
22116         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
22117
22118         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22119         when using data file.
22120
22121         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22122
22123         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22124         (write_nis_obj): Use "c" and "e" in fopen.
22125
22126         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22127
22128         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22129
22130         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22131
22132         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22133
22134         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22135         locale.alias.
22136
22137         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22138
22139         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22140
22141         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22142
22143         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22144         file parsing and set FD_CLOEXEC.
22145
22146 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22147
22148         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22149
22150 2011-11-14  Andreas Schwab  <schwab@redhat.com>
22151
22152         * malloc/arena.c (arena_get2): Don't call reused_arena when
22153         _int_new_arena failed.
22154
22155 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22156
22157         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22158         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22159         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22160         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22161         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22162         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22163         to compile strcasecmp and strncasecmp.
22164         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22165         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22166
22167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22168
22169 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
22170
22171         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22172         locale-defines.sym to gen-as-const-headers.
22173         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22174         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22176         to compile strcasecmp and strncasecmp.
22177         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22178         strcasecmp_l and strncasecmp_l.
22179         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22180         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22181         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22182         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22183         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22184         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22185         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22186         * sysdeps/i386/i686/multiarch/strncase.S: New file.
22187         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22188         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22189         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22190
22191 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22192
22193         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22194         result of SYSDEP_GETTIME_CPU to retval.
22195         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22196         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22197
22198         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22199         variable.
22200
22201         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22202         mantissa words.
22203         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22204
22205         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22206         from unused variable.
22207
22208         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22209         DWARF definitions.
22210         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22211         for assembling.
22212
22213         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22214         over namespaces.
22215
22216         * sunrpc/rpc_prot.c (rejected): Fix case value.
22217
22218         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22219         unsigned long long int to avoid warnings in shift.
22220
22221         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22222         of use of trans.
22223         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22224         variable tmp.
22225
22226         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22227         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22228         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22229
22230         * nis/nis_table.c (nis_list): Use variable of correct type for
22231         result of __follow_path call.
22232
22233 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22234
22235         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22236         of math functions ceil, trunc, floor, round, and sqrt, when
22237         avaliable on the platform.
22238         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22239         name clash.
22240         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22241         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22242         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22243
22244 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22245
22246         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22247         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22248
22249 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22250
22251         * include/unistd.h: Fix __readlink return type.
22252         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22253
22254 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22255
22256         * stdlib/ucontext.h: Undo last change for makecontext.
22257
22258 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22259
22260         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22261
22262         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22263         * setjmp/setjmp.h: Mark functions as non-leaf.
22264         * setjmp/bits/setjmp2.h: Likewise.
22265         * stdlib/ucontext.h: Likewise.
22266
22267 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22268
22269         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22270         (reused_arena): Don't check arena limit.
22271         (arena_get2): Atomically check arena limit.
22272
22273 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22274
22275         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22276         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22277
22278         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22279         instructions.
22280
22281 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22282
22283         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22284         handler when locking.
22285
22286         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22287         Fix size of allocated buffer.
22288
22289 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22290
22291         [BZ #10103]
22292         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22293         declarations for long double functions.
22294         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22295
22296         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22297
22298 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22299
22300         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22301         installed.
22302
22303         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22304         is disabled.
22305
22306 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22307
22308         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22309
22310 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22311
22312         * include/alloca.h (stackinfo_alloca_round): Define.
22313         (extend_alloca): Use it.
22314         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22315         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22316         here.
22317
22318         * scripts/check-local-headers.sh: Ignore libaudit.h.
22319
22320         * nscd/Makefile (extra-objs): Make recursively expanded.
22321
22322 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22323
22324         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22326
22327         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22328         * posix/tst-rfc3484-2.c: Likewise.
22329         * posix/tst-rfc3484-3.c: Likewise.
22330
22331         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22332         process_vm_writev.
22333         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22334         process_vm_writev.
22335         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22336         process_vm_writev from libc using GLIBC_2.15 version.
22337
22338         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22339
22340 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22341
22342         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22343         stack usage.
22344
22345 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22346
22347         [BZ #13367]
22348         * nss/getent.c (initgroups_keys): Show error message in case no group
22349         names are given.
22350
22351         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22352         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22353         __bump_nl_timestamp.
22354         * nscd/connections (nscd_init): When host database is served open
22355         netlink socket and request notification about configuration changes.
22356         (main_loop_poll): Track netlink file descriptor and bump timestamp
22357         in case data becomes available.
22358         (main_loop_epoll): Likewise.
22359         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22360         (database_pers_head): Add extra_data fileds.
22361         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22362         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22363         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22364         Adjust caller.
22365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22366         in6ai data, call __free_in6ai.
22367         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22368         Add -DHAVE_NETLINK.
22369         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22370         interface information.  Reuse previous data if netlink timestamp
22371         is not changed.
22372         (__bump_nl_timestamp): New function.
22373         (__free_in6ai): New function.
22374
22375 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22376
22377         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22378         close_not_cancel_no_status here.
22379         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22380
22381 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22382
22383         [BZ #13276]
22384         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22385         return value.
22386
22387         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22388         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22389         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22390
22391 2011-07-03  Andreas Jaeger  <aj@suse.de>
22392
22393         [BZ #10709]
22394         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22395         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22396         * math/libm-test.inc (sin_test): Add test case.
22397
22398 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22399
22400         [BZ #13337]
22401         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22402         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22403
22404         * elf/chroot_canon.c (chroot_canon): Cleanups.
22405
22406         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22407
22408         [BZ #13335]
22409         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22410         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22411
22412         * string/test-strchr.c: Make usable for strchrnul testing.
22413         * string/test-strchrnul.c: New file.
22414         * string/Makefile (strop-tests): Add strchrnul.
22415
22416         * po/it.po: Update from translation team.
22417         * po/es.po: Likewise.
22418
22419 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22420
22421         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22422         the three constants needed as parameters.  Drop the others.
22423         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22424         __m128i_strloadu_tolower.
22425         Create and initialize variable zero and use it in all the places
22426         where _mm_setzero_si128 was used.
22427
22428         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22429         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22430         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22431         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22432         anymore.
22433         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22434         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22435         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22436         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22437         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22438         __mpranred, __mptan.
22439         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22440         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22441         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22442         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22443         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22444         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22445         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22446         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22447         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22448
22449 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22450
22451         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22452         redefine if SHARED.
22453         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22454
22455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22456         wide char related routines to wcsmbs subdir.
22457
22458 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22459
22460         [BZ #13344]
22461         * misc/sys/cdefs.h (__THROWNL): Define.
22462         * posix/unistd.h: Use __THREADNL instead of __THREAD
22463         for memory synchronization functions.
22464
22465 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22466
22467         [BZ #13349]
22468         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22469         doesn't exist.
22470         * manual/stdio.texi (Obstack Streams): Node removed.
22471
22472 2011-10-26  Andreas Schwab  <schwab@redhat.com>
22473
22474         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22475         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22476         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22477
22478         * math/math_private.h (math_force_eval): Allow non-addressable
22479         arguments.
22480         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22481
22482 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22483
22484         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22485         file is not needed.
22486
22487         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22489         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22490         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22493         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22494         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22495         Add AVX variants.
22496         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22497         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22498         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22499         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22500         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22501         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22502         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22503         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22504         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22505         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22506         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22507         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22508         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22509         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22510         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22511         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22512         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22513         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22514         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22515
22516         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22517         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22518
22519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22520         place.  Use VEX encoding when compiling for AVX.
22521
22522 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22523
22524         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22525         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22526
22527         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22528
22529 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22530
22531         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22532         useless if() expression.
22533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22534         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22535         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22536         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22537         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22538         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22539         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22540         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22541         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22542         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22543         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22544         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22545         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22546         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22547         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22549         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22550         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22551         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22552
22553         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22554
22555 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22556
22557         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22558         condition.
22559         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22560
22561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22562
22563         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22564         .text section.  Avoid duplicate constants.
22565         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22567         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22573         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22574         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22575         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22576         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22577         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22578         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22579         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22580         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22581         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22582         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22585         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22586         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22587         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22588         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22589         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22590         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22591         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22592         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22593         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22594         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22595         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22596         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22597         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22598         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22599         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22600         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22601         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22602         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22603         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22604         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22606         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22607         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22608         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22609         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22610
22611 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22612
22613         * sysdeps/x86_64/dla.h: Move to ...
22614         * sysdeps/x86_64/fpu/dla.h: ...here.
22615         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22616         situations.  Use __builtin_fma only for gcc 4.6 and up.
22617
22618         * config.make.in: Add have-mfma4 entry.
22619         * configure.in: Substitute libc_cv_cc_fma4.
22620         * math/Makefile (dbl-only-routines): Add sincostab.
22621         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22622         Use __sincostab not sincos.
22623         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22624         name is a macro.
22625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22629         using __copysign.
22630         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22631         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22632         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22633         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22634         and __inv.
22635         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22636         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22637         __copysign.
22638         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22639         define aliases when function name is a macro.
22640         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22641         sysdeps/ieee754/dbl-64/sincos.tbl.
22642         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22643         fma4-enabled routines.
22644         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22645         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22646         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22647         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22648         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22649         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22650         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22651         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22652         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22653         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22654         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22655         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22656         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22657         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22658         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22659         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22660         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22661         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22662         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22663         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22664         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22665         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22666         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22667         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22669         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22671         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22672         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22673         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22674
22675         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22676         rename.
22677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22678         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22682         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22683         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22685
22686 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22687
22688         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22689
22690 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22691
22692         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22693
22694         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22695         prediction.
22696         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22697
22698         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22699         Remove unused variable magic_bits.
22700         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22701
22702         * string/strnlen.c: Define and use STRNLEN macro.
22703         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22704         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22706         * wcsmbs/wcslen.c: Define and use WCSLEN.
22707         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22708         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22709         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22710         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22711         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22712         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22713         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22714
22715 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22716
22717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22718         strnlen-sse2-no-bsf.
22719         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22720         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22721         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22722         Add strnlen support.
22723         (USE_AS_STRNLEN): New macro.
22724         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22726         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22727         * sysdeps/x86_64/wcslen.S: New file.
22728
22729 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22730
22731         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22732         XMM-moves are used for copying on small sizes.
22733
22734 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22735
22736         * wcsmbs/Makefile (strop-tests): Add wcschr.
22737         * wcsmbs/test-wcschr.c: New file.
22738         * string/test-strchr.c: Update.
22739         Add wcschr support.
22740         (WIDE): New macro.
22741
22742 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22743
22744         * wcsmbs/Makefile (strop-tests): Add wcslen.
22745         * wcsmbs/test-wcslen.c: New file.
22746         * string/test-strlen.c: Update.
22747         Add wcslen support.
22748         (WIDE): New macro.
22749
22750 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22751
22752         * po/it.po: Update from translation team.
22753
22754 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22755
22756         * sysdeps/x86_64/wcscmp.S: Update.
22757         Fix wrong comparison semantics.
22758         wcscmp shall use signed comparison not unsigned.
22759         Don't use substraction to avoid overflow bug.
22760         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22761         * wcsmbc/wcscmp.c: Likewise.
22762         * string/test-strcmp.c: Likewise.
22763         Add new tests to check cases with negative values.
22764
22765 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22766
22767         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22768         * sysdeps/x86_64/dla.h: ...here.  New file.
22769         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22774         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22775         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22778
22779 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22780
22781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22782         __ynl_finite aliases.
22783
22784 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22785
22786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22787
22788         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22789         define DLA_FMA.
22790         [DLA_FMA] (EMULV): Use DLA_FMA.
22791         [DLA_FMA] (MUL12): Use EMULV.
22792         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22793         that are not needed.
22794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22801
22802 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22803
22804         * math/s_nan.c: Undef __nan.
22805         * math/s_nanf.c: Undef __nanf.
22806         * math/s_nanl.c: Undef __nanl.
22807         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22808         "math_private.h".
22809
22810 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22811
22812         * math/s_catan.c: Add branch predictions.
22813         * math/s_catanf.c: Likewise.
22814         * math/s_catanh.c: Likewise.
22815         * math/s_catanhf.c: Likewise.
22816         * math/s_catanhl.c: Likewise.
22817         * math/s_catanl.c: Likewise.
22818         * math/s_cexp.c: Likewise.
22819         * math/s_cexpf.c: Likewise.
22820         * math/s_cexpl.c: Likewise.
22821         * math/s_clog.c: Likewise.
22822         * math/s_clog10.c: Likewise.
22823         * math/s_clog10f.c: Likewise.
22824         * math/s_clog10l.c: Likewise.
22825         * math/s_clogf.c: Likewise.
22826         * math/s_clogl.c: Likewise.
22827         * math/s_csqrt.c: Likewise.
22828         * math/s_csqrtf.c: Likewise.
22829         * math/s_csqrtl.c: Likewise.
22830         * math/s_ctanf.c: Likewise.
22831         * math/s_ctanh.c: Likewise.
22832         * math/s_ctanhf.c: Likewise.
22833         * math/s_ctanhl.c: Likewise.
22834         * math/s_ctanl.c: Likewise.
22835
22836         * math/math_private.h: Define __nan, __nanf, __nanl.
22837         * math/s_cacosh.c: Include <math_private.h>.
22838         * math/s_cacoshl.c: Likewise.
22839         * math/s_casinh.c: Likewise.
22840         * math/s_casinhf.c: Likewise.
22841         * math/s_casinhl.c: Likewise.
22842         * math/s_ccos.c: Rely entire on ccosh.
22843         * math/s_ccosf.c: Rely entire on ccoshf.
22844         * math/s_ccosl.c: Rely entirely on ccoshl.
22845         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22846         Remove tests for FE_INVALID.
22847         * math/s_ccoshf.c: Likewise.
22848         * math/s_ccoshl.c: Likewise.
22849         * math/s_csin.c: Likewise.
22850         * math/s_csinf.c: Likewise.
22851         * math/s_csinh.c Likewise.
22852         * math/s_csinhf.c: Likewise.
22853         * math/s_csinhl.c: Likewise.
22854         * math/s_csinl.c: Likewise.
22855         * math/s_ctan.c: Likewise.
22856         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22857         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22858         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22859
22860 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22861
22862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22863         compilation problems.
22864
22865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22866         __builtin_expect.
22867
22868 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22869
22870         * sysdeps/i386/configure.in: Test for -mfma4 option.
22871         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22872         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22873         COMMON_CPUID_INDEX_80000001.
22874         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22875         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22876         use it if FMA3 is not supported.
22877         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22878
22879         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22880         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22881
22882 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22883
22884         [BZ #12892]
22885         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22886         it would create a cycle with a link time dependency.
22887
22888 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22889
22890         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22891         instruction.
22892         * string/Makefile (strop-tests): Add rawmemchr.
22893         * string/test-rawmemchr.c: New file.
22894
22895         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22896         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22897         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22898         when compiling str{,n}casecmp and when AVX is available.  Hook up
22899         new optimized code in initializers.
22900
22901 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22902
22903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22904         __feraiseexcept instead of feraiseexcept.
22905
22906 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22907
22908         * math/math_private.h: Define defaults for libc_fetestexcept and
22909         libc_feupdateenv.
22910         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22911         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22912         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22913         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22914         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22915         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22916         libc_fetestexcept and libc_feupdateenv.
22917
22918         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22919         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22920         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22921         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22922         libc_feholdexcept_setround.
22923
22924         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22925         Add s_nearbyint-c and s_nearbyintf-c.
22926         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22927         nearbyintf inlines.
22928         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22929         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22930         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22931         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22932
22933         * math/math_private.h: Define defaults for libc_fegetround,
22934         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22935         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22936         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22938         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22939         standard functions.
22940         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22941         Remove comments and hacks for old compiler versions.
22942         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22943         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22944         libc_feholdexceptl.
22945
22946 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22947
22948         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22949         (__feraiseexcept_renamed): Add __NTH.
22950         (feraiseexcept): Add __NTH.  Rename local variables to fix
22951         namespace violations.
22952
22953 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22954
22955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22956
22957         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22958
22959         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22960         recently added interfaces.
22961         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22962
22963         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22964         about macro parameter expansion.
22965
22966         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22967         __NO_MATH_INLINES is defined.  Cleanups.
22968
22969         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22970         and __floorf is target has SSE4.1.
22971         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22972         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22973         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22974         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22975
22976         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22977         name.
22978         (floorf): Likewise.
22979
22980         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22981
22982 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22983
22984         * misc/sys/cdefs.h: Fix last change.
22985
22986         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22987         database lookup.
22988
22989 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22990
22991         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22992
22993         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22994         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22995         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22996         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22997         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22998         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22999         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23000         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23001         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23002         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23003         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23004         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23005         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23006         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23007         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23008         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23009         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23010         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23011         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23012         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23013         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23014         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23015
23016         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23017         ceil, ceilf, floor, floorf.
23018
23019         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23020         Perform IRELATIVE relocations last.
23021
23022         * elf/do-rel.h: Add another parameter nrelative, replacing the
23023         local variable with the same name.  Change name of the function
23024         to end in Rel or Rela (uppercase).
23025         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23026         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
23027         elf_dynamic_do_##reloc function.
23028
23029 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23030
23031         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23032         is sufficient, at least on modern CPUs.
23033
23034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23035
23036         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23037         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23038
23039         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23040         __expl_finite.
23041         * math/bits/math-finite.h: Add entries for exp.
23042         * math/e_expl.c: Add __*_finite alias.
23043         * sysdeps/i386/fpu/e_exp.S: Likewise.
23044         * sysdeps/i386/fpu/e_expf.S: Likewise.
23045         * sysdeps/i386/fpu/e_expl.c: Likewise.
23046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23047         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23048         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23050         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23051         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23052         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23053
23054         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23055         is sufficient, at least on modern CPUs.
23056
23057         * ctype/ctype-info.c (__ctype_init): Define.
23058         * include/ctype.h (__ctype_init): Declare.
23059         (__ctype_b_loc): The variable is always initialized.
23060         (__ctype_toupper_loc): Likewise.
23061         (__ctype_tolower_loc): Likewise.
23062         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23063         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23064
23065 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
23066
23067         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23068
23069         * configure.in: Also look in $cxxmachine/include for C++ system
23070         headers.
23071
23072 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23073
23074         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23075         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23076         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23077         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
23078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23079         (USE_AS_WMEMCMP): New macro.
23080         Fixing indents.
23081         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23082         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23083         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23084         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23086         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23087         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23088         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23089         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23090         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23091         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23092         (USE_AS_WMEMCMP): New macro.
23093         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23094         * sysdeps/string/test-memcmp.c: Update.
23095         Fix simple_wmemcmp.
23096         Add new tests.
23097         * wcsmbs/wmemcmp.c: Update.
23098         (WMEMCMP): New macro.
23099         Fix overflow bug.
23100
23101 2011-10-12  Andreas Jaeger  <aj@suse.de>
23102
23103         [BZ #13268]
23104         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23105
23106 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23107
23108         * libio/iofwide.c (do_length): Avoid warning.
23109
23110         * ctype/ctype.h (__isctype_f): Add missing __THROW.
23111
23112 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
23113
23114         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23115
23116         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23117         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23118         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23119         * sysdeps/i386/i686/fpu/e_log.S: New file.
23120         * sysdeps/i386/i686/fpu/e_logf.S: New file.
23121         * sysdeps/i386/i686/fpu/e_logl.S: New file.
23122
23123         * ctype/ctype.h: Add support for inlined isXXX functions when
23124         compiling C++ code.
23125
23126 2011-10-14  Andreas Schwab  <schwab@redhat.com>
23127
23128         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23129
23130         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23131
23132 2011-10-13  Roland McGrath  <roland@hack.frob.com>
23133
23134         [BZ #13291]
23135         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23136
23137 2011-10-13  Andreas Schwab  <schwab@redhat.com>
23138
23139         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23140         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23141         feraiseexcept.
23142
23143         * sysdeps/x86_64/memrchr.S: Check for zero size.
23144
23145         * string/stratcliff.c: Add memrchr tests.
23146
23147 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23148
23149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23150         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23151         rawmemchr-sse2 rawmemchr-sse2-bsf.
23152         * sysdeps/i386/i686/multiarch/memchr.S: New file.
23153         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23154         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23155         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23156         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23157         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23158         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23159         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23160         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23161         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23162         * string/memrchr.c (MEMRCHR): New macro.
23163
23164 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
23165
23166         Add integration with gcc's -ffinite-math-only and optimize wrapper
23167         functions in libm.
23168         * Versions.def: Define GLIBC_2.15 version for libm.
23169         * math/Makefile (headers): Add bits/math-finite.h.
23170         * math/bits/math-finite.h: New file.
23171         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23172         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23173         * math/e_acoshl.c: Add __*_finite alias.
23174         * math/e_acosl.c: Likewise.
23175         * math/e_asinl.c: Likewise.
23176         * math/e_atan2l.c: Likewise.
23177         * math/e_atanhl.c: Likewise.
23178         * math/e_coshl.c: Likewise.
23179         * math/e_exp10.c: Likewise.
23180         * math/e_exp10f.c: Likewise.
23181         * math/e_exp10l.c: Likewise.
23182         * math/e_exp2l.c: Likewise.
23183         * math/e_fmodl.c: Likewise.
23184         * math/e_gammal_r.c: Likewise.
23185         * math/e_hypotl.c: Likewise.
23186         * math/e_j0l.c: Likewise.
23187         * math/e_j1l.c: Likewise.
23188         * math/e_jnl.c: Likewise.
23189         * math/e_lgammal_r.c: Likewise.
23190         * math/e_log10l.c: Likewise.
23191         * math/e_log2l.c: Likewise.
23192         * math/e_logl.c: Likewise.
23193         * math/e_powl.c: Likewise.
23194         * math/e_sinhl.c: Likewise.
23195         * math/e_sqrtl.c: Likewise.
23196         * math/e_scalb.c: Completely rewritten and optimized.
23197         * math/e_scalbf.c: Likewise.
23198         * math/e_scalbl.c: Likewise.
23199         * math/w_acos.c: Likewise.
23200         * math/w_acosf.c: Likewise.
23201         * math/w_acosl.c: Likewise.
23202         * math/w_acosh.c: Likewise.
23203         * math/w_acoshf.c: Likewise.
23204         * math/w_acoshl.c: Likewise.
23205         * math/w_asin.c: Likewise.
23206         * math/w_asinf.c: Likewise.
23207         * math/w_asinl.c: Likewise.
23208         * math/w_atan2.c: Likewise.
23209         * math/w_atan2f.c: Likewise.
23210         * math/w_atan2l.c: Likewise.
23211         * math/w_atanh.c: Likewise.
23212         * math/w_atanhf.c: Likewise.
23213         * math/w_atanhl.c: Likewise.
23214         * math/w_exp10.c: Likewise.
23215         * math/w_exp10f.c: Likewise.
23216         * math/w_exp10l.c: Likewise.
23217         * math/w_fmod.c: Likewise.
23218         * math/w_fmodf.c: Likewise.
23219         * math/w_fmodl.c: Likewise.
23220         * math/w_j0.c: Likewise.
23221         * math/w_j0f.c: Likewise.
23222         * math/w_j0l.c: Likewise.
23223         * math/w_j1.c: Likewise.
23224         * math/w_j1f.c: Likewise.
23225         * math/w_j1l.c: Likewise.
23226         * math/w_jn.c: Likewise.
23227         * math/w_jnf.c: Likewise.
23228         * math/w_log.c: Likewise.
23229         * math/w_logf.c: Likewise.
23230         * math/w_logl.c: Likewise.
23231         * math/w_log10.c: Likewise.
23232         * math/w_log10f.c: Likewise.
23233         * math/w_log10l.c: Likewise.
23234         * math/w_log2.c: Likewise.
23235         * math/w_log2f.c: Likewise.
23236         * math/w_log2l.c: Likewise.
23237         * math/w_pow.c: Likewise.
23238         * math/w_powf.c: Likewise.
23239         * math/w_powl.c: Likewise.
23240         * math/w_remainder.c: Likewise.
23241         * math/w_remainderf.c: Likewise.
23242         * math/w_remainderl.c: Likewise.
23243         * math/w_scalb.c: Likewise.
23244         * math/w_scalbf.c: Likewise.
23245         * math/w_scalbl.c: Likewise.
23246         * math/w_sqrt.c: Likewise.
23247         * math/w_sqrtf.c: Likewise.
23248         * math/w_sqrtl.c: Likewise.
23249         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23250         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23251         used.
23252         * math/math_private.h: Declare __kernel_standard_f.
23253         * math/w_cosh.c: Remove cruft and optimize a bit.
23254         * math/w_coshf.c: Likewise.
23255         * math/w_coshl.c: Likewise.
23256         * math/w_exp2.c: Likewise.
23257         * math/w_exp2f.c: Likewise.
23258         * math/w_exp2l.c: Likewise.
23259         * math/w_hypot.c: Likewise.
23260         * math/w_hypotf.c: Likewise.
23261         * math/w_hypotl.c: Likewise.
23262         * math/w_lgamma.c: Likewise.
23263         * math/w_lgamma_r.c: Likewise.
23264         * math/w_lgammaf.c: Likewise.
23265         * math/w_lgammaf_r.c: Likewise.
23266         * math/w_lgammal.c: Likewise.
23267         * math/w_lgammal_r.c: Likewise.
23268         * math/w_sinh.c: Likewise.
23269         * math/w_sinhf.c: Likewise.
23270         * math/w_sinhl.c: Likewise.
23271         * math/w_tgamma.c: Likewise.
23272         * math/w_tgammaf.c: Likewise.
23273         * math/w_tgammal.c: Likewise.
23274         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23275         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23276         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23277         Minor optimizations.  Pretty printing.  Remove cruft.
23278         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23279         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23280         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23281         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23282         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23283         * sysdeps/i386/fpu/e_asin.S: Likewise.
23284         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23285         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23286         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23287         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23288         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23290         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23291         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23292         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23293         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23294         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23295         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23296         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23297         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23298         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23299         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23300         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23301         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23302         * sysdeps/i386/fpu/e_log.S: Likewise.
23303         * sysdeps/i386/fpu/e_log10.S: Likewise.
23304         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23305         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23306         * sysdeps/i386/fpu/e_log2.S: Likewise.
23307         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23308         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23309         * sysdeps/i386/fpu/e_logf.S: Likewise.
23310         * sysdeps/i386/fpu/e_logl.S: Likewise.
23311         * sysdeps/i386/fpu/e_pow.S: Likewise.
23312         * sysdeps/i386/fpu/e_powf.S: Likewise.
23313         * sysdeps/i386/fpu/e_powl.S: Likewise.
23314         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23315         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23316         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23317         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23318         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23320         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23321         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23322         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23323         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23324         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23326         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23327         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23328         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23329         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23330         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23331         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23332         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23333         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23334         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23335         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23336         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23337         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23339         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23340         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23341         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23342         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23343         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23344         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23345         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23346         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23347         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23348         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23349         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23350         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23351         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23352         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23353         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23354         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23355         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23356         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23357         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23358         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23359         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23360         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23361         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23362         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23363         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23364         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23365         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23366         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23367         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23368         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23369         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23370         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23371         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23372         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23373         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23374         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23375         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23376         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23378         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23379         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23380         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23381         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23382         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23383         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23392         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23400         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23401         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23402         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23404         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23405         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23406         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23407         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23408         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23409         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23410         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23411         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23412         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23414         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23415         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23416         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23417         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23418         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23419         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23420         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23421         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23422         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23423         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23424         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23425         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23426         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23427         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23428         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23430         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23431         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23432         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23433         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23434         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23435         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23436         (__isnanf): Likewise.
23437         (__isinf_ns): Likewise.
23438         (__isinf_nsf): Likewise.
23439         (__finite): Likewise.
23440         (__finitef): Likewise.
23441         (__ieee754_sqrt): Define as macro.
23442         (__ieee754_sqrtf): Define as macro.
23443         (__ieee754_sqrtl): Define as macro.
23444         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23445         inlined copy.
23446         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23447         __FINITE_MATH_ONLY__ consistent.
23448         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23449
23450 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23451
23452         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23453         of rawmemchr.
23454
23455         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23456
23457 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23458
23459         * po/ja.po: Update from translation team.
23460
23461 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23462
23463         * locale/programs/locarchive.c (prepare_address_space): New function.
23464         (create_archive, enlarge_archive, open_archive): Use it.
23465
23466         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23467         inside [SHARED], where it is used.
23468
23469         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23470
23471         * nss/getent.c (netgroup_keys): Remove unused variable.
23472         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23473
23474 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
23475
23476         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23477         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23479         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23480         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23481         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23482         * math/Makefile (libm-calls): Add s_isinf_ns.
23483         * math/divtc3.c: Use __isinf_nsl instead of isinf.
23484         * math/multc3.c: Likewise.
23485         * math/s_casin.c: Likewise.
23486         * math/s_casinf.c: Likewise.
23487         * math/s_casinl.c: Likewise.
23488         * math/s_ccos.c: Likewise.
23489         * math/s_ccosf.c: Likewise.
23490         * math/s_ccosl.c: Likewise.
23491         * math/s_ctan.c: Likewise.
23492         * math/s_ctanf.c: Likewise.
23493         * math/s_ctanh.c: Likewise.
23494         * math/s_ctanhf.c: Likewise.
23495         * math/s_ctanhl.c: Likewise.
23496         * math/s_ctanl.c: Likewise.
23497         * math/w_fmod.c: Likewise.
23498         * math/w_fmodf.c: Likewise.
23499         * math/w_fmodl.c: Likewise.
23500         * math/w_remainder.c: Likewise.
23501         * math/w_remainderf.c: Likewise.
23502         * math/w_remainderl.c: Likewise.
23503         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23504         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23507         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23508         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23509         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23510         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23511
23512         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23513         of the number.
23514         * stdio-common/printf_fphex.c: Likewise.
23515         * stdio-common/printf_size.c: Likewise.
23516
23517         * math/e_exp10.c: Include math_private.h using <...> not "...".
23518         * math/e_exp10f.c: Likewise.
23519         * math/e_exp10l.c: Likewise.
23520         * math/e_exp2l.c: Likewise.
23521         * math/e_j0l.c: Likewise.
23522         * math/e_j1l.c: Likewise.
23523         * math/e_jnl.c: Likewise.
23524         * math/e_lgammal_r.c: Likewise.
23525         * math/e_rem_pio2l.c: Likewise.
23526         * math/e_scalb.c: Likewise.
23527         * math/e_scalbf.c: Likewise.
23528         * math/e_scalbl.c: Likewise.
23529         * math/k_cosl.c: Likewise.
23530         * math/k_sinl.c: Likewise.
23531         * math/k_tanl.c: Likewise.
23532         * math/s_cacoshf.c: Likewise.
23533         * math/s_catan.c: Likewise.
23534         * math/s_catanf.c: Likewise.
23535         * math/s_catanh.c: Likewise.
23536         * math/s_catanhf.c: Likewise.
23537         * math/s_catanhl.c: Likewise.
23538         * math/s_catanl.c: Likewise.
23539         * math/s_ccosh.c: Likewise.
23540         * math/s_ccoshf.c: Likewise.
23541         * math/s_ccoshl.c: Likewise.
23542         * math/s_cexp.c: Likewise.
23543         * math/s_cexpf.c: Likewise.
23544         * math/s_cexpl.c: Likewise.
23545         * math/s_clog.c: Likewise.
23546         * math/s_clog10.c: Likewise.
23547         * math/s_clog10f.c: Likewise.
23548         * math/s_clog10l.c: Likewise.
23549         * math/s_clogf.c: Likewise.
23550         * math/s_clogl.c: Likewise.
23551         * math/s_csin.c: Likewise.
23552         * math/s_csinf.c: Likewise.
23553         * math/s_csinh.c: Likewise.
23554         * math/s_csinhf.c: Likewise.
23555         * math/s_csinhl.c: Likewise.
23556         * math/s_csinl.c: Likewise.
23557         * math/s_csqrt.c: Likewise.
23558         * math/s_csqrtf.c: Likewise.
23559         * math/s_csqrtl.c: Likewise.
23560         * math/s_ctan.c: Likewise.
23561         * math/s_ctanf.c: Likewise.
23562         * math/s_ctanh.c: Likewise.
23563         * math/s_ctanhf.c: Likewise.
23564         * math/s_ctanhl.c: Likewise.
23565         * math/s_ctanl.c: Likewise.
23566         * math/s_ldexp.c: Likewise.
23567         * math/s_ldexpf.c: Likewise.
23568         * math/s_ldexpl.c: Likewise.
23569         * math/s_significand.c: Likewise.
23570         * math/s_significandf.c: Likewise.
23571         * math/s_significandl.c: Likewise.
23572         * math/w_acos.c: Likewise.
23573         * math/w_acosf.c: Likewise.
23574         * math/w_acosh.c: Likewise.
23575         * math/w_acoshf.c: Likewise.
23576         * math/w_acoshl.c: Likewise.
23577         * math/w_acosl.c: Likewise.
23578         * math/w_asin.c: Likewise.
23579         * math/w_asinf.c: Likewise.
23580         * math/w_asinl.c: Likewise.
23581         * math/w_atan2.c: Likewise.
23582         * math/w_atan2f.c: Likewise.
23583         * math/w_atan2l.c: Likewise.
23584         * math/w_atanh.c: Likewise.
23585         * math/w_atanhf.c: Likewise.
23586         * math/w_atanhl.c: Likewise.
23587         * math/w_cosh.c: Likewise.
23588         * math/w_coshf.c: Likewise.
23589         * math/w_coshl.c: Likewise.
23590         * math/w_dremf.c: Likewise.
23591         * math/w_exp10.c: Likewise.
23592         * math/w_exp10f.c: Likewise.
23593         * math/w_exp10l.c: Likewise.
23594         * math/w_exp2.c: Likewise.
23595         * math/w_exp2f.c: Likewise.
23596         * math/w_fmod.c: Likewise.
23597         * math/w_fmodf.c: Likewise.
23598         * math/w_fmodl.c: Likewise.
23599         * math/w_hypot.c: Likewise.
23600         * math/w_hypotf.c: Likewise.
23601         * math/w_hypotl.c: Likewise.
23602         * math/w_j0.c: Likewise.
23603         * math/w_j0f.c: Likewise.
23604         * math/w_j0l.c: Likewise.
23605         * math/w_j1.c: Likewise.
23606         * math/w_j1f.c: Likewise.
23607         * math/w_j1l.c: Likewise.
23608         * math/w_jn.c: Likewise.
23609         * math/w_jnf.c: Likewise.
23610         * math/w_jnl.c: Likewise.
23611         * math/w_lgamma.c: Likewise.
23612         * math/w_lgamma_r.c: Likewise.
23613         * math/w_lgammaf.c: Likewise.
23614         * math/w_lgammaf_r.c: Likewise.
23615         * math/w_lgammal.c: Likewise.
23616         * math/w_lgammal_r.c: Likewise.
23617         * math/w_log.c: Likewise.
23618         * math/w_log10.c: Likewise.
23619         * math/w_log10f.c: Likewise.
23620         * math/w_log10l.c: Likewise.
23621         * math/w_log2.c: Likewise.
23622         * math/w_log2f.c: Likewise.
23623         * math/w_log2l.c: Likewise.
23624         * math/w_logf.c: Likewise.
23625         * math/w_logl.c: Likewise.
23626         * math/w_pow.c: Likewise.
23627         * math/w_powf.c: Likewise.
23628         * math/w_powl.c: Likewise.
23629         * math/w_remainder.c: Likewise.
23630         * math/w_remainderf.c: Likewise.
23631         * math/w_remainderl.c: Likewise.
23632         * math/w_scalb.c: Likewise.
23633         * math/w_scalbf.c: Likewise.
23634         * math/w_scalbl.c: Likewise.
23635         * math/w_sinh.c: Likewise.
23636         * math/w_sinhf.c: Likewise.
23637         * math/w_sinhl.c: Likewise.
23638         * math/w_sqrt.c: Likewise.
23639         * math/w_sqrtf.c: Likewise.
23640         * math/w_sqrtl.c: Likewise.
23641         * math/w_tgamma.c: Likewise.
23642         * math/w_tgammaf.c: Likewise.
23643         * math/w_tgammal.c: Likewise.
23644
23645         * po/ja.po: Update from translation team.
23646
23647 2011-09-29  Andreas Jaeger  <aj@suse.de>
23648
23649         [BZ #13179]
23650         * sunrpc/netname.c (netname2host): Fix logic.
23651
23652         [BZ #6779]
23653         [BZ #6783]
23654         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23655         correctly.
23656         * math/w_remainder.c (__remainder): Likewise.
23657         * math/w_remainderf.c (__remainderf): Likewise.
23658         * math/libm-test.inc (remainder_test): Add test cases.
23659
23660 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23661
23662         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23663         sdiv_qrnnd.
23664
23665 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23666
23667         * string/test-memcmp.c: Avoid unncessary #defines.
23668         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23669
23670 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23671
23672         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23673         Use new sse2 version for core i3 - i7 as it's faster
23674         than sse42 version.
23675         (bit_Prefer_PMINUB_for_stringop): New.
23676         * sysdeps/x86_64/rawmemchr.S: Update.
23677         Replace with faster SSE2 version.
23678         * sysdeps/x86_64/memrchr.S: New file.
23679         * sysdeps/x86_64/memchr.S: Update.
23680         Replace with faster SSE2 version.
23681
23682 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23683
23684         * elf/dl-load.c (lose): Add cast to avoid warning.
23685
23686 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23687
23688         * po/ca.po: Update from translation team.
23689
23690         * inet/getnetgrent_r.c: Hook up nscd.
23691         * nscd/Makefile (routines): Add nscd_netgroup.
23692         (nscd-modules): Add netgroupcache.
23693         (CFLAGS-netgroupcache.c): Define.
23694         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23695         (cache_search): Add const to second parameter.
23696         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23697         INNETGR.
23698         (dbs): Add netgrdb entry.
23699         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23700         (verify_persistent_db): Handle netgrdb.
23701         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23702         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23703         GETFDNETGR.
23704         (netgroup_response_header): Define.
23705         (innetgroup_response_header): Define.
23706         (datahead): Add netgroup_response_header and innetgroup_response_header
23707         elements.
23708         * nscd/nscd.conf: Add entries for netgroup cache.
23709         * nscd/nscd.h (dbtype): Add netgrdb.
23710         (_PATH_NSCD_NETGROUP_DB): Define.
23711         (netgroup_iov_disabled): Declare.
23712         (xmalloc, xcalloc, xrealloc): Move declarations here.
23713         (cache_search): Adjust prototype.
23714         Add netgroup-related prototypes.
23715         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23716         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23717         (__nscd_innetgr): Declare.
23718         * nscd/selinux.c (perms): Use access_vector_t as element type and
23719         add netgroup-related initializers.
23720         * nscd/netgroupcache.c: New file.
23721         * nscd/nscd_netgroup.c: New file.
23722         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23723         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23724         For four parameters use innetgr.
23725         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23726         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23727         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23728         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23729
23730         * nscd/connections.c (register_traced_file): Don't register file
23731         for disabled databases.
23732
23733 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23734
23735         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23736
23737         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23738         from tree and freeing node.
23739
23740 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23741
23742         * nss/nsswitch.c (__nss_database_lookup): Handle
23743         nss_parse_service_list out of memory case.
23744
23745 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23746
23747         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23748         out of memory case.
23749
23750 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23751
23752         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23753         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23754         pass it down.
23755         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23756         elf_machine_rela, elf_machine_lazy_rel.
23757         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23758         (ELF_DYNAMIC_DO_REL): Likewise.
23759         (ELF_DYNAMIC_DO_RELA): Likewise.
23760         (ELF_DYNAMIC_RELOCATE): Likewise.
23761         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23762         to ELF_DYNAMIC_DO_REL.
23763         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23764         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23765         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23766         elf_machine_rela.
23767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23768         skip_ifunc, don't call ifunc function if non-zero.
23769         (elf_machine_rela): Likewise.
23770         (elf_machine_lazy_rel): Likewise.
23771         (elf_machine_lazy_rela): Likewise.
23772         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23773         (elf_machine_lazy_rel): Likewise.
23774         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23775         Likewise.
23776         (elf_machine_lazy_rel): Likewise.
23777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23778         Likewise.
23779         (elf_machine_lazy_rel): Likewise.
23780         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23781         (elf_machine_lazy_rel): Likewise.
23782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23783         (elf_machine_lazy_rel): Likewise.
23784         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23785         (elf_machine_lazy_rel): Likewise.
23786         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23787         (elf_machine_lazy_rel): Likewise.
23788         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23789         (elf_machine_lazy_rel): Likewise.
23790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23791         (elf_machine_lazy_rel): Likewise.
23792
23793 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23794
23795         * nss/nss_files/files-init.c (_nss_files_init): Use static
23796         initialization for all the *_traced_file variables.
23797
23798 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23799
23800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23801
23802 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23803
23804         [BZ #13226]
23805         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23806
23807 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23808
23809         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23810         Reread the line before reparsing it.
23811
23812 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23813
23814         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23815
23816 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23817             Maxim Kuvyrkov  <maxim@codesourcery.com>
23818             Joseph Myers  <joseph@codesourcery.com>
23819
23820         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23821         if needed for __stack_chk_guard.
23822
23823 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23824
23825         * sysdeps/posix/spawni.c (script_execute): Always define it.
23826         It will be optimized away if unused.
23827         (maybe_script_execute): New function.
23828         (__spawni): Call it.
23829
23830         * Makerules: Don't include tls.make.
23831         (config-tls): Always set to thread.
23832         * tls.make.c: File removed.
23833
23834 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23835
23836         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23837         * config.make.in (CPPFLAGS-config): New substituted variable.
23838
23839 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23840
23841         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23842
23843         [BZ #13192]
23844         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23845         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23846
23847 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23848
23849         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23850         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23852         (CALL_FAIL): Likewise.
23853         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23854         (CALL_FAIL): Macro removed.
23855         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23856
23857 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23858
23859         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23860         for __FINITE_MATH_ONLY__ == 1.
23861
23862 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23863
23864         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23865         __ieee754_sqrt instead of sqrt.
23866         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23867         __ieee754_sqrtf instead of sqrtf.
23868         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23869         __floorf instead of floorf.
23870         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23871         __floorf, __truncf instead of floorf, truncf.
23872
23873 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23874
23875         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23876
23877         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23878         __extern_always_inline.
23879         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23880         32-bit.
23881
23882 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23883
23884         * elf/rtld.c (dl_main): Also relocate in dependency order when
23885         doing symbol dependency testing.
23886
23887 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23888
23889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23890         Always define `refsym'.
23891
23892 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23893
23894         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23895         (__FD_ELT): Renamed from __FDELT.
23896         * misc/bits/select2.h (__FD_ELT): Likewise.
23897         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23898         __FD_MASK instead of __FDELT, __FDMASK.
23899         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23900         Likewise.
23901         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23902         Likewise.
23903
23904         * elf/Makefile (gen-ldd): Fix pattern.
23905
23906         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23907         (init_tls): Likewise.
23908
23909 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23910
23911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23912
23913 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23914
23915         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23916         `struct cmsghdr *' instead of `void *'.
23917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23918         Likewise.
23919
23920 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23921
23922         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23923         if non-absolute.
23924         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23925         ldd_rewrite_script.
23926
23927 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23928
23929         * configure.in: Remove --with-tls option.
23930         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23931         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23932         out in case it is missing.
23933         * sysdeps/ia64/elf/configure.in: Likewise.
23934         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23935         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23936         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23937         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23938         * sysdeps/sh/elf/configure.in: Likewise.
23939         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23940         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23941         * sysdeps/x86_64/elf/configure.in: Likewise.
23942         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23943         * sysdeps/mach/hurd/tls.h: Likewise.
23944
23945         [BZ #13067]
23946         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23947
23948         [BZ #13090]
23949         * configure.in: Fix use of AC_INIT.
23950
23951         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23952
23953 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23954
23955         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23956         __set_errno.
23957         * malloc/hooks.c: Likewise.
23958
23959         [BZ #11929]
23960         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23961         variables statically.
23962         (narenas): Initialize.
23963         (list_lock): Initialize.
23964         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23965         initializtion of main_arena and list_lock.  Small cleanups.
23966         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23967         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23968         Add initializers to main_arena and mp_.
23969         (malloc_state): Remove pagesize member.  Change all users to use
23970         GLRO(dl_pagesize).
23971
23972         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23973         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23974         is always initialized.
23975
23976         * malloc/malloc.c: Removed unused configurations and dead code.
23977         * malloc/arena.c: Likewise.
23978         * malloc/hooks.c: Likewise.
23979         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23980
23981         * include/tls.h: Removed.  USE___THREAD must always be defined.
23982         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23983         * elf/dl-libc.c: Likewise.
23984         * elf/dl-tsd.c: Likewise.
23985         * include/errno.h: Likewise.
23986         * include/netdb.h: Likewise.
23987         * include/resolv.h: Likewise.
23988         * inet/herrno-loc.c: Likewise.
23989         * inet/herrno.c: Likewise.
23990         * malloc/arena.c: Likewise.
23991         * malloc/hooks.c: Likewise.
23992         * malloc/malloc.c: Likewise.
23993         * resolv/res-state.c: Likewise.
23994         * resolv/res_libc.c: Likewise.
23995         * sysdeps/i386/dl-machine.h: Likewise.
23996         * sysdeps/ia64/dl-machine.h: Likewise.
23997         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23998         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23999         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24000         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24001         * sysdeps/sh/dl-machine.h: Likewise.
24002         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24003         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24004         * sysdeps/unix/i386/sysdep.S: Likewise.
24005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24006         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24008         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24009         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24011         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24015         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24016         * sysdeps/x86_64/dl-machine.h: Likewise.
24017         * tls.make.c: Likewise.
24018
24019         * configure.in: Remove --with-__thread option.  Make tests for
24020         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24021         tls_model attribute fail if no support is available.  Remove
24022         USE_IN_LIBIO.
24023         * Makeconfig: Adjust for dropped configure option.  All features are
24024         now mandatory.
24025         * Makerules: Likewise.
24026         * Versions.def: Likewise.
24027         * argp/argp-fmtstream.c: Likewise.
24028         * argp/argp-fmtstream.h: Likewise.
24029         * argp/argp-help.c: Likewise.
24030         * assert/assert.c: Likewise.
24031         * config.h.in: Likewise.
24032         * config.make.in: Likewise.
24033         * configure: Likewise.
24034         * configure.in: Likewise.
24035         * csu/Versions: Likewise.
24036         * csu/init.c: Likewise.
24037         * elf/tst-audit2.c: Likewise.
24038         * elf/tst-tls10.c: Likewise.
24039         * elf/tst-tls10.h: Likewise.
24040         * elf/tst-tls11.c: Likewise.
24041         * elf/tst-tls12.c: Likewise.
24042         * elf/tst-tls14.c: Likewise.
24043         * elf/tst-tlsmod11.c: Likewise.
24044         * elf/tst-tlsmod12.c: Likewise.
24045         * elf/tst-tlsmod13.c: Likewise.
24046         * elf/tst-tlsmod13a.c: Likewise.
24047         * elf/tst-tlsmod14a.c: Likewise.
24048         * elf/tst-tlsmod15b.c: Likewise.
24049         * elf/tst-tlsmod16a.c: Likewise.
24050         * elf/tst-tlsmod16b.c: Likewise.
24051         * elf/tst-tlsmod7.c: Likewise.
24052         * elf/tst-tlsmod8.c: Likewise.
24053         * elf/tst-tlsmod9.c: Likewise.
24054         * gmon/gmon.c: Likewise.
24055         * grp/fgetgrent_r.c: Likewise.
24056         * grp/putgrent.c: Likewise.
24057         * hurd/fopenport.c: Likewise.
24058         * include/libc-symbols.h: Likewise.
24059         * include/tls.h: Likewise.
24060         * intl/gettextP.h: Likewise.
24061         * intl/loadinfo.h: Likewise.
24062         * locale/global-locale.c: Likewise.
24063         * locale/localeinfo.h: Likewise.
24064         * mach/devstream.c: Likewise.
24065         * malloc/arena.c: Likewise.
24066         * malloc/set-freeres.c: Likewise.
24067         * misc/err.c: Likewise.
24068         * misc/getttyent.c: Likewise.
24069         * misc/mntent_r.c: Likewise.
24070         * posix/getopt.c: Likewise.
24071         * posix/wordexp.c: Likewise.
24072         * pwd/fgetpwent_r.c: Likewise.
24073         * resolv/Versions: Likewise.
24074         * resolv/res_hconf.c: Likewise.
24075         * shadow/fgetspent_r.c: Likewise.
24076         * shadow/putspent.c: Likewise.
24077         * stdio-common/printf_fphex.c: Likewise.
24078         * stdio-common/tmpfile.c: Likewise.
24079         * stdlib/abort.c: Likewise.
24080         * stdlib/fmtmsg.c: Likewise.
24081         * sunrpc/auth_unix.c: Likewise.
24082         * sunrpc/clnt_perr.c: Likewise.
24083         * sunrpc/clnt_tcp.c: Likewise.
24084         * sunrpc/clnt_udp.c: Likewise.
24085         * sunrpc/clnt_unix.c: Likewise.
24086         * sunrpc/openchild.c: Likewise.
24087         * sunrpc/svc_simple.c: Likewise.
24088         * sunrpc/svc_tcp.c: Likewise.
24089         * sunrpc/svc_udp.c: Likewise.
24090         * sunrpc/svc_unix.c: Likewise.
24091         * sunrpc/xdr.c: Likewise.
24092         * sunrpc/xdr_array.c: Likewise.
24093         * sunrpc/xdr_rec.c: Likewise.
24094         * sunrpc/xdr_ref.c: Likewise.
24095         * sunrpc/xdr_stdio.c: Likewise.
24096
24097 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24098
24099         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24100
24101 2011-07-03  Andreas Jaeger  <aj@suse.de>
24102
24103         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24104         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24105         regenerate with gen-libm-tests.pl.
24106
24107 2010-05-12  Petr Baudis  <pasky@suse.cz>
24108
24109         [BZ #11589]
24110         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24111         around j0() zero points by switching to j1().
24112         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24113         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24115         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24116
24117 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24118
24119         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24120         instead of 0.
24121         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24122         instead of 0.
24123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24124         Patch in part by Pavel Roskin <proski@gnu.org>.
24125
24126         [BZ #13138]
24127         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24128         realloc.
24129         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
24130         Free memory block if necessary.
24131
24132         [BZ #12847]
24133         * libio/genops.c (INTDEF): For string streams the _lock pointer can
24134         be NULL.  Don't lock in this case.
24135
24136 2011-09-09  Roland McGrath  <roland@hack.frob.com>
24137
24138         * elf/elf.h (ELFOSABI_GNU): New macro.
24139         (ELFOSABI_LINUX): Define to that.
24140
24141 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
24142
24143         * string/strncat.c (strncat): Undef the symbol in case it has been
24144         defined in bits/string.h.
24145
24146 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24147
24148         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24149
24150         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24151         link map.
24152
24153 2011-08-17  Andreas Jaeger  <aj@suse.de>
24154
24155         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24156
24157 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24158             Ian Lance Taylor  <iant@google.com>
24159
24160         * math/libm-test.inc (lround_test): New testcase.
24161         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24162
24163 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
24164
24165         * Makefile: Remove support for automatic cvs check-ins.
24166         * Makerules: Likewise.
24167         * config.make.in: Likewise.
24168         * configure.in: Likewise.
24169         * intl/Makefile: Likewise.
24170         * locale/Makefile: Likewise.
24171         * po/Makefile: Likewise.
24172         * posix/Makefile: Likewise.
24173         * sysdeps/gnu/Makefile: Likewise.
24174         * sysdeps/mach/hurd/Makefile: Likewise.
24175         * sysdeps/sparc/sparc32/Makefile: Likewise.
24176
24177         [BZ #13118]
24178         * posix/Makefile (bug-regex32-ENV): Define.
24179         Patch by John Stanley <jpsinthemix@verizon.net>.
24180
24181         * misc/Makefile (headers): Add bits/select2.h.
24182         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24183         * misc/bits/select2.h: New file.
24184         * include/bits/select2.h: New file.
24185         * debug/Makefile (routines): Add fdelt_chk.
24186         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24187         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24188         FD_ISSET.
24189         * debug/fdelt_chk.c: New file.
24190
24191         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
24192         * wcsmbs/test-wmemcmp.c: Likewise.
24193         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24194         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24195
24196 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24197
24198         * string/Makefile (strop-tests): Add memcmp.
24199         * string/test-wmemcmp.c: New file.
24200         * string/test-memcmp.c: Add wmemcmp support.
24201
24202 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24203
24204         [BZ #13153]
24205         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24206         2011-07-19 change.
24207
24208         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24209         garbage value in a __mach_port_mod_refs call in the cases of the
24210         task-self and thread-self ports.
24211
24212 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24213
24214         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24215
24216 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24217
24218         * elf/dl-load.c (lose): Check for non-null L.
24219
24220 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24221
24222         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24223
24224         * elf/dl-libc.c (dlerror_run): Pass back error code from
24225         dl_catch_error.
24226
24227         [BZ #13123]
24228         * elf/dl-load.c (lose): Free l_origin if it is valid.
24229
24230         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24231         names.
24232         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24233         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24235         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24236         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24237         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24238
24239 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24240
24241         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24242         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24243         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24244         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24245         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24246         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24247         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24248         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24249         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24250         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24251
24252 2011-08-15  Alan Modra  <amodra@gmail.com>
24253
24254         [BZ #13092]
24255         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24256         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24257         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24258         ppc_mcount to static-only-routines.
24259         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24260         __mcount_internal.
24261         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24262         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24263
24264 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24265
24266         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24267         for finite and infinity parameters.
24268
24269 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24270
24271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24272         and add nop instructions for throughput optimization.
24273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24274
24275 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24276
24277         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24278         aligned copy for power7 with vector-scalar instructions.
24279         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24280
24281 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24282
24283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24284         AVX check.
24285
24286 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24287
24288         [BZ #13144]
24289         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24290         last change.
24291
24292 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24293
24294         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24295         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24296         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24297         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24298         clock_gettime.
24299
24300 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24301
24302         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24303         Forgot to demangle the pointer.
24304
24305         * sysdeps/i386/sysdep.h: Define atom_text_section.
24306         * sysdeps/x86_64/sysdep.h: Likewise.
24307         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24308         section with atom_text_section.
24309         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24310         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24311         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24312         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24313         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24314
24315         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24316         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24317         already be defined.  Change to take two parameters and don't assign
24318         result to variable.  Adjust all users.
24319         Define INTERNAL_GETTIME if not already defined.
24320         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24321         call.
24322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24323         HAVE_CLOCK_GETTIME_VSYSCALL.
24324         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24325
24326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24327         gettimeofday vsyscall, just use time.
24328
24329 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24330
24331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24332         <errno.h>.
24333
24334 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24335
24336         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24337         syscall on x86-64.
24338         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24339         syscall.
24340         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24341         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24342         syscall if possible.
24343
24344 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24345
24346         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24347         e_ident.  Don't pass to find_mapsXX.
24348         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24349
24350 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24351
24352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24353         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24354         * sysdeps/x86_64/multiarch/strchr.S: Update.
24355         Check bit_slow_BSF bit.
24356         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24357         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24358         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24359
24360 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24361
24362         [BZ #13134]
24363         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24364         before glibc 2.15.
24365         (tryshell): Define.
24366         (__spawni): Change last parameter to be flag.  Test
24367         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24368         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24369         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24370         * posix/spawni.c: Likewise.
24371         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24372         * posix/spawnp.c: Likewise.  Change normal version to use
24373         SPAWN_XFLAGS_USE_PATH.
24374         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24375         SPAWN_XFLAGS_TRY_SHELL.
24376
24377         [BZ #13150]
24378         * posix/glob.h: Remove gcc 1.x support.
24379
24380         [BZ #13068]
24381         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24382
24383 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24384
24385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24386         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24387         strrchr-sse2-bsf
24388         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24389         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24390         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24391         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24392         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24393         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24394
24395 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24396
24397         * sysdeps/x86_64/wcscmp.S: New file.
24398
24399         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24400         wcscmp-c wcscmp-sse2
24401         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24402         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24403         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24404         * wcsmbs/wcscmp.c: Allow renaming.
24405
24406 2011-09-05  David S. Miller  <davem@davemloft.net>
24407
24408         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24409         stack slot, rather than the struct return pointer slot.
24410         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24411         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24413         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24414
24415 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24416
24417         * po/ja.po: Update from translation team.
24418
24419         [BZ #13144]
24420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24421         kernel in 64-bit binaries.
24422
24423 2011-09-01  David S. Miller  <davem@davemloft.net>
24424
24425         * elf/elf.h (HWCAP_SPARC_*): Move to..
24426         * sysdeps/sparc/sysdep.h: this new file and add new values.
24427         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24428         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24429         _DL_HWCAP_COUNT to 24.
24430         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24431         entries.
24432         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24433         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24434         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24436         instead of magic constants.
24437         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24438
24439 2011-08-31  David S. Miller  <davem@davemloft.net>
24440
24441         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24443         Reimplement to do errno handling inline.
24444         (SYSCALL_ERROR_HANDLER): New macro.
24445         (__SYSCALL_STRING): Do not do errno handling in asm.
24446         (__CLONE_SYSCALL_STRING): Delete.
24447         (__INTERNAL_SYSCALL_STRING): Delete.
24448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24449         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24450         (PSEUDO): Reimplement to do errno handling inline.
24451         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24452         (SYSCALL_ERROR_HANDLER): New macro.
24453         (__SYSCALL_STRING): Do not do errno handling in asm.
24454         (__CLONE_SYSCALL_STRING): Delete.
24455         (__INTERNAL_SYSCALL_STRING): Delete.
24456         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24457         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24458         i386.
24459         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24460         (inline_syscall*): Add 'err' argument.
24461         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24462         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24463         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24464         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24465
24466         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24467         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24468
24469 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24470
24471         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24472
24473 2011-08-29  Jiri Olsa <jolsa@redhat.com>
24474
24475         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24476         directive.
24477
24478 2011-08-24  David S. Miller  <davem@davemloft.net>
24479
24480         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24481
24482 2011-08-24  Andreas Schwab  <schwab@redhat.com>
24483
24484         * elf/Makefile: Add rules to build and run unload8 test.
24485         * elf/unload8.c: New file.
24486         * elf/unload8mod1.c: New file.
24487         * elf/unload8mod1x.c: New file.
24488         * elf/unload8mod2.c: New file.
24489         * elf/unload8mod3.c: New file.
24490
24491         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24492         it wasn't used.
24493
24494 2011-08-23  David S. Miller  <davem@davemloft.net>
24495
24496         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24497         subtract stack bias.
24498         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24499         %sp not %fp in calculations.
24500         (_JMPBUF_UNWINDS_ADJ): Likewise.
24501
24502         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24503         (aio_suspend): Call it to force an exception region around the
24504         AIO_MISC_WAIT() invocation.
24505
24506 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24507
24508         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24509         backslash.
24510
24511 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24512
24513         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24514         protection macro.
24515         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24516         and <dl-machine.h>.
24517         (Elf64_FuncDesc): Remove.
24518
24519 2011-08-22  David S. Miller  <davem@davemloft.net>
24520
24521         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24522         sigaltstack check, add missing cfi directives.
24523         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24524         missing cfi directives, and sigaltstack handling.
24525
24526 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24527
24528         [BZ #11724]
24529         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24530         object is seen twice.
24531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24532
24533         * elf/Makefile (distribute): Add tst-initorder2.c.
24534         (tests): Add tst-initorder2.
24535         (modules-names): Add tst-initorder2a tst-initorder2b
24536         tst-initorder2c tst-initorder2d.  Add rules to build them.
24537         ($(objpfx)tst-initorder2.out): New rule.
24538         * elf/tst-initorder2.c: New file.
24539         * elf/tst-initorder2.exp: New file.
24540
24541 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24542
24543         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24544
24545         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24546         dependencies back to end of function.
24547
24548         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24549         $(elfobjdir)/ld.so.
24550
24551 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24552
24553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24554         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24556         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24557         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24558         of __vdso_gettimeofday.
24559         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24560         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24561         attribute_hidden.
24562         (_libc_vdso_platform_setup): Remove initialization of
24563         __vdso_gettimeofday and __vdso_time.
24564
24565 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24566
24567         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24568         and fgetc_unlocked.
24569         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24570         getc_unlocked.
24571
24572         * elf/dl-open.c (add_to_global): Report additions to the global scope
24573         for LD_DEBUG=scopes.
24574         (dl_open_worker): Also print scope of newly loaded dependencies.
24575         (_dl_show_scope): Indicate if there is no scope.
24576
24577         [BZ #13114]
24578         * stdio-common/Makefile (tests): Add bug24.
24579         * stdio-common/bug24.c: New file.
24580
24581 2011-08-19  Andreas Jaeger  <aj@suse.de>
24582
24583         [BZ #13114]
24584         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24585         non-existant file when using close-on-exec mode.
24586
24587 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24588
24589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24590         the very first instruction.
24591
24592         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24593         the CFI state in the end.
24594         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24595         inclusion of dl-trampoline.h.
24596         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24597
24598 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24599
24600         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24601         expectations for long double.
24602
24603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24604         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24605
24606 2011-08-14  David S. Miller  <davem@davemloft.net>
24607
24608         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24609         artificual limit depends upon the system page size.
24610
24611 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24612
24613         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24614         * resolv/Makefile: Define CFLAGS-libresolv.
24615
24616 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24617
24618         * nss/makedb.c (compute_tables): Make variables used in nested
24619         function static.
24620
24621 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24622
24623         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24624         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24625         if buffer was too small.
24626
24627         * elf/pldd.c (main): Attach to all threads in the process.
24628         Rewrite /proc handling to use *at functions.
24629
24630 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24631
24632         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24633         specifies first scope to show.
24634         (dl_open_worker): Update callers.  Move printing scope of new
24635         object to before the relocation.
24636         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24637         * sysdeps/generic/ldsodefs.h: Update declaration.
24638
24639         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24640         string for the scope number.
24641
24642 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24643
24644         * nscd/servicescache.c (cache_addserv): Make sure written is always
24645         initialized.
24646
24647 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24648
24649         * sysdeps/i386/i486/bits/atomic.h
24650         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24651         statement expression, so as to suppress "set but not used" warning.
24652         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24653
24654         * string/strncat.c (STRNCAT): Use prototype definition.
24655
24656         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24657         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24658         -Iprograms here.
24659         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24660         (localedef-modules): Add localedef.
24661         (locale-modules): Add locale.
24662
24663         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24664         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24665         to avoid a warning.
24666
24667 2011-08-14  David S. Miller  <davem@davemloft.net>
24668
24669         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24670         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24671
24672 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24673
24674         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24675         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24676         * elf/rtld.c (dl_main): Set l_name of vDSO.
24677         Call _dl_show_scope when DL_DEBUG_SCOPES.
24678         (process_dl_debug): Recognize scopes flag and also set it for all.
24679         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24680         Declare _dl_show_scope.
24681
24682         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24683         (do_dlopen): Pass caller_dlopen to dl_open.
24684         (__libc_dlopen_mode): Initialize caller_dlopen.
24685
24686         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24687         of libc.  Make tolower call locale-independent.  Optimize a bit by
24688         using isdigit instead of isalnum.
24689         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24690
24691 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24692
24693         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24694         was a dependency or dynamically loaded.
24695
24696 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24697
24698         * intl/l10nflist.c: Allow architecture-specific pop function.
24699         * sysdeps/x86_64/l10nflist.c: New file.
24700
24701         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24702         classification.
24703
24704 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24705
24706         * include/dirent.h: Add libc_hidden_proto for scandirat and
24707         scandirat64.  Don't declare __scandirat64.
24708         * dirent/scandirat.c: Add libc_hidden_def.
24709         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24710         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24711
24712 2011-08-10  David S. Miller  <davem@davemloft.net>
24713
24714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24715         enum.
24716         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24717         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24718         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24719
24720 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24721
24722         * Versions.def [libc]: Add GLIBC_2.15.
24723         * dirent/Makefile (routines): Add scandirat and scandirat64.
24724         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24725         GLIBC_2.15.
24726         * dirent/dirent.h: Declare scandirat and scandirat64.
24727         * dirent/scandirat.c: New file.
24728         * dirent/scandirat64.c: New file.
24729         * sysdeps/wordsize-64/scandirat.c: New file.
24730         * sysdeps/wordsize-64/scandirat64.c: New file.
24731         * dirent/opendir.c: Define opendirat.
24732         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24733         using scandirat.
24734         * dirent/scandir64.c: Adjust for scandir.c change.
24735         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24736         __scandirat64, and __scandir_cancel_handler.
24737         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24738         additional parameter and use openat instead of open (outside of ld.so).
24739         Add new __opendir as wrapper around __opendirat.
24740         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24741         here without requiring old scandirat implementation.
24742
24743 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24744
24745         * dirent/scandir.c (cancel_handler): Renamed to
24746         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24747         defined.  Adjust users.
24748         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24749         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24750
24751 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24752
24753         * string/test-string.h (IMPL): Use __STRING to expand name and then
24754         stringify it.
24755
24756         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24757         of cleanups.
24758
24759 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24760
24761         * string/Makefile: Update.
24762         (strop-tests): Append strncat.
24763         * string/test-wcscmp.c: New file.
24764         New comprehensive test for wcscmp.
24765         * string/test-strcmp.c: Update.
24766         (WIDE): New define.
24767
24768 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24769
24770         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24771         line.
24772
24773 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24774
24775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24776         encoding to ACE if AI_IDN.
24777
24778 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24779
24780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24781         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24782
24783 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24784
24785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24786         Fix overflow bug in strncat.
24787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24788
24789         * string/test-strncat.c: Update.
24790         Add new tests for checking overflow bugs.
24791
24792 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24793
24794         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24795         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24796         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24797         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24798         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24799         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24800         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24801         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24802         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24803
24804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24805         (USE_AS_STRCAT): Define.
24806         Add strcat and strncat support.
24807         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24808
24809 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24810
24811         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24812         __n bigger than INT_MAX+1.
24813         (__strncmp_g): Likewise.
24814
24815 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24816
24817         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24818         * libio/stido.h: Likewise.
24819
24820         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24821         (AF_NFC): Define.
24822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24823         (AF_NFC): Define.
24824
24825         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24827         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24828         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24830
24831         [BZ #13021]
24832         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24833         installed.
24834
24835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24836         typo.
24837         (_dl_x86_64_save_sse): Likewise.
24838
24839 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24840
24841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24842         OSXSAVE.
24843         (_dl_x86_64_save_sse): Likewise.
24844
24845         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24846
24847         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24848
24849 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24850
24851         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24852         change.
24853         (_dl_x86_64_save_sse): Use correct AVX check.
24854
24855 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24856
24857         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24858         bug in strncpy/strncat.
24859         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24860
24861 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24862
24863         * string/tester.c (test_strcat): Add tests for different alignments
24864         of source and destination.
24865         (test_strncat): Likewise.
24866
24867 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24868
24869         [BZ #12852]
24870         * posix/glob.c (glob): Check passed in values before using them in
24871         expressions to avoid some overflows.
24872         (glob_in_dir): Likewise.
24873
24874         [BZ #13007]
24875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24876         check for AVX enablement so that we don't crash with old kernels and
24877         new hardware.
24878         * elf/tst-audit4.c: Add same checks here.
24879         * elf/tst-audit6.c: Likewise.
24880
24881         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24882
24883 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24884
24885         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24886
24887 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24888
24889         * po/cs.po: Update from translation team.
24890         * po/bg.po: Likewise.
24891
24892 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24893
24894         * misc/sys/cdefs.h: Add support for const attribute.
24895         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24896         to gnu_dev_{major,minor,makedev} functions.
24897
24898 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24899
24900         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24901
24902 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24903
24904         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24905         strlen results.
24906
24907 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24908
24909         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24910         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24911         register in order to avoid conflicts with the soft frame pointer
24912         being held in r11 when necessary.
24913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24914         (INTERNAL_VSYSCALL_NCS): Likewise.
24915
24916 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24917
24918         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24919         * elf/dl-fini.c (_dl_fini): Adjust caller.
24920         * elf/dl-close.c (_dl_close_worker): Likewise.
24921         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24922
24923 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24924
24925         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24926         "aux_cache->nlibs < 0".
24927
24928         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24929         in the reload-count case.
24930
24931 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24932
24933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24934         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24935         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24936         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24937         * sysdeps/x86_64/multiarch/strcat.S: New file.
24938         * sysdeps/x86_64/multiarch/strncat.S: New file.
24939         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24940         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24941         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24942         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24943         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24944         (USE_AS_STRCAT): Define.
24945         Add strcat and strncat support.
24946         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24948         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24949         * string/strncat.c: Update.
24950         (USE_AS_STRNCAT): Define.
24951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24952         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24953         and i7.
24954         * sysdeps/x86_64/multiarch/init-arch.h
24955         (bit_Prefer_PMINUB_for_stringop): New.
24956         (index_Prefer_PMINUB_for_stringop): Likewise.
24957         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24958         bit_Prefer_PMINUB_for_stringop.
24959
24960 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24961
24962         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24963         buffer64.
24964         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24965         of casting of buffer.
24966         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24967         buffer32 and buffer64.
24968         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24969         writes instead of casting of buffer.
24970         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24971         buffer32.
24972         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24973         casting of buffer.
24974
24975 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24976
24977         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24978
24979 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24980
24981         * nscd/nscd.c (termination_handler): Don't do anything for a database
24982         if it has not yet been initialized.
24983
24984 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24985
24986         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24987
24988 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24989
24990         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24991
24992 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24993
24994         * po/nl.po: Update from translation team.
24995         * po/sv.po: Likewise.
24996
24997 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24998
24999         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25000         now disallowed by GCC.
25001
25002         * configure.in (use-default-link): Default to yes if a test -shared
25003         link meets our qualifications.
25004         * configure: Regenerated.
25005
25006         * config.make.in (output-format): New variable.
25007         * configure.in: Check for ld --print-output-format support.
25008         * configure: Regenerated.
25009         * Makerules ($(common-objpfx)format.lds)
25010         [$(output-format) != unknown]: Just use $(output-format),
25011         instead of the linker-script munging.
25012
25013 2011-07-14  Roland McGrath  <roland@hack.frob.com>
25014
25015         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25016         of $(common-objpfx)shlib.lds.
25017         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25018
25019         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25020         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25021
25022         * configure.in (-z relro check): Adjust test code to add a large
25023         writable data section after it.
25024         * configure: Regenerated.
25025
25026 2011-07-11  Roland McGrath  <roland@hack.frob.com>
25027
25028         * configure.in (-z relro check): Fix test code to make the variable
25029         truly const.
25030         * configure: Regenerated.
25031
25032 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
25033
25034         * nscd/nscd.h (struct traced_file): Define.
25035         (struct database_dyn): Remove inotify_descr, reset_res, and filename
25036         elements.  Add traced_files.
25037         (inotify_fd): Declare.
25038         (register_traced_file): Declare.
25039         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25040         (inotify_fd): Export.
25041         (resolv_conf_descr): Remove.
25042         (nscd_init): Move inotify descriptor creation to main.
25043         Don't register files for notification here.
25044         (register_traced_file): New function.
25045         (invalidate_cache): Don't use reset_res to determine whether to call
25046         res_init, go through the list of registered files.
25047         (main_loop_poll): The inotify descriptors are now stored in the
25048         structures for the traced files.
25049         (main_loop_epoll): Likewise
25050         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
25051         to __nss_disable_nscd.
25052         * nscd/cache.c (prune_cache): There is no single inotify descriptor
25053         for a database anymore.  Check the records for all the registered
25054         files instead.
25055         * nss/Makefile (libnss_files-routines): Add files-init.
25056         (libnss_db-routines): Add db-init.
25057         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25058         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25059         * nss/nss_db/db-init.c: New file.
25060         * nss/nss_files/files-init.c: New file.
25061         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
25062         __nss_lookup_function.
25063         (__nss_lookup_function): Call nss_load_library.
25064         (nss_load_all_libraries): New function.
25065         (__nss_disable_nscd): Take parameter with callback function for files
25066         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
25067         used for the cached services.
25068         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25069         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25070         options for features to all the files in nscd.
25071
25072         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25073
25074 2011-07-10  Roland McGrath  <roland@hack.frob.com>
25075
25076         * csu/elf-init.c (__libc_csu_init): Comment typo.
25077
25078 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
25079
25080         * po/pl.po: Update from translation team.
25081         * po/ja.po: Likewise.
25082         * po/ru.po: Likewise.
25083         * po/ko.po: Likewise.
25084         * po/fr.po: Likewise.
25085
25086 2011-07-09  Roland McGrath  <roland@hack.frob.com>
25087
25088         * configure.in (.ctors/.dtors header and trailer check):
25089         Use an empirical test on a built program.
25090         * configure: Regenerated.
25091
25092         * configure.in (-z relro check): Use an empirical test on a built DSO.
25093         Detect, but do not require, on ia64.
25094         * configure: Regenerated.
25095
25096         * configure.in (READELF): Find it with AC_CHECK_TOOL.
25097         Update tests that use readelf to use $READELF instead.
25098         * configure: Regenerated.
25099
25100 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
25101
25102         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25103         if the result is not used.
25104
25105 2011-07-05  Andreas Jaeger  <aj@suse.de>
25106
25107         [BZ#9696]
25108         * stdlib/tst-strtod.c: Add testcase.
25109
25110 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
25111
25112         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25113         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25114         The latter has a higher limit.  Take additional parameter to pass to
25115         the new function.
25116         (__pathconf): Pass file to __statfs_link_max.
25117         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25118         __statfs_link_max.
25119         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25120         __statfs_link_max.
25121
25122         [BZ #12868]
25123         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25125         Handle Lustre.
25126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25127         (__statfs_filesize_max): Likewise.
25128         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25129
25130 2011-07-05  Andreas Jaeger  <aj@suse.de>
25131
25132         * resolv/res_comp.c (dn_skipname): Remove unused variable.
25133
25134 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
25135
25136         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25137         `status' variable.
25138         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25139         Likewise.
25140
25141 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
25142
25143         * Makefile (strop-tests): Add strncat.
25144         * string/test-strncat.c: New file.
25145
25146 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
25147
25148         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25149
25150 2011-06-21  Andreas Jaeger  <aj@suse.de>
25151
25152         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25153         Copy rule from iconvdata/Makefile.
25154
25155 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25156
25157         [BZ #12922]
25158         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25159         but no long options are defined, just return 'W'.
25160
25161 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
25162
25163         [BZ #9696]
25164         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25165
25166 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25167
25168         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25169         netgroups to read.
25170         (innetgr): Likewise.
25171
25172 2011-07-05  Roland McGrath  <roland@hack.frob.com>
25173
25174         * config.make.in (install_root): Default to $(DESTDIR).
25175
25176 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
25177
25178         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25179
25180 2011-07-02  Roland McGrath  <roland@hack.frob.com>
25181
25182         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25183
25184         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25185         containing directory rather than embedding absolute directory names.
25186
25187         * scripts/check-local-headers.sh: Rewritten using awk.
25188         Match by word, not by line.  Print error messages for matches.
25189         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25190
25191         * Makerules [shlib-lds-flags empty]:
25192         ($(common-objpfx)libc_pic.opts): New target.
25193         ($(common-objpfx)libc_pic.os.clean): New target.
25194         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25195
25196         * config.make.in (OBJCOPY): New variable.
25197         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25198         * configure: Regenerated.
25199
25200         * config.make.in (use-default-link): New variable.
25201         * configure.in (use_default_link): Grok --with-default-link to set it.
25202         * configure: Regenerated.
25203         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25204         (shlib-lds, shlib-lds-flags): Define to empty.
25205
25206         * Makerules (shlib-lds): New variable.
25207         (shlib-lds-flags): New variable.
25208         (build-shlib, build-moduile, build-module-asneeded): Use it.
25209         ($(common-objpfx)libc.so): Use $(shlib-lds).
25210         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25211         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25212
25213         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25214         DT_FLAGS/DT_FLAGS_1 with zero flags.
25215
25216         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25217         linker script munging.
25218
25219 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25220
25221         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25222         as 128-bit value.
25223         * crypt/sha512.c (sha512_process_block): Perform total addition using
25224         128-bit if possible.
25225         (__sha512_finish_ctx): Likewise.
25226         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25227         as 64-bit value.
25228         * crypt/sha256.c (SWAP64): Define.
25229         (sha256_process_block): Perform total addition using 64-bit if
25230         possible.
25231         (__sha256_finish_ctx): Likewise.
25232
25233 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25234
25235         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25236         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25237         * nscd/hstcache.c (cache_addhst): Likewise.
25238         * nscd/grpcache.c (cache_addgr): Likewise.
25239         * nscd/aicache.c (addhstaiX): Likewise
25240         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25241
25242 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25243
25244         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25246         * nscd/hstcache.c (cache_addhst): Likewise.
25247         * nscd/grpcache.c (cache_addgr): Likewise.
25248         * nscd/aicache.c (addhstaiX): Likewise
25249
25250 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25251
25252         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25253         domain only when needed.
25254
25255 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25256
25257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25258         is always restored.
25259
25260 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25261
25262         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25263         are re-adding the entry.
25264         * nscd/servicescache.c (cache_addserv): Likewise.
25265
25266 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25267
25268         * sysdeps/generic/dl-irel.h: fix protection against multiple
25269         inclusions.
25270         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25271
25272 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25273
25274         [BZ #12935]
25275         * malloc/memusage.sh: Fix quoting in message.
25276         * debug/xtrace.sh: Likewise.
25277
25278         * configure.in: Remove support for --experimental-malloc option, make
25279         it the default.
25280         * config.make.in: Likewise.
25281         * malloc/Makefile: Likewise.
25282
25283 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25284
25285         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25286         two-byte characters.
25287
25288 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25289
25290         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25291         AC_CACHE_CHECK invocation.
25292         * configure: Regenerated.
25293
25294         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25295
25296 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25297
25298         [BZ #12350]
25299         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25300         bit from old_res_options.
25301
25302         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25303
25304         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25305         value type for setfct.
25306
25307 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25308
25309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25310         __gettimeofday instead of gettimeofday.
25311
25312 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25313
25314         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25315
25316 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25317
25318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25319
25320         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25321         info.
25322
25323 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25324
25325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25326         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25327         strcpy-sse2-unaligned strncpy-sse2-unaligned
25328         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25329         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25330         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25331         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25332         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25333         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25334         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25335         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25336         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25337         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25338         (STRCPY): Support SSE2 and SSSE3 versions.
25339
25340 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25341
25342         [BZ #12874]
25343         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25344         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25345         kernels which artificially limit size of requests.
25346
25347 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25348
25349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25350         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25351         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25352         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25353         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25354         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25355         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25356         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25358         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25359         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25360         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25361         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25362         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25363         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25365         Enable unaligned load optimization for Intel Core i3, i5 and i7
25366         processors.
25367         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25368         Define.
25369         (index_Fast_Unaligned_Load): Define.
25370         (HAS_FAST_UNALIGNED_LOAD): Define.
25371
25372 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25373
25374         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25375
25376 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25377
25378         [BZ #12907]
25379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25380         until it is clear that the information is realy needed.
25381         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25382
25383 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25384
25385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25386
25387 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25388
25389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25390         /sys/devices/system/cpu/online if it is usable.
25391
25392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25393         reading the information from the /proc filesystem to once a second.
25394
25395 2011-06-21  Andreas Jaeger  <aj@suse.de>
25396
25397         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25398         NULL after inclusion of kernel headers.
25399
25400 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25401
25402         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25403         calls to internal_setent.
25404
25405         [BZ #12885]
25406         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25407         addresses using gethostbyname4_r ignore IPv4 addresses.
25408
25409         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25410         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25411
25412         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25413
25414 2011-06-20  David S. Miller  <davem@davemloft.net>
25415
25416         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25417         inclusions.
25418         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25419
25420         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25421         (elf_irel): Use it.
25422         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25423         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25424         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25425         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25426         * sysdeps/x86_64/dl-irel.h: Likewise.
25427
25428         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25429         * elf/dl-sym.c: Likewise.
25430
25431 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25432
25433         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25434         need to dereference resplen2.
25435
25436 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25437
25438         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25439
25440 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25441
25442         * Makeconfig: Define vardbdir and inst_vardbdir.
25443         * nss/Makefile: Add rules to install db-Makefile.
25444
25445         * nss/nss_db/db-XXX.c: Cleanup.
25446
25447         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25448         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25449         GLIBC_PRIVATE.
25450         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25451         * nss/makedb.c: Implement -g option to specify that value strings
25452         are generated and should not be added to table iterated over for
25453         get*ent calls.
25454         * nss/nss_db/db-initgroups.c: New file.
25455
25456         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25457         interface.
25458
25459         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25460         (internal_getgrouplist): Adjust to name change.
25461         Update use_initgroups_entry if this is not the first call.
25462         * nss/databases.def: Add initgroups entry.
25463
25464         * nss/makedb.c (compute_tables): Check result of multiple hash table
25465         sizes to minimize maximum chain length.
25466
25467 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25468
25469         * Versions.def: Add entry for libnss_db.
25470         * shlib-versions: Likewise.
25471         * nss/Makefile: Add rules to build libnss_db.
25472         * nss/Versions: Add libnss_db information.  Organize libnss_files
25473         entries better.
25474         * nss/db-Makefile: Add gshadow support.  Change rules for the new
25475         makedb progra.  Some minor improvements to generate smaller files.
25476         * nss/nss_db/nss_db.h: Move NSS database header data structures to
25477         here from...
25478         * nss/makedb.c: ...here.
25479         Improve database format to be smaller and require less memory at
25480         runtime.
25481         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
25482         db anymore.
25483         * nss/nss_db/db-netgrp.c: Likewise.
25484         * nss/nss_db/db-open.c: Likewise.
25485         * nss/nss_files/flies-XXX.x: Adjust comments.
25486         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25487         * nss/nss_files/files-grp.c: Likewise.
25488         * nss/nss_files/files-hosts.c: Likewise.
25489         * nss/nss_files/files-network.c: Likewise.
25490         * nss/nss_files/files-proto.c: Likewise.
25491         * nss/nss_files/files-pwd.c: Likewise.
25492         * nss/nss_files/files-rpc.c: Likewise.
25493         * nss/nss_files/files-service.c: Likewise.
25494         * nss/nss_files/files-sgrp.c: Likewise.
25495         * nss/nss_files/files-spwd.c: Likewise.
25496         * nss/nss_db/db-alias.c: Removed.
25497         * nss/nss_db/dummy-db.h: Removed.
25498
25499 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25500
25501         * nss/makedb.c: Rewritten to not use database library.
25502         * nss/Makefile: Update to build new makedb program.
25503
25504 2011-06-14  Andreas Jaeger  <aj@suse.de>
25505
25506         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25507         memset declaration.
25508
25509 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25510
25511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25512         tmpbuf.
25513
25514 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25515
25516         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25517         * elf/Makefile ($(objpfx)ld.so): Likewise.
25518
25519         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25520         Don't list ld.so twice in dependencies.
25521
25522         * posix/bug-regex31.c: Include <stdlib.h>.
25523
25524         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25525
25526         * nis/nss_compat/compat-spwd.c
25527         (getspent_next_nss_netgr): Remove unused variable.
25528         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25529
25530         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25531         nonmembers" output to use the right array.
25532
25533         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25534
25535         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25536
25537         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25538         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25539         * catgets/gencat.c (read_input_file): Likewise.
25540         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25541
25542         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25543         variable definition inside #if's controlling its use.
25544
25545         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25546
25547         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25548
25549         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25550
25551         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25552         unreachable code.
25553
25554         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25555
25556         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25557         * configure: Regenerated.
25558
25559         * Makerules: Revert last change.
25560         * elf/Makefile: Likewise.
25561
25562 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25563
25564         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25565         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25566         (reloc-link): Likewise.
25567
25568 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25569
25570         * elf/Makefile: Add rules to build pldd.
25571         * elf/pldd.c: New file.
25572         * elf/pldd-xx.c: New file.
25573
25574 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25575
25576         * version.h: Update for 2.15 development version.
25577
25578 2011-06-07  David S. Miller  <davem@davemloft.net>
25579
25580         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25581         ifuncs.
25582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25583         elf_machine_lazy_rel): Likewise.
25584         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25586         elf_machine_lazy_rel): Likewise.
25587         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25588         dl_hwcap via passed in argument.
25589         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25590         Likewise.
25591
25592 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25593
25594         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25595
25596 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25597
25598         [BZ #12849]
25599         * manual/fdl-1.1.texi: New file, verbatim from:
25600         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25601         * manual/lgpl-2.1.texi: New file, verbatim from:
25602         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25603         * manual/Makefile (licenses): New variable, list those new file names.
25604         (texis): Use it.
25605         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25606
25607         * manual/fdl.texi: File removed.
25608         * manual/lesser.texi: File removed.
25609         * manual/libc.texinfo (Copying, Documentation License):
25610         Use new @include file names, put @appendix directive before @include.
25611
25612 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25613
25614         [BZ #12841]
25615         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25616         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25617         (mq_open): Add __NTH.
25618
25619 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25620
25621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25622         Assume Intel Core i3/i5/i7 processor if AVX is available.
25623
25624 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25625
25626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25627         typo.
25628
25629 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25630
25631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25632         memory.  Use alloca_account.  Fix memory leak when retrying.
25633
25634 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25635
25636         * version.h (RELEASE): Bump for 2.14 release.
25637         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25638
25639         * config.make.in (RANLIB): Remove entry.
25640
25641 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25642
25643         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25644         (libc.pot): Work around missing support for .ksh extension in xgettext.
25645
25646         [BZ #12684]
25647         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25648         if both request failed.
25649         (send_dg): In case of server errors clear resplen or *resplen2.
25650
25651         [BZ #12454]
25652         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25653         when there are multiple maps.
25654         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25655         (_dl_fini): Remove test here.
25656
25657         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25658
25659 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25660
25661         [BZ #12350]
25662         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25663         bit from old_res_options.
25664         (gaih_inet): Likewise.
25665
25666         [BZ #11099]
25667         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25668         as signed.
25669
25670         * resolv/res_init.c (res_setoptions): Make the code more compact.
25671
25672         [BZ #11558]
25673         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25674         set RES_USEVC.
25675
25676         [BZ #11634]
25677         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25678
25679         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25680
25681         [BZ #11781]
25682         * malloc/malloc.h: Declare malloc hook variables as volatile.
25683
25684         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25685         in last patch.
25686
25687         [BZ #11799]
25688         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25689         raise in the comment.
25690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25692         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25693
25694 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25695
25696         [BZ #12811]
25697         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25698         grow the buffers more if it already has to be sufficient.
25699         (build_wcs_upper_buffer): Likewise.
25700         * posix/regexec.c (check_matching): Likewise.
25701         (clean_state_log_if_needed): Likewise.
25702         (extend_buffers): Don't enlarge buffers beyond size of the input
25703         buffer.
25704         Patches mostly by Emil Wojak <emil@wojak.eu>.
25705         * posix/bug-regex32.c: New file.
25706         * posix/Makefile (tests): Add bug-regex32.
25707
25708         * locale/findlocale.c (_nl_find_locale): Return right away if
25709         _nl_explode_name failed.
25710         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25711
25712         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25713
25714         * debug/xtrace.sh: Unify messages.
25715         * malloc/memusage.sh: Likewise.
25716
25717         [BZ #12813]
25718         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25719         time symbol from vDSO.  Substitute with vsyscall if not available.
25720         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25721         __vdso_time.
25722
25723         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25724         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25725         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25726         Add sendmmsg and internal_sendmmsg.
25727         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25728         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25729         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25730
25731         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25732         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25733         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25734
25735 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25736
25737         [BZ #12813]
25738         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25739         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25740         available.
25741         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25742         __vdso_getcpu.
25743
25744         [BZ #12814]
25745         * iconvdata/Makefile (tests): Add bug-iconv9.
25746         * iconvdata/bug-iconv9.c: New file.
25747
25748 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25749
25750         [BZ #12814]
25751         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25752
25753 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25754
25755         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25756         (struct user_regs_struct): Change intcs field back to cs.
25757
25758 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25759
25760         * po/ja.po: Update from translation team.
25761
25762 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25763
25764         [BZ #12795]
25765         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25766         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25767
25768 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25769
25770         * stdlib/longlong.h: Update from GCC.
25771
25772 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25773
25774         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25775         parameter name.
25776         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25777         Add parameter name.
25778         (__sysconf): Pass it down.
25779
25780 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25781
25782         [BZ #12671]
25783         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25784         some situations.
25785         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25786         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25787         add in in __libc_use_alloca calls.  Adjust callers.
25788         (glob): Use malloc in some situations.
25789
25790         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25791         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25792         pltexit.
25793
25794 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25795
25796         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25797         and CLOCK_BOOTTIME_ALARM.
25798
25799         [BZ #12782]
25800         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25801         is returned.
25802
25803         * string/_strerror.c (__strerror_r): Print negative errors as signed
25804         numbers.
25805
25806         [BZ #12777]
25807         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25808         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25809         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25810
25811         * configure.in: Fix typo in redirection and correct removal of test
25812         files in two cases.
25813
25814         [BZ #12788]
25815         * locale/setlocale.c (new_composite_name): Fix test to check for
25816         identical name of all categories.
25817
25818         [BZ #12792]
25819         * libio/filedoalloc.c (local_isatty): New function.
25820         (_IO_file_doallocate): Use local_isatty.
25821         * stdio-common/perror.c (perror): In case a new stream is used
25822         forward the stream error.
25823         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25824         error flag.
25825
25826 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25827
25828         [BZ #11869]
25829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25830         alloca.
25831         * include/alloca.h (extend_alloca_account): Define.
25832
25833         [BZ #11857]
25834         * posix/regex.h: Fix comments with documentation of user-accessible
25835         fields after compilation and describe correct free'ing of pattern
25836         after re_compile_pattern.
25837         Patch by Reuben Thomas <rrt@sc3d.org>.
25838
25839 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25840
25841         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25842         and -mno-altivec to prevent the compiler from using Altivec and/or
25843         VSX instructions when the corresponding registers are not available.
25844
25845 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25846
25847         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25848
25849 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25850
25851         * libio/freopen.c (freopen): Use __dup2, not dup2.
25852         * libio/freopen64.c (freopen64): Likewise.
25853
25854 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25855
25856         [BZ #12775]
25857         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25858         * math/Makefile (tests): Add test-powl.
25859         (CFLAGS-test-powl.c): Define.
25860         * math/test-powl.c: New file.
25861
25862 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25863
25864         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25865
25866 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25867
25868         [BZ #11837]
25869         * iconvdata/gb18030.c: Update to GB18020-2005.
25870
25871 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25872
25873         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25874         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25875         Patch by Aharon Robbins <arnold@skeeve.com>.
25876
25877         [BZ #11892]
25878         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25879         on the stack.
25880
25881         [BZ #11895]
25882         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25883         through underflows.
25884
25885         [BZ #12766]
25886         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25887         point to strings before performing equality test for error_one_per_line
25888         mode.
25889
25890         [BZ #11697]
25891         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25892
25893         [BZ #11820]
25894         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25895         (struct user_fpregs_struct): Avoid __uint*_t types.
25896
25897         [BZ #6420]
25898         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25899         symbol info.  Use it instead of calling _dl_addr locally.
25900         (lock_and_info): New function.
25901         (tr_freehook): Call lock_and_info and pass symbol info as additional
25902         parameter to tr_where.
25903         (tr_mallochook): Likewise.
25904         (tr_reallochook): Likewise.
25905         (tr_memalignhook): Likewise.
25906
25907         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25908         used and couldn't be at all thread-safe.
25909
25910 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25911
25912         * libio/freopen.c (freopen): Don't close old file descriptor
25913         before the new one is opened.  Instead dup the new file descriptor
25914         to the old one after the new stream is created.
25915         * libio/freopen64.c (freopen64): Likewise.
25916         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25917         * libio/fileops.c (_IO_new_file_close_it): Handle new
25918         _IO_FLAGS2_NOCLOSE flag.
25919         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25920         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25921         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25922         _IO_FLAGS2_NOCLOSE flag.
25923         * include/unistd.h: Add hidden_proto for dup3.
25924         Define __have_dup3.
25925         * io/dup3.c: Define hidden symbol.
25926         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25927
25928         [BZ #7101]
25929         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25930         when an incomplete long option is used.
25931         * posix/tst-getopt_long1.c: New file.
25932         * posix/Makefile (tests): Add tst-getopt_long1.
25933
25934         [BZ #10138]
25935         * scripts/config.guess: Update from autoconf-2.68.
25936         * scripts/config.sub: Likewise.
25937
25938         [BZ #10157]
25939         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25940         tests into ...
25941         (has_cpuclock): ...this.  New function.
25942         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25943         macro here based on has_cpuclock code.
25944
25945         [BZ #10149]
25946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25947         First byte (not low byte) is now always NUL.
25948         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25949
25950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25951         Use non-cancelable interfaces.
25952
25953         [BZ #9809]
25954         * locale/iso-639.def: Add entry for Sorani.
25955
25956         [BZ #11901]
25957         * include/stdlib.h: Move include protection to the right place.
25958         Define abort_msg_s.  Declare __abort_msg with it.
25959         * stdlib/abort.c (__abort_msg): Adjust type.
25960         * assert/assert.c (__assert_fail_base): New function.  Majority
25961         of code from __assert_fail.  Allocate memory for __abort_msg with
25962         mmap.
25963         (__assert_fail): Now call __assert_fail_base.
25964         * assert/assert-perr.c: Remove bulk of implementation.  Use
25965         __assert_fail_base.
25966         * include/assert.hL Declare __assert_fail_base.
25967         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25968         mmap.
25969         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25970
25971 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25972
25973         [BZ #11952]
25974         [BZ #12453]
25975         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25976         until all modules are registered in the DTV.
25977         * elf/Makefile: Add rules to build and run tst-tls19.
25978         * elf/tst-tls19.c: New file.
25979         * elf/tst-tls19mod1.c: New file.
25980         * elf/tst-tls19mod2.c: New file.
25981         * elf/tst-tls19mod3.c: New file.
25982         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25983
25984         [BZ #12083]
25985         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25986         correctly.
25987
25988         [BZ #12601]
25989         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25990         two-byte sequence errors.
25991         * iconvdata/Makefile (tests): Add bug-iconv8.
25992         * iconvdata/bug-iconv8.c: New file.
25993
25994         [BZ #12626]
25995         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25996         buf2 definition.
25997
25998         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25999
26000         [BZ #12432]
26001         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26002         (dummy_getcfa): New function.
26003         (init): Get _Unwind_GetCFA address, use dummy if not found.
26004         (backtrace_helper): In recursion check, also check whether CFA changes.
26005         (__backtrace): Completely initialize arg.
26006
26007         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26008         storing incomplete byte sequence in state object.  Avoid testing for
26009         guaranteed too small input if we know there is enough data available.
26010
26011 2011-05-11  Andreas Schwab  <schwab@redhat.com>
26012
26013         * Makeconfig (+link-pie): Indent.
26014         * Rules (binaries-pie): Define if $(have-fpie) and
26015         $(build-shared).
26016         (binaries-shared): Also filter out $(binaries-pie).
26017         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26018         * nscd/Makefile (others-pie): Add nscd.
26019         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26020         ($(objpfx)nscd): Remove command override.
26021         * login/Makefile (others-pie): Add pt_chown.
26022         ($(objpfx)pt_chown): Remove command override.
26023         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26024         remove command overrides.
26025
26026 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
26027
26028         * libio/tst_putwc.c: Fix error messages.
26029
26030         [BZ #12724]
26031         * libio/fileops.c (_IO_new_file_close_it): Always flush when
26032         currently writing and seek to current position when not.
26033         * libio/Makefile (tests): Add bug-fclose1.
26034         * libio/bug-fclose1.c: New file.
26035
26036 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
26037
26038         [BZ #12511]
26039         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26040         don't set DF_1_NODELETE here.
26041         (do_lookup_x): When entering new entry test for copy relocation
26042         and if necessary set DF_1_NODELETE flag.
26043         * elf/tst-unique4.cc: New file.
26044         * elf/tst-unique4.h: New file.
26045         * elf/tst-unique4lib.cc: New file.
26046         * elf/Makefile: Add rules to build and run tst-unique4.
26047         Patch by Piotr Bury <pbury@goahead.com>.
26048
26049 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
26050
26051         [BZ #12052]
26052         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26053
26054         [BZ #12625]
26055         * misc/mntent_r.c (addmntent): Flush the stream after the output
26056
26057         [BZ #12393]
26058         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26059         (is_trusted_path_normalize): Skip initial colon.  Append slash
26060         to empty buffer.  Duplicate is_trusted_path code but allow
26061         constructed patch to be prefix.
26062         (is_dst): Allow $ORIGIN followed by /.
26063         (_dl_dst_substitute): Correct clearing of check_for_trusted.
26064         Correct testing of result of is_trusted_path_normalize
26065         (decompose_rpath): Fix warning.
26066
26067 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
26068
26069         [BZ #11257]
26070         * grp/initgroups.c (internal_getgrouplist): When we found the service
26071         list through the initgroups entry in nsswitch.conf do not always
26072         continue on a successful lookup.  Don't always use the
26073         __nss_group_database value if it is set.
26074         * nss/nsswitch.conf (initgroups): Change action for successful db
26075         lookup to continue for compatibility.
26076
26077 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
26078
26079         [BZ #11532]
26080         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26081         and CP774 modules.
26082         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26083         and CP774 modules.
26084         * iconvdata/tst-tables.sh: Likewise.
26085         * iconvdata/cp770.c: New file.
26086         * iconvdata/cp771.c: New file.
26087         * iconvdata/cp772.c: New file.
26088         * iconvdata/cp773.c: New file.
26089         * iconvdata/cp774.c: New file.
26090         * iconvdata/testdata/CP770: New file.
26091         * iconvdata/testdata/CP770..UTF8: New file.
26092         * iconvdata/testdata/CP771: New file.
26093         * iconvdata/testdata/CP771..UTF8: New file.
26094         * iconvdata/testdata/CP772: New file.
26095         * iconvdata/testdata/CP772..UTF8: New file.
26096         * iconvdata/testdata/CP773: New file.
26097         * iconvdata/testdata/CP773..UTF8: New file.
26098         * iconvdata/testdata/CP774: New file.
26099         * iconvdata/testdata/CP774..UTF8: New file.
26100
26101         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26102         END CHARMAP line.
26103         * iconvdata/gen-8bit-gap.sh: Likewise.
26104         * iconvdata/gen-8bit.sh: Likewise.
26105
26106         * locale/iso-639.def: Add ary entry.
26107
26108         [BZ #11258]
26109         * locale/C-translit.h.in: Add U20A1 transliteration.
26110
26111         [BZ #12178]
26112         * locale/iso-639.def: Add wae entry.
26113         Patch by Kevin Bortis <bortis@translate-wae.ch>.
26114
26115         [BZ #12545]
26116         * locale/programs/localedef.c (construct_output_path): Use ssize_t
26117         for n.
26118
26119         [BZ #12711]
26120         * locale/C-translit.h.in: Add entry for U20B9.
26121         Patch by pravin.d.s@gmail.com.
26122
26123 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
26124
26125         [BZ #12713]
26126         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26127         ENAMETOOLONG use generic getcwd.
26128         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
26129         in rtld.  Use *stat64.
26130         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26131         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26132         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26133         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26134         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26135         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26136         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26137         __fstatat64 macros.
26138         * include/dirent.h: Add libc_hidden_proto for rewinddir.
26139         * dirent/rewinddir.c: Add libc_hidden_def.
26140         * sysdeps/mach/hurd/rewinddir.c: Likewise.
26141         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
26142
26143         * include/dirent.h (__alloc_dir): Add flags parameter.
26144         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26145         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26146         __alloc_dir.
26147         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
26148         from fdopendir if O_CLOEXEC is already set.
26149
26150 2011-03-15  Alan Modra  <amodra@gmail.com>
26151
26152         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26153         l_tls_firstbyte_offset non-zero.  Save padding offset in
26154         l_tls_firstbyte_offset for later use.
26155         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26156         freeing static tls block.
26157
26158 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
26159
26160         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26161         where #ifdef was intended.  The intent is to prevent ARG_MAX from
26162         being defined by the kernel headers.
26163
26164 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
26165
26166         [BZ #12734]
26167         * resolv/resolv.h: Define RES_NOTLDQUERY.
26168         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26169         no-tld-query and set RES_NOTLDQUERY.
26170         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26171         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26172         modern BIND to search name as TLD unless forbidden.
26173
26174 2011-05-07  Petr Baudis  <pasky@suse.cz>
26175             Ulrich Drepper  <drepper@gmail.com>
26176
26177         [BZ #12393]
26178         * elf/dl-load.c (fillin_rpath): Move trusted path check...
26179         (is_trusted_path): ...to here.
26180         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26181         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26182         using is_trusted_path_normalize() in setuid scripts.
26183
26184 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26185
26186         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26187         __BEGIN/__END_DECLS.
26188
26189 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
26190
26191         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26192         NSS_STATUS_NOTFOUND if no record was found.
26193
26194 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26195
26196         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26197         (headers-not-in-tirpc): Remove rpc/netdb.h
26198         * resolv/netdb.h: Revert last change.
26199
26200 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26201
26202         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26203         circular dependency between libgcc.a and libc.a.
26204
26205 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26206
26207         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26208         * nis/Makefile: Don't install rpcsvc/*.
26209         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26210         instead of <rpc/types.h>.
26211         (MAXHOSTNAMELEN): Define.
26212
26213 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26214
26215         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26216
26217 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26218
26219         [BZ #12714]
26220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26221         gethostbyname4_r when IPv6 results are possible.
26222
26223 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26224
26225         [BZ #12723]
26226         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26227         _PC_PIPE_BUF handling.
26228
26229 2011-04-30  Bruno Haible  <bruno@clisp.org>
26230
26231         [BZ #12717]
26232         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26233         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26234         to 'int'.
26235         * inet/getnameinfo.c (getnameinfo): Likewise.
26236
26237 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26238
26239         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26240         to groups setting in database lookup.
26241         * nss/nsswitch.conf: Add initgroups entry.
26242
26243 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26244
26245         [BZ #12685]
26246         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26247         mode string.
26248         Patch by Eric Blake <eblake@redhat.com>.
26249
26250 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26251
26252         * sunrpc/Makefile (need-export-routines): Add svc_run.
26253         (routines): Remove svc_run.
26254         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26255         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26256         * sunrpc/svc_run.c (svc_run): Likewise.
26257         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26258
26259 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26260
26261         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26262         problem in reallocation in last patch.
26263
26264 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26265
26266         * sunrpc/Makefile: Move inclusion of Rules.
26267
26268 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26269
26270         * nss/nss_files/files-initgroups.c: New file.
26271         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26272         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26273         _nss_files_initgroups_dyn.
26274
26275 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26276
26277         * elf/elf.h (R_ARM_IRELATIVE): Define.
26278
26279 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26280
26281         * po/ru.po: Update from translation team.
26282
26283 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26284
26285         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26286         dependencies.
26287
26288 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26289
26290         [BZ #12653]
26291         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26292         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26294         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26296
26297 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26298
26299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26300         differing bytes.
26301         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26304
26305 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26306
26307         [BZ #12420]
26308         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26309         storing it.
26310         * stdlib/bug-getcontext.c: New file.
26311         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26312
26313 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26314
26315         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26316         instructions into .machine "z9-109".
26317         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26318         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26319
26320 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26321
26322         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26323         between environment variables and auxiliary vector.
26324
26325 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26326
26327         * Makefile: Add rules to build linkobj/libc.so.
26328         * include/libc-symbols.h: Define libc_hidden_nolink.
26329         * include/rpc/auth.h: Mark functions which are to be hidden.
26330         * include/rpc/auth_des.h: Likewise.
26331         * include/rpc/auth_unix.h: Likewise.
26332         * include/rpc/clnt.h: Likewise.
26333         * include/rpc/des_crypt.h: Likewise.
26334         * include/rpc/key_prot.h: Likewise.
26335         * include/rpc/pmap_clnt.h: Likewise.
26336         * include/rpc/pmap_prot.h: Likewise.
26337         * include/rpc/pmap_rmt.h: Likewise.
26338         * include/rpc/rpc_msg.h: Likewise.
26339         * include/rpc/svc.h: Likewise.
26340         * include/rpc/svc_auth.h: Likewise.
26341         * include/rpc/xdr.h: Likewise.
26342         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26343         * nss/Makefile: Likewise.
26344         * sunrpc/Makefile: Don't install headers.  Build library with normal
26345         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26346         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26347         for the compat linking library.  Remove use of INTDEF/INTUSE.
26348         * sunrpc/auth_none.c: Likewise.
26349         * sunrpc/auth_unix.c: Likewise.
26350         * sunrpc/authdes_prot.c: Likewise.
26351         * sunrpc/authuxprot.c: Likewise.
26352         * sunrpc/clnt_gen.c: Likewise.
26353         * sunrpc/clnt_perr.c: Likewise.
26354         * sunrpc/clnt_raw.c: Likewise.
26355         * sunrpc/clnt_simp.c: Likewise.
26356         * sunrpc/clnt_tcp.c: Likewise.
26357         * sunrpc/clnt_udp.c: Likewise.
26358         * sunrpc/clnt_unix.c: Likewise.
26359         * sunrpc/des_crypt.c: Likewise.
26360         * sunrpc/des_soft.c: Likewise.
26361         * sunrpc/get_myaddr.c: Likewise.
26362         * sunrpc/key_call.c: Likewise.
26363         * sunrpc/key_prot.c: Likewise.
26364         * sunrpc/netname.c: Likewise.
26365         * sunrpc/pm_getmaps.c: Likewise.
26366         * sunrpc/pm_getport.c: Likewise.
26367         * sunrpc/pmap_clnt.c: Likewise.
26368         * sunrpc/pmap_prot.c: Likewise.
26369         * sunrpc/pmap_prot2.c: Likewise.
26370         * sunrpc/pmap_rmt.c: Likewise.
26371         * sunrpc/publickey.c: Likewise.
26372         * sunrpc/rpc_cmsg.c: Likewise.
26373         * sunrpc/rpc_common.c: Likewise.
26374         * sunrpc/rpc_dtable.c: Likewise.
26375         * sunrpc/rpc_prot.c: Likewise.
26376         * sunrpc/rpc_thread.c: Likewise.
26377         * sunrpc/rtime.c: Likewise.
26378         * sunrpc/svc.c: Likewise.
26379         * sunrpc/svc_auth.c: Likewise.
26380         * sunrpc/svc_authux.c: Likewise.
26381         * sunrpc/svc_raw.c: Likewise.
26382         * sunrpc/svc_run.c: Likewise.
26383         * sunrpc/svc_simple.c: Likewise.
26384         * sunrpc/svc_tcp.c: Likewise.
26385         * sunrpc/svc_udp.c: Likewise.
26386         * sunrpc/svc_unix.c: Likewise.
26387         * sunrpc/svcauth_des.c: Likewise.
26388         * sunrpc/xcrypt.c: Likewise.
26389         * sunrpc/xdr.c: Likewise.
26390         * sunrpc/xdr_array.c: Likewise.
26391         * sunrpc/xdr_float.c: Likewise.
26392         * sunrpc/xdr_intXX_t.c: Likewise.
26393         * sunrpc/xdr_mem.c: Likewise.
26394         * sunrpc/xdr_rec.c: Likewise.
26395         * sunrpc/xdr_ref.c: Likewise.
26396         * sunrpc/xdr_sizeof.c: Likewise.
26397         * sunrpc/xdr_stdio.c: Likewise.
26398
26399 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26400
26401         [BZ #12650]
26402         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26403         * sysdeps/ia64/dl-tls.h: Likewise.
26404         * sysdeps/powerpc/dl-tls.h: Likewise.
26405         * sysdeps/s390/dl-tls.h: Likewise.
26406         * sysdeps/sh/dl-tls.h: Likewise.
26407         * sysdeps/sparc/dl-tls.h: Likewise.
26408         * sysdeps/x86_64/dl-tls.h: Likewise.
26409         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26410
26411 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26412
26413         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26414         rpath element also skip the following colon.
26415         (expand_dynamic_string_token): Add is_path parameter and pass
26416         down to DL_DST_REQUIRED and _dl_dst_substitute.
26417         (decompose_rpath): Call expand_dynamic_string_token with
26418         non-zero is_path.  Ignore empty rpaths.
26419         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26420         with zero is_path.
26421
26422 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26423
26424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26425         Make cancelable.
26426
26427 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26428
26429         [BZ #12655]
26430         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26431         Patch by Filipe David Manana <fdmanana@apache.org>.
26432
26433 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26434
26435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26436         Maintain aligned stack.
26437         (CHECK_RSP): Remove unused macro.
26438
26439 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26440
26441         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26442         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26443
26444 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26445
26446         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26447
26448         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26449
26450 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26451
26452         [BZ #12518]
26453         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26454         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26455         * sysdeps/x86_64/memmove.c: New file.
26456         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26457         (memcpy): Renamed to ...
26458         (__new_memcpy): This.
26459         (memcpy): Provide GLIBC_2_14 memcpy.
26460         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26461         (memcpy): Provide GLIBC_2_2_5 memcpy.
26462
26463 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26464
26465         [BZ #12631]
26466         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26467
26468 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26469
26470         * misc/syncfs.c: New file.
26471         * misc/Makefile (routines): Add syncfs.
26472         * posix/unistd.h: Declare syncfs.
26473         * sysdeps/unix/syscalls.list: Add syncfs.
26474
26475 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26476
26477         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26478         open_by_handle_at.
26479         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26484         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26485         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26486
26487 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26488
26489         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26491         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26492         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26493         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26495         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26496
26497         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26498         sync_file_range.c with -fexceptions.
26499         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26500         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26501         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26502         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26503         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26504         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26506         sync_file_range as cancellation point
26507         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26508         now a wrapper around __call_sync_file_range with cancellation handling.
26509         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26510         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26511         function name to __call_sync_file_range.
26512         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26513         Add call_sync_file_range.
26514
26515 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26516
26517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26518         bits/timex.h.
26519
26520 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26521
26522         * iconv/iconv.h: Fix typo in comment.
26523         * io/fcntl.h: Likewise.
26524         * libio/stdio.h: Likewise.
26525         * posix/spawn.h: Likewise.
26526         * posix/unistd.h: Likewise.
26527         * stdlib/stdlib.h: Likewise.
26528         * time/time.h: Likewise.
26529         * wcsmbs/wchar.h: Likewise.
26530
26531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26532         open_by_handle): Add.
26533         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26534         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26535         Augment a few comments.
26536         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26538         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26540         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26541         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26542         open_by_handle.
26543
26544         * io/fcntl.h (AT_EMPTY_PATH): Define.
26545
26546 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26547
26548         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26549         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26550         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26551         to...
26552         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26553         * Versions.def: Add GLIBC_2.14.
26554         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26555         Export.
26556
26557 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26558
26559         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26560         round counter.
26561         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26562
26563 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26564
26565         [BZ #12597]
26566         * string/test-strncmp.c (do_page_test): New function.
26567         (check2): Likewise.
26568         (test_main): Call check2.
26569         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26570
26571 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26572
26573         [BZ #12587]
26574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26575         Handle cache information in CPU leaf 4.
26576         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26577
26578 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26579
26580         [BZ #12583]
26581         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26582         character representation.
26583         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26584
26585 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26586
26587         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26588         END(__isnan) to END(__isnanf) to match function entry point/label
26589         EALIGN(__isnanf,...).
26590
26591 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26592
26593         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26594
26595 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26596
26597         [BZ #12510]
26598         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26599         copy from the symbol referenced in the relocation to initialize the
26600         used variable.
26601         Patch by Piotr Bury <pbury@goahead.com>.
26602         * elf/Makefile: Add rules to build and tst-unique3.
26603         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26604         * elf/tst-unique3.cc: New file.
26605         * elf/tst-unique3.h: New file.
26606         * elf/tst-unique3lib.cc: New file.
26607         * elf/tst-unique3lib2.cc: New file.
26608
26609         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26610
26611 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26612
26613         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26614         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26615         to _start.
26616
26617 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26618
26619         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26620         to-be-loaded object along a path to loader is ld.so.
26621
26622 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26623             Ulrich Drepper  <drepper@gmail.com>
26624
26625         * sysdeps/x86_64/memset.S: After aligning destination, code
26626         branches to different locations depending on the value of
26627         misalignment, when multiarch is enabled. Fix this.
26628
26629 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26630
26631         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26632         Set _x86_64_preferred_memory_instruction for AMD processsors.
26633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26634         Set bit_Prefer_SSE_for_memop for AMD processors.
26635
26636 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26637
26638         * libio/fmemopen.c (fmemopen): Optimize a bit.
26639
26640 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26641
26642         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26643
26644 2011-03-03  Roland McGrath  <roland@redhat.com>
26645
26646         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26647
26648 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26649
26650         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26651         __bzero_ultra1 instead of __memset_ultra1.
26652
26653 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26654             Ulrich Drepper  <drepper@gmail.com>
26655
26656         [BZ #12509]
26657         * include/link.h (struct link_map): Add l_orig_initfini.
26658         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26659         returning unsuccessfully.
26660         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26661         close of a file loaded at startup, restore the original l_initfini
26662         list.
26663         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26664         list, store the pointer.
26665         * elf/Makefile ($(objpfx)noload-mem): New rule.
26666         (noload-ENV): Define.
26667         (tests): Add $(objpfx)noload-mem.
26668         * elf/noload.c: Include <memcheck.h>.
26669         (main): Call mtrace.  Close all opened handles.
26670
26671 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26672
26673         [BZ #12454]
26674         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26675         dependencies are missing.
26676
26677 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26678
26679         Fix __if_freereq crash: Unlike the generic version which uses free,
26680         Hurd needs munmap.
26681         * sysdeps/mach/hurd/ifreq.h: New file.
26682
26683 2011-01-27  Petr Baudis  <pasky@suse.cz>
26684             Ulrich Drepper  <drepper@gmail.com>
26685
26686         [BZ 12445]#
26687         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26688         to extend_alloca().
26689         * stdio-common/bug23.c: New file.
26690         * stdio-common/Makefile (tests): Add bug23.
26691
26692 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26693             Ulrich Drepper  <drepper@gmail.com>
26694
26695         [BZ #12489]
26696         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26697         before performing relro protection.  At old place add assertion
26698         to make sure nothing changed.
26699
26700 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26701             Glauber de Oliveira Costa  <glommer@gmail.com>
26702
26703         * elf/elf.h: Add new ARM TLS relocs.
26704
26705 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26706
26707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26708         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26709         cast from r3.
26710         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26711         'tests' variable.
26712         * sysdeps/wordsize-64/tst-writev.c: New file.
26713
26714 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26715
26716         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26717         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26718         insns in _dl_start to prevent a TOC reference before relocs are
26719         resolved.
26720
26721 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26722
26723         [BZ #12469]
26724         * Makeconfig: Remove RANLIB definition.
26725         * Makerules: Don't use RANLIB.
26726         * aclocal.m4: Remove ranlib test.
26727         * configure.in: No need to check for ranlib.
26728         * elf/rtld-Rules: Don't use RANLIB.
26729
26730 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26731
26732         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26733         protection macro.
26734         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26735         inclusion protection macro.
26736
26737         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26738         SIGRTMIN and SIGRTMAX and print information in that case only when
26739         SIGRTMIN is defined.
26740
26741 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26742
26743         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26744         arginfo fn returning -1.
26745
26746         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26747         and thousands string is zero terminated.
26748
26749 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26750
26751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26752         sysdeps/unix/sysv/linux/bits/socket.h.
26753
26754 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26755
26756         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26757         (__CPU_COUNT): Remove old macros.
26758         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26759         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26760         (__CPU_ALLOC, __CPU_FREE): Add macros.
26761         (__sched_cpualloc, __sched_cpufree): Add declarations.
26762
26763 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26764
26765         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26766         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26767         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26768         (readdhstai): Return value of addhstaiX call.
26769         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26770         (addgrbyX): Return value returned by cache_addgr.
26771         (readdgrbyname): Return value returned by addgrbyX.
26772         (readdgrbygid): Likewise.
26773         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26774         (addpwbyX): Return value returned by cache_addpw.
26775         (readdpwbyname): Return value returned by addhstbyX.
26776         (readdpwbyuid): Likewise.
26777         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26778         (addservbyX): Return value returned by cache_addserv.
26779         (readdservbyname): Return value returned by addservbyX:
26780         (readdservbyport): Likewise.
26781         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26782         (addhstbyX): Return value returned by cache_addhst.
26783         (readdhstbyname): Return value returned by addhstbyX.
26784         (readdhstbyaddr): Likewise.
26785         (readdhstbynamev6): Likewise.
26786         (readdhstbyaddrv6): Likewise.
26787         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26788         (readdinitgroups): Return value returned by addinitgroupsX.
26789         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26790         (prune_cache): Keep track of timeout value of re-added entries.
26791         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26792         * nscd/nscd.h: Adjust prototypes of readd* functions.
26793
26794 2011-02-04  Roland McGrath  <roland@redhat.com>
26795
26796         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26797         (nis_stats): Likewise.
26798         * nis/nis_modify.c (nis_modify): Likewise.
26799         * nis/nis_remove.c (nis_remove): Likewise.
26800         * nis/nis_add.c (nis_add): Likewise.
26801
26802         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26803
26804         * posix/fnmatch_loop.c: Add some consts.
26805
26806         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26807
26808 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26809
26810         [BZ #12460]
26811         * config.make.in (config-cflags-novzeroupper): Define.
26812         * configure.in: Substitute libc_cv_cc_novzeroupper.
26813         * elf/Makefile (AVX-CFLAGS): Define.
26814         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26815         (CFLAGS-tst-auditmod4a.c): Likewise.
26816         (CFLAGS-tst-auditmod4b.c): Likewise.
26817         (CFLAGS-tst-auditmod6b.c): Likewise.
26818         (CFLAGS-tst-auditmod6c.c): Likewise.
26819         (CFLAGS-tst-auditmod7b.c): Likewise.
26820         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26821
26822 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26823
26824         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26825         function to the callback.
26826         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26827
26828 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26829
26830         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26831         of errno.
26832
26833 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26834
26835         [BZ #11724]
26836         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26837         of constructors.
26838         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26839         of destructors.
26840         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26841
26842         [BZ #11724]
26843         * elf/Makefile: Add rules to build and run new test.
26844         * elf/tst-initorder.c: New file.
26845         * elf/tst-initorder.exp: New file.
26846         * elf/tst-initordera1.c: New file.
26847         * elf/tst-initordera2.c: New file.
26848         * elf/tst-initordera3.c: New file.
26849         * elf/tst-initordera4.c: New file.
26850         * elf/tst-initorderb1.c: New file.
26851         * elf/tst-initorderb2.c: New file.
26852         * elf/tst-order-a1.c: New file.
26853         * elf/tst-order-a2.c: New file.
26854         * elf/tst-order-a3.c: New file.
26855         * elf/tst-order-a4.c: New file.
26856         * elf/tst-order-b1.c: New file.
26857         * elf/tst-order-b2.c: New file.
26858         * elf/tst-order-main.c: New file.
26859         New test case by George Gensure <werkt0@gmail.com>.
26860
26861 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26862
26863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26864         decoding ACE if AI_CANONIDN.
26865
26866 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26867
26868         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26869
26870 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26871
26872         * version.h (RELEASE): Bump for 2.13 release.
26873         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26874
26875         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26876
26877         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26878         MADV_NOHUGEPAGE.
26879         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26880         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26881         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26882         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26885
26886         * posix/getconf.c: Update copyright year.
26887         * catgets/gencat.c: Likewise.
26888         * csu/version.c: Likewise.
26889         * debug/catchsegv.sh: Likewise.
26890         * debug/xtrace.sh: Likewise.
26891         * elf/ldconfig.c: Likewise.
26892         * elf/ldd.bash.in: Likewise.
26893         * elf/sprof.c (print_version): Likewise.
26894         * iconv/iconv_prog.c: Likewise.
26895         * iconv/iconvconfig.c: Likewise.
26896         * locale/programs/locale.c: Likewise.
26897         * locale/programs/localedef.c: Likewise.
26898         * malloc/memusage.sh: Likewise.
26899         * malloc/mtrace.pl: Likewise.
26900         * nscd/nscd.c (print_version): Likewise.
26901         * nss/getent.c: Likewise.
26902
26903         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26904         PF_CAIF, and PF_ALG.
26905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26906
26907 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26908
26909         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26910         (modules-names): Use them.
26911         (ifunc-test-modules, ifunc-pie-tests): Define.
26912         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26913         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26914         (test-extras): Likewise.
26915         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26916         $(compile-command.c).
26917         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26918         (all-built-dso): Define.
26919         (check-textrel.out, check-execstack.out): Depend on it.
26920
26921         * configure.in: Don't override --enable-multi-arch.
26922
26923 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26924
26925         [BZ #6812]
26926         * nscd/hstcache.c (tryagain): Define.
26927         (cache_addhst): Return tryagain not notfound for temporary errors.
26928         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26929         failed.
26930
26931 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26932
26933         [BZ #10563]
26934         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26935         to make the syscall.
26936         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26937
26938         [BZ #12378]
26939         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26940         and fall back to matching as normal character if the string ends before
26941         the matching ']' is found.  This is what POSIX requires.
26942         * posix/testfnm.c: Adjust test result.
26943         * posix/globtest.sh: Adjust test result.  Add new test.
26944         * posix/tst-fnmatch.input: Likewise.
26945         * posix/tst-fnmatch2.c: Add new test.
26946
26947 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26948
26949         * elf/Makefile (check-execstack): Revert last change.  Depend on
26950         check-execstack.h.
26951         (check-execstack.h): New target.
26952         (generated): Add check-execstack.h.
26953         * elf/check-execstack.c: Include "check-execstack.h".
26954         (main): Revert last change.
26955         (handle_file): Return zero if GNU_STACK is absent and
26956         DEFAULT_STACK_PERMS doesn't include PF_X.
26957
26958 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26959
26960         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26961         in child fails because the descriptor is already closed.
26962         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26963         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26964         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26965
26966         [BZ #12397]
26967         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26968         syscall.
26969
26970         [BZ #10484]
26971         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26972         temporary buffer used to handle multi lookups locally.
26973         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26974
26975 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26976
26977         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26978         loader is ld.so.
26979
26980 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26981
26982         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26983         alignment for SSE2.
26984
26985 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26986
26987         [BZ #12394]
26988         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26989         characters.  When rounding increased number of integer digits recompute
26990         number of groups.
26991         * stdio-common/tst-grouping.c: New file.
26992         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26993
26994 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26995
26996         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26997         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26998
26999         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27000         void.
27001         * bits/select.h: Likewise.
27002
27003 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
27004
27005         * po/ja.po: Update from translation team.
27006
27007 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
27008
27009         [BZ #11155]
27010         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27011         implementation just like for lxstat, fxstatat, et al.
27012
27013 2010-12-27  Jim Meyering  <meyering@redhat.com>
27014
27015         [BZ #12348]
27016         * posix/regexec.c (build_trtable): Return failure indication upon
27017         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
27018
27019 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
27020
27021         [BZ #12201]
27022         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27023         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27024         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27026
27027         [BZ #12207]
27028         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27029
27030         [BZ #12204]
27031         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27032         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27033
27034 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
27035
27036         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27037         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27038         script has SORT_BY_INIT_PRIORITY.
27039         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27040         NO_CTORS_DTORS_SECTIONS is defined.
27041         * elf/soinit.c: Likewise.
27042         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27043         NO_CTORS_DTORS_SECTIONS is defined.
27044         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27045         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27046         * sysdeps/sh/init-first.c: Likewise.
27047         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27048
27049 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
27050
27051         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27052         always use the slow path.
27053
27054 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
27055
27056         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27057         similar rule which adds the sysdep directories to the header search in
27058         order to pick up the correct platform stackinfo.h.
27059         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27060         perform test if it is, otherwise return successfully without testing.
27061         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27062         DEFAULT_STACK_PERMS define in stackinfo.h.
27063         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27064         defined in stackinfo.h.
27065         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27066         DEFAULT_STACK_PERMS defined in stackinfo.h.
27067         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27068         * sysdeps/ia64/stackinfo.h: Likewise.
27069         * sysdeps/s390/stackinfo.h: Likewise.
27070         * sysdeps/sh/stackinfo.h: Likewise.
27071         * sysdeps/sparc/stackinfo.h: Likewise.
27072         * sysdeps/x86_64/stackinfo.h: Likewise.
27073         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27074         PF_X for powerpc64.  Retain PF_X for powerpc32.
27075
27076 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
27077
27078         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27079         accurately.
27080         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27081         GETDENTS_64BIT_ALIGNED.
27082
27083 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
27084
27085         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27086
27087 2010-12-10  Andreas Schwab  <schwab@redhat.com>
27088
27089         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27090         _GNU_SOURCE.
27091
27092         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27093         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27094         Remove __restrict.
27095         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27096         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27097
27098 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
27099
27100         [BZ #11655]
27101         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27102         are initialized.
27103
27104 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
27105
27106         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27107
27108 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
27109
27110         * po/it.po: Update from translation team.
27111
27112 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
27113
27114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27115         unused codes.
27116
27117 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
27118
27119         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27120
27121 2010-11-24  Andreas Schwab  <schwab@redhat.com>
27122
27123         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27124         specially.
27125         (gaih_getanswer_slice): Likewise.
27126
27127 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
27128
27129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27130
27131 2010-05-31  Petr Baudis  <pasky@suse.cz>
27132
27133         [BZ #11149]
27134         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27135         silently even in the chroot mode.
27136
27137 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
27138
27139         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27140         last patch a bit.  Pretty printing
27141
27142 2010-05-31  Petr Baudis <pasky@suse.cz>
27143
27144         [BZ #10085]
27145         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27146         initialization of skip_initgroups_dyn.
27147
27148 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
27149
27150         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27151         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27152
27153 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
27154
27155         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27156
27157 2010-11-11  Andreas Schwab  <schwab@redhat.com>
27158
27159         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27160         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27161         (tst-fnmatch-ENV): Set MALLOC_TRACE.
27162         ($(objpfx)tst-fnmatch-mem): New rule.
27163         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27164         * posix/tst-fnmatch.c (main): Call mtrace.
27165
27166 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
27167
27168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27169         Support Intel processor model 6 and model 0x2c.
27170
27171 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
27172
27173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27174           signed comparison.
27175
27176 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
27177
27178         [BZ #12205]
27179         * string/test-strncasecmp.c (check_result): New function.
27180         (do_one_test): Use it.
27181         (check1): New function.
27182         (test_main): Use it.
27183         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27184         Support strcasecmp and strncasecmp.
27185
27186 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
27187
27188         [BZ #12194]
27189         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27190         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27191
27192 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27193
27194         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27195         IFUNC support.
27196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27197         memset-x86-64.
27198         * sysdeps/x86_64/multiarch/bzero.S: New file.
27199         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27200         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27201         * sysdeps/x86_64/multiarch/memset.S: New file.
27202         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27204         Set bit_Prefer_SSE_for_memop for Intel processors.
27205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27206         Define.
27207         (index_Prefer_SSE_for_memop): Define.
27208         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27209
27210 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27211
27212         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27213         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27214
27215 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27216
27217         [BZ #12191]
27218         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27219         (__x86_64_raw_data_cache_size_half): Likewise.
27220         (__x86_64_raw_shared_cache_size): Likewise.
27221         (__x86_64_raw_shared_cache_size_half): Likewise.
27222
27223         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27224         (__x86_64_raw_data_cache_size_half): Likewise.
27225         (__x86_64_raw_shared_cache_size): Likewise.
27226         (__x86_64_raw_shared_cache_size_half): Likewise.
27227         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27228         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27229         and __x86_64_raw_shared_cache_size_half.  Round
27230         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27231         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27232         to multiple of 256 bytes.
27233
27234 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27235
27236         [BZ #12167]
27237         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27238         of inacessible symlinks.  Verify result of symlink before returning it.
27239         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27240         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27241
27242 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27243
27244         * math/math.h (isinf): Fix typo in comment.
27245
27246 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27247
27248         * po/da.po: Update from translation team.
27249
27250 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27251
27252         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27253         is added to the list.
27254
27255 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27256             Ulrich Drepper  <drepper@gmail.com>
27257
27258         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27259         the global list here.  Move code to...
27260         (_dl_add_to_namespace_list): ...here.  New function.
27261         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27262         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27263         * elf/dl-load.c (lose): Don't remove the element from the list.
27264         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27265         (_dl_map_object): Likewise.
27266
27267 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27268
27269         [BZ #12159]
27270         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27271         into all bytes of SSE register.
27272         Patch by Richard Li <richardpku@gmail.com>.
27273
27274 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27275
27276         [BZ #12140]
27277         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27278         perturbing.
27279
27280 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27281
27282         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27283         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27284         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27285         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27287         submachine.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27289
27290 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27291
27292         * include/dlfcn.h (__RTLD_SECURE): Define.
27293         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27294         mode & __RTLD_SECURE instead.
27295         (open_path): Rename preloaded parameter to secure.
27296         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27297         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27298         * elf/dl-deps.c (openaux): Likewise.
27299         * elf/rtld.c (struct map_args): Remove is_preloaded.
27300         (map_doit): Don't use it.
27301         (dl_main): Likewise.
27302         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27303         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27304
27305 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27306
27307         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27308         (sysd-rules-targets): Remove duplicates.
27309         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27310         rtld-%.$o dependency.
27311
27312 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27313
27314         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27315         _dl_map_object do it.
27316
27317 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27318
27319         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27320         fast fma builtins, define the macros in the C99 standard.
27321         (FP_FAST_FMAF): Likewise.
27322         (FP_FAST_FMAL): Likewise.
27323         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27324
27325         * bits/mathdef.h: Update copyright year.
27326         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27327
27328 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27329
27330         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27331         builtins, define the macros in the C99 standard.
27332         (FP_FAST_FMAF): Likewise.
27333         (FP_FAST_FMAL): Likewise.
27334         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27335         multiply/add.
27336         (FP_FAST_FMAF): Likewise.
27337
27338 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27339
27340         [BZ #3268]
27341         * math/libm-test.inc (fma_test): Some new testcases.
27342         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27343         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27344         y and infinite z.  Do multiplication by C already in long double.
27345         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27347         y and infinite z.  Do bitwise or of inexact bit into u.d.
27348         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27349         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27350         * sysdeps/i386/fpu/s_fma.S: Removed.
27351         * sysdeps/i386/fpu/s_fmal.S: Removed.
27352
27353 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27354
27355         [BZ #3268]
27356         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27358         computation is not scheduled after fetestexcept.  Fix value
27359         of minimum denormal long double.
27360
27361 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27362
27363         [BZ #3268]
27364         * math/libm-test.inc (fma_test): Add some more tests.
27365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27366         correctly.
27367
27368 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27369
27370         * scripts/data/localplt-s390-linux-gnu.data: New file.
27371         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27372
27373 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27374
27375         [BZ #3268]
27376         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27377         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27378         instead of dbl-64.
27379         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27380         inlines.
27381         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27383         if one of x and y is very large and the other is subnormal.
27384         * sysdeps/s390/fpu/s_fmaf.c: New file.
27385         * sysdeps/s390/fpu/s_fma.c: New file.
27386         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27387         * sysdeps/powerpc/fpu/s_fma.S: New file.
27388         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27389         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27390         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27391
27392 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27393
27394         [BZ #3268]
27395         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27396         fma tests.
27397         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27398         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27399         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27400         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27401         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27402         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27403         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27404
27405 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27406
27407         [BZ #12078]
27408         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27409         * posix/bug-regex31.input: Add test case.
27410
27411 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27412
27413         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27414         * posix/bug-regex31.input: New file.
27415
27416         [BZ #12078]
27417         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27418         (parse_sub_exp): Fix last change, use postorder.
27419
27420         * posix/bug-regex31.c: New file.
27421         * posix/Makefile: Add rules to build and run bug-regex31.
27422
27423         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27424
27425         [BZ #12078]
27426         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27427
27428         [BZ #12108]
27429         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27430         to have entries in sys_siglist.
27431
27432         [BZ #12093]
27433         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27434         be NULL.
27435
27436 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27437
27438         [BZ #3268]
27439         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27440         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27441         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27442         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27443         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27444         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27445         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27446         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27447         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27448         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27449         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27450         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27451         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27452         * math/ftestexcept.c (fetestexcept): Likewise.
27453         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27454         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27455         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27456         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27457         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27458         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27459         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27460
27461 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27462
27463         [BZ #12107]
27464         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27465         newline.
27466
27467 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27468
27469         * string/bug-strstr1.c: New file.
27470         * string/Makefile: Add rules to build and run bug-strstr1.
27471
27472 2010-10-05  Eric Blake  <eblake@redhat.com>
27473
27474         [BZ #12092]
27475         * string/str-two-way.h (two_way_long_needle): Always clear memory
27476         when skipping input due to the shift table.
27477
27478 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
27479
27480         [BZ #12005]
27481         * malloc/mcheck.c: Handle large requests.
27482
27483         [BZ #12077]
27484         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27485         for strncmp and strncasecmp.
27486         * string/stratcliff.c: Add tests for strcmp and strncmp.
27487         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27488
27489 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27490
27491         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27492         __set_fpscr.
27493
27494 2010-09-30  Andreas Jaeger  <aj@suse.de>
27495
27496         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27497         (CGROUP_SUPER_MAGIC): Define.
27498         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27499         Handle btrfs and cgroup file systems.
27500         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27501         Likewise.
27502
27503 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27504
27505         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27506         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27507
27508 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27509
27510         [BZ #12067]
27511         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27512         trying to locate the ELF header.
27513
27514 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27515
27516         [BZ #11611]
27517         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27518         Mask out sign-bit copies when constructing f_fsid.
27519
27520 2010-09-24  Petr Baudis <pasky@suse.cz>
27521
27522         * debug/stack_chk_fail_local.c: Add missing licence exception.
27523         * debug/warning-nop.c: Likewise.
27524
27525 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27526
27527         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27528         implementing getdents64 using getdents syscall, set d_type if
27529         __ASSUME_GETDENTS32_D_TYPE.
27530
27531 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27532
27533         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27534         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27535
27536 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27537
27538         [BZ #12037]
27539         * posix/unistd.h: Undo change of feature selection for ftruncate from
27540         2010-01-11.
27541
27542 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27543
27544         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27545         detection.
27546
27547 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27548
27549         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27550         fanotify_mark.
27551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27552
27553 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27554
27555         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27556         variables after CHECK_SP call.
27557         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27558
27559 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27560             Ulrich Drepper  <drepper@redhat.com>
27561
27562         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27563         re-relocationg ld.so.
27564         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27565         _dl_init_paths call.
27566         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27567         here anymore.
27568
27569 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27570
27571         * resolv/res_init.c (__res_vinit): Count the default server we added.
27572
27573 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27574             Ulrich Drepper  <drepper@redhat.com>
27575
27576         [BZ #11968]
27577         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27578         (____longjmp_chk): Use %ebx for saving value across system call.
27579         Add unwind info.
27580
27581 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27582
27583         * manual/Makefile: Don't mix pattern rules with normal rules.
27584
27585 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27586
27587         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27588         operation.
27589         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27590         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27591         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27592         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27594         Likewise.
27595
27596 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27597
27598         [BZ #11979]
27599         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27600         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27601
27602 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27603
27604         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27605         * sysdeps/x86_64/addmul_1.S: Likewise.
27606         * sysdeps/x86_64/lshift.S: Likewise.
27607         * sysdeps/x86_64/mul_1.S: Likewise.
27608         * sysdeps/x86_64/rshift.S: Likewise.
27609         * sysdeps/x86_64/sub_n.S: Likewise.
27610         * sysdeps/x86_64/submul_1.S: Likewise.
27611
27612 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27613
27614         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27615         Define __sched_param instead of SCHED_* and sched_param when
27616         <bits/sched.h> is included with __need_schedparam defined.
27617         * bits/sched.h [__need_schedparam]
27618         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27619         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27620         (__defined_schedparam): Define to 1.
27621         (__sched_param): New structure, identical to sched_param.
27622         (__need_schedparam): Undefine.
27623
27624 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27625
27626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27627         (epoll_create1): Declare.
27628
27629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27630
27631 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27632
27633         [BZ #7066]
27634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27635         shifting retval into place.
27636
27637 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27638
27639         * nis/rpcsvc/nis.h: Update copyright notice.
27640         * nis/rpcsvc/nis.x: Likewise.
27641         * nis/rpcsvc/nis_callback.h: Likewise.
27642         * nis/rpcsvc/nis_callback.x: Likewise.
27643         * nis/rpcsvc/nis_object.x: Likewise.
27644         * nis/rpcsvc/nis_tags.h: Likewise.
27645         * nis/rpcsvc/yp.h: Likewise.
27646         * nis/rpcsvc/yp.x: Likewise.
27647         * nis/rpcsvc/ypupd.h: Likewise.
27648         * nis/yp_xdr.c: Likewise.
27649         * nis/ypupdate_xdr.c: Likewise.
27650
27651         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27652         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27653         (pmap_getport): Use __libc_rpc_getport.
27654         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27655         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27656         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27657
27658 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27659
27660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27661         fanotify_mark.
27662
27663 2010-08-27  Roland McGrath  <roland@redhat.com>
27664
27665         * sysdeps/i386/i686/multiarch/Makefile
27666         (CFLAGS-varshift.c): New variable.
27667
27668 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27669
27670         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27671         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27672
27673         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27674
27675         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27676
27677 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27678
27679         * sysdeps/x86_64/strlen.S: Unroll the loop.
27680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27681         strlen-sse2 strlen-sse2-bsf.
27682         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27683         __strlen_no_bsf if bit_Slow_BSF is set.
27684         (__strlen_sse42): Removed.
27685         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27686         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27687
27688 2010-08-25  Roland McGrath  <roland@redhat.com>
27689
27690         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27691         * sysdeps/x86_64/multiarch/varshift.c: New file.
27692         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27693         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27694         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27695         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27696
27697 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27698
27699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27700         strlen-sse2 strlen-sse2-bsf.
27701         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27702         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27703         (__strlen_sse2): Removed.
27704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27707         bit_Slow_BSF for Atom.
27708         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27709         (index_Slow_BSF): Define.
27710         (HAS_SLOW_BSF): Define.
27711
27712 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27713
27714         [BZ #10851]
27715         * resolv/res_init.c (__res_vinit): When no server address at all
27716         is given default to loopback.
27717
27718 2010-08-24  Roland McGrath  <roland@redhat.com>
27719
27720         * configure.in: Remove config-name.h generation.
27721         * configure: Regenerated.
27722         * config-name.in: File removed.
27723         * scripts/config-uname.sh: New file.
27724         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27725         ($(objdir)config-name.h): New target.
27726
27727         * sunrpc/rpc_parse.h: Avoid nested comment.
27728
27729 2010-08-24  Richard Henderson  <rth@redhat.com>
27730             Ulrich Drepper  <drepper@redhat.com>
27731             H.J. Lu  <hongjiu.lu@intel.com>
27732
27733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27735         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27736         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27737         _mm_alignr_epi8 with _mm_loadu_si128.
27738         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27739         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27740         (__m128i_shift_right): Removed.
27741         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27742         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27743         * sysdeps/x86_64/multiarch/varshift.h: New file.
27744         * sysdeps/x86_64/multiarch/varshift.S: New file.
27745
27746 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27747
27748         * configure.in: Move assembler checks to before sysdep dir checking.
27749
27750 2010-08-20  Petr Baudis  <pasky@suse.cz>
27751
27752         * LICENSES: Sync the sunrpc license.
27753
27754 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27755
27756         * sunrpc/auth_des.c: Update copyright notice once again.
27757         * sunrpc/auth_none.c: Likewise.
27758         * sunrpc/auth_unix.c: Likewise.
27759         * sunrpc/authdes_prot.c: Likewise.
27760         * sunrpc/authuxprot.c: Likewise.
27761         * sunrpc/bindrsvprt.c: Likewise.
27762         * sunrpc/clnt_gen.c: Likewise.
27763         * sunrpc/clnt_perr.c: Likewise.
27764         * sunrpc/clnt_raw.c: Likewise.
27765         * sunrpc/clnt_simp.c: Likewise.
27766         * sunrpc/clnt_tcp.c: Likewise.
27767         * sunrpc/clnt_udp.c: Likewise.
27768         * sunrpc/clnt_unix.c: Likewise.
27769         * sunrpc/des_crypt.c: Likewise.
27770         * sunrpc/des_soft.c: Likewise.
27771         * sunrpc/get_myaddr.c: Likewise.
27772         * sunrpc/getrpcport.c: Likewise.
27773         * sunrpc/key_call.c: Likewise.
27774         * sunrpc/key_prot.c: Likewise.
27775         * sunrpc/openchild.c: Likewise.
27776         * sunrpc/pm_getmaps.c: Likewise.
27777         * sunrpc/pm_getport.c: Likewise.
27778         * sunrpc/pmap_clnt.c: Likewise.
27779         * sunrpc/pmap_prot.c: Likewise.
27780         * sunrpc/pmap_prot2.c: Likewise.
27781         * sunrpc/pmap_rmt.c: Likewise.
27782         * sunrpc/rpc/auth.h: Likewise.
27783         * sunrpc/rpc/auth_unix.h: Likewise.
27784         * sunrpc/rpc/clnt.h: Likewise.
27785         * sunrpc/rpc/des_crypt.h: Likewise.
27786         * sunrpc/rpc/key_prot.h: Likewise.
27787         * sunrpc/rpc/netdb.h: Likewise.
27788         * sunrpc/rpc/pmap_clnt.h: Likewise.
27789         * sunrpc/rpc/pmap_prot.h: Likewise.
27790         * sunrpc/rpc/pmap_rmt.h: Likewise.
27791         * sunrpc/rpc/rpc.h: Likewise.
27792         * sunrpc/rpc/rpc_des.h: Likewise.
27793         * sunrpc/rpc/rpc_msg.h: Likewise.
27794         * sunrpc/rpc/svc.h: Likewise.
27795         * sunrpc/rpc/svc_auth.h: Likewise.
27796         * sunrpc/rpc/types.h: Likewise.
27797         * sunrpc/rpc/xdr.h: Likewise.
27798         * sunrpc/rpc_clntout.c: Likewise.
27799         * sunrpc/rpc_cmsg.c: Likewise.
27800         * sunrpc/rpc_common.c: Likewise.
27801         * sunrpc/rpc_cout.c: Likewise.
27802         * sunrpc/rpc_dtable.c: Likewise.
27803         * sunrpc/rpc_hout.c: Likewise.
27804         * sunrpc/rpc_main.c: Likewise.
27805         * sunrpc/rpc_parse.c: Likewise.
27806         * sunrpc/rpc_parse.h: Likewise.
27807         * sunrpc/rpc_prot.c: Likewise.
27808         * sunrpc/rpc_sample.c: Likewise.
27809         * sunrpc/rpc_scan.c: Likewise.
27810         * sunrpc/rpc_scan.h: Likewise.
27811         * sunrpc/rpc_svcout.c: Likewise.
27812         * sunrpc/rpc_tblout.c: Likewise.
27813         * sunrpc/rpc_util.c: Likewise.
27814         * sunrpc/rpc_util.h: Likewise.
27815         * sunrpc/rpcinfo.c: Likewise.
27816         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27817         * sunrpc/rpcsvc/key_prot.x: Likewise.
27818         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27819         * sunrpc/rpcsvc/mount.x: Likewise.
27820         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27821         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27822         * sunrpc/rpcsvc/rex.x: Likewise.
27823         * sunrpc/rpcsvc/rstat.x: Likewise.
27824         * sunrpc/rpcsvc/rusers.x: Likewise.
27825         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27826         * sunrpc/rpcsvc/spray.x: Likewise.
27827         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27828         * sunrpc/rtime.c: Likewise.
27829         * sunrpc/svc.c: Likewise.
27830         * sunrpc/svc_auth.c: Likewise.
27831         * sunrpc/svc_authux.c: Likewise.
27832         * sunrpc/svc_raw.c: Likewise.
27833         * sunrpc/svc_run.c: Likewise.
27834         * sunrpc/svc_simple.c: Likewise.
27835         * sunrpc/svc_tcp.c: Likewise.
27836         * sunrpc/svc_udp.c: Likewise.
27837         * sunrpc/svc_unix.c: Likewise.
27838         * sunrpc/svcauth_des.c: Likewise.
27839         * sunrpc/xcrypt.c: Likewise.
27840         * sunrpc/xdr.c: Likewise.
27841         * sunrpc/xdr_array.c: Likewise.
27842         * sunrpc/xdr_float.c: Likewise.
27843         * sunrpc/xdr_mem.c: Likewise.
27844         * sunrpc/xdr_rec.c: Likewise.
27845         * sunrpc/xdr_ref.c: Likewise.
27846         * sunrpc/xdr_sizeof.c: Likewise.
27847         * sunrpc/xdr_stdio.c: Likewise.
27848
27849         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27850         handling.
27851
27852 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27853
27854         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27855
27856 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27857
27858         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27859         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27860         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27861         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27862         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27863         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27864         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27865         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27866         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27867         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27868         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27869         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27870         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27871         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27872
27873 2010-07-26  Anton Blanchard  <anton@samba.org>
27874
27875         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27876         * malloc/arena.c (heap_trim): Likewise.
27877
27878 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27879
27880         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27881         here.  Not...
27882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27883         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27884
27885 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27886
27887         * sysdeps/i386/elf/Makefile: New file.
27888
27889 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27890
27891         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27892         from fanotify_init.
27893         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27895
27896 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27897
27898         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27899         of strncasecmp_l.
27900         * sysdeps/multiarch/strcmp.S: Likewise.
27901
27902 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27903
27904         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27905         strncase_l-nonascii.
27906         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27907         Add strncase_l-ssse3.
27908         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27909         * sysdeps/x86_64/strcmp.S: Likewise.
27910         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27911         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27912         * sysdeps/x86_64/strncase.S: New file.
27913         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27914         * sysdeps/x86_64/strncase_l.S: New file.
27915         * string/Makefile (strop-tests): Add strncasecmp.
27916         * string/test-strncasecmp.c: New file.
27917
27918         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27919         warning.
27920
27921         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27922         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27923
27924 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27925
27926         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27927
27928 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27929
27930         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27931         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27932         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27933
27934 2010-05-01  Alan Modra  <amodra@gmail.com>
27935
27936         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27937         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27938         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27939         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27940         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27941         tidying.  Don't tail-call __sigjmp_save for static lib.
27942         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27943         save location.
27944         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27945         (CALL_MCOUNT): Add eh info, and nop after bl.
27946         (TAIL_CALL_SYSCALL_ERROR): New macro.
27947         (PSEUDO_RET): Use it.
27948         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27949         Correct save location of integer regs and cr.
27950         (_dl_profile_resolve): Correct cr save location.  Delete nops
27951         after bl when SHARED.  Reduce cfi size a little by better
27952         placement of cfi directives.
27953         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27954         make a stack frame.  Instead use parm save area as a temp.
27955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27956         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27958         Don't make a stack frame for parent, use parm save area.
27959         Increase child stack frame to 112 bytes.  Don't save unused reg,
27960         and adjust reg usage.  Set up cfi on error recovery and
27961         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27963         (__makecontext): Add dummy nop after jump to exit.
27964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27965         Use correct parm save area and cr save, reduce stack frame.
27966         Correct cfi for possible PSEUDO_RET frame setup.
27967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27968         Branch to local label emitted by PSEUDO_RET rather than
27969         __syscall_error.
27970
27971 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27972
27973         [BZ #11904]
27974         * locale/programs/locale.c (print_assignment): New function.
27975         (show_locale_vars): Use it.
27976
27977 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27978
27979         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27980         field.
27981         (struct statfs64): Likewise.
27982         (_STATFS_F_FLAGS): Define.
27983         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27984         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27985         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27986         (ST_VALID): Define locally.
27987         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27988         __statvfs_getflags, use the provided value.
27989         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27990         __ASSUME_STATFS_F_FLAGS.
27991
27992         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27993
27994         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27995         Add sys/fanotify.h.
27996         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27997         fanotify_mask for GLIBC_2.13.
27998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27999         fanotify_init and fanotify_mark.
28000         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28001         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28002
28003         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28004         Add prlimit.
28005         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28006         prlimit64 for GLIBC_2.13.
28007         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28008         prlimit64.
28009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28010         syscall.
28011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28013         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
28016         add prlimit alias.
28017         * sysdeps/unix/sysv/linux/prlimit.c: New file.
28018
28019         [BZ #11903]
28020         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28021         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28022
28023         * nss/Makefile: Add rules to build and run tst-nss-test1.
28024         * shlib-versions: Add entry for libnss_test1.
28025         * nss/nss_test1.c: New file.
28026         * nss/tst-nss-test1.c: New file.
28027
28028         * nss/nsswitch.c (__nss_database_custom): Define new variable.
28029         (__nss_configure_lookup): Set appropriate entry in
28030         __nss_configure_lookup to true.
28031         * nss/nsswitch.h: Define enum with indeces of databases in
28032         databases and __nss_database_custom arrays.  Declare
28033         __nss_database_custom.
28034         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28035         to avoid using nscd when custom rules are installed.
28036         * nss/getXXbyYY_r.c: Likewise.
28037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28038
28039         * nss/nss_files/files-parse.c: Whitespace fixes.
28040
28041 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
28042
28043         [BZ #11883]
28044         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28045         * posix/fnmatch_loop.c: Likewise.
28046
28047 2010-07-17  Andi Kleen  <ak@linux.intel.com>
28048
28049         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28050         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28051         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28052         * Versions.def [GLIBC_2.13]: Add.
28053
28054 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
28055
28056         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28057         Also fail if tpwd after pwuid call is NULL.
28058
28059 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28060
28061         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28062         when converting to ms.
28063
28064 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28065
28066         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28067         EOPNOTSUPP errors with ENOTTY.
28068         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28069         EOPNOTSUPP errors with ENOTTY.
28070
28071 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
28072
28073         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28074         Add strcasecmp_l-ssse3.
28075         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28076         strcasecmp.
28077         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28078         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28079         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28080
28081 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
28082
28083         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28084
28085         * string/Makefile (strop-tests): Add strcasecmp.
28086         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28087         strcasecmp_l-nonascii.
28088         (gen-as-const-headers): Add locale-defines.sym.
28089         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28090         * sysdeps/x86_64/strcasecmp.S: New file.
28091         * sysdeps/x86_64/strcasecmp_l.S: New file.
28092         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28093         * sysdeps/x86_64/locale-defines.sym: New file.
28094         * string/test-strcasecmp.c: New file.
28095
28096         * string/test-strcasestr.c: Test both ends of the range of characters.
28097         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28098
28099 2010-07-29  Roland McGrath  <roland@redhat.com>
28100
28101         [BZ #11856]
28102         * manual/locale.texi (Yes-or-No Questions): Fix example code.
28103
28104 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
28105
28106         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28107         for ld.so.
28108
28109 2010-07-27  Andreas Schwab  <schwab@redhat.com>
28110
28111         * manual/memory.texi (Malloc Tunable Parameters): Document
28112         M_PERTURB.
28113
28114 2010-07-26  Roland McGrath  <roland@redhat.com>
28115
28116         [BZ #11840]
28117         * configure.in (-fgnu89-inline check): Set and substitute
28118         gnu89_inline, not libc_cv_gnu89_inline.
28119         * configure: Regenerated.
28120         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28121
28122 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
28123
28124         * string/test-strnlen.c: New file.
28125         * string/Makefile (strop-tests): Add strnlen.
28126         * string/tester.c (test_strnlen): Add a few more test cases.
28127         * string/tst-strlen.c: Better error reporting.
28128
28129         * sysdeps/x86_64/strnlen.S: New file.
28130
28131 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
28132
28133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28134         lower-latency instructions.
28135
28136 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
28137
28138         * string/test-strcasestr.c: New file.
28139         * string/test-strstr.c: New file.
28140         * string/Makefile (strop-tests): Add strstr and strcasestr.
28141         * string/str-two-way.h: Don't undefine MAX.
28142         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28143
28144 2010-07-21  Andreas Schwab  <schwab@redhat.com>
28145
28146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28147         strcasestr-nonascii.
28148         (CFLAGS-strcasestr-nonascii.c): Define.
28149         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28151         Remove unused attribute.
28152
28153 2010-07-20  Roland McGrath  <roland@redhat.com>
28154
28155         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28156         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
28157         ld.so.cache was broken.  With it, there is no way to disable dsocaps
28158         like LD_HWCAP_MASK can disable hwcaps.
28159
28160 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28161
28162         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28163
28164 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
28165
28166         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28167         call in strcasestr.
28168         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28169         __strcasestr_sse42_nonascii.
28170         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28171         strcasestr-nonascii.c.
28172         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28173
28174 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
28175
28176         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28177         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28178         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28179         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28180
28181 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
28182
28183         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28184         fcntl.
28185
28186 2010-07-06  Andreas Schwab  <schwab@redhat.com>
28187
28188         [BZ #11577]
28189         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28190         dl_signal_cerror.
28191
28192 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28193
28194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28195         _PC_PIPE_BUF using F_GETPIPE_SZ.
28196
28197 2010-07-05  Roland McGrath  <roland@redhat.com>
28198
28199         * manual/arith.texi (Rounding Functions): Fix rint description
28200         implicit in round description.
28201
28202 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28203
28204         * elf/Makefile: Fix linking for a few tests to make recent linker
28205         happy.
28206
28207 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28208
28209         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28210         $(common-objpfx)libc_nonshared.a.
28211
28212 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28213
28214         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28215         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28216         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28217         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28218         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28219         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28220         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28221         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28236         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28237         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28238         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28239         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28240         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28241         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28242         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28243         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28244         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28245         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28246         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28247         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28262
28263 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28264
28265         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28266         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28267         * string/memmove.c (memmove): Renamed to ...
28268         (MEMMOVE): ...this.  Default to memmove.
28269         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28270         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28271         (END_CHK): Define.
28272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28273         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28274         mempcpy-ssse3-back memmove-ssse3-back.
28275         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28278         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28279         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28280         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28281         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28282         * sysdeps/x86_64/multiarch/memmove.c: New file.
28283         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28284         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28285         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28286         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28289         Define.
28290         (index_Fast_Copy_Backward): Define.
28291         (HAS_ARCH_FEATURE): Define.
28292         (HAS_FAST_REP_STRING): Define.
28293         (HAS_FAST_COPY_BACKWARD): Define.
28294
28295 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28296
28297         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28298         Restore proper fallback handling.
28299
28300 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28301
28302         [BZ #11701]
28303         * posix/group_member.c (__group_member): Correct checking loop.
28304
28305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28306         OOM in getpwuid_r correctly.  Return error number when the caller
28307         should return, otherwise -1.
28308         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28309         call returning > 0 value.
28310         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28311
28312 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28313
28314         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28315         libc_nonshared.a from targets in modules-names.
28316
28317 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28318
28319         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28320         requires it.
28321
28322 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28323
28324         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28325         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28326         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28328
28329 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28330
28331         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28332
28333 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28334
28335         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28336         and F_GETPIPE_SZ.
28337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28338         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28339         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28341         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28342         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28343
28344 2010-06-14  Roland McGrath  <roland@redhat.com>
28345
28346         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28347
28348 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28349
28350         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28351         __REDIRECT followed by __THROW.
28352         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28353         * posix/getopt.h (getopt): Likewise.
28354
28355 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28356
28357         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28358         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28359         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28360         in AT_FLAGS.
28361         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28362         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28363
28364 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28365
28366         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28367
28368 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28369
28370         [BZ #11640]
28371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28372         Properly check family and model.
28373
28374 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28375
28376         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28377
28378 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28379
28380         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28381
28382 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28383
28384         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28385         symbol reference.
28386
28387 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28388
28389         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28390         symbol reference.
28391
28392 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28393
28394         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28395         and internal_recvmmsg.
28396         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28397         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28398         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28399         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28400
28401         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28402         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28403         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28404
28405 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28406
28407         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28408
28409 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28410
28411         POWER7 optimizations.
28412         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28413         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28414
28415 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28416
28417         * version.h: Update for 2.13 development version.
28418
28419 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28420
28421         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28422         exceptions.  Return 0.
28423
28424 2010-05-07  Roland McGrath  <roland@redhat.com>
28425
28426         * elf/ldconfig.c (main): Add a const.
28427
28428 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28429
28430         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28431         (args_options): Add no-idn option.
28432         (ahosts_keys_int): Add idn_flags to ai_flags.
28433         (parse_option): Handle 'i' option to clear idn_flags.
28434
28435         * malloc/malloc.c (_int_free): Possible race in the most recently
28436         added check.  Only act on the data if no current modification
28437         happened.
28438
28439 See ChangeLog.17 for earlier changes.