Update powerpc libm-test ULPs
[platform/upstream/glibc.git] / ChangeLog
1 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2
3         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
5 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6
7         [BZ #15264]
8         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11
12 2013-05-02  David S. Miller  <davem@davemloft.net>
13
14         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15
16 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17
18         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19
20 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21
22         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23
24 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25
26         [BZ #14952]
27         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29         Use __attribute__ ((__gnu_inline__)).
30         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31         Don't use __attribute__ ((__gnu_inline__)).
32
33 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34
35         [BZ #15423]
36         * math/s_catan.c (__catan): Handle small real or imaginary part of
37         input specially to avoid spurious underflow.
38         * math/s_catanf.c (__catanf): Likewise.
39         * math/s_catanh.c (__catanh): Likewise.
40         * math/s_catanhf.c (__catanhf): Likewise.
41         * math/s_catanhl.c (__catanhl): Likewise.
42         * math/s_catanl.c (__catanl): Likewise.
43         * math/libm-test.inc (catan_test): Add more tests.
44         (catanh_test): Likewise.
45         * sysdeps/i386/fpu/libm-test-ulps: Update.
46         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47
48 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49
50         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51
52 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53
54         [BZ #15416]
55         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56         accurately for denominator in atan2.
57         * math/s_catanf.c (__catanf): Likewise.
58         * math/s_catanh.c (__catanh): Likewise.
59         * math/s_catanhf.c (__catanhf): Likewise.
60         * math/s_catanhl.c (__catanhl): Likewise.
61         * math/s_catanl.c (__catanl): Likewise.
62         * math/libm-test.inc (catan_test): Add more tests.
63         (catanh_test): Likewise.
64         * sysdeps/i386/fpu/libm-test-ulps: Update.
65         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66
67 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68
69         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
70
71         * benchtests/Makefile (bench): Remove slow benchmarks.
72         * benchtests/atan-inputs: Add slow benchmark inputs.
73         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
74         (BENCH_FUNC): Accept variant offset.
75         (VARIANT): Define.
76         * benchtests/bench-skeleton.c (main): Run benchmark for each
77         variant.
78         * benchtests/cos-inputs: Add slow benchmark inputs.
79         * benchtests/exp-inputs: Likewise.
80         * benchtests/pow-inputs: Likewise.
81         * benchtests/sin-inputs: Likewise.
82         * benchtests/slowatan-inputs: Remove.
83         * benchtests/slowatan.c: Remove.
84         * benchtests/slowcos-inputs: Remove.
85         * benchtests/slowcos.c: Remove.
86         * benchtests/slowexp-inputs: Remove.
87         * benchtests/slowexp.c: Remove.
88         * benchtests/slowpow-inputs: Remove.
89         * benchtests/slowpow.c: Remove.
90         * benchtests/slowsin-inputs: Remove.
91         * benchtests/slowsin.c: Remove.
92         * benchtests/slowtan-inputs: Remove.
93         * benchtests/slowtan.c: Remove.
94         * benchtests/tan-inputs: Add slow benchmark inputs.
95         * scripts/bench.pl: Parse comments and directives.
96
97         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
98         in CPPFLAGS.
99         ($(objpfx)bench-%.c): Remove *-ITER.
100         * benchtests/bench-modf.c: Remove definition of ITER.
101         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
102         (main): Loop for DURATION seconds instead of fixed number of
103         iterations.
104         * scripts/bench.pl: Don't expect iterations in parameters.
105
106 2013-04-29  Roland McGrath  <roland@hack.frob.com>
107
108         * io/fchdir.c (__fchdir): Renamed from fchdir.
109         (fchdir): Define as weak alias.
110
111 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
112
113         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
114         (ERRNO_EDOM): Likewise.
115         (ERRNO_ERANGE): Likewise.
116         (noErrnoTests): New variable.
117         (init_max_error): Set errno to 0.
118         (test_single_errno): New function.
119         (test_errno): Likewise.
120         (check_float_internal): Call test_errno.  Set errno to 0.
121         (check_complex): Refer to errno tests in comment.
122         (check_int): Call test_errno.  Set errno to 0.
123         (check_long): Likewise.
124         (check_bool): Likewise.
125         (check_longlong): Likewise.
126         (cos_test): Use ERRNO_* flags for errno tests instead of
127         check_int.
128         (expm1_test): Likewise.
129         (fmod_test): Likewise.
130         (ilogb_test): Likewise.
131         (lgamma_test): Likewise.
132         (pow_test): Likewise.
133         (remainder_test): Likewise.
134         (sin_test): Likewise.
135         (tan_test): Likewise.
136         (yn_test): Likewise.
137         (initialize): Set errno to 0.
138         (main): Print number of errno tests.
139         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
140
141 2013-04-29  Andreas Jaeger  <aj@suse.de>
142
143         [BZ #15084]
144         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
145         and RES_USEVC.
146
147         [BZ #15085]
148         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
149         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
150         unimplemented.
151
152         [BZ #15380]
153         * stdlib/random.c (__initstate): Return NULL if
154         __initstate fails.
155
156         [BZ #15086]
157         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
158         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
159         RES_SNGLKUPREOP.
160
161 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
162
163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
164
165 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
166
167         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
168         of individual tests.
169         (casin_test): Likewise.
170         (casinh_test): Likewise.
171
172 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
173
174         [BZ #15409]
175         * math/s_catan.c (__catan): Handle arguments with large real or
176         imaginary part separately without squaring.
177         * math/s_catanf.c (__catanf): Likewise.
178         * math/s_catanh.c (__catanh): Likewise.
179         * math/s_catanhf.c (__catanhf): Likewise.
180         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
181         and redefine.
182         (__catanhl): Handle arguments with large real or imaginary part
183         separately without squaring.
184         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
185         and redefine.
186         (__catanl): Handle arguments with large real or imaginary part
187         separately without squaring.
188         * math/libm-test.inc (catan_test): Add more tests.
189         (catanh_test): Likewise.
190         * sysdeps/i386/fpu/libm-test-ulps: Update.
191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
192
193 2013-04-27  Andreas Jaeger  <aj@suse.de>
194
195         [BZ #15007]
196         * stdlib/stdlib.h: Update guards for qecvt.
197         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
198         <stdlib.h>.
199
200 2013-04-27  Allan McRae  <allan@archlinux.org>
201
202         * sysdeps/i386/fpu/libm-test-ulps: Update.
203
204 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
205
206         [BZ #15406]
207         * math/s_catan.c: Include <float.h>.
208         (__catan): Ensure underflow exception occurs for underflowed
209         result.
210         * math/s_catanf.c: Include <float.h>.
211         (__catanf): Ensure underflow exception occurs for underflowed
212         result.
213         * math/s_catanh.c: Include <float.h>.
214         (__catanh): Ensure underflow exception occurs for underflowed
215         result.
216         * math/s_catanhf.c: Include <float.h>.
217         (__catanhf): Ensure underflow exception occurs for underflowed
218         result.
219         * math/s_catanhl.c: Include <float.h>.
220         (__catanhl): Ensure underflow exception occurs for underflowed
221         result.
222         * math/s_catanl.c: Include <float.h>.
223         (__catanl): Ensure underflow exception occurs for underflowed
224         result.
225         * math/libm-test.inc (catan_test): Add more tests.
226         (catanh_test): Likewise.
227
228         [BZ #15405]
229         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
230         underflowed result.
231         * math/s_ccoshf.c (__ccoshf): Likewise.
232         * math/s_ccoshl.c (__ccoshl): Likewise.
233         * math/s_csin.c (__csin): Likewise.
234         * math/s_csinf.c (__csinf): Likewise.
235         * math/s_csinh.c (__csinh): Likewise.
236         * math/s_csinhf.c (__csinhf): Likewise.
237         * math/s_csinhl.c (__csinhl): Likewise.
238         * math/s_csinl.c (__csinl): Likewise.
239         * math/libm-test.inc (ccos_test): Add more tests.
240         (ccosh_test): Likewise.
241         (csin_test): Likewise.
242         (csinh_test): Likewise.
243
244 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
245
246         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
247         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
248         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
249         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
250         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
251         powerpc/power5+/fpu folders.
252         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
253
254
255 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
256
257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
258
259 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
260
261         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
262         additions to variable.
263         [$(config-machine) = x86_64] (modules-names): Likewise.
264         ($(objpfx)tst-audit3): Remove dependency.
265         ($(objpfx)tst-audit3.out): Likewise.
266         ($(objpfx)tst-audit4): Likewise.
267         ($(objpfx)tst-audit4.out): Likewise.
268         ($(objpfx)tst-audit5): Likewise.
269         ($(objpfx)tst-audit5.out): Likewise.
270         ($(objpfx)tst-audit6): Likewise.
271         ($(objpfx)tst-audit6.out): Likewise.
272         ($(objpfx)tst-audit7): Likewise.
273         ($(objpfx)tst-audit7.out): Likewise.
274         (tst-audit3-ENV): Remove variable.
275         (tst-audit4-ENV): Likewise.
276         (tst-audit5-ENV): Likewise.
277         (tst-audit6-ENV): Likewise.
278         (tst-audit7-ENV): Likewise.
279         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
280         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
281         addition to variable.
282         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
283         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
284         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
285         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
286         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
287         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
288         tst-audit3, tst-audit4 and tst-audit5.
289         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
290         tst-audit6 and tst-audit7.
291         [$(subdir) = elf] (modules-names): Add audit modules for those
292         tests.
293         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
294         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
295         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
296         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
297         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
298         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
299         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
300         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
301         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
302         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
303         [$(subdir) = elf] (tst-audit3-ENV): New variable.
304         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
305         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
306         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
307         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
308         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
309         Likewise.
310         [$(subdir) = elf && $(config-cflags-avx) = yes]
311         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
312         [$(subdir) = elf && $(config-cflags-avx) = yes]
313         (CFLAGS-tst-auditmod4a.c): Likewise.
314         [$(subdir) = elf && $(config-cflags-avx) = yes]
315         (CFLAGS-tst-auditmod4b.c): Likewise.
316         [$(subdir) = elf && $(config-cflags-avx) = yes]
317         (CFLAGS-tst-auditmod6b.c): Likewise.
318         [$(subdir) = elf && $(config-cflags-avx) = yes]
319         (CFLAGS-tst-auditmod6c.c): Likewise.
320         [$(subdir) = elf && $(config-cflags-avx) = yes]
321         (CFLAGS-tst-auditmod7b.c): Likewise.
322         * elf/tst-audit3.c: Move to ...
323         * sysdeps/x86_64/tst-audit3.c: ... here.
324         * elf/tst-audit4.c: Move to ...
325         * sysdeps/x86_64/tst-audit4.c: ... here.
326         * elf/tst-audit5.c: Move to ...
327         * sysdeps/x86_64/tst-audit5.c: ... here.
328         * elf/tst-audit6.c: Move to ...
329         * sysdeps/x86_64/tst-audit6.c: ... here.
330         * elf/tst-audit7.c: Move to ...
331         * sysdeps/x86_64/tst-audit7.c: ... here.
332         * elf/tst-auditmod3a.c: Move to ...
333         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
334         * elf/tst-auditmod3b.c: Move to ...
335         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
336         * elf/tst-auditmod4a.c: Move to ...
337         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
338         * elf/tst-auditmod4b.c: Move to ...
339         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
340         * elf/tst-auditmod5a.c: Move to ...
341         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
342         * elf/tst-auditmod5b.c: Move to ...
343         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
344         * elf/tst-auditmod6a.c: Move to ...
345         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
346         * elf/tst-auditmod6b.c: Move to ...
347         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
348         * elf/tst-auditmod6c.c: Move to ...
349         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
350         * elf/tst-auditmod7a.c: Move to ...
351         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
352         * elf/tst-auditmod7b.c: Move to ...
353         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
354
355 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
356
357         [BZ #15366]
358         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
359         define unconditionally.
360         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
361         define unconditionally.
362         (INT8_C, INT16_C, etc.): Likewise.
363
364 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
365
366         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
367         __ehdr_start with hidden visibility.
368
369         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
370
371 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
372
373         * math/libm-test.inc (cos_test): Use accurate hex constants.
374         (sincost_test): Likewise.
375
376 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
377
378         * math/libm-test.inc (catan_test): Add more tests.
379         (catanh_test): Likewise.
380
381         * math/s_catanf.c (__catanf): Use suffixed floating-point
382         constants.
383         * math/s_catanhf.c (__catanhf): Likewise.
384         * math/s_catanhl.c (__catanhl): Likewise.
385         * math/s_catanl.c (__catanl): Likewise.
386
387         [BZ #15394]
388         * math/s_catan.c (__catan): Calculate imaginary part of result
389         with log1p not log unless computing log of number close to 0.
390         * math/s_catanf.c (__catanf): Likewise.
391         * math/s_catanl.c (__catanl): Likewise.
392         * math/s_catanh.c (__catanh): Calculate real part of result with
393         log1p not log unless computing log of number close to 0.
394         * math/s_catanhf.c (__catanhf): Likewise.
395         * math/s_catanhl.c (__catanhl): Likewise.
396         * math/libm-test.inc (catan_test): Add more tests.
397         (catanh_test): Likewise.
398         * sysdeps/i386/fpu/libm-test-ulps: Update.
399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
400
401 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
402
403         * benchtests/Makefile: Mention files in which fast and slow
404         paths of math functions are implemented.
405
406 2013-04-23  Roland McGrath  <roland@hack.frob.com>
407
408         * sysdeps/posix/timespec_get.c: New file.
409
410 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
411
412         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
413         POWER.
414         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
415         for POWER.
416         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
417         powerpc/power5/fpu folders.
418         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
419         * benchtests/Makefile: Add modf testcase.
420         * benchtests/bench-modf.c: New file: Benchmark test for mo
421
422 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
423
424         [BZ #14888]
425         * time/Makefile (tests): Add tst-strptime-whitespace.
426         * time/strptime_l.c (get_number): Use ISSPACE.
427         (__strptime_internal): Likewise.
428         * time/tst-strptime-whitespace.c: New test case.
429
430 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
431
432         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
433         member.
434         (_nss_files_init): Set it here.
435
436 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
437
438         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
439         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
440         unsigned.
441
442 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
443
444         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
445
446 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
447
448         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
449         size just once.
450
451 2013-04-21  David S. Miller  <davem@davemloft.net>
452
453         * po/ru.po: Update Russion translation from translation project.
454
455 2013-04-17  Adam Conrad  <adconrad@0c3.net>
456
457         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
458         and setfsgid.
459
460 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
461
462         * configure.in: Remove i386 configure warning. Remove i386 case.
463         * configure: Regenerate.
464         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
465         Add example to error message.
466         * sysdeps/i386/configure: Regenerate.
467
468 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
469
470         * benchtests/Makefile (bench): Add cos, tan, slowcos and
471         slowtan.
472         * benchtests/cos-inputs: New file.
473         * benchtests/slowcos-inputs: New file.
474         * benchtests/slowcos.c: New file.
475         * benchtests/slowtan-inputs: New file.
476         * benchtests/slowtan.c: New file.
477         * benchtests/tan-inputs: New file.
478
479 2013-04-16  Roland McGrath  <roland@hack.frob.com>
480
481         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
482         considered kosher.
483
484 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
485
486         * benchtests/Makefile: Include cppflags-iterator.mk to add
487         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
488
489         * Makefile.in (bench-clean): New target.
490         * benchtests/Makefile (bench-clean): Likewise.
491
492 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
493
494         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
495
496 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
497
498         * stdio-common/tstdiomisc.c: Fix coding-style violation.
499
500 2013-04-15  Andreas Schwab  <schwab@suse.de>
501
502         * nscd/grpcache.c (cache_addgr): Properly check for short write.
503         * nscd/initgrcache.c (addinitgroupsX): Likewise.
504         * nscd/pwdcache.c (cache_addpw): Likewise.
505         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
506         more than recsize.
507
508 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
509
510         * benchtests/Makefile (bench): Write all output to
511         bench-out.tmp together.
512
513 2013-04-15  Andreas Schwab  <schwab@suse.de>
514
515         * nscd/nscd.c (main): Don't fork again after closing files.
516
517 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
518
519         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
520
521         * benchtests/Rules (bench-deps): Collect dependencies into a
522         single variable.  Add Makefile to dependencies.
523         ($(objpfx)bench-%.c): Depend on bench-deps.
524
525 2013-04-12  Roland McGrath  <roland@hack.frob.com>
526             Xavier Roche  <roche+kml2@exalead.com>
527
528         [BZ #15361]
529         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
530         just that it's a file descriptor.
531         * manual/llio.texi (Synchronizing AIO Operations): Update description
532         for EBADF error from aio_fsync.
533
534 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
535
536         * Rules (bench): Move target definition...
537         * benchtests/Makefile: ... here.
538
539 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
540
541         * math/libm-test.inc (cos_test): Fix PI/2 test.
542         (sincos_test): Likewise.
543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
544         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
545
546 2013-04-11  Andreas Schwab  <schwab@suse.de>
547
548         [BZ #13988]
549         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
550         accept exponent character only when digits were seen.
551         * stdio-common/Makefile (tests): Add bug26.
552         * stdio-common/bug26.c: New file.
553
554         [BZ #14293]
555         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
556         non-freeable.
557
558 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
559
560         * Makeconfig (rtld-prefix): Define built linker prefix.
561         * Rules (run-bench): Use it.
562         * math/Makefile (run-regen-ulps): Likewise.
563
564         * Rules (bench): Remove eval.
565
566 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
567             Roland McGrath  <roland@hack.frob.com>
568             Ondrej Bilka  <neleai@seznam.cz>
569
570         [BZ #15346]
571         * time/getdate.c: Include ctype.h and alloca.h.
572         (__getdate_r): Trim leading and trailing spaces of input.
573         * time/tst-getdate.c (tests): Add tests with leading and
574         trailing spaces.
575
576 2013-04-08  Roland McGrath  <roland@hack.frob.com>
577
578         [BZ #14280]
579         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
580         when computing value.
581
582 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
583
584         * math/README.libm-test (How can I generate "libm-test-ulps"?):
585         Use testrun.sh to run libm tests.
586
587         [BZ #15309]
588         * elf/dl-open.c (dl_open_worker): memset all of seen array.
589
590 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
591
592         [BZ #15264]
593         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
594
595 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
596
597         * Makefile.in (regen-ulps): New target.
598         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
599         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
600         [ifneq (no,$(PERL)] (regen-ulps): New target.
601         [ifeq (no,$(PERL)] (regen-ulps): New target.
602         * math/libm-test.inc (ulps_file_name): Define.
603         (output_dir): New variable.
604         (options): Add "output-dir" option.
605         (parse_opt): Handle 'o' case.
606         (main): If output_dir is non-NULL use it as a prefix
607         otherwise use "".
608         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
609
610 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
611
612         [BZ #10060, #10062]
613         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
614         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
615         fail configure if __sync_val_compare_and_swap is not inlined.
616         * sysdeps/i386/configure: Regenerate.
617         * configure.in: Build for i686 when configured for i386.
618         * configure: Regenerate.
619         * README: Remove i386 reference.
620
621 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
622
623         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
624         * sysdeps/s390/s390-64/sysdep.h: Likewise.
625
626 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
627
628         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
629         (lmsnanval): New variables.
630         (F): Add conversion tests.
631         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
632         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
633
634         * stdio-common/tstdiomisc.c (F): Properly collect individual
635         tests' results.
636
637         [BZ #14686, #15336]
638         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
639         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
640         Instead, use input NaN values or generate a qNaN by arithmetic
641         operation.  Also fix bugs to comply with the standard.
642         * math/libm-test.inc (remainder_test): Add more tests.
643
644         [BZ #15335, #15342]
645         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
646         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
647         input NaN values or generate a qNaN by arithmetic operation.
648
649         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
650         unreachable code.
651
652         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
653         definitions.
654
655 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
656
657         [BZ #14478]
658         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
659         underflowed result.
660         * math/s_cexpf.c (__cexpf): Likewise.
661         * math/s_cexpl.c (__cexpl): Likewise.
662         * math/libm-test.inc (cexp_test): Add more tests.
663
664 2013-04-03  Andreas Schwab  <schwab@suse.de>
665
666         [BZ #15330]
667         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
668         order arrays from heap if bigger than alloca cutoff.
669
670 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
671
672         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
673         (SNAN_TESTS_double): Refer to GCC PR56831.
674         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
675         GCC PR56828.
676
677 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
678
679         * Rules (bench): Move bench.out after the run is complete.
680
681         * Rules (bench): Echo currently running benchmark.
682
683         * benchtests/Makefile (bench): Add atan and slowatan.
684         * benchtests/atan-inputs: New file.
685         * benchtests/slowatan-inputs: New file.
686         * benchtests/slowatan.c: New file.
687
688         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
690         its value.
691
692         [BZ #15305]
693         * sysdeps/unix/sysv/linux/kernel-features.h
694         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
695         __ASSUME_XFS_RESTRICTED_CHOWN.
696         * sysdeps/unix/sysv/linux/pathconf.c
697         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
698         Save and restore errno.
699
700 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
701
702         [BZ #15327]
703         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
704         arguments using __kernel_casinh.
705         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
706         arguments using __kernel_casinhf.
707         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
708         arguments using __kernel_casinhl.
709         * math/libm-test.inc (cacosh_test): Add more tests.
710         * sysdeps/i386/fpu/libm-test-ulps: Update.
711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
712
713 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
714
715         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
717
718         * bench/Makefile (bench): Add sin and slowsin.
719         * benchtests/sin-inputs: New file.
720         * benchtests/slowsin-inputs: New file.
721         * benchtests/slowsin.c: New file.
722
723         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
724         (bench): Add slowexp and slowpow.
725         (exp-ITER): Increase iterations.
726         (pow-ITER): Likewise.
727         * benchtests/exp-inputs: Change input.
728         * benchtests/pow-inputs: Likewise.
729         * benchtests/slowexp-inputs: New file.
730         * benchtests/slowexp.c: New file.
731         * benchtests/slowpow-inputs: New file.
732         * benchtests/slowpow.c: New file.
733
734 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
735
736         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
737         instructions.
738         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
739         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
740         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
741         * benchtests/Makefile: Add rint benchtest.
742         * benchtests/rint-inputs: Input for rint benchtest.
743
744 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
745
746         * Versions.def (libm): Add GLIBC_2.18.
747         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
748         hidden libm prototypes.
749         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
750         * math/Makefile (libm-calls): Add s_issignaling.
751         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
752         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
753         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
754         declaration.
755         * math/math.h [__USE_GNU] (issignaling): New macro.
756         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
757         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
758         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
759         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
760         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
761         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
762         * manual/arith.texi (issignaling): New section.
763         * manual/libm-err-tab.pl (@all_functions): Update comment.
764         * math/gen-libm-test.pl (parse_args): Apply special handling for
765         issignaling.
766         * math/libm-test.inc (print_float, issignaling_test): New
767         functions.
768         (check_float_internal): Add issignaling checks.
769         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
770         default definition.
771         * sysdeps/powerpc/math-tests.h: New file.
772         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
773         tests.
774         * math/test-snan.c (TEST_FUNC): Likewise.
775
776 2013-03-30  David S. Miller  <davem@davemloft.net>
777
778         * po/de.po: Update from translation team.
779
780 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
781
782         [BZ #10357]
783         * math/k_casinh.c (__kernel_casinh): Handle arguments with
784         imaginary part less than 1.0 and real part less than 0.5
785         specially.
786         * math/k_casinhf.c (__kernel_casinhf): Likewise.
787         * math/k_casinhl.c (__kernel_casinhl): Likewise.
788         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
789         (cacos_test): Add more tests.
790         (casin_test): Likewise.
791         (casinh_test): Likewise.
792         * sysdeps/i386/fpu/libm-test-ulps: Update.
793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
794
795 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
796
797         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
798         ONE with its value.
799
800         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
801         (__pow_mp): Replace ONE and MONE with their values.
802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
803         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
804         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
805         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
806         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
807         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
808
809         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
810
811         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
812         (__pow_mp): Replace ZERO and MZERO with their values.
813         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
815         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
817         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
818         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
819         (__sqr): Likewise.
820
821         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
822
823         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
824
825 2013-03-28  Roland McGrath  <roland@hack.frob.com>
826
827         * include/stdlib.h [!SHARED] (__call_tls_dtors):
828         Declare with __attribute__ ((weak)).
829         * stdlib/exit.c (__libc_atexit) [!SHARED]:
830         Call __call_tls_dtors only if it's not NULL.
831
832 2013-03-28  Roland McGrath  <roland@hack.frob.com>
833
834         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
835         didn't do it already, then set _dl_phdr and _dl_phnum based on the
836         magic __ehdr_start linker symbol if it's defined.
837         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
838         them up here if it was already done.
839
840         * elf/dl-support.c (_dl_phdr): Make pointer to const.
841         (_dl_aux_init): Use const in cast when setting it.
842         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
843         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
844         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
845
846         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
847         Declare them here.
848         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
849         * csu/libc-tls.c: Nor here.
850         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
851
852         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
853         (__libc_message): Never call vsyslog.
854
855 2013-03-28  Alan Modra  <amodra@gmail.com>
856
857         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
858         Define as empty.
859         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
860         Likewise.
861
862 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863
864         [BZ #15214]
865         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
866         underflow.
867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
868
869 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
870
871         [BZ #15304]
872         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
873         Don't add gid passed as argument.
874
875         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
876
877 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
878
879         [BZ #15307]
880         * math/k_casinh.c (__kernel_casinh): Handle arguments with
881         imaginary part between 1.0 and 1.5 and real part less than 0.5
882         specially.
883         * math/k_casinhf.c (__kernel_casinhf): Likewise.
884         * math/k_casinhl.c (__kernel_casinhl): Likewise.
885         * math/libm-test.inc (cacos_test): Add more tests.
886         (casin_test): Likewise.
887         (casinh_test): Likewise.
888         * sysdeps/i386/fpu/libm-test-ulps: Update.
889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
890
891 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
892
893         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
894         constants.
895         (norm): Likewise.
896         (denorm): Likewise.
897         (__dbl_mp): Likewise.
898         (add_magnitudes): Likewise.
899         (sub_magnitudes): Likewise.
900         (__add): Likewise.
901         (__sub): Likewise.
902         (__mul): Likewise.
903         (__sqr): Likewise.
904         (__inv): Likewise.
905         (__dvd): Likewise.
906
907         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
908         commented code.
909         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
910         (__dubcos): Likewise.
911         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
912         (__ieee754_acos): Likewise.
913         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
914         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
915         (__exp1): Likewise.
916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
917         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
918         (log1): Likewise.
919         (my_log2): Likewise.
920         (checkint): Likewise.
921         * sysdeps/ieee754/dbl-64/e_remainder.c
922         (__ieee754_remainder): Likewise.
923         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
925         (bsloww): Likewise.
926         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
927
928         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
929         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
930         MANTISSA_STORE_T to store computations on mantissa.  Use
931         macros for rounding and division.
932         (denorm): Likewise.
933         (__dbl_mp): Likewise.
934         (add_magnitudes): Likewise.
935         (sub_magnitudes): Likewise.
936         (__mul): Likewise.
937         (__sqr): Likewise.
938         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
939         powers of two in terms of TWOPOW macro.
940         (mp_no): Make type of mantissa as MANTISSA_T.
941         [!RADIXI]: Define RADIXI.
942         [!TWO52]: Define TWO52.
943         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
944
945 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
946
947         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
948         llroundl symbol when building for PPC32.
949
950 2013-03-24  Mark H Weaver  <mhw@netris.org>
951
952         * manual/arith.texi (Normalization Functions): Fix prototypes for
953         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
954
955 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
956
957         [BZ #13889]
958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
959         high value to check if expl overflow.
960         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
961         to check for underflow and overflow.
962         * math/libm-test.inc: Add exp test.
963
964 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
965
966         [BZ #11120]
967         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
968         with NOT_IN_libc.
969
970 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
971
972         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
973         symbol.
974
975 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
976
977         * math/gen-libm-test.pl (parse_args, special_functions): Properly
978         wrap blocks consisting of several statements.
979
980         * sysdeps/generic/math-tests.h: New file.
981         * sysdeps/i386/fpu/math-tests.h: Likewise.
982         * math/test-snan.c: Include it.
983         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
984
985 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
986
987         [BZ #15285]
988         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
989         (__ieee754_j0l): Do not improve calculations using cos of twice
990         input for inputs above LDBL_MAX / 2.0L.
991         (__ieee754_y0l): Likewise.
992         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
993         (__ieee754_j1l): Do not improve calculations using cos of twice
994         input for inputs above LDBL_MAX / 2.0L.
995         (__ieee754_y1l): Likewise.
996         * math/libm-test.inc (j0_test): Add another test.
997         (j1_test): Likewise.
998         (y0_test): Likewise.
999         (y1_test): Likewise.
1000         * sysdeps/i386/fpu/libm-test-ulps: Update.
1001
1002 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1003
1004         * Rules ($(objpfx)bench-%.c): Include code from a C source
1005         file.
1006
1007 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1008
1009         [BZ #15287]
1010         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1011         imaginary part 1.0 and real part less than 0.5 specially.
1012         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1013         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1014         * math/libm-test.inc (cacos_test): Add more tests.
1015         (casin_test): Likewise.
1016         (casinh_test): Likewise.
1017         * sysdeps/i386/fpu/libm-test-ulps: Update.
1018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1019
1020 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1021
1022         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1023         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1024
1025 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
1026
1027         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1028         * config.make.in (config-cflags-sse4): Remove variable.
1029         (config-cflags-avx): Likewise.
1030         (config-cflags-sse2avx): Likewise.
1031         (config-cflags-novzeroupper): Likewise.
1032         (config-asflags-i686): Likewise.
1033         (have-mfma4): Likewise.
1034         (have-as-vis3): Likewise.
1035         (MIG): Likewise.
1036         * configure.in (MIG): Do not AC_SUBST.
1037         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1038         (libc_cv_cc_sse4): Do not AC_SUBST.
1039         (libc_cv_cc_avx): Likewise.
1040         (libc_cv_cc_sse2avx): Likewise.
1041         (libc_cv_cc_novzeroupper): Likewise.
1042         (libc_cv_cc_fma4): Likewise.
1043         (libc_cv_as_i686): Likewise.
1044         (libc_cv_sparc_as_vis3): Likewise.
1045         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1046         LIBC_CONFIG_VAR.
1047         (config-asflags-i686): Likewise.
1048         (config-cflags-avx): Likewise.
1049         (config-cflags-sse2avx): Likewise.
1050         (have-mfma4): Likewise.
1051         (config-cflags-novzeroupper): Likewise.
1052         * sysdeps/mach/configure.in (MIG): Likewise.
1053         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1054         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1055         LIBC_CONFIG_VAR.
1056         (config-cflags-avx): Likewise.
1057         (config-cflags-sse2avx): Likewise.
1058         (have-mfma4): Likewise.
1059         (config-cflags-novzeroupper): Likewise.
1060         * configure: Regenerated.
1061         * sysdeps/i386/configure: Likewise.
1062         * sysdeps/mach/configure: Likewise.
1063         * sysdeps/sparc/configure: Likewise.
1064         * sysdeps/x86_64/configure: Likewise.
1065
1066 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1067
1068         [BZ #14812]
1069         * locale/programs/localedef.c (options): Put N_ translation marker
1070         on argument names, not just descriptions.
1071
1072 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1073
1074         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1075
1076 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1077
1078         [BZ #14176]
1079         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1080
1081 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1082
1083         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1084         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1085         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1086         [!BEFORE_ABORT] (before_abort): New function.
1087         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1088         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1089         (writev_for_fatal): New function.
1090         (WRITEV_FOR_FATAL): New macro; call that.
1091         (backtrace_and_maps): New function.
1092         (BEFORE_ABORT): New macro; call that.
1093         (struct str_list): Type removed.
1094         (__libc_message, __libc_fatal): Functions removed.
1095         Include <sysdeps/posix/libc_fatal.c> instead.
1096
1097 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1098
1099         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1100         constants.
1101         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1102         double constants.
1103
1104 2013-03-19  Andreas Schwab  <schwab@suse.de>
1105
1106         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1107         * sysdeps/gnu/configure: Regenerate.
1108
1109         * configure.in: Substitute libc_cv_rtlddir.
1110         * configure: Regenerate.
1111         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1112         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1113         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1114         * elf/Makefile (install-others, CFLAGS-interp.c)
1115         (ldso_install, common-ldd-rewrite): Likewise.
1116         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1117         $(inst_slibdir)/$(rtld-installed-name).
1118         * scripts/rellns-sh: Add -p option.
1119         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1120         for source.
1121
1122 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1123
1124         * manual/nptl.texi: Renamed to ...
1125         * manual/threads.texi: ... this.
1126         * manual/Makefile (chapters): Update.
1127
1128 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1129
1130         [BZ #14812]
1131         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1132         on argument names, not just descriptions.
1133         * malloc/memusagestat.c (options): Likewise.
1134         * nss/getent.c (options): Likewise.
1135
1136 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1137
1138         [BZ #14812]
1139         * iconv/iconv_prog.c (options): Put N_ translation marker
1140         on argument names, not just descriptions.
1141         * iconv/iconvconfig.c (options): Likewise.
1142
1143 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1144
1145         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1146         implementation which is faster on all x86_64 architectures.
1147         Tested on AMD, Intel Nehalem, SNB, IVB.
1148         * sysdeps/x86_64/strnlen.S: Likewise.
1149
1150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1151         Remove all multiarch strlen and strnlen versions.
1152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1153         Remove strlen and strnlen related parts.
1154
1155         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1156         Inline strlen part.
1157         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1158
1159         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1160         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1161         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1162         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1163         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1164         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1165
1166 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1167
1168         * manual/memory.texi (Malloc Tunable Parameters):
1169         Sort parameters alphabetically. Add comments for missing entries.
1170
1171 2013-03-17  David S. Miller  <davem@davemloft.net>
1172
1173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1174
1175 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1176
1177         [BZ #15283]
1178         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1179         for arguments at most half maximum finite value.
1180         * math/libm-test.inc (j0_test): Add more tests.
1181         (j1_test): Likewise.
1182         (y0_test): Likewise.
1183         (y1_test): Likewise.
1184         * sysdeps/i386/fpu/libm-test-ulps: Update.
1185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1186
1187         [BZ #14155]
1188         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1189         1 / x and functions P and Q for arguments above 0x1p256L.
1190         (__ieee754_y0l): Likewise.
1191         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1192         (__ieee754_y1l): Likewise.
1193         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1194         (j1_test): Likewise.
1195         (y0_test): Likewise.
1196         (y1_test): Likewise.
1197
1198 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1199
1200         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1201         variable.
1202
1203 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1204
1205         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1206         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1207         zero since it's initialized to EXEC_PAGESIZE.
1208
1209         * sysdeps/unix/sysv/linux/ldsodefs.h
1210         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1211         * sysdeps/generic/ldsodefs.h: ... here.
1212
1213 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1214
1215         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1216
1217         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1218         math/test-snan.c.
1219         * math/test-snan.c: Renamed from
1220         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1221         * math/Makefile (tests): Add test-snan.
1222         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1223         test-powerpc-snan.
1224
1225         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1226         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1227         functions.
1228         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1229         __builtin_nan family of functions.
1230         * math/libm-test.inc (initialize): Initialize qnan_value with
1231         __builtin_nan family of functions.
1232         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1233         Remove variables.
1234         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1235         Remove functions.
1236         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1237         storage class.  Initialize qNaN_var and sNaN_var with
1238         __builtin_nan and __builtin_nans families of functions,
1239         respectively.
1240
1241         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1242         (sqrt_test): Remove duplicate test with qNaN input.
1243         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1244         (round_test, signbit_test, significand_test): Note missing +/-Inf
1245         as well as qNaN tests.
1246
1247         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1248         qNaN_var.  Fix a few strings, too.
1249         * math/libm-test.inc (nan_value): Rename to qnan_value.
1250         * math/gen-libm-test.pl (%beautify): Adjust to that.
1251         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1252         * math/test-misc.c (main): Likewise.
1253         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1254         to __qnan_bytes, and __qnan_union, respectively.
1255         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1256         Likewise.
1257         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1258         and lqnanval, respectively.
1259         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1260         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1261         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1262         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1263
1264         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1265         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1266         doubles.
1267
1268         * math/test-misc.c (main): Fix copy'n'pastos.
1269         * misc/tst-efgcvt.c (special): Likewise.
1270
1271         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1272         Remove declarations.
1273
1274 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1275
1276         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1277         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1278         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1279         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1280
1281 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1282
1283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1284         macro to return vdso values correctly in IFUNC implementations.
1285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1286         Optimization by using IFUNC.
1287
1288 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1289             Richard Henderson  <rth@redhat.com>
1290             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1291
1292         * Makefile.in (bench): New target.
1293         * NEWS: Mention the benchmark framework.
1294         * Rules (bench): Likewise.
1295         (binaries-bench): Generate binaries for functions to
1296         benchmark.
1297         * benchtests/Makefile: New makefile for benchmark tests.
1298         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1299         programs.
1300         * benchtests/exp-inputs: New input file for EXP function.
1301         * benchtests/pow-inputs: New input file for POW function.
1302         * scripts/bench.pl: New script to generate source files for
1303         benchmark programs.
1304
1305 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1306
1307         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1308         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1309         computations on mantissa.  Use macros for rounding and
1310         division.
1311         (denorm): Likewise.
1312         (__dbl_mp): Likewise.
1313         (add_magnitudes): Likewise.
1314         (sub_magnitudes): Likewise.
1315         (__mul): Likewise.
1316         (__sqr): Likewise.
1317         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1318         powers of two in terms of TWOPOW macro.
1319         (mp_no): Make type of mantissa as MANTISSA_T.
1320         [!RADIXI]: Define RADIXI.
1321         [!TWO52]: Define TWO52.
1322         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1323
1324         * manual/nptl.texi (cindex): Modify threads to pthreads.
1325
1326 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1327
1328         * sysdeps/x86_64/preconfigure: Regenerated.
1329
1330 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1331
1332         [BZ #14155]
1333         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1334         0x1p28 and above.
1335         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1336         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1337         0x1p28 and above.
1338         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1339         * math/libm-test.inc (j0_test): Do not allow one spurious
1340         underflow exception.
1341         (y1_test): Likewise.
1342
1343 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1344
1345         * manual/Makefile (chapters): Add nptl.
1346         * manual/debug.texi (Debugging Support): Add link to Threads
1347         chapter.
1348         * manual/nptl.texi: New file.
1349
1350         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1351
1352 2013-03-14  Petr Baudis  <pasky@ucw.cz>
1353
1354         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1355         for non-NULL pointer before the memory validity test. Pointed
1356         out by Holger Brunck <holger.brunck@keymile.com>.
1357
1358 2013-03-13  Andreas Schwab  <schwab@suse.de>
1359
1360         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1361         instead of .os.
1362
1363 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
1364
1365         * timezone/zic.c: Update from tzcode 2013b.
1366
1367 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1368
1369         * manual/install.texi (Configuring and compiling):
1370         Mention i686 and i586.
1371         * INSTALL: Regenerate.
1372
1373 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1374
1375         * sysdeps/init_array/elf-init.c: New file.
1376         * csu/elf-init.c
1377         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1378         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1379
1380         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1381         __gmon_start__ as global, but as static with a .preinit_array pointer.
1382         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1383         * sysdeps/init_array/crti.S: New file, empty except for comments.
1384         * sysdeps/init_array/crtn.S: Likewise.
1385
1386 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1387
1388         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1389         definining bcopy.
1390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1391         Remove Prefer_SSE_for_memop.
1392         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1393         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1394         HAS_PREFER_SSE_FOR_MEMOP.
1395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1396         memset-x86-64.
1397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1398         Remove bzero, memset ifunc support.
1399         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1400         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1403
1404 2013-03-11  Andreas Schwab  <schwab@suse.de>
1405
1406         [BZ #15234]
1407         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1408         by SHLIB_COMPAT.
1409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1410         (GLIBC_2.16): Remove pthread_atfork.
1411
1412 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1413
1414         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1415         (ptestcases.h): Likewise.
1416
1417 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1418
1419         * Makeconfig ($(common-objpfx)config.status): Depend on
1420         sysdeps/*/preconfigure{,.in} too.
1421
1422 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1423
1424         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1425         (__free_hook): Use void * instead of __malloc_ptr_t.
1426         (__malloc_hook): Likewise.
1427         (__realloc_hook): Likewise.
1428         (__memalign_hook): Likewise.
1429         (__after_morecore_hook): Likewise.
1430         * malloc/arena.c (save_malloc_hook): Likewise.
1431         (save_free_hook): Likewise.
1432         * malloc/hooks.c (malloc_hook_ini): Likewise.
1433         (realloc_hook_ini): Likewise.
1434         (memalign_hook_ini): Likewise.
1435         * malloc/malloc.c (malloc_hook_ini): Likewise.
1436         (realloc_hook_ini): Likewise.
1437         (memalign_hook_ini): Likewise.
1438         (__free_hook): Likewise.
1439         (__malloc_hook): Likewise.
1440         (__realloc_hook): Likewise.
1441         (__memalign_hook): Likewise.
1442         (__libc_malloc): Likewise.
1443         (__libc_free): Likewise.
1444         (__libc_realloc): Likewise.
1445         (__libc_memalign): Likewise.
1446         (__libc_valloc): Likewise.
1447         (__libc_pvalloc): Likewise.
1448         (__libc_calloc): Likewise.
1449         (__posix_memalign): Likewise.
1450         * malloc/morecore.c (__sbrk): Likewise.
1451         (__default_morecore): Likewise.
1452
1453         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1454
1455         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1456         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1457         __malloc_ptrdiff_t.
1458
1459         * malloc/malloc.h (__malloc_size_t): Remove macro.
1460         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1461         __malloc_size_t.
1462         (old_memalign_hook): Likewise.
1463         (old_realloc_hook): Likewise.
1464         (struct hdr): Likewise.
1465         (flood): Likewise.
1466         (mallochook): Likewise.
1467         (memalignhook): Likewise.
1468         (reallochook): Likewise.
1469         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1470         (tr_old_realloc_hook): Likewise.
1471         (tr_old_memalign_hook): Likewise.
1472         (tr_mallochook): Likewise.
1473         (tr_reallochook): Likewise.
1474         (tr_memalignhook): Likewise.
1475
1476 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1477
1478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1479         default_ldbl_pack and using as default implementation.
1480         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1481         implementation.
1482         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1483         redundant definition.
1484         (ldbl_insert_mantissa): Likewise.
1485         (ldbl_canonicalize): Likewise.
1486         (ldbl_nearbyint): Likewise.
1487         (ldbl_pack): Rename to ldbl_pack_ppc.
1488         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1489         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1490         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1491
1492 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1493
1494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1495         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1496         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1497         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1499         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1500         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1501         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1502
1503 2013-03-07  Andreas Jaeger  <aj@suse.de>
1504
1505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1506         bits/mman-linux.h.
1507
1508 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1509
1510         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1511         Include mpa.h and declare __MPEXP.
1512         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1513         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1514         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1516         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1517         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1518         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1519
1520         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1521         (__slowpow): Use long double EXPL and LOGL functions to
1522         compute POW.
1523         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1524         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1525         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1526         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1527         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1528         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1529
1530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1531         intermediate variable to calculate exponent.
1532         (__sqr): Likewise.
1533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1534         Likewise.
1535         (__sqr): Likewise.
1536
1537         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1538         [!NO__SQR]: Define __sqr.
1539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1540         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1541         sysdeps/ieee754/dbl-64/mpa.c.
1542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1543
1544         [BZ #12723]
1545         * posix/Makefile (tests): Add tst-pathconf.
1546         * posix/tst-pathconf.c: New test case.
1547         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1548         _PC_PIPE_BUF.
1549         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1550
1551 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1552
1553         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1554
1555 2013-03-06  Andreas Jaeger  <aj@suse.de>
1556
1557         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1558         definition via __MAP_ANONYMOUS.
1559
1560         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1561         it's not part of Linux headers.
1562
1563         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1564         (MAP_HUGE_MASK): Define.
1565
1566         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1567         Define.
1568         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1570         Define.
1571         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1572         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1573         Define.
1574         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1575         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1576         Define.
1577         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1578
1579         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1580         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1581         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1582         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1583         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1584         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1585
1586         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1587         Handle f2fs.
1588
1589         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1590         Handle f2fs and efivarfs.
1591
1592         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1593         f2fs.
1594
1595         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1596         (EFIVARFS_MAGIC): Add.
1597         (F2FS_LINK_MAX): Add.
1598
1599 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1600
1601         * stdio-common/vfprintf.c: Replace __builtin_expect with
1602         __glibc_unlikely.
1603
1604 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1605
1606         [BZ #13550]
1607         * sysdeps/generic/bp-sym.h: Remove file.
1608         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1609         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1610         <bp-sym.h> and <bp-asm.h>.
1611         (__longjmp): Don't use BP_SYM.
1612         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1613         and <bp-asm.h>.
1614         (memcpy): Don't use BP_SYM.
1615         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1616         <bp-sym.h> and <bp-asm.h>.
1617         (memcpy): Don't use BP_SYM.
1618         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1619         <bp-asm.h>.
1620         (memcpy): Don't use BP_SYM.
1621         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1622         <bp-asm.h>.
1623         (memset): Don't use BP_SYM.
1624         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1625         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1626         (__bzero): Don't use BP_SYM.
1627         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1628         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1629         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1630         <bp-sym.h> and <bp-asm.h>.
1631         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1632         pointers.
1633         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1634         <bp-sym.h> and <bp-asm.h>.
1635         (memcpy): Don't use BP_SYM.
1636         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1637         <bp-sym.h> and <bp-asm.h>.
1638         (memset): Don't use BP_SYM.
1639         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1640         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1641         (__bzero): Don't use BP_SYM.
1642         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1643         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1644         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1645         <bp-sym.h> and <bp-asm.h>.
1646         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1647         pointers.
1648         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1649         <bp-sym.h> and <bp-asm.h>.
1650         (memcpy): Don't use BP_SYM.
1651         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1652         <bp-sym.h> and <bp-asm.h>.
1653         (memset): Don't use BP_SYM.
1654         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1655         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1656         (__bzero): Don't use BP_SYM.
1657         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1658         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1660         <bp-sym.h> and <bp-asm.h>.
1661         (__memchr): Don't use BP_SYM.
1662         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1663         <bp-sym.h> and <bp-asm.h>.
1664         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1665         pointers.
1666         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1667         <bp-sym.h> and <bp-asm.h>.
1668         (memcpy): Don't use BP_SYM.
1669         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1670         <bp-sym.h> and <bp-asm.h>.
1671         (__mempcpy): Don't use BP_SYM.
1672         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1673         <bp-sym.h> and <bp-asm.h>.
1674         (__memrchr): Don't use BP_SYM.
1675         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1676         <bp-sym.h> and <bp-asm.h>.
1677         (memset): Don't use BP_SYM.
1678         (__bzero): Likewise.
1679         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1680         <bp-sym.h> and <bp-asm.h>.
1681         (__rawmemchr): Don't use BP_SYM.
1682         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1683         <bp-sym.h> and <bp-asm.h>.
1684         (__STRCMP): Don't use BP_SYM.
1685         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1686         <bp-sym.h> and <bp-asm.h>.
1687         (strchr): Don't use BP_SYM.
1688         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1689         <bp-sym.h> and <bp-asm.h>.
1690         (__strchrnul): Don't use BP_SYM.
1691         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1692         <bp-sym.h> and <bp-asm.h>.
1693         (strlen): Don't use BP_SYM.
1694         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1695         <bp-sym.h> and <bp-asm.h>.
1696         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1697         pointers.
1698         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1699         <bp-sym.h> and <bp-asm.h>.
1700         (__strnlen): Don't use BP_SYM.
1701         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1702         <bp-sym.h> and <bp-asm.h>.
1703         (__GI__setjmp): Don't use BP_SYM.
1704         (_setjmp): Likewise.
1705         (__sigsetjmp): Likewise.
1706         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1707         (L(start_addresses)): Don't use BP_SYM.
1708         (_start): Likewise.
1709         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1710         <bp-asm.h>.
1711         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1712         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1713         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1714         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1715         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1716         <bp-asm.h>.
1717         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1718         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1719         about bounded pointers.
1720         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1721         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1722         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1723         <bp-asm.h>.
1724         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1725         about bounded pointers.  Remove GKM FIXME comments.
1726         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1727         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1728         <bp-asm.h>.
1729         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1730         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1731         Remove GKM FIXME comments.
1732         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1733         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1734         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1735         <bp-asm.h>.
1736         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1737         about bounded pointers.  Remove GKM FIXME comment.
1738         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1739         and <bp-asm.h>.
1740         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1741         pointers.
1742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1743         <bp-sym.h> and <bp-asm.h>.
1744         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1746         <bp-sym.h> and <bp-asm.h>.
1747         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1748         comment.
1749
1750 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1751
1752         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1753         call free(NULL).
1754
1755 2013-03-05  David S. Miller  <davem@davemloft.net>
1756
1757         * po/es.po: Update from translation team.
1758
1759 2013-03-05  Andreas Jaeger  <aj@suse.de>
1760
1761         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1762         <bits/mman-linux.h>.
1763         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1764         is fine.
1765         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1766         <bits/mman-linux.h> to end of file.
1767         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1768         is fine.
1769         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1770         <bits/mman-linux.h> to end of file.
1771         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1772         is fine.
1773         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1774         <bits/mman-linux.h> to end of file.
1775
1776         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1777         (MCL_CURRENT, MCL_FUTURE): Define here.
1778
1779 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1780
1781         [BZ #15232]
1782         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1783         attribute_hidden.
1784         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1785
1786 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1787
1788         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1789         fourth parameter needed for rt_sigprocmask syscall.
1790         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1791         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1792         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1793         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1794         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1795         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1796
1797 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1798
1799         [BZ #13550]
1800         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1801         comment about bounded pointers.
1802         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1803         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1804
1805 2013-03-04  Andreas Jaeger  <aj@suse.de>
1806
1807         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1808         common definitions.
1809
1810         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1811         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1812         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1813         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1814         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1815         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1816
1817 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1818
1819         [BZ #15055]
1820         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1821         __ieee754_sqrl instead of __sqrl.
1822
1823 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1824
1825         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1826         * sysdeps/powerpc/fpu_control.h: ... here.
1827         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1828         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1829         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1830         * sysdeps/powerpc/bits/mathinline.h: ... here.
1831
1832 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1833
1834         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1835         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1836         to just [NEED_DL_SYSINFO_DSO].
1837         * elf/dl-support.c: Likewise.
1838         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1839         * elf/rtld.c (dl_main): Likewise.
1840         * elf/setup-vdso.h (setup_vdso): Likewise.
1841         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1842         * sysdeps/unix/sysv/linux/dl-sysdep.c
1843         (_dl_discover_osversion): Likewise.
1844
1845 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1846
1847         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1848         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1849
1850 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1851
1852         * NEWS: Mention libm performance improvements and non-x86 PI
1853         futex support.
1854
1855         * csu/libc-start.c (__pthread_initialize_minimal): Change
1856         function arguments.
1857         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1858
1859 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1860
1861         [BZ #13550]
1862         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1863         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1864         <bp-sym.h> and <bp-asm.h>.
1865         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1866         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1867         and <bp-asm.h>.
1868         (memcpy): Don't use BP_SYM.
1869         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1870         <bp-asm.h>.
1871         (__mpn_add_n): Don't use BP_SYM.
1872         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1873         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1874         and <bp-asm.h>.
1875         (__mpn_addmul_1): Don't use BP_SYM.
1876         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1877         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1878         <bp-sym.h>.
1879         (_setjmp): Don't use BP_SYM.
1880         (__novmx_setjmp): Likewise.
1881         (__GI__setjmp): Likewise.
1882         (__vmx_setjmp): Likewise.
1883         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1884         <bp-sym.h>.
1885         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1886         (__bzero): Don't use BP_SYM.
1887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1889         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1890         <bp-sym.h> and <bp-asm.h>.
1891         (memcpy): Don't use BP_SYM.
1892         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1893         <bp-sym.h> and <bp-asm.h>.
1894         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1895         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1896         <bp-sym.h> and <bp-asm.h>.
1897         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1898         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1899         <bp-asm.h>.
1900         (__mpn_lshift): Don't use BP_SYM.
1901         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1902         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1903         <bp-asm.h>.
1904         (memset): Don't use BP_SYM.
1905         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1906         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1907         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1908         <bp-asm.h>.
1909         (__mpn_mul_1): Don't use BP_SYM.
1910         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1912         <bp-sym.h> and <bp-asm.h>.
1913         (memcmp): Don't use BP_SYM.
1914         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1915         <bp-sym.h> and <bp-asm.h>.
1916         (memcpy): Don't use BP_SYM.
1917         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1918         <bp-sym.h> and <bp-asm.h>.
1919         (memset): Don't use BP_SYM.
1920         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1921         <bp-sym.h> and <bp-asm.h>.
1922         (strncmp): Don't use BP_SYM.
1923         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1924         <bp-sym.h> and <bp-asm.h>.
1925         (memcpy): Don't use BP_SYM.
1926         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1927         <bp-sym.h> and <bp-asm.h>.
1928         (memset): Don't use BP_SYM.
1929         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1930         <bp-sym.h> and <bp-asm.h>.
1931         (__memchr): Don't use BP_SYM.
1932         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1933         <bp-sym.h> and <bp-asm.h>.
1934         (memcmp): Don't use BP_SYM.
1935         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1936         <bp-sym.h> and <bp-asm.h>.
1937         (memcpy): Don't use BP_SYM.
1938         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1939         <bp-sym.h> and <bp-asm.h>.
1940         (__mempcpy): Don't use BP_SYM.
1941         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1942         <bp-sym.h> and <bp-asm.h>.
1943         (__memrchr): Don't use BP_SYM.
1944         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1945         <bp-sym.h> and <bp-asm.h>.
1946         (memset): Don't use BP_SYM.
1947         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1948         <bp-sym.h> and <bp-asm.h>.
1949         (__rawmemchr): Don't use BP_SYM.
1950         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1951         <bp-sym.h> and <bp-asm.h>.
1952         (__STRCMP): Don't use BP_SYM.
1953         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1954         <bp-sym.h> and <bp-asm.h>.
1955         (strchr): Don't use BP_SYM.
1956         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1957         <bp-sym.h> and <bp-asm.h>.
1958         (__strchrnul): Don't use BP_SYM.
1959         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1960         <bp-sym.h> and <bp-asm.h>.
1961         (strlen): Don't use BP_SYM.
1962         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1963         <bp-sym.h> and <bp-asm.h>.
1964         (strncmp): Don't use BP_SYM.
1965         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1966         <bp-sym.h> and <bp-asm.h>.
1967         (__strnlen): Don't use BP_SYM.
1968         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1969         <bp-asm.h>.
1970         (__mpn_rshift): Don't use BP_SYM.
1971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1972         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1973         <bp-sym.h> and <bp-asm.h>.
1974         (__sigsetjmp): Don't use BP_SYM.
1975         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1976         (L(start_addresses)): Don't use BP_SYM.
1977         (_start): Likewise.
1978         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1979         <bp-asm.h>.
1980         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1981         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1982         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1983         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1984         <bp-asm.h>.
1985         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1986         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1987         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1988         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1989         <bp-asm.h>.
1990         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1991         comments.
1992         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1993         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1994         <bp-asm.h>.
1995         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1996         FIXME comments.
1997         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1998         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1999         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2000         <bp-asm.h>.
2001         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2002         comment.
2003         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2004         and <bp-asm.h>.
2005         (strncmp): Don't use BP_SYM,
2006         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2007         <bp-asm.h>.
2008         (__mpn_sub_n): Don't use BP_SYM.
2009         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2010         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2011         and <bp-asm.h>.
2012         (__mpn_submul_1): Don't use BP_SYM.
2013         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2015         <bp-sym.h> and <bp-asm.h>.
2016         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2018         <bp-sym.h> and <bp-asm.h>.
2019         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2020         comment.
2021
2022 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2023
2024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2025         Use ZK to minimize writes to Z.
2026         (sub_magnitudes): Simplify code a bit.
2027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2028         Use ZK to minimize writes to Z.
2029         (sub_magnitudes): Simplify code a bit.
2030
2031 2013-02-27  Roland McGrath  <roland@hack.frob.com>
2032
2033         * csu/gmon-start.c: Add special exception to license text.
2034
2035 2013-02-27  Richard Henderson  <rth@redhat.com>
2036
2037         * scripts/config.guess: Update from config.git.
2038         * scripts/config.sub: Likewise.
2039
2040 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2041
2042         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2043
2044         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2045
2046         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2047
2048         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2049
2050         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2051
2052 2013-02-26  Roland McGrath  <roland@hack.frob.com>
2053
2054         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2055         [$(build-shared = yes].
2056
2057 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2058
2059         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2060         (__mul): Reduce iterations for calculating mantissa.
2061
2062         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2063         MPTWO.
2064         (__mpranred): Likewise.
2065
2066         [BZ #15160]
2067         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2068         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2069
2070 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2071
2072         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2073         Define __attribute__.
2074
2075 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2076
2077         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2078         unused.
2079         * posix/regex_internal.h (__attribute): Remove.
2080         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2081         (re_string_context_at): Likewise.
2082         (bitset_not): Use __attribute__ and mark function as possibly
2083         unused.
2084         (bitset_merge): Likewise.
2085         (bitset_mask): Likewise.
2086         (re_string_char_size_at): Likewise.
2087         (re_string_wchar_at): Likewise.
2088         (re_string_elem_size_at): Likewise.
2089
2090 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2091
2092         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2093         code.
2094         (cc32): Likewise.
2095
2096         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2097         (__acr): Likewise.
2098         (__cpy): Likewise.
2099         (norm): Likewise.
2100         (denorm): Likewise.
2101         (__dbl_mp): Likewise.
2102         (add_magnitudes): Likewise.
2103         (sub_magnitudes): Likewise.
2104         (__mul): Likewise.
2105         (__inv): Likewise.
2106
2107         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2108         style.
2109
2110         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2111         style.
2112
2113         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2114         code.
2115
2116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2117         up changes with default code.
2118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2119         Likewise.
2120
2121 2013-02-24  Allan McRae  <allan@archlinux.org>
2122
2123         * manual/socket.texi (The Internet Namespace): Order menu items
2124         to match that in the file.
2125
2126         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2127         node listing of the info page menu.
2128
2129 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2130
2131         [BZ #13550]
2132         * sysdeps/i386/bp-asm.h: Remove file.
2133         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2134         (PARMS): Do not use macros from bp-asm.h.
2135         (S1): Likewise.
2136         (S2): Likewise.
2137         (SIZE): Likewise.
2138         (__mpn_add_n): Do not use BP_SYM
2139         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2140         "bp-asm.h".
2141         (PARMS): Do not use macros from bp-asm.h.
2142         (S1): Likewise.
2143         (SIZE): Likewise.
2144         (__mpn_addmul_1): Do not use BP_SYM
2145         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2146         "bp-asm.h".
2147         (PARMS): Do not use macros from bp-asm.h.
2148         (SIGMSK): Likewise.
2149         (_setjmp): Likewise.  Do not use BP_SYM.
2150         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2151         "bp-asm.h".
2152         (PARMS): Do not use macros from bp-asm.h.
2153         (SIGMSK): Likewise.
2154         (setjmp): Likewise.  Do not use BP_SYM.
2155         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2156         "bp-asm.h".
2157         (PARMS): Do not use macros from bp-asm.h.
2158         (__frexp): Do not use BP_SYM.
2159         (frexp): Likewise.
2160         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2161         "bp-asm.h".
2162         (PARMS): Do not use macros from bp-asm.h.
2163         (__frexpf): Do not use BP_SYM.
2164         (frexpf): Likewise.
2165         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2166         "bp-asm.h".
2167         (PARMS): Do not use macros from bp-asm.h.
2168         (__frexpl): Do not use BP_SYM.
2169         (frexpl): Likewise.
2170         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2171         "bp-asm.h".
2172         (PARMS): Do not use macros from bp-asm.h.
2173         (__remquo): Do not use BP_SYM.
2174         (remquo): Likewise.
2175         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2176         "bp-asm.h".
2177         (PARMS): Do not use macros from bp-asm.h.
2178         (__remquof): Do not use BP_SYM.
2179         (remquof): Likewise.
2180         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2181         "bp-asm.h".
2182         (PARMS): Do not use macros from bp-asm.h.
2183         (__remquol): Do not use BP_SYM.
2184         (remquol): Likewise.
2185         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2186         "bp-asm.h".
2187         (PARMS): Do not use macros from bp-asm.h.
2188         (DEST): Likewise.
2189         (SRC): Likewise.
2190         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2191         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2192         "bp-asm.h".
2193         (PARMS): Do not use macros from bp-asm.h.
2194         (strlen): Do not use BP_SYM.
2195         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2196         "bp-asm.h".
2197         (PARMS): Do not use macros from bp-asm.h.
2198         (S1): Likewise.
2199         (S2): Likewise.
2200         (SIZE): Likewise.
2201         (__mpn_add_n): Do not use BP_SYM.
2202         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2203         "bp-asm.h".
2204         (PARMS): Do not use macros from bp-asm.h.
2205         (S1): Likewise.
2206         (SIZE): Likewise.
2207         (__mpn_addmul_1): Do not use BP_SYM.
2208         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2209         weak_alias.
2210         (bzero): Likewise.
2211         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2212         "bp-asm.h".
2213         (PARMS): Do not use macros from bp-asm.h.
2214         (S): Likewise.
2215         (SIZE): Likewise.
2216         (__mpn_lshift): Do not use BP_SYM.
2217         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2218         "bp-asm.h".
2219         (PARMS): Do not use macros from bp-asm.h.
2220         (DEST): Likewise.
2221         (SRC): Likewise.
2222         (LEN): Likewise.
2223         (memcpy): Likewise.  Do not use BP_SYM.
2224         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2225         libc_hidden_def and weak_alias.
2226         (mempcpy): Do not use BP_SYM in weak_alias.
2227         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2228         "bp-asm.h".
2229         (PARMS): Do not use macros from bp-asm.h.
2230         (DEST): Likewise.
2231         (LEN): Likewise.
2232         [!BZERO_P] (CHR): Likewise.
2233         (memset): Likewise.  Do not use BP_SYM.
2234         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2235         "bp-asm.h".
2236         (PARMS): Do not use macros from bp-asm.h.
2237         (S1): Likewise.
2238         (SIZE): Likewise.
2239         (__mpn_mul_1): Do not use BP_SYM.
2240         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2241         "bp-asm.h".
2242         (PARMS): Do not use macros from bp-asm.h.
2243         (S): Likewise.
2244         (SIZE): Likewise.
2245         (__mpn_rshift): Do not use BP_SYM.
2246         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2247         "bp-asm.h".
2248         (PARMS): Do not use macros from bp-asm.h.
2249         (STR): Likewise.
2250         (CHR): Likewise.
2251         (strchr): Likewise.  Do not use BP_SYM.
2252         (index): Do not use BP_SYM in weak_alias.
2253         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2254         "bp-asm.h".
2255         (PARMS): Do not use macros from bp-asm.h.
2256         (DEST): Likewise.
2257         (SRC): Likewise.
2258         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2259         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2260         "bp-asm.h".
2261         (PARMS): Do not use macros from bp-asm.h.
2262         (strlen): Do not use BP_SYM.
2263         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2264         "bp-asm.h".
2265         (PARMS): Do not use macros from bp-asm.h.
2266         (S1): Likewise.
2267         (S2): Likewise.
2268         (SIZE): Likewise.
2269         (__mpn_sub_n): Do not use BP_SYM.
2270         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2271         "bp-asm.h".
2272         (PARMS): Do not use macros from bp-asm.h.
2273         (S1): Likewise.
2274         (SIZE): Likewise.
2275         (__mpn_submul_1): Do not use BP_SYM.
2276         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2277         "bp-asm.h".
2278         (PARMS): Do not use macros from bp-asm.h.
2279         (S1): Likewise.
2280         (S2): Likewise.
2281         (SIZE): Likewise.
2282         (__mpn_add_n): Do not use BP_SYM.
2283         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2284         weak_alias.
2285         (bzero): Likewise.
2286         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2287         "bp-asm.h".
2288         (PARMS): Do not use macros from bp-asm.h.
2289         (BLK2): Likewise.
2290         (LEN): Likewise.
2291         (memcmp): Do not use BP_SYM.
2292         (bcmp): Do not use BP_SYM in weak_alias.
2293         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2294         "bp-asm.h".
2295         (PARMS): Do not use macros from bp-asm.h.
2296         (DEST): Likewise.
2297         (SRC): Likewise.
2298         (LEN): Likewise.
2299         (memcpy): Likewise.  Do not use BP_SYM.
2300         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2301         "bp-asm.h".
2302         (PARMS): Do not use macros from bp-asm.h.
2303         (DEST): Likewise.
2304         (SRC): Likewise.
2305         (LEN): Likewise.
2306         (memmove): Likewise.  Do not use BP_SYM.
2307         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2308         "bp-asm.h".
2309         (PARMS): Do not use macros from bp-asm.h.
2310         (DEST): Likewise.
2311         (SRC): Likewise.
2312         (LEN): Likewise.
2313         (__mempcpy): Likewise.  Do not use BP_SYM.
2314         (mempcpy): Do not use BP_SYM in weak_alias.
2315         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2316         "bp-asm.h".
2317         (PARMS): Do not use macros from bp-asm.h.
2318         (DEST): Likewise.
2319         (LEN): Likewise.
2320         [!BZERO_P] (CHR): Likewise.
2321         (memset): Likewise.  Do not use BP_SYM.
2322         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2323         "bp-asm.h".
2324         (PARMS): Do not use macros from bp-asm.h.
2325         (STR2): Likewise.
2326         (strcmp): Do not use BP_SYM.
2327         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2328         "bp-asm.h".
2329         (PARMS): Do not use macros from bp-asm.h.
2330         (STR): Likewise.
2331         (DELIM): Likewise.
2332         [USE_AS_STRTOK_R] (SAVE): Likewise.
2333         (FUNCTION): Likewise.  Do not use BP_SYM.
2334         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2335         aliases.
2336         (strtok_r): Likewise.
2337         (__GI___strtok_r): Likewise.
2338         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2339         (PARMS): Do not use macros from bp-asm.h.
2340         (S): Likewise.
2341         (SIZE): Likewise.
2342         (__mpn_lshift): Do not use BP_SYM.
2343         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2344         (PARMS): Do not use macros from bp-asm.h.
2345         (STR): Likewise.
2346         (CHR): Likewise.
2347         (__memchr): Do not use BP_SYM.
2348         (memchr): Do not use BP_SYM in weak_alias.
2349         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2350         (PARMS): Do not use macros from bp-asm.h.
2351         (BLK2): Likewise.
2352         (LEN): Likewise.
2353         (memcmp): Do not use BP_SYM.
2354         (bcmp): Do not use BP_SYM in weak_alias.
2355         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2356         (PARMS): Do not use macros from bp-asm.h.
2357         (S1): Likewise.
2358         (SIZE): Likewise.
2359         (__mpn_mul_1): Do not use BP_SYM.
2360         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2361         "bp-asm.h".
2362         (PARMS): Do not use macros from bp-asm.h.
2363         (STR): Likewise.
2364         (CHR): Likewise.
2365         (__rawmemchr): Do not use BP_SYM.
2366         (rawmemchr): Do not use BP_SYM in weak_alias.
2367         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2368         (PARMS): Do not use macros from bp-asm.h.
2369         (S): Likewise.
2370         (SIZE): Likewise.
2371         (__mpn_rshift): Do not use BP_SYM.
2372         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2373         (PARMS): Do not use macros from bp-asm.h.
2374         (SIGMSK): Likewise.
2375         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2376         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2377         (_start): Do not use BP_SYM.
2378         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2379         (PARMS): Do not use macros from bp-asm.h.
2380         (DEST): Likewise.
2381         (SRC): Likewise.
2382         (__stpcpy): Likewise.  Do not use BP_SYM.
2383         (stpcpy): Do not use BP_SYM in weak_alias.
2384         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2385         "bp-asm.h".
2386         (PARMS): Do not use macros from bp-asm.h.
2387         (DEST): Likewise.
2388         (SRC): Likewise.
2389         (LEN): Likewise.
2390         (__stpncpy): Likewise.  Do not use BP_SYM.
2391         (stpncpy): Do not use BP_SYM in weak_alias.
2392         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2393         (PARMS): Do not use macros from bp-asm.h.
2394         (STR): Likewise.
2395         (CHR): Likewise.
2396         (strchr): Likewise.  Do not use BP_SYM.
2397         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2398         "bp-asm.h".
2399         (PARMS): Do not use macros from bp-asm.h.
2400         (STR): Likewise.
2401         (CHR): Likewise.
2402         (__strchrnul): Likewise.  Do not use BP_SYM.
2403         (strchrnul): Do not use BP_SYM in weak_alias.
2404         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2405         "bp-asm.h".
2406         (PARMS): Do not use macros from bp-asm.h.
2407         (STOP): Likewise.
2408         (strcspn): Do not use BP_SYM.
2409         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2410         "bp-asm.h".
2411         (PARMS): Do not use macros from bp-asm.h.
2412         (STR): Likewise.
2413         (STOP): Likewise.
2414         (strpbrk): Likewise.  Do not use BP_SYM.
2415         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2416         "bp-asm.h".
2417         (PARMS): Do not use macros from bp-asm.h.
2418         (STR): Likewise.
2419         (CHR): Likewise.
2420         (strrchr): Likewise.  Do not use BP_SYM.
2421         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2422         (PARMS): Do not use macros from bp-asm.h.
2423         (SKIP): Likewise.
2424         (strspn): Do not use BP_SYM.
2425         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2426         (PARMS): Do not use macros from bp-asm.h.
2427         (STR): Likewise.
2428         (DELIM): Likewise.
2429         (SAVE): Likewise.
2430         (FUNCTION): Likewise.  Do not use BP_SYM.
2431         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2432         aliases.
2433         (strtok_r): Likewise.
2434         (__GI___strtok_r): Likewise.
2435         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2436         (PARMS): Do not use macros from bp-asm.h.
2437         (S1): Likewise.
2438         (S2): Likewise.
2439         (SIZE): Likewise.
2440         (__mpn_sub_n): Do not use BP_SYM.
2441         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2442         "bp-asm.h".
2443         (PARMS): Do not use macros from bp-asm.h.
2444         (S1): Likewise.
2445         (SIZE): Likewise.
2446         (__mpn_submul_1): Do not use BP_SYM.
2447         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2448         <bp-sym.h>.
2449         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2450         and <bp-asm.h>.
2451         (PARMS): Do not use macros from bp-asm.h.
2452         (FLAGS): Likewise.
2453         (PTID): Likewise.
2454         (TLS): Likewise.
2455         (CTID): Likewise.
2456         (__clone): Do not use BP_SYM.
2457         (clone): Do not use BP_SYM in weak_alias.
2458         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2459         and <bp-asm.h>.
2460         (PARMS): Do not use macros from bp-asm.h.
2461         (LEN): Likewise.
2462         (__mmap64): Do not use BP_SYM.
2463         (mmap64): Do not use BP_SYM in weak_alias.
2464         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2465         <bp-sym.h> and <bp-asm.h>.
2466         (PARMS): Do not use macros from bp-asm.h.
2467         (__posix_fadvise64_l64): Do not use BP_SYM.
2468         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2469         (PARMS): Do not use macros from bp-asm.h.
2470         (NSOPS): Likewise.
2471         (semtimedop): Do not use BP_SYM.
2472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2473         and <bp-asm.h>.
2474
2475 2013-02-21  Allan McRae  <allan@archlinux.org>
2476
2477         * manual/message.texi (Charset conversion in gettext):
2478         Move @end statement to beginning of line.
2479
2480 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2481
2482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2483         static.
2484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2485         Likewise.
2486
2487         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2488         (denorm): Likewise.
2489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2491
2492 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2493
2494         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2495         tail-call to the resolved function if pltexit isn't needed.
2496
2497 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2498
2499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2500         or Y being zero as being unlikely.
2501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2502         Likewise.
2503
2504 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2505
2506         * manual/nss.texi (System Databases and Name Service Switch):
2507         Remove frobnicate @pxref.
2508
2509 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2510
2511         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2512         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2513
2514 2013-02-20  Petr Machata  <pmachata@redhat.com>
2515
2516         * elf/elf.h (R_ARM_TARGET1): New macro.
2517         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2518         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2519         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2520         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2521         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2522         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2523         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2524         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2525         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2526         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2527         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2528         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2529         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2530         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2531         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2532         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2533         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2534         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2535         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2536         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2537         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2538         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2539         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2540         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2541         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2542         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2543         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2544         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2545         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2546         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2547         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2548         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2549         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2550         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2551         (R_ARM_THM_GOT_BREL12): Likewise.
2552         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2553         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2554         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2555         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2556         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2557         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2558         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2559         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2560         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2561
2562 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2563
2564         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2565         __attribute_used__ to __attribute__ ((unused)).
2566
2567 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2568
2569         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2570         powerpc mpa.c.
2571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2572         comment formatting.
2573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2574
2575 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2576
2577         [BZ #13550]
2578         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2579         Remove macro.
2580         (ENTER): Remove both macro definitions.
2581         (LEAVE): Likewise.
2582         (CHECK_BOUNDS_LOW): Likewise.
2583         (CHECK_BOUNDS_HIGH): Likewise.
2584         (CHECK_BOUNDS_BOTH): Likewise.
2585         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2586         (RETURN_BOUNDED_POINTER): Likewise.
2587         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2588         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2589         (POP_ERRNO_LOCATION_RETURN): Likewise.
2590         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2591         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2592         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2593         macros.
2594         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2595         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2596         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2597         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2598         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2599         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2600         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2601         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2602         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2603         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2604         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2605         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2606         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2607         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2608         removed macros.
2609         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2610         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2611         macros.
2612         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2613         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2614         * sysdeps/i386/i586/memset.S (memset): Likewise.
2615         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2616         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2617         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2618         macros.
2619         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2620         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2621         Change uses of L(2) to L(out).
2622         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2623         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2624         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2625         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2626         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2627         removed macros.
2628         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2629         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2630         macros.
2631         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2632         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2633         (RETURN): Do not use macro LEAVE.
2634         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2635         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2636         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2637         * sysdeps/i386/i686/memset.S (memset): Likewise.
2638         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2639         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2640         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2641         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2642         Likewise.
2643         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2644         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2645         L(1_2) and L(1_3) into L(1).
2646         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2647         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2648         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2649         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2650         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2651         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2652         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2653         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2654         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2655         macros.
2656         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2657         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2658         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2659         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2660         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2661         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2662         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2663         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2664         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2665         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2666         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2667         * sysdeps/i386/strspn.S (strspn): Likewise.
2668         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2669         conditional code.
2670         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2671         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2672         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2673         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2674         L(1_3) into L(1_1).
2675         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2676         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2677         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2678         macros.
2679         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2680
2681 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2682
2683         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2684         macro.
2685
2686 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2687
2688         * math/atest-exp.c (exp_mpn): Remove ROUND.
2689         * math/atest-exp2.c (exp_mpn): Likewise.
2690         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2691
2692         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2693         * stdlib/tst-tls-atexit-lib.c: Likewise.
2694         * stdlib/tst-tls-atexit.c: Likewise.
2695
2696 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2697
2698         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2699         and __attribute_alloc_size__.
2700
2701 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2702
2703         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2704         __attribute_alloc_size__.
2705         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2706         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2707
2708 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2709
2710         * include/programs/xmalloc.h: New file.
2711         * catgets/gencat.c: Include it.
2712         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2713         * elf/pldd.c: Likewise.
2714         * iconv/iconv_charmap.c: Likewise.
2715         * iconv/iconvconfig.c: Likewise.
2716         * iconv/strtab.c: Likewise.
2717         * locale/programs/locale.c: Likewise.
2718         * locale/programs/localedef.h: Likewise.
2719         * locale/programs/simple-hash.c: Likewise.
2720         * nscd/nscd.h: Likewise.
2721         * nss/makedb.c: Likewise.
2722         * sysdeps/generic/ldconfig.h: Likewise.
2723
2724 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2725
2726         * Versions.def: Add GLIBC_2.18.
2727         * include/link.h (struct link_map): New member l_tls_dtor_count.
2728         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2729         (__call_tls_dtors): Likewise.
2730         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2731         __cxa_thread_atexit_impl.
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2739         Likewise.
2740         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2742         Likewise.
2743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2744         Likewise.
2745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2747         Likewise.
2748         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2749         (tests): Add test case tst-tls-atexit.
2750         (modules-names): Add shared library for tst-tls-atexit.
2751         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2752         (GLIBC_PRIVATE): Add __call_tls_dtors.
2753         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2754         for libstdc++.
2755         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2756         * stdlib/tst-tls-atexit.c: New test case.
2757         * stdlib/tst-tls-atexit-lib.c: New test case.
2758
2759         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2760
2761         * elf/Versions (ld): Add _dl_find_dso_for_object.
2762         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2763         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2764         (dl_open_worker): Use _dl_find_dso_for_object.
2765         * elf/dl-sym.c (do_sym): Likewise.
2766         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2767
2768 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2769
2770         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2771         Syntactic changes only.
2772         (_dl_runtime_profile): Do a tail-call to the resolved function.
2773
2774 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2775
2776         [BZ #13550]
2777         * sysdeps/x86_64/bp-asm.h: Remove file.
2778         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2779         <bp-sym.h> and <bp-asm.h>.
2780         (__clone): Do not use BP_SYM.
2781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2782         <bp-sym.h> and <bp-asm.h>.
2783         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2784         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2785         "bp-asm.h".
2786         (_setjmp): Do not use BP_SYM.
2787         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2788         "bp-asm.h".
2789         (setjmp): Do not use BP_SYM.
2790         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2791         libc_hidden_def.
2792         (mempcpy): Do not use BP_SYM in weak_alias.
2793         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2794         "bp-asm.h".
2795         (strchr): Do not use BP_SYM.
2796         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2797         "bp-asm.h".
2798         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2799         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2800         (_start): Do not use BP_SYM.
2801         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2802         "bp-asm.h".
2803         (strcat): Do not use BP_SYM.
2804         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2805         "bp-asm.h".
2806         (STRCMP): Do not use BP_SYM.
2807         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2808         "bp-asm.h".
2809         (STRCPY): Do not use BP_SYM.
2810         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2811         "bp-asm.h".
2812         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2813         "bp-asm.h".
2814         (FUNCTION): Do not use BP_SYM.
2815         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2816         weak_alias.
2817         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2818
2819 2013-02-17  Andreas Jaeger  <aj@suse.de>
2820
2821         * time/Versions: Sort entries.
2822         * string/Versions: Likewise.
2823         * resolv/Versions: Likewise.
2824         * posix/Versions: Likewise.
2825         * iconv/Versions: Likewise.
2826         * elf/Versions: Likewise.
2827         * wcsmbs/Versions: Likewise.
2828
2829 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2830
2831         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2832         loop termination condition.
2833
2834         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2835         variable to calculate EZ.
2836         (__sqr): Likewise.
2837
2838         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2839         the lower precision input.
2840
2841 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2842
2843         [BZ #13550]
2844         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2845         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2846         (run-via-rtld-prefix): Do not handle %-bp tests.
2847         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2848         (all-object-suffixes): Remove .ob.
2849         (bppfx): Remove variable.
2850         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2851         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2852         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2853         [$(build-bounded) = yes] (libtype.ob): Likewise.
2854         * Makerules (elide-routines.ob): Remove variable.
2855         (do-tests-clean): Do not handle *-bp.out.
2856         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2857         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2858         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2859         (tests): Do not include $(tests-bp.out).
2860         (xtests): Do not include $(xtests-bp.out).
2861         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2862         [$(build-bounded) = yes] ($(addprefix
2863         $(objpfx),$(binaries-bounded))): Remove rule.
2864         ($(objpfx)%-bp.out): Remove rule.
2865         * config.make.in (build-bounded): Remove variable.
2866         * crypt/Makefile [$(build-bounded) = yes]
2867         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2868         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2869         append to variable.
2870         [$(build-bounded) = yes] (install-lib): Likewise.
2871         [$(build-bounded) = yes] (generated): Likewise.
2872         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2873         Remove rule.
2874         * intl/Makefile [$(build-bounded) = yes]
2875         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2876         * math/Makefile [$(build-bounded) = yes]
2877         ($(tests:%=$(objpfx)%-bp): Likewise.
2878         * misc/Makefile [$(build-bounded) = yes]
2879         ($(objpfx)tst-tsearch-bp): Likewise.
2880         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2881         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2882         Remove dependency.
2883         * string/Makefile (o-objects.ob): Remove variable.
2884         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2885         (CFLAGS-.ob): Remove variable.
2886         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2887         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2888         both definitions of variable.
2889         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2890         (ASFLAGS-.ob): Remove variable.
2891
2892 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2893
2894         [BZ #13550]
2895         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2896         Remove __BOUNDED_POINTERS__ from condition.
2897         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2898         * string/bits/string2.h [!__NO_STRING_INLINES &&
2899         !__BOUNDED_POINTERS__]: Likewise.
2900         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2901         Likewise.
2902         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2903         Remove conditional code.
2904         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2905         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2906         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2907         condition.
2908
2909         [BZ #13550]
2910         * csu/libc-start.c: Do not include <bp-sym.h>.
2911         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2912         * elf/dl-open.c: Do not include <bp-sym.h>.
2913         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2914         * math/fegetenv.c: Do not include <bp-sym.h>.
2915         (fegetenv): Do not use BP_SYM in versioned symbols.
2916         * nptl/sysdeps/pthread/bits/libc-lockP.h
2917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2918         <bp-sym.h>.
2919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2920         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2922         (__pthread_mutex_destroy): Likewise.
2923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2924         (__pthread_mutex_lock): Likewise.
2925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2926         (__pthread_mutex_trylock): Likewise.
2927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2928         (__pthread_mutex_unlock): Likewise.
2929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2930         (__pthread_mutexattr_init): Likewise.
2931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2932         (__pthread_mutexattr_destroy): Likewise.
2933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2934         (__pthread_mutexattr_settype): Likewise.
2935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2936         (__pthread_rwlock_init): Likewise.
2937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2938         (__pthread_rwlock_destroy): Likewise.
2939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2940         (__pthread_rwlock_rdlock): Likewise.
2941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2942         (__pthread_rwlock_tryrdlock): Likewise.
2943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2944         (__pthread_rwlock_wrlock): Likewise.
2945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2946         (__pthread_rwlock_trywrlock): Likewise.
2947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2948         (__pthread_rwlock_unlock): Likewise.
2949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2950         (__pthread_key_create): Likewise.
2951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2952         (__pthread_setspecific): Likewise.
2953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2954         (__pthread_getspecific): Likewise.
2955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2956         Likewise.
2957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2958         (_pthread_cleanup_push_defer): Likewise.
2959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2960         (_pthread_cleanup_pop_restore): Likewise.
2961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2962         (pthread_setcancelstate): Likewise.
2963         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2964         <bp-sym.h>.
2965         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2966         (memchr): Do not use BP_SYM in weak_alias.
2967         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2968         (fegetenv): Do not use BP_SYM in versioned symbols.
2969         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2970         (fesetenv): Do not use BP_SYM in versioned symbols.
2971         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2972         (feupdateenv): Do not use BP_SYM in versioned symbols.
2973         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2974         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2975         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2976         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2977         (open64): Do not use BP_SYM in weak_alias.
2978         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2979         (fegetenv): Do not use BP_SYM in versioned symbols.
2980         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2981         (fesetenv): Do not use BP_SYM in versioned symbols.
2982         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2983         (feupdateenv): Do not use BP_SYM in versioned symbols.
2984         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2985         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2986         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2987         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2988         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2989         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2990         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2991         <bp-sym.h>.
2992         (__libc_start_main): Do not use BP_SYM.
2993
2994 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2995
2996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2997         redundant return line.
2998         (norm): Likewise.
2999         (denorm): Likewise.
3000         (dbl_mp): Likewise.
3001         (sub_magnitudes): Likewise.
3002         (__add): Likewise.
3003         (__sub): Likewise.
3004         (__mul): Likewise.
3005         (__inv): Likewise.
3006         (__dvd): Likewise.
3007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3008         (norm): Likewise.
3009         (denorm): Likewise.
3010         (dbl_mp): Likewise.
3011         (sub_magnitudes): Likewise.
3012         (__add): Likewise.
3013         (__sub): Likewise.
3014         (__mul): Likewise.
3015         (__inv): Likewise.
3016         (__dvd): Likewise.
3017
3018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3019         instead of __mul.
3020         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3021         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3022         (cc32): Likewise.
3023
3024         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3025         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3027         of __mul for squares.
3028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3029         function
3030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3031         Likewise.
3032         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3033         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3034
3035 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
3036
3037         [BZ #13550]
3038         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3039         code.
3040         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3041         prototype or function definition.  Rename ubp_* variables and
3042         parameters.  Remove argv definitions conditional on
3043         [__BOUNDED_POINTERS__].
3044         * debug/backtrace.c (__backtrace): Do not use __unbounded.
3045         * elf/dl-runtime.c (_dl_fixup): Likewise.
3046         * include/set-hooks.h (RUN_HOOK): Likewise.
3047         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3048         definition.
3049         * string/strcpy.c (strcpy): Do not use __unbounded.
3050         * sysdeps/generic/frame.h (struct layout): Likewise.
3051         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3052         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3053         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3054         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3055         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3056         (__backtrace): Likewise.
3057         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3058         use __ptrvalue.
3059         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3060         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3061         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3062         Likewise.
3063         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3064         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3065         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3066         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3067         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3068         Do not use __unbounded.
3069         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3070         Rename __unboundedrlimits parameter to rlimits in prototype.
3071         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3072         Do not use __unbounded.
3073         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3074         not use __ptrvalue.
3075         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3076         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3077         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3078         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3079         __ptrvalue or __unbounded.
3080         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3081         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3082         use __unbounded.
3083         (__new_msgctl): Do not use __ptrvalue.
3084         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3085         __unbounded.
3086         (__libc_msgrcv): Do not use __ptrvalue.
3087         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3088         startup_info): Do not use __unbounded.
3089         (__libc_start_main): Likewise.  Rename ubp_* variables and
3090         parameters.  Remove argv definitions conditional on
3091         [__BOUNDED_POINTERS__].
3092         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3093         __ptrvalue.
3094         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3095         use __unbounded.
3096         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3097         or __ptrvalue.
3098         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3099         use __unbounded.
3100         (__new_shmctl): Do not use __ptrvalue.
3101         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3102         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3106         (__libc_sigaction): Likewise.
3107         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3108         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3109         Likewise.
3110         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3111
3112 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3113
3114         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3115
3116         * string/mempcpy.c: Implement by calling memcpy.
3117
3118 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3119
3120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3121
3122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3123         evaluation.
3124
3125         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3126         values in the mantissa.
3127
3128         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3129         minimize writes to Z.
3130         (sub_magnitudes): Simplify code a bit.
3131
3132 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3133
3134         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3135         from the message.  The linker prefixes all warnings with that already.
3136
3137 2013-02-12  Andreas Schwab  <schwab@suse.de>
3138
3139         [BZ #15078]
3140         * posix/regexec.c (extend_buffers): Add parameter min_len.
3141         (check_matching): Pass minimum needed length.
3142         (clean_state_log_if_needed): Likewise.
3143         (get_subexp): Likewise.
3144         * posix/Makefile (tests): Add bug-regex34.
3145         (bug-regex34-ENV): Define.
3146         * posix/bug-regex34.c: New file.
3147
3148         [BZ #11561]
3149         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3150         elements compare against the byte sequence of it, not its name.
3151         * posix/Makefile (tests): Add bug-regex35.
3152         (bug-regex35-ENV): Define.
3153         * posix/bug-regex35.c: New file.
3154
3155 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3156
3157         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3158         comment.
3159         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3160         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3161         (CHECK_EOL): Add undef.
3162
3163 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3164
3165         * bits/stdlib-bsearch.h: New file.
3166         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3167         * stdlib/stdlib.h: Likewise.
3168
3169 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3170
3171         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3172         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3173         declaration.
3174         * manual/search.texi (Array Search Function): Add missing const in
3175         lfind prototype.
3176         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3177         declaration to use rlim_t.
3178         (Basic Scheduling Functions): Remove erroneous const from
3179         sched_getparam prototype.  Remove erroneous * from
3180         sched_get_priority_max and sched_get_priority_min prototypes.
3181         (Resource Usage): Fix summary @comment on vtimes to refer to
3182         sys/vtimes.h rather than vtimes.h.
3183         Add missing *s in vtimes prototype.
3184         (Limits on Resources): Fix ulimit prototype to return long int.
3185         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3186         prototypes to use long int rather than double.
3187         (BSD Random): Fix initstate and setstate to use char *, not void *.
3188         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3189         prototype to make second argument 'struct aiocb64 *const[]'.
3190         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3191         (Status of AIO Operations): Remove erroneous const in aio_return and
3192         aio_return64 prototypes.
3193         (Synchronizing I/O): Fix sync prototype to return void.
3194         * manual/startup.texi (Suboptions): Remove an erroneous const in
3195         getsubopt prototype.
3196         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3197         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3198         use size_t rather than int.
3199         (Scanning All Users): Likewise for getpwent_r.
3200         (Setting Groups): Add missing const to setgroups prototype.
3201         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3202         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3203         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3204         'const void *' rather than 'const char *'.
3205         (Host Address Functions): Likewise for inet_ntop.
3206         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3207         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3208         ssize_t for return value.
3209         (Sending Data): Likewise for send, sendto, sendmsg.
3210         (Socket Option Functions): Add a missing const in setsockopt prototype.
3211         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3212         use wchar_t for the argument.
3213         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3214         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3215         take no arguments.
3216         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3217         double/float/long double for second argument.
3218         Fix return types of significand, significandf, significandl.
3219         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3220         argument in fchmod prototype.
3221         (File Owner): Use uid_t and gid_t in fchown prototype.
3222         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3223         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3224         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3225         use 'const struct dirent **' as argument types to CMP function pointer
3226         argument.
3227         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3228         (File Times): Fix summary magic @comment for struct utimbuf and utime
3229         to refer to utime.h, not time.h.
3230         * manual/string.texi (Argz Functions): Add missing const in
3231         argz_extract and argz_next prototypes.
3232         (Finding Tokens in a String): Likewise for basename.
3233         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3234         (Copying and Concatenation): Fix typo in wmemmove prototype.
3235         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3236         (Signal Stack): Remove erroneous const in sigstack prototype.
3237         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3238         prototype.
3239         (Simple Calendar Time): Likewise for stime.
3240         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3241         prototype.
3242         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3243         say sys/sysctl.h instead.
3244         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3245         and vsyslog prototypes.
3246
3247 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3248
3249         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3250         Remove.
3251
3252 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3253
3254         * misc/sys/mman.h: Fix typo in mremap comment.
3255
3256 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3257
3258         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3259         the '\0' terminator.
3260
3261 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3262
3263         [BZ #13550]
3264         * debug/segfault.c: Don't include <bp-checks.h>.
3265         * sysdeps/generic/bp-checks.h: Remove file.
3266         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3267         (__GETDENTS): Don't use CHECK_N.
3268         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3269         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3270         (__getgroups): Don't use CHECK_N.
3271         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3272         (setgroups): Don't use CHECK_N.
3273         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3274         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3275         (__libc_msgrcv): Don't use CHECK_N.
3276         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3277         (__libc_msgsnd): Don't use CHECK_N.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3279         <bp-checks.h>.
3280         (__libc_pread): Don't use CHECK_N.
3281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3282         include <bp-checks.h>.
3283         (__libc_pread64): Don't use CHECK_N.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3285         include <bp-checks.h>.
3286         (__libc_pwrite): Don't use CHECK_N.
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3288         include <bp-checks.h>.
3289         (__libc_pwrite64): Don't use CHECK_N.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3291         <bp-checks.h>.
3292         (__libc_pread): Don't use CHECK_N.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3294         include <bp-checks.h>.
3295         (__libc_pread64): Don't use CHECK_N.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3297         include <bp-checks.h>.
3298         (__libc_pwrite): Don't use CHECK_N.
3299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3300         include <bp-checks.h>.
3301         (__libc_pwrite64): Don't use CHECK_N.
3302         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3303         (do_pread): Don't use CHECK_N.
3304         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3305         (do_pread64): Don't use CHECK_N.
3306         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3307         (do_pwrite): Don't use CHECK_N.
3308         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3309         (do_pwrite64): Don't use CHECK_N.
3310         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3311         (__libc_readv): Don't use CHECK_N.
3312         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3313         (semop): Don't use CHECK_N.
3314         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3315         <bp-checks.h>.
3316         (semtimedop): Don't use CHECK_N.
3317         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3318         (__libc_pread): Don't use CHECK_N.
3319         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3320         <bp-checks.h>.
3321         (__libc_pread64): Don't use CHECK_N.
3322         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3323         <bp-checks.h>.
3324         (__libc_pwrite): Don't use CHECK_N.
3325         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3326         <bp-checks.h>.
3327         (__libc_pwrite64): Don't use CHECK_N.
3328         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3329         <bp-checks.h>.
3330         (__libc_msgrcv): Don't use CHECK_N.
3331         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3332         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3333         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3334         (__libc_writev): Don't use CHECK_N.
3335
3336 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3337
3338         * string/strcpy.c: Removed unused variable.
3339
3340         * Makeconfig (+sysdep-includes): Define with := rather than =.
3341         Use an existing include/ subdir of each sysdeps dir before it.
3342
3343 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3344
3345         * nscd/connection.c (register_traced_file): Comment function.
3346         [HAVE_INOTIFY] (union __inev): Define.
3347         [HAVE_INOTIFY] (inotify_check_files): New function.
3348         [HAVE_INOTIFY] (clear_db_cache): Likewise.
3349         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3350         clear_db_cache.
3351         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3352
3353 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3354
3355         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3356         loaded if not already and that a failure is permanent.
3357
3358 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3359
3360         [BZ #15006]
3361         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3362         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3363
3364 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3365
3366         [BZ #13550]
3367         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3368         (CHECK_1_NULL_OK): Likewise.
3369         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3370         (__fxstat): Do not use CHECK_1.
3371         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3372         <bp-checks.h>.
3373         (___fxstat64): Do not use CHECK_1.
3374         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3375         <bp-checks.h>.
3376         (__fxstatat): Do not use CHECK_1.
3377         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3378         <bp-checks.h>.
3379         (__fxstatat64): Do not use CHECK_1.
3380         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3381         <bp-checks.h>.
3382         (__fxstat): Do not use CHECK_1.
3383         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3384         <bp-checks.h>.
3385         (__fxstatat): Do not use CHECK_1.
3386         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3387         <bp-checks.h>.
3388         (__getresgid): Do not use CHECK_1.
3389         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3390         <bp-checks.h>.
3391         (__getresuid): Do not use CHECK_1.
3392         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3393         <bp-checks.h>.
3394         (__lxstat): Do not use CHECK_1.
3395         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3396         <bp-checks.h>.
3397         (__old_msgctl): Do not use CHECK_1.
3398         (__new_msgctl): Likewise.
3399         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3400         <bp-checks.h>.
3401         (__new_setrlimit): Do not use CHECK_1.
3402         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3403         <bp-checks.h>.
3404         (__old_shmctl): Do not use CHECK_1.
3405         (__new_shmctl): Likewise.
3406         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3407         <bp-checks.h>.
3408         (__xstat): Do not use CHECK_1.
3409         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3410         (__lxstat): Do not use CHECK_1.
3411         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3412         <bp-checks.h>.
3413         (___lxstat64): Do not use CHECK_1.
3414         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3415         (__old_msgctl): Do not use CHECK_1.
3416         (__new_msgctl): Likewise.
3417         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3418         <bp-checks.h>.
3419         (__gettimeofday): Do not use CHECK_1.
3420         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3421         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3422         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3423         <bp-checks.h>.
3424         (__gettimeofday): Do not use CHECK_1.
3425         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3426         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3427         (__new_shmctl): Do not use CHECK_1.
3428         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3429         <bp-checks.h>.
3430         (do_sigtimedwait): Do not use CHECK_1.
3431         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3432         <bp-checks.h>.
3433         (do_sigwaitinfo): Do not use CHECK_1.
3434         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3435         <bp-checks.h>.
3436         (msgctl): Do not use CHECK_1.
3437         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3438         <bp-checks.h>.
3439         (shmctl): Do not use CHECK_1.
3440         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3441         (ustat): Do not use CHECK_1.
3442         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3443         <bp-checks.h>.
3444         (__fxstat): Do not use CHECK_1.
3445         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3446         <bp-checks.h>.
3447         (__fxstatat): Do not use CHECK_1.
3448         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3449         <bp-checks.h>.
3450         (__lxstat): Do not use CHECK_1.
3451         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3452         <bp-checks.h>.
3453         (__xstat): Do not use CHECK_1.
3454         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3455         (__xstat): Do not use CHECK_1.
3456         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3457         (___xstat64): Do not use CHECK_1.
3458
3459         [BZ #13550]
3460         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3461         definitions.
3462         (CHECK_BOUNDS_HIGH): Likewise.
3463         * string/strcpy.c: Do not include <bp-checks.h>.
3464         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3465
3466 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3467
3468         * nscd/nscd-client.h (__nscd_drop_map_ref):
3469         Add __attribute__ ((unused)).
3470         * nis/nss-nisplus.h (niserr2nss): Likewise.
3471
3472         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3473         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3474
3475         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3476         Remove inline keyword.
3477         * include/rounding-mode.h (round_away): Likewise.
3478         * libio/wfileops.c (adjust_wide_data): Likewise.
3479         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3480         (__m128i_strloadu_tolower): Likewise.
3481         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3482         (__m128i_strloadu_tolower): Likewise.
3483         * time/mktime.c (ydhms_diff): Likewise.
3484         * locale/elem-hash.h (elem_hash): Likewise.
3485         * locale/setlocale.c (setdata): Likewise.
3486         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3487         (re_string_wchar_at): Likewise.
3488         (bitset_not, bitset_merge, bitset_mask): Likewise.
3489         [!(__GNUC__ > 3)] (inline): Remove macro.
3490         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3491         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3492         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3493         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3494         * string/memcmp.c (memcmp_bytes): Likewise.
3495         * locale/programs/locarchive.c (compute_hashval): Likewise.
3496         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3497         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3498         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3499         * nss/getent.c (print_rpc, print_protocols): Likewise.
3500         (print_passwd, print_group, print_aliases): Likewise.
3501         * nis/nss-nisplus.h (niserr2nss): Likewise.
3502         * nscd/connections.c (restart_p): Likewise.
3503         Change return type to bool.
3504
3505 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3506
3507         * Makeconfig (all-Depend-files): Add existing
3508         $(sorted-subdirs:=/Depend) files.
3509         (all-subdirs): Remove nss.
3510         * sysdeps/unix/inet/Subdirs: Add it here instead.
3511         * hesiod/Depend: New file.
3512
3513         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3514         instead of calling alloca.
3515
3516         * io/lseek.c (__lseek): Rename to __libc_lseek.
3517         Define __lseek as an alias.
3518
3519         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3520
3521 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3522
3523         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3524         else clause and remove check for non-standard endianness.
3525
3526 2013-02-04  David S. Miller  <davem@davemloft.net>
3527
3528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3529
3530 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3531
3532         [BZ #13550]
3533         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3534         (__ubp_memchr): Remove prototype.
3535         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3536         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3537         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3538         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3539         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3540         Remove alias.
3541         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3542         (__ubp_memchr): Likewise.
3543         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3544         (__ubp_memchr): Likewise.
3545         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3546         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3547         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3548         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3549         CHECK_STRING.
3550         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3551         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3552         (__getcwd): Do not use CHECK_STRING.
3553         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3554         <bp-checks.h>.
3555         (__real_chown): Do not use CHECK_STRING.
3556         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3557         <bp-checks.h>.
3558         (fchownat): Do not use CHECK_STRING.
3559         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3560         CHECK_STRING.
3561         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3562         <bp-checks.h>.
3563         (__lchown): Do not use CHECK_STRING.
3564         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3565         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3566         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3567         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3569         include <bp-checks.h>.
3570         (truncate64): Do not use CHECK_STRING.
3571         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3572         <bp-checks.h>.
3573         (__real_chown): Do not use CHECK_STRING.
3574         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3575         <bp-checks.h>.
3576         (__lchown): Do not use CHECK_STRING.
3577         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3578         <bp-checks.h>.
3579         (__chown): Do not use CHECK_STRING.
3580         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3581         <bp-checks.h>.
3582         (truncate64): Do not use CHECK_STRING.
3583         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3584         Likewise.
3585         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3586         (__xmknod): Do not use CHECK_STRING.
3587         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3588         <bp-checks.h>.
3589         (__xmknodat): Do not use CHECK_STRING.
3590         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3591         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3592
3593 2013-02-04  Andreas Schwab  <schwab@suse.de>
3594
3595         [BZ #14142]
3596         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3597         * include/netdb.h: Likewise for h_errno.
3598         * elf/tst-stackguard1.c: Include <tls.h>.
3599
3600 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3601
3602         * elf/link.h (struct link_map): Extend the l_addr comment.
3603         * include/link.h (struct link_map): Likewise.
3604
3605 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3606
3607         [BZ #13550]
3608         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3609         (BOUNDED_1): Remove macro.
3610         * debug/backtrace.c: Don't include <bp-checks.h>.
3611         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3612         (__backtrace): Likewise.
3613         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3614         <bp-checks.h>.
3615         (__backtrace): Don't use BOUNDED_1.
3616         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3617         <bp-checks.h>.
3618         (__backtrace): Don't use BOUNDED_1.
3619         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3620         (__backtrace): Don't use BOUNDED_1.
3621         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3622         (shmat): Don't use BOUNDED_N.
3623
3624 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3625
3626         [BZ #13550]
3627         * sysdeps/generic/bp-start.h: Remove file.
3628         * csu/libc-start.c: Don't include <bp-start.h>.
3629         (LIBC_START_MAIN): Set up __environ directly instead of using
3630         INIT_ARGV_and_ENVIRON.
3631         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3632         <bp-start.h>.
3633
3634         [BZ #13550]
3635         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3636         definitions.
3637         (CHECK_FCNTL): Likewise.
3638         (CHECK_N_PAGES): Likewise.
3639
3640         [BZ #13550]
3641         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3642         definitions.
3643         (CHECK_SIGSET_NULL_OK): Likewise.
3644         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3645         <bp-checks.h>.
3646         (sigpending): Don't use CHECK_SIGSET.
3647         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3648         <bp-checks.h>.
3649         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3650         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3651         <bp-checks.h>.
3652         (do_sigsuspend): Don't use CHECK_SIGSET.
3653         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3654         use CHECK_SIGSET.
3655         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3656         (do_sigwait): Don't use CHECK_SIGSET.
3657         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3658         use CHECK_SIGSET.
3659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3660         include <bp-checks.h>.
3661         (sigpending): Don't use CHECK_SIGSET.
3662         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3663         include <bp-checks.h>.
3664         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3665         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3666         <bp-checks.h>.
3667         (sigpending): Don't use CHECK_SIGSET.
3668         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3669         <bp-checks.h>.
3670         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3671
3672         [BZ #13550]
3673         * sysdeps/generic/bp-semctl.h: Remove file.
3674         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3675         <bp-checks.h> and <bp-semctl.h>.
3676         (__old_semctl): Don't use CHECK_SEMCTL.
3677         (__new_semctl): Likewise.
3678         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3679         and <bp-semctl.h>.
3680         (__old_semctl): Don't use CHECK_SEMCTL.
3681         (__new_semctl): Likewise.
3682         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3683         <bp-checks.h> and <bp-semctl.h>.
3684         (__old_semctl): Don't use CHECK_SEMCTL.
3685         (__new_semctl): Likewise.
3686         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3687         <bp-checks.h> and <bp-semctl.h>.
3688         (semctl): Don't use CHECK_SEMCTL.
3689
3690         [BZ #13550]
3691         * Makerules (elide-bp-thunks): Remove variable.
3692         (elide-routines.oS): Don't use $(elide-bp-thunks).
3693         (elide-routines.os): Likewise.
3694         (elide-routines.o): Likewise.
3695         (elide-routines.op): Likewise.
3696         (elide-routines.og): Likewise.
3697         (objects): Don't use $(bp-thunks).
3698         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3699         include.
3700         (common-generated): Do not add s-proto-bp.d.
3701         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3702         (int): Likewise.
3703         (typ): Likewise.
3704         Do not generate makefile rules for bounded-pointer thunks.
3705         * sysdeps/generic/bp-thunks.h: Remove file.
3706         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3707         * sysdeps/unix/s-proto-bp.S: Likewise.
3708
3709         [BZ #15062]
3710         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3711         parts of result separately when argument is not close to line from
3712         -i to i and one part of argument is small.
3713         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3714         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3715         * math/libm-test.inc (cacos_test): Add more tests.
3716         (casin_test): Likewise.
3717         (casinh_test): Likewise.
3718         * sysdeps/i386/fpu/libm-test-ulps: Update.
3719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3720
3721 2013-01-31  David S. Miller  <davem@davemloft.net>
3722
3723         * po/de.po: Update from translation team.
3724
3725 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3726
3727         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3728
3729 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3730
3731         * configure.in (_AC_PROG_CC_C89): New definition.
3732         * configure: Regenerate.
3733
3734         * configure.in (AC_PROG_CPP): New definition.
3735         * configure: Regenerate.
3736
3737 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3738
3739         * debug/tst-backtrace.h: New file.
3740         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3741         (ret): Remove variable.
3742         (x): Likewise.
3743         (FAIL): Remove macro.
3744         (NO_INLINE): Likewise.
3745         (fn1): Use match function instead of strstr.
3746         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3747         (ret): Remove variable.
3748         (x): Likewise.
3749         (FAIL): Remove macro.
3750         (NO_INLINE): Likewise.
3751         (fn): Use match function instead of strstr.
3752         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3753         (ret): Remove variable.
3754         (x): Likewise.
3755         (FAIL): Remove macro.
3756         (NO_INLINE): Likewise.
3757         (handle_signal): Use match function instead of strstr.
3758         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3759         (ret): Remove variable.
3760         (x): Likewise.
3761         (FAIL): Remove macro.
3762         (NO_INLINE): Likewise.
3763         (handle_signal): Use match function instead of strstr.
3764
3765 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3766
3767         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3768
3769 2013-01-23  David S. Miller  <davem@davemloft.net>
3770
3771         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3772         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3773         argument of CAS if possible.
3774         * sysdeps/sparc/sparc64/bits/atomic.h
3775         (__arch_compare_and_exchange_val_32_acq): Likewise.
3776         (__arch_compare_and_exchange_val_64_acq): Likewise.
3777
3778 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3779
3780         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3781         * sysdeps/posix/ulimit.c: ... this.
3782         Include <limits.h>.
3783         * sysdeps/unix/bsd/ulimit.c: Remove file.
3784
3785 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3786
3787         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3788         (LDFLAGS-tst-array5): Likewise.
3789
3790 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3791
3792         [BZ #15036]
3793         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3794         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3795         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3796         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3797
3798 2013-01-21  David S. Miller  <davem@davemloft.net>
3799
3800         * sysdeps/sparc/backtrace.c: New file.
3801         * sysdeps/sparc/sparc32/backtrace.h: New file.
3802         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3803         * sysdeps/sparc/sparc64/backtrace.h: New file.
3804         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3805         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3806         -funwind-tables.
3807
3808 2013-01-21  Andreas Schwab  <schwab@suse.de>
3809
3810         [BZ #15020]
3811         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3812         closed its stdout.
3813
3814 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3815
3816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3817         "mpa2.h".
3818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3819
3820 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3821             Mark Mitchell  <mark@codesourcery.com>
3822             Tom de Vries  <tom@codesourcery.com>
3823             Paul Pluzhnikov  <ppluzhnikov@google.com>
3824
3825         * debug/tst-backtrace2.c: New file.
3826         * debug/tst-backtrace3.c: Likewise.
3827         * debug/tst-backtrace4.c: Likewise.
3828         * debug/tst-backtrace5.c: Likewise.
3829         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3830         (CFLAGS-tst-backtrace3.c): Likewise.
3831         (CFLAGS-tst-backtrace4.c): Likewise.
3832         (CFLAGS-tst-backtrace5.c): Likewise.
3833         (LDFLAGS-tst-backtrace2): Likewise.
3834         (LDFLAGS-tst-backtrace3): Likewise.
3835         (LDFLAGS-tst-backtrace4): Likewise.
3836         (LDFLAGS-tst-backtrace5): Likewise.
3837         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3838         tst-backtrace4 and tst-backtrace5.
3839
3840 2013-01-18  Anton Blanchard  <anton@samba.org>
3841             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3842
3843         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3844         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3845         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3846         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3848         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3849         "+r" and remove output regs list as redundant.  Add explicit inline
3850         asm to specify register of return val to work around compiler codegen
3851         bug.  Remove (int) cast on return value.  Add return type parameter to
3852         use in macro so that this macro does not truncate return value for
3853         64-bit values.
3854         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3855         pass to INTERNAL_VSYSCALL_NCS.
3856         (INLINE_VSYSCALL): Add 'long int' as return type to
3857         INTERNAL_VSYSCALL_NCS macro invocation.
3858         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3859         INTERNAL_VSYSCALL_NCS macro invocation.
3860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3861
3862 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3863
3864         [BZ #14496]
3865         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3866         Fix application of SIMD FP exception mask.
3867
3868         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3869         mp_no from a power of two.
3870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3871         __mpexp_twomm1.  Use __pow_mp.
3872
3873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3874         multiplication.
3875
3876 2013-01-17  David S. Miller  <davem@davemloft.net>
3877
3878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3879
3880 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3881
3882         [BZ #15023]
3883         * include/complex.h: Condition contents on [!_COMPLEX_H].
3884         (__kernel_casinhf): New prototype.
3885         (__kernel_casinh): Likewise.
3886         (__kernel_casinhl): Likewise.
3887         * math/Makefile (libm_calls): Add k_casinh.
3888         * math/k_casinh.c: New file.
3889         * math/k_casinhf.c: Likewise.
3890         * math/k_casinhl.c: Likewise.
3891         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3892         finite nonzero arguments.
3893         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3894         finite nonzero arguments.
3895         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3896         finite nonzero arguments.
3897         * math/s_casinh.c: Do not include <float.h>.
3898         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3899         * math/s_casinhf.c: Do not include <float.h>.
3900         (__casinhf): Move code for finite nonzero arguments to
3901         k_casinhf.c.
3902         * math/s_casinhl.c: Do not include <float.h>.
3903         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3904         redefine.
3905         (__casinhl): Move code for finite nonzero arguments to
3906         k_casinhl.c.
3907         * math/libm-test.inc (cacos_test): Add more tests.
3908         * sysdeps/i386/fpu/libm-test-ulps: Update.
3909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3910
3911 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3912
3913         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3914         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3915         [!HAVE_MREMAP]: Remove [defined linux] case.
3916         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3917
3918 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3919
3920         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3921
3922 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3923
3924         * elf/elf.h (R_386_SIZE32): New relocation.
3925         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3926         R_386_SIZE32.
3927         (elf_machine_rela): Likewise.
3928         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3929         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3930
3931 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3932
3933         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3934         (FP_FAST_FMA): Do not define.
3935         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3936         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3937         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3938         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3939         !_SOFT_FLOAT]: Likewise.
3940         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3941         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3942         value.
3943         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3944         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3945         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3946         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3947         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3948         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3949         file.
3950
3951 2013-01-16  Andreas Schwab  <schwab@suse.de>
3952
3953         [BZ #14327]
3954         * include/stdlib.h (__mktemp): Add declaration.
3955         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3956         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3957
3958 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3959
3960         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3961         definitions.
3962         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3963         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3964         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3965         definitions here.
3966         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3967         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3968         definitions.
3969         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3970         and ONE.
3971         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3972         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3973         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3974         definitions.
3975         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3976         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3977         definitions.
3978         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3979
3980         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3981
3982 2013-01-15  David S. Miller  <davem@davemloft.net>
3983
3984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3985         trunc{,f} to libm-sysdep_routes.
3986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3988         file.
3989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3991         file.
3992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3993         file.
3994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3996         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3997         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3998         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3999         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4000         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4001         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4002
4003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4004         nearbyint{,f} to libm-sysdep_routes.
4005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4007         New file.
4008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4009         file.
4010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4011         New file.
4012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4013         file.
4014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4016         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4017         file.
4018         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4019         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4020         file.
4021         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4022         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4023         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4024
4025         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4026         libc_feholdexcept and libc_fesetenv.
4027
4028 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
4029
4030         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4031
4032 2013-01-14  David S. Miller  <davem@davemloft.net>
4033
4034         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4035         (SPARC_ASM_VIS2_IFUNC): Likewise.
4036         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4038         use of 'siam' instruction.
4039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4040         Likewise.
4041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4042         Likewise.
4043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4044         Likewise.
4045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4050         file.
4051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4052         file.
4053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4054         file.
4055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4056         file.
4057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4062         new VIS2 routines.
4063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4066         Likewise.
4067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4072         routines to libm-sysdep_routines.
4073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4074
4075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4076         fdim/fdimf to libm-sysdep_routines.
4077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4078         file.
4079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4081         file.
4082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4085         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4086         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4087         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4088         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4089
4090 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4091
4092         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4093         to optimize copies.
4094
4095         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4098
4099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4100         local variable MPTWO.
4101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4102         Likewise.
4103
4104 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4105
4106         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4107         GLOB_NOESCAPE.
4108
4109 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4110
4111         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4112
4113 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4114
4115         * manual/pattern.texi (glob_t): Document gl_flags.
4116         (glob64_t): Likewise.
4117
4118 2013-01-11  David S. Miller  <davem@davemloft.net>
4119
4120         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4121         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4122         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4123         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4124         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4125         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4126         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4127         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4128         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4129         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4130         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4131         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4132         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4133
4134         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4135         sparc V9 rather than using V8 code.
4136         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4137         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4138
4139         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4140         Move to...
4141         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4142         Here.
4143
4144 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4145
4146         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4147         not in the main loop.
4148         * configure: Regenerated.
4149
4150 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4151
4152         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4153         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4154         to just #else.
4155         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4156         [!__GLIBC_HAVE_LONG_LONG] case.
4157         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4158         condition to just #else.
4159         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4160         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4161         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4162         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4163         unconditional.
4164         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4165         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4166         #elif condition to just #else.
4167         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4168         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4169         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4170         #elif condition to just #else.
4171
4172 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4173
4174         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4175         (EF_MIPS_ARCH_64): Fix value.
4176         (EF_MIPS_ARCH_32R2): New.
4177         (EF_MIPS_ARCH_64R2): New.
4178
4179 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4180
4181         * Makeconfig (+link-pie-before-libc): New.
4182         (+link-pie-after-libc): Likewise.
4183         (+link-pie-tests): Likewise.
4184         (+link-pie): Rewritten.
4185         (link-before-libc): Remove $(config-LDFLAGS).
4186         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4187         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4188         (config-LDFLAGS): Renamed to ...
4189         (rtld-LDFLAGS): This.
4190         (rtld-tests-LDFLAGS): New macro.
4191         (link-libc-rpath-link): Likewise.
4192         (link-libc-tests-rpath-link): Likewise.
4193         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4194         (link-libc): Prepand $(link-libc-rpath-link).
4195         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4196         (test-program-prefix): New macro.
4197         (test-via-rtld-prefix): Likewise.
4198         (test-program-cmd): Likewise.
4199         (host-test-program-cmd): Likewise.
4200         * Makefile ($(common-objpfx)testrun.sh): Replace
4201         $(run-program-prefix) with $(test-program-prefix).
4202         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4203         $(rtld-LDFLAGS).
4204         ($(common-objpfx)shlib.lds): Likewise.
4205         (build-module-helper): Likewise.
4206         ($(common-objpfx)format.lds): Likewise.
4207         * Rules (binaries-pie-tests): New.
4208         (binaries-pie-notests): Likewise.
4209         (binaries-pie): Rewritten.
4210         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4211         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4212         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4213         (make-test-out): Replace $(host-built-program-cmd) with
4214         $(host-test-program-cmd).
4215         * config.make.in (build-hardcoded-path-in-tests): New variable.
4216         * configure.in (--enable-hardcoded-path-in-tests): New configure
4217         option.
4218         (hardcoded_path_in_tests): New AC_SUBST.
4219         * configure: Regenerated.
4220         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4221         $(built-program-cmd) with $(test-program-cmd).
4222         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4223         (test_program_cmd): This.
4224         * elf/Makefile ($(objpfx)order.out): Run test with
4225         $(test-program-prefix).
4226         ($(objpfx)order2.out): Likewise.
4227         ($(objpfx)tst-initorder.out): Likewise.
4228         ($(objpfx)tst-initorder2.out): Likewise.
4229         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4230         $(test-program-cmd).
4231         ($(objpfx)tst-array1-static.out): Likewise.
4232         ($(objpfx)tst-array2.out): Likewise.
4233         ($(objpfx)tst-array3.out): Likewise.
4234         ($(objpfx)tst-array4.out): Likewise.
4235         ($(objpfx)tst-array5.out): Likewise.
4236         ($(objpfx)tst-array5-static.out): Likewise.
4237         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4238         $(test-program-cmd).
4239         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4240         $(run-program-prefix) with $(test-program-prefix).
4241         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4242         (test_program_prefix): This.
4243         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4244         $(run-program-prefix) with $(test-program-prefix).
4245         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4246         (test_program_prefix): This.
4247         * iconvdata/tst-tables.sh: Likewise.
4248         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4249         $(run-program-prefix) with $(test-program-prefix).
4250         ($(objpfx)tst-translit.out): Likewise.
4251         ($(objpfx)tst-gettext2.out): Likewise.
4252         ($(objpfx)tst-gettext4.out): Likewise.
4253         ($(objpfx)tst-gettext6.out): Likewise.
4254         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4255         (test_program_prefix): This.
4256         * intl/tst-gettext2.sh: Likewise.
4257         * intl/tst-gettext4.sh  Likewise.
4258         * intl/tst-gettext6.sh: Likewise.
4259         * intl/tst-translit.sh: Likewise.
4260         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4261         with $(test-program-cmd).
4262         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4263         $(run-program-prefix) with $(test-program-prefix).
4264         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4265         (test_program_prefix): This.
4266         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4267         $(run-program-prefix) with $(test-program-prefix).
4268         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4269         (test_program_prefix): This.
4270         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4271         * posix/Makefile ($(objpfx)globtest.out): Replace
4272         $(run-via-rtld-prefix) and $(test-wrapper) with
4273         $(test-program-prefix) and $(test-via-rtld-prefix).
4274         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4275         $(test-program-prefix).
4276         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4277         $(host-test-program-cmd).
4278         (tst-spawn-ARGS): Likewise.
4279         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4280         $(test-program-prefix).
4281         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4282         (test_via_rtld_prefix): This.
4283         (test_wrapper): Renamed to ...
4284         (test_program_prefix): This.
4285         (run_program_prefix): Replaced by test_program_prefix.
4286         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4287         (test_program_prefix): This.
4288         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4289         with $(host-test-program-cmd).
4290         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4291         $(run-program-prefix) with $(test-program-prefix).
4292         ($(objpfx)tst-printf.out): Likewise.
4293         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4294         $(test-program-cmd).
4295         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4296         (test_program_prefix): This.
4297         * stdio-common/tst-unbputc.sh: Likewise.
4298         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4299         $(run-program-prefix) with $(test-program-prefix).
4300         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4301         (test_program_prefix): This.
4302         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4303         $(built-program-cmd) with $(test-program-cmd).
4304
4305 2013-01-11  Andreas Jaeger  <aj@suse.de>
4306
4307         [BZ #15003]
4308         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4309         value. Sync with Linux 3.7.
4310
4311 2013-01-10  David S. Miller  <davem@davemloft.net>
4312
4313         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4314         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4315         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4316
4317 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4318
4319         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4320         never set.
4321         * configure: Regenerated.
4322
4323 2013-01-10  David S. Miller  <davem@davemloft.net>
4324
4325         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4326         sparc V9 rather than using V8 code.
4327         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4328         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4329
4330 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4331
4332         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4333         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4334         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4335         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4336         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4337         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4338         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4339         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4340         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4341         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4342         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4343         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4344         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4345         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4346         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4347         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4348         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4349         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4350         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4351         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4352         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4353         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4354         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4355         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4356         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4357         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4358         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4359
4360 2013-01-10  David S. Miller  <davem@davemloft.net>
4361
4362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4363
4364 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4365
4366         * posix/Makefile (tests-static): New variable.
4367         (tests): Add $(tests-static).
4368         (tst-exec-static-ARGS): New variable.
4369         (tst-spawn-static-ARGS): Likewise.
4370         * posix/tst-exec-static.c: New file.
4371         * posix/tst-spawn-static.c: Likewise.
4372         * posix/tst-exec.c: Support run directly.
4373         * posix/tst-spawn.c: Likewise.
4374
4375 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4376
4377         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4378         long.
4379         * math/bits/mathcalls.h (llrint): Likewise.
4380         (llround): Likewise.
4381         * stdlib/stdlib.h (struct drand48_data): Likewise.
4382         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4383         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4384         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4385         Likewise.
4386         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4387         Likewise.
4388         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4389         (elf_greg_t): Likewise.
4390         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4391         (__jmp_buf): Likewise.
4392         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4393         definitions.
4394         (llrint): Likewise, for all definitions.
4395         (llrintl): Likewise.
4396
4397         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4398         Remove [__GNUC__] condition.
4399         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4400         condition to just [__USE_ISOC99].
4401         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4402
4403 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4404
4405         [BZ #14200]
4406         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4407         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4408         defined.
4409         (_POSIX_V6_ILP32_OFF32): Likewise.
4410         (_XBS5_ILP32_OFF32): Likewise.
4411         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4412         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4413
4414 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4415
4416         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4417
4418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4419         doubles __mpexp_twomm1.  Adjust usage.
4420         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4421         Remove.
4422
4423 2013-01-10  Andreas Schwab  <schwab@suse.de>
4424
4425         [BZ #14964]
4426         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4427         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4428
4429 2013-01-09  David S. Miller  <davem@davemloft.net>
4430
4431         [BZ #15003]
4432         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4433         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4434         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4435         TCP_FASTOPEN): Define.
4436         (tcp_repair_opt): New structure.
4437         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4438         enum values.
4439         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4440         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4441         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4442         (tcp_cookie_transactions): New structure.
4443
4444 2013-01-09  Anton Blanchard  <anton@samba.org>
4445
4446         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4447         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4448         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4449         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4450
4451 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4452
4453         * include/features.h (__USE_ANSI): Remove.
4454
4455 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4456
4457         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4458
4459         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4460
4461 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4462
4463         * sysdeps/s390/fpu/libm-test-ulps: Update.
4464
4465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4466
4467         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4468         (__acr): Likewise.
4469         (__cpy): Likewise.
4470         (norm): Likewise.
4471         (denorm): Likewise.
4472         (__mp_dbl): Likewise.
4473         (__dbl_mp): Likewise.
4474         (add_magnitudes): Likewise.
4475         (sub_magnitudes): Likewise.
4476         (__add): Likewise.
4477         (__sub): Likewise.
4478         (__mul): Likewise.
4479         (__inv): Likewise.
4480         (__dvd): Likewise.
4481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4482         (__acr): Likewise.
4483         (__cpy): Likewise.
4484         (norm): Likewise.
4485         (denorm): Likewise.
4486         (__mp_dbl): Likewise.
4487         (__dbl_mp): Likewise.
4488         (add_magnitudes): Likewise.
4489         (sub_magnitudes): Likewise.
4490         (__add): Likewise.
4491         (__sub): Likewise.
4492         (__mul): Likewise.
4493         (__inv): Likewise.
4494         (__dvd): Likewise.
4495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4496         (__acr): Likewise.
4497         (__cpy): Likewise.
4498         (norm): Likewise.
4499         (denorm): Likewise.
4500         (__mp_dbl): Likewise.
4501         (__dbl_mp): Likewise.
4502         (add_magnitudes): Likewise.
4503         (sub_magnitudes): Likewise.
4504         (__add): Likewise.
4505         (__sub): Likewise.
4506         (__mul): Likewise.
4507         (__inv): Likewise.
4508         (__dvd): Likewise.
4509
4510 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4511
4512         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4513         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4514         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4515         2 && __USE_EXTERN_INLINES]: Likewise.
4516
4517 2013-01-08  Andreas Jaeger  <aj@suse.de>
4518
4519         [BZ# 14985]
4520         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4521         Remove.
4522         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4523         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4524
4525 2013-01-07  Anton Blanchard  <anton@samba.org>
4526
4527         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4528         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4529         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4530         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4531         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4532         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4533         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4534         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4536         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4537         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4538         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4539         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4540         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4541         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4542         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4543         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4544         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4545         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4546         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4547         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4548         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4549         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4550         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4551         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4552         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4553         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4554         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4555         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4556         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4557         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4559         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4560         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4561         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4562         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4563         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4565         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4566         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4567         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4569         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4570
4571 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4572
4573         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4574         (__MALLOC_PMT): Likewise.
4575         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4576         [__GNUC__], only on [_LIBC].
4577         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4578         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4579         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4580         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4581         forward declaration.
4582         (realloc_hook_ini): Likewise.
4583         (memalign_hook_ini): Likewise.
4584         (__libc_memalign): Do not use __MALLOC_PMT in variable
4585         declaration.
4586         (__libc_valloc): Likewise.
4587         (__libc_pvalloc): Likewise.
4588         (__libc_calloc): Likewise.
4589         (__posix_memalign): Likewise.
4590
4591         [BZ #14996]
4592         * math/s_casinh.c: Include <float.h>.
4593         (__casinh): Do not do computation with squaring and square root
4594         for large arguments.
4595         * math/s_casinhf.c: Include <float.h>.
4596         (__casinhf): Do not do computation with squaring and square root
4597         for large arguments.
4598         * math/s_casinhl.c: Include <float.h>.
4599         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4600         (__casinhl): Do not do computation with squaring and square root
4601         for large arguments.
4602         * math/libm-test.inc (casin_test): Add more tests.
4603         (casinh_test): Likewise.
4604         * sysdeps/i386/fpu/libm-test-ulps: Update.
4605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4606
4607 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4608
4609         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4610         (__x86_64_raw_data_cache_size): Likewise.
4611         (__x86_64_data_cache_size_half): Likewise.
4612         (__x86_64_raw_data_cache_size_half): Likewise.
4613         (__x86_64_shared_cache_size): Likewise.
4614         (__x86_64_raw_shared_cache_size): Likewise.
4615         (__x86_64_shared_cache_size_half): Likewise.
4616         (__x86_64_raw_shared_cache_size_half): Likewise.
4617         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4618         to ...
4619         (__x86_data_cache_size): This.
4620         (__x86_64_raw_data_cache_size): Renamed to ...
4621         (__x86_raw_data_cache_size): This.
4622         (__x86_64_data_cache_size_half): Renamed to ...
4623         (__x86_data_cache_size_half): This.
4624         (__x86_64_raw_data_cache_size_half): Renamed to ...
4625         (__x86_raw_data_cache_size_half): This.
4626         (__x86_64_shared_cache_size): Renamed to ...
4627         (__x86_shared_cache_size): This.
4628         (__x86_64_raw_shared_cache_size): Renamed to ...
4629         (__x86_raw_shared_cache_size): This.
4630         (__x86_64_shared_cache_size_half): Renamed to ...
4631         (__x86_shared_cache_size_half): This.
4632         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4633         (__x86_raw_shared_cache_size_half): This.
4634         * sysdeps/x86_64/memcpy.S: Updated.
4635         * sysdeps/x86_64/memset.S: Likewise.
4636         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4637         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4638         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4639
4640 2013-01-04  David S. Miller  <davem@davemloft.net>
4641
4642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4643
4644 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4645
4646         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4647         1 to avoid redefinition warning.
4648         (__USE_GNU): Don't define.
4649         (init_signaling_nan): Protoize.
4650
4651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4652
4653 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4654
4655         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4657         (__cpymn): Likewise.
4658         (norm): Remove commented code.
4659         (denorm): Likewise.
4660         (__mp_dbl): Likewise.
4661         (__inv): Likewise.
4662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4663         (__cpymn): Likewise.
4664         (norm): Remove commented code.
4665         (denorm): Likewise.
4666         (__mp_dbl): Likewise.
4667         (__inv): Likewise.
4668
4669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4670         mp_no value for 1.0 and 2.0.
4671         (norm): Use RADIXI instead of radixi.d.
4672         (denorm): Likewise.
4673         (__mul): Use 0.0 instead of zero.d.
4674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4675         mp_no value for 1.0 and 2.0.
4676         (norm): Use RADIXI instead of radixi.d.
4677         (denorm): Likewise.
4678         (__mul): Use 0.0 instead of zero.d.
4679
4680 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4681
4682         [BZ #14994]
4683         * math/s_casinh.c (__casinh): Reduce finite argument to first
4684         quadrant then set signs of results at the end.
4685         * math/s_casinhf.c (__casinhf): Likewise.
4686         * math/s_casinhl.c (__casinhl): Likewise.
4687         * math/libm-test.inc (casin_test): Add more tests.
4688         (casinh_test): Likewise.
4689         * sysdeps/i386/fpu/libm-test-ulps: Update.
4690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4691
4692 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4693
4694         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4695
4696         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4697
4698         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4699         declarations.
4700         (denorm): Likewise.
4701         (__mp_dbl): Likewise.
4702         (__inv): Likewise.
4703
4704         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4705         and adjust the header comment.
4706
4707         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4708         variable name from declaration.
4709
4710 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4711
4712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4713         Initialize COMMON_CPUID_INDEX_7 element.
4714         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4715         (CPUID_RTM): Likewise.
4716         (HAS_RTM): Likewise.
4717         (COMMON_CPUID_INDEX_7): New enum.
4718
4719 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4720
4721         [BZ #14981]
4722         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4723         size is zero, record memory as freed.
4724
4725 2013-01-03  Andreas Jaeger  <aj@suse.de>
4726
4727         * po/ia.po: Add new Interlingua translation.
4728
4729 2012-01-03  Allan McRae  <allan@archlinux.org>
4730
4731         * locale/programs/localedef.c: Fix description of '--posix' flag.
4732
4733 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4734
4735         * NEWS: Update dates in second copyright notice.
4736         * README: Update copyright dates in example.
4737         * manual/libc.texinfo: Update copyright dates.
4738         * scripts/test-installation.pl: Update copyright date in --version
4739         output.
4740
4741         * hurd/ctty-input.c: Fix copyright notice formatting.
4742         * hurd/ctty-output.c: Likewise.
4743         * hurd/dtable.c: Likewise.
4744         * hurd/hurd-raise.c: Likewise.
4745         * hurd/hurdprio.c: Likewise.
4746         * hurd/msgportdemux.c: Likewise.
4747         * misc/sys/file.h: Likewise.
4748         * misc/sys/ioctl.h: Likewise.
4749         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4750         * sysdeps/mach/hurd/chdir.c: Likewise.
4751         * sysdeps/mach/hurd/fchdir.c: Likewise.
4752         * sysdeps/mach/hurd/rename.c: Likewise.
4753         * sysdeps/mach/hurd/rmdir.c: Likewise.
4754         * sysdeps/mach/hurd/seekdir.c: Likewise.
4755         * sysdeps/mach/hurd/setsid.c: Likewise.
4756         * sysdeps/posix/wait3.c: Likewise.
4757
4758         * All files with FSF copyright notices: Update copyright dates
4759         using scripts/update-copyrights.
4760         * intl/plural.c: Regenerated.
4761         * locale/programs/charmap-kw.h: Likewise.
4762         * locale/programs/locfile-kw.h: Likewise.
4763
4764 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4765
4766         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4767         four values.
4768
4769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4770         calculation loop and add branch prediction.
4771
4772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4773         check access beyond bounds of m1np.
4774
4775         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4776         MPTWO.
4777         (__inv): Remove local variable MPTWO to use the global
4778         constant.
4779         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4781         variable MPTWO.
4782         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4783         MP3HALFS static const.
4784
4785 2013-01-01  David S. Miller  <davem@davemloft.net>
4786
4787         * po/ca.po: Update from translation team.
4788
4789 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4790
4791         * scripts/update-copyrights: New file.
4792         * Makeconfig: Reformat copyright notice.
4793         * ctype/ctype.h: Likewise.
4794         * debug/swprintf_chk.c: Likewise.
4795         * elf/dl-cache.c: Likewise.
4796         * elf/dl-debug.c: Likewise.
4797         * elf/dl-object.c: Likewise.
4798         * grp/initgroups.c: Likewise.
4799         * hurd/Makefile: Likewise.
4800         * hurd/hurd/signal.h: Likewise.
4801         * hurd/hurdfault.c: Likewise.
4802         * hurd/hurdioctl.c: Likewise.
4803         * hurd/hurdlookup.c: Likewise.
4804         * hurd/intr-msg.c: Likewise.
4805         * iconv/gconv_open.c: Likewise.
4806         * libio/swprintf.c: Likewise.
4807         * locale/lc-ctype.c: Likewise.
4808         * locale/nl_langinfo.c: Likewise.
4809         * mach/Machrules: Likewise.
4810         * mach/Makefile: Likewise.
4811         * malloc/obstack.h: Likewise.
4812         * manual/Makefile: Likewise.
4813         * manual/tsort.awk: Likewise.
4814         * misc/bits/stab.def: Likewise.
4815         * nis/nis_print_group_entry.c: Likewise.
4816         * nis/nis_table.c: Likewise.
4817         * nis/nss_compat/compat-pwd.c: Likewise.
4818         * nis/nss_compat/compat-spwd.c: Likewise.
4819         * po/Makefile: Likewise.
4820         * posix/fnmatch.c: Likewise.
4821         * posix/regex.h: Likewise.
4822         * resolv/Makefile: Likewise.
4823         * resolv/nss_dns/dns-network.c: Likewise.
4824         * resolv/res_hconf.c: Likewise.
4825         * scripts/gen-sorted.awk: Likewise.
4826         * soft-fp/soft-fp.h: Likewise.
4827         * stdio-common/printf.h: Likewise.
4828         * stdlib/monetary.h: Likewise.
4829         * stdlib/random.c: Likewise.
4830         * stdlib/random_r.c: Likewise.
4831         * sysdeps/generic/Makefile: Likewise.
4832         * sysdeps/gnu/Makefile: Likewise.
4833         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4835         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4837         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4838         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4839         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4840         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4842         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4843         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4844         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4845         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4846         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4847         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4848         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4849         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4851         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4852         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4853         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4854         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4855         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4856         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4857         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4859         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4860         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4861         * sysdeps/mach/hurd/errnos.awk: Likewise.
4862         * sysdeps/mach/hurd/fork.c: Likewise.
4863         * sysdeps/mach/hurd/getcwd.c: Likewise.
4864         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4865         * sysdeps/mach/hurd/mmap.c: Likewise.
4866         * sysdeps/mach/hurd/utimes.c: Likewise.
4867         * sysdeps/mach/hurd/xmknod.c: Likewise.
4868         * sysdeps/posix/profil.c: Likewise.
4869         * sysdeps/posix/readdir_r.c: Likewise.
4870         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4871         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4872         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4873         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4875         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4876         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4877         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4879         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4880         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4881         * sysdeps/pthread/lio_listio.c: Likewise.
4882         * sysdeps/sparc/dl-procinfo.h: Likewise.
4883         * sysdeps/unix/i386/sysdep.S: Likewise.
4884         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4885         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4886         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4887         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4889         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4890         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4891         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4892         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4893         * sysdeps/wordsize-32/divdi3.c: Likewise.
4894         * time/sys/time.h: Likewise.
4895         * wcsmbs/Makefile: Likewise.
4896
4897 2013-01-01  David S. Miller  <davem@davemloft.net>
4898
4899         * po/fr.po: Update from translation team.
4900
4901         * catgets/gencat.c: Update copyright year.
4902         * csu/version.c: Likewise.
4903         * debug/catchsegv.sh: Likewise.
4904         * debug/pcprofiledump.c: Likewise.
4905         * debug/xtrace.sh: Likewise.
4906         * elf/ldconfig.c: Likewise.
4907         * elf/ldd.bash.in: Likewise.
4908         * elf/pldd.c: Likewise.
4909         * elf/sotruss.ksh: Likewise.
4910         * elf/sprof.c: Likewise.
4911         * iconv/iconv_prog.c: Likewise.
4912         * iconv/iconvconfig.c: Likewise.
4913         * locale/programs/locale.c: Likewise.
4914         * locale/programs/localedef.c: Likewise.
4915         * login/programs/pt_chown.c: Likewise.
4916         * malloc/memusage.sh: Likewise.
4917         * malloc/memusagestat.c: Likewise.
4918         * malloc/mtrace.pl: Likewise.
4919         * nscd/nscd.c: Likewise.
4920         * nss/getent.c: Likewise.
4921         * nss/makedb.c: Likewise.
4922         * posix/getconf.c: Likewise.
4923
4924 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4925
4926         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4927         numbers.
4928
4929 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4930
4931         * math/bits/mathcalls.h (modf): Use __nonnull.
4932
4933 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4934
4935         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4936         (split): Use macro CN instead of the bare value.
4937         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4938         could be used.
4939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4940         instead of the bare value.
4941         (power1): Likewise.
4942
4943 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4944
4945         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4946         __ATAN_TWOM.
4947         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4948
4949         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4950         their values.
4951         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4952         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4953         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4954         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4955
4956 2012-12-28  Andreas Jaeger  <aj@suse.de>
4957
4958         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4959         values are from Linux 3.7.
4960
4961         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4962         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4963
4964 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4965
4966         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4967         TRUE case.
4968
4969         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4970         (norm): Likewise.
4971         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4972         variables with preprocessor constants.
4973         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4974         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4975         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4976
4977 2012-12-27  Bruno Haible  <bruno@clisp.org>
4978
4979         [BZ #14317]
4980         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4981         only if needed.
4982
4983 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4984
4985         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4986         and use variable directly.
4987         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4988
4989         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4990         MPONE.
4991         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4992         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4993         variable MPONE.
4994         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4996         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4997         include directive.  Remove local variable MPONE.
4998         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4999         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5000         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5001
5002 2012-12-25  David S. Miller  <davem@davemloft.net>
5003
5004         * version.h (RELEASE): Set to "development".
5005         (VERSION): Set to "2.17.90".
5006         * NEWS: Add 2.18 section.
5007
5008 2012-12-21  David S. Miller  <davem@davemloft.net>
5009
5010         * po/hr.po: Update from translation team.
5011
5012 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5013
5014         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5015
5016 2012-12-19  Steve Ellcey  <sellcey@mips.com>
5017
5018         * NEWS:  Mention new memcpy for MIPS.
5019
5020 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5021
5022         * manual/contrib.texi (Contributors): Spelling correction.
5023
5024 2012-12-15  David S. Miller  <davem@davemloft.net>
5025
5026         * po/ru.po: Update from translation team.
5027
5028 2012-12-13  David S. Miller  <davem@davemloft.net>
5029
5030         * NEWS: Mention IFUNC testsuite enhancements.
5031
5032         * po/pl.po: Update from translation team.
5033         * po/bg.po: Likewise.
5034
5035         * manual/contrib.texi (Contributors): Update entries for Hongjiu
5036         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
5037
5038 2012-12-11  David S. Miller  <davem@davemloft.net>
5039
5040         * po/sv.po: Update from translation team.
5041
5042         * po/vi.po: Update from translation team.
5043
5044         * po/cs.po: Update from translation team.
5045
5046         * po/de.po: Update from translation team.
5047         * po/eo.po: Likewise.
5048         * po/nl.po: Likewise.
5049
5050 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5051
5052         [BZ #14246]
5053         * manual/argp.texi (Argp Helper Functions): Move node to follow
5054         Argp Parsing State.
5055
5056         [BZ #14872]
5057         * manual/conf.texi (Limits on File System Capacity): Mention if
5058         terminating null is included in the max size.
5059
5060 2012-12-10  Andreas Jaeger  <aj@suse.de>
5061
5062         * po/cs.po: Update from translation team.
5063
5064 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5065
5066         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5067         void pointer and cast to uintptr_t.
5068         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5069         path.
5070         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5071         * sysdeps/s390/s390-64/memset.S: Likewise.
5072
5073 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5074
5075         [BZ #14833]
5076         * menual/message.texi (Message Translation): Fix typos.
5077         (Helper programs for gettext): Likewise.
5078
5079 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5080
5081         [BZ #14898]
5082         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5083         Change to -1.
5084
5085 2012-12-07  David S. Miller  <davem@davemloft.net>
5086
5087         * po/libc.pot: Update.
5088
5089 2012-12-07  Richard Henderson  <rth@redhat.com>
5090
5091         [BZ #10114]
5092         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5093         normal/normal case to before the switch.
5094         (_FP_DIV): Likewise.
5095
5096 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5097             Mike Frysinger  <vapier@gentoo.org>
5098
5099         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5100         check for __NR_fadvise64_64.
5101
5102 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5103
5104         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5105         0, not just to plain "0" as a statement.
5106         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5107         with cw.
5108
5109 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5110
5111         * NEWS: Use sourceware.org in Bugzilla URL.
5112
5113 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5114
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5116         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5117
5118         * stdio-common/tst-put-error.c (do_test): Add newline to the
5119         padded test to ensure flush.
5120
5121 2012-12-05  Jeff Law  <law@redhat.com>
5122
5123         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5124
5125 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5126
5127         * README: Don't refer to ports add-on as distributed separately.
5128         Mention AArch64 in list of systems supported in the ports add-on.
5129
5130         * LICENSES: Add more non-FSF copyright and license notices.
5131
5132         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5133         ((unused)).
5134
5135         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5136
5137         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5138         10000 as width of padded output.
5139
5140 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5141
5142         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5143
5144         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5145         variable LX with __attribute__ ((unused)).
5146         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5147         Likewise.
5148         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5150         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5151         with __attribute__ ((unused)).
5152
5153 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5154
5155         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5156
5157 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5158
5159         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5160         (CFLAGS-nldbl-acos.c): New variable.
5161         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5162         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5163         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5164         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5165         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5166         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5167         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5168         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5169         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5170         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5171         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5172         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5173         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5174         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5175         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5176         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5177         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5178         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5179         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5180         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5181         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5182         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5183         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5184         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5185         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5186         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5187         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5188         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5189         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5190         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5191         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5192         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5193         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5194         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5195         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5196         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5197         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5198         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5199         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5200         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5201         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5202         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5203         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5204         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5205         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5206         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5207         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5208         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5209         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5210         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5211         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5212         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5213         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5214         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5215         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5216         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5217         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5218         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5219         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5220         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5221         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5222         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5223         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5224         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5225         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5226         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5227         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5228         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5229         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5230         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5231         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5232         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5233         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5234         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5235         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5236         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5237         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5238         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5239         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5240         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5241         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5242         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5243         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5244         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5245         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5246         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5247         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5248         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5249         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5250         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5251         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5252         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5253         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5254         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5255         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5256         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5257         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5258
5259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5260         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5261
5262         [BZ #14914]
5263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5264         whole low double instead of just low 47 bits when splitting values
5265         into two parts.
5266
5267 2012-12-03  Allan McRae  <allan@archlinux.org>
5268
5269         * manual/stdio.texi (Predefined Printf Handlers): Remove
5270         @hsep and @vsep usage.
5271
5272 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5273
5274         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5275         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5276
5277 2012-12-03  Jeff Law  <law@redhat.com>
5278
5279         * time/sys/time.h (settimeofday): Do not mark TV argument
5280         as __nonnull.
5281
5282 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5283
5284         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5285         when currently writing and seek to current position when not.
5286         * libio/Makefile (tests): Remove bug-fclose1.
5287         * libio/bug-fclose1.c: Delete.
5288
5289 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5290
5291         * manual/arith.texi (feenableexcept): Fix typo.
5292         (fedisableexcept): Likewise.
5293
5294 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5295
5296         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5297         second, differently-typed declaration, rather than a cast.
5298
5299 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5300
5301         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5302         * include/rpc/svc.h: ... here.
5303
5304 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5305
5306         [BZ #13013]
5307         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5308         depending n and resplen2 to catch cases where answer
5309         equals answerp2.
5310
5311 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5312
5313         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5314         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5315
5316 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5317
5318         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5319
5320 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5321
5322         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5323
5324 2012-11-28  Jeff Law  <law@redhat.com>
5325
5326         [BZ #13761]
5327         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5328         dataset_temporary.  Track alloca usage into alloca_used.
5329         If dataset is large allocate and release it via malloc/free.
5330
5331 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5332
5333         [BZ #14197]
5334         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5335
5336 2012-11-28  David S. Miller  <davem@davemloft.net>
5337
5338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5339
5340 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5341
5342         [BZ #14803]
5343         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5344         of pi/2 rounded to nearest to 64 bits.
5345         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5346         nearest to 64 bits.
5347         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5348         bits.
5349
5350 2012-11-28  Jeff Law <law@redhat.com>
5351             Martin Osvald <mosvald@redhat.com>
5352
5353         [BZ #14889]
5354         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5355         * sunrpc/svc.c: Include time.h.
5356         (__svc_accept_failed): New function.
5357         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5358         any reason other than EINTR, call __svc_accept_failed.
5359         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5360         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5361
5362 2012-11-28  Andreas Schwab  <schwab@suse.de>
5363
5364         * scripts/abilist.awk: Also handle indirect functions in .opd
5365         section.
5366
5367 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5368
5369         [BZ #13881]
5370         * sysdeps/x86/fpu/powl_helper.c: New file.
5371         * sysdeps/x86/fpu/Makefile: Likewise.
5372         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5373         (p3): New object.
5374         (__ieee754_powl): Use __powl_helper for finite arguments except
5375         integer exponents below 8.
5376         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5377         (p3): New object.
5378         (__ieee754_powl): Use __powl_helper for finite arguments except
5379         integer exponents below 8.
5380         * math/libm-test.inc (pow_test): Add more tests and enable some
5381         previously disabled tests.
5382         * sysdeps/i386/fpu/libm-test-ulps: Update.
5383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5384
5385 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5386             Carlos O'Donell  <carlos_odonell@mentor.com>
5387
5388         * nss/makedb.c (is_prime): Assert that input is odd and greater
5389         than 4.  Note that fact in a comment too.
5390         (next_prime): Add 4 to input.
5391
5392 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5393
5394         [BZ #11741]
5395         * libio/Makefile (tests): Add test case tst-fwrite-error.
5396         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5397         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5398         * libio/tst-fwrite-error.c: New test case.
5399
5400 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5401
5402         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5403         before casting to void *.
5404         * include/libc-internal.h (__pointer_type): New macro.
5405         (__integer_if_pointer_type_sub): Likewise.
5406         (__integer_if_pointer_type): Likewise.
5407         (cast_to_integer): Likewise.
5408         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5409         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5410         before casting to atomic64_t.
5411         (atomic_exchange_acq): Likewise.
5412         (__arch_exchange_and_add_body): Likewise.
5413         (__arch_add_body): Likewise.
5414         (atomic_add_negative): Likewise.
5415         (atomic_add_zero): Likewise.
5416
5417 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5418
5419         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5420         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5421         (add_fdes): Likewise.
5422         (linear_search_fdes): Likewise.
5423         (binary_search_unencoded_fdes): Likewise.
5424
5425 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5426
5427         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5428
5429 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5430
5431         * configure.in: Autodetect C++ header directories.
5432         * configure: Regenerated.
5433
5434 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5435
5436         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5437
5438 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5439
5440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5441
5442 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5443
5444         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5445         LDBL_MANT_DIG == 106]: Disable some tests.
5446         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5447         Likewise.
5448         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5449         Likewise.
5450
5451         [BZ #14871]
5452         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5453         input for small inputs.  Return +/- pi/2 for large inputs.
5454         * math/libm-test.inc (atan_test): Add more tests.
5455
5456         * sysdeps/generic/unwind-dw2-fde-glibc.c
5457         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5458         __attribute__ ((unused)).
5459
5460         [BZ #14645]
5461         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5462         x * y if x and y are nonzero and z is zero.
5463
5464         [BZ #14811]
5465         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5466         nonzero exponents with absolute value below 0x1p-117 to +/-
5467         0x1p-117.
5468
5469         [BZ #14869]
5470         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5471         up arguments below 2**-450, not just those below 2**-500.
5472         * math/libm-test.inc (hypot_test): Add another test.
5473
5474         [BZ #14868]
5475         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5476         Return a+b for ratio over 2**120, not 2**60.
5477         * math/libm-test.inc (hypot_test): Add another test.
5478
5479         * math/libm-test.inc (clog_test): Use
5480         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5481         (clog10_test): Likewise.
5482
5483         [BZ #6778]
5484         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5485
5486 2012-11-22  Andreas Schwab  <schwab@suse.de>
5487
5488         * sysdeps/i386/fpu/libm-test-ulps: Update.
5489
5490 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5491
5492         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5493         printf output with newline.
5494
5495 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5496
5497         [BZ #14865]
5498         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5499         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5500         -z nodlopen, -z initfirst and -z execstack support.
5501         * configure: Regenerated.
5502
5503         * elf/elf.h (DF_1_NODIRECT): New macro.
5504         (DF_1_IGNMULDEF): Likewise.
5505         (DF_1_NOKSYMS): Likewise.
5506         (DF_1_NOHDR): Likewise.
5507         (DF_1_EDITED): Likewise.
5508         (DF_1_NORELOC): Likewise.
5509         (DF_1_SYMINTPOSE): Likewise.
5510         (DF_1_GLOBAUDIT): Likewise.
5511         (DF_1_SINGLETON): Likewise.
5512         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5513         DT_1_SUPPORTED_MASK bits.
5514         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5515
5516 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5517
5518         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5519
5520 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5521
5522         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5523         macro.
5524
5525         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5526         (sendmmsg): Move declarations...
5527         * socket/sys/socket.h: ... here.
5528         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5529         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5530         include it from...
5531         * socket/recvmmsg.c: ... this new file.
5532         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5533         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5534         definition of __sendmmsg hidden.
5535         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5536         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5537         Move ENOSYS stub into and include it from...
5538         * socket/sendmmsg.c: ... this new file.
5539         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5540         (sysdep_routines): Move recvmmsg and sendmmsg...
5541         * socket/Makefile (routines): ... here.
5542         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5543         (GLIBC_PRIVATE): Add __sendmmsg.
5544         * include/sys/socket.h (__sendmmsg): Add declarations.
5545         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5546         sendmmsg.
5547
5548 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5549
5550         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5551         variable I1 with __attribute__ ((unused)).
5552         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5553
5554 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5555
5556         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5557         DUMMY variables with __attribute__ ((unused)).
5558
5559         * bits/byteswap.h: Include <bits/types.h>.
5560         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5561
5562 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5563
5564         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5565         string_t.  Do not manually set errno.
5566         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5567         length with __strnlen.  Make sure to both set errno and return it on
5568         failure.
5569
5570 2012-11-19  David S. Miller  <davem@davemloft.net>
5571
5572         With help from Joseph Myers.
5573         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5574         very large arguments properly.
5575         * math/libm-test.inc (atan_test): New tests.
5576         (atan2_test): New tests.
5577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5579
5580 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5581
5582         [BZ #14856]
5583         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5584         Define to 3.
5585
5586         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5587         [POSIX] (EADDRNOTAVAIL): Likewise.
5588         [POSIX] (EAFNOSUPPORT): Likewise.
5589         [POSIX] (EALREADY): Likewise.
5590         [POSIX] (ECONNABORTED): Likewise.
5591         [POSIX] (ECONNREFUSED): Likewise.
5592         [POSIX] (ECONNRESET): Likewise.
5593         [POSIX] (EDESTADDRREQ): Likewise.
5594         [POSIX] (EDQUOT): Likewise.
5595         [POSIX] (EHOSTUNREACH): Likewise.
5596         [POSIX] (EIDRM): Likewise.
5597         [POSIX] (EISCONN): Likewise.
5598         [POSIX] (ELOOP): Likewise.
5599         [POSIX] (EMULTIHOP): Likewise.
5600         [POSIX] (ENETDOWN): Likewise.
5601         [POSIX] (ENETUNREACH): Likewise.
5602         [POSIX] (ENOBUFS): Likewise.
5603         [POSIX] (ENODATA): Likewise.
5604         [POSIX] (ENOLINK): Likewise.
5605         [POSIX] (ENOMSG): Likewise.
5606         [POSIX] (ENOPROTOOPT): Likewise.
5607         [POSIX] (ENOSR): Likewise.
5608         [POSIX] (ENOSTR): Likewise.
5609         [POSIX] (ENOTCONN): Likewise.
5610         [POSIX] (ENOTSOCK): Likewise.
5611         [POSIX] (EOPNOTSUPP): Likewise.
5612         [POSIX] (EOVERFLOW): Likewise.
5613         [POSIX] (EPROTO): Likewise.
5614         [POSIX] (EPROTONOSUPPORT): Likewise.
5615         [POSIX] (EPROTOTYPE): Likewise.
5616         [POSIX] (ESTALE): Likewise.
5617         [POSIX] (ETIME): Likewise.
5618         [POSIX] (ETXTBSY): Likewise.
5619         [POSIX] (EWOULDBLOCK): Likewise.
5620         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5621         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5622         [POSIX] (SEEK_CUR): Likewise.
5623         [POSIX] (SEEK_END): Likewise.
5624         [POSIX || UNIX98] (mode_t): Do not require.
5625         [POSIX] (off_t): Likewise.
5626         [POSIX] (pid_t): Likewise.
5627         [POSIX] (sys/stat.h): Do not allow header.
5628         [POSIX] (unistd.h): Likewise.
5629         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5630         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5631         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5632         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5633         require.
5634         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5635         sigevent): Specify elements.
5636         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5637         entry.
5638         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5639         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5640
5641         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5642         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5643         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5644         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5645         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5646         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5647         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5648         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5649         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5650         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5651         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5652         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5653         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5654         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5655         Likewise.
5656         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5657         Likewise.
5658         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5659         Likewise.
5660         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5661         Likewise.
5662         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5663         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5664         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5665         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5666         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5667         Specify lower bound on value.
5668         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5669         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5670         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5671         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5672         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5673         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5674         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5675         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5676         value.
5677         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5678         as optional.
5679         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5680         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5681         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5682         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5683         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5684         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5685         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5686         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5687         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5688         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5689         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5690         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5691         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5692         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5693         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5694         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5695         entry.
5696         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5697         optional.
5698         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5699         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5700         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5701         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5702         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5703         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5704         Likewise.
5705         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5706         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5707         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5708         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5709         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5710         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5711         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5712         as optional.
5713         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5714         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5715         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5716         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5717         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5718         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5719         specify as optional.
5720         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5721         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5722         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5723         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5724         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5725         [XPG3] (NL_LANGMAX): Likewise.
5726         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5727         [POSIX || XPG3] (NL_NMAX): Likewise.
5728         [POSIX || XPG3] (NL_SETMAX): Likewise.
5729         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5730         [XPG3] (NZERO): Likewise.
5731         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5732         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5733         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5734         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5735         (REG_ERANGE): Expect.
5736         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5737         optional-constant.
5738         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5739         Use (void) in prototype.
5740         [POSIX] (*_t): Allow.
5741         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5742         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5743         (WRDE_BADVAL): Expect.
5744
5745         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5746         expect.
5747         [XPG3 || XPG4] (O_RSYNC): Likewise.
5748         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5749         Likewise.
5750         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5751         [XPG3 || XPG4] (sigqueue): Likewise.
5752         [XPG3 || XPG4] (sigtimedwait): Likewise.
5753         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5754         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5755         [XPG3 || XPG4] (vsnprintf): Likewise.
5756         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5757         Likewise.
5758         [XPG3 || XPG4] (blksize_t): Likewise.
5759         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5760         Likewise.
5761         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5762         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5763         [XPG3 || XPG4] (struct itimerspec): Likewise.
5764         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5765         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5766         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5767         [XPG3 || XPG4] (clockid_t): Likewise.
5768         [XPG3 || XPG4] (timer_t): Likewise.
5769         [XPG3 || XPG4] (clock_getres): Likewise.
5770         [XPG3 || XPG4] (clock_gettime): Likewise.
5771         [XPG3 || XPG4] (clock_settime): Likewise.
5772         [XPG3 || XPG4] (nanosleep): Likewise.
5773         [XPG3 || XPG4] (timer_create): Likewise.
5774         [XPG3 || XPG4] (timer_delete): Likewise.
5775         [XPG3 || XPG4] (timer_gettime): Likewise.
5776         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5777         [XPG3 || XPG4] (timer_settime): Likewise.
5778         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5779         [XPG3 || XPG4] (getlogin_r): Likewise.
5780         [XPG3 || XPG4] (pread): Likewise.
5781         [XPG3 || XPG4] (pthread_atfork): Likewise.
5782         [XPG3 || XPG4] (pwrite): Likewise.
5783
5784         [BZ #14835]
5785         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5786         <bits/siginfo.h>.
5787
5788 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5789
5790         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5791         finalizing MALLSTREAM.
5792
5793         * sysdeps/mach/hurd/syncfs.c: New file.
5794
5795 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5796
5797         [BZ #14719]
5798         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5799         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5800         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5801         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5802         (_nss_dns_gethostbyname4_r): Likewise.
5803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5804         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5805
5806 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5807
5808         [BZ #13763]
5809         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5810
5811 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5812
5813         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5814         * elf/cache.c (print_entry): Print ",AArch64" for
5815         FLAG_AARCH64_LIB64
5816
5817         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5818         * elf/cache.c (print_entry): Print ",hard-float" for
5819         FLAG_ARM_LIBHF.
5820
5821 2012-11-18  David S. Miller  <davem@davemloft.net>
5822
5823         With help from Joseph Myers.
5824         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5825         cutoff to 2**-13.
5826         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5827         cutoff to 2**-25.
5828         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5829         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5830         small.
5831         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5832         * math/libm-test.inc (y0_test): New tests.
5833         (y1_test): New tests.
5834         * sysdeps/i386/fpu/libm-test-ulps: Update.
5835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5837
5838 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5839
5840         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5841         64-bit targets.
5842         * configure: Regenerated.
5843
5844 2012-11-17  David S. Miller  <davem@davemloft.net>
5845
5846         [BZ #14811]
5847         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5848         nonzero exponents with absolute value below 0x1p-128 to +/-
5849         0x1p-128.
5850
5851 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5852
5853         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5854
5855         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5856
5857         * posix/getconf-speclist.c: New file.
5858         * posix/posix-envs.def: Likewise.
5859         * posix/confstr.c (START_ENV_GROUP): New macro.
5860         (END_ENV_GROUP): Likewise.
5861         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5862         (KNOWN_PRESENT_ENV_STRING): Likewise.
5863         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5864         (UNKNOWN_ENVIRONMENT): Likewise.
5865         (confstr): Include posix-envs.def instead of handling
5866         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5867         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5868         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5869         (END_ENV_GROUP): Likewise.
5870         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5871         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5872         (UNKNOWN_ENVIRONMENT): Likewise.
5873         (__sysconf): Include posix-envs.def instead of handling associated
5874         cases directly here.
5875         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5876         preprocessing getconf-speclist.c rather than running getconf or
5877         generating empty file.
5878
5879 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5880
5881         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5882
5883 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5884
5885         [BZ #14672]
5886         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5887
5888 2012-11-16  David S. Miller  <davem@davemloft.net>
5889
5890         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5891         smaller than LDBL_EPSILON/2.0L, just return xm1.
5892
5893 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5894
5895         * elf/tst-array1.c (init): Set constructor priority to 1000.
5896         (fini): Set destructor priority to 1000.
5897         * elf/tst-array2dep.c: Likewise.
5898
5899 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5900
5901         [BZ #11741]
5902         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5903         (_IO_new_file_xsputn): Also return EOF if none of the input
5904         data was written when overflow failed.
5905         * libio/iopadn.c (_IO_padn): Likewise.
5906         * libio/iowpadn.c (_IO_wpadn): Likewise.
5907         * stdio-common/tst-put-error.c: Add copyright notice.
5908         (do_test): Add case for printing padded string.
5909         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5910         _IO_padn returned error.
5911         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5912         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5913         return EOF.
5914
5915 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5916
5917         * libio/libioP.h: Add comment note that the references to C++
5918         bits are now obsolete.
5919
5920 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5921
5922         * math/libm-test.inc (check_complex): Use asprintf.
5923
5924 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5925
5926         * debug/pcprofiledump.c (print_version): Update copyright year.
5927         * malloc/memusagestat.c (print_version): Likewise.
5928
5929 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5930
5931         [BZ #14831]
5932         * elf/Makefile (tests): Add tst-audit8.
5933         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5934         ($(objpfx)tst-audit8.out): New target.
5935         (tst-audit8-ENV): New variable.
5936         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5937         audit if l_reloc_result is NULL.
5938         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5939         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5940         * elf/tst-audit8.c: New file.
5941
5942 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5943
5944         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5945         * misc/Makefile (CFLAGS-select.c): Define.
5946         * posix/Makefile (CFLAGS-pause.c): Define.
5947
5948 2012-11-13  David S. Miller  <davem@davemloft.net>
5949
5950         * crypt/Makefile: Move test targets after toplevel Rules
5951         inclusion.  Grab any necessary sysdep routines when linking.
5952         * crypt/md5.c (md5_process_block): Remove define, we will always
5953         name it __md5_process_block.
5954         (md5_finish_ctx): Update md5_process_block call.
5955         (md5_stream): Likewise.
5956         (md5_process_bytes): Likewise.
5957         (md5_process_block): Rename to __md5_process_block and move to ...
5958         * crypt/md5-block.c: ... here.
5959         * crypt/sha256.c (sha256_process_block): Move to ...
5960         * crypt/sha256-block.c: ... here.
5961         * crypt/sha512.c (sha512_process_block): Move to ...
5962         * crypt/sha512-block.c: ... here.
5963         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5964         path.
5965         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5966         * sysdeps/sparc/sparc64/multiarch/Makefile
5967         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5968         crypt subdir.
5969         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5970         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5971         multiarch changes.
5972         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5973         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5974         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5975         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5976         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5977         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5978         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5979         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5980         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5981         file.
5982         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5983         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5984         file.
5985         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5986
5987 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5988
5989         * timezone/tzselect.ksh: Update from tzcode git revision
5990         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5991         * timezone/zdump.c: Likewise.
5992         * timezone/zic.c: Likewise.
5993         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5994         in TZVERSION setting, not $(PKGVERSION).
5995         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5996         REPORT_BUGS_TO settings.
5997
5998         [BZ #14838]
5999         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6000         macro.
6001
6002 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6003
6004         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6005         detection to immediately after _FP_ROUND().
6006         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6007         bits are 0.
6008
6009 2012-11-11  David S. Miller  <davem@davemloft.net>
6010
6011         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6012         inttypes.h
6013         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6014         __close rather than their public counterparts.
6015
6016 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
6017
6018         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6019         file.
6020         [UNIX98] (sem_timedwait): Do not expect.
6021         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6022         [XPG4 || UNIX98] (sockatmark): Do not expect.
6023         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6024         (clock_getcpuclockid): Do not expect.
6025         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6026         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6027         Do not expect.
6028         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6029         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6030         [UNIX98] (vwscanf): Likewise.
6031         [UNIX98] (vswscanf): Likewise.
6032
6033 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
6034
6035         * timezone/version.h: Remove file.
6036         * timezone/README: Do not refer to version.h.
6037         * timezone/Makefile ($(objpfx)zic.o): New dependency on
6038         $(objpfx)version.h.
6039         ($(objpfx)zdump.o): Likewise.
6040         ($(objpfx)version.h): New target.
6041
6042         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6043         2012i.
6044         * timezone/README: Don't mention modification to tzselect.ksh.
6045         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6046         work on unmodified tzselect.ksh.  Substitute version numbers in
6047         tzselect.ksh.
6048
6049         * Makefile (format-me): Remove.
6050         (INSTALL): Adjust indentation.  Use commands directly instead of
6051         using $(format-me).
6052
6053         * aclocal.m4 (ACX_PKGVERSION): New macro.
6054         (ACX_BUGURL): Likewise.
6055         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6056         (PKGVERSION): New AC_DEFINE_UNQUOTED.
6057         (REPORT_BUGS_TO): Likewise.
6058         * configure: Regenerated.
6059         * config.h.in (PKGVERSION): New macro.
6060         (REPORT_BUGS_TO): Likewise.
6061         * config.make.in (PKGVERSION): New variable.
6062         (PKGVERSION_TEXI): Likewise.
6063         (REPORT_BUGS_TO): Likewise.
6064         (REPORT_BUGS_TEXI): Likewise.
6065         * Makefile (format-me): Use -I$(common-objpfx)manual.
6066         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6067         ($(common-objpfx)manual/%): New target.
6068         (manual/%): Remove target.
6069         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6070         (print_version): Use PKGVERSION.
6071         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6072         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6073         and REPORT_BUGS_TO.
6074         ($(objpfx)xtrace): Likewise.
6075         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6076         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6077         (print_version): Use PKGVERSION.
6078         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6079         (do_version): Use PKGVERSION.
6080         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6081         REPORT_BUGS_TO.
6082         (common-ldd-rewrite): Likewise.
6083         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6084         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6085         (print_version): Use PKGVERSION.
6086         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6087         * elf/pldd.c (argp_program_bug_address): Remove variable.
6088         (more_help): New function.
6089         (argp): Use more_help.
6090         (print_version): Use PKGVERSION.
6091         * elf/sln.c (main): Use PKGVERSION.
6092         (usage): Use REPORT_BUGS_TO.
6093         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6094         (top level): Use PKGVERSION.
6095         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6096         (print_version): Use PKGVERSION.
6097         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6098         (print_version): Use PKGVERSION.
6099         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6100         (print_version): Use PKGVERSION.
6101         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6102         (print_version): Use PKGVERSION.
6103         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6104         (print_version): Use PKGVERSION.
6105         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6106         (print_version): Use PKGVERSION.
6107         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6108         and BUGURL.
6109         ($(objpfx)memusage): Likewise.
6110         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6111         (do_version): Use PKGVERSION.
6112         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6113         (print_version): Use PKGVERSION.
6114         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6115         ($PKGVERSION): New variable.
6116         ($REPORT_BUGS_TO): Likewise.
6117         (usage): Use $REPORT_BUGS_TO.
6118         (top level): Use $PKGVERSION.
6119         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6120         ($(objpfx)pkgvers.texi): New rule.
6121         ($(objpfx)stamp-pkgvers): Likewise.
6122         * manual/install.texi: Include pkgvers.texi.
6123         (--with-pkgversion): Document new configure option.
6124         (--with-bugurl): Likewise.
6125         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6126         than necessarily for this particular distribution.  Use
6127         REPORT_BUGS_TO for where to report bugs.
6128         * INSTALL: Regenerated.
6129         * manual/libc.texinfo: Include pkgvers.texi.
6130         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6131         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6132         (print_version): Use PKGVERSION.
6133         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6134         (print_version): Use PKGVERSION.
6135         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6136         (print_version): Use PKGVERSION.
6137         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6138         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6139         macro.
6140         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6141         (print_version): Use PKGVERSION.
6142         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6143         (print_version): Use PKGVERSION.
6144         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6145         and PKGVERSION.
6146
6147         * timezone/checktab.awk: Update from tzcode 2012i.
6148         * timezone/ialloc.c: Likewise.
6149         * timezone/private.h: Likewise.
6150         * timezone/scheck.c: Likewise.
6151         * timezone/tzfile.h: Likewise.
6152         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6153         (TZVERSION): Hardcode tzcode version number.
6154         * timezone/zdump.c: Update from tzcode 2012i.
6155         * timezone/zic.c: Likewise.
6156         * timezone/version.h: New file.
6157         * timezone/README: Describe version.h.  Update upstream location.
6158
6159         [BZ #14824]
6160         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6161         (mktemp): Enable declaration.
6162         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6163         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6165         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6166         Likewise.
6167         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6168         Likewise.
6169         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6170         Likewise.
6171         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6172         Likewise.
6173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6174         Likewise.
6175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6176         Likewise.
6177
6178         [BZ #14821]
6179         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6180         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6181         for copies of such integer values.
6182         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6183         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6184
6185 2012-11-09  Andreas Jaeger  <aj@suse.de>
6186
6187         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6188         definitions and declarations that are provided by
6189         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6190
6191 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6192
6193         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6194         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6195         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6196         definition.
6197
6198 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6199
6200         * elf/elf.h: Update comment before AArch64 relocations.
6201
6202 2012-11-07  David S. Miller  <davem@davemloft.net>
6203
6204         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6205         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6206         (__start_context): Declare.
6207         (__makecontext_ret): Delete.
6208         (__makecontext): Hook up __start_context instead of
6209         __makecontext_ret.
6210         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6211         (sysdep_routines): Add __start_context when in stdlib.
6212
6213 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6214
6215         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6216         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6217         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6218         hardcoded "nm".
6219         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6220         (READELF): New variable.  Use it instead of hardcoded "readelf".
6221
6222 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6223
6224         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6225         * sysdeps/x86/Makefile: Here.
6226         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6227         * sysdeps/x86/tst-xmmymm.sh: This.
6228
6229 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6230
6231         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6232         expectations.
6233         [UNIX98] (pthread_barrier_t): Do not expect.
6234         [UNIX98] (pthread_barrierattr_t): Likewise.
6235         [UNIX98] (pthread_spinlock_t): Likewise.
6236         [UNIX98] (pthread_barrier_destroy): Likewise.
6237         [UNIX98] (pthread_barrier_init): Likewise.
6238         [UNIX98] (pthread_barrier_wait): Likewise.
6239         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6240         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6241         [UNIX98] (pthread_barrierattr_init): Likewise.
6242         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6243         [UNIX98] (pthread_getcpuclockid): Likewise.
6244         [UNIX98] (pthread_mutex_timedlock): Likewise.
6245         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6246         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6247         [UNIX98] (pthread_sigmask): Likewise.
6248         [UNIX98] (pthread_spin_destroy): Likewise.
6249         [UNIX98] (pthread_spin_init): Likewise.
6250         [UNIX98] (pthread_spin_lock): Likewise.
6251         [UNIX98] (pthread_spin_trylock): Likewise.
6252         [UNIX98] (pthread_spin_unlock): Likewise.
6253         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6254         Do not expect.
6255         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6256         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6257         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6258         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6259         [XPG3 || XPG4] (pthread_key_t): Likewise.
6260         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6261         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6262         [XPG3 || XPG4] (pthread_once_t): Likewise.
6263         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6264         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6265         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6266         [XPG3 || XPG4] (pthread_t): Likewise.
6267
6268         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6269         not expect.
6270         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6271
6272         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6273         Change function return type to int.
6274
6275         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6276         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6277         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6278         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6279         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6280         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6281         [!POSIX] (posix_madvise): Likewise.
6282         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6283         && !UNIX98].
6284         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6285         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6286         (mode_t): Likewise.
6287         (posix_mem_offset): Likewise.
6288         (posix_typed_mem_get_info): Likewise.
6289         (posix_typed_mem_open): Likewise.
6290
6291         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6292         Change condition to [XOPEN2K8].
6293
6294         * conform/conformtest.pl: Preprocess allow-header data with -x c
6295         instead of from stdin.
6296         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6297         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6298         [C99-based standards] (cerfc): Likewise.
6299         [C99-based standards] (cexp2): Likewise.
6300         [C99-based standards] (cexpm1): Likewise.
6301         [C99-based standards] (clog10): Likewise.
6302         [C99-based standards] (clog1p): Likewise.
6303         [C99-based standards] (clog2): Likewise.
6304         [C99-based standards] (clgamma): Likewise.
6305         [C99-based standards] (ctgamma): Likewise.
6306         [C99-based standards] (cerff): Likewise.
6307         [C99-based standards] (cerfcf): Likewise.
6308         [C99-based standards] (cexp2f): Likewise.
6309         [C99-based standards] (cexpm1f): Likewise.
6310         [C99-based standards] (clog10f): Likewise.
6311         [C99-based standards] (clog1pf): Likewise.
6312         [C99-based standards] (clog2f): Likewise.
6313         [C99-based standards] (clgammaf): Likewise.
6314         [C99-based standards] (ctgammaf): Likewise.
6315         [C99-based standards] (cerfl): Likewise.
6316         [C99-based standards] (cerfcl): Likewise.
6317         [C99-based standards] (cexp2l): Likewise.
6318         [C99-based standards] (cexpm1l): Likewise.
6319         [C99-based standards] (clog10l): Likewise.
6320         [C99-based standards] (clog1pl): Likewise.
6321         [C99-based standards] (clog2l): Likewise.
6322         [C99-based standards] (clgammal): Likewise.
6323         [C99-based standards] (ctgammal): Likewise.
6324         * conform/data/inttypes.h-data [C99-based standards]: Include
6325         stdint.h-data.  Remove all expectations for stdint.h contents.
6326         [C99-based standards] (PRI*): Do not allow.
6327         [C99-based standards] (SCN*): Likewise.
6328         [C99-based standards] (*_t): Likewise.
6329         [C99-based-standards] (PRId8): Expect macro.
6330         [C99-based-standards] (PRIi8): Likewise.
6331         [C99-based-standards] (PRIo8): Likewise.
6332         [C99-based-standards] (PRIu8): Likewise.
6333         [C99-based-standards] (PRIx8): Likewise.
6334         [C99-based-standards] (PRIX8): Likewise.
6335         [C99-based-standards] (SCNd8): Likewise.
6336         [C99-based-standards] (SCNi8): Likewise.
6337         [C99-based-standards] (SCNo8): Likewise.
6338         [C99-based-standards] (SCNu8): Likewise.
6339         [C99-based-standards] (SCNx8): Likewise.
6340         [C99-based-standards] (PRIdLEAST8): Likewise.
6341         [C99-based-standards] (PRIiLEAST8): Likewise.
6342         [C99-based-standards] (PRIoLEAST8): Likewise.
6343         [C99-based-standards] (PRIuLEAST8): Likewise.
6344         [C99-based-standards] (PRIxLEAST8): Likewise.
6345         [C99-based-standards] (PRIXLEAST8): Likewise.
6346         [C99-based-standards] (SCNdLEAST8): Likewise.
6347         [C99-based-standards] (SCNiLEAST8): Likewise.
6348         [C99-based-standards] (SCNoLEAST8): Likewise.
6349         [C99-based-standards] (SCNuLEAST8): Likewise.
6350         [C99-based-standards] (SCNxLEAST8): Likewise.
6351         [C99-based-standards] (PRIdFAST8): Likewise.
6352         [C99-based-standards] (PRIiFAST8): Likewise.
6353         [C99-based-standards] (PRIoFAST8): Likewise.
6354         [C99-based-standards] (PRIuFAST8): Likewise.
6355         [C99-based-standards] (PRIxFAST8): Likewise.
6356         [C99-based-standards] (PRIXFAST8): Likewise.
6357         [C99-based-standards] (SCNdFAST8): Likewise.
6358         [C99-based-standards] (SCNiFAST8): Likewise.
6359         [C99-based-standards] (SCNoFAST8): Likewise.
6360         [C99-based-standards] (SCNuFAST8): Likewise.
6361         [C99-based-standards] (SCNxFAST8): Likewise.
6362         [C99-based-standards] (PRId16): Likewise.
6363         [C99-based-standards] (PRIi16): Likewise.
6364         [C99-based-standards] (PRIo16): Likewise.
6365         [C99-based-standards] (PRIu16): Likewise.
6366         [C99-based-standards] (PRIx16): Likewise.
6367         [C99-based-standards] (PRIX16): Likewise.
6368         [C99-based-standards] (SCNd16): Likewise.
6369         [C99-based-standards] (SCNi16): Likewise.
6370         [C99-based-standards] (SCNo16): Likewise.
6371         [C99-based-standards] (SCNu16): Likewise.
6372         [C99-based-standards] (SCNx16): Likewise.
6373         [C99-based-standards] (PRIdLEAST16): Likewise.
6374         [C99-based-standards] (PRIiLEAST16): Likewise.
6375         [C99-based-standards] (PRIoLEAST16): Likewise.
6376         [C99-based-standards] (PRIuLEAST16): Likewise.
6377         [C99-based-standards] (PRIxLEAST16): Likewise.
6378         [C99-based-standards] (PRIXLEAST16): Likewise.
6379         [C99-based-standards] (SCNdLEAST16): Likewise.
6380         [C99-based-standards] (SCNiLEAST16): Likewise.
6381         [C99-based-standards] (SCNoLEAST16): Likewise.
6382         [C99-based-standards] (SCNuLEAST16): Likewise.
6383         [C99-based-standards] (SCNxLEAST16): Likewise.
6384         [C99-based-standards] (PRIdFAST16): Likewise.
6385         [C99-based-standards] (PRIiFAST16): Likewise.
6386         [C99-based-standards] (PRIoFAST16): Likewise.
6387         [C99-based-standards] (PRIuFAST16): Likewise.
6388         [C99-based-standards] (PRIxFAST16): Likewise.
6389         [C99-based-standards] (PRIXFAST16): Likewise.
6390         [C99-based-standards] (SCNdFAST16): Likewise.
6391         [C99-based-standards] (SCNiFAST16): Likewise.
6392         [C99-based-standards] (SCNoFAST16): Likewise.
6393         [C99-based-standards] (SCNuFAST16): Likewise.
6394         [C99-based-standards] (SCNxFAST16): Likewise.
6395         [C99-based-standards] (PRId32): Likewise.
6396         [C99-based-standards] (PRIi32): Likewise.
6397         [C99-based-standards] (PRIo32): Likewise.
6398         [C99-based-standards] (PRIu32): Likewise.
6399         [C99-based-standards] (PRIx32): Likewise.
6400         [C99-based-standards] (PRIX32): Likewise.
6401         [C99-based-standards] (SCNd32): Likewise.
6402         [C99-based-standards] (SCNi32): Likewise.
6403         [C99-based-standards] (SCNo32): Likewise.
6404         [C99-based-standards] (SCNu32): Likewise.
6405         [C99-based-standards] (SCNx32): Likewise.
6406         [C99-based-standards] (PRIdLEAST32): Likewise.
6407         [C99-based-standards] (PRIiLEAST32): Likewise.
6408         [C99-based-standards] (PRIoLEAST32): Likewise.
6409         [C99-based-standards] (PRIuLEAST32): Likewise.
6410         [C99-based-standards] (PRIxLEAST32): Likewise.
6411         [C99-based-standards] (PRIXLEAST32): Likewise.
6412         [C99-based-standards] (SCNdLEAST32): Likewise.
6413         [C99-based-standards] (SCNiLEAST32): Likewise.
6414         [C99-based-standards] (SCNoLEAST32): Likewise.
6415         [C99-based-standards] (SCNuLEAST32): Likewise.
6416         [C99-based-standards] (SCNxLEAST32): Likewise.
6417         [C99-based-standards] (PRIdFAST32): Likewise.
6418         [C99-based-standards] (PRIiFAST32): Likewise.
6419         [C99-based-standards] (PRIoFAST32): Likewise.
6420         [C99-based-standards] (PRIuFAST32): Likewise.
6421         [C99-based-standards] (PRIxFAST32): Likewise.
6422         [C99-based-standards] (PRIXFAST32): Likewise.
6423         [C99-based-standards] (SCNdFAST32): Likewise.
6424         [C99-based-standards] (SCNiFAST32): Likewise.
6425         [C99-based-standards] (SCNoFAST32): Likewise.
6426         [C99-based-standards] (SCNuFAST32): Likewise.
6427         [C99-based-standards] (SCNxFAST32): Likewise.
6428         [C99-based-standards] (PRId64): Likewise.
6429         [C99-based-standards] (PRIi64): Likewise.
6430         [C99-based-standards] (PRIo64): Likewise.
6431         [C99-based-standards] (PRIu64): Likewise.
6432         [C99-based-standards] (PRIx64): Likewise.
6433         [C99-based-standards] (PRIX64): Likewise.
6434         [C99-based-standards] (SCNd64): Likewise.
6435         [C99-based-standards] (SCNi64): Likewise.
6436         [C99-based-standards] (SCNo64): Likewise.
6437         [C99-based-standards] (SCNu64): Likewise.
6438         [C99-based-standards] (SCNx64): Likewise.
6439         [C99-based-standards] (PRIdLEAST64): Likewise.
6440         [C99-based-standards] (PRIiLEAST64): Likewise.
6441         [C99-based-standards] (PRIoLEAST64): Likewise.
6442         [C99-based-standards] (PRIuLEAST64): Likewise.
6443         [C99-based-standards] (PRIxLEAST64): Likewise.
6444         [C99-based-standards] (PRIXLEAST64): Likewise.
6445         [C99-based-standards] (SCNdLEAST64): Likewise.
6446         [C99-based-standards] (SCNiLEAST64): Likewise.
6447         [C99-based-standards] (SCNoLEAST64): Likewise.
6448         [C99-based-standards] (SCNuLEAST64): Likewise.
6449         [C99-based-standards] (SCNxLEAST64): Likewise.
6450         [C99-based-standards] (PRIdFAST64): Likewise.
6451         [C99-based-standards] (PRIiFAST64): Likewise.
6452         [C99-based-standards] (PRIoFAST64): Likewise.
6453         [C99-based-standards] (PRIuFAST64): Likewise.
6454         [C99-based-standards] (PRIxFAST64): Likewise.
6455         [C99-based-standards] (PRIXFAST64): Likewise.
6456         [C99-based-standards] (SCNdFAST64): Likewise.
6457         [C99-based-standards] (SCNiFAST64): Likewise.
6458         [C99-based-standards] (SCNoFAST64): Likewise.
6459         [C99-based-standards] (SCNuFAST64): Likewise.
6460         [C99-based-standards] (SCNxFAST64): Likewise.
6461         [C99-based-standards] (PRIdMAX): Likewise.
6462         [C99-based-standards] (PRIiMAX): Likewise.
6463         [C99-based-standards] (PRIoMAX): Likewise.
6464         [C99-based-standards] (PRIuMAX): Likewise.
6465         [C99-based-standards] (PRIxMAX): Likewise.
6466         [C99-based-standards] (PRIXMAX): Likewise.
6467         [C99-based-standards] (SCNdMAX): Likewise.
6468         [C99-based-standards] (SCNiMAX): Likewise.
6469         [C99-based-standards] (SCNoMAX): Likewise.
6470         [C99-based-standards] (SCNuMAX): Likewise.
6471         [C99-based-standards] (SCNxMAX): Likewise.
6472         [C99-based-standards] (PRIdPTR): Likewise.
6473         [C99-based-standards] (PRIiPTR): Likewise.
6474         [C99-based-standards] (PRIoPTR): Likewise.
6475         [C99-based-standards] (PRIuPTR): Likewise.
6476         [C99-based-standards] (PRIxPTR): Likewise.
6477         [C99-based-standards] (PRIXPTR): Likewise.
6478         [C99-based-standards] (SCNdPTR): Likewise.
6479         [C99-based-standards] (SCNiPTR): Likewise.
6480         [C99-based-standards] (SCNoPTR): Likewise.
6481         [C99-based-standards] (SCNuPTR): Likewise.
6482         [C99-based-standards] (SCNxPTR): Likewise.
6483         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6484         allow.
6485         * conform/data/stdint.h-data: Update comments to clarify
6486         requirements.
6487         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6488         type.
6489         [C99-based standards] (INT8_MAX): Likewise.
6490         [C99-based standards] (INT16_MIN): Likewise.
6491         [C99-based standards] (INT16_MAX): Likewise.
6492         [C99-based standards] (INT32_MIN): Likewise.
6493         [C99-based standards] (INT32_MAX): Likewise.
6494         [C99-based standards] (INT64_MIN): Likewise.
6495         [C99-based standards] (INT64_MAX): Likewise.
6496         [C99-based standards] (UINT8_MAX): Likewise.
6497         [C99-based standards] (UINT16_MAX): Likewise.
6498         [C99-based standards] (UINT32_MAX): Likewise.
6499         [C99-based standards] (UINT64_MAX): Likewise.
6500         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6501         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6502         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6503         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6504         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6505         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6506         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6507         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6508         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6509         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6510         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6511         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6512         [C99-based standards] (INT_FAST8_MIN): Likewise.
6513         [C99-based standards] (INT_FAST8_MAX): Likewise.
6514         [C99-based standards] (INT_FAST16_MIN): Likewise.
6515         [C99-based standards] (INT_FAST16_MAX): Likewise.
6516         [C99-based standards] (INT_FAST32_MIN): Likewise.
6517         [C99-based standards] (INT_FAST32_MAX): Likewise.
6518         [C99-based standards] (INT_FAST64_MIN): Likewise.
6519         [C99-based standards] (INT_FAST64_MAX): Likewise.
6520         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6521         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6522         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6523         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6524         [C99-based standards] (INTPTR_MIN): Likewise.
6525         [C99-based standards] (INTPTR_MAX): Likewise.
6526         [C99-based standards] (UINTPTR_MAX): Likewise.
6527         [C99-based standards] (INTMAX_MIN): Likewise.
6528         [C99-based standards] (INTMAX_MAX): Likewise.
6529         [C99-based standards] (UINTMAX_MAX): Likewise.
6530         [C99-based standards] (PTRDIFF_MIN): Likewise.
6531         [C99-based standards] (PTRDIFF_MAX): Likewise.
6532         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6533         [C99-based standards] (SIZE_MAX): Likewise.
6534         [C99-based standards] (WCHAR_MAX): Likewise.
6535         [C99-based standards] (WINT_MAX): Likewise.
6536         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6537         constraint on value.
6538         [C99-based standards] (WCHAR_MIN): Likewise.
6539         [C99-based standards] (WINT_MIN): Likewise.
6540         [C99-based standards] (*_t): Allow.
6541         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6542         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6543         Include math.h-data and complex.h-data.  Remove all expectations
6544         of math.h and complex.h contents.
6545         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6546         at end of line.
6547         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6548         (struct tm): Expect tag.
6549         [C99-based-standards] (wcstof): Expect function.
6550         [C99-based-standards] (wcstold): Likewise.
6551         [C99-based-standards] (wcstoll): Likewise.
6552         [C99-based-standards] (wcstoull): Likewise.
6553         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6554         macro-int-constant.  Specify type.
6555         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6556         constraint on value.
6557         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6558         Specify type.
6559         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6560         Specify value.
6561         [ISO C standards]: Do not allow headers.
6562         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6563         wcs[abcdefghijklmnopqrstuvwxyz]*.
6564         [ISO C standards] (*_t): Do not allow.
6565         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6566         Expect function.
6567         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6568         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6569         Specify type.
6570         [ISO C standards]: Do not allow headers.
6571         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6572         is[abcdefghijklmnopqrstuvwxyz]*.
6573         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6574         to[abcdefghijklmnopqrstuvwxyz]*.
6575         [ISO C standards] (*_t): Do not allow.
6576         * conform/data/stdalign.h-data: New file.
6577         * conform/data/stdbool.h-data: Likewise.
6578         * conform/data/stdnoreturn.h-data: Likewise.
6579
6580 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6581
6582         [BZ #14815]
6583         * manual/filesys.texi (Directory Entries): Typo fix.
6584         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6585
6586 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6587
6588         * elf/elf.h (EM_AARCH64): New macro.
6589         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6590         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6591         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6592         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6593         (R_AARCH64_TLSDESC): Likewise.
6594         (NT_ARM_TLS): Likewise.
6595         (NT_ARM_HW_BREAK): Likewise.
6596         (NT_ARM_HW_WATCH): Likewise.
6597
6598 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6599
6600         [BZ #14811]
6601         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6602         (__ieee754_powl): Saturate nonzero exponents with absolute value
6603         below 0x1p-79 to +/- 0x1p-79.
6604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6605         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6606         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6607         nonzero exponents with absolute value below 0x1p-32 to +/-
6608         0x1p-32.
6609         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6610         (__ieee754_powl): Saturate nonzero exponents with absolute value
6611         below 0x1p-79 to +/- 0x1p-79.
6612         * math/libm-test.inc (pow_test): Add more tests.
6613
6614 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6615
6616         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6617         _dl_s390_cap_flags with kernel. Increase string length.
6618         (_dl_s390_platforms): Add z196 and zEC12.
6619
6620 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6621
6622         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6623         Change XOPEN21K to XOPEN2K.
6624
6625 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6626
6627         * string/memmove.c: Use memcpy when possible.
6628
6629 2012-11-06  Andreas Jaeger  <aj@suse.de>
6630
6631         * po/eo.po: Update from translation team.
6632
6633 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6634
6635         [BZ #14793]
6636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6637         exponent and small x and y exponents, scale x or y up.  Increase
6638         by 2 the exponent used in scaling up.
6639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6641         * math/libm-test.inc (fma_test): Add more tests.
6642         (fma_test_towardzero): Likewise.
6643         (fma_test_downward): Likewise.
6644         (fma_test_upward): Likewise.
6645
6646 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6647
6648         [BZ #14805]
6649         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6650         fenv_t *.
6651
6652         [BZ #14801]
6653         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6654         namespace for names of struct fields.
6655         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6656         fenv_t fields.
6657         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6658         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6659
6660 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6661
6662         [BZ #3665]
6663         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6664
6665 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6666
6667         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6668         PTR_DEMANGLE.
6669
6670         [BZ #5246]
6671         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6672         PTR_DEMANGLE.
6673
6674 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6675
6676         [BZ #14797]
6677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6678         definitely overflow as x * y not x * y + z.
6679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6681         * math/libm-test.inc (fma_test): Add more tests.
6682         (fma_test_towardzero): Likewise.
6683         (fma_test_downward): Likewise.
6684         (fma_test_upward): Likewise.
6685
6686 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6687
6688         [BZ #157]
6689
6690         * include/stub-tag.h: Remove file.
6691         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6692         '#include' of it.
6693         * manual/maint.texi (Porting): Don't reference it.
6694         * Makerules ($(objpfx)stubs): Likewise.
6695         * dirent/closedir.c: Don't include <stub-tag.h>.
6696         * dirent/dirfd.c: Likewise.
6697         * dirent/fdopendir.c: Likewise.
6698         * dirent/getdents.c: Likewise.
6699         * dirent/getdents64.c: Likewise.
6700         * dirent/opendir.c: Likewise.
6701         * dirent/readdir.c: Likewise.
6702         * dirent/readdir64.c: Likewise.
6703         * dirent/readdir64_r.c: Likewise.
6704         * dirent/readdir_r.c: Likewise.
6705         * dirent/rewinddir.c: Likewise.
6706         * dirent/seekdir.c: Likewise.
6707         * dirent/telldir.c: Likewise.
6708         * gmon/profil.c: Likewise.
6709         * grp/setgroups.c: Likewise.
6710         * inet/if_index.c: Likewise.
6711         * io/access.c: Likewise.
6712         * io/chdir.c: Likewise.
6713         * io/chmod.c: Likewise.
6714         * io/chown.c: Likewise.
6715         * io/close.c: Likewise.
6716         * io/dup.c: Likewise.
6717         * io/dup2.c: Likewise.
6718         * io/dup3.c: Likewise.
6719         * io/euidaccess.c: Likewise.
6720         * io/faccessat.c: Likewise.
6721         * io/fchdir.c: Likewise.
6722         * io/fchmod.c: Likewise.
6723         * io/fchmodat.c: Likewise.
6724         * io/fchown.c: Likewise.
6725         * io/fchownat.c: Likewise.
6726         * io/fcntl.c: Likewise.
6727         * io/flock.c: Likewise.
6728         * io/fstatfs.c: Likewise.
6729         * io/fstatfs64.c: Likewise.
6730         * io/fstatvfs.c: Likewise.
6731         * io/fstatvfs64.c: Likewise.
6732         * io/futimens.c: Likewise.
6733         * io/fxstat.c: Likewise.
6734         * io/fxstat64.c: Likewise.
6735         * io/fxstatat.c: Likewise.
6736         * io/fxstatat64.c: Likewise.
6737         * io/getcwd.c: Likewise.
6738         * io/isatty.c: Likewise.
6739         * io/lchmod.c: Likewise.
6740         * io/lchown.c: Likewise.
6741         * io/link.c: Likewise.
6742         * io/linkat.c: Likewise.
6743         * io/lseek.c: Likewise.
6744         * io/lseek64.c: Likewise.
6745         * io/lxstat64.c: Likewise.
6746         * io/mkdir.c: Likewise.
6747         * io/mkdirat.c: Likewise.
6748         * io/mkfifo.c: Likewise.
6749         * io/mkfifoat.c: Likewise.
6750         * io/open.c: Likewise.
6751         * io/open64.c: Likewise.
6752         * io/openat.c: Likewise.
6753         * io/openat64.c: Likewise.
6754         * io/pipe.c: Likewise.
6755         * io/pipe2.c: Likewise.
6756         * io/poll.c: Likewise.
6757         * io/posix_fadvise.c: Likewise.
6758         * io/posix_fadvise64.c: Likewise.
6759         * io/posix_fallocate.c: Likewise.
6760         * io/posix_fallocate64.c: Likewise.
6761         * io/read.c: Likewise.
6762         * io/readlink.c: Likewise.
6763         * io/readlinkat.c: Likewise.
6764         * io/rmdir.c: Likewise.
6765         * io/sendfile.c: Likewise.
6766         * io/sendfile64.c: Likewise.
6767         * io/statfs.c: Likewise.
6768         * io/statfs64.c: Likewise.
6769         * io/statvfs.c: Likewise.
6770         * io/statvfs64.c: Likewise.
6771         * io/symlink.c: Likewise.
6772         * io/symlinkat.c: Likewise.
6773         * io/ttyname.c: Likewise.
6774         * io/ttyname_r.c: Likewise.
6775         * io/umask.c: Likewise.
6776         * io/unlink.c: Likewise.
6777         * io/unlinkat.c: Likewise.
6778         * io/utime.c: Likewise.
6779         * io/utimensat.c: Likewise.
6780         * io/write.c: Likewise.
6781         * io/xmknod.c: Likewise.
6782         * io/xmknodat.c: Likewise.
6783         * io/xstat.c: Likewise.
6784         * io/xstat64.c: Likewise.
6785         * login/getpt.c: Likewise.
6786         * login/grantpt.c: Likewise.
6787         * login/unlockpt.c: Likewise.
6788         * math/e_acoshl.c: Likewise.
6789         * math/e_acosl.c: Likewise.
6790         * math/e_asinl.c: Likewise.
6791         * math/e_atan2l.c: Likewise.
6792         * math/e_atanhl.c: Likewise.
6793         * math/e_coshl.c: Likewise.
6794         * math/e_expl.c: Likewise.
6795         * math/e_fmodl.c: Likewise.
6796         * math/e_gammal_r.c: Likewise.
6797         * math/e_hypotl.c: Likewise.
6798         * math/e_j0l.c: Likewise.
6799         * math/e_j1l.c: Likewise.
6800         * math/e_jnl.c: Likewise.
6801         * math/e_lgammal_r.c: Likewise.
6802         * math/e_log10l.c: Likewise.
6803         * math/e_log2l.c: Likewise.
6804         * math/e_logl.c: Likewise.
6805         * math/e_powl.c: Likewise.
6806         * math/e_rem_pio2l.c: Likewise.
6807         * math/e_sinhl.c: Likewise.
6808         * math/e_sqrtl.c: Likewise.
6809         * math/fclrexcpt.c: Likewise.
6810         * math/fedisblxcpt.c: Likewise.
6811         * math/feenablxcpt.c: Likewise.
6812         * math/fegetenv.c: Likewise.
6813         * math/fegetexcept.c: Likewise.
6814         * math/fegetround.c: Likewise.
6815         * math/feholdexcpt.c: Likewise.
6816         * math/fesetenv.c: Likewise.
6817         * math/fesetround.c: Likewise.
6818         * math/feupdateenv.c: Likewise.
6819         * math/fgetexcptflg.c: Likewise.
6820         * math/fraiseexcpt.c: Likewise.
6821         * math/fsetexcptflg.c: Likewise.
6822         * math/ftestexcept.c: Likewise.
6823         * math/k_cosl.c: Likewise.
6824         * math/k_rem_pio2l.c: Likewise.
6825         * math/k_sinl.c: Likewise.
6826         * math/k_tanl.c: Likewise.
6827         * math/s_asinhl.c: Likewise.
6828         * math/s_atanl.c: Likewise.
6829         * math/s_cbrtl.c: Likewise.
6830         * math/s_erfl.c: Likewise.
6831         * math/s_expm1l.c: Likewise.
6832         * math/s_log1pl.c: Likewise.
6833         * math/s_tanhl.c: Likewise.
6834         * misc/acct.c: Likewise.
6835         * misc/brk.c: Likewise.
6836         * misc/chflags.c: Likewise.
6837         * misc/chroot.c: Likewise.
6838         * misc/fchflags.c: Likewise.
6839         * misc/fgetxattr.c: Likewise.
6840         * misc/flistxattr.c: Likewise.
6841         * misc/fremovexattr.c: Likewise.
6842         * misc/fsetxattr.c: Likewise.
6843         * misc/fsync.c: Likewise.
6844         * misc/ftruncate.c: Likewise.
6845         * misc/futimes.c: Likewise.
6846         * misc/futimesat.c: Likewise.
6847         * misc/getdomain.c: Likewise.
6848         * misc/getdtsz.c: Likewise.
6849         * misc/gethostid.c: Likewise.
6850         * misc/gethostname.c: Likewise.
6851         * misc/getloadavg.c: Likewise.
6852         * misc/getpagesize.c: Likewise.
6853         * misc/getsysstats.c: Likewise.
6854         * misc/getxattr.c: Likewise.
6855         * misc/gtty.c: Likewise.
6856         * misc/ioctl.c: Likewise.
6857         * misc/lgetxattr.c: Likewise.
6858         * misc/listxattr.c: Likewise.
6859         * misc/llistxattr.c: Likewise.
6860         * misc/lremovexattr.c: Likewise.
6861         * misc/lsetxattr.c: Likewise.
6862         * misc/lutimes.c: Likewise.
6863         * misc/madvise.c: Likewise.
6864         * misc/mincore.c: Likewise.
6865         * misc/mlock.c: Likewise.
6866         * misc/mlockall.c: Likewise.
6867         * misc/mmap.c: Likewise.
6868         * misc/mprotect.c: Likewise.
6869         * misc/msync.c: Likewise.
6870         * misc/munlock.c: Likewise.
6871         * misc/munlockall.c: Likewise.
6872         * misc/munmap.c: Likewise.
6873         * misc/preadv.c: Likewise.
6874         * misc/preadv64.c: Likewise.
6875         * misc/ptrace.c: Likewise.
6876         * misc/pwritev.c: Likewise.
6877         * misc/pwritev64.c: Likewise.
6878         * misc/readv.c: Likewise.
6879         * misc/reboot.c: Likewise.
6880         * misc/remap_file_pages.c: Likewise.
6881         * misc/removexattr.c: Likewise.
6882         * misc/revoke.c: Likewise.
6883         * misc/select.c: Likewise.
6884         * misc/setdomain.c: Likewise.
6885         * misc/setegid.c: Likewise.
6886         * misc/seteuid.c: Likewise.
6887         * misc/sethostid.c: Likewise.
6888         * misc/sethostname.c: Likewise.
6889         * misc/setregid.c: Likewise.
6890         * misc/setreuid.c: Likewise.
6891         * misc/setxattr.c: Likewise.
6892         * misc/sstk.c: Likewise.
6893         * misc/stty.c: Likewise.
6894         * misc/swapoff.c: Likewise.
6895         * misc/swapon.c: Likewise.
6896         * misc/sync.c: Likewise.
6897         * misc/syncfs.c: Likewise.
6898         * misc/syscall.c: Likewise.
6899         * misc/truncate.c: Likewise.
6900         * misc/ualarm.c: Likewise.
6901         * misc/usleep.c: Likewise.
6902         * misc/ustat.c: Likewise.
6903         * misc/utimes.c: Likewise.
6904         * misc/vhangup.c: Likewise.
6905         * misc/writev.c: Likewise.
6906         * posix/_exit.c: Likewise.
6907         * posix/alarm.c: Likewise.
6908         * posix/execve.c: Likewise.
6909         * posix/fexecve.c: Likewise.
6910         * posix/fork.c: Likewise.
6911         * posix/fpathconf.c: Likewise.
6912         * posix/getaddrinfo.c: Likewise.
6913         * posix/getegid.c: Likewise.
6914         * posix/geteuid.c: Likewise.
6915         * posix/getgid.c: Likewise.
6916         * posix/getgroups.c: Likewise.
6917         * posix/getlogin.c: Likewise.
6918         * posix/getlogin_r.c: Likewise.
6919         * posix/getpgid.c: Likewise.
6920         * posix/getpid.c: Likewise.
6921         * posix/getppid.c: Likewise.
6922         * posix/getresgid.c: Likewise.
6923         * posix/getresuid.c: Likewise.
6924         * posix/getsid.c: Likewise.
6925         * posix/getuid.c: Likewise.
6926         * posix/glob64.c: Likewise.
6927         * posix/nanosleep.c: Likewise.
6928         * posix/pathconf.c: Likewise.
6929         * posix/pause.c: Likewise.
6930         * posix/posix_madvise.c: Likewise.
6931         * posix/pread.c: Likewise.
6932         * posix/pread64.c: Likewise.
6933         * posix/pwrite.c: Likewise.
6934         * posix/pwrite64.c: Likewise.
6935         * posix/sched_getaffinity.c: Likewise.
6936         * posix/sched_getp.c: Likewise.
6937         * posix/sched_gets.c: Likewise.
6938         * posix/sched_primax.c: Likewise.
6939         * posix/sched_primin.c: Likewise.
6940         * posix/sched_rr_gi.c: Likewise.
6941         * posix/sched_setaffinity.c: Likewise.
6942         * posix/sched_setp.c: Likewise.
6943         * posix/sched_sets.c: Likewise.
6944         * posix/sched_yield.c: Likewise.
6945         * posix/setgid.c: Likewise.
6946         * posix/setlogin.c: Likewise.
6947         * posix/setpgid.c: Likewise.
6948         * posix/setresgid.c: Likewise.
6949         * posix/setresuid.c: Likewise.
6950         * posix/setsid.c: Likewise.
6951         * posix/setuid.c: Likewise.
6952         * posix/sleep.c: Likewise.
6953         * posix/spawni.c: Likewise.
6954         * posix/sysconf.c: Likewise.
6955         * posix/times.c: Likewise.
6956         * posix/wait.c: Likewise.
6957         * posix/wait3.c: Likewise.
6958         * posix/wait4.c: Likewise.
6959         * posix/waitpid.c: Likewise.
6960         * resolv/gai_sigqueue.c: Likewise.
6961         * resource/getpriority.c: Likewise.
6962         * resource/getrlimit.c: Likewise.
6963         * resource/getrusage.c: Likewise.
6964         * resource/nice.c: Likewise.
6965         * resource/setpriority.c: Likewise.
6966         * resource/setrlimit.c: Likewise.
6967         * resource/ulimit.c: Likewise.
6968         * rt/aio_cancel.c: Likewise.
6969         * rt/aio_fsync.c: Likewise.
6970         * rt/aio_read.c: Likewise.
6971         * rt/aio_sigqueue.c: Likewise.
6972         * rt/aio_suspend.c: Likewise.
6973         * rt/aio_write.c: Likewise.
6974         * rt/clock_getres.c: Likewise.
6975         * rt/clock_gettime.c: Likewise.
6976         * rt/clock_nanosleep.c: Likewise.
6977         * rt/clock_settime.c: Likewise.
6978         * rt/lio_listio.c: Likewise.
6979         * rt/mq_close.c: Likewise.
6980         * rt/mq_getattr.c: Likewise.
6981         * rt/mq_notify.c: Likewise.
6982         * rt/mq_open.c: Likewise.
6983         * rt/mq_receive.c: Likewise.
6984         * rt/mq_send.c: Likewise.
6985         * rt/mq_setattr.c: Likewise.
6986         * rt/mq_timedreceive.c: Likewise.
6987         * rt/mq_timedsend.c: Likewise.
6988         * rt/mq_unlink.c: Likewise.
6989         * rt/shm_open.c: Likewise.
6990         * rt/shm_unlink.c: Likewise.
6991         * rt/timer_create.c: Likewise.
6992         * rt/timer_delete.c: Likewise.
6993         * rt/timer_getoverr.c: Likewise.
6994         * rt/timer_gettime.c: Likewise.
6995         * rt/timer_settime.c: Likewise.
6996         * setjmp/__longjmp.c: Likewise.
6997         * setjmp/setjmp.c: Likewise.
6998         * signal/kill.c: Likewise.
6999         * signal/killpg.c: Likewise.
7000         * signal/raise.c: Likewise.
7001         * signal/sigaction.c: Likewise.
7002         * signal/sigaltstack.c: Likewise.
7003         * signal/sigblock.c: Likewise.
7004         * signal/sigignore.c: Likewise.
7005         * signal/sigintr.c: Likewise.
7006         * signal/signal.c: Likewise.
7007         * signal/sigpause.c: Likewise.
7008         * signal/sigpending.c: Likewise.
7009         * signal/sigqueue.c: Likewise.
7010         * signal/sigreturn.c: Likewise.
7011         * signal/sigset.c: Likewise.
7012         * signal/sigsetmask.c: Likewise.
7013         * signal/sigstack.c: Likewise.
7014         * signal/sigsuspend.c: Likewise.
7015         * signal/sigtimedwait.c: Likewise.
7016         * signal/sigvec.c: Likewise.
7017         * signal/sigwait.c: Likewise.
7018         * signal/sigwaitinfo.c: Likewise.
7019         * signal/sysv_signal.c: Likewise.
7020         * socket/accept.c: Likewise.
7021         * socket/accept4.c: Likewise.
7022         * socket/bind.c: Likewise.
7023         * socket/connect.c: Likewise.
7024         * socket/getpeername.c: Likewise.
7025         * socket/getsockname.c: Likewise.
7026         * socket/getsockopt.c: Likewise.
7027         * socket/isfdtype.c: Likewise.
7028         * socket/listen.c: Likewise.
7029         * socket/recv.c: Likewise.
7030         * socket/recvfrom.c: Likewise.
7031         * socket/recvmsg.c: Likewise.
7032         * socket/send.c: Likewise.
7033         * socket/sendmsg.c: Likewise.
7034         * socket/sendto.c: Likewise.
7035         * socket/setsockopt.c: Likewise.
7036         * socket/shutdown.c: Likewise.
7037         * socket/sockatmark.c: Likewise.
7038         * socket/socket.c: Likewise.
7039         * socket/socketpair.c: Likewise.
7040         * stdio-common/ctermid.c: Likewise.
7041         * stdio-common/cuserid.c: Likewise.
7042         * stdio-common/remove.c: Likewise.
7043         * stdio-common/rename.c: Likewise.
7044         * stdio-common/renameat.c: Likewise.
7045         * stdio-common/tempname.c: Likewise.
7046         * stdlib/getcontext.c: Likewise.
7047         * stdlib/makecontext.c: Likewise.
7048         * stdlib/setcontext.c: Likewise.
7049         * stdlib/swapcontext.c: Likewise.
7050         * stdlib/system.c: Likewise.
7051         * streams/fattach.c: Likewise.
7052         * streams/fdetach.c: Likewise.
7053         * streams/getmsg.c: Likewise.
7054         * streams/getpmsg.c: Likewise.
7055         * streams/putmsg.c: Likewise.
7056         * streams/putpmsg.c: Likewise.
7057         * sysdeps/unix/bsd/getpt.c: Likewise.
7058         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7059         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7060         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7062         Likewise.
7063         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7064         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7065         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7066         * sysvipc/msgctl.c: Likewise.
7067         * sysvipc/msgget.c: Likewise.
7068         * sysvipc/msgrcv.c: Likewise.
7069         * sysvipc/msgsnd.c: Likewise.
7070         * sysvipc/semctl.c: Likewise.
7071         * sysvipc/semget.c: Likewise.
7072         * sysvipc/semop.c: Likewise.
7073         * sysvipc/semtimedop.c: Likewise.
7074         * sysvipc/shmat.c: Likewise.
7075         * sysvipc/shmctl.c: Likewise.
7076         * sysvipc/shmdt.c: Likewise.
7077         * sysvipc/shmget.c: Likewise.
7078         * termios/tcdrain.c: Likewise.
7079         * termios/tcflow.c: Likewise.
7080         * termios/tcflush.c: Likewise.
7081         * termios/tcgetattr.c: Likewise.
7082         * termios/tcgetpgrp.c: Likewise.
7083         * termios/tcsendbrk.c: Likewise.
7084         * termios/tcsetattr.c: Likewise.
7085         * termios/tcsetpgrp.c: Likewise.
7086         * time/adjtime.c: Likewise.
7087         * time/clock.c: Likewise.
7088         * time/getitimer.c: Likewise.
7089         * time/gettimeofday.c: Likewise.
7090         * time/setitimer.c: Likewise.
7091         * time/settimeofday.c: Likewise.
7092         * time/stime.c: Likewise.
7093         * time/time.c: Likewise.
7094
7095 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7096
7097         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7098         /usr/old/bin.
7099
7100         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7101         instead of spaces.
7102         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7103
7104 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7105
7106         [BZ #14796]
7107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7108         FE_TONEAREST before applying Dekker multiplication and Knuth
7109         addition.  Clear inexact exceptions and check for exact zero
7110         results afterwards.
7111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7112         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7113         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7114         * math/libm-test.inc (fma_test): Add more tests.
7115         (fma_test_towardzero): Likewise.
7116         (fma_test_downward): Likewise.
7117         (fma_test_upward): Likewise.
7118         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7119         function.
7120         (libc_fesetround): New macro.
7121         (libc_fesetroundf): Likewise.
7122         (libc_fesetroundl): Likewise.
7123         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7124         function.
7125         (libc_fesetround_387): Likewise.
7126         (libc_fesetroundf): New macro.
7127         (libc_fesetround): Likewise.
7128         (libc_fesetroundl): Likewise.
7129         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7130         function.
7131         (libc_fesetroundf): New macro.
7132         (libc_fesetround): Likewise.
7133         (libc_fesetroundl): Likewise.
7134         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7135         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7136         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7137         libm_hidden_ver.
7138         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7139         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7140         libm_hidden_def.
7141         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7142         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7143         libm_hidden_ver.
7144         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7145         libm_hidden_def.
7146
7147         [BZ #3439]
7148         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7149         integer constant usable in #if and use that to give value to enum
7150         constant.
7151         (FE_DIVBYZERO): Likewise.
7152         (FE_UNDERFLOW): Likewise.
7153         (FE_OVERFLOW): Likewise.
7154         (FE_INVALID): Likewise.
7155         (FE_INVALID_SNAN): Likewise.
7156         (FE_INVALID_ISI): Likewise.
7157         (FE_INVALID_IDI): Likewise.
7158         (FE_INVALID_ZDZ): Likewise.
7159         (FE_INVALID_IMZ): Likewise.
7160         (FE_INVALID_COMPARE): Likewise.
7161         (FE_INVALID_SOFTWARE): Likewise.
7162         (FE_INVALID_SQRT): Likewise.
7163         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7164         (FE_TONEAREST): Likewise.
7165         (FE_TOWARDZERO): Likewise.
7166         (FE_UPWARD): Likewise.
7167         (FE_DOWNWARD): Likewise.
7168         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7169         (FE_DIVBYZERO): Likewise.
7170         (FE_OVERFLOW): Likewise.
7171         (FE_UNDERFLOW): Likewise.
7172         (FE_INEXACT): Likewise.
7173         (FE_TONEAREST): Likewise.
7174         (FE_DOWNWARD): Likewise.
7175         (FE_UPWARD): Likewise.
7176         (FE_TOWARDZERO): Likewise.
7177         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7178         (FE_UNDERFLOW): Likewise.
7179         (FE_OVERFLOW): Likewise.
7180         (FE_DIVBYZERO): Likewise.
7181         (FE_INVALID): Likewise.
7182         (FE_TONEAREST): Likewise.
7183         (FE_TOWARDZERO): Likewise.
7184         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7185         (FE_OVERFLOW): Likewise.
7186         (FE_UNDERFLOW): Likewise.
7187         (FE_DIVBYZERO): Likewise.
7188         (FE_INEXACT): Likewise.
7189         (FE_TONEAREST): Likewise.
7190         (FE_TOWARDZERO): Likewise.
7191         (FE_UPWARD): Likewise.
7192         (FE_DOWNWARD): Likewise.
7193         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7194         (FE_DIVBYZERO): Likewise.
7195         (FE_OVERFLOW): Likewise.
7196         (FE_UNDERFLOW): Likewise.
7197         (FE_INEXACT): Likewise.
7198         (FE_TONEAREST): Likewise.
7199         (FE_DOWNWARD): Likewise.
7200         (FE_UPWARD): Likewise.
7201         (FE_TOWARDZERO): Likewise.
7202
7203 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7204
7205         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7206
7207 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7208
7209         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7210         commands.  Quote $PWD.
7211         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7212         -x" by "export".
7213         (remove_newlines): Remove.
7214
7215 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7216
7217         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7218         * stdlib/stdlib.h (atof): Moved to ...
7219         * include/bits/stdlib-float.h: Here.  New file.
7220         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7221         * stdlib/bits/stdlib-float.h: New file.
7222         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7223         -mno-sse -mno-mmx.
7224         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7225         <xmmintrin.h>.
7226
7227 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7228
7229         * conform/conformtest.pl (@headers): Add fenv.h.
7230         * conform/data/fenv.h-data: New file.
7231         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7232         include of <math/fenv.h>.
7233
7234         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7235         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7236         && !UNIX98].  Enables tests for XOPEN2K8.
7237         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7238         POSIX2008]: Likewise.
7239
7240         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7241         (struct rusage): Do not expect type or its members.
7242
7243         [BZ #3439]
7244         * math/math.h (FP_NAN): Define macro to integer constant usable in
7245         #if and use that to give value to enum constant.
7246         (FP_INFINITE): Likewise.
7247         (FP_ZERO): Likewise.
7248         (FP_SUBNORMAL): Likewise.
7249         (FP_NORMAL): Likewise.
7250
7251 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7252
7253         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7254         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7255         arguments.
7256
7257 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7258
7259         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7260         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7261         autoconf-time if not.
7262         * configure.in: Remove AC_PREREQ.
7263
7264 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7265
7266         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7267         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7268         of the internal implementation.
7269
7270 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7271
7272         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7273         except include of <misc/sys/syslog.h>.
7274
7275 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7276
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7278         function returns with a NULL context exit with zero.
7279
7280 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7281
7282         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7283
7284 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7285
7286         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7287         (run_program_cmd): This.
7288         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7289         (tst_langinfo): New variable.  Use it.
7290
7291 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7292
7293         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7294         floating point opcodes.
7295
7296 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7297
7298         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7299         variable.
7300
7301         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7302
7303         * sysdeps/mach/hurd/powerpc: Remove directory.
7304         * sysdeps/mach/powerpc: Likewise.
7305
7306 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7307
7308         * scripts/check-local-headers.sh: Ignore c++ headers.
7309
7310 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7311
7312         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7313         __libc_cleanup_region_start argument.
7314
7315 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7316
7317         [BZ #14784]
7318         [BZ #14785]
7319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7320         x * y using scaling, not as x * y + z.
7321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7323         * math/libm-test.inc (fma_test): Add more tests.
7324         (fma_test_towardzero): Likewise.
7325         (fma_test_downward): Likewise.
7326         (fma_test_upward): Likewise.
7327
7328 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7329
7330         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7331
7332 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7333
7334         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7335         New variable.
7336
7337 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7338
7339         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7340
7341 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7342
7343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7344         Fix sort order.
7345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7346         Likewise.
7347
7348 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7349
7350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7351         Fix the order of the list for glibc 2.17.
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7353         Likewise.
7354
7355 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7356
7357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7358
7359 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7360
7361         [BZ #14610]
7362         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7363         for low part of x being zero before using __atanl (y).
7364         * math/libm-test.inc (atan2_test): Add another test.
7365
7366         * manual/install.texi (Configuring and compiling): Document
7367         general use of test-wrapper and test-wrapper-env.
7368         * INSTALL: Regenerated.
7369
7370         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7371         (__fma): Do not extract and scale down low bits on after-rounding
7372         systems when result rounded to normal precision would have normal
7373         exponent.
7374         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7375         (__fmal): Do not extract and scale down low bits on after-rounding
7376         systems when result rounded to normal precision would have normal
7377         exponent.
7378         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7379         (__fmal): Do not extract and scale down low bits on after-rounding
7380         systems when result rounded to normal precision would have normal
7381         exponent.
7382         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7383         macro.
7384         (fma_test): Add more tests.
7385         (fma_test_towardzero): Likewise.
7386         (fma_test_downward): Likewise.
7387         (fma_test_upward): Likewise.
7388
7389 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7390
7391         * sysdeps/i386/tininess.h: Renamed to ...
7392         * sysdeps/x86/tininess.h: This.
7393         * sysdeps/x86_64/tininess.h: Removed.
7394
7395 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7396
7397         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7398         input.  Use $(build-program-cmd).
7399         ($(objpfx)tst-array1-static.out): Likewise.
7400         ($(objpfx)tst-array2.out): Likewise.
7401         ($(objpfx)tst-array3.out): Likewise.
7402         ($(objpfx)tst-array4.out): Likewise.
7403         ($(objpfx)tst-array5.out): Likewise.
7404         ($(objpfx)tst-array5-static.out): Likewise.
7405
7406 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7407
7408         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7409         if defined.
7410
7411         * nss/nsswitch.h (nss_interface_function): Provide new
7412         macro for use with NSS functions.
7413         * grp/initgroups.c: Use new macro.
7414         * nss/getXXbyYY.c: Likewise.
7415         * nss/getXXbyYY_r.c: Likewise.
7416         * nss/getXXent.c: Likewise.
7417         * nss/getXXent_r.c: Likewise.
7418         * sysdeps/posix/getaddrinfo.c: Likewise.
7419
7420 2012-10-30  Andreas Jaeger  <aj@suse.de>
7421
7422         * po/ru.po: Update Russion translation from translation project.
7423
7424 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7425
7426         [BZ #14152]
7427         [BZ #14783]
7428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7429         result and shift together with sticky bit instead of replicating
7430         round-to-nearest rounding.
7431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7433         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7434         missing underflow exceptions.
7435         (fma_test_towardzero): Add more tests.
7436         (fma_test_downward): Likewise.
7437         (fma_test_upward): Likewise.
7438
7439         [BZ #14047]
7440         * sysdeps/generic/tininess.h: New file.
7441         * sysdeps/i386/tininess.h: Likewise.
7442         * sysdeps/sh/tininess.h: Likewise.
7443         * sysdeps/x86_64/tininess.h: Likewise.
7444         * stdlib/tst-strtod-underflow.c: Likewise.
7445         * stdlib/tst-tininess.c: Likewise.
7446         * stdlib/strtod_l.c: Include <tininess.h>.
7447         (round_and_return): Do not set errno for exact underflow cases.
7448         Force an underflow exception when setting errno for underflow.
7449         Determine underflow based on rounding to normal precision if
7450         TININESS_AFTER_ROUNDING.
7451         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7452         ERANGE for exact underflow cases.
7453         * stdlib/Makefile (tests): Add tst-tininess and
7454         tst-strtod-underflow.
7455         ($(objpfx)tst-tininess): Use $(link-libm).
7456         ($(objpfx)tst-strtod-underflow): Likewise.
7457
7458 2012-10-30  Andreas Jaeger  <aj@suse.de>
7459
7460         [BZ#14767]
7461         * elf/Makefile (tests): Remove conditional for have-initfini-array
7462         since this is now always required and the variable does not exist
7463         anymore.
7464         (tests-static): Likewise.
7465         (modules-names): Likewise.
7466
7467         * po/eo.po: Add Esperanto translation from translation project.
7468
7469         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7470         merged with constructor/destructor.
7471         (init_array): Likewise.
7472         * elf/tst-array2dep.c (fini_array): Likewise.
7473         (init_array): Likewise.
7474
7475 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7476
7477         * manual/message.texi: Delete @cartouche tags.
7478
7479 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7480
7481         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7482         EOPNOTSUPP.
7483         * sysdeps/mach/hurd/fsync.c: Likewise.
7484
7485         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7486         [_POSIX_REALTIME_SIGNALS]: Change condition to
7487         [_POSIX_REALTIME_SIGNALS > 0].
7488
7489 2012-10-27  Andreas Jaeger  <aj@suse.de>
7490
7491         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7492         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7493         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7494         [__WORDSIZE != 64]: Likewise.
7495
7496 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7497
7498         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7499         *  iconvdata/tst-tables.sh: Likewise.
7500
7501 2012-10-25  David S. Miller  <davem@davemloft.net>
7502
7503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7504         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7505         of strtoull.
7506
7507         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7508         ifunc-impl-list.c
7509         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7510         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7511         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7512         file.
7513
7514 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7515
7516         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7517         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7518         __getdirentries.
7519
7520 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7521             Jim Blandy  <jimb@codesourcery.com>
7522
7523         * scripts/cross-test-ssh.sh: New file.
7524         * manual/install.texi (Configuring and compiling): Document use of
7525         cross-test-ssh.sh.
7526         * INSTALL: Regenerated.
7527
7528 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7529
7530         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7531         EOPNOTSUPP.
7532
7533 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7534
7535         * Makeconfig (run-program-prefix): Fix comment.
7536
7537 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7538             Jim Blandy  <jimb@codesourcery.com>
7539
7540         * Makeconfig (test-wrapper): New variable,
7541         (test-wrapper-env): Likewise.
7542         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7543         (run-built-tests): Define to yes.
7544         (run-program-prefix): Use $(test-wrapper).
7545         (built-program-cmd): Likewise.
7546         * Rules (make-test-out): Use $(test-wrapper-env) and
7547         $(host-built-program-cmd).
7548         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7549         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7550         tst-pathopt.sh.
7551         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7552         $(test-wrapper-env) to tst-rtld-load-self.sh.
7553         ($(objpfx)order2.out): Use $(test-wrapper).
7554         ($(objpfx)tst-initorder.out): Likewise.
7555         ($(objpfx)tst-initorder2.out): Likewise.
7556         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7557         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7558         (test_wrapper_env): New variable.  Use it to run ld.so.
7559         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7560         Use it to run ld.so.
7561         (test_wrapper_env): Likewise.
7562         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7563         $(test-wrapper) to run-iconv-test.sh.
7564         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7565         (ICONV): Use $test_wrapper.
7566         * posix/Makefile ($(objpfx)globtest.out): Pass
7567         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7568         globtest.sh, not $(run-program-prefix).
7569         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7570         (test_wrapper): Likewise.
7571         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7572         set together with run_via_rtld_prefix.
7573         (run_program_prefix): Define in terms of test_wrapper and
7574         run_via_rtld_prefix.
7575
7576 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7577
7578         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7579         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7580         Targets removed.
7581
7582         [BZ #14743]
7583         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7584         Declare __clock_getres, __clock_gettime, __clock_settime,
7585         __clock_nanosleep, and __clock_getcpuclockid.
7586         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7587         Remove librt_hidden_def (clock_gettime).
7588         * sysdeps/unix/clock_gettime.c: Likewise.
7589         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7590         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7591         * rt/clock_getres.c: Define __clock_getres as an alias.
7592         * sysdeps/posix/clock_getres.c: Likewise.
7593         * rt/clock_settime.c: Define __clock_settime as an alias.
7594         * sysdeps/unix/clock_settime.c: Likewise.
7595         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7596         * sysdeps/unix/clock_nanosleep.c: Likewise.
7597         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7598         * rt/clock-compat.c: New file.
7599         * rt/Makefile (librt-routines): Add clock-compat and move
7600         $(clock-routines) to ...
7601         (routines): ... here, new variable.
7602         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7603         Don't add get_clockfreq here.
7604         * rt/Versions (libc: GLIBC_2.17): New version set.
7605         Add clock_* symbols here.
7606         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7607         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7608         (GLIBC_2.17): Add clock_* symbols.
7609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7611         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7613         Likewise.
7614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7615         Likewise.
7616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7620         * NEWS: Mention the move.
7621
7622         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7623         Use __open, __read, __close rather than their public counterparts.
7624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7625         (__get_clockfreq_via_cpuinfo): Likewise.
7626         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7627         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7628
7629         * config.h.in (HAVE_IFUNC): New #undef.
7630         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7631         was successful.
7632         * configure: Regenerated.
7633
7634 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7635
7636         * configure.in: Move READELF check to start of file.
7637         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7638         libc_cv_asm_gnu_indirect_function in the process.
7639         * configure: Regenerated.
7640
7641 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7642
7643         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7644         send the output to /dev/null.
7645         (libc_cv_cc_with_libunwind): Likewise.
7646         (libc_cv_as_noexecstack): Likewise.
7647         * configure: Regenerate.
7648
7649 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7650
7651         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7652
7653         * posix/globtest.sh (TMPDIR): Do not set.
7654         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7655         (testout): Likewise.
7656
7657 2012-10-24  Andreas Jaeger  <aj@suse.de>
7658
7659         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7660         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7661         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7662         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7663         posix_fadvise64, posix_fallocate64.
7664
7665         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7666         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7667         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7668         Likewise.
7669         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7670         Likewise.
7671         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7672
7673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7674         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7675         <bits/fcntl-linux.h>.
7676         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7677
7678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7679         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7680         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7681         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7682         [__WORDSIZE != 64]: Likewise.
7683
7684 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7685
7686         * Makeconfig (run-built-tests): New variable.
7687         * Rules [$(cross-compiling) = yes]: Change condition to
7688         [$(run-built-tests) = no].
7689         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7690         to [$(run-built-tests) = yes].
7691         * elf/Makefile [$(cross-compiling) = no]: Likewise
7692         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7693         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7694         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7695         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7696         * io/Makefile [$(cross-compiling) = no]: Likewise.
7697         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7698         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7699         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7700         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7701         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7702         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7703         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7704         * string/Makefile [$(cross-compiling) = no]: Likewise.
7705
7706         * posix/Makefile ($(objpfx)globtest.out): Pass
7707         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7708         $(rtld-installed-name).
7709         * posix/globtest.sh (elf_objpfx): Remove variable.
7710         (rtld_installed_name): Likewise.
7711         (library_path): Likewise.
7712         (run_program_prefix): New variable.  Use for running globtest
7713         binary.
7714
7715 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7716             Joseph Myers  <joseph@codesourcery.com>
7717
7718         * Makeconfig (host-built-program-cmd): New variable.
7719         * elf/Makefile (tst-stackguard1-ARGS): Use
7720         $(host-built-program-cmd).
7721         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7722         (tst-spawn-ARGS): Likewise.
7723         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7724
7725 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7726             Jim Blandy  <jimb@codesourcery.com>
7727
7728         * Makeconfig (run-via-rtld-prefix): New variable.
7729         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7730         (built-program-cmd): Likewise.
7731
7732 2012-10-22  Andreas Jaeger  <aj@suse.de>
7733
7734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7735         __O_RSYNC if it exists, otherwise to O_SYNC.
7736
7737 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7738             Joseph Myers  <joseph@codesourcery.com>
7739
7740         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7741         /dev/null.
7742         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7743         from /dev/null
7744         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7745         /dev/null.
7746
7747 2012-10-22  Andreas Jaeger  <aj@suse.de>
7748
7749         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7750         Define always.
7751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7752
7753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7754         bits/fcntl-linux.h.
7755
7756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7757         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7758
7759         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7760         to __O_LARGEFILE.
7761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7762         to __O_LARGEFILE.
7763
7764 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7765             Joseph Myers  <joseph@codesourcery.com>
7766
7767         * config.make.in (NM): New variable.
7768
7769 2012-10-21  Andreas Jaeger  <aj@suse.de>
7770
7771         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7772         definitions and declarations that are provided by
7773         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7774
7775 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7776
7777         [BZ #14683]
7778         * elf/Makefile (tests-static): Add tst-leaks1-static.
7779         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7780         ($(objpfx)tst-leaks1-static): New rule.
7781         ($(objpfx)tst-leaks1-static-mem): Likewise.
7782         (tst-leaks1-static-ENV): New macro.
7783         * elf/dl-open.c (dl_open_worker): Check the main application
7784         only if SHARED is defined.
7785         * elf/tst-leaks1-static.c: New file.
7786
7787 2012-10-20  Andreas Jaeger  <aj@suse.de>
7788
7789         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7790         generic values for Linux.
7791         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7792         and declarations that are provided by <bits/fcntl-linux.h> and
7793         include <bits/fcntl-linux.h>.
7794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7795         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7796
7797 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7798
7799         * io/fcntl.h: Move include of <bits/types.h> to the top and
7800         include it unconditionally.
7801
7802 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7803
7804         * wcsmbs/Makefile (tests-ifunc): New variable.
7805         (tests): Add $(tests-ifunc).
7806         * wcsmbs/test-wcschr-ifunc.c: New file.
7807         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7808         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7809         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7810         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7811         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7812
7813         * string/Makefile (tests-ifunc): New variable.
7814         (tests): Add $(tests-ifunc).
7815         * string/test-memccpy.c (TEST_NAME): New macro.
7816         * string/test-memchr.c (TEST_NAME): Likewise.
7817         * string/test-memcmp.c (TEST_NAME): Likewise.
7818         * string/test-memcpy.c (TEST_NAME): Likewise.
7819         * string/test-memmem.c (TEST_NAME): Likewise.
7820         * string/test-memmove.c (TEST_NAME): Likewise.
7821         * string/test-memset.c (TEST_NAME): Likewise.
7822         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7823         * string/test-stpcpy.c (TEST_NAME): Likewise.
7824         * string/test-stpncpy.c (TEST_NAME): Likewise.
7825         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7826         * string/test-strcasestr.c (TEST_NAME): Likewise.
7827         * string/test-strcat.c (TEST_NAME): Likewise.
7828         * string/test-strchr.c (TEST_NAME): Likewise.
7829         * string/test-strcmp.c(TEST_NAME): Likewise.
7830         * string/test-strcpy.c (TEST_NAME): Likewise.
7831         * string/test-strcspn.c (TEST_NAME): Likewise.
7832         * string/test-strlen.c (TEST_NAME): Likewise.
7833         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7834         * string/test-strncmp.c (TEST_NAME): Likewise.
7835         * string/test-strncpy.c (TEST_NAME): Likewise.
7836         * string/test-strnlen.c (TEST_NAME): Likewise.
7837         * string/test-strpbrk.c (TEST_NAME): Likewise.
7838         * string/test-strrchr.c (TEST_NAME): Likewise.
7839         * string/test-strspn.c (TEST_NAME): Likewise.
7840         * string/test-strstr.c (TEST_NAME): Likewise.
7841         * string/test-bcopy-ifunc.c: New file.
7842         * string/test-bzero-ifunc.c: Likewise.
7843         * string/test-memccpy-ifunc.c: Likewise.
7844         * string/test-memchr-ifunc.c: Likewise.
7845         * string/test-memcmp-ifunc.c: Likewise.
7846         * string/test-memcpy-ifunc.c: Likewise.
7847         * string/test-memmem-ifunc.c: Likewise.
7848         * string/test-memmove-ifunc.c: Likewise.
7849         * string/test-mempcpy-ifunc.c: Likewise.
7850         * string/test-memset-ifunc.c: Likewise.
7851         * string/test-rawmemchr-ifunc.c: Likewise.
7852         * string/test-stpcpy-ifunc.c: Likewise.
7853         * string/test-stpncpy-ifunc.c: Likewise.
7854         * string/test-strcasecmp-ifunc.c: Likewise.
7855         * string/test-strcasestr-ifunc.c: Likewise.
7856         * string/test-strcat-ifunc.c: Likewise.
7857         * string/test-strchr-ifunc.c: Likewise.
7858         * string/test-strchrnul-ifunc.c: Likewise.
7859         * string/test-strcmp-ifunc.c: Likewise.
7860         * string/test-strcpy-ifunc.c: Likewise.
7861         * string/test-strcspn-ifunc.c: Likewise.
7862         * string/test-strlen-ifunc.c: Likewise.
7863         * string/test-strncasecmp-ifunc.c: Likewise.
7864         * string/test-strncat-ifunc.c: Likewise.
7865         * string/test-strncmp-ifunc.c: Likewise.
7866         * string/test-strncpy-ifunc.c: Likewise.
7867         * string/test-strnlen-ifunc.c: Likewise.
7868         * string/test-strpbrk-ifunc.c: Likewise.
7869         * string/test-strrchr-ifunc.c: Likewise.
7870         * string/test-strspn-ifunc.c: Likewise.
7871         * string/test-strstr-ifunc.c: Likewise.
7872
7873         * debug/Makefile (tests-ifunc): New variable.
7874         (tests): Add $(tests-ifunc).
7875         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7876         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7877         * debug/test-stpcpy_chk-ifunc.c: New file.
7878         * debug/test-strcpy_chk-ifunc.c: Likewise.
7879
7880 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881
7882         [BZ #13601]
7883         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7884         header is not read in.
7885
7886 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7887
7888         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7889         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7890         directly.  Pass built executable to script as
7891         $(built-program-cmd).
7892         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7893         $testprogram without using LD_LIBRARY_PATH and $ldso.
7894
7895         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7896         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7897         $(rtld-installed-name).
7898         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7899         (rtld_installed_name): Likewise.
7900         (library_path): Likewise.
7901         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7902         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7903         $(run-program-prefix) to tst-tables.sh.
7904         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7905         it to run tst-table-from and tst-table-to.
7906         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7907         Pass it to tst-table.sh.
7908         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7909         $(run-program-prefix) to tst-gettext.sh.
7910         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7911         tst-translit.sh.
7912         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7913         tst-gettext2.sh.
7914         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7915         to run tst-gettext.
7916         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7917         to run tst-gettext2.
7918         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7919         to run tst-translit.
7920         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7921         $(run-program-prefix) to tst-mtrace.sh.
7922         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7923         to run tst-mtrace.
7924         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7925         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7926         $(rtld-installed-name).
7927         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7928         (rtld_installed_name): Likewise.
7929         (run_program_prefix): New variable.  Use it to run wordexp-test.
7930
7931         * Makeconfig (ARCH): Remove all definitions.
7932         (machine): Likewise.
7933         [ARCH]: Remove conditional code.
7934         [!objdir]: Give error.
7935         [!objdir] (objpfx): Remove.
7936         [!objdir] (common-objpfx): Likewise.
7937         [!objdir] (common-objdir): Likewise.
7938         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7939         AC_CONFIG_FILES call.
7940         * configure: Regenerated.
7941
7942         [BZ #13888]
7943         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7944         or TMPDIR.
7945         (testout): Likewise.
7946
7947         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7948         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7949         $(rtld-installed-name).
7950         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7951         (rtld_installed_name): Likwise.
7952         (runit): Remove function.
7953         (run_getconf): New variable,  Use it for running getconf binary.
7954
7955 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7956
7957         [BZ #14716]
7958         * string/test-memmem.c (check_result): New function.
7959         (do_one_test): Use it.
7960         (check1): New function.
7961         (test_main): Use it.
7962
7963 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7964
7965         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7966
7967 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7968
7969         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7970         (_G_LSEEK64): Likewise.
7971         (_G_MMAP64): Likewise.
7972         (_G_FSTAT64): Likewise.
7973         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7974         (_G_LSEEK64): Likewise.
7975         (_G_MMAP64): Likewise.
7976         (_G_FSTAT64): Likewise.
7977         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7978         unconditional.  Call __mmap64 directly.
7979         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7980         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7981         __lseek64 directly.
7982         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7983         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7984         __mmap64 directly.
7985         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7986         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7987         __lseek64 directly.
7988         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7989         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7990         __lseek64 directly.
7991         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7992         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7993         __lseek64 directly.
7994         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7995         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7996         __fxstat64 directly.
7997         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7998         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7999         unconditional.
8000         (freopen64) [!_G_OPEN64]: Remove conditional code.
8001         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8002         unconditional.
8003         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8004         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8005         unconditional.
8006         (ftello64) [!_G_LSEEK64]: Remove conditional code.
8007         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8008         unconditional.
8009         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8010         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8011         unconditional.
8012         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8013         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8014         unconditional.
8015         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8016         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8017         unconditional.
8018         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8019         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8020         unconditional.
8021         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8022
8023 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8024
8025         [BZ #12140]
8026         * manual/memory.texi (Malloc Tunable Parameters): Add note
8027         about free list pointers overwriting some perturb bytes.
8028         Wording suggested by Roland McGrath.
8029
8030 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
8031
8032         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8033         (lgamma_test): Likewise.
8034         (tgamma_test): Likewise.
8035
8036 2012-10-16  Florian Weimer  <fweimer@redhat.com>
8037
8038         [BZ #14700]
8039         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8040         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8041
8042 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
8043
8044         * NEWS: Mention BZ #14716.
8045         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8046         when removing AVAILABLE1_USES_J macro.
8047
8048 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8049
8050         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8051         (__bswap_64): __uint64_t for unsigned 64-bit int.
8052
8053 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
8054
8055         * include/string.h (memmem): Declare libc hidden alias.
8056         * string/memmem.c (memmem): Define libc hidden alias.
8057         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8058         __read, __close instead of open, read, close.
8059
8060 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
8061
8062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8063         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8064         global and hidden.
8065         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8066         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8067         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8068         Likewise.
8069         (__rawmemchr_sse2): Likewise.
8070         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8071         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8072         (__strchr_sse2): Likewise.
8073         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8074         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8075         (__strcasecmp_sse2): Likewise.
8076         (__strncasecmp_sse2): Likewise.
8077         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8078         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8079         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8080         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8081         (__strrchr_sse2): Likewise.
8082         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8083         ifunc-impl-list.c.
8084         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8085         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8086         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8087         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8088         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8089         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8092         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8093         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8094         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8095         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8096         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8097         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8098         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8099         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8100         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8101         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8102         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8103         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8104         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8105         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8106         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8107         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8108         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8110         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8111         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8112         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8113         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8114
8115         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8116         global and hidden.
8117         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8118         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8119         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8120         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8121         Likewise.
8122         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8123         Likewise.
8124         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8125         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8126         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8127         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8128         ifunc-impl-list.c.
8129         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8130         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8131         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8132         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8133         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8134         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8135         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8136         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8137         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8138         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8139         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8140         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8141         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8142         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8143         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8144         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8145         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8146         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8147         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8148         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8149         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8150         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8151         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8152         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8153         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8154         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8155         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8156         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8157         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8158         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8159         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8160         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8161         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8162         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8163         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8164         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8165         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8166         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8167         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8168         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8169         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8170
8171         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8172         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8173         * include/ifunc-impl-list.h: New file.
8174         * misc/ifunc-impl-list.c: Likewise.
8175         * misc/Makefile (routines): Add ifunc-impl-list.
8176         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8177         * string/test-string.h: Include <ifunc-impl-list.h>.
8178         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8179         impl_array): New variables.
8180         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8181         are defined.
8182         (test_init): Call __libc_ifunc_impl_list to initialize
8183         func_list if TEST_IFUNC and TEST_NAME are defined.
8184
8185         * string/Makefile (strop-tests): Add bcopy and bzero.
8186         * string/test-bcopy.c: New file.
8187         * string/test-bzero.c: Likewise.
8188         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8189         defined.
8190         * string/test-memset.c: Support bzero test if TEST_BZERO is
8191         defined.
8192         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8193         __libc_memmove.
8194         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8195         __libc_memset.
8196         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8197         of memset.
8198
8199 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8200
8201         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8202         * configure: Regenerated.
8203
8204         * Makeconfig (+link-static-before-libc): Don't include
8205         $(link-static-libc).
8206
8207         * libio/libio.h (_IO_pos_t): Remove.
8208
8209 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8210
8211         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8212         McGrath.
8213
8214 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8215
8216         * crypt/crypt-entry.c: Include fips-private.h.
8217         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8218         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8219         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8220         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8221
8222 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8223
8224         * crypt/crypt-private.h: Include stdbool.h.
8225         (_ufc_setup_salt_r): Return bool.
8226         * crypt/crypt-entry.c: Include errno.h.
8227         (__crypt_r): Return NULL with EINVAL for bad salt.
8228         * crypt/crypt_util.c (bad_for_salt): New.
8229         (_ufc_setup_salt_r): Check that salt is long enough and within
8230         the specified alphabet.
8231         * crypt/badsalttest.c: New file.
8232         * crypt/Makefile (tests): Add it.
8233         ($(objpfx)badsalttest): New.
8234
8235 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8236
8237         * NEWS: Add entry for BZ #14602.
8238
8239 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8240
8241         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8242         type-generic.
8243         * math/libm-test.inc: Update comment listing what functions and
8244         macros are tested.
8245         (isgreater_test): New function.
8246         (isgreaterequal_test): Likewise.
8247         (isless_test): Likewise.
8248         (islessequal_test): Likewise.
8249         (islessgreater_test): Likewise.
8250         (isunordered_test): Likewise.
8251         (main): Call the new functions.
8252
8253 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8254
8255         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8256         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8257         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8258         * sysdeps/i386/configure: Regenerated.
8259         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8260         * sysdeps/mach/configure: Regenerated.
8261         * sysdeps/mach/hurd/configure: Regenerated.
8262         * sysdeps/powerpc/configure: Regenerated.
8263         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8264         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8265         * sysdeps/s390/s390-32/configure: Regenerated.
8266         * sysdeps/s390/s390-64/configure: Regenerated.
8267         * sysdeps/sh/configure: Regenerated.
8268         * sysdeps/sparc/configure: Regenerated.
8269         * sysdeps/unix/sysv/linux/configure: Regenerated.
8270         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8271         * sysdeps/x86_64/configure: Regenerated.
8272
8273         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8274         defined.  Don't check if MAP is NULL.
8275
8276 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8277
8278         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8279         (_G_stat64): Likewise.
8280         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8281         (_G_stat64): Likewise.
8282         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8283         instead of struct _G_stat64.
8284         * libio/fileops.c (mmap_remap_check): Likewise.
8285         (decide_maybe_mmap): Likewise.
8286         (_IO_new_file_seekoff): Likewise.
8287         (_IO_file_stat): Likewise.
8288         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8289         _G_off64_t.
8290         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8291         instead of struct _G_stat64.
8292         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8293
8294 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8295
8296         [BZ #14602]
8297         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8298         Replace with ...
8299         (CHECK_EOL): New macro.
8300         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8301         CHECK_EOL.
8302         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8303         Replace with CHECK_EOL.
8304         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8305         Replace with CHECK_EOL.
8306
8307 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8308
8309         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8310         type-generic.
8311         * math/libm-test.inc: Update comment listing what functions and
8312         macros are tested.
8313         (finite_test): New function.
8314         (isinf_test): Likewise.
8315         (isnan_test): Likewise.
8316         (fpclassify_test): Test subnormal input.
8317         (isfinite_test): Likewise.
8318         (isnormal_test): Likewise.
8319         (main): Call the new functions.
8320
8321 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8322
8323         [BZ #14660]
8324         * Makerules (%.dynsym): Force C locale when running
8325         $(OBJDUMP) --dynamic-syms.
8326
8327 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8328
8329         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8330         <stdint.h>.
8331
8332 2012-10-06  David S. Miller  <davem@davemloft.net>
8333
8334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8335         upper 32-bits of the length value in %o2 since we use branch-on-register
8336         tests which consider the entire 64-bit register.
8337
8338 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8339
8340         * string/test-strstr.c (check2): Add a test for page boundary.
8341
8342 2012-10-05  David S. Miller  <davem@davemloft.net>
8343
8344         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8345         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8346         file.
8347         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8348         sysdep_routines.
8349         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8350         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8351         and bzero when HWCAP_SPARC_CRYPTO is present.
8352
8353 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
8354
8355         [BZ #14602]
8356         * string/test-strstr.c (check2): New function.
8357         (test_main): Call check2.
8358
8359         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8360         and bug-strchr1.
8361         * string/bug-strcasestr1.c (do_test): Moved to ...
8362         * string/test-strcasestr.c (check1): Here.  New function.
8363         (do_one_test): Break out result checking code into ...
8364         (check_result): This.  New function.
8365         (do_one_test): Call check_result.
8366         (test_main): Call check1.
8367         * string/bug-strchr1.c (do_test): Moved to ...
8368         * string/test-strchr.c (check1): Here.  New function.
8369         (do_one_test): Break out result checking code into ...
8370         (check_result): This.  New function.
8371         (do_one_test): Call check_result.
8372         (test_main): Call check1.
8373         * string/bug-strstr1.c (main): Moved to ...
8374         * string/test-strstr.c (check1): Here.  New function.
8375         (do_one_test): Break out result checking code into ...
8376         (check_result): This.  New function.
8377         (do_one_test): Call check_result.
8378         (test_main): Call check1.
8379         * string/bug-strcasestr1.c: Removed.
8380         * string/bug-strchr1.c: Likewise.
8381         * string/bug-strstr1.c: Likewise.
8382
8383         * elf/Makefile (dl-routines): Add hwcaps.
8384         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8385         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8386         (_dl_important_hwcaps): Moved to ...
8387         * elf/dl-hwcaps.c: Here.  New file.
8388         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8389
8390         [BZ #14557]
8391         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8392         if IS_IN_rtld isn't defined.
8393
8394         * elf/dl-support.c (_dl_sysinfo_map): New.
8395         Include "get-dynamic-info.h" and "setup-vdso.h".
8396         (_dl_non_dynamic_init): Call setup_vdso.
8397         * elf/dynamic-link.h: Don't include <assert.h>.
8398         (elf_get_dynamic_info): Moved to ...
8399         * elf/get-dynamic-info.h: Here.  New file.
8400         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8401         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8402         * elf/setup-vdso.h: Here.  New file.
8403         * elf/rtld.c: Include "setup-vdso.h".
8404         (dl_main): Call setup_vdso.
8405
8406 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8407
8408         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8409         creal in comment listing functions tested.  List finite, isinf,
8410         isnan, isless, islessequal, isgreater, isgreaterequal,
8411         islessgreater, isunordered, lgamma_r and pow10 as functions and
8412         macros not tested.  Mention which functions not tested are aliases
8413         for other functions.  Fix typo.  Note that signs of NaNs are not
8414         tested.
8415
8416         * scripts/config.guess: Update from config.git.
8417         * scripts/config.sub: Likewise.
8418
8419 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8420
8421         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8422         * misc/madvise.c (madvise): Renamed to __madvise.
8423         Make madvise a weak alias.
8424         * include/sys/mman.h: Declare __madvise.
8425         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8426         * sysdeps/unix/syscalls.list
8427         (madvise): Make __madvise the strong name, and madvise a weak alias.
8428         * sysdeps/unix/sysv/linux/syscalls.list
8429         (madvise, mmap): Remove redundant entries.
8430         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8431         * malloc/malloc.c (mtrim): Likewise.
8432         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8433
8434 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8435
8436         * sysdeps/mach/hurd/dl-cache.c: File removed.
8437         * config.h.in (USE_LDCONFIG): New #undef.
8438         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8439         * configure: Regenerated.
8440         * elf/Makefile (dl-routines): Add dl-cache only under
8441         [$(use-ldconfig) = yes].
8442         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8443         cache on [USE_LDCONFIG].
8444         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8445         [USE_LDCONFIG].
8446         * elf/rtld.c (dl_main): Likewise.
8447
8448 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8449
8450         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8451         _SC_LEVEL4_CACHE_LINESIZE.
8452
8453 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8454
8455         * sysdeps/unix/bsd/confstr.h: File removed.
8456
8457 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8458
8459         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8460         sys/sdt-config.h.
8461
8462 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8463
8464         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8465         Make 'mapoff' field ElfW(Off) rather than off_t.
8466
8467 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8468
8469         * nscd/Makefile: Remove nscd-cflags and all its users.
8470         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8471         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8472
8473         [BZ #10631]
8474         * malloc.c (malloc_printerr): Clarify error message.
8475
8476 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8477
8478         [BZ #14648]
8479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8480         Set bit_FMA_Usable if FMA is supported.
8481         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8482         macro.
8483         (bit_FMA4_Usable): Updated.
8484         (index_FMA_Usable): New macro.
8485         (CPUID_FMA): Likewise
8486         (HAS_FMA): Defined with bit_FMA_Usable.
8487
8488 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8489
8490         * bits/types.h (__swblk_t): Type removed.
8491         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8492         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8493         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8494         (__SWBLK_T_TYPE): Likewise.
8495         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8496         (__SWBLK_T_TYPE): Likewise.
8497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8498         (__SWBLK_T_TYPE): Likewise.
8499         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8500         (__SWBLK_T_TYPE): Likewise.
8501
8502 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8503             Honza Horak <hhorak@redhat.com>
8504
8505         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8506         (xdr_mapname): Use YPMAXMAP as maxsize.
8507         (xdr_peername): Use YPMAXPEER as maxsize.
8508         (xdr_keydat): Use YPAXRECORD as maxsize.
8509         (xdr_valdat): Use YPMAXRECORD as maxsize.
8510
8511 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8512
8513         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8514
8515         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8516         * csu/init-first.c: ... here.
8517         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8518         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8519         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8520         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8521         * sysdeps/i386/init-first.c: File removed.
8522         * sysdeps/sh/init-first.c: File removed.
8523
8524 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8525
8526         [BZ #14645]
8527         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8528         if x * y might underflow to zero and z is zero.
8529         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8530         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8531         * math/libm-test.inc (min_subnorm_value): New variable.
8532         (fma_test): Add more tests.
8533         (fma_test_towardzero): Likewise.
8534         (fma_test_downward): Likewise
8535         (fma_test_upward): Likewise.
8536         (initialize): Set min_subnorm_value.
8537
8538 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8539
8540         [BZ #14638]
8541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8542         0 + 0.
8543         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8544         mode for addition resulting in exact zero.
8545         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8547         exact 0 + 0.
8548         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8550         * math/libm-test.inc (fma_test): Add more tests.
8551         (fma_test_towardzero): New function.
8552         (fma_test_downward): Likewise.
8553         (fma_test_upward): Likewise.
8554         (main): Call the new functions.
8555
8556 2012-09-28  David S. Miller  <davem@davemloft.net>
8557
8558         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8559
8560 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8561
8562         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8563         instead of SIGALRM.
8564
8565         * sysdeps/gnu/_G_config.h: Moved to ...
8566         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8567         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8568         * sysdeps/generic/_G_config.h: ... here.
8569
8570         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8571
8572         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8573
8574         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8575         Conditionalize target on [libnss_test1.so-version].
8576
8577         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8578
8579         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8580         (elfobjdir): Move out of conditionals.
8581
8582         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8583         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8584         (__nss_lookup_function): Conditionalize label remove_from_tree on
8585         [!DO_STATIC_NSS || SHARED], matching its only use.
8586
8587 2012-09-28  David S. Miller  <davem@davemloft.net>
8588
8589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8590         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8591         file.
8592         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8593         sysdep_routines.
8594         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8595         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8596         when HWCAP_SPARC_CRYPTO is present.
8597
8598 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8599
8600         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8601
8602 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8603
8604         [BZ #6530]
8605         * stdio-common/vfprintf.c (process_string_arg): Revert
8606         2000-07-22 change.
8607
8608 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8609
8610         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8611         for testcase.
8612         * stdio-common/tst-sprintf.c: Include <locale.h>
8613         (main): Test sprintf's handling of incomplete multibyte
8614         characters.
8615
8616 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8617
8618         * elf/dl-runtime.c (VERSYMIDX): Removed.
8619         * elf/dl-version.c (VERSYMIDX): Likewise.
8620         * elf/do-rel.h (VERSYMIDX): Likewise.
8621         (VALIDX): Likewise.
8622         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8623         * elf/rtld.c (VALIDX): Likewise.
8624         (ADDRIDX): Likewise.
8625         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8626         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8627         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8628         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8629         (VALIDX): Likewise.
8630         (ADDRIDX): Likewise.
8631
8632 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8633
8634         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8635
8636 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8637
8638         [BZ #11438]
8639         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8640         to global scope.
8641         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8642         addresses are in the same scope as 192.0.2/24.
8643         * posix/gai.conf: Document new scope table defaults.
8644
8645 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8646
8647         [BZ #5298]
8648         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8649         for ftell.  Compute offsets from write pointers instead.
8650         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8651
8652 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8653
8654         [BZ #14543]
8655         * libio/Makefile (tests): New test case tst-fseek.
8656         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8657         combination works in wide mode.
8658         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8659         state when the external buffer state changes.
8660
8661 2012-09-27  David S. Miller  <davem@davemloft.net>
8662
8663         [BZ #14376]
8664         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8665         pass reloc->r_addend in as the 'high' argument to
8666         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8667
8668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8669
8670 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8671
8672         * rt/tst-aio2.c: Include <pthread.h>.
8673         * rt/tst-aio3.c: Likewise.
8674
8675 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8676
8677         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8678
8679 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8680
8681         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8682         contents on [SHARED].
8683
8684 2012-09-26  Marek Polacek  <polacek@redhat.com>
8685
8686         [BZ #14530]
8687         [BZ #13741]
8688         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8689         for C++ and GCC <4.3 as well as for non GCC compilers.
8690
8691 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8692
8693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8694
8695 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8696
8697         * Makefile.in (all, install): Declare with .PHONY.
8698         Reported by Michael Hope <michael.hope@linaro.org>.
8699
8700 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8701
8702         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8703         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8704         system header.
8705         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8706         Likewise.
8707         (sydep_routines): Add the new and the internal functions.
8708         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8709         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8711         (GLIBC_2.17): Add the new function.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8713         (GLIBC_2.17): Likewise.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8715         (GLIBC_2.17): Likewise.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8717         (GLIBC_2.17): Likewise.
8718         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8719
8720 2012-09-25  Alan Modra  <amodra@gmail.com>
8721
8722         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8723         Add release barrier before setting once_control to say
8724         initialisation is done.  Add hints on lwarx.  Use macro in
8725         place of isync.
8726         (clear_once_control): Add release barrier.
8727
8728 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8729
8730         [BZ #13629]
8731         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8732         specially.
8733         * math/s_clog10.c (__clog10): Likewise.
8734         * math/s_clog10f.c (__clog10f): Likewise.
8735         * math/s_clog10l.c (__clog10l): Likewise.
8736         * math/s_clogf.c (__clogf): Likewise.
8737         * math/s_clogl.c (__clogl): Likewise.
8738         * math/Makefile (libm-calls): Add x2y2m1.
8739         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8740         (__x2y2m1): Likewise.
8741         (__x2y2m1l): Likewise.
8742         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8743         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8744         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8745         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8746         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8747         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8748         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8749         * sysdeps/i386/fpu/libm-test-ulps: Update.
8750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8751
8752         [BZ #14621]
8753         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8754         int as type of variable DEPTH.
8755         (glob): Use size_t instead of int as type of variables NEWCOUNT
8756         and OLD_PATHC.
8757
8758 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8759
8760         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8761         Add s_sincosf-sse2.
8762         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8763         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8764         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8765         macros for using routine as __sincosf_ia32.
8766         Use macro for function declaration and weak_alias.
8767         * sysdeps/i386/fpu/libm-test-ulps: Update.
8768
8769         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8771
8772         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8773         subnormal argument.
8774         * math/s_cexpf.c (__cexpf): Likewise.
8775         * math/s_csinf.c (__csinf): Likewise.
8776         * math/s_csinhf.c (__csinhf): Likewise.
8777         * math/s_ctanf.c (__ctanf): Likewise.
8778         * math/s_ctanhf.c (__ctanhf): Likewise.
8779         * math/s_ccosh.c (__ccoshf): Likewise.
8780         * math/s_cexp.c (__cexpl): Likewise.
8781         * math/s_csin.c (__csin): Likewise.
8782         * math/s_csinh.c (__csinh): Likewise.
8783         * math/s_ctan.c (__ctan): Likewise.
8784         * math/s_ctanh.c (ctanh): Likewise.
8785         * math/s_ccoshl.c (__ccoshl): Likewise.
8786         * math/s_cexpl.c (__cexpl): Likewise.
8787         * math/s_csinl.c (__csinl): Likewise.
8788         * math/s_csinhl.c (__csinhl): Likewise.
8789         * math/s_ctanl.c (__ctanl): Likewise.
8790         * math/s_ctanhl.c (__ctanhl): Likewise.
8791
8792 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8793
8794         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8795         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8796         (_IO_off_t): Define to __off_t, not _G_off_t.
8797         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8798         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8799         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8800         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8801         type of __dummy and __dummy2 fields.
8802         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8803         (_G_ssize_t): Likewise.
8804         (_G_off_t): Likewise.
8805         (_G_pid_t): Likewise.
8806         (_G_uid_t): Likewise.
8807         (_G_wchar_t): Likewise.
8808         (_G_wint_t): Likewise.
8809         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8810         (_G_ssize_t): Likewise.
8811         (_G_off_t): Likewise.
8812         (_G_pid_t): Likewise.
8813         (_G_uid_t): Likewise.
8814         (_G_wchar_t): Likewise.
8815         (_G_wint_t): Likewise.
8816         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8817         (_G_ssize_t): Likewise.
8818         (_G_off_t): Likewise.
8819         (_G_pid_t): Likewise.
8820         (_G_uid_t): Likewise.
8821         (_G_wchar_t): Likewise.
8822         (_G_wint_t): Likewise.
8823
8824 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8825
8826         * malloc/arena.c: Include malloc-sysdep.h.
8827         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8828         is sufficient to shrink the heap or an unmap is needed.
8829         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8830         new function check_may_shrink_heap.
8831         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8832         new function check_may_shrink_heap.
8833
8834 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8835
8836         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8837         comments.
8838
8839 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8840
8841         * catgets/test-gencat.sh: Add "set -e".
8842         * elf/tst-pathopt.sh: Likewise.
8843         * grp/tst_fgetgrent.sh: Likewise.
8844         * iconvdata/run-iconv-test.sh: Likewise.
8845         * intl/tst-gettext.sh: Likewise.
8846         * intl/tst-gettext2.sh: Likewise.
8847         * intl/tst-gettext4.sh: Likewise.
8848         * intl/tst-gettext6.sh: Likewise.
8849         * intl/tst-translit.sh: Likewise.
8850         * io/ftwtest-sh: Likewise.
8851         * libio/test-freopen.sh: Likewise.
8852         * malloc/tst-mtrace.sh: Likewise.
8853         * posix/globtest.sh: Likewise.
8854         * posix/tst-getconf.sh: Likewise.
8855         * posix/wordexp-tst.sh: Likewise.
8856         * stdio-common/tst-printf.sh: Likewise.
8857         * stdio-common/tst-unbputc.sh: Likewise.
8858         * stdlib/tst-fmtmsg.sh: Likewise.
8859         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8860         * catgets/Makefile: Do not specify -e option when running
8861         testsuite shell scripts.
8862         * elf/Makefile: Likewise.
8863         * grp/Makefile: Likewise.
8864         * iconvdata/Makefile: Likewise.
8865         * intl/Makefile: Likewise.
8866         * io/Makefile: Likewise.
8867         * libio/Makefile: Likewise.
8868         * malloc/Makefile: Likewise.
8869         * posix/Makefile: Likewise.
8870         * stdio-common/Makefile: Likewise.
8871         * stdlib/Makefile: Likewise.
8872         * sysdeps/x86_64/Makefile: Likewise.
8873
8874         * io/ftwtest-sh: Add copyright header.
8875         * posix/globtest.sh: Likewise.
8876         * posix/tst-getconf.sh: Likewise.
8877         * posix/wordexp-tst.sh: Likewise.
8878         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8879
8880 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8881
8882         [BZ #13679]
8883         * Makeconfig (+link): Defined as $(+link-static) if
8884         $(build-shared) isn't yes.
8885         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8886         isn't yes.
8887         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8888
8889         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8890
8891         [BZ #14562]
8892         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8893         new chunk size with MALLOC_ALIGN_MASK.
8894
8895 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8896
8897         [BZ #5044]
8898         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8899         <rounding-mode.h>.
8900         (__printf_fphex): Determine rounding using get_rounding_mode and
8901         round_away.
8902         * stdio-common/tst-printf-round.c (struct hex_test): New
8903         structure.
8904         (hex_tests): New variable.
8905         (test_hex_in_one_mode): New function.
8906         (do_test): Also run tests for hex float output.
8907
8908 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8909
8910         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8911         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8912         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8913         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8914         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8915         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8916         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8917         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8918
8919 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8920
8921         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8922         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8923         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8924         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8925
8926 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8927
8928         [BZ #14579]
8929         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8930         mode only.
8931         * elf/tst-rtld-load-self.sh: New test.
8932         * elf/Makefile: Run it.
8933
8934 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8935
8936         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8937         (tst-writev-ENV): Remove.
8938         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8939
8940 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8941
8942         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8943
8944 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8945
8946         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8947         unconditional.
8948         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8949         Likewise.
8950         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8951         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8952         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8953         Likewise.
8954
8955 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8956
8957         [BZ #14587]
8958         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8959         * config.make.in (have-cpp-asm-debuginfo): Removed.
8960         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8961         * configure: Regenerated.
8962
8963 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8964
8965         [BZ #5044]
8966         * stdio-common/printf_fp.c: Include <stdbool.h> and
8967         <rounding-mode.h>.
8968         (___printf_fp): Determine rounding using get_rounding_mode and
8969         round_away.
8970         * stdio-common/tst-printf-round.c: New file.
8971         * stdio-common/Makefile (tests): Add tst-printf-round.
8972         (link-libm): New variable.
8973         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8974
8975 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8976
8977         [BZ #14576]
8978         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8979         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8980         Likewise.
8981         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8982         Likewise.
8983
8984 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8985
8986         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8987         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8988         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8989         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8990
8991 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8992
8993         [BZ #14518]
8994         * include/rounding-mode.h: New file.
8995         * sysdeps/generic/get-rounding-mode.h: Likewise.
8996         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8997         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8998         (MAX_VALUE): New macro.
8999         (MIN_VALUE): Likewise.
9000         (overflow_value): New function.
9001         (underflow_value): Likewise.
9002         (round_and_return): Use overflow_value and underflow_value to
9003         determine return values in overflow and underflow cases.  Use
9004         round_away to determine rounding depending on rounding mode.
9005         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9006         determine return values in overflow and underflow cases.
9007         * stdlib/tst-strtod-round.c: Include <fenv.h>.
9008         (struct test_results): New structure.
9009         (struct test): Use struct test_results to store expected results
9010         for all rounding modes.
9011         (TEST): Include expected results for all rounding modes.
9012         (test_in_one_mode): New function.
9013         (do_test): Use test_in_one_mode to compute and check results.
9014         Check results for all rounding modes.
9015         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9016         $(link-libm).
9017
9018 2012-12-09  Allan McRae  <allan@archlinux.org>
9019
9020         * sysdeps/i386/fpu/libm-test-ulps: Update
9021
9022 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
9023
9024         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9025         (_G_int32_t): Likewise.
9026         (_G_uint16_t): Likewise.
9027         (_G_uint32_t): Likewise.
9028         (_G_HAVE_BOOL): Likewise.
9029         (_G_HAVE_ATEXIT): Likewise.
9030         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9031         (_G_HAVE_IO_FILE_OPEN): Likewise.
9032         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9033         (_G_int32_t): Likewise.
9034         (_G_uint16_t): Likewise.
9035         (_G_uint32_t): Likewise.
9036         (_G_HAVE_BOOL): Likewise.
9037         (_G_HAVE_ATEXIT): Likewise.
9038         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9039         (_G_HAVE_IO_FILE_OPEN): Likewise.
9040         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9041         (_G_int32_t): Likewise.
9042         (_G_uint16_t): Likewise.
9043         (_G_uint32_t): Likewise.
9044         (_G_HAVE_BOOL): Likewise.
9045         (_G_HAVE_ATEXIT): Likewise.
9046         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9047         (_G_HAVE_IO_FILE_OPEN): Likewise.
9048
9049 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
9050
9051         * csu/libc-tls.c: Update copyright years.
9052
9053 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
9054
9055         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9056         [!_G_USING_THUNKS]: Remove conditional code.
9057         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9058         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9059
9060         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9061         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9062         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9063         (_G_VTABLE_LABEL_PREFIX): Likewise.
9064         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9065         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9066         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9067         (_G_VTABLE_LABEL_PREFIX): Likewise.
9068         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9069         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9070         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9071         (_G_VTABLE_LABEL_PREFIX): Likewise.
9072         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9073
9074 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9075
9076         * libio/Makefile: Include ../Makeconfig before tests.
9077         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9078         only if $(build-shared) is yes.
9079
9080         * iconv/gconv_db.c: Update copyright years.
9081
9082 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9083
9084         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9085         unwind info if defined PIC. Fix special cases description.
9086         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9087
9088         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9089         DP_HI_MASK entry.
9090         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9091
9092 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9093
9094         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9095
9096         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9097         is NULL.
9098
9099         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9100         (LDLIBS-tst-chk4): This.
9101         (LDFLAGS-tst-chk5): Renamed to ...
9102         (LDLIBS-tst-chk5): This.
9103         (LDFLAGS-tst-chk6): Renamed to ...
9104         (LDLIBS-tst-chk6): This.
9105         (LDFLAGS-tst-lfschk4): Renamed to ...
9106         (LDLIBS-tst-lfschk4): This.
9107         (LDFLAGS-tst-lfschk5): Renamed to ...
9108         (LDLIBS-tst-lfschk5): This.
9109         (LDFLAGS-tst-lfschk6): Renamed to ...
9110         (LDLIBS-tst-lfschk6): This.
9111
9112         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9113         on $(common-objpfx)soversions.mk.
9114
9115 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9116
9117         [BZ #10014]
9118         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9119         example host name.
9120
9121 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9122
9123         * malloc/arena.c (arena_get_retry): New function that gets
9124         another arena for the caller to try its request on.
9125         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9126         current arena cannot fulfill the request.
9127         (__libc_memalign): Likewise.
9128         (__libc_memalign): Likewise.
9129         (__libc_pvalloc): Likewise.
9130         (__libc_calloc): Likewise.
9131
9132 2012-09-05  John Tobey  <john.tobey@gmail.com>
9133
9134         [BZ #13542]
9135         * manual/arith.texi (Operations on Complex): Fix description
9136         of carg branch cut.
9137
9138 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9139
9140         [BZ #10014]
9141         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9142         host name.
9143
9144         [BZ #10038]
9145         * manual/memory.texi (Memory): Make order of menu items match
9146         order of sections.
9147
9148 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9149
9150         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9151         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9152         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9153
9154 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9155
9156         * csu/libc-tls.c (static_dtv): Renamed to ...
9157         (_dl_static_dtv): This.  Make it global.
9158         (_dl_initial_dtv): Removed.
9159         (__libc_setup_tls): Updated.
9160         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9161         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9162         DL_INITIAL_DTV.
9163
9164 2012-09-06  Petr Machata  <pmachata@redhat.com>
9165
9166         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9167         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9168         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9169         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9170
9171 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9172
9173         [BZ #14545]
9174         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9175         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9176         freeing dtv[-1].
9177
9178 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9179
9180         [BZ #14544]
9181         * Makeconfig (link-static-before-libc): Replace $(+prector)
9182         with $(+prectorT).
9183         (link-static-after-libc): Replace $(+postctor) with
9184         $(+postctorT).
9185         (link-bounded): Replace $(+prector)/$(+postctor) with
9186         $(+prectorT)/$(+postctorT).
9187         (+prectorT): New macro.
9188         (+postctorT): Likewise.
9189
9190 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9191
9192         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9193         (round_str): Handle values above the maximum for IBM long double
9194         as inexact.
9195         * stdlib/tst-strtod-round.c (tests): Regenerated.
9196
9197 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9198
9199         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9200         assembler flag.
9201         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9202         zarch_nohighgprs around the zarch optimized routines.
9203         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9204         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9205         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9206         for zarch.
9207
9208 2012-09-05  David S. Miller  <davem@davemloft.net>
9209
9210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9211
9212         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9213         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9214         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9215         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9216         entries.
9217
9218 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9219
9220         * malloc/arena.c: Fold copyright years.
9221         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9222
9223 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9224
9225         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9226
9227 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9228
9229         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9230
9231 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9232
9233         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9234         change internal state upon failure.
9235
9236 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9237
9238         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9239         * malloc/memusage.c (mmap): Likewise.
9240         (mmap64, mremap): Likewise.  Adjust name in comment.
9241
9242 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9243
9244         * libio/fileops.c: Fix typos in comments.
9245         * libio/oldfileops.c: Likewise.
9246         * libio/wfileops.c: Likewise.
9247
9248 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9249
9250         [BZ #1349]
9251         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9252         (tst-malloc-usable-ENV): Set environment for test case.
9253         * malloc/hooks.c (malloc_check_get_size): New function to get
9254         requested size.
9255         * malloc/malloc.c (musable): Use malloc_check_get_size.
9256         * malloc/tst-malloc-usable.c: New test case.
9257
9258 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9259
9260         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9261
9262 2012-09-05  Allan McRae  <allan@archlinux.org>
9263
9264         [BZ #13966]
9265         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9266         determine header location.
9267         * configure: Regenerated.
9268
9269 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9270
9271         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9272         float format.
9273         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9274         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9275         format.
9276         (test): Regenerate.
9277
9278 2012-09-04  David S. Miller  <davem@davemloft.net>
9279
9280         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9281         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9282         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9283
9284 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9285
9286         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9287         failures.
9288
9289         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9290
9291 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9292
9293         [BZ #9914]
9294         * libio/iogetdelim.c: Include <limits.h>.
9295         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9296         + len + 1 would overflow.
9297
9298 2012-09-03  Andreas Jaeger  <aj@suse.de>
9299
9300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9301         * sysdeps/i386/fpu/libm-test-ulps: Update.
9302
9303 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9304
9305         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9306         Add s_sinf-sse2, s_conf-sse2.
9307
9308         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9309         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9310         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9311         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9312
9313         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9314         for using routine as __sinf_ia32.
9315         Use macro for function declaration and weak_alias.
9316         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9317         for using routine as __cosf_ia32.
9318         Use macro for function declaration and weak_alias.
9319
9320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9321         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9322
9323         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9324         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9326
9327         * math/libm-test.inc (cos_test): Add more test cases.
9328         (sin_test): Likewise.
9329         (sincos_test): Likewise.
9330
9331 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9332
9333         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9334         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9335         hidden.
9336         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9337
9338 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9339
9340         [BZ #14538]
9341         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9342         first element of the GOT.
9343         (elf_machine_load_address): Return the difference between
9344         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9345
9346 2012-09-01  Allan McRae  <allan@archlinux.org>
9347
9348         [BZ #13412]
9349         * configure.in (AWK): Require gawk version 3.0 or later.
9350         * configure: Regenerated.
9351
9352 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
9353
9354         * sysdeps/unix/sysv/linux/kernel-features.h
9355         (__ASSUME_POSIX_CPU_TIMERS): Remove.
9356         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9357         [__NR_clock_getres]: Make code unconditional.
9358         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9359         (clock_getcpuclockid): Remove code left unreachable by removal of
9360         conditionals.
9361         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9362         code unconditional.
9363         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9364         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9365         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9366         Make code unconditional.
9367         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9368         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9369         * sysdeps/unix/sysv/linux/clock_settime.c
9370         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9371         conditional code.
9372         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9373         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9374
9375 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9376
9377         [BZ #14476]
9378         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9379         scripts/test-installation.pl.
9380
9381         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9382         and $ld_so_version if it is set.
9383
9384 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9385
9386         [BZ #14516]
9387         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9388         failure if reading from procfs failed.
9389         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9390
9391 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9392
9393         * sysdeps/unix/sysv/linux/kernel-features.h
9394         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9395         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9396         Remove conditional code.
9397         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9398         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9399         Remove conditional code.
9400         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9401         * sysdeps/unix/sysv/linux/i386/fxstat.c
9402         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9403         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9404         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9405         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9406         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9407         * sysdeps/unix/sysv/linux/i386/lxstat.c
9408         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9409         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9410         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9411         Remove conditional code.
9412         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9413         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9414         Remove conditional code.
9415         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9416         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9417         <kernel-features.h>.
9418         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9419         Remove.
9420         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9421         Remove conditional code.
9422         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9423         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9424         Remove conditional.
9425
9426 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9427
9428         [BZ #5400]
9429         * NEWS: Add fixed bug number.
9430
9431 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9432
9433         [BZ #14519]
9434         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9435         underflowing exponent in case of negative sign.
9436         * stdlib/tst-strtod-round-data: Add more tests.
9437         * stdlib/tst-strtod-round.c (tests): Regenerated.
9438
9439         [BZ #3479]
9440         * stdlib/strtod_l.c (NDIG): Remove.
9441         (HEXNDIG): Likewise.
9442         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9443         smallest representable value.
9444         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9445         lie within an exact representation of 1/2 ulp of the result.
9446         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9447         unconditionally.
9448         (TENS_P9_IDX): Define unconditionally.
9449         (TENS_P9_SIZE): Likewise.
9450         (TENS_P10_IDX): Likewise.
9451         (TENS_P10_SIZE): Likewise.
9452         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9453         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9454         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9455         entries for 10^2^13 and 10^2^14.
9456         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9457         (TENS_P13_IDX): Define.
9458         (TENS_P13_SIZE): Likewise.
9459         (TENS_P14_IDX): Likewise.
9460         (TENS_P14_SIZE): Likewise.
9461         (_fpioconst_pow10): Change array size to
9462         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9463         unconditional.
9464         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9465         1024]: Add entries for 10^2^13 and 10^2^14.
9466         [LAST_POW10 > _LAST_POW10]: Remove #error.
9467         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9468         (_fpioconst_pow10): Change array size to
9469         FPIOCONST_POW10_ARRAY_SIZE.
9470         * stdlib/gen-fpioconst.c: New file.
9471         * stdlib/gen-tst-strtod-round.c: Likewise.
9472         * stdlib/tst-strtod-round-data: Likewise.
9473         * stdlib/tst-strtod-round.c: Likewise.
9474         * stdlib/Makefile (tests): Add tst-strtod-round.
9475
9476         [BZ #14459]
9477         * stdlib/strtod_l.c: Include <stdint.h>.
9478         (NDEBUG): Do not define.
9479         (round_and_return): Change EXPONENT parameter to type intmax_t.
9480         Rearrange calculations to avoid internal overflow possibilities.
9481         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9482         Rearrange calculations to avoid internal overflow possibilities.
9483         Assert that number fits inside MPNSIZE limbs.
9484         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9485         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9486         calculations and add assertions to avoid internal overflow
9487         possibilities.  Add casts to avoid signed/unsigned operations.
9488         * stdlib/tst-strtod-overflow.c: New file.
9489         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9490
9491 2012-08-25  Marek Polacek  <polacek@redhat.com>
9492
9493         * time/time.h: Fix some typos in comments.
9494
9495 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9496
9497         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9498         * posix/tst-rfc3484-2.c: Likewise.
9499         * posix/tst-rfc3484-3.c: Likewise.
9500
9501 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9502
9503         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9504         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9505
9506 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9507
9508         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9509         #include of fxstatat64.c.
9510
9511 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9512
9513         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9514         * shadow/getspent_r.c: Likewise.
9515         * shadow/getspnam.c: Likewise.
9516         * shadow/getspnam_r.c: Likewise.
9517         * gshadow/getsgent.c: Likewise.
9518         * gshadow/getsgent_r.c: Likewise.
9519         * gshadow/getsgnam.c: Likewise.
9520         * gshadow/getsgnam_r.c: Likewise.
9521         * inet/getnetbyad.c: Likewise.
9522         * inet/getnetbyad_r.c: Likewise.
9523         * inet/getnetbynm.c: Likewise.
9524         * inet/getnetbynm_r.c: Likewise.
9525         * inet/getnetent.c: Likewise.
9526         * inet/getnetent_r.c: Likewise.
9527         * inet/getproto.c: Likewise.
9528         * inet/getproto_r.c: Likewise.
9529         * inet/getprtent.c: Likewise.
9530         * inet/getprtent_r.c: Likewise.
9531         * inet/getprtname.c: Likewise.
9532         * inet/getprtname_r.c: Likewise.
9533         * inet/getrpcbyname.c: Likewise.
9534         * inet/getrpcbyname_r.c: Likewise.
9535         * inet/getrpcbynumber.c: Likewise.
9536         * inet/getrpcbynumber_r.c: Likewise.
9537         * inet/getrpcent.c: Likewise.
9538         * inet/getrpcent_r.c: Likewise.
9539         * inet/getaliasent.c: Likewise.
9540         * inet/getaliasent_r.c: Likewise.
9541         * inet/getaliasname.c: Likewise.
9542         * inet/getaliasname_r.c: Likewise.
9543         * nscd/getgrgid_r.c: Likewise.
9544         * nscd/getgrnam_r.c: Likewise.
9545         * nscd/gethstbyad_r.c: Likewise.
9546         * nscd/gethstbynm3_r.c: Likewise.
9547         * nscd/getpwnam_r.c: Likewise.
9548         * nscd/getpwuid_r.c: Likewise.
9549         * nscd/getsrvbynm_r.c: Likewise.
9550         * nscd/getsrvbypt_r.c: Likewise.
9551         * nscd/gai.c: Likewise.
9552
9553         * configure.in (build_nscd): New substituted variable, set
9554         by --disable-build-nscd and defaults to $use_nscd.
9555         * configure: Regenerated.
9556         * config.make.in (build-nscd): New substituted variable.
9557         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9558         Change conditional to require [$(build-nscd) = yes] as well.
9559         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9560
9561         [BZ# 13696]
9562         * configure.in (use_nscd): New substituted variable, set by
9563         --disable-nscd.  If enabled, define USE_NSCD.
9564         * configure: Regenerated.
9565         * config.h.in: Add USE_NSCD.
9566         * config.make.in (use-nscd): New substituted variable.
9567         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9568         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9569         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9570         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9571         (CFLAGS-getgrnam_r.c): Likewise.
9572         (CFLAGS-initgroups.c): Likewise.
9573         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9574         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9575         Variables removed.
9576         * inet/getnetgrent_r.c
9577         (nscd_setnetgrent): New function, broken out of ...
9578         (setnetgrent): ... here.  Call it.
9579         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9580         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9581         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9582         * nscd/Makefile (routines, aux): Move definitions after include of
9583         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9584         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9585         Conditionalize on [USE_NSCD].
9586         (is_nscd, nscd_init_cb): Likewise.
9587         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9588         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9589         * nss/nss_db/db-init.c: Likewise.
9590         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9591         [USE_NSCD].
9592         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9593         (make_request): Use it.
9594         (cache_valid_p): New function.
9595         (__check_pf): Use it.
9596         * NEWS: Add item for --disable-nscd.
9597
9598 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9599
9600         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9601         to support sed >= 4.2.1-20-ga9bf076.
9602         * configure: Regenerated.
9603
9604 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9605
9606         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9607         Conditionalize whole body on [IREL].
9608
9609 2012-08-22  Jeff Law <law@redhat.com>
9610
9611         [BZ #14505]
9612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9613         if the family is PF_UNSPEC.
9614
9615 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9616
9617         * Makerules (lib-version): Rename from V.
9618         (install-lib-nosubdir): Change V to lib-version.
9619
9620 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9621
9622         [BZ #14252]
9623         * powerpc32/power6/wcschr.c: New file.
9624         * powerpc32/power6/wcscpy.c: New file.
9625         * powerpc32/power6/wcsrchr.c: New file.
9626         * powerpc64/power6/wcschr.c: New file.
9627         * powerpc64/power6/wcscpy.c: New file.
9628         * powerpc64/power6/wcsrchr.c: New file.
9629
9630 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9631
9632         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9633         (two_way_short_needle): Use it.
9634         * string/strstr.c (AVAILABLE1_USES_J): Define.
9635         * string/strcasestr.c: Likewise.
9636
9637         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9638         array references.
9639         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9640
9641         [BZ #11607]
9642         * NEWS: Add an entry.
9643         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9644         define their defaults.
9645         (two_way_short_needle): Detect end-of-string on-the-fly.
9646         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9647         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9648         * string/bug-strcasestr1.c: New test.
9649         * string/Makefile: Run it.
9650
9651 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9652
9653         [BZ #11607]
9654         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9655         the first character.
9656
9657 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9658
9659         * csu/elf-init.c (__libc_csu_irel): Function removed.
9660         * csu/libc-start.c (apply_irel): New function.
9661         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9662
9663 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9664
9665         * sysdeps/unix/sysv/linux/kernel-features.h
9666         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9667         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9668         <kernel-features.h>.
9669         [__NR_fadvise64_64]: Make code unconditional.
9670         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9671         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9672         !__NR_fadvise64_64)]: Likewise.
9673         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9674         !__NR_fadvise64_64))]: Likewise.
9675         [__NR_fadvise64]: Make code unconditional.
9676         [!__NR_fadvise64]: Remove conditional code.
9677         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9678         <kernel-features.h>.
9679         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9680         unconditional.
9681         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9682         conditional code.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9684         not include <kernel-features.h>.
9685         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9686         unconditional.
9687         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9688         conditional code.
9689         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9690         include <kernel-features.h>.
9691         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9692         unconditional.
9693         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9694         conditional code.
9695
9696 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9697
9698         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9699         slight instruction rearrangements per scrollpipe analysis.
9700         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9701
9702 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9703
9704         * manual/syslog.texi (syslog; vsyslog, closelog):
9705         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9706         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9707
9708         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9709         DSOCAPS to match condition on defining it.
9710
9711 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9712
9713         * sysdeps/unix/sysv/linux/kernel-features.h
9714         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9716         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9717         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9719         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9720         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9722         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9723         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9724
9725         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9726         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9727
9728         * sysdeps/unix/sysv/linux/kernel-features.h
9729         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9730         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9731         unconditional.
9732         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9733         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9734         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9735         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9736         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9737         Make code unconditional.
9738         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9739         (__mmap64) [!__NR_mmap2]: Likewise.
9740         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9741         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9742         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9743         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9744         [__NR_mmap2]: Make code unconditional.
9745         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9746         (__mmap64) [!__NR_mmap2]: Likewise.
9747
9748 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9749
9750         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9751
9752 2012-08-18  Andreas Jaeger  <aj@suse.de>
9753
9754         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9755
9756 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9757
9758         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9759         * include/unistd.h (__have_sock_cloexec): Likewise.
9760         (__have_pipe2): Likewise.
9761         (__have_dup3): Likewise.
9762
9763 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9764
9765         [BZ #9685]
9766         * include/unistd.h (__have_pipe2): Change define into an extern int.
9767         (__have_dup3): Likewise.
9768         * socket/have_sock_cloexec.c: Include fcntl.h.
9769         (__have_pipe2): New variable.
9770         (__have_dup3): Likewise.
9771
9772 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9773
9774         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9775
9776 2012-08-17  Marek Polacek  <polacek@redhat.com>
9777
9778         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9779         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9780
9781 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9782
9783         * configure.in: Add AC_SUBST for sysheaders.
9784         * configure: Regenerated.
9785         * config.make.in (sysheaders): New substituted variable.
9786
9787         * sysdeps/unix/mkfifo.c: Moved ...
9788         * sysdeps/posix/mkfifo.c: ... here.
9789         * sysdeps/unix/mkfifoat.c: Moved ...
9790         * sysdeps/posix/mkfifoat.c: ... here.
9791
9792         * sysdeps/unix/utime.c: Moved ...
9793         * sysdeps/posix/utime.c: ... here.
9794
9795         * sysdeps/unix/time.c: Moved ...
9796         * sysdeps/posix/time.c: ... here.
9797         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9798         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9799
9800         * sysdeps/unix/nice.c: Moved ...
9801         * sysdeps/posix/nice.c: ... here.
9802
9803         * sysdeps/unix/alarm.c: Moved ...
9804         * sysdeps/posix/alarm.c: ... here.
9805
9806         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9807
9808 2012-08-17  Jeff Law <law@redhat.com>
9809
9810         * intl/Makefile (codeset_mo): New variable.
9811         ($(codeset_mo)): New target.
9812         (tst-codeset.out): Depend on that.  Remove explicit rule.
9813         (tst-gettext3.out, tst-gettext5.out): Likewise.
9814         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9815         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9816         * intl/tst-codeset.sh: Remove.
9817         * intl/tst-gettext3.sh: Likewise.
9818         * intl/tst-gettext5.sh: Likewise.
9819
9820 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9821
9822         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9823         * sysdeps/unix/syscalls.list: ... here.
9824
9825         * sysdeps/posix/getaddrinfo.c
9826         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9827         (gaiconf_init, gaiconf_reload): Use them.
9828         [!_STATBUF_ST_NSEC]
9829         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9830         Define using time_t rather than struct timespec.
9831
9832         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9833         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9834         Macros removed.
9835         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9836         [!NO_THREADS].
9837         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9838         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9839         Likewise.
9840
9841         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9842         __libc_cleanup_push argument.
9843
9844         * bits/param.h: New file.
9845         * misc/sys/param.h: New file.
9846         * include/sys/param.h: New file.
9847         * misc/Makefile (headers): Add bits/param.h.
9848         * sysdeps/generic/sys/param.h: File removed.
9849         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9850         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9851         * sysdeps/mach/hurd/bits/param.h: New file.
9852         * sysdeps/mach/hurd/sys/param.h: File removed.
9853
9854         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9855         last change.
9856
9857         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9858         [_IO_MTSAFE_IO].
9859         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9860         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9861         New macros.
9862
9863         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9864         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9865         rather than -D_IO_MTSAFE_IO conditionally.
9866         * stdio-common/Makefile (CPPFLAGS): Likewise.
9867         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9868         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9869         Use $(libio-mtsafe).
9870         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9871         of -D_IO_MTSAFE_IO.
9872         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9873         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9874         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9875         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9876         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9877         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9878         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9879         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9880         (CFLAGS-fread_u_chk.c): Likewise.
9881         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9882         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9883         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9884         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9885         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9886         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9887         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9888         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9889         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9890
9891         * libio/Makefile: Test [$(libc-reentrant) = yes]
9892         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9893
9894         * Makeconfig
9895         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9896         * sysdeps/pthread/configure: File removed.
9897         * sysdeps/pthread/Makeconfig: New file.
9898         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9899         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9900
9901 2012-08-16  Gary Benson  <gbenson@redhat.com>
9902
9903         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9904         unmapping the first object in a namespace.
9905
9906 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9907
9908         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9909         (__internal_setnetgrent): ... this.  Add internal_function to
9910         definition.  Add libc_hidden_def.
9911         (setnetgrent): Update caller.
9912         (internal_endnetgrent): Renamed to ...
9913         (__internal_endnetgrent): ... this.  Add internal_function to
9914         definition.  Add libc_hidden_def.
9915         (endnetgrent): Update caller.
9916         (internal_getnetgrent_r): Renamed to ...
9917         (__internal_getnetgrent_r): ... this.  Add internal_function to
9918         definition.  Add libc_hidden_def.
9919         (__getnetgrent_r): Update caller.
9920         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9921
9922 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9923
9924         * stdlib/longlong.h: Update from GCC.
9925
9926 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9927
9928         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9929         on _QL, which is set by umul_ppmm but never used.
9930         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9931         variables, which are set by GMP macros but never used.
9932         * stdio-common/_itowa.c (_itowa): Likewise.
9933         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9934         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9935
9936 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9937
9938         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9939         struct La_sh_regs is not constant.
9940         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9941         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9942         and struct La_sparc64_regs are not constant.
9943
9944 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9945
9946         * sysdeps/unix/sysv/linux/kernel-features.h
9947         (__ASSUME_POSIX_TIMERS): Remove.
9948         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9949         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9950         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9951         Make code unconditional.
9952         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9953         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9954         Make code unconditional.
9955         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9956         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9957         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9958         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9959         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9960         Make code unconditional.
9961         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9962         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9963         (__libc_missing_posix_timers): Remove.
9964
9965 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9966
9967         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9968         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9969
9970         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9971
9972         * elf/dl-sym.c: Include <stdlib.h>.
9973
9974         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9975         constants, which avoids warnings in 32-bit builds.
9976
9977         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9978         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9979
9980         * misc/lseek.c: File moved to ...
9981         * io/lseek.c: ... here.
9982
9983         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9984
9985         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9986         shifting LEN more than 31 bits at once.
9987
9988 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9989
9990         [BZ #14195]
9991         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9992         segmentation fault for a case of two empty input strings.
9993         * string/test-strncasecmp.c (check1): Renamed to...
9994         (bz12205): ...this.
9995         (bz14195): Add new testcase for two empty input strings and N > 0.
9996         (test_main): Call new testcase, adapt for renamed function.
9997
9998 2012-08-15  Andreas Jaeger  <aj@suse.de>
9999
10000         [BZ #14090]
10001         * crypt/md5test2.c: New test, based on test supplied by Serge
10002         Belyshev <belyshev@depni.sinp.msu.ru>.
10003         * crypt/Makefile (xtests): Add md5test-giant..
10004         * crypt/Makefile ($(objpfx)md5test-giant): Add.
10005
10006 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
10007
10008         [BZ #14090]
10009         * crypt/md5.c (md5_process_block): Don't assume the buffer
10010         length is less than 2**32.
10011         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10012         length is less than 2**64.
10013
10014 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10015
10016         * string/str-two-way.h: Include <sys/param.h>.
10017         (MAX): Macro removed.
10018
10019         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10020         Move #define and #undef of memmove to just before and after
10021         including <string.h>.
10022
10023         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10024         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10025         and after including <string.h>.  Move declarations of
10026         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10027         to before #include "string/memmove.c".
10028
10029         * include/dirent.h: Declare __getdirentries.
10030
10031         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10032         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10033
10034 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
10035
10036         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10037         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10038         * sysdeps/i386/configure: Regenerated.
10039         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10040         STABS_CURRENT_FILE, and STABS_FUN.
10041         (END): Remove call to STABS_FUN_END.
10042         (STABS_CURRENT_FILE1): Delete.
10043         (STABS_CURRENT_FILE): Likewise.
10044         (STABS_FUN): Likewise.
10045         (STABS_FUN_END): Likewise.
10046         (STABS_FUN2): Likewise.
10047         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10048         * sysdeps/x86_64/configure: Regenerated.
10049
10050 2012-08-14  Roland McGrath  <roland@hack.frob.com>
10051
10052         * elf/dl-open.c: Include <atomic.h>.
10053         * elf/dl-lookup.c: Likewise.
10054
10055 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
10056
10057         * sysdeps/unix/sysv/linux/kernel-features.h
10058         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10059         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10060         unconditionally.
10061         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10062         unconditionally.
10063         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10064         condition on __ASSUME_CLONE_THREAD_FLAGS.
10065
10066 2012-08-14  Andreas Jaeger  <aj@suse.de>
10067
10068         * sysdeps/i386/fpu/libm-test-ulps: Update.
10069
10070 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10071
10072         * include/atomic.h (atomic_exchange_and_add): Split into ...
10073         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10074         New atomic macros.
10075
10076 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10077
10078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10079
10080 2012-08-13  Jeff Law <law@redhat.com>
10081
10082         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10083         null byte in the output string.
10084
10085 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10086
10087         * sysdeps/unix/sysv/linux/kernel-features.h
10088         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10089         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10090         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10091         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10092         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10093         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10094         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10095
10096 2012-08-09  Jeff Law <law@redhat.com>
10097
10098         [BZ #13939]
10099         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10100         When avoid_arena is set, don't retry in the that arena.  Pick the
10101         next one, whatever it might be.
10102         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10103         (arena_lock): Pass in new parameter to arena_get2.
10104         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10105         arena_get2.
10106         (__libc_malloc): Unify retrying after main arena failure with
10107         __libc_memalign version.
10108         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10109
10110 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10111
10112         [BZ #14166]
10113         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10114         to __redirect_strstr.
10115         (__strstr_sse42): Use typeof __redirect_strstr.
10116         (__strstr_ia32): Likewise.
10117         (__libc_strstr): New prototype.
10118         (strstr): Renamed to ...
10119         (__libc_strstr): This.
10120         (strstr): New strong alias of __libc_strstr.
10121         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10122         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10123         __redirect_time.
10124         Include <time.h>.
10125         (__libc_time): New prototype.
10126         (time_ifunc): Replace time with __libc_time.
10127         (time): New strong alias and hidden definition of __libc_time.
10128         (__GI_time): Remove strong alias.
10129         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10130         Include <stddef.h>.
10131         (memmove): Redefined to __redirect_memmove.
10132         (__memmove_sse2): Use typeof __redirect_memmove.
10133         (__memmove_ssse3): Likewise.
10134         (__memmove_ssse3_back): Likewise.
10135         (__libc_memmove): New prototype.
10136         (memmove): Renamed to ...
10137         (__libc_memmove): This.
10138         (memmove): New strong alias of __libc_memmove.
10139
10140 2012-08-08  Mark Salter  <msalter@redhat.com>
10141
10142         * elf/elf.h
10143         (R_MN10300_TLS_GD): Define.
10144         (R_MN10300_TLS_LD): Likewise.
10145         (R_MN10300_TLS_LDO): Likewise.
10146         (R_MN10300_TLS_GOTIE): Likewise.
10147         (R_MN10300_TLS_IE): Likewise.
10148         (R_MN10300_TLS_LE): Likewise.
10149         (R_MN10300_TLS_DTPMOD): Likewise.
10150         (R_MN10300_TLS_DTPOFF): Likewise.
10151         (R_MN10300_TLS_TPOFF): Likewise.
10152         (R_MN10300_SYM_DIFF): Likewise.
10153         (R_MN10300_ALIGN): Likewise.
10154         (R_MN10300_NUM): Update.
10155
10156 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10157
10158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10159         Remove.
10160
10161 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10162
10163         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10164
10165         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10166         sysdeps/unix -> sysdeps/posix move.
10167         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10168
10169 2012-08-07      Allan McRae     <allan@archlinux.org>
10170
10171         [BZ #14303]
10172         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10173         (SUNOS_CPP): Likewise.
10174         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10175         not found.
10176         (open_input): Call CPP using execvp.
10177
10178 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10179
10180         * sysdeps/unix/sysv/linux/kernel-features.h
10181         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10182         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10183         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10184         (__ASSUME_WAITID_SYSCALL): Likewise.
10185         * sysdeps/unix/sysv/linux/dl-execstack.c
10186         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10187         code unconditional.
10188         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10189         conditional code.
10190         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10191         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10192         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10193         code.
10194         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10195         unconditional.
10196         [__ASSUME_WAITID_SYSCALL]: Likewise.
10197         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10198
10199 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10200
10201         * sysdeps/unix/closedir.c: Renamed to ...
10202         * sysdeps/posix/closedir.c: ... here.
10203         * sysdeps/unix/dirfd.c: Renamed to ...
10204         * sysdeps/posix/dirfd.c: ... here.
10205         * sysdeps/unix/dirstream.h: Renamed to ...
10206         * sysdeps/posix/dirstream.h: ... here.
10207         * sysdeps/unix/fdopendir.c: Renamed to ...
10208         * sysdeps/posix/fdopendir.c: ... here.
10209         * sysdeps/unix/opendir.c: Renamed to ...
10210         * sysdeps/posix/opendir.c: ... here.
10211         * sysdeps/unix/readdir.c: Renamed to ...
10212         * sysdeps/posix/readdir.c: ... here.
10213         * sysdeps/unix/readdir_r.c: Renamed to ...
10214         * sysdeps/posix/readdir_r.c: ... here.
10215         * sysdeps/unix/rewinddir.c: Renamed to ...
10216         * sysdeps/posix/rewinddir.c: ... here.
10217         * sysdeps/unix/seekdir.c: Renamed to ...
10218         * sysdeps/posix/seekdir.c: ... here.
10219         * sysdeps/unix/telldir.c: Renamed to ...
10220         * sysdeps/posix/telldir.c: ... here.
10221         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10222         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10223         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10224         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10225
10226         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10227         * bits/fcntl.h: ... here.
10228
10229         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10230         not 0.
10231         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10232         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10233         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10234         (struct flock): Move l_start, l_len to the beginning.
10235         Use __pid_t for l_pid.
10236         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10237         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10238         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10239         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10240         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10241         [__USE_LARGEFILE64] (struct flock64): New type.
10242         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10243
10244         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10245         * bits/dirent.h: ... here.
10246
10247         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10248         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10249
10250 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10251
10252         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10253         Change from 2.6.0 to 2.6.16.
10254         * sysdeps/unix/sysv/linux/configure: Regenerated.
10255         * sysdeps/unix/sysv/linux/kernel-features.h
10256         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10257         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10258         version.
10259         (__ASSUME_UTIMES): Likewise.
10260         (__ASSUME_CLONE_STOPPED): Remove.
10261         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10262         architectures, not kernel version.
10263         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10264         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10265         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10266         (__ASSUME_WAITID_SYSCALL): Likewise.
10267         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10268         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10269         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10270         refer to older versions.
10271
10272 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10273
10274         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10275         Define alphasort64 as an alias.
10276         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10277         Define versionsort64 as an alias.
10278         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10279         Define scandir64 as an alias.
10280         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10281         Define scandirat64 as an alias.
10282         * dirent/alphasort64.c (alphasort64):
10283         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10284         * dirent/versionsort64.c: Likewise.
10285         * dirent/scandir64.c: Likewise.
10286         * dirent/scandirat64.c: Likewise.
10287         * sysdeps/wordsize-64/alphasort.c: File removed.
10288         * sysdeps/wordsize-64/alphasort64.c: File removed.
10289         * sysdeps/wordsize-64/scandir.c: File removed.
10290         * sysdeps/wordsize-64/scandir64.c: File removed.
10291         * sysdeps/wordsize-64/scandirat.c: File removed.
10292         * sysdeps/wordsize-64/scandirat64.c: File removed.
10293         * sysdeps/wordsize-64/versionsort.c: File removed.
10294         * sysdeps/wordsize-64/versionsort64.c: File removed.
10295         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10296         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10297         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10298         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10299         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10300         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10301         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10302         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10303
10304         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10306         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10307         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10308         [defined __arch64__ || defined __sparcv9]
10309         (__INO_T_MATCHES_INO64_T): New macro.
10310         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10311         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10312         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10313         * sysdeps/unix/sysv/linux/bits/dirent.h
10314         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10315         (_DIRENT_MATCHES_DIRENT64): New macro.
10316
10317         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10318         Define lockf64 as an alias.
10319         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10320         Define fseeko64 as an alias.
10321         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10322         Define ftello64 as an alias.
10323         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10324         Define _IO_fgetpos64 and fgetpos64 as aliases.
10325         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10326         Define _IO_fsetpos64 and fsetpos64 as aliases.
10327         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10328         Conditionalize body on this.
10329         * libio/fseeko64.c: Likewise.
10330         * libio/ftello64.c: Likewise.
10331         * libio/iofgetpos64.c: Likewise.
10332         * libio/iofsetpos64.c: Likewise.
10333         * sysdeps/wordsize-64/lockf.c: File removed.
10334         * sysdeps/wordsize-64/lockf64.c: File removed.
10335         * sysdeps/wordsize-64/fseeko.c: File removed.
10336         * sysdeps/wordsize-64/fseeko64.c: File removed.
10337         * sysdeps/wordsize-64/ftello.c: File removed.
10338         * sysdeps/wordsize-64/ftello64.c: File removed.
10339         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10340         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10341         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10342         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10343         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10344         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10345         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10346         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10347         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10348         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10349         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10350         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10351         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10352         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10353
10354         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10356         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10358         [defined __arch64__ || defined __sparcv9]
10359         (__OFF_T_MATCHES_OFF64_T): New macro.
10360         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10361         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10362         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10363         (__OFF_T_MATCHES_OFF64_T): New macro.
10364
10365 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10366
10367         * stdlib/secure-getenv.c (__secure_getenv): Replace
10368         GLIBC_2_16 with GLIBC_2_17.
10369
10370 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10371
10372         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10373         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10374
10375 2012-08-03  David S. Miller  <davem@davemloft.net>
10376
10377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10378
10379 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10380
10381         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10382         Remove.
10383         (__ASSUME_CORRECT_SI_PID): Likewise.
10384         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10385         (__ASSUME_TMPFS_NAME): Likewise.
10386         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10387         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10388         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10389         (HAVE_AUX_SECURE): Make definition unconditional.
10390         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10391         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10392
10393 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10394
10395         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10396         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10397         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10398         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10399         __eloop_threshold instead of SYMLOOP_MAX.
10400
10401         * sysdeps/generic/eloop-threshold.h: New file.
10402         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10403         of MAXSYMLINKS.
10404         * elf/chroot_canon.c (chroot_canon): Likewise.
10405
10406 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10407
10408         [BZ #13717]
10409         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10410         Change to 2.6.0 everywhere.
10411         * sysdeps/unix/sysv/linux/configure: Regenerated.
10412         * sysdeps/unix/sysv/linux/kernel-features.h
10413         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10414         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10415         kernel versions.
10416         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10417         (__ASSUME_FUTEX_REQUEUE): Remove.
10418         (__ASSUME_STATFS64): Define unconditionally.
10419         (__ASSUME_AT_SECURE): Likewise.
10420         (__ASSUME_CORRECT_SI_PID): Likewise.
10421         (__ASSUME_TGKILL): Define without depending on kernel version for
10422         i386.
10423         (__ASSUME_UTIMES): Likewise.
10424         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10425         kernel version.
10426         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10427         (__ASSUME_TMPFS_NAME): Likewise.
10428         * README: Update reference to Linux kernel versions.
10429
10430 2012-08-02  Marek Polacek  <polacek@redhat.com>
10431
10432         [BZ# 14150]
10433         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10434         libc_cv_asm_type_prefix with %.
10435         * configure: Regenerated.
10436         * include/libc-symbols.h: Remove comment about
10437         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10438         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10439         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10440         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10441         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10442         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10443         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10444         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10445         * elf/tst-unique2mod1.c: Likewise.
10446         * elf/tst-unique1mod2.c: Likewise.
10447         * elf/tst-unique1mod1.c: Likewise.
10448         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10449         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10450         Replace ASM_TYPE_DIRECTIVE with .type.
10451         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10452         * sysdeps/i386/sysdep.h: Likewise.
10453         * sysdeps/x86_64/sysdep.h: Likewise.
10454         * sysdeps/sh/sysdep.h: Likewise.
10455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10456         Do not define ASM_TYPE_DIRECTIVE.
10457         * sysdeps/powerpc/sysdep.h: Likewise.
10458         * sysdeps/powerpc/powerpc32/sysdep.h:
10459         Replace ASM_TYPE_DIRECTIVE with .type.
10460         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10461         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10462         * sysdeps/i386/fpu/e_powf.S: Likewise.
10463         * sysdeps/i386/fpu/e_expl.S: Likewise.
10464         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10465         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10466         * sysdeps/i386/fpu/e_pow.S: Likewise.
10467         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10468         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10469         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10470         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10471         * sysdeps/i386/fpu/e_log2.S: Likewise.
10472         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10473         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10474         * sysdeps/i386/fpu/e_powl.S: Likewise.
10475         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10476         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10477         * sysdeps/i386/fpu/e_logl.S: Likewise.
10478         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10479         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10480         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10481         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10482         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10483         * sysdeps/i386/fpu/e_log.S: Likewise.
10484         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10485         * sysdeps/i386/fpu/e_logf.S: Likewise.
10486         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10487         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10488         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10489         * sysdeps/i386/fpu/e_log10.S: Likewise.
10490         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10491         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10492         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10493         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10494         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10495         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10496         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10497         * sysdeps/i386/i686/strtok.S: Likewise.
10498         * sysdeps/i386/i386-mcount.S: Likewise.
10499         * sysdeps/i386/strtok.S: Likewise.
10500         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10501         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10502         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10503         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10504         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10505         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10506         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10507         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10508         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10509         * sysdeps/x86_64/_mcount.S: Likewise.
10510         * sysdeps/x86_64/strtok.S: Likewise.
10511         * sysdeps/sh/_mcount.S: Likewise.
10512
10513 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10514
10515         * libio/iofopen.c: Include <fcntl.h>.
10516         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10517         (_IO_fopen64, fopen64): Define as aliases.
10518         * libio/iofopen64.c: Include <fcntl.h>.
10519         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10520         Conditionalize body on this.
10521         * sysdeps/wordsize-64/iofopen.c: File removed.
10522         * sysdeps/wordsize-64/iofopen64.c: File removed.
10523
10524 2012-08-01  Marek Polacek  <polacek@redhat.com>
10525
10526         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10527         Use dlfcn directly instead of a variable.
10528         (binfmt-subdir): Do not define.
10529         (dlfcn): Likewise.
10530
10531 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10532
10533         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10534         Remove all definitions.
10535         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10536         <kernel-features.h>.
10537         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10538         (miss_F_GETOWN_EX): Remove all definitions.
10539         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10540         macro definition.
10541         [!__ASSUME_FCNTL64]: Remove conditional code.
10542         [__ASSUME_FCNTL64]: Make code unconditional.
10543         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10544         <kernel-features.h>.
10545         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10546         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10547         (lockf64) [__NR_fcntl64]: Make code unconditional.
10548         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10549
10550         * sysdeps/unix/sysv/linux/kernel-features.h
10551         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10552         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10553         Make code unconditional.
10554         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10555         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10557         [__NR_vfork]: Make code unconditional.
10558         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10559         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10561         [__NR_vfork]: Make code unconditional.
10562         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10563         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10564
10565 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10566
10567         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10568         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10569
10570         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10571         Define mkstemp64 as an alias.
10572         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10573         Define mkstemps64 as an alias.
10574         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10575         Define mkostemp64 as an alias.
10576         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10577         Define mkostemps64 as an alias.
10578         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10579         Conditionalize body on this.
10580         * misc/mkostemp64.c: Likewise.
10581         * misc/mkostemps64.c: Likewise.
10582         * misc/mkstemps64.c: Likewise.
10583         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10584         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10585         * sysdeps/wordsize-64/mkostemp.c: File removed.
10586         * sysdeps/wordsize-64/mkstemp.c: File removed.
10587         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10588         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10589         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10590         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10591
10592         [BZ #14138]
10593         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10594         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10595         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10596         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10597
10598         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10599         compat_symbol macros from <shlib-compat.h> rather than the underlying
10600         default_symbol_version and symbol_version macros, so that DEFAULT
10601         lines in shlib-versions are respected.
10602         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10603
10604 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10605
10606         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10607         Declare with warn_unused_result.
10608         (setgid, setregid, setegid, setresgid): Likewise.
10609         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10610         Likewise.
10611         * WUR-REPORT: Remove set*id functions.
10612
10613 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10614
10615         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10616
10617 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10618
10619         * include/sys/socket.h (__libc_accept, __libc_accept4):
10620         Add attribute_hidden.
10621         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10622
10623         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10624         use of PTR_MANGLE.
10625         * inet/getnetgrent_r.c (setup): Likewise.
10626
10627         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10628
10629 2012-07-31  David S. Miller  <davem@davemloft.net>
10630
10631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10632
10633 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10634
10635         [BZ #13629]
10636         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10637         value between 1.0 and 2.0 and smaller part has absolute value less
10638         than 1.0.
10639         * math/s_clog10.c (__clog10): Likewise.
10640         * math/s_clog10f.c (__clog10f): Likewise.
10641         * math/s_clog10l.c (__clog10l): Likewise.
10642         * math/s_clogf.c (__clogf): Likewise.
10643         * math/s_clogl.c (__clogl): Likewise.
10644         * math/libm-test.inc (clog_test): Add more tests.
10645         (clog10_test): Likewise.
10646         * sysdeps/i386/fpu/libm-test-ulps: Update.
10647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10648
10649 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10650
10651         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10652         Exit with zero in case no suitable GID is found, and write a
10653         message to standard error.
10654
10655 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10656
10657         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10658         rather than to 1.
10659         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10660         (MAXPATHLEN): Removed.
10661         (NOGROUP, NODEV): New macros.
10662         (setbit, clrbit, isset, isclr): New macros.
10663         (howmany, roundup, powerof2): New macros.
10664         (DEV_BSIZE): New macro.
10665
10666         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10667         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10668
10669         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10670         definition on [!__NO_LONG_DOUBLE_MATH].
10671
10672         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10673         PTR_MANGLE and PTR_DEMANGLE.
10674
10675         * socket/accept4.c (accept4): Rename to __libc_accept4.
10676         Define accept4 as a weak alias.
10677
10678         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10679         on [_DIRENT_HAVE_D_TYPE].
10680         * io/ftw.c (ftw_dir): Likewise.
10681
10682         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10683
10684         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10685
10686         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10687         Use the BSD numbers rather than the arbitrary ones we had.
10688         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10689         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10690         (SIGXCPU, SIGXFSZ): New macros.
10691         (_NSIG): Now 32.
10692
10693         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10694         initializer on [_LIBC_REENTRANT].
10695
10696         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10697         definitions inside [_POSIX_MAPPED_FILES].
10698
10699         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10700
10701         * dirent/opendir.c: Include <fcntl.h>.
10702
10703         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10704         (__libc_getspecific): Likewise.
10705         (__libc_key_create): Likewise.
10706
10707         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10708         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10709         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10710         (tmpfile64): Define as alias.
10711         * sysdeps/wordsize-64/tmpfile.c: File removed.
10712         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10713         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10714         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10715
10716         * stdio-common/vfscanf.c: Include <stdbool.h>.
10717         * nss/makedb.c: Likewise.
10718         * stdio-common/_i18n_number.h: Likewise.
10719         * argp/argp-help.c: Likewise.
10720         * posix/wordexp.c: Likewise.
10721         * sysdeps/posix/spawni.c: Likewise.
10722         * nss/nss_files/files-initgroups.c: Likewise.
10723         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10724         * nss/nss_files/files-initgroups.c: Likewise.
10725         * nss/nss_db/db-netgrp.c: Likewise.
10726         * nss/nss_db/db-initgroups.c: Likewise.
10727         * io/fchmodat.c: Include <sys/stat.h>.
10728
10729         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10730         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10731
10732         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10733         [HAVE_MMAP].
10734
10735         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10736         Add multiple inclusion protection.
10737
10738 2012-07-27  David S. Miller  <davem@davemloft.net>
10739
10740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10741
10742 2012-07-27  Gary Benson  <gbenson@redhat.com>
10743
10744         [BZ #14298]
10745         * elf/rtld.c: Include <stap-probe.h>.
10746         (dl_main): Added static probes "init_start" and "init_complete".
10747         * elf/dl-load.c: Include <stap-probe.h>.
10748         (lose): Take new parameter "nsid".
10749         Added static probe "map_failed".
10750         (_dl_map_object_from_fd): Pass namespace id to lose.
10751         Added static probe "map_start".
10752         (open_verify): Pass namespace id to lose.
10753         * elf/dl-open.c: Include <stap-probe.h>.
10754         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10755         and "reloc_complete".
10756         * elf/dl-close.c: Include <stap-probe.h>.
10757         (_dl_close_worker): Added static probes "unmap_start" and
10758         "unmap_complete".
10759         * elf/rtld-debugger-interface.txt: New file documenting the above.
10760
10761 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10762
10763         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10764         rather than a string variable.
10765         * sunrpc/rpc_main.c (h_output): Likewise.
10766         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10767
10768 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10769
10770         * inet/check_native.c: New file.
10771
10772 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10773
10774         [BZ #13629]
10775         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10776         if larger part has absolute value 1.0.
10777         * math/s_clog10.c (__clog10): Likewise.
10778         * math/s_clog10f.c (__clog10f): Likewise.
10779         * math/s_clog10l.c (__clog10l): Likewise.
10780         * math/s_clogf.c (__clogf): Likewise.
10781         * math/s_clogl.c (__clogl): Likewise.
10782         * math/libm-test.inc (clog_test): Add more tests.
10783         (clog10_test): Likewise.
10784         * sysdeps/i386/fpu/libm-test-ulps: Update.
10785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10786
10787         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10788         (pltexit): Likewise.
10789         (La_regs): Likewise.
10790         (La_retval): Likewise.
10791         (int_retval): Likewise.
10792         Update #error for removed macros to refer only to definitions in
10793         tst-audit.h.
10794         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10795         macro.
10796         (pltexit): Likewise.
10797         (La_regs): Likewise.
10798         (La_retval): Likewise.
10799         (int_retval): Likewise.
10800         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10801         macro.
10802         (pltexit): Likewise.
10803         (La_regs): Likewise.
10804         (La_retval): Likewise.
10805         (int_retval): Likewise.
10806         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10807         macro.
10808         (pltexit): Likewise.
10809         (La_regs): Likewise.
10810         (La_retval): Likewise.
10811         (int_retval): Likewise.
10812         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10813         macro.
10814         (pltexit): Likewise.
10815         (La_regs): Likewise.
10816         (La_retval): Likewise.
10817         (int_retval): Likewise.
10818         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10819         macro.
10820         (pltexit): Likewise.
10821         (La_regs): Likewise.
10822         (La_retval): Likewise.
10823         (int_retval): Likewise.
10824         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10825         macro.
10826         (pltexit): Likewise.
10827         (La_regs): Likewise.
10828         (La_retval): Likewise.
10829         (int_retval): Likewise.
10830         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10831         macro definitions in tst-audit.h.
10832         * sysdeps/i386/tst-audit.h: New file.
10833         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10834         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10835         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10836         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10837         * sysdeps/sh/tst-audit.h: Likewise.
10838         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10839         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10840         * sysdeps/x86_64/tst-audit.h: Likewise.
10841
10842 2012-07-26  Andreas Jaeger  <aj@suse.de>
10843
10844         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10845         ptrace.
10846
10847         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10848         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10849         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10850         PTRACE_O_MASK.
10851         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10852         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10853         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10854
10855         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10856         value.
10857
10858         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10859         _sigsys.
10860         (si_call_addr, si_syscall, si_arch): Define new macro.
10861         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10862         _sigsys.
10863         (si_call_addr, si_syscall, si_arch): Define new marcro.
10864         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10865         _sigsys.
10866         (si_call_addr, si_syscall, si_arch): Define new macro.
10867         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10868         _sigsys.
10869         (si_call_addr, si_syscall, si_arch): Define new macro.
10870
10871 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10872
10873         [BZ #13717]
10874         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10875         Change to 2.4.21 where previously 2.4.1.
10876         * sysdeps/unix/sysv/linux/configure: Regenerated.
10877         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10878         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10879         Linux kernel version.
10880         (__ASSUME_STD_AUXV): Remove.
10881         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10882         kernel version.
10883         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10884         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10885         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10886         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10887         (__ASSUME_NETLINK_SUPPORT): Likewise.
10888         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10889         (__no_netlink_support): Remove conditional definition.
10890         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10891         Remove.
10892         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10893         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10894         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10895         (if_nameindex_ioctl): Remove.
10896         (if_nameindex_netlink): Do not handle __no_netlink_support.
10897         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10898         code.
10899         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10900         Remove conditional code.
10901         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10902         code.
10903         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10904         unconditional.
10905         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10906         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10907         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10908         Remove.
10909         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10910         [!__ASSUME_STD_AUXV]: Remove conditional code.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10912         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10913         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10915         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10916         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10917         code.
10918         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10920         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10921         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10922         conditional code.
10923         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10925         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10926         code.
10927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10928         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10929         conditional code.
10930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10931         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10932         code unconditional.
10933         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10934         conditional code.
10935         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10936         unconditional.
10937         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10938         conditional code.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10940         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10941         unconditional.
10942         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10943         conditional code.
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10945         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10946         code unconditional.
10947         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10948         conditional code.
10949         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10950         unconditional.
10951         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10952         conditional code.
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10954         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10955         code unconditional.
10956         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10957         conditional code.
10958         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10959         unconditional.
10960         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10961         conditional code.
10962
10963 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10964
10965         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10966         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10967         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10968         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10969         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10970         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10971         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10972         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10973         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10974         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10975         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10976         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10977         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10978         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10979         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10980         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10981         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10982         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10983         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10985         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10986         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10987         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10988
10989 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10990
10991         * Versions.def: Add GLIBC_2.17.
10992         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10993         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10994         Introduce __libc_secure_getenv.
10995         * stdlib/Versions (2.17): Add secure_getenv
10996         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10997         * stdlib/secure-getenv.c: Rename __secure_getenv to
10998         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10999         symbol __secure_getenv for GLIBC_2.0.
11000         * stdlib/tst-secure-getenv.c: New.
11001         * stdlib/Makefile (tests): Add testcase.
11002         * manual/startup.texi (Environment Access): Document
11003         secure_getenv.
11004         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11005         __libc_secure_getenv.
11006         * inet/ruserpass.c (ruserpass): Likewise.
11007         * malloc/mtrace.c (mtrace): Likewise.
11008         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11009         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11010         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11011         * sysdeps/posix/tempname.c: Likewise.  Evaluate
11012         HAVE_SECURE_GETENV.
11013         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11014         __secure_getenv to __libc_secure_getenv.
11015         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11017         Likewise.
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11019         Likewise.
11020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11027
11028 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11029
11030         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11031         (struct La_i86_retval): Likewise.
11032         (struct La_x86_64_regs): Likewise.
11033         (struct La_x86_64_retval): Likewise.
11034         (struct La_x32_regs): Likewise.
11035         (struct La_x32_retval): Likewise.
11036         (struct La_ppc32_regs): Likewise.
11037         (struct La_ppc32_retval): Likewise.
11038         (struct La_ppc64_regs): Likewise.
11039         (struct La_ppc64_retval): Likewise.
11040         (struct La_sh_regs): Likewise.
11041         (struct La_sh_retval): Likewise.
11042         (struct La_s390_32_regs): Likewise.
11043         (struct La_s390_32_retval): Likewise.
11044         (struct La_s390_64_regs): Likewise.
11045         (struct La_s390_64_retval): Likewise.
11046         (struct La_sparc32_regs): Likewise.
11047         (struct La_sparc32_retval): Likewise.
11048         (struct La_sparc64_regs): Likewise.
11049         (struct La_sparc64_retval): Likewise.
11050         (struct audit_ifaces): Remove architecture-specific pltenter and
11051         pltexit members.
11052         * sysdeps/i386/ldsodefs.h: New file.
11053         * sysdeps/powerpc/ldsodefs.h: Likewise.
11054         * sysdeps/s390/ldsodefs.h: Likewise.
11055         * sysdeps/sh/ldsodefs.h: Likewise.
11056         * sysdeps/sparc/ldsodefs.h: Likewise.
11057         * sysdeps/x86_64/ldsodefs.h: Likewise.
11058
11059 2012-07-25  Marek Polacek  <polacek@redhat.com>
11060
11061         [BZ #6808]
11062         * math/libm-test.inc (yn_test): Add another test.
11063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11064         to ERANGE when the result is +-Inf.
11065         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11066         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11067         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11068         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11069
11070 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11071
11072         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11073         equal to 0.
11074         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11075         clock_t.
11076         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11077
11078 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11079
11080         * configure.in <sysdeps resolving>: Correct printing
11081         Implies_before.
11082         * configure: Regenerate.
11083
11084 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11085
11086         * math/w_ilogb.c: Include <limits.h>.
11087         * math/w_ilogbl.c: Likewise.
11088
11089 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11090
11091         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11092         va_copy.  Document allowing for unavailable va_copy only as
11093         pre-C99 compatibility.
11094         * manual/string.texi (Copying and Concatenation): Use va_copy
11095         instead of __va_copy in concat example.
11096
11097 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11098
11099         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11100         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11101         it if not null.
11102
11103         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11104         with O_NOLINK passed to __file_name_lookup.
11105
11106         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11107         with O_NOLINK passed to __file_name_lookup.
11108
11109         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11110         negative N or less than NGIDS.
11111
11112         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11113         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11114         enough.  Use memcpy instead of strncpy.
11115
11116 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11117
11118         * elf/Makefile (check-data): Remove.
11119         (localplt.data): New vpath directive.
11120         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11121         instead of $(check-data).
11122         * scripts/data/localplt-generic.data: Move to ...
11123         * sysdeps/generic/localplt.data: ... here.
11124         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11125         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11126         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11128         ... here.
11129         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11131         ... here.
11132         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11134         ... here.
11135         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11137         ... here.
11138         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11140         ... here.
11141         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11143         ... here.
11144
11145 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11146
11147         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11148         PPC32 and PPC64 files.
11149         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11150         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11151
11152 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11153
11154         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11155         __makecontext_ret to ...
11156         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11157         ... here and call exit if uc_link is NULL.  New file.
11158         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11159         __makecontext_ret.S.
11160         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11161         __makecontext_ret to ...
11162         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11163         ... here and call exit if uc_link is NULL.  New file.
11164         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11165         __makecontext_ret.S.
11166
11167 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11168
11169         * elf/elf.h (R_390_IRELATIVE): New definition.
11170         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11171         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11172         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11173         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11174         (elf_machine_lazy_rel): Likewise.
11175         * sysdeps/s390/dl-irel.h: New file.
11176         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11177         * sysdeps/s390/s390-64/memset.S: New asm code.
11178         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11179         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11180         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11181         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11182         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11183         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11184         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11185         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11186         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11187         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11188         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11189         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11190         * sysdeps/s390/s390-32/memset.S: New asm code.
11191         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11192
11193 2012-07-17  Marek Polacek  <polacek@redhat.com>
11194
11195         [BZ #14349]
11196         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11197         * sysdeps/s390/s390-64/configure.in: Likewise.
11198         * sysdeps/sparc/configure.in: Likewise.
11199         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11200         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11201         * sysdeps/i386/configure.in: Likewise.
11202         * sysdeps/x86_64/configure.in: Likewise.
11203         * sysdeps/sh/configure.in: Likewise.
11204         * sysdeps/s390/s390-32/configure: Regenerated.
11205         * sysdeps/s390/s390-64/configure: Likewise.
11206         * sysdeps/x86_64/configure: Likewise.
11207         * sysdeps/sh/configure: Likewise.
11208         * sysdeps/powerpc/powerpc64/configure: Likewise.
11209         * sysdeps/powerpc/powerpc32/configure: Likewise.
11210         * sysdeps/sparc/configure: Likwise.
11211         * sysdeps/i386/configure: Likewise.
11212
11213         * elf/dl-open.c: Comment fixes.
11214
11215 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11216
11217         * Makefile [CXX] (check-data): Remove.
11218         [CXX] (c++-types.data): New vpath directive.
11219         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11220         vpath.  Do not allow for C++ type data being missing.
11221         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11222         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11223         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11224         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11225         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11226         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11227         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11229         ... here.
11230         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11232         ... here.
11233         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11235         ... here.
11236         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11238         ... here.
11239         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11241         ... here.
11242         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11244         ... here.
11245         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11247         ... here.
11248         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11250
11251         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11252         definitions to architecture-specific files.
11253         (TLS_IE): Likewise.
11254         (TLS_LD): Likewise.
11255         (TLS_GD): Likewise.
11256         * sysdeps/i386/tls-macros.h: New file.
11257         * sysdeps/powerpc/tls-macros.h: Likewise.
11258         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11259         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11260         * sysdeps/sh/tls-macros.h: Likewise.
11261         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11262         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11263         * sysdeps/x86_64/tls-macros.h: Likewise.
11264
11265 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11266
11267         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11268         zero value for regular exit case.
11269
11270         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11271         (__start_context): Preserve zero value for regular exit case.
11272
11273 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11274             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11275
11276         * manual/setjmp.texi (setcontext): Clarify normal process
11277         termination when uc_link is the null pointer.
11278         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11279         exit call.
11280
11281 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11282
11283         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11284         preprocessor.  Test for each exception mask separately.
11285
11286 2012-07-16  Andreas Jaeger  <aj@suse.de>
11287
11288         * po/ru.po: Update from translation team.
11289
11290 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11291
11292         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11293         equal to 0.
11294         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11295         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11296         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11297         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11298         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11299
11300 2012-07-13  Andreas Jaeger  <aj@suse.de>
11301
11302         * po/fr.po: Update from translation team.
11303
11304 2012-07-12  Marek Polacek  <polacek@redhat.com>
11305
11306         [BZ #14173]
11307         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11308         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11309         loop condition.
11310
11311 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11312
11313         [BZ #13717]
11314         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11315         Change to 2.4.1 where previously 2.4.0.
11316         * sysdeps/unix/sysv/linux/configure: Regenerated.
11317         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11318         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11319         version.
11320         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11321         (__ASSUME_AT_CLKTCK): Remove.
11322         (__ASSUME_AT_PAGESIZE): Likewise.
11323         (__ASSUME_AT_XID): Likewise.
11324         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11325         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11326         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11327         unconditionally.
11328         (HAVE_AUX_PAGESIZE): Likewise.
11329         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11330         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11331         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11332
11333 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11334
11335         [BZ #14307]
11336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11337         the temporary buffer used to invoke __gethostbyname2_r,
11338         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11339         host_data / struct gaih_addrtuple.
11340         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11341         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11342         header file nss/nsswitch.h.
11343         * nss/nsswitch.h (global scope): Add definition of implementation
11344         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11345         resolv/nss_dns/dns-host.c).
11346
11347 2012-07-11  Andreas Jaeger  <aj@suse.de>
11348
11349         * po/fr.po: Update from translation team.
11350
11351         * po/sv.po: Update from translation team
11352         * po/fr.po: Another update from translation team.
11353
11354 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11355
11356         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11357         for subnormals or multiply small sinh result by itself.
11358         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11360
11361 2012-07-11  David S. Miller  <davem@davemloft.net>
11362
11363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11364
11365 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11366
11367         [BZ #14347]
11368         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11369         (INTERNAL_MARK): Shift it here.
11370
11371 2012-07-10  Marek Polacek  <polacek@redhat.com>
11372
11373         [BZ #14151]
11374         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11375         libc_cv_asm_global_directive with .globl.
11376         * configure: Regenerated.
11377         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11378         with .globl.
11379         * sysdeps/i386/configure: Regenerated.
11380         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11381         with .globl.
11382         * sysdeps/x86_64/configure: Regenerated.
11383         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11384         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11385         * elf/tst-unique2mod2.c: Likewise.
11386         * elf/tst-unique2mod1.c: Likewise.
11387         * elf/tst-unique1mod2.c: Likewise.
11388         * elf/tst-unique1mod1.c: Likewise.
11389         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11390         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11391         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11392         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11393         * sysdeps/mach/sysdep.h: Likewise.
11394         * sysdeps/i386/sysdep.h: Likewise.
11395         * sysdeps/i386/i386-mcount.S: Likewise.
11396         * sysdeps/x86_64/_mcount.S: Likewise.
11397         * sysdeps/x86_64/sysdep.h: Likewise.
11398         * sysdeps/sh/_mcount.S: Likewise.
11399         * sysdeps/sh/sysdep.h: Likewise.
11400         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11401         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11402         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11403         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11404         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11405         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11406         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11407         * locale/localeinfo.h: Likewise.
11408         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11409         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11410
11411 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11412
11413         [BZ #14336]
11414         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11415         system".
11416         * manual/message.texi (The Uniforum approach): Likewise.
11417         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11418         (glibc iconv Implementation): Likewise.
11419
11420 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11421
11422         [BZ #14337]
11423         * math/s_clog.c (__clog): Avoid scaling a value down where that
11424         could result in underflow.
11425         * math/s_clog10.c (__clog10): Likewise.
11426         * math/s_clog10f.c (__clog10f): Likewise.
11427         * math/s_clog10l.c (__clog10l): Likewise.
11428         * math/s_clogf.c (__clogf): Likewise.
11429         * math/s_clogl.c (__clogl): Likewise.
11430         * math/libm-test.inc (clog_test): Add more tests.
11431         (clog10_test): Likewise.
11432         * sysdeps/i386/fpu/libm-test-ulps: Update.
11433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434
11435 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11436
11437         [BZ #14283]
11438         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11439         by 7 not 8 to examine high bit of fractional part.
11440
11441         [BZ #14042]
11442         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11443         for call to __mcount_internal.
11444         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11445         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11446         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11447
11448 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11449
11450         [BZ #14154]
11451         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11452         approximation for values within 0x1p-13f of an odd multiple of
11453         pi/4.
11454         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11455         exception.  Add more tests.
11456         * sysdeps/i386/fpu/libm-test-ulps: Update.
11457
11458         [BZ #6778]
11459         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11460         inputs and return -1 for them.  Do not check for +Inf in case not
11461         reachable for +Inf.
11462         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11463         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11464         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11465         and return -1 for them.  Do not check for +Inf in case not
11466         reachable for +Inf.
11467         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11468         define.
11469         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11470         and return -1 for them.  Do not check for +Inf in case not
11471         reachable for +Inf.
11472         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11473         spurious underflow.
11474         * sysdeps/i386/fpu/libm-test-ulps: Update.
11475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11476
11477 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11478
11479         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11480
11481 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11482
11483         [BZ #14157]
11484         [BZ #14331]
11485         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11486         could result in spurious underflow.  Scale down values above
11487         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11488         * math/s_csqrtf.c (__csqrtf): Likewise.
11489         * math/s_csqrtl.c (__csqrtl): Likewise.
11490         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11491         spurious underflow.
11492         * sysdeps/i386/fpu/libm-test-ulps: Update.
11493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11494
11495 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11496
11497         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11498         xopen-msg.sed.
11499         * catgets/xopen-msg.awk: New file.
11500         * catgets/xopen-msg.sed: Removed.
11501
11502         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11503         po2text.sed.
11504         * intl/po2test.awk: New file.
11505         * intl/po2test.sed: Removed.
11506
11507 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11508
11509         [BZ #14328]
11510         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11511         or multiply small sinh result by itself.
11512         * math/s_ctanf.c (__ctanf): Likewise.
11513         * math/s_ctanh.c (__ctanh): Likewise.
11514         * math/s_ctanhf.c (__ctanhf): Likewise.
11515         * math/s_ctanhl.c (__ctanhl): Likewise.
11516         * math/s_ctanl.c (__ctanl): Likewise.
11517         * math/libm-test.inc (ctan_test_tonearest): New function.
11518         (ctan_test_towardzero): Likewise.
11519         (ctan_test_downward): Likewise.
11520         (ctan_test_upward): Likewise.
11521         (ctanh_test_tonearest): Likewise.
11522         (ctanh_test_towardzero): Likewise.
11523         (ctanh_test_downward): Likewise.
11524         (ctanh_test_upward): Likewise.
11525         (main): Call these new functions.
11526         * sysdeps/i386/fpu/libm-test-ulps: Update.
11527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11528
11529 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11530
11531         * .gitignore: Delete /ports entry.
11532
11533 2012-07-03  Andreas Jaeger  <aj@suse.de>
11534
11535         * po/bg.po: Update from translation team.
11536         * po/cs.po: Likewise.
11537         * po/de.po: Likewise.
11538         * po/hr.po: Likewise.
11539         * po/nl.pl: Likewise.
11540         * po/pl.po: Likewise.
11541         * po/vi.po: Likewise.
11542
11543 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11544
11545         * Makeconfig [!+link] (+link-before-libc): New variable.
11546         [!+link] (+link-after-libc): Likewise.
11547         [!+link] (+link-tests): Likewise.
11548         [!+link] (+link): Define in terms of $(+link-before-libc) and
11549         $(+link-after-libc).
11550         [!+link-static] (+link-static-before-libc): New variable.
11551         [!+link-static] (+link-static-after-libc): Likewise.
11552         [!+link-static] (+link-static-tests): Likewise.
11553         [!+link-static] (+link-static): Define in terms of
11554         $(+link-static-before-libc) and $(+link-static-after-libc).
11555         [build-shared] (link-libc-before-gnulib): New variable.
11556         [build-shared] (link-libc-tests): Likewise.
11557         [build-shared] (link-libc): Define in terms of
11558         $(link-libc-before-gnulib).
11559         [!build-shared] (link-libc-tests): New variable.
11560         (link-libc-static-tests): New variable.
11561         [!gnulib] (gnulib-arch): New variable.
11562         [!gnulib] (gnulib-tests): Likewise.
11563         [!gnulib] (static-gnulib-arch): Likewise.
11564         [!gnulib] (static-gnulib-tests): Likewise.
11565         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11566         Define with "=" instead of ":=".
11567         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11568         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11569         * Rules (binaries-all-notests): New variable.
11570         (binaries-all-tests): Likewise.
11571         (binaries-static-notests): Likewise.
11572         (binaries-static-tests): Likewise.
11573         (binaries-all): Define using $(binaries-all-notests) and
11574         $(binaries-all-tests).
11575         (binaries-static): Define using $(binaries-static-notests) and
11576         $(binaries-static-tests).
11577         (binaries-shared-tests): New variable.
11578         (binaries-shared-notests): Likewise.
11579         (binaries-shared): Remove variable.
11580         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11581         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11582         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11583         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11584         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11585         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11586         * elf/Makefile (sln-modules): New variable.
11587         (extra-objs): Add $(sln-modules:=.o).
11588         (ldconfig-modules): Add static-stubs.
11589         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11590         * elf/static-stubs.c: New file.
11591
11592         [BZ #14283]
11593         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11594         by 7 not 8 to examine high bit of fractional part.  Use volatile
11595         variables when splitting into final array of floats if
11596         __FLT_EVAL_METHOD__ != 0.
11597         * math/libm-test.inc (cos_test): Add another test.
11598         (sin_test): Likewise.
11599         * sysdeps/i386/fpu/libm-test-ulps: Update.
11600
11601         [BZ #14273]
11602         * math/libm-test.inc (cosh_test): Add more tests.
11603
11604         * version.h (RELEASE): Set to "development".
11605         (VERSION): Set to "2.16.90".
11606
11607 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11608
11609         * NEWS: Update copyright. Remove last-updated date.
11610         Mention math library bug fixes and timezone data changes.
11611         * README: Mention GNU/Hurd, x32, and HPPA support status.
11612
11613 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11614
11615         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11616
11617 2012-06-27  Andreas Jaeger  <aj@suse.de>
11618
11619         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11620
11621 2012-06-25  Andreas Jaeger  <aj@suse.de>
11622
11623         * sysdeps/s390/fpu/libm-test-ulps: Update.
11624
11625 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11626             Thomas Schwinge  <thomas@codesourcery.com>
11627
11628         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11629         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11631         fanotify_mark.
11632
11633 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11634
11635         * sysdeps/mach/start.c: Remove file.
11636         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11637         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11638         * sysdeps/sh/init-first.c: Likewise.
11639
11640         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11641         registers for frame unwinding purposes, add CFI directives.
11642         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11643         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11644         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11645         Likewise.
11646
11647         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11648         __fortify_fail returning.
11649         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11650
11651         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11652         sysdeps/sh/____longjmp_chk.S.
11653         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11654         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11655         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11656         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11657
11658         * sysdeps/sh/abort-instr.h: New file.
11659         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11660         process in case exit returns.
11661
11662         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11663         initialize the GOT register before use.
11664
11665         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11666         calculation of ARGC > 4.
11667
11668         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11669         meaningful names to some local labels.
11670
11671 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11672             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11673
11674         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11675         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11676         (__arch_compare_and_exchange_val_16_acq): Likewise.
11677         (__arch_compare_and_exchange_val_32_acq): Likewise.
11678         (atomic_exchange_and_add): Fix gUSA sequence.
11679         (atomic_add): Likewise.
11680         (atomic_add_negative): Likewise.
11681         (atomic_add_zero): Likewise.
11682         (atomic_bit_test_set): Likewise.
11683
11684 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11685
11686         [BZ #13579]
11687         * include/link.h (struct link_map): Add l_free_initfini.
11688         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11689         l_initfini.
11690         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11691         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11692         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11693         set.
11694
11695 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11696
11697         * configure.in: Use AC_LANG_SOURCE.
11698         * configure: Regenerate.
11699
11700 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11701
11702         * configure.in (libc_cv_localstatedir): New substituted variable.
11703         * configure: Regenerated.
11704         * config.make.in (localstatedir): New variable, substituted from
11705         libc_cv_localstatedir.
11706         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11707         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11708         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11709         * sysdeps/gnu/configure: Regenerated.
11710
11711 2012-06-21  Jeff Law  <law@redhat.com>
11712
11713         [BZ #14277]
11714         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11715         free.  Simplify list management for _LIBC case.
11716
11717 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11718
11719         [BZ #14273]
11720         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11721         Clear sign bit of 64-bit integer value before comparing against
11722         overflow value.
11723
11724         * sysdeps/mach/configure: Regenerated.
11725
11726 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11727
11728         [BZ #14278]
11729         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11730
11731 2012-06-21  Jeff Law  <law@redhat.com>
11732
11733         [BZ #13882]
11734         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11735         uint16_t for elements in the "seen" array to avoid char overflows.
11736         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11737         * elf/dl-open.c (dl_open_worker): Likewise.
11738
11739 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11740
11741         * scripts/list-sources.sh: Scan PORTS for translations.
11742         * po/libc.pot: Regenerated.
11743
11744 2012-06-21  Andreas Jaeger  <aj@suse.de>
11745
11746         [BZ #12194]
11747         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11748         warning.
11749         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11750         * bits/byteswap-16.h (__bswap_16): Likewise.
11751         * bits/byteswap.h (__bswap_constant_16): Likewise.
11752
11753 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11754
11755         [BZ #14117]
11756         * sysdeps/i386/fpu_control.h: Removed.
11757         * sysdeps/x86_64/fpu_control.h: Moved to ...
11758         * sysdeps/x86/fpu_control.h: Here.
11759
11760         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11761         (_FPU_SETCW): Likewise.
11762
11763 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11764
11765         [BZ #14117]
11766         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11767         * sysdeps/x86/fpu/bits/mathinline.h: This.
11768         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11769
11770         [BZ #14050]
11771         [BZ #14117]
11772         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11773         functions if __x86_64__ is defined.
11774
11775 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11776
11777         * string/endian.h: Add !__ASSEMBLER__ condition for including
11778         conversion interfaces.
11779
11780 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11781
11782         [BZ #14241]
11783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11784         of ABS(x) in calculating zero to negative powers other than odd
11785         integers.
11786         * math/libm-test.inc (pow_test): Add more tests.
11787
11788 2012-06-15  Andreas Jaeger  <aj@suse.de>
11789
11790         * manual/contrib.texi (Contributors): Update entry of Liubov
11791         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11792         Machado Filho.
11793
11794 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11795
11796         * string/string.h: Add __wur to GNU version of strerror_r.
11797
11798 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11799
11800         [BZ #14229]
11801         * string/Makefile (tests): Add tst-strtok_r.
11802         * string/tst-strtok_r.c: New file.
11803         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11804         RAX_LP/RDX_LP on SAVE_PTR.
11805
11806 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11807
11808         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11809
11810 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11811
11812         * libm_test.inc (csqrt_test): Allow more spurious underflow
11813         exceptions.
11814         (j0_test): Likewise.
11815         (j1_test): Likewise.
11816         (y0_test): Likewise.
11817         (y1_test): Likewise.
11818
11819 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11820
11821         * po/Makefile (libc.pot): Use UTF-8 charset.
11822
11823 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11824
11825         [BZ #14210]
11826         Suppress sign-conversion warning from FD_SET.
11827         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11828         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11829         not unsigned long int.
11830         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11831
11832 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11833
11834         [BZ #14050]
11835         [BZ #14117]
11836         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11837         __extern_always_inline instead of __extern_inline.
11838         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11839         (__signbit): Likewise.
11840         (__signbitl): Support C++ namespace.
11841         (lrintf): New inline function.
11842         (lrint): Likewise.
11843         (llrintf): Likewise.
11844         (llrint): Likewise.
11845         (fmaxf): Likewise.
11846         (fmax): Likewise.
11847         (fminf): Likewise.
11848         (fmin): Likewise.
11849         (rint): Likewise.
11850         (rintf): Likewise.
11851         (ceil): Likewise.
11852         (ceilf): Likewise.
11853         (floor): Likewise.
11854         (floorf): Likewise.
11855         (nearbyint): Likewise.
11856         (nearbyintf): Likewise.
11857
11858 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11859
11860         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11861         non-default versions.
11862
11863 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11864
11865         [BZ #14218]
11866         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11867
11868 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11869
11870         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11871         (FE_UPWARD, FE_DOWNWARD): Don't define.
11872         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11873         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11874
11875         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11876         reading it.
11877         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11878         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11879
11880 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11881
11882         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11883         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11884         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11885         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11886
11887 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11888
11889         [BZ #14117]
11890         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11891         * sysdeps/i386/fpu/Implies: New file.
11892         * sysdeps/x86_64/fpu/Implies: Likewise.
11893         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11894         * sysdeps/x86/fpu/bits/fenv.h: This.
11895
11896         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11897         __SSE_MATH__.
11898
11899 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11900
11901         [BZ #14134]
11902         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11903         character 0xffff that matches the last element of the
11904         conversion table.
11905
11906 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11907
11908         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11909         fmodl commit.
11910
11911 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11912
11913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11914         values higher than 25.6283.
11915
11916 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11917
11918         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11919         subnormal exponent extraction and add some __builtin_expect.
11920         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11921         Fix for subnormal mantissa calculation.
11922
11923 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11924
11925         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11926         cpu2 is -1 and errno is not ENOSYS.
11927
11928 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11929
11930         [BZ #14117]
11931         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11932         * sysdeps/x86/bits/string.h: This.
11933         * sysdeps/x86_64/bits/string.h: Removed.
11934
11935         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11936         if not compiling for x86-64, but compiling for >= i486.
11937
11938         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11939         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11940
11941         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11942         New macro from Linux kernel 3.4.0.
11943         (FP_XSTATE_MAGIC2): Likewise.
11944         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11945         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11946         (struct _fpx_sw_bytes): New struct.
11947         (struct _xsave_hdr): Likewise.
11948         (struct _ymmh_state): Likewise.
11949         (struct _xstate): Likewise.
11950
11951         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11952         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11953         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11954         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11955         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11956         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11957
11958         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11959         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11960         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11961         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11962         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11963         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11964
11965 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11966
11967         [BZ #13743]
11968         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11969         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11970         (sysdep_headers): Include sys/platform/ppc.h.
11971         * sysdeps/powerpc/test-gettimebase.c: Test for
11972         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11973         * manual/Makefile (appendices): Include platform.texi.
11974         * manual/contrib.texi (Contributors): Update @node pointers.
11975         * manual/maint.texi (Maintenance): Likewise.
11976         (Platform): New node.
11977         * manual/platform.texi: New file.  Document the new features.
11978
11979 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11980             Jakub Jelinek  <jakub@redhat.com>
11981
11982         [BZ #14188]
11983         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11984         where __builtin_expect is unavailable.
11985
11986 2012-06-03  David S. Miller  <davem@davemloft.net>
11987
11988         * stdlib/longlong.h: Updated from GCC.
11989
11990 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11991
11992         [BZ #14042]
11993         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11994         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11995         __mcount_internal.
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11997         (GLIBC_2.16): Likewise.
11998
11999 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12000
12001         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12002
12003 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12004
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12006         (default-abi): New variable.
12007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12008         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12009         variable.
12010         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12011         Likewise.
12012         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12013         Likewise.
12014         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12015         Likewise.
12016
12017         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12018         definition.  Document in comment.
12019
12020 2012-06-01  David S. Miller  <davem@davemloft.net>
12021
12022         * stdlib/longlong.h: Updated from GCC.
12023
12024 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12025
12026         [BZ #14117]
12027         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12028         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12029         sys/debugreg.h sys/io.h here.
12030         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12031         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12032         sys/io.h.
12033         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12034         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12035         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12036         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12037         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12038         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12039
12040         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12041         Define only if __x86_64__ is defined.
12042
12043 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12044
12045         [BZ #14048]
12046         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12047         Use int64_t for variable i.
12048         * math/libm-test.inc (fmod_test): Add more tests.
12049
12050         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12051         z computation is not scheduled after fetestexcept.
12052         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12053         Use math_force_eval instead of asm to ensure calculation scheduled
12054         before exception test.
12055         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12056         Ensure a1 + u.d computation is not scheduled after fetestexcept.
12057
12058 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
12059
12060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12061         computation is not scheduled after fetestexcept.
12062
12063 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12064
12065         [BZ #14117]
12066         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12067         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12068
12069 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12070
12071         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12072         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12073
12074 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12075
12076         [BZ #14117]
12077         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12078         <bits/wordsize.h>.
12079         (__WCHAR_MIN): Support __WORDSIZE == 64.
12080         (__WCHAR_MAX): Likewise.
12081
12082         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12083         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12084
12085         [BZ #14183]
12086         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12087         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12088
12089         [BZ #14117]
12090         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12091         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12092
12093         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12094         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12095
12096         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12097         Defined to 1 if __x86_64__ isn't defined.
12098         (_STAT_VER_LINUX_OLD): New.
12099         (st_atime): Remove duplicate.
12100         (st_mtime): Likewise.
12101         (st_ctime): Likewise.
12102
12103 2012-05-31  David S. Miller  <davem@davemloft.net>
12104
12105         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12106         entries.
12107
12108 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12109
12110         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12111         gen-libm-test.pl.
12112
12113         [BZ #14132]
12114         * elf/dl-reloc.c: Include <_itoa.h>.
12115         (_dl_reloc_bad_type): Remove use of INTUSE.
12116         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12117         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12118         * stdio-common/psiginfo.c (psiginfo): Likewise.
12119         * stdio-common/psignal.c (psignal): Likewise.
12120         * string/strsignal.c (strsignal): Likewise.
12121         * include/signal.h (_sys_siglist): Declare hidden proto.
12122         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12123         INTVARDEF with libc_hidden_data_def.
12124         * stdio-common/itoa-udigits.c: Likewise.
12125         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12126         (_itoa_lower_digits_internal): Remove declaration.
12127         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12128         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12129         (_sys_sigabbrev_internal): Remove aliases.
12130         (_sys_siglist): Define hidden alias.
12131
12132 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12133
12134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12135         bits/sysctl.h.
12136
12137 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12138
12139         [BZ #14117]
12140         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12141         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12142
12143         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12144         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12145         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12146         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12147         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12148         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12149
12150         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12151         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12152         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12153
12154         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12155         with __addr.
12156         (insw): Likewise.
12157         (insl): Likewise.
12158         (outsb): Likewise.
12159         (outsw): Likewise.
12160         (outsl): Likewise.
12161
12162         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12163         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12164         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12165
12166         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12167         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12168         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12169         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12170         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12171         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12172
12173         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12174         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12175
12176         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12177         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12178
12179         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12180         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12181         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12182
12183         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12184         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12185         to ...
12186         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12187
12188         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12189         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12190         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12191
12192         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12193         for x86-64.
12194         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12195
12196 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12197
12198         * math/math.h (M_El): Use two more decimal places.
12199         (M_LOG2El): Likewise.
12200         (M_LOG10El): Likewise.
12201         (M_LN2l): Likewise.
12202         (M_LN10l): Likewise.
12203         (M_PIl): Likewise.
12204         (M_PI_2l): Likewise.
12205         (M_PI_4l): Likewise.
12206         (M_1_PIl): Likewise.
12207         (M_2_PIl): Likewise.
12208         (M_2_SQRTPIl): Likewise.
12209         (M_SQRT2l): Likewise.
12210         (M_SQRT1_2l): Likewise.
12211
12212 2012-05-31  David S. Miller  <davem@davemloft.net>
12213
12214         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12215         values between float registers.
12216         * sysdeps/sparc/sparc64/memset.S: Likewise.
12217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12218
12219 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12220
12221         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12222         -D_FORTIFY_SOURCE=1.
12223         (CPPFLAGS-tst-longjmp_chk.c): Define.
12224         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12225         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12226         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12227         CFLAGS-tst-wchar-h.c.
12228
12229 2012-05-31  Marek Polacek  <polacek@redhat.com>
12230
12231         [BZ #14132]
12232         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12233         __endmntent_internal): Remove declaration.
12234         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12235         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12236         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12237
12238 2012-05-30  David S. Miller  <davem@davemloft.net>
12239
12240         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12241         (___Q_simulate_exceptions): Use real FP ops rather than writing
12242         into the %fsr.
12243         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12244         Likewise.
12245
12246 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12247
12248         [BZ #14117]
12249         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12250         * sysdeps/x86/bits/xtitypes.h: This.
12251
12252         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12253         * sysdeps/x86/bits/wordsize.h: This.
12254
12255         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12256         * sysdeps/x86/bits/huge_vall.h: This.
12257
12258         * sysdeps/i386/bits/select.h: Removed.
12259         * sysdeps/x86_64/bits/select.h: Renamed to ...
12260         * sysdeps/x86/bits/select.h: This.
12261
12262         * sysdeps/i386/bits/setjmp.h: Removed.
12263         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12264         * sysdeps/x86/bits/setjmp.h: This.
12265
12266         * sysdeps/i386/bits/mathdef.h: Removed.
12267         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12268         * sysdeps/x86/bits/mathdef.h: This.
12269
12270 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12271
12272         [BZ #14132]
12273         * include/sys/socket.h (__connect_internal)
12274         (__libc_sa_len_internal): Remove declaration.
12275         (__connect, __libc_sa_len): Declare hidden_proto.
12276         (SA_LEN): Remove use of INTUSE.
12277         * socket/connect.c: Add libc_hidden_def.
12278         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12279         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12280         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12281         alias.
12282         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12283         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12284         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12285         of adding _internal alias.
12286
12287 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12288
12289         [BZ #14117]
12290         * sysdeps/i386/bits/link.h: Removed.
12291         * sysdeps/i386/bits/linkmap.h: Likewise.
12292         * sysdeps/x86_64/bits/link.h: Renamed to ...
12293         * sysdeps/x86/bits/link.h: This.
12294         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12295         * sysdeps/x86/bits/linkmap.h: This.
12296
12297         * sysdeps/i386/bits/endian.h: Removed.
12298         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12299         * sysdeps/x86/bits/endian.h: This.
12300
12301         * sysdeps/i386/bits/byteswap.h: Removed.
12302         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12303         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12304         * sysdeps/x86/bits/byteswap.h: This.
12305         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12306         * sysdeps/x86/bits/byteswap-16.h: This.
12307         * sysdeps/i386/Implies: Add x86.
12308         * sysdeps/x86_64/Implies: Likewise.
12309
12310 2012-05-30  David S. Miller  <davem@davemloft.net>
12311
12312         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12313         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12314         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12315         (FP_TRAPPING_EXCEPTIONS): Define.
12316         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12317         (FP_TRAPPING_EXCEPTIONS): Define.
12318         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12319         subnormals only when inexact has been signalled or underflow
12320         exceptions are enabled.
12321         (_FP_PACK_CANONICAL): Likewise.
12322
12323 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12324
12325         [BZ #14183]
12326         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12327         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12328
12329 2012-05-30  Richard Henderson  <rth@twiddle.net>
12330
12331         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12332         with #ifndef NOT_IN_libc.
12333
12334         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12335         marked to avoid plt entry.
12336
12337 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12338
12339         [BZ #14112]
12340         * Makeconfig (default-abi): New macro.
12341         (abi-includes): Likewise.
12342         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12343         $(abi-$(default-abi)-lib-soname) for soname if defined.
12344         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12345         abi-variants.
12346         * Makefile (installed-stubs): Likewise.
12347         * include/stubs-biarch.h: Removed.
12348         * scripts/lib-names.awk: Only handle one library at a time.
12349         * scripts/soversions.awk: Remove WORDSIZE support.
12350         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12351         entries.
12352         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12353         Removed.
12354         (syscall-list-default-condition): Likewise.
12355         (syscall-list-default-condition): Likewise.
12356         (syscall-list-includes): Likewise.
12357         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12358         syscall-list-* with abi-*.  Handle undefined abi-variants.
12359         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12360         * sysdeps/unix/sysv/linux/i386/Implies: New file.
12361         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12362         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12363         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12364         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12365         Removed.
12366         (syscall-list-32-options): Likewise.
12367         (syscall-list-32-condition): Likewise.
12368         (syscall-list-64-options): Likewise.
12369         (syscall-list-64-condition): Likewise.
12370         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12371         macro.
12372         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12373         Renamed to ...
12374         (abi-*): This.
12375         (abi-64-ld-soname): New macro.
12376         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12377         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12378         Renamed to ...
12379         (abi-*): This.
12380         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12381         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12382
12383 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12384
12385         * sysdeps/unix/sysv/linux/kernel-features.h
12386         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12387         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12388         include <kernel-features.h>.
12389         [!__NR_ftruncate64]: Remove conditional code.
12390         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12391         [__NR_ftruncate64]: Make code unconditional.
12392         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12393         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12394         include <kernel-features.h>.
12395         [!__NR_ftruncate64]: Remove conditional code.
12396         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12397         [__NR_ftruncate64]: Make code unconditional.
12398         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12400         include <kernel-features.h>.
12401         [!__NR_ftruncate64]: Remove conditional code.
12402         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12403         [__NR_ftruncate64]: Make code unconditional.
12404         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12406         include <kernel-features.h>.
12407         [!__NR_ftruncate64]: Remove conditional code.
12408         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12409         [__NR_ftruncate64]: Make code unconditional.
12410         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12411
12412         * configure.in (libc_cv_fpie): Weaken to a compile test using
12413         LIBC_TRY_CC_OPTION.
12414         * configure: Regenerated.
12415
12416 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12417
12418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12422         Refreshed.
12423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12429         Refreshed.
12430
12431 2012-05-27  David S. Miller  <davem@davemloft.net>
12432
12433         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12434         (___Q_zero): New.
12435         (__Q_simulate_exceptions): Return void.  Change to simulate
12436         exceptions by writing into the %fsr.
12437         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12438         (__Qp_handle_exceptions): Likewise.
12439         (numbers): Delete.
12440         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12441         __Qp_handle_exceptions.
12442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12443         __Qp_handle_exceptions.
12444         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12445         as unused and give dummy FP_RND_NEAREST initializer.
12446         (FP_INHIBIT_RESULTS): Define.
12447         (___Q_simulate_exceptions): Update declaration.
12448         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12449         formatting.
12450         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12451         as unused and give dummy FP_RND_NEAREST initializer.
12452         (__Qp_handle_exceptions): Update declaration.
12453         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12454         formatting.
12455
12456 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12457
12458         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12459         the temporary FPU control word.
12460         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12461         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12462         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12463         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12464         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12465         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12466         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12467         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12468         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12469         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12470         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12471
12472 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12473
12474         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12475         fields.
12476
12477 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12478
12479         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12480         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12481         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12482         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12483         Likewise.
12484         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12485         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12486         Likewise.
12487
12488 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12489
12490         * po/h.po: Update from translation team.
12491
12492 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12493
12494         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12495
12496         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12497         handling of denormals.
12498         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12499         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12500         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12501         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12503         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12504         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12505         Likewise.
12506
12507 2012-05-26  Marek Polacek  <polacek@redhat.com>
12508
12509         [BZ #14152]
12510         * math/libm-test.inc (fma_test): Don't always expect underflow
12511         exception.
12512
12513 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12514
12515         [BZ #12416]
12516         * elf/tst-execstack.c: Include stackinfo.h.
12517         (do_test): Adjust test case to ensure that pthread_getattr_np
12518         behaviour remains the same after marking stack executable.
12519
12520 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12521
12522         * sysdeps/unix/sysv/linux/kernel-features.h
12523         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12524         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12525         kernel-features.h.
12526         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12527         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12528         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12529         kernel-features.h.
12530         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12531         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12532
12533 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12534
12535         * configure.in: Define the default includes to being none.
12536         * configure: Regenerated.
12537
12538 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12539
12540         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12541         * sysdeps/x86_64/setjmp.S: Likewise.
12542         * sysdeps/i386/bsd-setjmp.S: Likewise.
12543         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12544         * sysdeps/i386/setjmp.S: Likewise.
12545         * sysdeps/i386/__longjmp.S: Likewise.
12546         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12547         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12548
12549         * include/stap-probe.h: New file.
12550         * configure.in: Handle --enable-systemtap.
12551         * configure: Regenerated.
12552         * config.h.in (USE_STAP_PROBE): New #undef.
12553         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12554         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12555         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12556
12557 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12558
12559         [BZ #13717]
12560         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12561         to 2.4.0 where earlier.
12562         * sysdeps/unix/sysv/linux/configure: Regenerated.
12563         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12564         <kernel-features.h>.
12565         [__ASSUME_32BITUIDS]: Make code unconditional.
12566         [!__ASSUME_32BITUIDS]: Remove conditional code.
12567         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12568         <kernel-features.h>.
12569         [__ASSUME_32BITUIDS]: Make code unconditional.
12570         [!__ASSUME_32BITUIDS]: Remove conditional code.
12571         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12572         [__ASSUME_32BITUIDS]: Make code unconditional.
12573         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12574         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12575         <kernel-features.h>.
12576         [__ASSUME_32BITUIDS]: Make code unconditional.
12577         [!__ASSUME_32BITUIDS]: Remove conditional code.
12578         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12579         <kernel-features.h>.
12580         [__ASSUME_32BITUIDS]: Make code unconditional.
12581         [!__ASSUME_32BITUIDS]: Remove conditional code.
12582         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12583         <kernel-features.h>.
12584         [__ASSUME_32BITUIDS]: Make code unconditional.
12585         [!__ASSUME_32BITUIDS]: Remove conditional code.
12586         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12587         <kernel-features.h>.
12588         [__ASSUME_32BITUIDS]: Make code unconditional.
12589         [!__ASSUME_32BITUIDS]: Remove conditional code.
12590         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12591         <kernel-features.h>.
12592         [__ASSUME_32BITUIDS]: Make code unconditional.
12593         [!__ASSUME_32BITUIDS]: Remove conditional code.
12594         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12595         <kernel-features.h>.
12596         [__ASSUME_32BITUIDS]: Make code unconditional.
12597         [!__ASSUME_32BITUIDS]: Remove conditional code.
12598         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12599         <kernel-features.h>.
12600         [__ASSUME_32BITUIDS]: Make code unconditional.
12601         [!__ASSUME_32BITUIDS]: Remove conditional code.
12602         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12603         <kernel-features.h>.
12604         [__ASSUME_32BITUIDS]: Make code unconditional.
12605         [!__ASSUME_32BITUIDS]: Remove conditional code.
12606         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12607         <kernel-features.h>.
12608         [__ASSUME_32BITUIDS]: Make code unconditional.
12609         [!__ASSUME_32BITUIDS]: Remove conditional code.
12610         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12611         <kernel-features.h>.
12612         [__ASSUME_32BITUIDS]: Make code unconditional.
12613         [!__ASSUME_32BITUIDS]: Remove conditional code.
12614         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12615         <kernel-features.h>.
12616         [__NR_setresgid] (__setresgid): Do not declare.
12617         [__ASSUME_32BITUIDS]: Make code unconditional.
12618         [!__ASSUME_32BITUIDS]: Remove conditional code.
12619         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12620         <kernel-features.h>.
12621         [__NR_setresuid] (__setresuid): Do not declare.
12622         [__ASSUME_32BITUIDS]: Make code unconditional.
12623         [!__ASSUME_32BITUIDS]: Remove conditional code.
12624         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12625         <kernel-features.h>.
12626         [__ASSUME_32BITUIDS]: Make code unconditional.
12627         [!__ASSUME_32BITUIDS]: Remove conditional code.
12628         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12629         <kernel-features.h>.
12630         [__ASSUME_32BITUIDS]: Make code unconditional.
12631         [!__ASSUME_32BITUIDS]: Remove conditional code.
12632         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12633         <kernel-features.h>.
12634         [__ASSUME_32BITUIDS]: Make code unconditional.
12635         [!__ASSUME_32BITUIDS]: Remove conditional code.
12636         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12637         <kernel-features.h>.
12638         [__ASSUME_32BITUIDS]: Make code unconditional.
12639         [!__ASSUME_32BITUIDS]: Remove conditional code.
12640         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12641         <kernel-features.h>.
12642         [__ASSUME_32BITUIDS]: Make code unconditional.
12643         [!__ASSUME_32BITUIDS]: Remove conditional code.
12644         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12645         <kernel-features.h>.
12646         [__ASSUME_32BITUIDS]: Make code unconditional.
12647         [!__ASSUME_32BITUIDS]: Remove conditional code.
12648         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12649         <kernel-features.h>.
12650         [__ASSUME_32BITUIDS]: Make code unconditional.
12651         [!__ASSUME_32BITUIDS]: Remove conditional code.
12652         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12653         <kernel-features.h>.
12654         [__ASSUME_32BITUIDS]: Make code unconditional.
12655         [!__ASSUME_32BITUIDS]: Remove conditional code.
12656         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12657         <kernel-features.h>.
12658         [__ASSUME_32BITUIDS]: Make code unconditional.
12659         [!__ASSUME_32BITUIDS]: Remove conditional code.
12660         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12661         <kernel-features.h>.
12662         [__ASSUME_32BITUIDS]: Make code unconditional.
12663         [!__ASSUME_32BITUIDS]: Remove conditional code.
12664         * sysdeps/unix/sysv/linux/kernel-features.h
12665         (__ASSUME_SETRESUID_SYSCALL): Remove.
12666         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12667         (__ASSUME_32BITUIDS): Likewise.
12668         (__ASSUME_LDT_WORKS): Likewise.
12669         (__ASSUME_O_DIRECTORY): Likewise.
12670         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12671         architecture but not kernel version.
12672         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12673         (__ASSUME_MMAP2_SYSCALL): Likewise.
12674         (__ASSUME_STAT64_SYSCALL): Likewise.
12675         (__ASSUME_IPC64): Likewise.
12676         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12677         <kernel-features.h>.
12678         [__ASSUME_32BITUIDS]: Make code unconditional.
12679         [!__ASSUME_32BITUIDS]: Remove conditional code.
12680         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12681         <kernel-features.h>.
12682         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12683         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12684         132096]: Remove conditional code.
12685         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12686         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12687         <kernel-features.h>.
12688         [__ASSUME_32BITUIDS]: Make code unconditional.
12689         [!__ASSUME_32BITUIDS]: Remove conditional code.
12690         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12691         <kernel-features.h>.
12692         [__ASSUME_32BITUIDS]: Make code unconditional.
12693         [!__ASSUME_32BITUIDS]: Remove conditional code.
12694         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12695         <kernel-features.h>.
12696         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12697         unconditional.
12698         (__setresgid): Do not declare.
12699         [__ASSUME_32BITUIDS]: Make code unconditional.
12700         [!__ASSUME_32BITUIDS]: Remove conditional code.
12701         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12702         <kernel-features.h>.
12703         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12704         unconditional.
12705         (__setresuid): Do not declare.
12706         [__ASSUME_32BITUIDS]: Make code unconditional.
12707         [!__ASSUME_32BITUIDS]: Remove conditional code.
12708         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12709         <kernel-features.h>.
12710         [__ASSUME_32BITUIDS]: Make code unconditional.
12711         [!__ASSUME_32BITUIDS]: Remove conditional code.
12712         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12713         <kernel-features.h>.
12714         [__ASSUME_32BITUIDS]: Make code unconditional.
12715         [!__ASSUME_32BITUIDS]: Remove conditional code.
12716
12717 2012-05-25  Richard Henderson  <rth@twiddle.net>
12718
12719         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12720         dl_hwcap to ifunc resolver.
12721         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12722         elf_ifunc_invoke.
12723         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12724         dl_hwcap to ifunc resolver.
12725         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12726
12727 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12728
12729         [BZ #14153]
12730         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12731         for |x| <= 2**-26, not 2**-57.
12732         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12733         exception.
12734
12735 2012-05-24  Jeff Law  <law@redhat.com>
12736
12737         * stdio-common/Makefile (tests): Add bug25.
12738         * stdio-common/bug25.c: New test.
12739
12740 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12741
12742         [BZ #13576]
12743         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12744         multiple of MALLOC_ALIGNMENT in size.
12745         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12746
12747 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12748
12749         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12750         Require >= 256.
12751         (FILENAME_MAX): Use macro-int-constant.
12752         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12753         (_IOFBF): Use macro-int-constant.
12754         (_IOLBF): Likewise.
12755         (_IONBF): Likewise.
12756         (SEEK_CUR): Likewise.
12757         (SEEK_END): Likewise.
12758         (SEEK_SET): Likewise.
12759         (TMP_MAX): Likewise.
12760         (EOF): Use macro-int-constant.  Require < 0.
12761         (NULL): Use macro-constant.  Require == 0.
12762         (stdin): Require type to be FILE *.
12763         (stdout): Likewise.
12764         (stderr): Likewise.
12765         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12766         macro-int-constant.
12767         (EXIT_SUCCESS): Likewise.
12768         (NULL): Use macro-constant.  Require == 0.
12769         (RAND_MAX): Use macro-int-constant.
12770         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12771         [C99-based standards] (strtof): Require function.
12772         [C99-based standards] (strtold): Likewise.
12773         [C99-based standards] (strtoll): Likewise.
12774         [C99-based standards] (strtoull): Likewise.
12775         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12776         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12777         [ISO || ISO99 || ISO11] (math.h): Likewise.
12778         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12779         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12781
12782 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12783
12784         [BZ #14132]
12785         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12786         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12787         * intl/dgettext.c (DCGETTEXT): Likewise.
12788         * intl/gettext.c (DCGETTEXT): Likewise.
12789         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12790         * posix/regex_internal.h (gettext): Likewise.
12791         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12792         Remove declaration.
12793         * include/argz.h (__argz_count_internal)
12794         (__argz_stringify_internal): Remove declaration.
12795         (__argz_count, __argz_stringify): Declare hidden proto.
12796         * intl/dcgettext.c: Remove use of INTDEF.
12797         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12798         * string/argz-stringify.c: Likewise.
12799         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12800         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12801         Declare hidden proto.
12802         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12803         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12804         Declare hidden proto.
12805         * include/stdio.h (__asprintf_internal): Don't declare.
12806         (__asprintf): Don't define as macro.  Declare hidden proto.
12807         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12808         (__fsetlocking): Declare hidden proto.
12809         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12810         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12811         hidden proto.
12812         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12813         (_IO_setlinebuf): Remove use of INTUSE.
12814         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12815         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12816         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12817         Remove declaration.
12818         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12819         (_IO_do_flush): Remove use of INTUSE.
12820         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12821         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12822         (_IO_adjust_column, _IO_least_wmarker)
12823         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12824         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12825         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12826         (_IO_default_doallocate, _IO_wdefault_doallocate)
12827         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12828         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12829         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12830         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12831         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12832         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12833         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12834         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12835         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12836         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12837         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12838         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12839         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12840         proto.
12841         (_IO_flush_all_internal, _IO_adjust_column_internal)
12842         (_IO_default_uflow_internal, _IO_default_finish_internal)
12843         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12844         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12845         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12846         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12847         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12848         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12849         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12850         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12851         (_IO_file_close_internal, _IO_file_close_it_internal)
12852         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12853         (_IO_file_init_internal, _IO_file_attach_internal)
12854         (_IO_file_fopen_internal, _IO_file_read_internal)
12855         (_IO_file_sync_internal, _IO_file_seek_internal)
12856         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12857         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12858         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12859         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12860         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12861         (_IO_list_all_internal, _IO_link_in_internal)
12862         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12863         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12864         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12865         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12866         (_IO_do_write_internal, _IO_padn_internal)
12867         (_IO_getline_info_internal, _IO_getline_internal)
12868         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12869         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12870         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12871         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12872         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12873         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12874         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12875         with libc_hidden_ver, remove use of INTUSE.
12876         * libio/genops.c: Likewise.
12877         * libio/freopen.c: Likewise.
12878         * libio/freopen64.c: Likewise.
12879         * libio/iofclose.c: Likewise.
12880         * libio/iofdopen.c: Likewise.
12881         * libio/iofflush.c: Likewise.
12882         * libio/iofflush_u.c: Likewise.
12883         * libio/iofgets.c: Likewise.
12884         * libio/iofgets_u.c: Likewise.
12885         * libio/iofopen.c: Likewise.
12886         * libio/iofopncook.c: Likewise.
12887         * libio/iofread.c: Likewise.
12888         * libio/iofread_u.c: Likewise.
12889         * libio/ioftell.c: Likewise.
12890         * libio/iofwrite.c: Likewise.
12891         * libio/iogetline.c: Likewise.
12892         * libio/iogets.c: Likewise.
12893         * libio/iogetwline.c: Likewise.
12894         * libio/iopadn.c: Likewise.
12895         * libio/iopopen.c: Likewise.
12896         * libio/ioseekoff.c: Likewise.
12897         * libio/ioseekpos.c: Likewise.
12898         * libio/iosetbuffer.c: Likewise.
12899         * libio/iosetvbuf.c: Likewise.
12900         * libio/ioungetc.c: Likewise.
12901         * libio/ioungetwc.c: Likewise.
12902         * libio/iovdprintf.c: Likewise.
12903         * libio/iovsprintf.c: Likewise.
12904         * libio/iovsscanf.c: Likewise.
12905         * libio/memstream.c: Likewise.
12906         * libio/obprintf.c: Likewise.
12907         * libio/oldfileops.c: Likewise.
12908         * libio/oldiofclose.c: Likewise.
12909         * libio/oldiofdopen.c: Likewise.
12910         * libio/oldiofopen.c: Likewise.
12911         * libio/oldiopopen.c: Likewise.
12912         * libio/oldstdfiles.c: Likewise.
12913         * libio/putc.c: Likewise.
12914         * libio/setbuf.c: Likewise.
12915         * libio/setlinebuf.c: Likewise.
12916         * libio/stdfiles.c: Likewise.
12917         * libio/strops.c: Likewise.
12918         * libio/vasprintf.c: Likewise.
12919         * libio/vscanf.c: Likewise.
12920         * libio/vsnprintf.c: Likewise.
12921         * libio/vswprintf.c: Likewise.
12922         * libio/wfiledoalloc.c: Likewise.
12923         * libio/wfileops.c: Likewise.
12924         * libio/wgenops.c: Likewise.
12925         * libio/wmemstream.c: Likewise.
12926         * libio/wstrops.c: Likewise.
12927         * libio/__fpurge.c: Likewise.
12928         * libio/__fsetlocking.c: Likewise.
12929         * assert/assert.c: Likewise.
12930         * debug/fgets_chk.c: Likewise.
12931         * debug/fgets_u_chk.c: Likewise.
12932         * debug/fread_chk.c: Likewise.
12933         * debug/fread_u_chk.c: Likewise.
12934         * debug/gets_chk.c: Likewise.
12935         * debug/obprintf_chk.c: Likewise.
12936         * debug/vasprintf_chk.c: Likewise.
12937         * debug/vdprintf_chk.c: Likewise.
12938         * debug/vsnprintf_chk.c: Likewise.
12939         * debug/vsprintf_chk.c: Likewise.
12940         * malloc/mtrace.c: Likewise.
12941         * misc/error.c: Likewise.
12942         * misc/syslog.c: Likewise.
12943         * stdio-common/asprintf.c: Likewise.
12944         * stdio-common/fxprintf.c: Likewise.
12945         * stdio-common/getw.c: Likewise.
12946         * stdio-common/isoc99_fscanf.c: Likewise.
12947         * stdio-common/isoc99_scanf.c: Likewise.
12948         * stdio-common/isoc99_vfscanf.c: Likewise.
12949         * stdio-common/isoc99_vscanf.c: Likewise.
12950         * stdio-common/isoc99_vsscanf.c: Likewise.
12951         * stdio-common/printf-prs.c: Likewise.
12952         * stdio-common/printf_fp.c: Likewise.
12953         * stdio-common/printf_fphex.c: Likewise.
12954         * stdio-common/printf_size.c: Likewise.
12955         * stdio-common/putw.c: Likewise.
12956         * stdio-common/scanf.c: Likewise.
12957         * stdio-common/sprintf.c: Likewise.
12958         * stdio-common/tmpfile.c: Likewise.
12959         * stdio-common/vfprintf.c: Likewise.
12960         * stdio-common/vfscanf.c: Likewise.
12961         * stdlib/strfmon_l.c: Likewise.
12962         * sunrpc/openchild.c: Likewise.
12963         * sunrpc/xdr_stdio.c: Likewise.
12964         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12965         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12966
12967 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12968
12969         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12970
12971         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12972         in the third column, to generate for the shared library an IFUNC
12973         that uses _dl_vdso_vsym.
12974         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12975         * Makeconfig (object-suffixes-noshared): New variable.
12976
12977         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12978         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12979         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12980         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12981
12982         [BZ #14132]
12983         * include/sys/time.h (__gettimeofday): Remove macro.
12984         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12985         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12986         Remove INTDEF.
12987         (__gettimeofday): Add libc_hidden_def.
12988         (gettimeofday): Add libc_hidden_weak.
12989         * sysdeps/mach/gettimeofday.c: Likewise.
12990         * sysdeps/posix/gettimeofday.c: Likewise.
12991         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12992         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12994         (__gettimeofday_internal): Remove strong_alias.
12995         (__gettimeofday): Add libc_hidden_def.
12996         (gettimeofday): Add libc_hidden_weak.
12997         * sysdeps/unix/syscalls.list (gettimeofday):
12998         Remove __gettimeofday_internal alias.
12999
13000 2012-05-24  Daniel Jacobowitz  <drow@false.org>
13001             H.J. Lu  <hongjiu.lu@intel.com>
13002
13003         [BZ #12495]
13004         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13005         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13006         (largebin_index_32_big): New.
13007         (largebin_index): Use it for 16-byte alignment.
13008         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
13009         correction with front_misalign.
13010
13011 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13012
13013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13015         Likewise.
13016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13017         Likewise.
13018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13019         Likewise.
13020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13021         Likewise.
13022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13023         Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13025         Likewise.
13026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13027         Likewise.
13028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13029         Likewise.
13030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13031         Likewise.
13032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13033         Likewise.
13034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13035         Likewise.
13036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13037         Likewise.
13038
13039         * scripts/data/c++-types-x32-linux-gnu.data: New file.
13040         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13041
13042 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13043
13044         [BZ #10846]
13045         [BZ #14036]
13046         * math/libm-test.inc (exp_test): Add test from bug 14036.
13047         (pow_test): Add test from bug 10846.
13048
13049         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13050         and other flags.
13051         (special_function): Do not include flags in test name.
13052         (parse_args): Likewise.
13053         * sysdeps/i386/fpu/libm-test-ulps: Update.
13054         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13055         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13056         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13058
13059         * math/gen-libm-test.pl (%beautify): Add entries for underflow
13060         exceptions.
13061         * math/libm-test.inc ("Philosophy"): Update comment about
13062         exception testing.
13063         (UNDERFLOW_EXCEPTION): New macro.
13064         (UNDERFLOW_EXCEPTION_OK): Likewise.
13065         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13066         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13067         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13068         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13069         (INVALID_EXCEPTION_OK): Update value.
13070         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13071         (OVERFLOW_EXCEPTION_OK): Likewise.
13072         (IGNORE_ZERO_INF_SIGN): Likewise.
13073         (test_exceptions): Handle underflow exceptions.
13074         (acos_test): Update for underflow exception expectations.
13075         (cexp_test): Likewise.
13076         (clog_test): Likewise.
13077         (clog10_test): Likewise.
13078         (csqrt_test): Likewise.
13079         (ctan_test): Likewise.
13080         (ctanh_test): Likewise.
13081         (exp_test): Likewise.
13082         (exp10_test): Likewise.
13083         (exp2_test): Likewise.
13084         (expm1_test): Likewise.
13085         (fma_test): Likewise.
13086         (j0_test): Likewise.
13087         (jn_test): Likewise.
13088         (nexttoward_test): Likewise.
13089         (pow_test): Likewise.
13090         (scalbn_test): Likewise.
13091         (scalbln_test): Likewise.
13092         (tan_test): Likewise.
13093         (y1_test): Likewise.
13094         * sysdeps/i386/fpu/libm-test-ulps: Update.
13095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13096
13097 2012-05-23  David S. Miller  <davem@davemloft.net>
13098
13099         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13100         (__libc_sigaction): Remove unused local variables.
13101
13102 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13103
13104         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13105
13106 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13107
13108         mktime: avoid signed integer overflow
13109         * time/mktime.c (__mktime_internal): Do not mishandle the case
13110         where diff == INT_MIN.
13111
13112         mktime: simplify computation of average
13113         * time/mktime.c (ranged_convert): Use new time_t_avg function
13114         instead of rolling our own (probably-slower) code.
13115
13116         mktime: do not assume signed right shift propagates sign bit
13117         * time/mktime.c (isdst_differ): New static function.
13118         (__mktime_internal): No need to normalize tm_isdst now.
13119         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13120         tm_isdst values.
13121
13122         mktime: merge another wrapv change from gnulib
13123         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13124         from some compilers.
13125
13126         mktime: remove incorrect attempt at unusual arithmetics
13127         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13128         The code didn't really work on such machines anyway.
13129         (TYPE_MINIMUM): Assume two's complement.
13130         (twos_complement_arithmetic): Verify that long_int and time_t
13131         are two's complement (or unsigned, in the latter case).
13132
13133         mktime: check signed shifts on long_int and time_t, too
13134         * time/mktime.c (SHR): Check that shifts work as desired
13135         on the types long_int and time_t too, as SHR is used on
13136         such types.
13137
13138         mktime: do not assume 'long' is wide enough
13139         * time/mktime.c (verify): Move decl up.
13140         (long_int): New type.
13141         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13142         to remove assumption in the code that 'long' is wide enough to
13143         store year values.  This assumption is not true on x32 and on
13144         some non-glibc platforms.
13145
13146         mktime: merge wrapv change from gnulib
13147         * time/mktime.c (WRAPV): New macro.
13148         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13149         (guess_time_tm, __mktime_internal): Do not assume that signed
13150         integer overflow wraps around; modern compilers generate code
13151         where this assumption is no longer valid.
13152
13153 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13154
13155         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13156         Replace "jmp L(pseudo_end)" with "ret".
13157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13158         Likewise.
13159
13160 2012-05-23  Andreas Jaeger  <aj@suse.de>
13161
13162         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13163         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13164
13165 2012-05-23  Andreas Jaeger  <aj@suse.de>
13166             Maximilian Attems  <max@stro.at>
13167
13168         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13169         New macros.
13170
13171 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13172
13173         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13174         code so that pseudo_end is just ret and the stack pointer is
13175         correct also for static library in error case.
13176
13177 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13178
13179         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13180         move to syscalls.list.
13181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13185
13186         * manual/install.texi (Running make install): Do not mention Linux
13187         kernel version for which pt_chown is not needed.
13188         (Linux): Do not mention problems with nscd with 2.0 kernels.
13189         * INSTALL: Regenerated.
13190
13191 2012-05-23  Andreas Jaeger  <aj@suse.de>
13192
13193         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13194         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13195         macro.
13196         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13197         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13198         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13199         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13200         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13201         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13202         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13203         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13204         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13205         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13206         * sysdeps/unix/sysv/linux/bits/in.h
13207         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13208
13209 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13210
13211         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13212         (PREPARE_VERSION): Just use assert instead, it will be elided
13213         under [NDEBUG] anyway.
13214
13215 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13216
13217         * sysdeps/unix/sysv/linux/Makefile: Include
13218         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13219         (sysdep_routines): Remove sysctl.
13220         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13221         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13222         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13223         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13224         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13225
13226 2012-05-22  Andreas Jaeger  <aj@suse.de>
13227
13228         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13229         that pseudo_end is just ret and the stack pointer is correct also
13230         for static library in error case.
13231
13232 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13233
13234         [BZ #14122]
13235         * nss/nsswitch.c (defconfig_entries): New variable.
13236         (__nss_database_lookup): Don't leak defconfig entries.
13237         (nss_parse_service_list): Don't leak on error paths.
13238         (free_database_entries): New function.
13239         (free_defconfig): New function.
13240         (free_mem): Move common code to free_database_entries.
13241
13242 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13243
13244         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13245         Add arch_prctl.
13246         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13247
13248         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13249         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13251         New macro.
13252         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13253         (INTERNAL_SYSCALL_TYPES): Likewise.
13254         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13255         (LOAD_REGS_TYPES_[1-6]): Likewise.
13256         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13257         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13258
13259 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13260
13261         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13262         copysignl for GLIBC_2_0.
13263         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13264         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13265         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13266         logbl for GLIBC_2_0.
13267         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13268         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13269
13270 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13271
13272         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13273         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13274
13275         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13276         Use "neg %eax".
13277
13278         * time/mktime.c: Update copyright years.
13279
13280 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13281
13282         mktime: merge comment-quoting-style change from gnulib
13283         * time/mktime.c: Quote 'like this' in comments.
13284         The GNU coding standards suggest that we no longer quote `like this',
13285         as "`" and "'" are typically rendered asymmetrically nowadays.
13286         The typical gnulib style is to quote 'like this' when quoting
13287         code, and "like this" when quoting English.
13288
13289         * time/mktime.c (compile-command): Add "-I.".
13290
13291         mktime: merge mktime-internal.h change from gnulib
13292         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13293
13294         mktime: merge time_r change from gnulib
13295         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13296
13297         mktime: merge DEBUG change from gnulib
13298         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13299         case system <time.h> has a #define.
13300
13301         mktime: merge <sys/types.h> change from gnulib
13302         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13303         since <time.t> is now guaranteed to define time_t.
13304
13305         mktime: merge HAVE_CONFIG_H change from gnulib
13306         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13307
13308 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13309
13310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13311         Use "neg %eax".
13312
13313         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13314         __rlim_t cast.
13315         (struct rusage): Use anonymous union to pad each field to
13316         __syscall_slong_t.
13317
13318 2012-05-21  David S. Miller  <davem@davemloft.net>
13319
13320         * Makefules (o-iterator): Remove .s cases.
13321         (compile-command.s): Delete.
13322         (COMPILE.s): Delete.
13323         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13324
13325 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13326
13327         * configure.in (libc_cv_predef_stack_protector): Only consider
13328         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13329         * configure: Regenerated.
13330
13331 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13332
13333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13334         New macro.  Use R*LP on int and pointer.
13335         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13336         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13337         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13338         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13339
13340         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13341         [__WORDSIZE_TIME64_COMPAT32] instead of
13342         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13343         (struct utmp): Likewise.
13344         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13345         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13346         Renamed to ...
13347         (__WORDSIZE_TIME64_COMPAT32): This.
13348         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13349         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13350         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13351         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13352         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13353         (__WORDSIZE_TIME64_COMPAT32): New macro.
13354
13355 2012-05-21  Andreas Jaeger  <aj@suse.de>
13356
13357         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13358         only if [SHARED]. Add prototype for __wcschr_ia32.
13359
13360 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13361
13362         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13363         of %rbp unmolested in the jmp_buf while mangling the low bits.
13364         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13365         unmolested high bits of %rbp while demangling the low bits.
13366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13367
13368 2012-05-21  Andreas Jaeger  <aj@suse.de>
13369
13370         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13371         * sunrpc/svc_simple.c: Use it for registerrpc.
13372         * sunrpc/xcrypt.c: Use it for passwd2des.
13373
13374         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13375
13376 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13377
13378         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13379         Don't define if [__SYSCALL_WORDSIZE != 32].
13380         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13381         New macro.
13382
13383 2012-05-21  Bruno Haible  <bruno@clisp.org>
13384             Andreas Jaeger  <aj@suse.de>
13385
13386         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13387         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13388         inptr and inend for must_buffer_ch.
13389         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13390         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13391         * stdio-common/Makefile (tests): Remove bug15.
13392         (bug15-ENV): Remove macro.
13393         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13394         anymore.
13395
13396 2012-05-19  Andreas Jaeger  <aj@suse.de>
13397             Roland McGrath  <roland@hack.frob.com>
13398
13399         * manual/contrib.texi: Completely rewritten. It contains now an
13400         alphabetical list of contributors and their contributions.
13401
13402 2012-05-21  Richard Henderson  <rth@twiddle.net>
13403
13404         * misc/getauxval.c (__getauxval): Use unsigned long int.
13405         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13406         (getauxval): Use unsigned long int.
13407
13408 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13409
13410         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13411
13412 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13413
13414         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13415         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13416         __alignof__ (long double).
13417
13418 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13419
13420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13421
13422 2012-05-20  Richard Henderson  <rth@twiddle.net>
13423
13424         * misc/getauxval.c: New file.
13425         * misc/sys/auxv.h: New file.
13426         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13427         (routines): Add getauxval.
13428         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13429         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13430         * elf/dl-sysdep.c (_dl_auxv): Remove.
13431         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13432         * elf/dl-support.c (_dl_auxv): New variable.
13433         (_dl_aux_init): Initialize it.
13434         * manual/startup.texi (Auxiliary Vector): New node.
13435         * sysdeps/generic/bits/hwcap.h: New file.
13436         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13437         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13438         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13439         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13440         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13441         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13443         Update.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13452
13453 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13454
13455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13456
13457 2012-05-19  David S. Miller  <davem@davemloft.net>
13458
13459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13460
13461 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13462
13463         [BZ #14123]
13464         * math/s_ccosh.c: Include <float.h>
13465         (__ccosh): Avoid internal overflow calculating sinh and cosh
13466         values before multiplying by sin and cos values.
13467         * math/s_ccoshf.c: Likewise.
13468         * math/s_ccoshl.c: Likewise.
13469         * math/s_csin.c: Likewise.
13470         * math/s_csinf.c: Likewise.
13471         * math/s_csinl.c: Likewise.
13472         * math/s_csinh.c: Likewise.
13473         * math/s_csinhf.c: Likewise.
13474         * math/s_csinhl.c: Likewise.
13475         * math/libm-test.inc (ccos_test): Add more tests.
13476         (ccosh_test): Likewise.
13477         (csin_test): Likewise.
13478         (csinh_test): Likewise.
13479         * sysdeps/i386/fpu/libm-test-ulps: Update.
13480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13481
13482 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13483
13484         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13485         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13486
13487         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13488
13489 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13490
13491         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13492         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13493         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13494         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13495         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13496         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13497         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13498         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13499         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13500         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13501         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13502         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13503         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13504         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13505         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13506         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13507         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13508         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13509         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13510         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13511         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13512         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13513         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13514         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13515         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13516         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13517         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13518         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13519         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13520         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13521         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13522
13523 2012-05-18  Andreas Jaeger  <aj@suse.de>
13524
13525         * csu/.gitignore: Delete.
13526
13527 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13528
13529         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13530         (timex): Use __syscall_slong_t.
13531
13532 2012-05-18  Andreas Jaeger  <aj@suse.de>
13533             Carlos O'Donell  <carlos_odonell@mentor.com>
13534
13535         * manual/install.texi (Configuring and compiling): Update
13536         description about files modified in the source directory.
13537         * INSTALL: Regenerated.
13538
13539 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13540
13541         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13542         value.  Use "or" to set return value to -1.
13543         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13544         negate return value.
13545
13546 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13547
13548         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13549         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13550         failure if the compiler has Graphite support disabled.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13552         Likewise.
13553         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13554         CFLAGS-memmove.c): Likewise.
13555         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13556         Likewise.
13557
13558 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13559
13560         * sysdeps/x86_64/x32/_itoa.h: New file.
13561
13562         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13563         getdents system call only if kernel and user dirents have the
13564         same d_ino and d_off.
13565
13566         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13567         LLONG_MAX != LONG_MAX.
13568         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13569         (_fitoa_word): Likewise.
13570
13571         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13572         years.
13573         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13574         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13575         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13576
13577         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13578         include <bits/wordsize.h>.  Check __x86_64__ instead of
13579         __WORDSIZE.
13580         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13581         if __x86_64__ is defined.  Use anonymous union on fpstate.
13582
13583         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13584         anonymous union.
13585
13586 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13587
13588         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13589         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13591         Refer to _rtld_local_ro instead of _rtld_global_ro.
13592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13593         Likewise.
13594         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13595         Likewise.
13596         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13597         Likewise.
13598         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13599         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13600         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13601
13602         * sysdeps/powerpc/powerpc32/dl-machine.c
13603         (__elf_machine_runtime_setup) [PROF]: Don't reference
13604         _dl_prof_resolve.
13605
13606 2012-05-18  Andreas Jaeger  <aj@suse.de>
13607
13608         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13609         function only available for GCCs before 3.4 since GCC 3.4
13610         introduced a builtin.
13611         (lrint): Likewise.
13612         (llrintf): Likewise.
13613         (llrint): Likewise.
13614         (fmaxf): Likewise.
13615         (fmax): Likewise.
13616         (fminf): Likewise.
13617         (fmin): Likewise.
13618         (rint): Likewise.
13619         (rintf): Likewise.
13620         (nearbyint): Likewise.
13621         (nearbyintf): Likewise.
13622         (ceil): Likewise.
13623         (ceilf): Likewise.
13624         (floor): Likewise.
13625         (floorf): Likewise.
13626
13627 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13628
13629         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13630         on both fields and cast pointer to __syscall_ulong_t.
13631
13632         * bits/types.h (__fsword_t): New type.
13633         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13634         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13636         (__FSWORD_T_TYPE): Likewise.
13637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13638         (__FSWORD_T_TYPE): Likewise.
13639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13640         (__FSWORD_T_TYPE): Likewise.
13641         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13642         (__FSWORD_T_TYPE): Likewise.
13643         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13644         __SWORD_TYPE with __fsword_t.
13645         (statfs64): Likewise.
13646
13647 2012-05-17  David S. Miller  <davem@davemloft.net>
13648
13649         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13650
13651 2012-05-17  Andreas Jaeger  <aj@suse.de>
13652
13653         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13654         warning.
13655
13656 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13657
13658         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13659
13660 2012-05-17  Andreas Jaeger  <aj@suse.de>
13661
13662         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13663         when it is used.
13664
13665 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13666
13667         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13668
13669 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13670
13671         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13672         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13673
13674 2012-05-17  Andreas Jaeger  <aj@suse.de>
13675             Carlos O'Donell  <carlos_odonell@mentor.com>
13676
13677         [BZ #14059]
13678         * sysdeps/x86_64/multiarch/init-arch.h
13679         (bit_YMM_Usable): Rename to...
13680         (bit_AVX_Usable): ... this.
13681         (bit_FMA4_Usable): New macro.
13682         (bit_XMM_state): New macro.
13683         (bit_YMM_state): New macro.
13684         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13685         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13686         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13687         (CPUID_OSXSAVE): New macro.
13688         (CPUID_AVX): New macro.
13689         (CPUID_FMA4): New macro.
13690         (index_YMM_Usable): Rename to...
13691         (index_AVX_Usable): ... this.
13692         (HAS_AVX): Use HAS_ARCH_FEATURE.
13693         (HAS_FMA4): Likewise.
13694         (HAS_YMM_USABLE): Remove.
13695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13696         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13697         are present.
13698         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13699         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13700         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13701         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13702         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13703
13704 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13705
13706         * math/libm-test.c: Support platforms without multiple rounding modes.
13707         * math/bug-nextafter.c: Support platforms without FP exceptions.
13708         * math/bug-nexttoward.c: Likewise.
13709         * math/test-fenv.c: Likewise.
13710         * math/test-misc.c: Likewise.
13711         * stdlib/bug-getcontext.c: Likewise.
13712
13713 2012-05-17  Andreas Jaeger  <aj@suse.de>
13714
13715         * manual/examples/search.c (critter_cmp): Change signature to
13716         avoid warnings.
13717         * manual/string.texi (Collation Functions): Likewise.
13718
13719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13720
13721         * bits/types.h: Fold copyright years.
13722         * bits/typesizes.h: Likewise.
13723         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13724         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13727         * time/time.h: Likewise.
13728
13729 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13730
13731         [BZ #208]
13732         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13733         in instead of returning them.  Return void.
13734         (__libc_mallinfo): Accumulate over all arenas.
13735         (__malloc_stats): Adjust for change in int_mallinfo interface.
13736
13737 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13738
13739         [BZ #10375]
13740         * configure.in (NM): Add AC_CHECK_TOOL for it.
13741         (libc_extra_cflags): New substituted variable.
13742         Check for -fstack-protector being used implicitly.
13743         * configure: Regenerated.
13744         * config.make.in (config-extra-cflags): New variable,
13745         gets @libc_extra_cflags@.
13746         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13747
13748         [BZ #10375]
13749         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13750         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13751         * configure: Regenerated.
13752         * config.make.in (CPPUNDEFS): New substituted variable.
13753         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13754         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13755         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13756
13757 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13758
13759         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13760         (mq_attr): Use __syscall_slong_t.
13761
13762 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13763
13764         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13765         Check __x86_64__ instead of __WORDSIZE.
13766         (_STAT_VER_LINUX): Likewise.
13767         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13768         __syscall_ulong_t and __syscall_slong_t.
13769         (stat64): Likewise.
13770
13771 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13772
13773         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13774
13775 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13776
13777         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13778
13779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13780
13781         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13782         __syscall_ulong_t.
13783
13784         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13785         include <bits/wordsize.h>.  Check __x86_64__ instead of
13786         __WORDSIZE.
13787         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13788         defined.
13789         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13790
13791         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13792         include <bits/wordsize.h>.  Check __x86_64__ instead of
13793         __WORDSIZE.
13794         (user_regs_struct): Use "__extension__ unsigned long long"
13795         instead of "unsigned long" if __x86_64__ is defined.
13796         (user): Likewise.  Pad after pointer field if __ILP32__ is
13797         defined.
13798
13799 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13800
13801         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13802         versions 5 to 9.
13803         * configure: Regenerated.
13804         * manual/install.texi (texinfo): Increase version requirement to
13805         4.5 or later.
13806         * INSTALL: Regenerated.
13807
13808         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13809
13810 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13811
13812         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13813
13814         * sysdeps/x86_64/x32/ffs.c: New file.
13815
13816         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13817         __syscall_ulong_t.
13818         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13819         defined.  Use __syscall_ulong_t.
13820         (shminfo): Use __syscall_ulong_t.
13821         (shm_info): Likewise.
13822
13823         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13824         __syscall_ulong_t.
13825
13826         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13827         <bits/wordsize.h>.
13828         (msgqnum_t): Use __syscall_ulong_t.
13829         (msglen_t): Likewise.
13830         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13831         __syscall_ulong_t.
13832
13833         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13834         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13835
13836         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13837
13838         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13839         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13840
13841         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13842         __syscall_slong_t.
13843
13844         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13845         include <bits/wordsize.h>.  Check __x86_64__ instead of
13846         __WORDSIZE.
13847
13848         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13849         "unsigned long long int" if __x86_64__ is defined.
13850         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13851
13852         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13853         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13854         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13855
13856         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13857         <stdint.h>.
13858         (GET_PC): Cast to uintptr_t first.
13859         (GET_FRAME): Likewise.
13860         (GET_STACK): Likewise.
13861
13862         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13863         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13864         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13865         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13866         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13867         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13868         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13869         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13870         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13871         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13872         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13873         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13874         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13875         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13876         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13877         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13878         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13879         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13880         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13881         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13882         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13883         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13884         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13885         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13886         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13887         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13888         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13889         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13890         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13891
13892 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13893
13894         * Makerules (+depfiles): Also collect depfiles from .oS in
13895         $(extra-objs).
13896         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13897         .oS, $(libnldbl-routines)).
13898
13899         * Makerules (native-compile-mkdep-flags): Define.
13900         * sunrpc/Makefile (extra-objs): Add $(addprefix
13901         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13902         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13903         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13904         calling $(make-target-directory).
13905
13906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13907
13908         * bits/types.h (__snseconds_t): Removed.
13909         * time/time.h (struct timespec): Replace __snseconds_t with
13910         __syscall_slong_t.
13911         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13912         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13913         Likewise.
13914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13915         (__SNSECONDS_T_TYPE): Likewise.
13916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13917         (__SNSECONDS_T_TYPE): Likewise.
13918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13919         (__SNSECONDS_T_TYPE): Likewise.
13920
13921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13922
13923         * sysdeps/mach/hurd/bits/typesizes.h
13924         (__SYSCALL_SLONG_TYPE): New macro.
13925         (__SYSCALL_ULONG_TYPE): Likewise.
13926
13927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13928
13929         * bits/types.h (__syscall_slong_t): New type.
13930         (__syscall_ulong_t): Likewise.
13931
13932         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13933         (__SYSCALL_ULONG_TYPE): Likewise.
13934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13935         (__SYSCALL_SLONG_TYPE): Likewise.
13936         (__SYSCALL_ULONG_TYPE): Likewise.
13937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13938         (__SYSCALL_SLONG_TYPE): Likewise.
13939         (__SYSCALL_ULONG_TYPE): Likewise.
13940         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13941         (__SYSCALL_SLONG_TYPE): Likewise.
13942         (__SYSCALL_ULONG_TYPE): Likewise.
13943
13944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13945
13946         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13947         Add sigaltstack-offsets.sym.
13948         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13949         <sigaltstack-offsets.h>.
13950         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13951         longjmp_msg pointer.
13952         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13953         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13954         signal stack.
13955         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13956
13957 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13958
13959         * elf/stackguard-macros.h: Remove file.
13960         * sysdeps/generic/stackguard-macros.h: New file.
13961         * sysdeps/i386/stackguard-macros.h: Likewise.
13962         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13963         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13964         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13965         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13966         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13967         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13968         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13969         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13970         <elf/stackguard-macros.h>.
13971
13972         [BZ #14109]
13973         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13974         __aligned__ in attribute.
13975         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13976         (gregset_t): Likewise.
13977
13978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13979
13980         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13981         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13982         * sysdeps/x86_64/x32/Implies-after: New file.
13983
13984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13985
13986         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13987         and access return value for _dl_profile_fixup.  Use R10_LP to
13988         load frame size.
13989
13990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13991
13992         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13993
13994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13995
13996         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13997         * sysdeps/x86_64/x32/sysdep.h: New file.
13998
13999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14000
14001         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14002         * sysdeps/x86_64/setjmp.S: Likewise.
14003
14004 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14005
14006         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14007         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14008         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14009         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14010         remove unused global constant.
14011
14012 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
14013
14014         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14015         include of <not-cancel.h>.
14016
14017 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14018
14019         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14020
14021 2012-05-15  Jeff Law  <law@redhat.com>
14022             Andreas Jaeger  <aj@suse.de>
14023
14024         [BZ #13594]
14025         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14026         out from...
14027         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14028         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14029         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14030         code changing __hst_map_handle.map.
14031
14032 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14033
14034         * configure.in (sysnames): Look for Implies-before and Implies-after
14035         files.
14036         * configure: Regenerated.
14037
14038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14039
14040         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14041         8-byte data alignment with LP_SIZE alignment.
14042
14043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14044
14045         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14046         into R10_LP.
14047
14048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14049
14050         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14051
14052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14053
14054         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14055         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14056         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14057         Likewise.
14058         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14059
14060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14061
14062         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14063         (stackinfo_sub_sp): Likewise.
14064
14065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14066
14067         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14068         RAX_LP.
14069
14070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14071
14072         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14073         into R*_LP.
14074
14075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14076
14077         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14078         sizes into R*_LP.
14079
14080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14081
14082         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14083
14084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14085
14086         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14087         into R11_LP and load __x86_64_shared_cache_size_half into
14088         R8_LP.
14089
14090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14091
14092         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14093         R8_LP.
14094
14095 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14096
14097         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14098         logb for POWER7.
14099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14100         logbf for POWER7.
14101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14102         logbl for POWER7.
14103         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14104         powerpc32/power7/fpu/s_logb.c via #include.
14105         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14106         powerpc32/power7/fpu/s_logbf.c via #include.
14107         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14108         powerpc32/power7/fpu/s_logbl.c via #include.
14109
14110 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14111
14112         * README.libm: Remove file.
14113
14114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14115
14116         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14117         count for x32.  Use R*_LP and omit operand-size suffix.
14118
14119 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14120
14121         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14122         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14123         * sysdeps/x86_64/x32/shlib-versions: New file.
14124
14125 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14126
14127         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14128         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14129         Use _dl_fatal_printf instead.
14130
14131 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14132
14133         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14134         set if not set by the user.  Do not allow for being unset.
14135         * sysdeps/unix/sysv/linux/configure: Regenerated.
14136
14137 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14138
14139         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14140         the `q' suffix from lea and replace .quad with ASM_ADDR.
14141
14142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14143
14144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14145         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14146         instead of $17.
14147         (PTR_DEMANGLE): Likewise.
14148
14149 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14150
14151         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14152         (LP_OP): Likewise.
14153         (ASM_ADDR): Likewise.
14154         (RAX_LP): Likewise.
14155         (RBP_LP): Likewise.
14156         (RBX_LP): Likewise.
14157         (RCX_LP): Likewise.
14158         (RDI_LP): Likewise.
14159         (RSI_LP): Likewise.
14160         (RSP_LP): Likewise.
14161         (R8_LP): Likewise.
14162         (R9_LP): Likewise.
14163         (R10_LP): Likewise.
14164         (R10_LP): Likewise.
14165         (R11_LP): Likewise.
14166         (R12_LP): Likewise.
14167         (R13_LP): Likewise.
14168         (R14_LP): Likewise.
14169         (R15_LP): Likewise.
14170
14171 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14172
14173         * sysdeps/x86_64/x32/dl-machine.h: New file.
14174
14175 2012-05-14  Andreas Jaeger  <aj@suse.de>
14176
14177         * manual/Makefile (subdir): Remove export of subdir.
14178         (all): Remove target.
14179         (.PHONY): Remove all from list.
14180         (mkinstalldirs): Remove.
14181         (.PHONY): Remove installdirs from list.
14182         ($(inst_infodir)/libc.info): Use make-target-directory.
14183         (installdirs): Remove.
14184         (subdir_%): Remove.
14185         (glibc-targets): Remove.
14186         (lib): Remove.
14187         (stubs): Remove.
14188         ($(objpfx)stubs ../po/manual.pot): Remove.
14189         ($(objpfx)stamp%): Remove.
14190         (make-target-directory): Remove.
14191         (subdir_install): Remove.
14192         (routines): Remove.
14193         (aux): Remove.
14194         (sources): Remove.
14195         (objects): Remove.
14196         (headers): Remove.
14197
14198         [BZ #13750]
14199         * manual/.gitignore: Remove, it's not needed anymore.
14200         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14201         all files in it.
14202         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14203         directory.
14204         (texis): Renamed to $(objpfx)texis.
14205         (texis-path): New, contains path to generated files.
14206         (chapters.%): Use texis-path for complete path, add extra argument
14207         libc-texinfo.sh.
14208         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14209         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14210         (summary,texi, stamp-summary): Use complete path of
14211         files. Generate files in build dir.
14212         (dir-add.texi): Build in build dir.
14213         (libm-err.texi,stamp-libm-err): Likewise.
14214         (version.texi, stamp-version): Likewise.
14215         (.%c.texi): Likewise.
14216         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14217         (mostlyclean): Remove target.
14218         (realclean): Remove target.
14219         (generated): Add new variable with contents from mostlyclean and
14220         realclean, remove entries duplicated in common-mostlyclean, add
14221         stamp-libm-err and stamp-version.
14222         (generated-dirs): Add libc directory.
14223         ($(inst_infodir)/libc.info): Install files from build dir.
14224
14225         * manual/install.texi (Configuring and compiling): Adjust since
14226         the info files are not part of the tar ball anymore.
14227
14228 2012-05-14  Andreas Jaeger  <aj@suse.de>
14229
14230         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14231         variable.
14232
14233 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14234
14235         [BZ #13717]
14236         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14237         to 2.2.0 where earlier.
14238         * sysdeps/unix/sysv/linux/configure: Regenerated.
14239         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14240         Remove conditional code.
14241         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14242         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14243         Remove conditional code.
14244         [!__NR_lchown]: Likewise.
14245         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14246         [__NR_lchown]: Likewise.
14247         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14248         comment referencing __ASSUME_LCHOWN_SYSCALL.
14249         * sysdeps/unix/sysv/linux/i386/sigaction.c
14250         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14251         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14252         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14253         Remove conditional code.
14254         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14255         (__protocol_available): Remove #if 0 code.
14256         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14257         conditional code.
14258         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14259         * sysdeps/unix/sysv/linux/kernel-features.h
14260         (__ASSUME_GETCWD_SYSCALL): Don't define.
14261         (__ASSUME_REALTIME_SIGNALS): Likewise.
14262         (__ASSUME_PREAD_SYSCALL): Likewise.
14263         (__ASSUME_PWRITE_SYSCALL): Likewise.
14264         (__ASSUME_POLL_SYSCALL): Likewise.
14265         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14266         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14267         non-SPARC.
14268         (__ASSUME_SIOCGIFNAME): Don't define.
14269         (__ASSUME_MSG_NOSIGNAL): Likewise.
14270         (__ASSUME_SENDFILE): Define unconditionally.
14271         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14272         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14273         conditional code.
14274         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14275         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14276         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14277         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14278         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14279         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14280         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14282         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14283         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14285         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14286         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14288         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14289         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14291         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14294         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14295         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14297         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14300         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14301         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14303         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14305         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14306         Remove conditional code.
14307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14308         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14309         Remove conditional code.
14310         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14311         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14312         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14313         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14314         Remove conditional code.
14315         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14316         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14317         Remove conditional code.
14318         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14319         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14320         Remove conditional code.
14321         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14322         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14323         Remove conditional code.
14324         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14325         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14326         Remove conditional code.
14327         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14328         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14329         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14330         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14331         * sysdeps/unix/sysv/linux/sigaction.c
14332         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14333         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14334         * sysdeps/unix/sysv/linux/sigpending.c
14335         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14336         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14337         * sysdeps/unix/sysv/linux/sigprocmask.c
14338         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14339         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14340         * sysdeps/unix/sysv/linux/sigsuspend.c
14341         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14342         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14343         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14344         (__libc_missing_rt_sigs): Remove.
14345         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14346         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14347         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14348         Remove conditional code.
14349         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14350         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14351         return 1.
14352         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14353         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14354         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14355         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14356
14357 2012-05-14  Andreas Jaeger  <aj@suse.de>
14358
14359         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14360         it's not used in glibc.
14361         (__coshm1): Likewise.
14362         (__acosh1p): Likewise.
14363         (__sgn): Likewise.
14364
14365         * manual/string.texi (Copying and Concatenation): Add missing
14366         variable in concat example.
14367         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14368
14369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14370
14371         [BZ #14103]
14372         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14373         __builtin_clzl with __builtin_clzll.
14374
14375 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14376
14377         [BZ #14104]
14378         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14379         libc_freeres_ptr.
14380
14381 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14382
14383         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14384         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14385         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14386         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14387
14388 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14389
14390         * NEWS: Update ia64 info.
14391
14392 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14393
14394         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14395         used as bcopy.
14396
14397 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14398
14399         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14400         * sysdeps/unix/syscalls.list (dup3): Likewise.
14401         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14402         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14403
14404 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14405
14406         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14407         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14408
14409 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14410
14411         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14412         thread pointer.
14413         (TLS_IE): Use mov/add instead of movq/addq to load thread
14414         pointer.
14415         (TLS_GD_PREFIX): New.
14416         (TLS_GD): Use it.
14417
14418 2012-05-11  David S. Miller  <davem@davemloft.net>
14419
14420         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14421         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14422         (_FPU_SETCW): Likewise.
14423
14424 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14425
14426         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14427         is 32-byte aligned.
14428
14429 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14430
14431         [BZ #11837]
14432         * iconvdata/gb18030.c: Update tables.
14433         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14434         characters specially.
14435         (BODY for TO_LOOP): Add encoding of missing ranges.
14436
14437 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14438
14439         [BZ #13673]
14440         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14441         * sysdeps/mach/hurd/dup3.c: Likewise.
14442         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14443         * sysdeps/powerpc/memmove.c:: Likewise.
14444
14445 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14446
14447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14448         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14449
14450 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14451
14452         * elf/elf.h (R_X86_64_RELATIVE64): New.
14453         (R_X86_64_NUM): Updated.
14454         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14455         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14456         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14457         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14458         tst-quad1pie tst-quad2pie
14459         (modules-names): Add tst-quadmod1 tst-quadmod2.
14460         ($(objpfx)tst-quad1): New dependency.
14461         ($(objpfx)tst-quad2): Likewise.
14462         ($(objpfx)tst-quad1pie): Likewise.
14463         ($(objpfx)tst-quad2pie): Likewise.
14464         * sysdeps/x86_64/tst-quad1.c: New file.
14465         * sysdeps/x86_64/tst-quad1pie.c: New file.
14466         * sysdeps/x86_64/tst-quad2.c: Likewise.
14467         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14468         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14469         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14470         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14471         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14472
14473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14474
14475         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14476         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14477         * streams/stropts.h (t_scalar_t): Define type.
14478
14479         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14480         (_PATH_PRESERVE): Set to "/var/lib".
14481         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14482
14483         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14484         instead of int.
14485
14486         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14487         if __dir_mkfile succeeded.
14488
14489         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14490         checking for _hurd_dtablesize.  Unlock it right after having
14491         finished _hurd_dtable allocation.
14492
14493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14494
14495         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14496         * sysdeps/mach/hurd/configure: Regenerated.
14497         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14498         special-casing to...
14499         * sysdeps/gnu/configure.in: ... this new file.
14500         * sysdeps/unix/sysv/linux/configure: Regenerated.
14501         * sysdeps/gnu/configure: New generated file.
14502
14503         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14504         for Linux: use nsec instead of usec, as well as:
14505         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14506         members of type struct timespec.
14507         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14508         New macros.
14509         (struct stat64): Likewise.
14510         (_STATBUF_ST_NSEC): New macro.
14511         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14512
14513         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14514         __strtoul_internal rather than strtoul.
14515
14516 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14517
14518         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14519         and reject them.
14520
14521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14522
14523         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14524         which preserves existing values.
14525         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14526
14527 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14528
14529         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14530         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14531         greater than FD_SETSIZE.
14532
14533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14534
14535         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14536         allocated, call __vm_protect to finish enabling the existing space, and
14537         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14538         allocate the remainder.
14539
14540 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14541
14542         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14543         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14544
14545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14546
14547         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14548         sysdeps/mach/hurd/readlink.c.
14549
14550         * posix/tst-sysconf.c (posix_options): Only use
14551         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14552         _POSIX_SYNCHRONIZED_IO when they are defined
14553         * sysdeps/mach/hurd/bits/posix_opt.h:
14554         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14555         (_XOPEN_REALTIME): Undefine macro.
14556         (_XOPEN_REALTIME_THREADS): Undefine macro.
14557         (_XOPEN_SHM): Undefine macro.
14558         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14559         macro to -1.
14560         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14561         macro to -1.
14562         (_POSIX_ASYNC_IO): Undefine macro.
14563         (_POSIX_PRIORITIZED_IO): Undefine macro.
14564         (_POSIX_SPIN_LOCKS): Define macro to -1.
14565
14566         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14567         SA_NODEFER, SA_RESETHAND.
14568         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14569         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14570         F_DUPFD_CLOEXEC.
14571
14572 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14573
14574         * elf/Makefile (pldd-modules): Define unconditionally.
14575
14576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14577
14578         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14579
14580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14581
14582         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14583         Return ENOENT when name is empty.
14584         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14585
14586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14587
14588         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14589
14590         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14591
14592 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14593
14594         Fix mlock in all cases except non-readable pages.
14595         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14596         instead of VM_PROT_ALL as parameter to __vm_wire function.
14597
14598         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14599         (__mkdir): When path is `/', just fail with EEXIST.
14600         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14601
14602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14603
14604         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14605         <sys/uio.h> (for writev).
14606         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14607         and <sys/param.h> (for MIN).
14608
14609 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14610
14611         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14612         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14613         if interrupted.
14614
14615 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14616
14617         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14618         Depend on against $(link-rpcuserlibs).
14619
14620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14621
14622         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14623         (__libc_stack_end): Do not use attribute_relro.
14624         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14625         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14626         to libthread-provided value.
14627         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14628         attribute_relro.
14629
14630 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14631
14632         [BZ #3748]
14633         * bits/libc-lock.h (__libc_once_get): New macro.
14634         * sysdeps/mach/bits/libc-lock.h: Likewise.
14635         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14636         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14637         instead of using implementation details.
14638
14639         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14640         * libio/freopen.c: Likewise.
14641         * libio/freopen64.c: Likewise.
14642         * misc/syslog.c: Likewise.
14643         * nscd/connections.c: Likewise.
14644         * nscd/netgroupcache.c: Likewise.
14645         * sysdeps/posix/getcwd.c: Likewise.
14646
14647 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14648
14649         * math/w_ilogbf.c: Add #include <limits.h>.
14650
14651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14652
14653         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14654         path instead of returning without unlocking.
14655
14656         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14657         immediate-write ioctls.
14658         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14659
14660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14661
14662         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14663         __builtin_frame_address instead of making assumptions about the
14664         location of the return address relative to DATA.  Force early load of
14665         the return address.
14666         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14667         __builtin_frame_address.
14668
14669         dup3 for GNU Hurd.
14670         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14671         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14672         implement dup3 and do some further code clean-ups.
14673         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14674         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14675
14676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14677
14678         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14679
14680         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14681         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14682         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14683         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14684         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14685         d->port.lock.
14686
14687         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14688         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14689         when handler == SIG_ERR, not when handler != SIG_ERR.
14690
14691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14692
14693         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14694         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14695         definitions.
14696
14697         accept4 for GNU Hurd.
14698         * include/sys/socket.h (__libc_accept4): New prototype.
14699         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14700         to implement __libc_accept4.
14701         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14702         __libc_accept4.
14703         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14704
14705         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14706         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14707         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14708         signal-defines.sym.
14709
14710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14711
14712         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14713
14714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14715
14716         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14717         assertion on O_CLOEXEC flag.
14718         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14719         * hurd/intern-fd.c: Likewise.
14720         * hurd/port2fd.c: Likewise.
14721
14722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14723
14724         [BZ #3906]
14725         * bits/in.h (IPV6_PKTINFO): Define new macro.
14726         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14727
14728 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14729
14730         [BZ #13954]
14731         [BZ #13955]
14732         [BZ #13956]
14733         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14734         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14735         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14736         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14738         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14739         * math/libm-test.inc (logb_test) : Additional logb tests.
14740
14741 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14742             Andreas Jaeger  <aj@suse.de>
14743
14744         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14745         * configure: Regenerated.
14746         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14747         * config.make.in (link-obsolete-rpc): New substituted variable.
14748         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14749         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14750         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14751         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14752         so that libc.a contains the symbols.
14753         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14754         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14755         * sunrpc/auth_none.c: Likewise.
14756         * sunrpc/auth_unix.c: Likewise.
14757         * sunrpc/authdes_prot.c: Likewise.
14758         * sunrpc/authuxprot.c: Likewise.
14759         * sunrpc/clnt_gen.c: Likewise.
14760         * sunrpc/clnt_perr.c: Likewise.
14761         * sunrpc/clnt_raw.c: Likewise.
14762         * sunrpc/clnt_simp.c: Likewise.
14763         * sunrpc/clnt_tcp.c: Likewise.
14764         * sunrpc/clnt_udp.c: Likewise.
14765         * sunrpc/clnt_unix.c: Likewise.
14766         * sunrpc/des_crypt.c: Likewise.
14767         * sunrpc/des_soft.c: Likewise.
14768         * sunrpc/get_myaddr.c: Likewise.
14769         * sunrpc/key_call.c: Likewise.
14770         * sunrpc/key_prot.c: Likewise.
14771         * sunrpc/netname.c: Likewise.
14772         * sunrpc/pm_getmaps.c: Likewise.
14773         * sunrpc/pm_getport.c: Likewise.
14774         * sunrpc/pmap_clnt.c: Likewise.
14775         * sunrpc/pmap_prot.c: Likewise.
14776         * sunrpc/pmap_prot2.c: Likewise.
14777         * sunrpc/pmap_rmt.c: Likewise.
14778         * sunrpc/publickey.c: Likewise.
14779         * sunrpc/rpc_cmsg.c: Likewise.
14780         * sunrpc/rpc_common.c: Likewise.
14781         * sunrpc/rpc_dtable.c: Likewise.
14782         * sunrpc/rpc_prot.c: Likewise.
14783         * sunrpc/rpc_thread.c: Likewise.
14784         * sunrpc/rtime.c: Likewise.
14785         * sunrpc/svc.c: Likewise.
14786         * sunrpc/svc_auth.c: Likewise.
14787         * sunrpc/svc_raw.c: Likewise.
14788         * sunrpc/svc_run.c: Likewise.
14789         * sunrpc/svc_tcp.c: Likewise.
14790         * sunrpc/svc_udp.c: Likewise.
14791         * sunrpc/svc_unix.c: Likewise.
14792         * sunrpc/svcauth_des.c: Likewise.
14793         * sunrpc/xcrypt.c: Likewise.
14794         * sunrpc/xdr.c: Likewise.
14795         * sunrpc/xdr_array.c: Likewise.
14796         * sunrpc/xdr_float.c: Likewise.
14797         * sunrpc/xdr_intXX_t.c: Likewise.
14798         * sunrpc/xdr_mem.c: Likewise.
14799         * sunrpc/xdr_rec.c: Likewise.
14800         * sunrpc/xdr_ref.c: Likewise.
14801         * sunrpc/xdr_sizeof.c: Likewise.
14802         * sunrpc/xdr_stdio.c: Likewise.
14803
14804 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14805
14806         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14807         change.  Update copyright years.
14808
14809 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14810
14811         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14812
14813 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14814             Joseph Myers  <joseph@codesourcery.com>
14815             Paul Pluzhnikov  <ppluzhnikov@google.com>
14816
14817         [BZ #14012]
14818         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14819         requiring rpcgen.
14820         [cross-compiling] (extra-libs): Likewise.
14821         [cross-compiling] (extra-libs-others): Likewise.
14822         [cross-compiling] (librpcsvc-routines): Likewise.
14823         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14824         [cross-compiling] (omit-deps): Likewise.
14825         (sunrpc-CPPFLAGS): New variable.
14826         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14827         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14828         (cross-rpcgen-objs): New variable.
14829         (extra-objs): Append $(cross-rpcgen-objs).
14830         ($(cross-rpcgen-objs)): New rule.
14831         ($(objpfx)cross-rpcgen): Likewise.
14832         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14833         comment.
14834         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14835         ($(objpfx)x%.stmp): Likewise.
14836         * sunrpc/proto.h [IS_IN_build] (_): Define.
14837         [IS_IN_build] (_libc_intl_domainname): Likewise.
14838
14839 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14840
14841         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14842         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14843         and R_X86_64_TPOFF64.
14844
14845 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14846
14847         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14848         sysdeps/unix/sysv/syscalls.list.
14849         (stime): Likewise.
14850         (utime): Likewise.
14851         * sysdeps/unix/sysv/syscalls.list: Remove file.
14852
14853 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14854
14855         [BZ #3440]
14856         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14857         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14858         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14859         (__LC_IDENTIFICATION): Make these macros useful in #if
14860         expressions, as required by C99.
14861
14862 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14863
14864         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14865         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14866         after this.
14867
14868 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14869
14870         * stdlib/longlong.h: Updated from GCC.
14871
14872 2012-05-09  Andreas Jaeger  <aj@suse.de>
14873
14874         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14875         default is first entry.
14876         (run_mode): Set type.
14877         (main): Remove informal message about syslog.
14878         (options): Fix typo.
14879
14880         [BZ #14053]
14881         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14882         to asm.
14883         (lrint): Likewise.
14884         (llrintf): Likewise.
14885         (llrint): Likewise.
14886         (rint): Likewise.
14887         (rintf): Likewise.
14888         (nearbyint): Likewise.
14889         (nearbyintf): Likewise.
14890
14891 2012-05-09  Andreas Jaeger  <aj@suse.de>
14892             Pedro Alves  <palves@redhat.com>
14893
14894         * nscd/nscd.c (run_mode): Use enum.
14895         (main): Cleanup coding style issue.
14896
14897 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14898             Andreas Jaeger  <aj@suse.de>
14899
14900         * nscd/nscd.c (go_background): Replaced with...
14901         (run_mode): ... this.
14902         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14903         (options): Add -F --foreground.
14904         (main): Implement it.
14905         (parse_opt): Parse it.
14906
14907 2012-05-09  Andreas Jaeger  <aj@suse.de>
14908
14909         [BZ #14083]
14910         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14911         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14912         -Wconversion warning.
14913         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14914         Likewise.
14915
14916 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14917
14918         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14919         == 0.
14920         (LC_ALL): Use macro-int-constant.
14921         (LC_COLLATE): Likewise.
14922         (LC_CTYPE): Likewise.
14923         (LC_MESSAGES): Likewise.
14924         (LC_MONETARY): Likewise.
14925         (LC_NUMERIC): Likewise.
14926         (LC_TIME): Likewise.
14927         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14928         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14929         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14930         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14931         Specify type.
14932         [C99-based standards] (float_t): Expect type.
14933         [C99-based standards] (double_t): Expect type.
14934         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14935         type.
14936         [C99-based standards] (HUGE_VALL): Likewise.
14937         [C99-based standards] (INFINITY): Likewise.
14938         [C99-based standards] (NAN): Likewise.
14939         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14940         [C99-based standards] (FP_NAN): Likewise.
14941         [C99-based standards] (FP_NORMAL): Likewise.
14942         [C99-based standards] (FP_SUBNORMAL): Likewise.
14943         [C99-based standards] (FP_ZERO): Likewise.
14944         [C99-based standards] (FP_FAST_FMA): Use
14945         optional-macro-int-constant.  Specify type.  Require == 1.
14946         [C99-based standards] (FP_FAST_FMAF): Likewise.
14947         [C99-based standards] (FP_FAST_FMAL): Likewise.
14948         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14949         [C99-based standards] (FP_ILOGBNAN): Likewise.
14950         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14951         Specify type.
14952         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14953         [C99-based standards] (math_errhandling): Specify type.
14954         [ISO99 || ISO11] (signgam): Do not allow.
14955         [non-C99-based standards] (copysignf): Do not allow.
14956         [non-C99-based standards] (exp2f): Likewise.
14957         [non-C99-based standards] (log2f): Likewise.
14958         [non-C99-based standards] (modff): Allow.
14959         [non-C99-based standards] (erff): Do not allow.
14960         [non-C99-based standards] (erfcf): Likewise.
14961         [non-C99-based standards] (gammaf): Likewise.
14962         [non-C99-based standards] (hypotf): Likewise.
14963         [non-C99-based standards] (j0f): Likewise.
14964         [non-C99-based standards] (j1f): Likewise.
14965         [non-C99-based standards] (jnf): Likewise.
14966         [non-C99-based standards] (lgammaf): Likewise.
14967         [non-C99-based standards] (tgammaf): Likewise.
14968         [non-C99-based standards] (y0f): Likewise.
14969         [non-C99-based standards] (y1f): Likewise.
14970         [non-C99-based standards] (ynf): Likewise.
14971         [non-C99-based standards] (isnanf): Likewise.
14972         [non-C99-based standards] (acoshf): Likewise.
14973         [non-C99-based standards] (asinhf): Likewise.
14974         [non-C99-based standards] (atanhf): Likewise.
14975         [non-C99-based standards] (cbrtf): Likewise.
14976         [non-C99-based standards] (expm1f): Likewise.
14977         [non-C99-based standards] (ilogbf): Likewise.
14978         [non-C99-based standards] (log1pf): Likewise.
14979         [non-C99-based standards] (logbf): Likewise.
14980         [non-C99-based standards] (nextafterf): Likewise.
14981         [non-C99-based standards] (remainderf): Likewise.
14982         [non-C99-based standards] (rintf): Likewise.
14983         [non-C99-based standards] (scalbf): Likewise.
14984         [non-C99-based standards] (copysignl): Likewise.
14985         [non-C99-based standards] (exp2l): Likewise.
14986         [non-C99-based standards] (log2l): Likewise.
14987         [non-C99-based standards] (modfl): Allow.
14988         [non-C99-based standards] (erfl): Do not allow.
14989         [non-C99-based standards] (erfcl): Likewise.
14990         [non-C99-based standards] (gammal): Likewise.
14991         [non-C99-based standards] (hypotl): Likewise.
14992         [non-C99-based standards] (j0l): Likewise.
14993         [non-C99-based standards] (j1l): Likewise.
14994         [non-C99-based standards] (jnl): Likewise.
14995         [non-C99-based standards] (lgammal): Likewise.
14996         [non-C99-based standards] (tgammal): Likewise.
14997         [non-C99-based standards] (y0l): Likewise.
14998         [non-C99-based standards] (y1l): Likewise.
14999         [non-C99-based standards] (ynl): Likewise.
15000         [non-C99-based standards] (isnanl): Likewise.
15001         [non-C99-based standards] (acoshl): Likewise.
15002         [non-C99-based standards] (asinhl): Likewise.
15003         [non-C99-based standards] (atanhl): Likewise.
15004         [non-C99-based standards] (cbrtl): Likewise.
15005         [non-C99-based standards] (expm1l): Likewise.
15006         [non-C99-based standards] (ilogbl): Likewise.
15007         [non-C99-based standards] (log1pl): Likewise.
15008         [non-C99-based standards] (logbl): Likewise.
15009         [non-C99-based standards] (nextafterl): Likewise.
15010         [non-C99-based standards] (remainderl): Likewise.
15011         [non-C99-based standards] (rintl): Likewise.
15012         [non-C99-based standards] (scalbl): Likewise.
15013         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15014         [non-C99-based standards] (FP_*): Do not allow.
15015         [C99-based standards] (FP_*): Change to
15016         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15017         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15018         allow.
15019         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15020         (SIG_ERR): Likewise.
15021         [X/Open-based standards] (SIG_HOLD): Likewise.
15022         (SIG_IGN): Likewise.
15023         (SIGABRT): Use macro-int-constant.  Specify type.  Require
15024         positive value.
15025         (SIGFPE): Likewise.
15026         (SIGILL): Likewise.
15027         (SIGINT): Likewise.
15028         (SIGSEGV): Likewise.
15029         (SIGTER): Likewise.
15030         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15031         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15032         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15033         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15034         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15035         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15036         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15037         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15038         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15039         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15040         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15041         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15042         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15043         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15044         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15045         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15046         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15047         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15048         [X/Open-based standards] (SIGTRAP): Likewise.
15049         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15050         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15051         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15052         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15053         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15054         allow.
15055
15056 2012-05-08  Ian Wienand  <ianw@vmware.com>
15057
15058         [BZ #14080]
15059         * time/tzset.c (__tzset_parse_tz): Update default rules for
15060         daylight time changes in the Energy Policy Act of 2005.
15061
15062 2012-05-09  Andreas Jaeger  <aj@suse.de>
15063
15064         [BZ #13983]
15065         * elf/ldconfig.c (parse_conf): Change string to make clear that
15066         ldconfig only issued a warning if ld.so.conf does not exist.
15067
15068 2012-05-08  David S. Miller  <davem@davemloft.net>
15069
15070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15071         movxtod instead of popping the value on the stack.
15072
15073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15074
15075 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15076
15077         * config.h.in: Add HAVE_ARM_PCS_VFP.
15078
15079 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15080
15081         [BZ #13979]
15082         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15083         checking but the checks are disabled for any reason.
15084
15085 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15086
15087         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15088         and ELF64_R_TYPE with ELFW(R_TYPE).
15089
15090 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15091
15092         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15093         (ulimit): Likewise.
15094
15095         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15096         (settimeofday): Likewise.
15097
15098 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15099
15100         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15101         a struct th_u2 inside the union, and move tu_block/tu_code into
15102         a new th_u3 union of tu_block/tu_code inside of that.  Move
15103         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15104         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15105         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15106         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15107         (th_stuff): Change to th_u1.tu_stuff.
15108         (th_data): Define.
15109         (th_msg): Change to th_u1.th_u2.tu_data.
15110
15111 2012-05-07  David S. Miller  <davem@davemloft.net>
15112
15113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15114
15115         [BZ #14074]
15116         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15117         (SETUP_PIC_REG): Use it.
15118         (SETUP_PIC_REG_LEAF): Use it.
15119
15120 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15121
15122         [BZ #13885]
15123         [BZ #13923]
15124         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15125         USE_AS_EXPM1L.
15126         (EXPL_FINITE): Likewise.
15127         (FLDLOG): Likewise.
15128         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15129         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15130         e_expl.S.
15131         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15132         USE_AS_EXPM1L.
15133         (EXPL_FINITE): Likewise.
15134         (FLDLOG): Likewise.
15135         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15136         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15137         e_expl.S.
15138         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15139         test of -max_value argument for long double.
15140         * sysdeps/i386/fpu/libm-test-ulps: Update.
15141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15142
15143 2012-05-06  David S. Miller  <davem@davemloft.net>
15144
15145         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15146         quad soft-float symbols whose references which are compiler
15147         generated.
15148         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15149
15150 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15151
15152         [BZ #13884]
15153         [BZ #13914]
15154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15155         USE_AS_EXP10L.
15156         (EXPL_FINITE): Likewise.
15157         (FLDLOG): Likewise.
15158         (c0): Likewise.
15159         (c1): Likewise.
15160         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15161         Adjust comments for base varying.
15162         (__expl_finite): Change alias to EXPL_FINITE.
15163         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15164         e_expl.S.
15165         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15166         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15167         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15168         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15169         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15170         USE_AS_EXP10L.
15171         (EXPL_FINITE): Likewise.
15172         (FLDLOG): Likewise.
15173         (c0): Likewise.
15174         (c1): Likewise.
15175         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15176         Adjust comments for base varying.
15177         (__expl_finite): Change alias to EXPL_FINITE.
15178         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15179         tests for bugs.
15180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15181
15182         [BZ #14064]
15183         * math/libm-test.inc (check_float_internal): Correct ulp
15184         calculation for subnormal expected results.
15185
15186 2012-05-06  Andreas Jaeger  <aj@suse.de>
15187
15188         * Makeconfig (+math-flags): New, set to -frounding-math.
15189         (+cflags): Add +math-flags so that all of glibc gets compiled with
15190         it.
15191
15192         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15193
15194 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15195
15196         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15197         Disable one test.
15198
15199         [BZ #13787]
15200         [BZ #13922]
15201         [BZ #14036]
15202         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15203         (__ieee754_expl): Allow for and saturate large arguments.
15204         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15205         (u_threshold): Likewise.
15206         (__exp): Call __ieee754_exp before checking for overflow and
15207         underflow.
15208         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15209         (u_threshold): Likewise.
15210         (__expf): Call __ieee754_expf before checking for overflow and
15211         underflow.
15212         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15213         (u_threshold): Likewise.
15214         (__expl): Call __ieee754_expl before checking for overflow and
15215         underflow.
15216         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15217         (__ieee754_expl): Allow for and saturate large arguments.
15218         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15219         missing overflow exception on overflow.
15220         (expm1_test): Do not allow missing overflow exception on overflow.
15221
15222         * sysdeps/i386/fpu/e_expl.c: Move to ...
15223         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15224         rather than using inline asm.
15225         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15226         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15227         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15228
15229         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15230         (nice): Likewise.
15231         (poll): Likewise.
15232         (signal): Likewise.
15233         (time): Likewise.
15234         (times): Likewise.
15235
15236 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15237
15238         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15239         sysdeps/unix/common/syscalls.list.
15240         (fchmod): Likewise.
15241         (fchown): Likewise.
15242         (ftruncate): Likewise.
15243         (getrusage): Likewise.
15244         (gettimeofday): Likewise.
15245         (setpgid): Likewise.
15246         (setregid): Likewise.
15247         (setreuid): Likewise.
15248         (sigaction): Likewise.
15249         (truncate): Likewise.
15250         (vhangup): Likewise.
15251         * sysdeps/unix/common/syscalls.list: Remove file.
15252         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15253         * sysdeps/unix/sysv/linux/Implies: Likewise.
15254
15255 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15256
15257         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15259         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15260         Moved to ...
15261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15262         Here.
15263         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15264         to ...
15265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15266         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15267         to ...
15268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15269         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15270         to ...
15271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15272         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15273         to ...
15274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15275         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15276         to ...
15277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15278         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15279         to ...
15280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15281         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15282         to ...
15283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15284         Here.
15285         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15286         to ...
15287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15288         Here.
15289         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15290         to ...
15291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15292         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15293         Moved to ...
15294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15295         Here.
15296         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15297         to ...
15298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15299
15300 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15301
15302         * sysdeps/unix/common/bits/dirent.h: Remove file.
15303         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15304
15305         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15306         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15307         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15308         * sysdeps/unix/bsd/isatty.c: Likewise.
15309         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15310         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15311         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15312
15313 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15314
15315         [BZ #13563]
15316         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15317         long double comparison inaccuracies.
15318         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15320
15321 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15322
15323         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15324         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15325
15326 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15327
15328         [BZ #14049]
15329         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15330         nonzero digits before rounding a hex value.
15331         * stdlib/tst-strtod.c (tests): Add another test.
15332
15333 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15334
15335         * sysdeps/s390/fpu/libm-test-ulps: Update.
15336
15337 2012-05-03  Andreas Jaeger  <aj@suse.de>
15338
15339         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15340         does not get optimized out.
15341         (malloc_opt_barrier): New.
15342
15343 2012-05-03  Andreas Jaeger  <aj@suse.de>
15344             Roland McGrath  <roland@hack.frob.com>
15345
15346         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15347         intermediate file deletion.
15348         (generated): Add .symlist files.
15349
15350 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
15351
15352         [BZ #13775]
15353         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15354         Redirect under this condition.
15355         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15356         [__USE_GNU] (__dprintf_chk): Not under this condition.
15357         [__USE_GNU] (__vdprintf_chk): Likewise.
15358         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15359         under this condition.
15360         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15361         [__USE_XOPEN2K8] (dprintf): Define under this condition.
15362         [__USE_XOPEN2K8] (vdprintf): Likewise.
15363         [__USE_GNU] (__dprintf_chk): Not under this condition.
15364         [__USE_GNU] (__vdprintf_chk): Likewise.
15365         [__USE_GNU] (dprintf): Likewise.
15366         [__USE_GNU] (vdprintf): Likewise.
15367
15368 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15369
15370         * elf/Makefile (common-generated): Set this instead of generated for
15371         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15372         $(all-built-dso)-derived lists.
15373
15374 2012-05-03  Andreas Jaeger  <aj@suse.de>
15375
15376         * sysdeps/i386/fpu/libm-test-ulps: Update.
15377
15378         * FAQ: Removed.
15379         * FAQ.in: Likewise.
15380         * scripts/gen-FAQ.pl: Likewise.
15381         * manual/install.texi (Installation): Point to online location of
15382         FAQ.
15383         * Makefile (files-for-dist): Remove FAQ.
15384         (FAQ): Remove.
15385
15386 2012-05-02  Allan McRae  <allan@archlinux.org>
15387
15388         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15389         (LDFLAGS-reldepmod5.so): Likewise.
15390         (LDFLAGS-reldep6mod1.so): Likewise.
15391         (LDFLAGS-reldep6mod4.so): Likewise.
15392         (LDFLAGS-reldep8mod3.so): Likewise.
15393         (LDFLAGS-unload4mod1.so): Likewise.
15394         (LDFLAGS-unload4mod2.so): Likewise.
15395         (LDFLAGS-tst-initorder): Likewise.
15396         (LDFLAGS-tst-initordera2.so): Likewise.
15397         (LDFLAGS-tst-initordera3.so): Likewise.
15398         (LDFLAGS-tst-initordera4.so): Likewise.
15399         (LDFLAGS-tst-initorderb2.so): Likewise.
15400         (LDFLAGS-noload): Likewise.
15401         (LDFLAGS-next): Likewise.
15402         (LDFLAGS-order2mod1.so): Likewise.
15403         (LDFLAGS-order2mod2.so): Likewise.
15404         (LDFLAGS-tst-initorder2): Likewise.
15405         (LDFLAGS-tst-initorder2a.so): Likewise.
15406         (LDFLAGS-tst-initorder2b.so): Likewise.
15407         (LDFLAGS-tst-initorder2c.so): Likewise.
15408         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15409
15410 2012-05-02  David S. Miller  <davem@davemloft.net>
15411
15412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15413
15414 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15415
15416         [BZ #14055]
15417         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15418
15419 2012-05-02  Andreas Jaeger  <aj@suse.de>
15420
15421         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15422         since we manipulate rounding mode.
15423         (CPPFLAGS-test-idouble.c): Likewise.
15424         (CPPFLAGS-test-ifloat.c): Likewise.
15425         (CFLAGS-test-ldouble.c): Likewise.
15426         (CFLAGS-test-double.c): Likewise.
15427         (CFLAGS-test-float.c): Likewise.
15428         (CFLAGS-test-misc.c): Likewise.
15429         (CFLAGS-test-test-fenv.c): Likewise.
15430
15431 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15432
15433         [BZ #2550]
15434         [BZ #2570]
15435         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15436         comparisons to determine direction to adjust input.
15437
15438 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15439
15440         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15441         output to the target.
15442
15443         * scripts/localplt.awk: New file.
15444         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15445         (check-localplt-CFLAGS): Variable removed.
15446         ($(all-built-dso:=.jmprel)): New static pattern rule.
15447         (generated): Add those targets.
15448         (localplt-built-dso): New variable.
15449         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15450
15451         * elf/check-localplt.c: File removed.
15452
15453         * scripts/check-execstack.awk: New file.
15454         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15455         (check-execstack-CFLAGS): Variable removed.
15456         ($(objpfx)check-execstack.h): Target removed.
15457         ($(objpfx)execstack-default): New target.
15458         (generated): Add that instead of check-execstack.h.
15459         ($(all-built-dso:=.phdr)): New static pattern rule.
15460         (generated): Add those targets.
15461         * elf/check-execstack.c: File removed.
15462
15463         * scripts/check-textrel.awk: New file.
15464         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15465         (check-textrel-CFLAGS): Variable removed.
15466         (all-built-dso): Use := to define.o
15467         ($(all-built-dso:=.dyn)): New static pattern rule.
15468         (generated): Add those targets.
15469         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15470         * config.make.in (READELF): New substituted variable.
15471         * elf/check-textrel.c: File removed.
15472
15473 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15474
15475         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15476         allow.
15477         * conform/data/ctype.h-data [C99-based standards] (isblank):
15478         Expect function.
15479         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15480         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15481         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15482         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15483         Specify type.  Require positive value.
15484         (EILSEQ): Likewise.
15485         (ERANGE): Likewise.
15486         [ISO || POSIX] (EILSEQ): Do not expect.
15487         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15488         Specify type.  Require positive value.
15489         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15490         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15492         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15493         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15494         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15495         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15496         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15497         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15498         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15499         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15500         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15501         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15502         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15503         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15504         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15505         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15506         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15507         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15508         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15509         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15510         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15511         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15512         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15513         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15514         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15515         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15516         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15517         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15518         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15519         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15520         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15521         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15522         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15523         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15524         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15525         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15526         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15527         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15528         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15529         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15530         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15531         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15532         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15533         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15534         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15535         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15536         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15537         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15538         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15539         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15540         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15541         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15542         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15543         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15544         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15545         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15546         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15547         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15548         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15549         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15550         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15551         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15552         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15553         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15554         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15555         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15556         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15557         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15558         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15559         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15560         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15561         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15562         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15563         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15564         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15565         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15566         Require >= 2.
15567         (FLT_ROUNDS): Expect as macro, not constant.
15568         (FLT_MANT_DIG): Use macro-int-constant.
15569         (DBL_MANT_DIG): Likewise.
15570         (LDBL_MANT_DIG): Likewise.
15571         (FLT_DIG): Likewise.
15572         (DBL_DIG): Likewise.
15573         (LDBL_DIG): Likewise.
15574         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15575         (DBL_MIN_EXP): Likewise.
15576         (LDBL_MIN_EXP): Likewise.
15577         (FLT_MAX_EXP): Use macro-int-constant.
15578         (DBL_MAX_EXP): Likewise.
15579         (LDBL_MAX_EXP): Likewise.
15580         (FLT_MAX_10_EXP): Likewise.
15581         (DBL_MAX_10_EXP): Likewise.
15582         (LDBL_MAX_10_EXP): Likewise.
15583         (FLT_MAX): Use macro-constant.
15584         (DBL_MAX): Likewise.
15585         (LDBL_MAX): Likewise.
15586         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15587         (DBL_EPSILON): Likewise.
15588         (LDBL_EPSILON): Likewise.
15589         (FLT_MIN): Likewise.
15590         (DBL_MIN): Likewise.
15591         (LDBL_MIN): Likewise.
15592         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15593         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15594         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15595         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15596         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15597         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15598         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15599         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15600         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15601         [ISO11] (FLT_TRUE_MIN): Likewise.
15602         [ISO11] (LDBL_TRUE_MIN): Likewise.
15603         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15604         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15605         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15606         (SCHAR_MAX): Likewise.
15607         (UCHAR_MAX): Likewise.
15608         (CHAR_MIN): Likewise.
15609         (CHAR_MAX): Likewise.
15610         (MB_LEN_MAX): Use macro-int-constant.
15611         (SHRT_MIN): Use macro-int-constant.  Specify type.
15612         (SHRT_MAX): Likewise.
15613         (USHRT_MAX): Likewise.
15614         (INT_MAX): Likewise.
15615         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15616         bound negative.
15617         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15618         bound with "U".
15619         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15620         bound with "L".
15621         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15622         bound negative.  Suffix upper bound with "L".
15623         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15624         bound with "UL".
15625         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15626         Specify type.
15627         [C99-based standards] (LLONG_MAX): Likewise.
15628         [C99-based standards] (ULLONG_MAX): Likewise.
15629         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15630         == 0.
15631         [ISO11] (max_align_t): Require type.
15632         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15633
15634         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15635         from $CFLAGS, without defining away __attribute__ calls.
15636         (checknamespace): Use $CFLAGS_namespace.
15637
15638         * conform/conformtest.pl (@keywords): Only include C99 keywords
15639         for standards based on C99 or C11.
15640
15641         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15642         Disable tests.
15643         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15644         UNIX98]: Likewise.
15645
15646         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15647         usability of symbols in #if.
15648
15649         * conform/conformtest.pl: If macro or constant types start
15650         "promoted:", expect the symbol to be of the following type
15651         promoted by the integer promotions.
15652
15653         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15654         in one place.  Also handle "macro-constant".
15655
15656         * conform/conformtest.pl: Only accept expected macro values with
15657         "==".  Parse all "macro" lines in one place.
15658         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15659
15660         * conform/conformtest.pl: Handle braced types on "constant" lines
15661         instead of handling "typed-constant".
15662         * conform/data/signal.h-data: Use "constant" instead of
15663         "typed-constant".
15664
15665         * conform/conformtest.pl: Handle "optional-" at start of lines in
15666         one place rather than duplicating several cases.  Handle each
15667         format of "macro" line with initial "optional-".
15668
15669         * conform/conformtest.pl: Only accept expected constant or
15670         optional-constant values with "==".  Parse all "constant" lines in
15671         one place.  Parse all "optional-constant" lines in one place.
15672         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15673         * conform/data/fmtmsg.h-data: Likewise.
15674         * conform/data/netinet/in.h-data: Likewise.
15675         * conform/data/tar.h-data: Likewise.
15676         * conform/data/limits.h-data: Use "==" form on "constant" and
15677         "optional-constant" lines.
15678
15679         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15680         Use -std=c99 for XOPEN2K.
15681         (@knownproblems): Remove.
15682         (newtoken): Don't check %isknown.
15683
15684         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15685         Do not expect macro.
15686         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15687         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15688         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15689         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15690         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15691         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15692         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15693         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15694         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15695         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15696         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15697         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15698         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15699         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15700         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15701         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15702         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15703         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15704         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15705         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15706         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15707         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15708         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15709         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15710         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15711         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15712         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15713         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15714         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15715         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15716         [XPG3] (acosh): Likewise.
15717         [XPG3] (asinh): Likewise.
15718         [XPG3] (atanh): Likewise.
15719         [XPG3] (cbrt): Likewise.
15720         [XPG3] (expm1): Likewise.
15721         [XPG3] (ilogb): Likewise.
15722         [XPG3] (log1p): Likewise.
15723         [XPG3] (logb): Likewise.
15724         [XPG3] (nextafter): Likewise.
15725         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15726         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15727         [XPG3] (remainder): Likewise.
15728         [XPG3] (rint): Likewise.
15729         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15730         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15731         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15732         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15733         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15734         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15735         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15736         [UNIX98 || XOPEN2K] (scalb): Expect.
15737         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15738         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15739         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15740         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15741         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15742         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15743         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15744         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15745         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15746         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15747         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15748         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15749         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15750         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15751         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15752         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15753         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15754         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15755         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15756         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15757         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15758         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15759         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15760         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15761         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15762         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15763         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15764         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15765         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15766         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15767         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15768         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15769         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15770         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15771         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15772         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15773         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15774         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15775         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15776         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15777         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15778         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15779         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15780         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15781         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15782         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15783         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15784         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15785         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15786         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15787         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15788         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15789         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15790         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15791         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15792         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15793         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15794         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15795         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15796         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15797         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15798         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15799         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15800         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15801         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15802         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15803         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15804         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15805         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15806         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15807         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15808         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15809         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15810         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15811         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15812         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15813         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15814         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15815         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15816         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15817         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15818         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15819         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15820         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15821         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15822         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15823         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15824         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15825         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15826         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15827         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15828         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15829         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15830         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15831         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15832         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15833         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15834         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15835         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15836         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15837         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15838         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15839         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15840         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15841         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15842         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15843         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15844         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15845         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15846         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15847         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15848         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15849         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15850         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15851         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15852         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15853         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15854         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15855         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15856         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15857         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15858         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15859         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15860         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15861         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15862         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15863         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15864         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15865         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15866         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15867         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15868         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15869         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15870         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15871         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15872         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15873         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15874
15875         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15876         _XOPEN_SOURCE_EXTENDED for XPG4.
15877
15878         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15879
15880         * Makeconfig (localtime): Remove variable.
15881         (inst_localtime-file): Likewise.
15882
15883 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15884
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15886         Update.
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15888         Update.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15890         Update.
15891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15892         Update.
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15894         Update.
15895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15896         Update.
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15898         Update.
15899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15900         Update.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15902         Update.
15903
15904 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15905
15906         [BZ #2550]
15907         [BZ #2570]
15908         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15909         comparisons to determine direction to adjust input.
15910         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15911         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15913         Likewise.
15914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15915         Likewise.
15916         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15917         Likewise.
15918         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15919         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15920         Likewise.
15921         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15922         Likewise.
15923         * math/libm-test.inc (nexttoward_test): Add more tests.
15924
15925 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15926
15927         [BZ #14040]
15928         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15929         in version GLIBC_2.1, not GLIBC_2.0.
15930         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15931         Likewise.
15932
15933 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15934
15935         [BZ #13942]
15936         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15937         (1 - x) * (1 + x).
15938         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15939         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15940         * math/libm-test.inc (acos_test): Add more tests.
15941         (asin_test): Likewise.
15942         * sysdeps/i386/fpu/libm-test-ulps: Update.
15943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15944
15945         [BZ #14034]
15946         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15947         of square root.
15948         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15949         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15950         * math/libm-test.inc (acos_test_tonearest): New function.
15951         (acos_test_towardzero): Likewise.
15952         (acos_test_downward): Likewise.
15953         (acos_test_upward): Likewise.
15954         (asin_test_tonearest): Likewise.
15955         (asin_test_towardzero): Likewise.
15956         (asin_test_downward): Likewise.
15957         (asin_test_upward): Likewise.
15958         (main): Call the new functions.
15959         * sysdeps/i386/fpu/libm-test-ulps: Update.
15960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15961
15962         [BZ #13884]
15963         [BZ #13924]
15964         * math/e_exp10.c: Include <float.h>.
15965         (__ieee754_exp10): Handle underflow here rather than multiplying
15966         large negative argument by M_LN10.
15967         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15968         of __ieee754_expf.
15969         * math/e_exp10l.c: Include <float.h>.
15970         (__ieee754_exp10l): Handle underflow here rather than multiplying
15971         large negative argument by M_LN10l.
15972         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15973         spurious overflow exception on underflow.
15974
15975 2012-04-29  Marek Polacek  <polacek@redhat.com>
15976
15977         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15978         (__fortify_function): New macro.
15979         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15980         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15981         __extern_always_inline.
15982         * libio/bits/stdio2.h: Likewise.
15983         * libio/bits/stdio.h: Likewise.
15984         * string/string.h: Likewise.
15985         * string/bits/string3.h: Likewise.
15986         * include/stdio.h: Likewise.
15987         * stdlib/bits/stdlib.h: Likewise.
15988         * stdlib/stdlib.h: Likewise.
15989         * rt/bits/mqueue2.h: Likewise.
15990         * rt/mqueue.h: Likewise.
15991         * posix/bits/unistd.h: Likewise.
15992         * posix/unistd.h: Likewise.
15993         * io/bits/poll2.h: Likewise.
15994         * io/bits/fcntl2.h: Likewise.
15995         * io/fcntl.h: Likewise.
15996         * io/sys/poll.h: Likewise.
15997         * misc/bits/syslog.h: Likewise.
15998         * misc/bits/syslog-ldbl.h: Likewise.
15999         * misc/sys/syslog.h: Likewise.
16000         * socket/bits/socket2.h: Likewise.
16001         * socket/sys/socket.h: Likewise.
16002         * debug/tst-chk1.c: Likewise.
16003         * wcsmbs/bits/wchar2.h: Likewise.
16004         * wcsmbs/bits/wchar-ldbl.h: Likewise.
16005         * wcsmbs/wchar.h: Likewise.
16006
16007 2012-04-29  Andreas Jaeger  <aj@suse.de>
16008
16009         * Makerules (tests): Remove enable-check-abi protection.
16010         (check-abi-warn): Remove.
16011         (check-abi-%): Remove check-abi-warn usage.
16012
16013         * configure.in: Remove check-abi configure option.
16014         * configure: Regenerated.
16015         * config.make.in (enable-check-abi): Remove.
16016
16017 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
16018
16019         [BZ #14033]
16020         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16021         double functions to double *_finite functions.
16022
16023         [BZ #13941]
16024         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16025         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16026         LDBL_MIN_EXP.
16027         * stdio-common/Makefile (tests): Add tst-sprintf3.
16028         * stdio-common/tst-sprintf3.c: New file.
16029
16030         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16031         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16032
16033 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16034
16035         * conform/conformtest.pl: Remove duplicate typed-constant
16036         handling.
16037
16038 2012-04-28  David S. Miller  <davem@davemloft.net>
16039
16040         * Makerules (%.abilist): Add vpath on sysdep_dirs.
16041         (check-abi-%): Remove AWK script prerequisite and explicit
16042         abilist directory.
16043         (check-abi): Rewrite to just diff the symlist with the abilist.
16044         (config-tls, config-abi-config): Delete, no longer used.
16045         (update-abi-%): Remove AWK script and explicit abilist directory.
16046         (update-abi): Rewrite to simply compare and conditionally copy the
16047         symlist and the sysdep abilist file.  Remove update-abi-config
16048         checks.
16049         * abilist/ld.abilist: Remove.
16050         * abilist/libBrokenLocale.abilist: Remove.
16051         * abilist/libanl.abilist: Remove.
16052         * abilist/libcrypt.abilist: Remove.
16053         * abilist/libdl.abilist: Remove.
16054         * abilist/librt.abilist: Remove.
16055         * abilist/libthread_db.abilist: Remove.
16056         * abilist/libutil.abilist: Remove.
16057         * scripts/extract-abilist.awk: Remove.
16058         * scripts/merge-abilist.awk: Remove.
16059         * sysdeps/generic/libcidn.abilist: New file.
16060         * sysdeps/generic/libnss_compat.abilist: New file.
16061         * sysdeps/generic/libnss_db.abilist: New file.
16062         * sysdeps/generic/libnss_dns.abilist: New file.
16063         * sysdeps/generic/libnss_files.abilist: New file.
16064         * sysdeps/generic/libnss_hesiod.abilist: New file.
16065         * sysdeps/generic/libnss_nis.abilist: New file.
16066         * sysdeps/generic/libnss_nisplus.abilist: New file.
16067         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16068         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16069         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16070         file.
16071         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16072         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16073         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16074         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16075         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16076         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16077         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16078         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16079         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16080         file.
16081         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16082         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16083         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16084         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16085         file.
16086         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16087         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16088         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16089         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16090         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16091         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16092         file.
16093         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16094         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16095         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16096         file.
16097         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16098         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16099         New file.
16100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16101         New file.
16102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16103         New file.
16104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16105         New file.
16106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16107         New file.
16108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16109         New file.
16110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16111         New file.
16112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16113         New file.
16114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16115         New file.
16116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16117         New file.
16118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16119         New file.
16120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16121         New file.
16122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16123         New file.
16124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16125         file.
16126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16127         New file.
16128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16129         New file.
16130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16131         file.
16132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16133         New file.
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16135         New file.
16136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16137         file.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16139         New file.
16140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16141         New file.
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16143         New file.
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16145         New file.
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16147         New file.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16149         New file.
16150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16152         file.
16153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16154         New file.
16155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16156         file.
16157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16158         file.
16159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16160         file.
16161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16162         file.
16163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16164         file.
16165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16166         New file.
16167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16168         file.
16169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16170         file.
16171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16172         New file.
16173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16174         file.
16175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16177         file.
16178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16179         New file.
16180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16181         file.
16182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16183         file.
16184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16185         file.
16186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16187         file.
16188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16189         file.
16190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16191         New file.
16192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16193         file.
16194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16195         file.
16196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16197         New file.
16198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16199         file.
16200         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16201         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16202         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16203         file.
16204         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16205         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16206         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16207         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16208         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16209         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16210         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16211         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16212         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16213         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16216         file.
16217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16218         New file.
16219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16220         file.
16221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16222         file.
16223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16224         file.
16225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16226         file.
16227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16228         file.
16229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16230         New file.
16231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16232         New file.
16233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16234         file.
16235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16236         New file.
16237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16238         file.
16239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16241         file.
16242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16243         New file.
16244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16245         file.
16246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16247         file.
16248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16249         file.
16250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16251         file.
16252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16253         file.
16254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16255         New file.
16256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16257         New file.
16258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16259         file.
16260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16261         New file.
16262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16263         file.
16264
16265 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16266
16267         * conform/conformtest.pl: Fix typo in handling typed-constant from
16268         allow-header.
16269
16270 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16271
16272         * README: Cut down references to pre-2.6 Linux kernels and
16273         Linuxthreads.  Update lists of configurations in libc and ports
16274         and sort alphabetically.  Say "or newer" with Linux kernel version
16275         requirements.
16276
16277         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16278
16279 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16280
16281         [BZ #887]
16282         * math/libm-test.inc (logb_test_downward): New test to expose
16283         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16284         rounding mode.
16285
16286 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16287
16288         [BZ #14027]
16289         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16290         to be done.
16291         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16292         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16293
16294 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16295
16296         * sysdeps/unix/i386/brk.S: Remove file.
16297         * sysdeps/unix/i386/dl-brk.S: Likewise.
16298         * sysdeps/unix/i386/pipe.S: Likewise.
16299         * sysdeps/unix/i386/sigreturn.S: Likewise.
16300         * sysdeps/unix/i386/syscall.S: Likewise.
16301         * sysdeps/unix/i386/vfork.S: Likewise.
16302         * sysdeps/unix/i386/wait.S: Likewise.
16303
16304         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16305         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16306
16307         * configure.in (arm*-none*): Do not allow without
16308         --enable-hacker-mode.
16309         (netbsd*): Remove case setting base_os.
16310         (386bsd*): Likewise.
16311         (freebsd*): Likewise.
16312         (bsdi*): Likewise.
16313         (osf*): Likewise.
16314         (sunos*): Likewise.
16315         (ultrix*): Likewise.
16316         (newsos*): Likewise.
16317         (dynix*): Likewise.
16318         (*bsd*): Likewise.
16319         (sysv*): Likewise.
16320         (isc*): Likewise.
16321         (esix*): Likewise.
16322         (sco*): Likewise.
16323         (minix*): Likewise.
16324         (irix4*): Likewise.
16325         (irix6*): Likewise.
16326         (solaris[2-9]*): Likewise.
16327         (none): Likewise.
16328         * configure: Regenerated.
16329
16330 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16331
16332         [BZ #11521]
16333         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16334         overflow or cancellation in calculating denominator.
16335         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16336         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16337         down expression to avoid unexpected rounding in newer GCCs.
16338         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16339
16340 2012-04-26  David S. Miller  <davem@davemloft.net>
16341
16342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16343         long-double compat symbols.
16344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16357
16358 2012-04-25  David S. Miller  <davem@davemloft.net>
16359
16360         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16361         HWCAP_* values only after the memory barriers have been defined.
16362         (atomic_full_barrier): Define.
16363         (atomic_read_barrier): Define.
16364         (atomic_write_barrier): Define.
16365
16366 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16367
16368         * shlib-versions: Add libgcc_s version information.
16369         * sysdeps/generic/libgcc_s.h: Remove.
16370         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16371         libgcc_s.h.
16372         * sysdeps/gnu/unwind-resume.c: Likewise.
16373         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16374
16375 2012-04-25  David S. Miller  <davem@davemloft.net>
16376
16377         * sysdeps/unix/sparc/brk.S: Delete.
16378         * sysdeps/unix/sparc/dl-brk.S: Delete.
16379         * sysdeps/unix/sparc/pipe.S: Delete.
16380         * sysdeps/unix/sparc/sysdep.S: Delete.
16381         * sysdeps/unix/sparc/sysdep.h: Delete.
16382         * sysdeps/unix/sparc/vfork.S: Delete.
16383         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16384         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16385         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16386         ret_ERRVAL, r0, r1, MOVE): Define.
16387         (JUMPTARGET): Remove.
16388         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16389         sysdeps/unix/sparc/sysdep.h
16390         (ENTRY, END): Remove.
16391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16392
16393 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16394
16395         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16396         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16397         -DIS_IN_build.
16398
16399         * timezone/README: Update upstream location and email address for
16400         tzcode and tzdata.
16401         * timezone/zdump.c: Update from tzcode 2012b.
16402         * timezone/zic.c: Likewise.
16403
16404         * configure.in (libc_cv_as_needed): Remove test.
16405         * configure: Regenerated.
16406         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16407         conditional definition.
16408         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16409         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16410         * config.make.in (have-as-needed): Remove variable.
16411
16412 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16413             Paul Pluzhnikov  <ppluzhnikov@google.com>
16414
16415         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16416         strings correctly.
16417
16418 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16419
16420         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16421         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16422         * sysdeps/sh/strlen.S: Likewise.
16423
16424 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16425
16426         * sysdeps/unix/fork.S: Remove file.
16427         * sysdeps/unix/i386/fork.S: Likewise.
16428         * sysdeps/unix/sparc/fork.S: Likewise.
16429
16430         * sysdeps/unix/system.c: Remove file.
16431         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16432
16433         * sysdeps/unix/getegid.S: Remove file.
16434         * sysdeps/unix/geteuid.S: Likewise.
16435
16436 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16437
16438         * scripts/check-localplt.awk: New file.
16439         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16440         of diff.
16441         * scripts/data/localplt-generic.data: Add a comment.
16442
16443         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16444         NODE when __dir_mkfile failed.
16445         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16446         Reported by Ludovic Courtès <ludo@gnu.org>.
16447
16448 2012-04-24  Andreas Jaeger  <aj@suse.de>
16449
16450         * Makerules (common-clean): Also remove gen-as-const-headers
16451         files.
16452
16453 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16454
16455         * Makerules (native-compile): Do not change working directory for
16456         build.  Use $(OUTPUT_OPTION) in command.
16457         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16458
16459 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16460
16461         [BZ #13886]
16462         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16463         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16464         * math/libm-test.inc (floor_test): Add more tests.
16465         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16466
16467 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16468
16469         * sysdeps/unix/getdents.c: Remove file.
16470         * sysdeps/unix/sysv/getdents.c: Likewise.
16471         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16472
16473         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16474         sysdeps/unix/mman/syscalls.list.
16475         (mmap): Likewise.
16476         (mprotect): Likewise.
16477         (msync): Likewise.
16478         (munmap): Likewise.
16479         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16480         * sysdeps/unix/mman/syscalls.list: Remove.
16481         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16482
16483         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16484         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16485         * configure: Regenerated.
16486         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16487         $(libgcc_s_suffix).
16488         * config.make.in (libgcc_s_suffix): Remove variable.
16489
16490 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16491
16492         * sysdeps/unix/sysv/gethostname.c: Move to ...
16493         * sysdeps/posix/gethostname.c: ... here.
16494
16495         * sysdeps/unix/execve.S: Remove file.
16496
16497         * sysdeps/unix/_exit.S: Remove file.
16498
16499 2012-04-23  Andreas Jaeger  <aj@suse.de>
16500
16501         [BZ #13739]
16502         * manual/Makefile: Remove make dist support, there's no
16503         need for a stand-alone documentation tar ball.
16504         (TEXI2DVI): Define always, it's not in Makeconfig.
16505         (dist): Removed.
16506         (tar-it): Removed.
16507         (edition): Removed.
16508         (glibc-doc-$(edition).tar): Removed
16509         (%.Z): Removed.
16510         (%.gz): Removed.
16511         (%.uu): Removed.
16512         (ETAGS): Remove, it's in Makeconfig.
16513         (move-if-change): Remove, it's in Makeconfig.
16514
16515 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16516
16517         [BZ #13970]
16518         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16519         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16520         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16521         (strtod_l, strtof_l, strtold_l): Remove __wur.
16522         It is not necessarily an error to ignore strtol's return value.
16523         One can reliably look at the stored endptr to decide whether
16524         the number had valid syntax.
16525
16526 2012-04-21  Andreas Jaeger  <aj@suse.de>
16527
16528         [BZ #13739]
16529         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16530
16531 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16532
16533         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16534         * sysdeps/unix/sysv/Versions: Remove file.
16535
16536 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16537
16538         [BZ #13927]
16539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16540
16541 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16542
16543         [BZ #7064]
16544         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16545         version from __vm86.
16546
16547 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16548
16549         * sysdeps/unix/common/lxstat.c: Remove file.
16550         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16551
16552         * sysdeps/unix/sysv/Makefile: Remove file.
16553
16554         * sysdeps/unix/sysv/direct.h: Remove file.
16555
16556         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16557         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16558         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16559         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16560         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16561         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16562         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16563
16564         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16565
16566         * sysdeps/unix/xmknod.c: Remove file.
16567         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16568
16569         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16570
16571         * sysdeps/unix/sysv/i386/time.S: Remove file.
16572
16573         * sysdeps/unix/fxstat.c: Remove file.
16574         * sysdeps/unix/xstat.c: Likewise.
16575         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16576
16577         * sysdeps/unix/sysv/sigaction.c: Remove file.
16578
16579         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16580         (sysdep_headers): Remove variable.
16581         [termio.h not in sysdep_headers] (generated): Likewise.
16582         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16583         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16584         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16585         * sysdeps/unix/sysv/tcflow.c: Likewise.
16586         * sysdeps/unix/sysv/tcflush.c: Likewise.
16587         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16588         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16589         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16590         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16591         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16592
16593         * sysdeps/unix/siglist.c: Remove file.
16594
16595         * sysdeps/unix/getppid.S: Remove file.
16596
16597         * sysdeps/unix/mkdir.c: Remove file.
16598         * sysdeps/unix/rmdir.c: Likewise.
16599
16600 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16601
16602         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16603         ERR_MAX value.
16604         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16605         errlist-compat value.
16606
16607 2012-04-18  David S. Miller  <davem@davemloft.net>
16608
16609         * sysdeps/generic/memcopy.h (reg_char): Delete.
16610         * debug/strcat_chk.c: Use char, not reg_char.
16611         * debug/strcpy_chk.c: Likewise.
16612         * debug/strncat_chk.c: Likewise.
16613         * debug/strncpy_chk.c: Likewise.
16614         * string/memchr.c: Likewise.
16615         * string/memrchr.c: Likewise.
16616         * string/rawmemchr.c: Likewise.
16617         * string/strcat.c: Likewise.
16618         * string/strchr.c: Likewise.
16619         * string/strchrnul.c: Likewise.
16620         * string/strcmp.c: Likewise.
16621         * string/strcpy.c: Likewise.
16622         * string/strncat.c: Likewise.
16623         * string/strncmp.c: Likewise.
16624         * string/strncpy.c: Likewise.
16625
16626 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16627
16628         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16629         __builtin_memcopy is called when src and dest ranges are known to not
16630         overlap.
16631
16632 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16633
16634         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16635         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16636         fwd_align_merge macro call.
16637         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16638         bwd_align_merge macro call.
16639         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16640
16641 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16642
16643         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16644         bwd_align_merge macros.
16645         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16646         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16647         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16648
16649 2012-04-18  David S. Miller  <davem@davemloft.net>
16650
16651         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16652
16653 2012-04-18  Andreas Jaeger  <aj@suse.de>
16654
16655         [BZ# 6794]
16656         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16657         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16658         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16659
16660         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16661         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16662         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16663
16664         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16665         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16666         Adjust for changed ldbl-128 files.
16667
16668         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16669         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16670         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16671
16672 2012-04-17  David S. Miller  <davem@davemloft.net>
16673
16674         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16675
16676 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16677
16678         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16679         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16680         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16681         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16682         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16683         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16684
16685 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16686
16687         [BZ #6794]
16688         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16689         * math/libm-test.inc: Add ilogb errno and exception tests.
16690         * math/w_ilogb.c: New file: ilogb wrapper.
16691         * math/w_ilogbf.c: New file: ilogbf wrapper.
16692         * math/w_ilogbl.c: New file: ilogbl wrapper.
16693         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16694         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16695         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16696         exception being thrown with 0.0 as argument.
16697         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16698         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16699         exception being thrown with 0.0 as argument.
16700         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16701         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16702         exception being thrown with 0.0 as argument.
16703         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16704         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16705         exception being thrown with 0.0 as argument.
16706         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16707         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16708         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16709         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16710         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16711         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16712         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16713         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16714         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16715
16716 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16717
16718         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16719         with altivec.
16720
16721 2012-04-16  Marek Polacek  <polacek@redhat.com>
16722
16723         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16724
16725 2012-04-16  Marek Polacek  <polacek@redhat.com>
16726
16727         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16728         operands of fdivp instruction.
16729
16730 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16731
16732         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16733         * elf/tst-auditmod3b.c: Likewise.
16734         * elf/tst-auditmod4b.c: Likewise.
16735         * elf/tst-auditmod5b.c: Likewise.
16736         * elf/tst-auditmod6b.c: Likewise.
16737         * elf/tst-auditmod6c.c: Likewise.
16738         * elf/tst-auditmod7b.c: Likewise.
16739         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16740         * sysdeps/x86_64/preconfigure.in: Likewise.
16741         * sysdeps/x86_64/preconfigure: Regenerated.
16742
16743 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16744
16745         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16746         __ILP32__.
16747
16748 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16749
16750         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16751         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16752
16753 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16754
16755         [BZ #13973]
16756         * locale/iso-639.def: Fix gl language name. Spotted by
16757         Yaron Shahrabani.
16758
16759 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16760
16761         [BZ #2074]
16762         * libio/libio.h (__io_write_fn): Update comment.
16763
16764 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16765
16766         [BZ #2074]
16767         * stdio.texi (Hook Functions): The user provided writer function
16768         is not allowed to return -1.
16769
16770 2012-04-11  David S. Miller  <davem@davemloft.net>
16771
16772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16773
16774 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16775
16776         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16777         Add a leading slash to rtkaio.
16778
16779 2012-04-11  Jim Meyering  <meyering@redhat.com>
16780
16781         [BZ #11959]
16782         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16783         It is not necessarily an error to ignore fwrite's return
16784         value.  One can reliably use ferror to test for errors after
16785         the fact.
16786
16787 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16788
16789         * bits/types.h (__snseconds_t): New type.
16790         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16791
16792         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16794         (__SNSECONDS_T_TYPE): Likewise.
16795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16796         (__SNSECONDS_T_TYPE): Likewise.
16797         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16798         (__SNSECONDS_T_TYPE): Likewise.
16799
16800 2012-04-10  Andreas Jaeger  <aj@suse.de>
16801
16802         [BZ #2636]
16803         * manual/time.texi (Processor Time): Return type of times is
16804         elapsed real time since an arbitrary point in the past.
16805         (CPU Time): Move CLK_TCK from here...
16806         (Processor Time): ...to here.  Correct description.
16807         * manual/conf.texi (Constants for Sysconf): Correct description of
16808         _SC_CLK_TCK.
16809
16810 2012-04-10  David S. Miller  <davem@davemloft.net>
16811
16812         [BZ #13967]
16813         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16814         where the is a gap between DT_REL(A) and DT_JMPREL.
16815
16816 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16817
16818         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16819         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16820         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16821
16822 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16823
16824         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16825         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16826         (dl_main): Handle --inhibit-cache.
16827         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16828         _dl_inhibit_cache.
16829         * elf/dl-load.c (_dl_map_object): Use it.
16830         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16831
16832 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16833
16834         [BZ #13872]
16835         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16836         (__ieee754_powl): Saturate large exponents rather than testing for
16837         overflow of y*log2(x).
16838         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16839         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16840         exceptions.
16841
16842         [BZ #11521]
16843         * math/s_ctan.c: Include <float.h>.
16844         (__ctan): Avoid internal overflow or cancellation in calculating
16845         denominator.
16846         * math/s_ctanf.c: Likewise.
16847         * math/s_ctanl.c: Likewise.
16848         * math/s_ctanh.c: Likewise.
16849         * math/s_ctanhf.c: Likewise.
16850         * math/s_ctanhl.c: Likewise.
16851         * math/libm-test.inc (ctan_test): Add more tests.
16852         (ctanh_test): Likewise.
16853         * sysdeps/i386/fpu/libm-test-ulps: Update.
16854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16855
16856 2012-04-09  Andreas Jaeger  <aj@suse.de>
16857
16858         [BZ #6894]
16859         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16860         is an optional BSD extension.
16861
16862         [BZ #10254]
16863         * manual/stdio.texi (Opening Streams): Document additional fopen
16864         parameters.
16865
16866 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16867
16868         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16869         %eax without telling the compiler.
16870
16871 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16872
16873         [BZ # 13963]
16874         * manual/install.texi: Use sourceware.org.
16875
16876 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16877
16878         [BZ #13873]
16879         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16880         (__ieee754_pow): Generate overflow and underflow using huge*huge
16881         and tiny*tiny rather than just returning constant infinity or zero
16882         for large exponents.
16883         * math/libm-test.inc (pow_test): Require overflow exceptions for
16884         applicable cases of large exponents.
16885
16886         [BZ #706]
16887         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16888         (__ieee754_pow): Use iterative multiplication algorithm only for
16889         integer exponents with absolute value below 1024.  Check for odd
16890         integer exponents when using algorithm for real exponents.
16891         * math/libm-test.inc (pow_test): Add more tests.
16892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16893
16894 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16895
16896         [BZ #13705]
16897         * math/libm-test.inc (exp_test): Do not allow overflow exception
16898         on underflow test.
16899
16900 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16901
16902         [BZ #13705]
16903         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16904         instead of __kernel_standard_f.
16905
16906 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16907
16908         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16909         * sysdeps/x86_64/memset_chk.S: Likewise.
16910
16911 2012-04-08  Andreas Jaeger  <aj@suse.de>
16912
16913         [BZ #10153]
16914         * manual/startup.texi (Environment Access): Describe return value
16915         for putenv and setenv.
16916
16917         [BZ #6895]
16918         * manual/filesys.texi (Directory Entries): Add description for
16919         DT_LNK.
16920
16921         [BZ #6890]
16922         * manual/filesys.texi (Directory Entries): Clarify that it's file
16923         system not operating system in the description of DT_UNKNOWN.
16924
16925         [BZ #6578]
16926         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16927
16928 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16929
16930         [BZ #6649]
16931         * manual/llio.texi (Opening and Closing Files): Add cross
16932         reference to explain mode argument.
16933
16934 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16935
16936         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16937         * sysdeps/x86_64/memset_chk.S: Likewise.
16938
16939 2012-04-07  David S. Miller  <davem@davemloft.net>
16940
16941         * elf/elf.h (R_SPARC_WDISP10): Define.
16942         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16943         R_SPARC_SIZE32.
16944         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16945         R_SPARC_SIZE64 and R_SPARC_H34.
16946
16947 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16948
16949         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16950         conditions and remove no longer applicable assertion.
16951
16952 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16953
16954         * bits/byteswap.h: Include <features.h>.
16955         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16956         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16957
16958 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16959
16960         * bits/byteswap.h (__bswap_16): Removed.
16961         Include <bits/byteswap-16.h> to get __bswap_16.
16962         * sysdeps/i386/bits/byteswap.h: Likewise.
16963         * sysdeps/s390/bits/byteswap.h: Likewise.
16964         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16965         * bits/byteswap-16.h: New file.
16966         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16967         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16968         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16969         * string/Makefile (headers): Add bits/byteswap-16.h.
16970
16971 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16972
16973         [BZ #13895]
16974         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16975         extra indirection.
16976         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16977         * nss/tst-nss-static.c: New.
16978
16979 2012-04-06  Robert Millan  <rmh@gnu.org>
16980
16981         [BZ #6486]
16982         * manual/llio.texi (File Position Primitive): lseek
16983         refers to WHENCE when it really means OFFSET.
16984
16985 2012-04-06  Andreas Jaeger  <aj@suse.de>
16986
16987         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16988         strncmp declarations.
16989
16990         * abilist/libc.abilist: Add __poll and __ppoll.
16991
16992 2012-04-05  David S. Miller  <davem@davemloft.net>
16993
16994         * scripts/check-local-headers.sh: Accept a host triplet in the
16995         path matched by the exclude regexp.
16996
16997         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16998         definition.
16999         * sysdeps/powerpc/powerpc32/dl-machine.h
17000         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17001         * sysdeps/s390/s390-32/dl-machine.h
17002         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17003         * sysdeps/sparc/sparc32/dl-machine.h
17004         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17005         * sysdeps/sparc/sparc64/dl-machine.h
17006         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17007
17008         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17009         lazy binding.
17010         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17011         undefined symbol errors.
17012
17013         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17014         DT_NEEDED entries.
17015
17016 2012-04-05  Michael Matz  <matz@suse.de>
17017
17018         [BZ #13592]
17019         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17020
17021 2012-04-05  Andreas Jaeger  <aj@suse.de>
17022
17023         [BZ #13908]
17024         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17025         comment.
17026
17027 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17028
17029         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17030         which ROUND is no valid rounding mode.
17031
17032 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17033
17034         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17035         read again.
17036         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17037
17038 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17039
17040         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17041         an exception using FPU order intentionally.
17042
17043 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17044
17045         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17046         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17047         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17048         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17049
17050 2012-04-05  Simon Josefsson  <simon@josefsson.org>
17051
17052         [BZ #12340]
17053         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17054         EINVAL when BUFLEN is too smal.
17055
17056 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17057
17058         [BZ #13553]
17059         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17060         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17061
17062 2012-04-03  Andreas Jaeger  <aj@suse.de>
17063
17064         [BZ #13938]
17065         * manual/setjmp.texi (System V contexts): Fix sentence.
17066
17067         [BZ #13926]
17068         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17069         New macro for this case.
17070         [!__GNUC__] (__bswap_64): New inline function for this case.
17071         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17072         * bits/byteswap.h: Likewise.
17073         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17074         ull, guard with __GLIBC_HAVE_LONG_LONG.
17075
17076         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17077         __GLIBC_HAVE_LONG_LONG.
17078
17079         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17080         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17081
17082 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17083
17084         [BZ #13691]
17085         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17086         inptr and inend, rather than using last_ch.
17087
17088 2012-04-02  David S. Miller  <davem@davemloft.net>
17089
17090         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17091         * stdio-common/printf-parse.h (read_int): Change return type to
17092         'int', return -1 on INT_MAX overflow.
17093         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17094         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17095         overflows INT_MAX.  Check for overflow of in-format-string precision
17096         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17097         SIZE_MAX not INT_MAX for integer overflow test.
17098         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17099         skip the construct in the format string but do not record anything.
17100         * stdio-common/bug22.c: Adjust to test both width/prevision
17101         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17102         explicitly for proper errno values.
17103
17104 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17105
17106         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17107         CHAR_MAX.
17108         * string/test-strcmp.c [! WIDE]: Likewise.
17109         * time/tst-mktime2.c: Likewise for INT_MAX.
17110         * string/test-string.h: #include <sys/param.h> for MIN.
17111
17112         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17113         * sysdeps/i386/init-first.c (init): Likewise.
17114         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17115         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17116         * sysdeps/sh/init-first.c (init): Likewise.
17117
17118 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17119
17120         * po/ru.po: Update from translation team.
17121         * po/vi.po: Likewise.
17122
17123 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17124
17125         * resolv/nss_dns/dns-host.c: Merge copyright years.
17126
17127 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17128
17129         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17130         Optimize memcpy with prefetch if
17131         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17132         src, dst pointers have unequal 16 byte alignments.
17133
17134 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17135
17136         [BZ #13928]
17137         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17138         from a CNAME entry and return the minimum ttl for the query.
17139         (gaih_getanswer_slice): Likewise.
17140
17141 2012-03-30  Jeff Law  <law@redhat.com>
17142
17143         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17144         due to long keys.
17145         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17146         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17147
17148         * resolv/nss_dns/dns-host.c: Update copyright year.
17149
17150 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17151
17152         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17153         requests to save a system call.  Fix check that all bytes are sent.
17154
17155         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17156         comments for sendmmsg.
17157
17158 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17159
17160         [BZ #13691]
17161         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17162         with only 1 character between 0x0041 and 0x01b0.
17163         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17164         * wcsmbs/tst-mbsnrtowcs.c: New file.
17165
17166 2012-03-29  David S. Miller  <davem@davemloft.net>
17167
17168         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17169         small copies by hand.
17170
17171 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17172
17173         [BZ #13761]
17174         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17175         _nss_compat_initgroups_dyn): Fall back to malloc/free
17176         for large group memberships.
17177
17178 2012-03-28  David S. Miller  <davem@davemloft.net>
17179
17180         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17181         that branches into memcpy.
17182         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17183         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17185         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17187         bits.
17188         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17189         implementation too.
17190         * sysdeps/sparc/mempcpy.S: New file.
17191
17192         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17193         the IFUNC routine in the libc case.
17194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17195
17196         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17197         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17198         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17199         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17200         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17201         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17202         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17203         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17204
17205         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17206         loop to 256 bytes instead of 64 bytes and fix test signedness.
17207
17208         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17209         * sysdeps/sparc/sparc32/Makefile: rather than here...
17210         * sysdeps/sparc/sparc64/Makefile: and here.
17211
17212 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17213
17214         * malloc/mallocbug.c: Avoid warnings about unused variables.
17215
17216 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17217
17218         [BZ #13760]
17219         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17220         in the right place. Discard and retry query if response is
17221         larger than input buffer size.
17222
17223 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17224
17225         [BZ #369]
17226         [BZ #2678]
17227         [BZ #3866]
17228         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17229         x for large integer exponent.
17230         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17231         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17232         sign of result as needed afterwards.
17233         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17234         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17235         result for underflowing pow the same as for overflow.
17236         (__kernel_standard_l): Handle powl overflow and underflow here
17237         rather than calling __kernel_standard.
17238         * math/libm-test.inc (pow_test): Add more tests.
17239
17240         [BZ #3868]
17241         [BZ #13879]
17242         [BZ #13910]
17243         [BZ #13911]
17244         [BZ #13912]
17245         [BZ #13913]
17246         [BZ #13915]
17247         [BZ #13916]
17248         [BZ #13917]
17249         [BZ #13918]
17250         [BZ #13919]
17251         [BZ #13920]
17252         [BZ #13921]
17253         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17254         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17255         (__kernel_standard_l): New function.
17256         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17257         __kernel_standard.
17258         * math/w_acosl.c (__acosl): Likewise.
17259         * math/w_asinl.c (__asinl): Likewise.
17260         * math/w_atan2l.c (__atan2l): Likewise.
17261         * math/w_atanhl.c (__atanhl): Likewise.
17262         * math/w_coshl.c (__coshl): Likewise.
17263         * math/w_exp10l.c (__exp10l): Likewise.
17264         * math/w_exp2l.c (__exp2l): Likewise.
17265         * math/w_fmodl.c (__fmodl): Likewise.
17266         * math/w_hypotl.c (__hypotl): Likewise.
17267         * math/w_j0l.c (__j0l, __y0l): Likewise.
17268         * math/w_j1l.c (__j1l, __y1l): Likewise.
17269         * math/w_jnl.c (__jnl, __ynl): Likewise.
17270         * math/w_lgammal.c (__lgammal): Likewise.
17271         * math/w_log10l.c (__log10l): Likewise.
17272         * math/w_log2l.c (__log2l): Likewise.
17273         * math/w_logl.c (__logl): Likewise.
17274         * math/w_powl.c (__powl): Likewise.
17275         * math/w_remainderl.c (__remainderl): Likewise.
17276         * math/w_scalbl.c (sysv_scalbl): Likewise.
17277         * math/w_sinhl.c (__sinhl): Likewise.
17278         * math/w_sqrtl.c (__sqrtl): Likewise.
17279         * math/w_tgammal.c (__tgammal): Likewise.
17280         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17281         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17282         * math/libm-test.inc (acos_test): Add more tests.
17283         (acosh_test): Likewise.
17284         (asin_test): Likewise.
17285         (atanh_test): Likewise.
17286         (exp_test): Likewise.
17287         (exp10_test): Likewise.
17288         (exp2_test): Likewise.
17289         (expm1_test): Likewise.
17290         (lgamma_test): Likewise.
17291         (log_test): Likewise.
17292         (log10_test): Likewise.
17293         (log1p_test): Likewise.
17294         (log2_test): Likewise.
17295         (pow_test): Do not allow some spurious overflow exceptions.
17296         (sqrt_test): Add more tests.
17297         (tgamma_test): Likewise.
17298         (y0_test): Likewise.
17299         (y1_test): Likewise.
17300         (yn_test): Likewise.
17301
17302 2012-03-27  Anton Blanchard  <anton@samba.org>
17303
17304         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17305         MAP_HUGETLB.
17306         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17307         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17308         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17309
17310 2012-03-27  David S. Miller  <davem@davemloft.net>
17311
17312         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17313
17314         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17315         have-as-vis3 check.
17316
17317 2012-03-27  Andreas Jaeger  <aj@suse.de>
17318
17319         * sysdeps/x86_64/elf/configure.in: Moved to ...
17320         * sysdeps/x86_64/configure.in: ... here.
17321         * sysdeps/x86_64/elf/start.S: Moved to ...
17322         * sysdeps/x86_64/start.S: ... here.
17323         * sysdeps/x86_64/elf/configure: Delete.
17324
17325         * sysdeps/x86_64/configure.in: Merge contents from
17326         sysdeps/i386/configure.in (without i686 check).
17327
17328         * sysdeps/i386/elf/Versions: Merge into ...
17329         * sysdeps/i386/Versions: ... this.
17330         * sysdeps/i386/elf/Versions: Delete file.
17331         * sysdeps/i386/elf/start.S: Moved to ...
17332         * sysdeps/i386/start.S: ...here.
17333         * sysdeps/i386/elf/configure.in: Merge into...
17334         * sysdeps/i386/configure.in: ...here.
17335         * sysdeps/i386/elf/configure.in: Delete file.
17336         * sysdeps/i386/elf/configure: Delete file.
17337
17338         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17339         * debug/backtracesyms.c: ... here.
17340         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17341         * debug/backtracesymsfd.c: ... here.
17342         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17343         * sysdeps/generic/ifunc-sel.h: ... here.
17344
17345         * sysdeps/unix/i386/start.c: Delete file.
17346         * sysdeps/unix/sparc/start.c: Delete file.
17347         * sysdeps/unix/start.c: Delete file.
17348
17349         * sysdeps/sh/elf/configure.in: Moved to ...
17350         * sysdeps/sh/configure.in: ... here.
17351         * sysdeps/sh/elf/start.S: Moved to ...
17352         * sysdeps/sh/start.S: ... here.
17353         * sysdeps/sh/elf/configure: Delete file.
17354
17355         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17356         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17357         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17358         * sysdeps/powerpc/powerpc64/entry.h: ... here.
17359         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17360         * sysdeps/powerpc/powerpc64/start.S: here.
17361         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17362         * sysdeps/powerpc/powerpc64/Makefile: ... this.
17363         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17364         * sysdeps/powerpc/powerpc64/configure.in: ... this.
17365         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17366
17367         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17368         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17369         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17370         * sysdeps/powerpc/powerpc32/start.S: ... here.
17371         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17372         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17373         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17374
17375         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17376         * sysdeps/powerpc/ifunc-sel.h: ... here.
17377         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17378         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17379
17380         * sysdeps/sparc/elf/configure.in: Moved to ...
17381         * sysdeps/sparc/configure.in: ... here.
17382         * sysdeps/sparc/elf/configure: Delete file.
17383         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17384         * sysdeps/sparc/sparc32/start.S: ... here.
17385         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17386         * sysdeps/sparc/sparc64/start.S: ... here.
17387         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17388         * sysdeps/sparc/sparc32/Makefile: ... this.
17389         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17390         * sysdeps/sparc/sparc64/Makefile: ... this.
17391
17392         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17393         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17394         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17395         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17396         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17397         * sysdeps/s390/s390-32/setjmp.S: ... here.
17398         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17399         * sysdeps/s390/s390-32/configure.in: ... here.
17400         * sysdeps/s390/s390-32/elf/configure: Delete file.
17401         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17402         * sysdeps/s390/s390-32/start.S: ... here.
17403
17404         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17405         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17406         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17407         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17408         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17409         * sysdeps/s390/s390-64/setjmp.S: ... here.
17410         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17411         * sysdeps/s390/s390-64/configure.in: ... here
17412         * sysdeps/s390/s390-64/elf/configure: Delete file.
17413         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17414         * sysdeps/s390/s390-64/start.S: ... here.
17415         * sysdeps/s390/s390-64/elf/configure: Delete.
17416
17417         * configure.in: Remove support for elf directories in sysdeps.
17418
17419         * configure: Regenerated.
17420         * sysdeps/i386/configure: Regenerated.
17421         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17422         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17423         * sysdeps/s390/s390-32/configure: Regenerated.
17424         * sysdeps/s390/s390-64/configure: Regenerated.
17425         * sysdeps/sh/configure: Regenerated.
17426         * sysdeps/sparc/configure: Regenerated.
17427         * sysdeps/x86_64/configure: Regenerated.
17428
17429 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17430
17431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17432
17433         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17434         denormal result into account.
17435
17436 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17437
17438         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17439         Reported by Allan McRae <allan@archlinux.org>.
17440
17441 2012-03-23  Jeff Law  <law@redhat.com>
17442
17443         * nss/getnssent.c (__nss_getent): Fix typo.
17444
17445 2012-03-23  David S. Miller  <davem@davemloft.net>
17446
17447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17448
17449 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17450
17451         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17452         to pad to uint64_t for each field.
17453         (dl_tls_index): Replace unsigned long with uint64_t.
17454
17455 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17456         Paul Pluzhnikov  <ppluzhnikov@google.com>
17457
17458         [BZ #6528]
17459         * grp/Makefile (otherlibs): Don't set it.
17460         * inet/Makefile (otherlibs): Likewise.
17461         * login/Makefile (otherlibs): Likewise.
17462         * nscd/Makefile (otherlibs): Likewise.
17463         * posix/Makefile (otherlibs): Likewise.
17464         * pwd/Makefile (otherlibs): Likewise.
17465         * rt/Makefile (otherlibs): Likewise.
17466         * sunrpc/Makefile (otherlibs): Likewise.
17467         * nss/Makefile (otherlibs): Likewise.
17468         Add libnss_files to routines and static-only-routines.
17469         ($(objpfx)getent): Remove rule.
17470         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17471         static-only-routines.
17472
17473 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17474
17475         [BZ #13892]
17476         * math/s_cexp.c: Include <float.h>.
17477         (__cexp): Handle exp result overflowing not necessarily
17478         overflowing both real and imaginary parts of result.
17479         * math/s_cexpf.c: Likewise.
17480         * math/s_cexpl.c: Likewise.
17481         * math/libm-test.inc (cexp_test): Add more tests.
17482         * sysdeps/i386/fpu/libm-test-ulps: Update.
17483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17484
17485 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17486
17487         * include/link.h (ELFW): New macro.
17488         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17489         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17490
17491 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17492
17493         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17494         with uint64_t.
17495
17496 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17497
17498         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17499         declaration.
17500         (struct La_x32_retval): Likewise.
17501
17502 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17503
17504         * sysdeps/x86_64/preconfigure.in: New file.
17505         * sysdeps/x86_64/preconfigure: New generated file.
17506
17507 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17508
17509         [BZ #13824]
17510         * math/e_exp2l.c: Include <float.h>.
17511         (__ieee754_exp2l): Handle overflow and underflow cases
17512         separately.  Only pass fractional part of argument to
17513         __ieee754_expl.
17514         * math/libm-test.inc (exp2_test): Add more tests.
17515
17516         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17517         negating x to take absolute value.
17518         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17519         Likewise.
17520         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17521         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17522         Likewise.
17523         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17524         computing low part if x was negated.
17525         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17526
17527 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17528
17529         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17530         la_x32_gnu_pltexit.
17531         (pltexit): Cast int_retval to ptrdiff_t.
17532         * elf/tst-auditmod3b.c: Likewise.
17533         * elf/tst-auditmod4b.c: Likewise.
17534         * elf/tst-auditmod5b.c: Likewise.
17535         * elf/tst-auditmod6b.c: Likewise.
17536         * elf/tst-auditmod6c.c: Likewise.
17537         * elf/tst-auditmod7b.c: Likewise.
17538
17539         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17540         and x32_gnu_pltexit.
17541
17542         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17543         __ELF_NATIVE_CLASS.
17544         (La_x32_regs): New macro.
17545         (La_x32_retval): Likewise.
17546         (la_x32_gnu_pltenter): New function prototype.
17547         (la_x32_gnu_pltexit): Likewise.
17548
17549 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17550
17551         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17552         exponent.
17553
17554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17555
17556         * configure.in (libc_cv_cc_nofma): Check for option to disable
17557         generation of FMA instructions.
17558         * configure: Regenerate.
17559         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17560         * sysdeps/ieee754/dbl-64/Makefile: New file.
17561         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17562         Remove brandred-fma4.
17563         (CFLAGS-brandred-fma4.c): Remove.
17564         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17565         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17566         define.
17567         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17568         define.
17569
17570 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17571
17572         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17573         LLONG_MAX != LONG_MAX.
17574         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17575         (_fitoa_word): Likewise.
17576         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17577         LLONG_MAX != LONG_MAX.
17578         * stdio-common/_itowa.h: Include <_itoa.h>.
17579         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17580         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17581         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17582         only if not defined.
17583         (_ITOA_WORD_TYPE): Likewise.
17584         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17585         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17586
17587 2012-03-21  David S. Miller  <davem@davemloft.net>
17588
17589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17590
17591 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17592
17593         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17594         of x86_64 when setting libc_cv_slibdir, libdir and
17595         libc_cv_localedir.
17596         * sysdeps/unix/sysv/linux/configure: Regenerated.
17597
17598 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17599
17600         * manual/lang.texi (Old Varargs): Remove section.
17601         (How Variadic): Update menu.
17602         (va_start): Do not mention varargs.h.
17603
17604 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17605             Joseph Myers  <joseph@codesourcery.com>
17606
17607         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17608         link test.
17609         * configure: Regenerated.
17610
17611 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17612
17613         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17614         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17615         conformtest.pl
17616
17617 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17618
17619         * NOTES: Remove.
17620         * Makefile (files-for-dist): Remove NOTES.
17621         (NOTES): Remove rule.
17622         * README: Don't refer to NOTES.
17623         * manual/creature.texi: Don't include macros.texi.
17624         * manual/intro.texi (creature.texi): Remove comment referring to
17625         NOTES.
17626
17627         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17628         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17629         * configure: Regenerated.
17630         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17631         LIBC_TRY_CC_OPTION.
17632         (libc_cv_as_i686): Likewise.
17633         (libc_cv_cc_avx): Likewise.
17634         (libc_cv_cc_sse2avx): Likewise.
17635         (libc_cv_cc_fma4): Likewise.
17636         (libc_cv_cc_novzeroupper): Likewise.
17637         * sysdeps/i386/configure: Regenerated.
17638
17639         [BZ #13883]
17640         * sysdeps/i386/fpu/s_cexp.S: Remove.
17641         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17642         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17643         * math/libm-test.inc (cexp_test): Add more tests.
17644         * sysdeps/i386/fpu/libm-test-ulps: Update.
17645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17646
17647 2012-03-21  Allan McRae  <allan@archlinux.org>
17648
17649         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17650
17651 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17652
17653         [BZ #13871]
17654         * math/w_exp2.c: Do not include <float.h>.
17655         (o_threshold, u_threshold): Remove.
17656         (__exp2): Calculate result before checking finiteness and calling
17657         __kernel_standard.
17658         * math/w_exp2f.c: Likewise.
17659         * math/w_exp2l.c: Likewise.
17660         * math/libm-test.inc (exp2_test): Require overflow exception for
17661         1e6 input.
17662
17663         [BZ #3866]
17664         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17665         range of signed 64-bit integers before using fistpll.  Remove
17666         checks for whether integers fit in mantissa bits.
17667         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17668         the range of signed 32-bit integers before using fistpl.  Remove
17669         checks for whether integers fit in mantissa bits.
17670         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17671         (__ieee754_powl): Test for y outside the range of signed 64-bit
17672         integers before using fistpll.  Reduce 64-bit values to 63-bit
17673         ones as needed.
17674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17675         divide-by-zero is raised for zero to large negative powers.
17676         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17677         (__ieee754_powl): Test for y outside the range of signed 64-bit
17678         integers before using fistpll.  Reduce 64-bit values to 63-bit
17679         ones as needed.
17680         * math/libm-test.inc (pow_test): Add more tests.
17681
17682 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17683
17684         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17685         <stdio-common/_itoa.h>.
17686         * debug/segfault.c: Likewise.
17687         * elf/dl-cache.c: Likewise.
17688         * elf/dl-minimal.c: Likewise.
17689         * elf/dl-misc.c: Likewise.
17690         * elf/dl-sysdep.c: Likewise.
17691         * elf/dl-version.c: Likewise.
17692         * elf/rtld.c: Likewise.
17693         * hurd/hurdsock.c: Likewise.
17694         * hurd/lookup-retry.c: Likewise.
17695         * malloc/malloc.c: Likewise.
17696         * malloc/mtrace.c: Likewise.
17697         * nscd/nscd_getgr_r.c: Likewise.
17698         * nscd/nscd_getpw_r.c: Likewise.
17699         * nscd/nscd_getserv_r.c: Likewise.
17700         * posix/getopt_init.c: Likewise.
17701         * posix/wordexp.c: Likewise.
17702         * stdio-common/_itoa.c: Likewise.
17703         * stdio-common/printf_fphex.c: Likewise.
17704         * stdio-common/vfprintf.c: Likewise.
17705         * string/_strerror.c: Likewise.
17706         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17707         * sysdeps/i386/i686/hp-timing.h: Likewise.
17708         * sysdeps/mach/_strerror.c: Likewise.
17709         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17710         * sysdeps/mach/hurd/sethostid.c: Likewise.
17711         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17712         * sysdeps/mach/xpg-strerror.c: Likewise.
17713         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17714         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17715         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17716         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17717         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17718         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17719         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17720         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17721         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17722         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17723         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17724         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17725         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17726         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17727         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17728         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17729         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17730         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17731         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17732         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17733         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17734
17735         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17736
17737         * stdio-common/_itoa.h: Moved to ...
17738         * sysdeps/generic/_itoa.h: Here.
17739
17740         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17741
17742         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17743         instead of "_itoa.h" and "_itowa.h".
17744         * stdio-common/vfprintf.: Likewise.
17745
17746 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17747
17748         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17749         <bits/wordsize.h>.
17750         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17751         (__signbit): Likwise.
17752         (llrintf): Likwise.
17753         (llrint): Likwise.
17754
17755 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17756
17757         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17758         __WORDSIZE != 64.
17759
17760 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17761
17762         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17763         OVERFLOW_EXCEPTION_OK.
17764         * math/libm-test.inc ("Philosophy"): Update comment about
17765         exception testing.
17766         (OVERFLOW_EXCEPTION): Define.
17767         (OVERFLOW_EXCEPTION_OK): Likewise.
17768         (INVALID_EXCEPTION_OK): Renumber.
17769         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17770         (IGNORE_ZERO_INF_SIGN): Likewise.
17771         (test_exceptions): Handle FE_OVERFLOW.
17772         (exp10_test): Expect overflow exceptions.
17773         (exp2_test): Likewise.
17774         (expm1_test): Likewise.
17775         (nextafter_test): Likewise.
17776         (pow_test): Likewise.
17777         (scalbn_test): Likewise.
17778         (scalbln_test): Likewise.
17779
17780 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17781
17782         * sysdeps/x86_64/bits/atomic.h
17783         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17784         64bit integer.
17785         (atomic_exchange_acq): Likewise.
17786         (__arch_exchange_and_add_body): Likewise.
17787         (__arch_add_body): Likewise.
17788         (atomic_add_negative): Likewise.
17789         (atomic_add_zero): Likewise.
17790
17791 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17792
17793         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17794         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17795
17796 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17797
17798         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17799         Check __x86_64__ instead of __WORDSIZE.
17800
17801 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17802
17803         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17804
17805 2012-03-19  David S. Miller  <davem@davemloft.net>
17806
17807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17808
17809         * sysdeps/sparc/fpu/fenv_private.h: New file.
17810         * sysdeps/sparc/fpu/math_private.h: Use it.
17811         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17812         Remove.
17813         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17814         (libc_feholdexcept_setroundl): Remove.
17815         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17816         Remove.
17817         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17818         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17819
17820 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17821
17822         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17823         int64_t instead of long int.
17824         (INSERT_WORDS64): Likwise.
17825
17826 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17827
17828         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17829         _Unwind_GetCFA return to _Unwind_Ptr first.
17830
17831 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17832
17833         [BZ #13629]
17834         * math/s_clog.c: Include <float.h>.
17835         (__clog): Scale large or subnormal inputs.
17836         * math/s_clogf.c: Likewise.
17837         * math/s_clogl.c: Likewise.
17838         * math/s_clog10.c: Include <float.h>.
17839         (M_LOG10_2): Define.
17840         (__clog10): Scale large or subnormal inputs.
17841         * math/s_clog10f.c: Likewise.
17842         * math/s_clog10l.c: Likewise.
17843         * math/libm-test.inc (clog_test): Add more tests.
17844         (clog10_test): Likewise.
17845         * sysdeps/i386/fpu/libm-test-ulps: Update.
17846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17847
17848         [BZ #11451]
17849         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17850         x and y.
17851         * math/libm-test.inc (atan2_test): Add another test.
17852
17853         * Makerules (common-objdir-compile): Remove.
17854         * sysdeps/unix/Makefile (config-generated): Do not add
17855         $(unix-generated) to variable.
17856         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17857         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17858         Remove rule.
17859         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17860         Likewise.
17861         [generic bits/local_lim.h] (before-compile): Do not append to
17862         variable.
17863         [generic bits/local_lim.h] (common-generated): Likewise.
17864         [generic sys/param.h] (before-compile): Do not append to variable.
17865         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17866         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17867         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17868         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17869         include.
17870         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17871         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17872         [generic sys/param.h] ($(addprefix
17873         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17874         [generic sys/param.h] (common-generated): Do not append to
17875         variable.
17876         [generic sys/param.h] (sysdep_headers): Likewise.
17877         [generic bits/errno.h] (before-compile): Do not append to
17878         variable.
17879         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17880         rule.
17881         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17882         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17883         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17884         [generic bits/errno.h] (common-generated): Do not append to
17885         variable.
17886         [generic bits/ioctls.h] (before-compile): Do not append to
17887         variable.
17888         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17889         rule.
17890         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17891         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17892         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17893         rule.
17894         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17895         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17896         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17897         [generic bits/ioctls.h] (common-generated): Do not append to
17898         variable.
17899         [generic sys/syscall.h] (syscall.h): Remove variable.
17900         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17901         rule.
17902         [generic sys/syscall.h] (before-compile): Do not append to
17903         variable.
17904         [generic sys/syscall.h] (common-generated): Likewise.
17905         * sysdeps/unix/errnos-tmpl.c: Remove file.
17906         * sysdeps/unix/errnos.awk: Likewise.
17907         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17908         * sysdeps/unix/ioctls.awk: Likewise.
17909         * sysdeps/unix/mk-local_lim.c: Likewise.
17910         * sysdeps/unix/snarf-ioctls: Likewise.
17911
17912 2012-03-19  Richard Henderson  <rth@twiddle.net>
17913
17914         * sysdeps/i386/fpu/fenv_private.h: New file.
17915         * sysdeps/i386/fpu/math_private.h: Use it.
17916         (math_opt_barrier, math_force_eval): Remove.
17917         (libc_feholdexcept_setround_53bit): Remove.
17918         (libc_feupdateenv_53bit): Remove.
17919         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17920         (math_opt_barrier, math_force_eval): Remove.
17921         (libc_feholdexcept): Remove.
17922         (libc_feholdexcept_setround): Remove.
17923         (libc_fetestexcept, libc_fesetenv): Remove.
17924         (libc_feupdateenv_test): Remove.
17925         (libc_feupdateenv, libc_feholdsetround): Remove.
17926         (libc_feresetround): Remove.
17927
17928         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17929         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17930
17931         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17932         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17933         (libc_feupdateenv_testl): New.
17934         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17935         (libc_feupdateenv_testf): New.
17936         (libc_feupdateenv): Use libc_feupdateenv_test.
17937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17938         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17939
17940         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17941         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17942         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17943         (libc_feresetround_noex): New.
17944         (libc_feresetround_noexf): New.
17945         (libc_feresetround_noexl): New.
17946         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17947         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17948         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17949         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17950         SET_RESTORE_ROUND.
17951         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17952         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17953         (__cos): Likewise.
17954         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17956         SET_RESTORE_ROUND_NOEX.
17957         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17958         SET_RESTORE_ROUND_NOEXF.
17959         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17960         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17961         (libc_feholdsetroundf): New.
17962         (libc_feresetround, libc_feresetroundf): New.
17963
17964         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17965         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17966         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17967
17968         * sysdeps/generic/math_private.h: Include <fenv.h>.
17969         (default_libc_feholdexcept): New.
17970         (default_libc_feholdexcept_setround): New.
17971         (default_libc_fesetenv, default_libc_feupdateenv): New.
17972         (libc_feholdexcept): Only define if undefined.
17973         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17974         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17975         (libc_feholdexcept_setroundl): Likewise.
17976         (libc_feholdexcept_setround_53bit): Likewise.
17977         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17978         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17979         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17980         (libc_feupdateenv_53bit): Likewise.
17981         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17982         (libc_feholdexcept): Convert from macro to inline function.
17983         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17984         (libc_fesetenv, libc_feupdateenv): Likewise.
17985
17986         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17987         not previously defined.
17988         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17989         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17990         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17992         * sysdeps/ieee754/flt-32/math_private.h: New file.
17993         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17994         math_private.h below SET_FLOAT_WORD.
17995         (__isnan, __isinf_ns, __finite): Remove.
17996         (__isnanf, __isinf_nsf, __finitef): Remove.
17997
17998 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17999
18000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18001
18002 2012-03-17  David S. Miller  <davem@davemloft.net>
18003
18004         [BZ #6471]
18005         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18006         for 2.16.
18007
18008 2012-03-16  David S. Miller  <davem@davemloft.net>
18009
18010         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18011         warnings.
18012
18013         [BZ #6471]
18014         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18015         properly.
18016         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18017         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18018         sysdep_routines when subdir is sysvipc.
18019         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18020         __getshmlba helper.
18021
18022         * sysdeps/sparc/fpu/libm-test/ulps: Update.
18023
18024 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18025
18026         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18027         [__LP64__].
18028
18029 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18030
18031         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18032         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18033         (__lround): Renamed to ...
18034         (__llround): This.  Replace long int with long long int.
18035         Define lround functions as aliases of llround functions.
18036         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18037
18038 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18039
18040         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18041         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
18042         adresses to uintptr_t.  Replace "long int" and "unsigned long
18043         int" with "greg_t" on va_arg.
18044
18045 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18046
18047         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18048         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18049
18050         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18051         Move e_machine check before EI_CLASS check.  Handle x32
18052         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18053         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18054         SKIP_EM_IA_64 and include
18055         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18056
18057         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18058         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18059         (add_system_dir): New macro.
18060
18061         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18062         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18063
18064 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18065
18066         [BZ #2551]
18067         [BZ #2552]
18068         [BZ #2553]
18069         [BZ #2554]
18070         [BZ #2562]
18071         [BZ #2563]
18072         [BZ #2565]
18073         [BZ #2566]
18074         [BZ #2576]
18075         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18076         (y0): Likewise.
18077         * math/w_j0f.c (j0f): Likewise.
18078         (y0f): Likewise.
18079         * math/w_j0l.c (__j0l): Likewise.
18080         (__y0l): Likewise.
18081         * math/w_j1.c (j1): Likewise.
18082         (y1): Likewise.
18083         * math/w_j1f.c (j1f): Likewise.
18084         (y1f): Likewise.
18085         * math/w_j1l.c (__j1l): Likewise.
18086         (__y1l): Likewise.
18087         * math/w_jn.c (jn): Likewise.
18088         (yn): Likewise.
18089         * math/w_jnf.c (jnf): Likewise.
18090         (ynf): Likewise.
18091         * math/w_jnl.c (__jnl): Likewise.
18092         (__ynl): Likewise.
18093         * math/libm-test.inc (j0_test): Add more tests.
18094         (j1_test): Likewise.
18095         (jn_test): Likewise.  Add trailing semicolon to existing test.
18096         (y0_test): Likewise.
18097         (y1_test): Likewise.
18098         * sysdeps/i386/fpu/libm-test-ulps: Update.
18099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100
18101         [BZ #13851]
18102         [BZ #13854]
18103         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18104         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18105         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18106         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18107         (__tanl): Set errno for infinite argument.
18108         * sysdeps/i386/fpu/mptan.c: Remove.
18109         * sysdeps/i386/fpu/s_tan.S: Likewise.
18110         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18111         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18112         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18113         * math/libm-test.inc (tan_test): Add more tests and enable more
18114         tests for double and long double.
18115         * sysdeps/i386/fpu/libm-test-ulps: Update.
18116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18117
18118 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18119
18120         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18121         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18122
18123 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18124
18125         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18126         * configure.in: Use it for both main tree and add-ons.
18127         * configure: Regenerated.
18128
18129 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18130
18131         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18132
18133 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18134
18135         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18136         in comment.
18137
18138         [BZ #13851]
18139         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18140         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18141         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18142         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18143         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18144         infinite argument.
18145         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18146         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18147         != 0 for prec == 2.
18148         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18149         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18150         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18151         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18152         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18153         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18154         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18155         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18156         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18157         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18158         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18159         * math/libm-test.inc (cos_test): Add more tests and enable more
18160         tests for long double.
18161         (sin_test): Likewise.
18162         (sincos_test): Likewise.
18163         * sysdeps/i386/fpu/libm-test-ulps: Update.
18164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18165
18166 2012-03-16  David S. Miller  <davem@davemloft.net>
18167
18168         * sysdeps/sparc/fpu/math_private.h: New file.
18169
18170 2012-03-15  David S. Miller  <davem@davemloft.net>
18171
18172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18173         file.
18174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18176         file.
18177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18182         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18183         sysdep routines.
18184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18185
18186         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18187         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18188
18189         * sysdeps/sparc/sparc-ifunc.h: New file.
18190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18191         sparc-ifunc.h
18192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18194         Likewise.
18195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18196         Likewise.
18197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18201         Likewise.
18202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18207         Likewise.
18208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18209         Likewise.
18210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18216         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18217         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18218         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18224         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18225         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18226         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18228         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18229         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18230         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18231         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18234
18235 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18236
18237         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18238         scaling.
18239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18240
18241 2012-03-15  Andreas Jaeger  <aj@suse.de>
18242
18243         [BZ #13852]
18244         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18245         ieee754/flt-32 implementation for sin, cos and sincos.
18246         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18247         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18248         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18249         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18250         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18251         ieee754/flt-32 implementation for tan.
18252
18253         * math/libm-test.inc (cos_test): Enable some large input tests for
18254         float as well
18255         (sin_test): Likewise.
18256         (sincos_test): Likewise.
18257         (tan_test): Add tests for large input.
18258
18259         * sysdeps/i386/fpu/libm-test-ulps: Update.
18260
18261 2012-03-15  Andreas Jaeger  <aj@suse.de>
18262
18263         [BZ #13658]
18264         * math/libm-test.inc (cos_test): Add more test cases.
18265         (sin_test): Likewise.
18266         (sincos_test): Likewise.
18267
18268 2012-03-15  Andreas Jaeger  <aj@suse.de>
18269
18270         [BZ #13837]
18271         * math/libm-test.inc (cos_test): Add a test case for large input
18272         value.
18273         (sin_test): Likewise.
18274         (sincos_test): Likewise.
18275
18276 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18277         Joseph Myers  <joseph@codesourcery.com>
18278
18279         [BZ #13658]
18280         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18281         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18282         * sysdeps/i386/fpu/branred.c: Likewise.
18283         * sysdeps/i386/fpu/dosincos.c: Likewise.
18284         * sysdeps/i386/fpu/mpa.c: Likewise.
18285         * sysdeps/i386/fpu/s_cos.S: Likewise.
18286         * sysdeps/i386/fpu/s_sin.S: Likewise.
18287         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18288         * sysdeps/i386/fpu/sincos32.c: Likewise.
18289
18290         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18291         Define.
18292         (libc_feupdateenv_53bit): Define.
18293         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18294         Define.
18295         (libc_feupdateenv_53bit): Define.
18296
18297         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18298         53 bit (without extend i386 double precision).
18299
18300         * math/libm-test.inc (sincos_test): Add tests for large input.
18301         (sin): Likewise.
18302         (cos): Likewise.
18303
18304         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18305
18306 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18307
18308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18309
18310 2012-03-15  David S. Miller  <davem@davemloft.net>
18311
18312         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18313         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18314         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18315         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18321         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18328         file.
18329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18331         file.
18332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18334         file.
18335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18337         file.
18338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18339         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18340         fmin/fmax sysdep routines.
18341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18342
18343 2012-03-14  David S. Miller  <davem@davemloft.net>
18344
18345         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18348         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18349         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18350         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18351         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18352         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18353         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18354         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18355         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18358         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18365         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18366         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18367         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18368         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18369         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18370         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18371         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18372         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18374         routines.
18375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18376         file.
18377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18379         file.
18380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18382         file.
18383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18385         file.
18386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18388         file.
18389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18391         file.
18392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18393         file.
18394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18395         file.
18396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18397         file.
18398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18399         New file.
18400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18401         file.
18402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18403         file.
18404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18406         file.
18407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18409         file.
18410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18412         file.
18413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18415         VIS3 routines.
18416
18417         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18418         New file.
18419
18420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18421
18422         * sysdeps/sparc/configure.in: New file.
18423         * sysdeps/sparc/configure: Generate.
18424         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18425         * configure: Regenerate.
18426         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18427         * config.make.in (have-as-vis3): New.
18428         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18429         available use -Av9d instead of -Av9a.
18430         * sysdeps/sparc/sparc64/Makefile: Likewise.
18431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18433         New file.
18434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18435         file.
18436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18437         New file.
18438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18439         file.
18440         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18441         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18442         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18443         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18444         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18445
18446         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18447         fzeros/fnegs to load 0x80000000 into a float register instead of
18448         using the stack.
18449         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18450
18451 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18452
18453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18454         bits/syscall.h.
18455         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18456         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18457         ($(inst_includedir)/bits/syscall.h): Remove rule.
18458         ($(objpfx)bits/syscall.d): Include instead of
18459         $(objpfx)syscall-list.d.
18460         (generated): Change syscall-list.h and syscall-list.d to
18461         bits/syscall.h and bits/syscall.d.
18462
18463 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18464
18465         [BZ #13846]
18466         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18467
18468 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18469
18470         [BZ #13841]
18471         * math/s_csqrt.c: Include <float.h>.
18472         (__csqrt): Scale large or subnormal inputs.
18473         * math/s_csqrtf.c: Likewise.
18474         * math/s_csqrtl.c: Likewise.
18475         * math/libm-test.inc (csqrt_test): Add more tests.
18476         * sysdeps/i386/fpu/libm-test-ulps: Update.
18477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18478
18479         [BZ #13840]
18480         * math/libm-test.inc (hypot_test): Add more tests.
18481
18482 2012-03-13  David S. Miller  <davem@davemloft.net>
18483
18484         [BZ #13840]
18485         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18486         double-precision for the calculation instead of scaling.
18487
18488 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18489
18490         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18491         manipulate bits before adding and subtracting TWO52[sx].
18492         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18493         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18494         Likewise.
18495         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18496
18497 2012-03-13  David S. Miller  <davem@davemloft.net>
18498
18499         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18500         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18501         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18502         rtld-global-offsets.h
18503         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18504
18505         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18506         large parameters.
18507
18508         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18509
18510         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18511         'err' in the ifdef scope in which it is actually used.
18512
18513         * nss/nss_db/db-init.c: Include string.h
18514
18515 2012-03-12  David S. Miller  <davem@davemloft.net>
18516
18517         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18518         masking out of the most significant byte of random value used.
18519         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18520         Fix coding style in previous change.
18521
18522         * sysdeps/unix/sysv/linux/kernel-features.h
18523         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18524         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18525         expression.
18526         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18527         later.
18528
18529 2012-03-11  David S. Miller  <davem@davemloft.net>
18530
18531         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18532         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18533         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18534         for 'resultvar' otherwise things get truncated on 64-bit.
18535
18536         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18537         Fix masking out of the most significant byte of random value used.
18538
18539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18540
18541 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18542
18543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18544
18545 2012-03-09  David S. Miller  <davem@davemloft.net>
18546
18547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18548         variables with appropriate CPP guards.
18549         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18550         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18551         on resulting framesize and the management of the outregs buffer for pltexit.
18552         Preserve floating point return values across _dl_call_pltexit call.
18553         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18554         framesize and the management of the outregs buffer for pltexit.
18555         Preserve floating point return values across _dl_call_pltexit
18556         call.
18557         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18558         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18559         (print_exit): Fix format string for return register value.
18560
18561 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18562
18563         * sunrpc/Makefile (others): Add rpcgen.
18564         ($(objpfx)rpcgen): Remove special build rule and dependency on
18565         libc.
18566         * sunrpc/rpcgen.c: New file.
18567
18568 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18569
18570         [BZ #13673]
18571         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18572         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18573         * sysdeps/i386/crti.S: Likewise.
18574         * sysdeps/i386/crtn.S: Likewise.
18575         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18576         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18577         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18578         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18579         * sysdeps/sh/crti.S: Likewise.
18580         * sysdeps/sh/crtn.S: Likewise.
18581         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18582
18583         [BZ #13673]
18584         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18585         with URL.
18586         * locale/programs/locfile-kw.gperf: Likewise.
18587         * locale/programs/charmap-kw.h: Regenerated.
18588         * locale/programs/locfile-kw.h: Likewise.
18589
18590         [BZ #13673]
18591         * intl/plural.y: Replace FSF snail mail address with URL.
18592         * intl/plural.c: Regenerated.
18593
18594 2012-03-09  Richard Henderson  <rth@twiddle.net>
18595
18596         * include/math_private.h: Remove file.
18597         * math/math_private.h: Move file ...
18598         * sysdeps/generic/math_private.h: ... here.
18599
18600         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18601         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18602         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18603
18604         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18605         and <math_private.h>.
18606         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18607         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18608         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18609         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18610         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18611         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18612         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18613         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18614         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18615         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18616         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18617         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18618         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18619         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18620         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18621         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18622         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18623         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18624         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18625         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18627         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18628         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18630         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18631         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18632         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18633         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18634         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18635         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18636         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18637         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18638         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18639         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18640         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18641         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18642         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18643         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18644         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18645         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18646         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18647         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18648         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18649         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18650         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18651         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18652         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18653         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18654         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18655         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18656         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18657         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18658         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18659         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18660         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18661         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18662         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18663         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18664         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18665         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18666         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18667         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18669         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18670         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18671         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18672         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18673         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18674         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18675         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18677         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18678         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18679         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18680         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18681         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18682         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18683         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18684         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18685         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18686         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18687         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18688         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18689         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18690         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18692         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18693         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18694         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18695         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18696         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18697         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18698         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18699         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18700         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18701         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18702         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18703         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18704         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18705         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18706         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18707         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18708         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18709         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18710         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18711         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18712         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18713         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18714         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18715         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18716         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18717         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18718         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18719         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18720         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18721         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18722         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18723         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18724         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18725         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18726         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18727         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18728         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18729         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18730         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18731         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18732         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18733         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18734         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18735         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18736         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18737         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18738         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18739         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18740         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18741         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18742         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18743         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18744         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18745         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18746         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18747         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18748         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18749         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18750         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18751         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18752         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18753         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18754         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18755         * sysdeps/ieee754/k_standard.c: Likewise.
18756         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18760         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18761         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18762         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18763         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18764         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18765         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18766         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18767         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18768         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18769         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18770         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18771         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18772         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18773         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18774         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18775         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18776         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18777         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18778         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18779         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18787         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18789         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18797         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18802         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18806         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18807         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18808         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18809         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18810         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18811         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18812         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18814         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18815         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18818         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18819         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18822         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18825         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18826         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18827         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18828         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18829         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18830         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18832         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18833         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18834         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18836         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18837         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18838         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18839         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18840         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18841         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18842         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18843         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18844         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18846         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18847         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18848         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18849         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18850         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18851         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18852         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18853         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18854         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18855         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18856         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18857         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18858         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18859         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18860         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18861         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18862         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18863         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18864         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18865         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18866         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18867         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18868         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18869         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18870         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18871         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18872         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18873         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18874         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18875         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18876         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18877         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18878         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18879         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18880         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18881         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18882         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18883         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18884         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18885         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18886         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18887         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18888         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18889         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18890         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18891         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18892         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18893         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18894         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18895         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18896         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18897         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18898         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18899         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18900         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18901         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18902         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18903         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18904         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18905         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18906         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18907         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18908         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18912         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18913         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18916         * sysdeps/ieee754/s_lib_version.c: Likewise.
18917         * sysdeps/ieee754/s_matherr.c: Likewise.
18918         * sysdeps/ieee754/s_signgam.c: Likewise.
18919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18921         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18922         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18923         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18924         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18925         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18926         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18927         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18928         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18929         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18930         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18931         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18932         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18933         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18934         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18935         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18936         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18937         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18938         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18939         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18940
18941 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18942
18943         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18944         * sunrpc/rpc_main.c: Likewise.
18945         * sunrpc/rpc_svcout.c: Likewise.
18946
18947 2012-03-09  David S. Miller  <davem@davemloft.net>
18948
18949         * include/math_private.h: New file.
18950
18951 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18952
18953         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18954         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18955         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18956         from <bits/socket_type.h>.
18957         (enum __socket_type): Don't define here.
18958         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18960         bits/socket_type.h.
18961
18962         [BZ #13566]
18963         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18964         checking __USE_GNU.
18965
18966         * Makerules ($(inst_includedir)/%.h): New rule.
18967         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18968         (install-others): Remove variable setting.
18969         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18970
18971 2012-03-08  Richard Henderson  <rth@twiddle.net>
18972
18973         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18974         from macro to inline function; merge with the
18975         !__LIBC_INTERNAL_MATH_INLINES version.
18976         (__ieee754_sqrtf): Likewise.
18977
18978         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18979         to inline function.
18980         (__rintf, __floor, __floorf): Likewise.
18981
18982         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18983         macro to inline function.
18984         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18985
18986         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18987         not <math/math_private.h>.
18988
18989 2012-03-08  David S. Miller  <davem@davemloft.net>
18990
18991         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18992         copyright year.
18993         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18994
18995 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18996
18997         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18998         normalization.
18999         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19000         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19001
19002 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
19003
19004         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
19005         be defined individually, they must be defined as a block.  Define
19006         S for printing a string instead of hidint the different by using a
19007         macro for adding the 'l'.
19008         * stdio-common/tst-fphex-wide.c: Adjust.
19009
19010 2012-03-07  Marek Polacek  <polacek@redhat.com>
19011
19012         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19013
19014 2012-03-08  Marek Polacek  <polacek@redhat.com>
19015
19016         [BZ #13806]
19017         * stdio-common/Makefile (tests): Add tst-fphex-wide.
19018         * stdio-common/tst-fphex.c: Define a few macros to make the
19019         test reusable.  Use them.
19020         * stdio-common/tst-fphex-wide.c: New file.
19021
19022 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
19023
19024         [BZ #6911]
19025         * manual/macros.texi (gnusystems): New macro.
19026         (nongnusystems): Likewise.
19027         (gnulinuxhurdsystems): Likewise.
19028         (gnuhurdsystems): Likewise..
19029         (gnulinuxsystems): Likewise.
19030         * manual/charset.texi: Use new macros or @theglibc{} to refer to
19031         variants of the GNU system, not "GNU system".
19032         * manual/conf.texi: Likewise.
19033         * manual/errno.texi: Likewise.  Update example of errno macro
19034         expansion.
19035         * manual/filesys.texi: Likewise.
19036         (getumask): Document as specific to GNU/Hurd.
19037         * manual/install.texi: Likewise.  Reword some references to
19038         GNU/Linux.
19039         * manual/intro.texi: Likewise.
19040         * manual/io.texi: Likewise.
19041         (File Name Portability): Detail which constraints are inapplicable
19042         to all GNU systems and which are only inapplicable to GNU/Hurd.
19043         * manual/job.texi: Likewise.
19044         * manual/llio.texi: Likewise.
19045         (O_NOCTTY): Document as present on GNU/Linux.
19046         * manual/maint.texi: Likewise.
19047         * manual/memory.texi: Likewise.
19048         * manual/pattern.texi: Likewise.
19049         * manual/pipe.texi: Likewise.
19050         * manual/process.texi: Likewise.
19051         * manual/resource.texi: Likewise.
19052         (RUSAGE_CHILDREN): Remove statement about specifying a particular
19053         child on GNU/Hurd.
19054         * manual/setjmp.texi: Likewise.
19055         * manual/signal.texi: Likewise.
19056         * manual/startup.texi: Likewise.
19057         * manual/stdio.texi: Likewise.
19058         * manual/terminal.texi: Likewise.
19059         (ONLCR): Document as POSIX.
19060         (OXTABS): Document availability on GNU/Linux as XTABS.
19061         (ONOEOT): Document availability separately from other bits.
19062         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19063         * manual/time.texi: Likewise.
19064         * manual/users.texi: Likewise.
19065         * INSTALL: Regenerated.
19066         * sysdeps/gnu/errlist.c: Regenerated.
19067
19068         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19069         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19070         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19071         puts.
19072         * configure: Regenerated.
19073
19074 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19075
19076         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19077         default includes instead of AC_HEADER_CHECK.
19078         * sysdeps/i386/configure: Regenerated.
19079
19080         [BZ #10716]
19081         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19082         * math/s_cacoshf.c (__cacoshf): Likewise.
19083         * math/s_cacoshl.c (__cacoshl): Likewise.
19084         * math/s_casinh.c (__casinh): Set signs of result from argument.
19085         * math/s_casinhf.c (__casinhf): Likewise.
19086         * math/s_casinhl.c (__casinhl): Likewise.
19087         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19088         (casinh_test): Add more tests.
19089         * sysdeps/i386/fpu/libm-test-ulps: Update.
19090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19091
19092 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19093
19094         * po/zh_TW.po: Update from translation team.
19095
19096         * login/Makefile (distribute): Remove variable.
19097         * catgets/Makefile: Likewise.
19098         * mach/Makefile: Likewise.
19099         * malloc/Makefile: Likewise.
19100         * misc/Makefile: Likewise.
19101         * iconv/Makefile: Likewise.
19102         * nscd/Makefile: Likewise.
19103         * hurd/Makefile: Likewise.
19104         * manual/Makefile: Likewise.
19105         * locale/Makefile: Likewise.
19106         * intl/Makefile: Likewise.
19107         * conform/Makefile: Likewise.
19108         * nss/Makefile: Likewise.
19109         * time/Makefile: Likewise.
19110         * soft-fp/Makefile: Likewise.
19111         * dirent/Makefile: Likewise.
19112         * gmon/Makefile: Likewise.
19113         * po/Makefile: Likewise.
19114         * rt/Makefile: Likewise.
19115         * socket/Makefile: Likewise.
19116         * math/Makefile: Likewise.
19117         * signal/Makefile: Likewise.
19118         * debug/Makefile: Likewise.
19119         * elf/Makefile: Likewise.
19120         * timezone/Makefile: Likewise.
19121         * stdlib/Makefile: Likewise.
19122         * iconvdata/Makefile: Likewise.
19123         * sunrpc/Makefile: Likewise.
19124         * io/Makefile: Likewise.
19125         * argp/Makefile: Likewise.
19126         * inet/Makefile: Likewise.
19127         * hesiod/Makefile: Likewise.
19128         * grp/Makefile: Likewise.
19129         * csu/Makefile: Likewise.
19130         * wctype/Makefile: Likewise.
19131         * crypt/Makefile: Likewise.
19132         * libio/Makefile: Likewise.
19133         * string/Makefile: Likewise.
19134         * nis/Makefile: Likewise.
19135         * resolv/Makefile: Likewise.
19136         * stdio-common/Makefile: Likewise.
19137         * wcsmbs/Makefile: Likewise.
19138         * dlfcn/Makefile: Likewise.
19139         * posix/Makefile: Likewise.
19140
19141         [BZ #6959]
19142         * timezone/Makefile: Don't install timezone files, just the programs
19143         and scripts.
19144
19145 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19146
19147         * nss/databases.def: Add missing gshadow entry.
19148
19149         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19150
19151 2012-03-06  Marek Polacek  <polacek@redhat.com>
19152
19153         [BZ #13726]
19154         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19155         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19156         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19157         * stdio-common/tst-long-dbl-fphex.c: New file.
19158
19159 2012-03-06  David S. Miller  <davem@davemloft.net>
19160
19161         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19162         (set_obp_int): New function.
19163         (get_obp_int): New function.
19164         (__get_clockfreq_via_dev_openprom): Likewise.
19165         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19166         Avoid unused variable warnings on 'val' and use builtin_expect.
19167         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19168         __builtin_expect.
19169         (INLINE_CLONE_SYSCALL): Likewise.
19170
19171 2012-03-05  David S. Miller  <davem@davemloft.net>
19172
19173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19174
19175 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19176
19177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19178
19179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19180         only for |x| >= 40.
19181         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19182
19183 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19184
19185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19186         Replace gettimeofday with __vdso_gettimeofday.
19187
19188         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19189         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19190         __vdso_clock_gettime and __vdso_getcpu.
19191
19192         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19193         time with __vdso_time.
19194
19195 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19196
19197         * manual/lang.texi (size_t): Note types to which size_t may be
19198         equivalent with the GNU C Library, but do not describe when
19199         differences between them are significant.
19200
19201 2012-03-05  Andreas Jaeger  <aj@suse.de>
19202
19203         * sysdeps/i386/fpu/libm-test-ulps: Update.
19204
19205 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19206
19207         [BZ #3976]
19208         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19209         (__ieee754_pow): Save and restore rounding mode and use
19210         round-to-nearest for main computations.
19211         * math/libm-test.inc (pow_test_tonearest): New function.
19212         (pow_test_towardzero): Likewise.
19213         (pow_test_downward): Likewise.
19214         (pow_test_upward): Likewise.
19215         (main): Call the new functions.
19216         * sysdeps/i386/fpu/libm-test-ulps: Update.
19217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19218
19219         [BZ #3976]
19220         * math/libm-test.inc (cosh_test_tonearest): New function.
19221         (cosh_test_towardzero): Likewise.
19222         (cosh_test_downward): Likewise.
19223         (cosh_test_upward): Likewise.
19224         (sinh_test_tonearest): Likewise.
19225         (sinh_test_towardzero): Likewise.
19226         (sinh_test_downward): Likewise.
19227         (sinh_test_upward): Likewise.
19228         (main): Call the new functions.
19229         * sysdeps/i386/fpu/libm-test-ulps: Update.
19230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19231
19232 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19233
19234         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19235         default stack guard is set in last bytes.
19236         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19237
19238 2012-03-05  Kees Cook  <keescook@chromium.org>
19239
19240         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19241
19242         [BZ #13656]
19243         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19244         possibly allocate from heap instead of stack.
19245         * stdio-common/bug-vfprintf-nargs.c: New file.
19246         * stdio-common/Makefile (tests): Add nargs overflow test.
19247
19248 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19249
19250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19251
19252 2012-03-03  Marek Polacek  <polacek@redhat.com>
19253
19254         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19255         * math/math_private.h: Likewise.
19256         * stdlib/tst-strtod.c: Likewise.
19257         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19258         * sysdeps/x86_64/bits/atomic.h: Likewise.
19259
19260 2012-03-02  David S. Miller  <davem@davemloft.net>
19261
19262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19266         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19267         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19268         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19269         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19270
19271 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19272
19273         [BZ #13792]
19274         * manual/examples/README: New file, says the example source files
19275         can be used under GPL>=2.
19276         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19277         line containing just "*/".
19278         * manual/examples/add.c: Add copyright header (GPL>=2).
19279         * manual/examples/argp-ex1.c: Likewise.
19280         * manual/examples/argp-ex2.c: Likewise.
19281         * manual/examples/argp-ex3.c: Likewise.
19282         * manual/examples/argp-ex4.c: Likewise.
19283         * manual/examples/atexit.c: Likewise.
19284         * manual/examples/db.c: Likewise.
19285         * manual/examples/dir.c: Likewise.
19286         * manual/examples/dir2.c: Likewise.
19287         * manual/examples/execinfo.c: Likewise.
19288         * manual/examples/filecli.c: Likewise.
19289         * manual/examples/filesrv.c: Likewise.
19290         * manual/examples/fmtmsgexpl.c: Likewise.
19291         * manual/examples/genpass.c: Likewise.
19292         * manual/examples/inetcli.c: Likewise.
19293         * manual/examples/inetsrv.c: Likewise.
19294         * manual/examples/isockad.c: Likewise.
19295         * manual/examples/longopt.c: Likewise.
19296         * manual/examples/memopen.c: Likewise.
19297         * manual/examples/memstrm.c: Likewise.
19298         * manual/examples/mkfsock.c: Likewise.
19299         * manual/examples/mkisock.c: Likewise.
19300         * manual/examples/mygetpass.c: Likewise.
19301         * manual/examples/pipe.c: Likewise.
19302         * manual/examples/popen.c: Likewise.
19303         * manual/examples/rprintf.c: Likewise.
19304         * manual/examples/search.c: Likewise.
19305         * manual/examples/select.c: Likewise.
19306         * manual/examples/setjmp.c: Likewise.
19307         * manual/examples/sigh1.c: Likewise.
19308         * manual/examples/sigusr.c: Likewise.
19309         * manual/examples/stpcpy.c: Likewise.
19310         * manual/examples/strdupa.c: Likewise.
19311         * manual/examples/strftim.c: Likewise.
19312         * manual/examples/strncat.c: Likewise.
19313         * manual/examples/subopt.c: Likewise.
19314         * manual/examples/swapcontext.c: Likewise.
19315         * manual/examples/termios.c: Likewise.
19316         * manual/examples/testopt.c: Likewise.
19317         * manual/examples/testpass.c: Likewise.
19318         * manual/examples/timeval_subtract.c: Likewise.
19319
19320         [BZ #13792]
19321         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19322         function to ...
19323         * manual/timeval_subtract.c.texi: ... here, new file.
19324
19325 2012-03-02  David S. Miller  <davem@davemloft.net>
19326
19327         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19328
19329 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19330
19331         [BZ #3976]
19332         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19333         (__sin): Save and restore rounding mode and use round-to-nearest
19334         for all computations.
19335         (__cos): Save and restore rounding mode and use round-to-nearest
19336         for all computations.
19337         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19338         <fenv.h>.
19339         (tan): Save and restore rounding mode and use round-to-nearest for
19340         all computations.
19341         * math/libm-test.inc (cos_test_tonearest): New function.
19342         (cos_test_towardzero): Likewise.
19343         (cos_test_downward): Likewise.
19344         (cos_test_upward): Likewise.
19345         (sin_test_tonearest): Likewise.
19346         (sin_test_towardzero): Likewise.
19347         (sin_test_downward): Likewise.
19348         (sin_test_upward): Likewise.
19349         (tan_test_tonearest): Likewise.
19350         (tan_test_towardzero): Likewise.
19351         (tan_test_downward): Likewise.
19352         (tan_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         [BZ #10135]
19358         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19359         small n, then large n, before computing and testing k+n.
19360         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19361         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19362         Likewise.
19363         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19364         Likewise.
19365         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19366         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19367         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19368         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19370         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19371         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19372         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19373         * math/libm-test.inc (scalbn_test): Add more tests.
19374         (scalbln_test): Likewise.
19375
19376         * manual/filesys.texi (mode_t): Describe constraints on size and
19377         signedness, not exact equivalence to a particular type.
19378         (ino_t): Likewise.
19379         (ino64_t): Likewise.
19380         (dev_t): Likewise.
19381         (nlink_t): Likewise.
19382         (blkcnt_t): Likewise.
19383         (blkcnt64_t): Likewise.
19384         * manual/llio.texi (off_t): Likewise.
19385
19386         [BZ #3976]
19387         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19388         (__ieee754_exp): Save and restore rounding mode and use
19389         round-to-nearest for all computations.
19390         * math/libm-test.inc (exp_test_tonearest): New function.
19391         (exp_test_towardzero): Likewise.
19392         (exp_test_downward): Likewise.
19393         (exp_test_upward): Likewise.
19394         (main): Call the new functions.
19395         * sysdeps/i386/fpu/libm-test-ulps: Update.
19396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19397
19398 2012-03-01  Chris Demetriou  <cgd@google.com>
19399
19400         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19401         have predictable order.
19402
19403 2012-03-01  David S. Miller  <davem@davemloft.net>
19404
19405         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19406
19407         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19408         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19409         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19410         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19411
19412         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19413         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19414         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19416         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19417         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19418         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19419         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19420         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19421
19422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19423
19424         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19425         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19426         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19427
19428         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19429         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19430         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19431         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19432         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19433         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19435         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19436         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19437         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19438         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19439         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19441         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19442         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19444         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19445         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19446         * sysdeps/sparc/elf/configure: Regenerated.
19447
19448 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19449
19450         * configure.in (AS, LD): Require binutils 2.20 or later.
19451         * configure: Regenerated.
19452         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19453         as required minimum version.
19454         * INSTALL: Regenerated.
19455
19456         [BZ #2541]
19457         [BZ #4108]
19458         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19459         before squaring exponent.
19460         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19461         bottom long double and 27 bits of top long double before squaring
19462         exponent.
19463         * math/libm-test.inc (erfc_test): Add more tests.
19464         * sysdeps/i386/fpu/libm-test-ulps: Update.
19465         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19467
19468 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19469
19470         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19471         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19472         containing bit-fields.
19473         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19474         * soft-fp/single.h (_FP_UNION_S): Likewise.
19475         * soft-fp/double.h (_FP_UNION_D): Likewise.
19476
19477 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19478
19479         [BZ #13786]
19480         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19481         not include ../strcmp.S.
19482         [USE_AS_STRNCASECMP_L]: Likewise.
19483         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19484         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19485         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19486         (__strncasecmp_l_ia32): Define as alias to
19487         __strncasecmp_l_nonascii.
19488
19489         [BZ #5794]
19490         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19491         * sysdeps/i386/fpu/libm-test-ulps: Update.
19492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19493
19494         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19496
19497 2012-02-29  Jeff Law  <law@redhat.com>
19498
19499         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19500         out of bounds read.
19501
19502 2012-02-29  Marek Polacek  <polacek@redhat.com>
19503
19504         [BZ #13706]
19505         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19506         * elf/Makefile: Add rules to run tst-unused-dep.out.
19507
19508 2012-02-28  David S. Miller  <davem@davemloft.net>
19509
19510         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19511         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19512         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19513         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19514         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19515         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19516
19517 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19518
19519         * math/libm-test.inc (llround_test): Move one test from
19520         lround_test.  Use TEST_f_L in moved test.
19521         (lround_test): Move misplaced test to llround_test.  Add testcase
19522         from bug 2561.
19523
19524 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19525
19526         * sysdeps/x86_64/fpu/e_expf.S: New file.
19527         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19528
19529 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19530
19531         [BZ #13637]
19532         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19533         of remain_len that may cause incomplete multi-byte character and
19534         false match.
19535         * posix/bug-regex33.c: New file.
19536         * posix/Makefile (tests): Add bug-regex33.
19537
19538 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19539
19540         * manual/macros.texi: New file.
19541         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19542         * manual/libc.texinfo: Include macros.texi.
19543         * manual/creatute.texi: Likewise.
19544         * manual/install.texi: Likewise.
19545         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19546         @glibcadj{} in references to the GNU C Library.
19547         * manual/charset.texi: Likewise.
19548         * manual/conf.texi: Likewise.
19549         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19550         when not using those macros.
19551         * manual/creature.texi: Likewise.
19552         * manual/crypt.texi: Likewise.
19553         * manual/errno.texi: Likewise.
19554         * manual/filesys.texi: Likewise.
19555         * manual/header.texi: Likewise.
19556         * manual/install.texi: Likewise.
19557         * manual/intro.texi: Likewise.
19558         * manual/io.texi: Likewise.
19559         * manual/job.texi: Likewise.
19560         * manual/lang.texi: Likewise.
19561         * manual/libc.texiinfo: Likewise.
19562         * manual/llio.texi: Likewise.
19563         * manual/locale.texi: Likewise.
19564         * manual/maint.texi: Likewise.
19565         * manual/math.texi: Likewise.
19566         * manual/memory.texi: Likewise.
19567         * manual/message.texi: Likewise.
19568         * manual/nss.texi: Likewise.
19569         * manual/pattern.texi: Likewise.
19570         * manual/process.texi: Likewise.
19571         * manual/resource.texi: Likewise.
19572         * manual/search.texi: Likewise.
19573         * manual/setjmp.texi: Likewise.
19574         * manual/signal.texi: Likewise.
19575         * manual/socket.texi: Likewise.
19576         * manual/startup.texi: Likewise.
19577         * manual/stdio.texi: Likewise.
19578         * manual/string.texi: Likewise.
19579         * manual/sysinfo.texi: Likewise.
19580         * manual/syslog.texi: Likewise.
19581         * manual/terminal.texi: Likewise.
19582         * manual/time.texi: Likewise.
19583         * manual/users.texi: Likewise.
19584         * INSTALL: Regenerated.
19585         * NOTES: Regenerated.
19586         * sysdeps/gnu/errlist.c: Regenerated.
19587
19588 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19589
19590         * include/dirent.h: Include <dirstream.h> before
19591         <dirent/dirent.h>.
19592
19593 2012-02-28  David S. Miller  <davem@davemloft.net>
19594
19595         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19596         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19597         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19598         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19599
19600 2012-02-27  David S. Miller  <davem@davemloft.net>
19601
19602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19604         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19605         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19606
19607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19608         frame pointer instead of stack pointer relative arg slot.
19609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19610         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19611         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19612
19613 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19614
19615         [BZ #3992]
19616         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19617
19618 2012-02-27  David S. Miller  <davem@davemloft.net>
19619
19620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19624         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19625         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19626         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19627         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19628
19629 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19630
19631         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19632         later.  Allow versions 5-9.
19633         * configure: Regenerated.
19634         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19635         required minimum version and 4.6 as recommended version.  Do not
19636         mention bugs in GCC 2.7 and 2.8.
19637         * INSTALL: Regenerated.
19638
19639 2012-02-27  David S. Miller  <davem@davemloft.net>
19640
19641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19645         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19646         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19647         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19648         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19649
19650         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19651         manipulate bits before adding and subtracting TWO112[sx].
19652         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19653
19654 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19655
19656         [BZ #13775]
19657         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19658         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19659         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19660         being in POSIX, because they are in 1003.1-2008.
19661
19662         * rt/tst-aio.c: Include <fcntl.h>.
19663         * rt/tst-aio7.c: Likewise.
19664         * rt/tst-aio64.c: Likewise.
19665
19666         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19667
19668 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19669
19670         * manual/install.texi (--with-headers): Describe headers as
19671         interface headers, not private headers.
19672         (Specific advice for GNU/Linux systems): Describe use of headers
19673         from "make headers_install", not private headers from older
19674         kernels.
19675         * INSTALL: Regenerated.
19676         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19677         Change to 2.6.19.
19678         * sysdeps/unix/sysv/linux/configure: Regenerated.
19679
19680         * manual/llio.texi (fclean): Remove documentation.
19681
19682         * manual/Makefile (libc-texi-generated): New variable.  Include
19683         version.texi.
19684         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19685         $(libc-texi-generated), not duplicated list of files.
19686         (version.texi, stamp-version): New rules.
19687         (realclean): Remove $(libc-texi-generated), not individual files
19688         from that list.  Do not remove dir-add.texinfo.
19689         * manual/libc.texinfo: Comment out uses of edition numbers and
19690         references to printed manual.  Remove last-updated dates.
19691         (EDITION): Comment out.
19692         (ISBN): Likewise.
19693         (VERSION, UPDATED): Remove.
19694         (version.texi): Include.
19695
19696 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19697
19698         * sysdeps/posix/spawni.c: Include <signal.h>.
19699         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19700         * sysdeps/pthread/aio_fsync.c: Likewise.
19701
19702 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19703
19704         * conform/Makefile (tests): Run only when not cross-compiling and
19705         when fast-check is not defined.
19706
19707         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19708         * conform/data/limits.h-data: Fixes for POSIX2008.
19709         * conform/run-conformtest.sh: Run all tests.
19710         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19711         headers.
19712         * include/bits/dlfcn.h: Likewise.
19713         * include/langinfo.h: Likewise.
19714         * include/monetary.h: Likewise.
19715         * include/sys/poll.h: Likewise.
19716
19717         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19718         for __USE_GNU.
19719         * posix/spawn.h: Define __need_sigset_t.
19720         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19721         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19722         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19723         to get sigevent_t only.
19724         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19725         only for __USE_GNU.
19726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19727         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19728         process_vm_writev only for __USE_GNU.
19729         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19730
19731         * conform/Makefile: For now ignore errors from run-conformtest.
19732         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19733         POSIX to avoid namespace pollution.  Don't prepend headers.
19734         * conform/data/aio.h-data: Fixes for POSIX testing.
19735         * conform/data/fcntl.h-data: Likewise.
19736         * conform/data/glob.h-data: Likewise.
19737         * conform/data/grp.h-data: Likewise.
19738         * conform/data/pthread.h-data: Likewise.
19739         * conform/data/pwd.h-data: Likewise.
19740         * conform/data/signal.h-data: Likewise.
19741         * conform/data/spawn.h-data: Likewise.
19742         * conform/data/stdio.h-data: Likewise.
19743         * conform/data/stdlib.h-data: Likewise.
19744         * conform/data/stropts.h-data: Likewise.
19745         * conform/data/sys/mman.h-data: Likewise.
19746         * conform/data/sys/stat.h-data: Likewise.
19747         * conform/data/sys/types.h-data: Likewise.
19748         * conform/data/sys/wait.h-data: Likewise.
19749         * conform/data/time.h-data: Likewise.
19750         * conform/data/unistd.h-data: Likewise.
19751         * conform/data/utime.h-data: Likewise.
19752
19753         * io/sys/stat.h: fchmod was always in POSIX.
19754         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19755         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19756         * rt/aio.h: Define __need_timespec before including <time.h>.
19757         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19758         struct.  Add forward declaration of pthread_attr_t and use it in
19759         sigevent.
19760         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19761         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19762         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19763         always remove CLK_TCK definition.
19764
19765 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19766
19767         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19768
19769 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19770
19771         * conform/run-conformtest.sh: New file.
19772         * conform/Makefile: Run run-conformtest for tests.
19773         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19774         support.
19775
19776         * conform/data/uchar.h-data: New file.
19777         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19778         * conform/data/arpa/inet.h-data: Likewise.
19779         * conform/data/assert.h-data: Likewise.
19780         * conform/data/complex.h-data: Likewise.
19781         * conform/data/cpio.h-data: Likewise.
19782         * conform/data/ctype.h-data: Likewise.
19783         * conform/data/dirent.h-data: Likewise.
19784         * conform/data/dlfcn.h-data: Likewise.
19785         * conform/data/errno.h-data: Likewise.
19786         * conform/data/fcntl.h-data: Likewise.
19787         * conform/data/float.h-data: Likewise.
19788         * conform/data/fmtmsg.h-data: Likewise.
19789         * conform/data/fnmatch.h-data: Likewise.
19790         * conform/data/ftw.h-data: Likewise.
19791         * conform/data/glob.h-data: Likewise.
19792         * conform/data/grp.h-data: Likewise.
19793         * conform/data/iconv.h-data: Likewise.
19794         * conform/data/inttypes.h-data: Likewise.
19795         * conform/data/langinfo.h-data: Likewise.
19796         * conform/data/libgen.h-data: Likewise.
19797         * conform/data/limits.h-data: Likewise.
19798         * conform/data/locale.h-data: Likewise.
19799         * conform/data/math.h-data: Likewise.
19800         * conform/data/monetary.h-data: Likewise.
19801         * conform/data/mqueue.h-data: Likewise.
19802         * conform/data/ndbm.h-data: Likewise.
19803         * conform/data/net/if.h-data: Likewise.
19804         * conform/data/netdb.h-data: Likewise.
19805         * conform/data/netinet/in.h-data: Likewise.
19806         * conform/data/nl_types.h-data: Likewise.
19807         * conform/data/poll.h-data: Likewise.
19808         * conform/data/pthread.h-data: Likewise.
19809         * conform/data/pwd.h-data: Likewise.
19810         * conform/data/regex.h-data: Likewise.
19811         * conform/data/sched.h-data: Likewise.
19812         * conform/data/search.h-data: Likewise.
19813         * conform/data/semaphore.h-data: Likewise.
19814         * conform/data/setjmp.h-data: Likewise.
19815         * conform/data/signal.h-data: Likewise.
19816         * conform/data/spawn.h-data: Likewise.
19817         * conform/data/stdarg.h-data: Likewise.
19818         * conform/data/stdio.h-data: Likewise.
19819         * conform/data/stdlib.h-data: Likewise.
19820         * conform/data/string.h-data: Likewise.
19821         * conform/data/strings.h-data: Likewise.
19822         * conform/data/stropts.h-data: Likewise.
19823         * conform/data/sys/ipc.h-data: Likewise.
19824         * conform/data/sys/mman.h-data: Likewise.
19825         * conform/data/sys/msg.h-data: Likewise.
19826         * conform/data/sys/resource.h-data: Likewise.
19827         * conform/data/sys/select.h-data: Likewise.
19828         * conform/data/sys/sem.h-data: Likewise.
19829         * conform/data/sys/shm.h-data: Likewise.
19830         * conform/data/sys/socket.h-data: Likewise.
19831         * conform/data/sys/stat.h-data: Likewise.
19832         * conform/data/sys/statvfs.h-data: Likewise.
19833         * conform/data/sys/time.h-data: Likewise.
19834         * conform/data/sys/timeb.h-data: Likewise.
19835         * conform/data/sys/times.h-data: Likewise.
19836         * conform/data/sys/types.h-data: Likewise.
19837         * conform/data/sys/uio.h-data: Likewise.
19838         * conform/data/sys/un.h-data: Likewise.
19839         * conform/data/sys/utsname.h-data: Likewise.
19840         * conform/data/sys/wait.h-data: Likewise.
19841         * conform/data/syslog.h-data: Likewise.
19842         * conform/data/tar.h-data: Likewise.
19843         * conform/data/termios.h-data: Likewise.
19844         * conform/data/utime.h-data: Likewise.
19845         * conform/data/utmpx.h-data: Likewise.
19846         * conform/data/varargs.h-data: Likewise.
19847         * conform/data/wchar.h-data: Likewise.
19848         * conform/data/wctype.h-data: Likewise.
19849         * conform/data/wordexp.h-data: Likewise.
19850
19851         * include/stropts.h: New file.
19852         * include/uchar.h: New file.
19853         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19854         * include/assert.h: Likewise.
19855         * include/ctype.h: Likewise.
19856         * include/dirent.h: Likewise.
19857         * include/dlfcn.h: Likewise.
19858         * include/fcntl.h: Likewise.
19859         * include/fnmatch.h: Likewise.
19860         * include/glob.h: Likewise.
19861         * include/grp.h: Likewise.
19862         * include/libio.h: Likewise.
19863         * include/locale.h: Likewise.
19864         * include/math.h: Likewise.
19865         * include/net/if.h: Likewise.
19866         * include/netdb.h: Likewise.
19867         * include/netinet/in.h: Likewise.
19868         * include/pthread.h: Likewise.
19869         * include/pwd.h: Likewise.
19870         * include/regex.h: Likewise.
19871         * include/sched.h: Likewise.
19872         * include/search.h: Likewise.
19873         * include/setjmp.h: Likewise.
19874         * include/signal.h: Likewise.
19875         * include/stdio.h: Likewise.
19876         * include/stdlib.h: Likewise.
19877         * include/string.h: Likewise.
19878         * include/sys/cdefs.h: Likewise.
19879         * include/sys/mman.h: Likewise.
19880         * include/sys/msg.h: Likewise.
19881         * include/sys/resource.h: Likewise.
19882         * include/sys/select.h: Likewise.
19883         * include/sys/socket.h: Likewise.
19884         * include/sys/stat.h: Likewise.
19885         * include/sys/statvfs.h: Likewise.
19886         * include/sys/time.h: Likewise.
19887         * include/sys/times.h: Likewise.
19888         * include/sys/uio.h: Likewise.
19889         * include/sys/utsname.h: Likewise.
19890         * include/sys/wait.h: Likewise.
19891         * include/termios.h: Likewise.
19892         * include/time.h: Likewise.
19893         * include/ulimit.h: Likewise.
19894         * include/unistd.h: Likewise.
19895         * include/utime.h: Likewise.
19896         * include/wchar.h: Likewise.
19897         * include/wctype.h: Likewise.
19898         * include/wordexp.h: Likewise.
19899
19900         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19901
19902         * time/time.h: TIME_UTC must be a macro.
19903         Make timespec_get available for ISO C11 only as well.
19904
19905 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19906
19907         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19908         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19909
19910 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19911
19912         * configure.in: Use -o not -a in test for unsupported multi-arch.
19913
19914 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19915
19916         * manual/texinfo.tex: Update to version 2012-01-19.16.
19917
19918 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19919
19920         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19921
19922 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19923
19924         [BZ #13738]
19925         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19926         * manual/fdl-1.3.texi: New file.
19927         * manual/fdl-1.1.texi: File removed.
19928
19929         [BZ #13738]
19930         * manual/libc.texinfo (FDL_VERSION): New @set.
19931         Use it for mention of FDL in cover text.
19932         (Documentation License): Use it in @include file name.
19933
19934 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19935             Roland McGrath  <roland@hack.frob.com>
19936
19937         [BZ #5461]
19938         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19939         not LONG_LONG_MAX and LONG_LONG_MIN.
19940         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19941         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19942         name.
19943         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19944
19945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19946
19947         [BZ #2547]
19948         [BZ #11365]
19949         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19950         manipulate bits before adding and subtracting TWO23[sx].
19951         * math/libm-test.inc (nearbyint_test): Add more tests.
19952
19953 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19954
19955         [BZ #2548]
19956         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19957         bits before adding and subtracting TWO23[sx].
19958         * math/libm-test.inc (rint_test): Add more tests.
19959         (rint_test_tonearest): Likewise.
19960         (rint_test_towardzero): Likewise.
19961         (rint_test_downward): Likewise.
19962         (rint_test_upward: Likewise.
19963
19964 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19965
19966         [BZ #10110]
19967         * include/stdc-predef.h: New file.  Extracted from features.h.
19968         * include/features.h: Include stdc-predef.h.
19969         * Makefile (headers): Add stdc-predef.h.
19970         * CONFORMANCE (Compiler limitations): Update.
19971
19972 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19973
19974         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19975
19976 2012-02-21  David S. Miller  <davem@davemloft.net>
19977
19978         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19979         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19980
19981 2012-02-20  David S. Miller  <davem@davemloft.net>
19982
19983         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19984         using a normal save/restore sequence, rather than allocating a
19985         dummy stack frame just to store a frame pointer and restore.
19986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19987
19988 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19989
19990         * manual/install.texi: Fix stray word in line-wrapped comment.
19991
19992 2012-02-20  David S. Miller  <davem@davemloft.net>
19993
19994         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19995         both binutils and gcc support GOTDATA.
19996
19997         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19998         "rd %pc" in the PIC register setup sequences.
19999
20000         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20001         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20002         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20003         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20004         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20005         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20006         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20007         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20009         (SYSCALL_ERROR_HANDLER): Likewise.
20010         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20011         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20013         (SYSCALL_ERROR_HANDLER): Likewise.
20014
20015         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20016         (HAVE_GCC_GOTDATA): New.
20017         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20018         relocation support in both binutils and gcc.
20019         * sysdeps/sparc/elf/configure: Regenerate.
20020
20021         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20022         * sysdeps/sparc/sparc32/elf/configure: Delete.
20023         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20024         * sysdeps/sparc/sparc64/elf/configure: Delete.
20025         * sysdeps/sparc/elf/configure.in: New file.
20026         * sysdeps/sparc/elf/configure: Generate.
20027
20028         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20029         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20030         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20031         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20032         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20033
20034 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20035
20036         * manual/install.texi: Do not mention specific glibc version
20037         numbers.
20038         * manual/libc.texinfo (VERSION, UPDATED): Update.
20039         (@copying): Use @copyright{} and range of years.
20040
20041 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20042
20043         [BZ #13695]
20044         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20045         [crti.S not in sysdirs] (generated): Do not append.
20046         [crti.S not in sysdirs] (omit-deps): Likewise.
20047         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20048         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20049         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20050         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20051         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20052         Likewise.
20053         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20054         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20055         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20056         * csu/defs.awk: Remove file.
20057         * sysdeps/generic/initfini.c: Likewise.
20058         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20059         variable.
20060         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20061         Likewise.
20062
20063 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20064
20065         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20066         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20067         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20068         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20069         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20070         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20071         <bits/epoll.h>.
20072         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20073         (__EPOLL_PACKED): Define to empty if not defined by
20074         <bits/epoll.h>.
20075         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20077         bits/epoll.h.
20078
20079 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20080
20081         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20082         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20083         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20084         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20085         <bits/timerfd.h>.
20086         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20088         bits/timerfd.h.
20089
20090 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20091
20092         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20093         in C locale.
20094         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20095         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20096         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20098
20099 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20100
20101         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20102         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20103
20104 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20105
20106         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20107         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20108         defined.
20109         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20110         Likewise.
20111         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20112         entry for 2.16.
20113
20114 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20115
20116         * math/w_acos.c: Use non-signaling floating-point comparisons.
20117         * math/w_acosf.c: Likewise.
20118         * math/w_acosh.c: Likewise.
20119         * math/w_acoshf.c: Likewise.
20120         * math/w_acoshl.c: Likewise.
20121         * math/w_acosl.c: Likewise.
20122         * math/w_asin.c: Likewise.
20123         * math/w_asinf.c: Likewise.
20124         * math/w_asinl.c: Likewise.
20125         * math/w_atanh.c: Likewise.
20126         * math/w_atanhf.c: Likewise.
20127         * math/w_atanhl.c: Likewise.
20128         * math/w_exp2.c: Likewise.
20129         * math/w_exp2f.c: Likewise.
20130         * math/w_exp2l.c: Likewise.
20131         * math/w_j0.c: Likewise.
20132         * math/w_j0f.c: Likewise.
20133         * math/w_j0l.c: Likewise.
20134         * math/w_j1.c: Likewise.
20135         * math/w_j1f.c: Likewise.
20136         * math/w_j1l.c: Likewise.
20137         * math/w_jn.c: Likewise.
20138         * math/w_jnf.c: Likewise.
20139         * math/w_log.c: Likewise.
20140         * math/w_log10.c: Likewise.
20141         * math/w_log10f.c: Likewise.
20142         * math/w_log10l.c: Likewise.
20143         * math/w_log2.c: Likewise.
20144         * math/w_log2f.c: Likewise.
20145         * math/w_log2l.c: Likewise.
20146         * math/w_logf.c: Likewise.
20147         * math/w_logl.c: Likewise.
20148         * math/w_sqrt.c: Likewise.
20149         * math/w_sqrtf.c: Likewise.
20150         * math/w_sqrtl.c: Likewise.
20151         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20152         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20153         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20154         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20155         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20156
20157 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20158
20159         [BZ #9739]
20160         * manual/string.texi (strnlen): Use correct parameter name in
20161         equivalent expression.
20162
20163 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20164
20165         [BZ #11174]
20166         * manual/users.texi (seteuid): Consistently use neweuid for
20167         argument name.
20168
20169 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20170
20171         [BZ #13704]
20172         * manual/nss.texi (Services in the NSS configuration): Correct
20173         list of services in example configuration file.
20174
20175 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20176
20177         [BZ #11322]
20178         * manual/arith.texi: Remove statements about negative zero
20179         behaving identically to zero.
20180
20181 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20182
20183         [BZ #5993]
20184         * manual/install.texi: Do not document upgrading from libc5.
20185
20186 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20187
20188         [BZ #4596]
20189         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20190
20191 2012-02-18  David S. Miller  <davem@davemloft.net>
20192
20193         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20194         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20195         %o7 across the call.
20196         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20197         instead.
20198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20199         SETUP_PIC_REG_LEAF.
20200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20201         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20202         * sysdeps/sparc/crtn.S: Likewise.
20203
20204 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20205
20206         * aout/Makefile: Remove.
20207
20208 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20209
20210         [BZ #13058]
20211         * manual/examples/argp-ex1.c (main): Format definition in GNU
20212         style.
20213         * manual/examples/argp-ex2.c (main): Likewise.
20214         * manual/examples/argp-ex3.c (main): Likewise.
20215         * manual/examples/argp-ex4.c (main): Likewise.
20216         * manual/examples/longopt.c (main): Use new-style prototype
20217         definition.
20218         * manual/examples/strncat.c (main): Specify return type and use
20219         (void) for arguments.
20220         * manual/examples/subopt.c (main): Use char **argv argument.
20221
20222 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20223
20224         [BZ #5077]
20225         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20226         rounding modes.
20227
20228 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20229
20230         [BZ #6907]
20231         * manual/string.texi (strchr): Change when strchrnul is
20232         recommended.
20233
20234 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20235
20236         [BZ #174]
20237         * manual/locale.texi (setlocale): Document LOCPATH.
20238
20239 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20240
20241         [BZ #10210]
20242         * manual/process.texi (execle): Move @dots{} before last argument.
20243
20244 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20245
20246         [BZ #12047]
20247         * manual/charset.texi (Generic Charset Conversion): Fix typo
20248         (LC_TYPE -> LC_CTYPE).
20249
20250 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20251
20252         [BZ #5805]
20253         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20254         (scalbnf): Likewise.
20255         (scalbnl): Likewise.
20256         (scalbln): Likewise.
20257         (scalblnf): Likewise.
20258         (scalblnl): Likewise.
20259         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20260         (vwarnx): Likewise.
20261         (verr): Likewise.
20262         (verrx): Likewise.
20263         * manual/filesys.texi (telldir): Use braces around return type.
20264         * manual/llio.texi (mmap): Add space after comma.
20265         (mmap64): Likewise.
20266         * manual/math.texi (jn): Use @var{} on parameter names.
20267         (jnf): Likewise.
20268         (jnl): Likewise.
20269         (yn): Likewise.
20270         (ynf): Likewise.
20271         (ynl): Likewise.
20272         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20273         line.
20274         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20275         "...".
20276         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20277         (sched_get_priority_max): Likewise.
20278         * manual/signal.texi (sigvec): Add space after comma.
20279         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20280         names.
20281         (if_indextoname): Likewise.
20282         (if_freenameindex): Likewise.
20283         (sendto): Use ',' instead of '.' in prototype.
20284         * manual/startup.texi (syscall): Use @dots{} instead of literal
20285         "...".
20286         * manual/stdio.texi (__fpending): Separate initial words of
20287         paragraph from @deftypefun line.
20288         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20289         "...".
20290         (vsyslog): Use @var{} on parameter names.
20291         * manual/terminal.texi (stty): Use @var{} on parameter names.
20292         * manual/users.texi (getutmp): Use @var{} on parameter names.
20293         (getutmpx): Likewise.
20294
20295 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20296
20297         [BZ #6884]
20298         * manual/stdio.texi (fopen): Fix typos in description of
20299         ",ccs=STRING".
20300
20301 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20302
20303         [BZ #4026]
20304         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20305         get clock_id definition.
20306
20307 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20308
20309         [BZ #4822]
20310         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20311         (madvise): Cast every argument to void on its own.
20312
20313 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20314
20315         [BZ #9902]
20316         * manual/startup.texi (Exit Status): Fix typo.
20317
20318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20319
20320         [BZ #10140]
20321         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20322         * manual/examples/argp-ex2.c: Likewise.
20323         * manual/examples/argp-ex3.c: Likewise.
20324
20325 2012-02-16  Richard Henderson  <rth@redhat.com>
20326
20327         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20328         * sysdeps/s390/s390-32/initfini.c: Remove.
20329         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20330         * sysdeps/s390/s390-64/initfini.c: Remove.
20331
20332 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20333
20334         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20335         compiler output for sysdeps/generic/initfini.c.
20336         * sysdeps/sh/elf/initfini.c: Remove file.
20337
20338 2012-02-16  David S. Miller  <davem@davemloft.net>
20339
20340         [BZ #11494]
20341         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20342
20343         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20344         * sysdeps/sparc/crti.S: New file.
20345         * sysdeps/sparc/crtn.S: New file.
20346         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20347         * sysdeps/sparc/sparc64/Makefile: Likewise.
20348
20349 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
20350
20351         [BZ #3335]
20352         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20353
20354 2012-02-15  Roland McGrath  <roland@hack.frob.com>
20355
20356         [BZ #4822]
20357         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20358
20359         * mach/devstream.c (cookie_io_functions_t): Macro removed.
20360         (write, read, close): Likewise.
20361         Patch by Aurelien Jarno <aurelien@aurel32.net>.
20362
20363 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
20364
20365         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20366         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20367         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20368         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20369         <bits/signalfd.h>.
20370         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20372         bits/signalfd.h.
20373
20374 2012-02-14  Marek Polacek  <polacek@redhat.com>
20375
20376         * sysdeps/x86_64/crti.S: New file.
20377         * sysdeps/x86_64/crtn.S: New file.
20378         * sysdeps/x86_64/elf/initfini.c: Remove file.
20379
20380 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20381
20382         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20383         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20384         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20385         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20386         <bits/inotify.h>.
20387         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20389         bits/inotify.h.
20390
20391 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20392
20393         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20394         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20395         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20396         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20397         <bits/eventfd.h>.
20398         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20400         bits/eventfd.h.
20401
20402 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20403
20404         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20405         __feraiseexcept instead of feraiseexcept.
20406
20407         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20408         nanosleep invocations.
20409         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20410         strings, and add error checking for a nanosleep invocations.
20411
20412 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20413
20414         Replace FSF snail mail address with URLs, as per GNU coding standards.
20415         Most of the snail mail addresses were wrong anyway, and omitting
20416         them makes the source code easier to maintain.  Almost all of the
20417         changes are to license notices and to locale LC_IDENTIFICATION
20418         addresses, except for this one:
20419         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20420         not its snail mail address.
20421
20422 2012-02-09  Richard Henderson  <rth@twiddle.net>
20423
20424         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20425         of kernel-features.h.
20426
20427         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20428
20429 2012-02-08  Marek Polacek  <polacek@redhat.com>
20430
20431         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20432         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20433         * sysdeps/gnu/_G_config.h: Likewise.
20434         * sysdeps/generic/_G_config.h: Likewise.
20435
20436 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20437
20438         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20439         tests.
20440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20441
20442         * sysdeps/powerpc/powerpc32/crti.S: New file.
20443         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20444         * sysdeps/powerpc/powerpc64/crti.S: New file.
20445         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20446
20447         * Makeconfig (have-initfini): Don't set.
20448         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20449         * configure.in (nopic_initfini): Don't substitute.
20450         * config.h.in (HAVE_INITFINI): Don't #undef.
20451         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20452         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20453
20454 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20455
20456         Support crti.S and crtn.S provided directly by architectures.
20457         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20458         [crti.S in sysdirs] (omit-deps): Likewise.
20459         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20460         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20461         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20462         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20463         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20464         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20465         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20466         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20467         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20468         compiler output for sysdeps/generic/initfini.c.
20469         * sysdeps/i386/elf/Makefile: Remove file.
20470         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20471
20472 2012-02-07  Marek Polacek  <polacek@redhat.com>
20473
20474         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20475         * sysdeps/gnu/_G_config.h: Likewise.
20476         * sysdeps/mach/hurd/_G_config.h: Likewise.
20477
20478 2012-02-07  Marek Polacek  <polacek@redhat.com>
20479
20480         * math/Makefile (tests): Add tst-CMPLX2.
20481         * math/tst-CMPLX2.c: New file.
20482
20483 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20484
20485         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20486
20487         * math/libm-test.inc (jn_test): Add missing L suffix.
20488
20489 2012-02-06  Marek Polacek  <polacek@redhat.com>
20490
20491         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20492         * sysdeps/i386/fpu/e_powf.S: Likewise.
20493         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20494         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20495         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20496         * sysdeps/i386/fpu/e_pow.S: Likewise.
20497         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20498         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20499         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20500         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20501         * sysdeps/i386/fpu/e_log2.S: Likewise.
20502         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20503         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20504         * sysdeps/i386/fpu/e_powl.S: Likewise.
20505         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20506         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20507         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20508         * sysdeps/i386/fpu/e_logl.S: Likewise.
20509         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20510         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20511         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20512         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20513         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20514         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20515         * sysdeps/i386/fpu/e_log.S: Likewise.
20516         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20517         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20518         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20519         * sysdeps/i386/fpu/e_logf.S: Likewise.
20520         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20521         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20522         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20523         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20524         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20525         * sysdeps/i386/fpu/e_log10.S: Likewise.
20526         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20527         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20528         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20529         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20530         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20531         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20532         * sysdeps/i386/asm-syntax.h: Likewise.
20533         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20534         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20535         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20536         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20537         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20538         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20539         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20540         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20541         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20542         * sysdeps/powerpc/sysdep.h: Likewise.
20543         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20544         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20545
20546 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20547
20548         [BZ #411]
20549         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20550
20551 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20552
20553         * sysdeps/i386/sysdep.h: Include <features.h>.
20554         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20555         version.
20556
20557 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20558
20559         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20560         Define.
20561         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20562         LOAD_PIC_REG_STR.
20563
20564 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20565
20566         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20567         (SETUP_PIC_REG): Use GET_PC_THUNK.
20568         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20569         macro.
20570
20571 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20572
20573         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20574         for non-PIC compilation.
20575         (SETUP_PIC_REG): Add .p2align directive.
20576         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20577         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20578         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20579         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20580         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20581         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20582         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20583         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20584         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20585         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20586         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20587         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20588         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20589         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20590         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20591         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20592         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20593         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20594         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20595         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20596         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20597         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20598         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20599         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20600         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20601         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20602         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20603         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20604         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20605         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20606         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20607         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20608         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20609         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20610         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20611         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20612         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20613         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20614         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20615         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20616         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20617
20618 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20619
20620         * math/tst-CMPLX.c: Include <stdio.h>.
20621
20622 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20623
20624         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20625         float.
20626         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20627         * sysdeps/sparc/bits/mathdef.h: Likewise.
20628
20629 2012-01-31  Marek Polacek  <polacek@redhat.com>
20630
20631         * libio/libio.h: Don't define _PARAMS.
20632         * locale/programs/config.h: Don't define PARAMS.
20633         * stdlib/strtol_l.c: Likewise.
20634         (__strtol_l): Remove PARAMS from the prototype.
20635
20636 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20637
20638         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20639         names.  Just use the correct names.  Remove unnecessary wrapper
20640         functions.
20641         * malloc/arena.c: Likewise.
20642         * malloc/hooks.c: Likewise.
20643
20644         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20645         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20646         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20647
20648 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20649
20650         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20651         into tail calls.
20652         (update_get_addr): New function.
20653         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20654         GET_ADDR_MODULE parameter.
20655
20656 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20657
20658         * crypt/cert.c: Remove __STDC__ conditionals.
20659         * crypt/crypt-entry.c: Likewise.
20660         * crypt/crypt_util.c: Likewise.
20661         * libio/filedoalloc.c: Likewise.
20662         * libio/fileops.c: Likewise.
20663         * libio/genops.c: Likewise.
20664         * libio/iofclose.c: Likewise.
20665         * libio/iofdopen.c: Likewise.
20666         * libio/iofopen.c: Likewise.
20667         * libio/iofopen64.c: Likewise.
20668         * libio/iogetdelim.c: Likewise.
20669         * libio/iopopen.c: Likewise.
20670         * libio/obprintf.c: Likewise.
20671         * libio/oldfileops.c: Likewise.
20672         * libio/oldiofclose.c: Likewise.
20673         * libio/oldiofdopen.c: Likewise.
20674         * libio/oldiofopen.c: Likewise.
20675         * libio/oldiopopen.c: Likewise.
20676         * libio/wfiledoalloc.c: Likewise.
20677         * libio/wgenops.c: Likewise.
20678         * locale/programs/xmalloc.c: Likewise.
20679         * misc/syslog.c: Likewise.
20680         * stdio-common/xbug.c: Likewise.
20681         * string/memchr.c: Likewise.
20682         * string/memcmp.c: Likewise.
20683         * string/memrchr.c: Likewise.
20684         * string/rawmemchr.c: Likewise.
20685         * sysdeps/posix/getcwd.c: Likewise.
20686         * time/strftime_l.c: Likewise.
20687
20688 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20689
20690         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20691         * config.make.in (config-cflags-sse2avx): Define.
20692         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20693         Fix typo.
20694
20695 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20696
20697         * scripts/config.guess: Update from upstream config git repository.
20698         * scripts/config.sub: Likewise.
20699
20700 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20701
20702         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20703         (EM_NUM): Update.
20704         (R_TILEPRO_*, R_TILEGX_*): New macros.
20705
20706         * scripts/firstversions.awk: Fix bug in version range handling.
20707
20708         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20709
20710         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20711
20712         * include/sys/epoll.h: New file.
20713         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20714         libc_hidden_def.
20715
20716 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20717
20718         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20719         Avoid unnecessary __WORDSIZE == 64 test.
20720         (fmaxf): Use VEX format if possible.
20721         (fmax): Likewise.
20722         (fminf): Likewise.
20723         (fmin): Likewise.
20724
20725         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20726         * math/math_private.h: Remove libc_fegetround* and
20727         libc_fesetround*.
20728         * sysdeps/i386/configure.in: Check for -msse2avx.
20729         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20730         also if SSE2AVX is defined.
20731         Remove libc_fegetround* and libc_fesetround*.
20732         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20733         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20734         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20735         of HAS_YMM_USABLE.
20736         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20737         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20739         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20740         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20741
20742         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20743
20744 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20745
20746         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20747         size is not set.
20748         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20749
20750 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20751
20752         [BZ #13618]
20753         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20754         relocation.
20755         * Makeconfig (libm): Define.
20756         * elf/Makefile: Add rules to build and run tst-relsort1.
20757         * elf/tst-relsort1.c: New file.
20758         * elf/tst-relsort1mod1.c: New file.
20759         * elf/tst-relsort1mod2.c: New file.
20760
20761 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20762
20763         * math/s_ldexp.c: Remove __STDC__ conditionals.
20764         * math/s_ldexpf.c: Likewise.
20765         * math/s_ldexpl.c: Likewise.
20766         * math/s_nextafter.c: Likewise.
20767         * math/s_nexttowardf.c: Likewise.
20768         * math/s_significand.c: Likewise.
20769         * math/s_significandf.c: Likewise.
20770         * math/s_significandl.c: Likewise.
20771         * math/w_jnl.c: Likewise.
20772         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20773         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20774         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20775         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20776         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20777         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20778         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20779         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20780         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20781         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20782         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20783         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20784         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20785         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20786         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20787         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20788         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20789         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20791         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20792         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20793         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20794         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20795         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20796         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20797         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20798         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20799         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20800         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20801         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20802         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20803         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20804         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20805         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20806         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20807         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20808         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20809         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20810         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20811         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20812         * sysdeps/ieee754/k_standard.c: Likewise.
20813         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20814         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20815         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20816         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20817         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20818         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20819         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20820         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20821         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20822         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20823         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20824         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20825         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20826         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20827         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20828         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20829         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20830         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20831         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20832         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20833         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20834         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20835         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20836         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20837         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20838         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20839         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20840         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20841         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20842         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20843         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20844         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20845         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20846         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20847         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20848         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20849         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20850         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20851         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20852         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20853         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20855         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20856         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20857         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20858         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20859         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20861         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20862         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20863         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20864         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20865         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20866         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20867         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20868         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20869         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20870         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20871         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20872         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20873         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20874         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20875         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20876         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20877         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20878         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20879         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20880         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20881         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20882         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20883         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20884         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20885         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20886         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20887         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20888         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20889         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20890         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20891         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20892         * sysdeps/ieee754/s_matherr.c: Likewise.
20893         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20894         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20896         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20897
20898 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20899
20900         * crypt/md5.h: Remove __STDC__ conditionals.
20901         * libio/libioP.h: Likewise.
20902         * locale/programs/config.h: Likewise.
20903         * sysdeps/generic/sysdep.h: Likewise.
20904         * sysdeps/i386/asm-syntax.h: Likewise.
20905         * sysdeps/s390/asm-syntax.h: Likewise.
20906         * sysdeps/unix/sysdep.h: Likewise.
20907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20909
20910 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20911
20912         * libio/libio.h: Remove __STDC__ conditionals.
20913         * malloc/obstack.h: Likewise.
20914         * math/complex.h: Likewise.
20915         * math/math.h: Likewise.
20916         * sysdeps/generic/_G_config.h: Likewise.
20917         * sysdeps/gnu/_G_config.h: Likewise.
20918         * sysdeps/mach/hurd/_G_config.h: Likewise.
20919         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20920         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20921         * sysdeps/sparc/bits/mathdef.h: Likewise.
20922
20923 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20924
20925         [BZ #13583]
20926         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20927         Clean up HAS_* macros.
20928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20929         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20930         possible.
20931         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20932         HAS_AVX.
20933         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20934         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20935         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20938
20939 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20940
20941         * elf/tst-unique3.cc (gets): Remove declaration.
20942         * elf/tst-unique3lib.cc (gets): Likewise.
20943         * elf/tst-unique3lib2.cc (gets): Likewise.
20944         * elf/tst-unique4.cc (gets): Likewise.
20945
20946 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20947
20948         * include/stdio.h: Add C++ protection.  Add gets declarations and
20949         definitions.
20950         * debug/tst-chk1.c: Don't declare gets here.
20951         * stdio-common/tst-gets.c: Likewise.
20952
20953 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20954
20955         * posix/glob: Remove directory.
20956
20957 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20958
20959         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20960
20961 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20962
20963         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20964         of the non-standard EPFNOSUPPORT.
20965
20966 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20967
20968         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20969         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20970         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20971
20972 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20973
20974         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20975
20976 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20977
20978         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20979         transient errors.
20980         * nscd/grpcache.c (cache_addgr): Likewise.
20981         * nscd/hstcache.c (cache_addhst): Likewise.
20982         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20983         * nscd/pwdcache.c (cache_addpw): Likewise.
20984         * nscd/servicescache.c (cache_addserv): Likewise.
20985
20986 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20987
20988         * malloc/malloc.c: Various cleanups.
20989         * malloc/hooks.c: Likewise.
20990
20991         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20992         * stdlib/bug-fmtmsg1.c: New file.
20993
20994         * stdlib/fmtmsg.c (init): Add missing unlock.
20995         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20996
20997 2012-01-12  Marek Polacek  <polacek@redhat.com>
20998
20999         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21000         and _GNU_SOURCE.
21001
21002 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
21003
21004         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21005         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21006         macro to ensure uniqueness of label name.
21007         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21008         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21009
21010 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
21011
21012         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21013
21014         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21015         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21016         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21017         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21018
21019 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
21020
21021         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21022
21023         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21024         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21025         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21026
21027         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21028
21029         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21030         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21031         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21032         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21033
21034         * math/bits/math-finite.h: Add ldexp support.
21035
21036 2012-01-10  Marek Polacek  <polacek@redhat.com>
21037
21038         * locale/programs/localedef.h (show_archive_content): Add noreturn
21039         attribute.
21040
21041 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
21042
21043         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21044
21045 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21046
21047         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21048
21049         * io/Makefile (headers): Add bits/poll2.h.
21050
21051 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
21052
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21054         typo #include statement.
21055
21056 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21057
21058         * include/sys/cdefs.h: Define __attribute_alloc_size.
21059         * catgets/gencat.c: Add alloc_size attribute and apply consistently
21060         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21061         * elf/pldd.c: Likewise.
21062         * iconv/iconv_charmap.c: Likewise.
21063         * iconv/iconvconfig.c: Likewise.
21064         * iconv/strtab.c: Likewise.
21065         * locale/programs/locale.c: Likewise.
21066         * locale/programs/localedef.h: Likewise.
21067         * locale/programs/simple-hash.c: Likewise.
21068         * nscd/nscd.h: Likewise.
21069         * nss/makedb.c: Likewise.
21070         * sysdeps/generic/ldconfig.h: Likewise.
21071         * locale/programs/localedef.c: Remove xmalloc prototype.
21072         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21073
21074 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21075
21076         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21077         appropriate.
21078
21079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21080
21081         * math/Makefile (tests): Add tst-CMPLX.
21082         * math/tst-CMPLX.c: New file.
21083
21084         * math/complex.h (CMPLXL): Fix typo.
21085
21086         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21087         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21088         GLIBC_2.16.
21089         * debug/tst-chk1.c: Add poll and ppoll tests.
21090         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21091         * include/sys/poll.h: Add hidden proto for ppoll.
21092         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21093         * sysdeps/mach/hurd/ppoll.c: Likewise.
21094         * io/ppoll.c: Likewise.
21095         * debug/poll_chk.c: New file.
21096         * debug/ppoll_chk.c: New file.
21097         * include/bits/poll2.h: New file.
21098         * io/bits/poll2.h: New file.
21099
21100         [BZ #1350]
21101         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21102
21103         * configure.in: static is always set to yes.  Remove.
21104         * config.make.in: Don't set build-static.
21105         * Makeconfig: Remove use of build-static.
21106         * dlfcn/Makefile: Likewise.
21107         * elf/Makefile: Likewise.
21108         * math/Makefile: Likewise.
21109         * misc/Makefile: Likewise.
21110         * nptl/Makefile: Likewise.
21111         * sysdeps/mach/hurd/Makefile: Likewise.
21112
21113         * configure.in: PWD_P is not used anymore.
21114         * config.make.in: Remove PWD_P entry.
21115
21116         * configure.in: Remove last remnants of RANLIB.
21117         No need to check for signed size_t anymore.
21118         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21119         and IA-64.
21120         Remove __builtin_expect test because we require at least gcc 3.4.
21121         * aclocal.m4: Likewise.
21122
21123         * wcsmbs/mbrtoc16.c: Implement using towc function.
21124         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21125         * wcsmbs/wcsmbsload.c: Likewise.
21126         * iconv/gconv_simple.c: Likewise.
21127         * iconv/gconv_int.h: Likewise.
21128         * iconv/gconv_builtin.h: Likewise.
21129         * iconv/iconv_prog.c: Remove CHAR16 handling.
21130
21131         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21132
21133         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21134
21135         * configure.in: Remove --with-elf and --enable-bounded options.
21136         Dont set base_machine for ia64.  More non-ELF conditions removed.
21137         Remove testing and setting of leading underscore information.
21138         * config.make.in (build-bounded): Set to no.
21139         * config.h.in: Remove NO_UNDERSCORES entry.
21140         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21141         them.
21142         * csu/start.c: Remove !NO_UNDERSCORE code.
21143         * locale/localeinfo.h: Likewise.
21144         * sysdeps/generic/machine-gmon.h: Likewise.
21145         * sysdeps/generic/sysdep.h: Likewise.
21146         * sysdeps/i386/sysdep.h: Likewise.
21147         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21148         * sysdeps/mach/sysdep.h: Likewise.
21149         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21150         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21151         * sysdeps/sh/sysdep.h: Likewise.
21152         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21153         * sysdeps/unix/i386/sysdep.S: Likewise.
21154         * sysdeps/unix/sparc/start.c: Likewise.
21155         * sysdeps/unix/sparc/sysdep.S: Likewise.
21156         * sysdeps/unix/sparc/sysdep.h: Likewise.
21157         * sysdeps/unix/start.c: Likewise.
21158         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21159         * sysdeps/x86_64/sysdep.h: Likewise.
21160
21161 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21162
21163         [BZ #13553]
21164         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21165         for non-gcc.
21166         * argp/argp-fmtstream.h: Use const instead __const.
21167         * argp/argp.h: Likewise.
21168         * assert/assert.h: Likewise.
21169         * bits/fenv.h: Likewise.
21170         * bits/sched.h: Likewise.
21171         * bits/sigset.h: Likewise.
21172         * bits/sigthread.h: Likewise.
21173         * catgets/nl_types.h: Likewise.
21174         * conform/data/pthread.h-data: Likewise.
21175         * crypt/crypt-private.h: Likewise.
21176         * crypt/crypt.h: Likewise.
21177         * crypt/crypt_util.c: Likewise.
21178         * ctype/ctype.h: Likewise.
21179         * debug/execinfo.h: Likewise.
21180         * debug/mbsnrtowcs_chk.c: Likewise.
21181         * debug/mbsrtowcs_chk.c: Likewise.
21182         * debug/wcsnrtombs_chk.c: Likewise.
21183         * debug/wcsrtombs_chk.c: Likewise.
21184         * debug/wcstombs_chk.c: Likewise.
21185         * dirent/dirent.h: Likewise.
21186         * dlfcn/dlfcn.h: Likewise.
21187         * elf/neededtest4.c: Likewise.
21188         * grp/grp.h: Likewise.
21189         * gshadow/gshadow.h: Likewise.
21190         * iconv/gconv.h: Likewise.
21191         * iconv/gconv_int.h: Likewise.
21192         * iconv/gconv_simple.c: Likewise.
21193         * iconv/iconv.h: Likewise.
21194         * iconv/loop.c: Likewise.
21195         * iconv/skeleton.c: Likewise.
21196         * include/aio.h: Likewise.
21197         * include/aliases.h: Likewise.
21198         * include/argz.h: Likewise.
21199         * include/arpa/inet.h: Likewise.
21200         * include/assert.h: Likewise.
21201         * include/dirent.h: Likewise.
21202         * include/dlfcn.h: Likewise.
21203         * include/execinfo.h: Likewise.
21204         * include/fcntl.h: Likewise.
21205         * include/fenv.h: Likewise.
21206         * include/glob.h: Likewise.
21207         * include/grp.h: Likewise.
21208         * include/libintl.h: Likewise.
21209         * include/mntent.h: Likewise.
21210         * include/netdb.h: Likewise.
21211         * include/pwd.h: Likewise.
21212         * include/rpc/netdb.h: Likewise.
21213         * include/sched.h: Likewise.
21214         * include/search.h: Likewise.
21215         * include/shadow.h: Likewise.
21216         * include/signal.h: Likewise.
21217         * include/stdio.h: Likewise.
21218         * include/stdlib.h: Likewise.
21219         * include/string.h: Likewise.
21220         * include/sys/socket.h: Likewise.
21221         * include/sys/stat.h: Likewise.
21222         * include/sys/statfs.h: Likewise.
21223         * include/sys/statvfs.h: Likewise.
21224         * include/sys/syslog.h: Likewise.
21225         * include/sys/time.h: Likewise.
21226         * include/sys/uio.h: Likewise.
21227         * include/time.h: Likewise.
21228         * include/unistd.h: Likewise.
21229         * include/utmp.h: Likewise.
21230         * include/wchar.h: Likewise.
21231         * include/wctype.h: Likewise.
21232         * inet/aliases.h: Likewise.
21233         * inet/arpa/inet.h: Likewise.
21234         * inet/netinet/ether.h: Likewise.
21235         * inet/netinet/in.h: Likewise.
21236         * intl/libintl.h: Likewise.
21237         * io/bits/fcntl2.h: Likewise.
21238         * io/fcntl.h: Likewise.
21239         * io/ftw.h: Likewise.
21240         * io/sys/poll.h: Likewise.
21241         * io/sys/stat.h: Likewise.
21242         * io/sys/statfs.h: Likewise.
21243         * io/sys/statvfs.h: Likewise.
21244         * io/utime.h: Likewise.
21245         * libio/bits/stdio.h: Likewise.
21246         * libio/bits/stdio2.h: Likewise.
21247         * libio/libio.h: Likewise.
21248         * libio/libioP.h: Likewise.
21249         * libio/stdio.h: Likewise.
21250         * locale/lc-ctype.c: Likewise.
21251         * locale/locale.h: Likewise.
21252         * login/utmp.h: Likewise.
21253         * malloc/arena.c: Likewise.
21254         * malloc/malloc.c: Likewise.
21255         * malloc/malloc.h: Likewise.
21256         * malloc/mcheck.c: Likewise.
21257         * malloc/mtrace.c: Likewise.
21258         * math/bits/mathcalls.h: Likewise.
21259         * math/fenv.h: Likewise.
21260         * math/math_private.h: Likewise.
21261         * misc/bits/error.h: Likewise.
21262         * misc/bits/syslog.h: Likewise.
21263         * misc/err.h: Likewise.
21264         * misc/error.h: Likewise.
21265         * misc/fstab.h: Likewise.
21266         * misc/mntent.h: Likewise.
21267         * misc/regexp.h: Likewise.
21268         * misc/search.h: Likewise.
21269         * misc/sgtty.h: Likewise.
21270         * misc/sys/mman.h: Likewise.
21271         * misc/sys/syslog.h: Likewise.
21272         * misc/sys/uio.h: Likewise.
21273         * misc/sys/xattr.h: Likewise.
21274         * misc/ttyent.h: Likewise.
21275         * nis/rpcsvc/ypclnt.h: Likewise.
21276         * nss/nss.h: Likewise.
21277         * posix/bits/unistd.h: Likewise.
21278         * posix/fnmatch.h: Likewise.
21279         * posix/glob.h: Likewise.
21280         * posix/sched.h: Likewise.
21281         * posix/spawn.h: Likewise.
21282         * posix/sys/wait.h: Likewise.
21283         * posix/unistd.h: Likewise.
21284         * posix/wordexp.h: Likewise.
21285         * pwd/pwd.h: Likewise.
21286         * resolv/netdb.h: Likewise.
21287         * resource/sys/resource.h: Likewise.
21288         * rt/aio.h: Likewise.
21289         * rt/bits/mqueue2.h: Likewise.
21290         * rt/mqueue.h: Likewise.
21291         * shadow/shadow.h: Likewise.
21292         * signal/signal.h: Likewise.
21293         * socket/send.c: Likewise.
21294         * socket/sendto.c: Likewise.
21295         * socket/sys/socket.h: Likewise.
21296         * stdio-common/printf.h: Likewise.
21297         * stdlib/bits/stdlib.h: Likewise.
21298         * stdlib/fmtmsg.h: Likewise.
21299         * stdlib/monetary.h: Likewise.
21300         * stdlib/stdlib.h: Likewise.
21301         * stdlib/ucontext.h: Likewise.
21302         * streams/stropts.h: Likewise.
21303         * string/argz.h: Likewise.
21304         * string/bits/string2.h: Likewise.
21305         * string/string.h: Likewise.
21306         * string/strings.h: Likewise.
21307         * sunrpc/rpc/auth.h: Likewise.
21308         * sunrpc/rpc/auth_des.h: Likewise.
21309         * sunrpc/rpc/clnt.h: Likewise.
21310         * sunrpc/rpc/netdb.h: Likewise.
21311         * sunrpc/rpc/pmap_clnt.h: Likewise.
21312         * sunrpc/rpc/xdr.h: Likewise.
21313         * sysdeps/generic/inttypes.h: Likewise.
21314         * sysdeps/generic/net/if.h: Likewise.
21315         * sysdeps/generic/sys/swap.h: Likewise.
21316         * sysdeps/gnu/net/if.h: Likewise.
21317         * sysdeps/gnu/utmpx.h: Likewise.
21318         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21319         * sysdeps/i386/i486/bits/string.h: Likewise.
21320         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21321         * sysdeps/s390/bits/string.h: Likewise.
21322         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21323         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21324         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21325         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21326         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21327         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21328         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21329         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21330         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21331         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21332         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21333         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21334         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21335         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21336         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21337         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21338         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21339         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21340         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21341         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21342         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21343         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21344         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21345         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21346         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21347         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21348         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21349         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21350         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21351         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21352         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21353         * sysvipc/sys/ipc.h: Likewise.
21354         * sysvipc/sys/msg.h: Likewise.
21355         * sysvipc/sys/sem.h: Likewise.
21356         * sysvipc/sys/shm.h: Likewise.
21357         * termios/termios.h: Likewise.
21358         * time/sys/time.h: Likewise.
21359         * time/time.h: Likewise.
21360         * wcsmbs/bits/wchar2.h: Likewise.
21361         * wcsmbs/uchar.h: Likewise.
21362         * wcsmbs/wchar.h: Likewise.
21363         * wctype/wctype.h: Likewise.
21364
21365         [BZ #13551]
21366         * Makeconfig: Remove all but ELF support including AIX support.
21367         * Makerules: Likewise.
21368         * config.h.in: Likewise.
21369         * config.make.in: Likewise.
21370         * configure: Likewise.
21371         * configure.in: Likewise.
21372         * csu/Makefile: Likewise.
21373         * csu/version.c: Likewise.
21374         * debug/Makefile: Likewise.
21375         * dlfcn/Makefile: Likewise.
21376         * elf/Makefile: Likewise.
21377         * extra-lib.mk: Likewise.
21378         * iconv/Makefile: Likewise.
21379         * include/libc-symbols.h: Likewise.
21380         * include/shlib-compat.h: Likewise.
21381         * resolv/Makefile: Likewise.
21382         * resolv/res_libc.c: Likewise.
21383         * rt/Makefile: Likewise.
21384         * sysdeps/i386/asm-syntax.h: Likewise.
21385         * sysdeps/i386/sysdep.h: Likewise.
21386         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21387         * sysdeps/mach/sysdep.h: Likewise.
21388         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21389         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21390         * sysdeps/s390/asm-syntax.h: Likewise.
21391         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21392         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21393         * sysdeps/sh/sysdep.h: Likewise.
21394         * sysdeps/unix/sparc/sysdep.h: Likewise.
21395         * sysdeps/wordsize-32/divdi3.c: Likewise.
21396         * sysdeps/x86_64/sysdep.h: Likewise.
21397
21398         * argp/Versions: Remove _argp_unlock_xxx.
21399
21400         [BZ #13559]
21401         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21402         * abilist/libBrokenLocale.abilist: Likewise.
21403         * abilist/libanl.abilist: Likewise.
21404         * abilist/libc.abilist: Likewise.
21405         * abilist/libcrypt.abilist: Likewise.
21406         * abilist/libdl.abilist: Likewise.
21407         * abilist/libm.abilist: Likewise.
21408         * abilist/libnsl.abilist: Likewise.
21409         * abilist/libpthread.abilist: Likewise.
21410         * abilist/libresolv.abilist: Likewise.
21411         * abilist/librt.abilist: Likewise.
21412         * abilist/libthread_db.abilist: Likewise.
21413         * abilist/libutil.abilist: Likewise.
21414         * abilist/libnss_db.abilist: New file.
21415
21416         * scripts/abilist.awk: Add support for indirect functions.
21417
21418         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21419
21420         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21421
21422         * shlib-versions: Remove entries for ports architectures.
21423
21424         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21425         files in ports.
21426         * elf/stackguard-macros.h: Remove support for IA-64.
21427         * elf/tst-auditmod1.c: Likewise.
21428         * sysdeps/generic/ldsodefs.h: Likewise.
21429
21430         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21431         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21432         configure files.
21433
21434         [BZ #13552]
21435         * configure.in: Remove --enable-omitfp support.
21436         * FAQ.in: Adjust.
21437         * config.make.in: Likewise.
21438         * Makeconfig: Likewise.
21439         * manual/install.texi: Likewise.
21440
21441         In case anyone cares, the IA-64 architecture could move to ports.
21442         * sysdeps/ia64/*: Removed.
21443         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21444         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21445
21446         [BZ #13555]
21447         * configure.in: Remove entries for unsupported architectures.
21448
21449         [BZ #13533]
21450         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21451         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21452         routines.
21453         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21454         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21455         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21456         fall back to using wcrtomb.
21457         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21458         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21459         renaming.
21460         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21461         * wcsmbs/tst-c16c32-1.c: New file.
21462
21463         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21464         local variable.
21465
21466         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21467
21468         * elf/tst-unique3.cc: Add explicit declaration of gets.
21469         * elf/tst-unique3lib.cc: Likewise.
21470         * elf/tst-unique3lib2.cc: Likewise.
21471         * elf/tst-unique4.cc: Likewise.
21472
21473         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21474
21475 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21476
21477         [BZ #13566]
21478         * assert/assert.h (static_assert): Don't define for C++.
21479         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21480         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21481
21482 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21483
21484         * iconv/loop.c (single loop): Fix assertion in storing of
21485         remaining bytes.
21486
21487         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21488
21489 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21490
21491         * posix/getconf.c: Update copyright year.
21492         * nss/getent.c: Likewise.
21493         * nss/makedb.c: Likewise.
21494         * iconv/iconvconfig.c: Likewise.
21495         * iconv/iconv_prog.c: Likewise.
21496         * elf/ldconfig.c: Likewise.
21497         * elf/pldd.c: Likewise.
21498         * elf/sotruss.ksh: Likewise.
21499         * catgets/gencat.c: Likewise.
21500         * csu/version.c: Likewise.
21501         * elf/ldd.bash.in: Likewise.
21502         * elf/sprof.c (print_version): Likewise.
21503         * locale/programs/locale.c: Likewise.
21504         * locale/programs/localedef.c: Likewise.
21505         * login/programs/pt_chown.c: Likewise.
21506         * nscd/nscd.c (print_version): Likewise.
21507         * debug/xtrace.sh: Likewise.
21508         * malloc/memusage.sh: Likewise.
21509         * malloc/mtrace.pl: Likewise.
21510         * debug/catchsegv.sh: Likewise.
21511
21512 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21513
21514         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21515         pure attribute.
21516
21517 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21518
21519         [BZ #13533]
21520         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21521         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21522         transformations.
21523         * iconv/gconv_int.h: Likewise.
21524         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21525         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21526         from libc for GLIBC_2.16.
21527         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21528         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21529         * wcsmbs/uchar.h: Really define mbstate_t.
21530         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21531         * wcsmbs/c16rtomb.c: New file.
21532         * wcsmbs/mbrtoc16.c: New file.
21533         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21534         for C/POSIX locale.
21535         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21536         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21537
21538         * wcsmbs/wchar.h: Add missing __restrict.
21539
21540 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21541
21542         [BZ #13532]
21543         * time/Makefile (routines): Add timespec_get.
21544         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21545         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21546         timespec for ISO C11.
21547         * time/timespec_get.c: New file.
21548         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21549         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21550
21551         [BZ #13531]
21552         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21553         * stdlib/stdlib.h: Declare aligned_alloc.
21554         * Versions.def: Add GLIBC_2.16 for libc.
21555         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21556
21557         [BZ 13527]
21558         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21559         ISO C11.
21560
21561         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21562         code.
21563
21564         [BZ #13528]
21565         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21566
21567         [BZ #13529]
21568         * assert/assert.h (static_assert): Define.
21569
21570         * version.h: Update for 2.16 development version.
21571
21572         [BZ #13526]
21573         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21574         _ISOC11_SOURCE.
21575
21576         * version.h (RELEASE): Bump for 2.15 release.
21577         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21578
21579         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21580         Patch by Marek Polacek <mpolacek@redhat.com>.
21581
21582         * bits/byteswap.h: Protect long long constants with __extension__.
21583         * sysdeps/i386/bits/byteswap.h: Likewise.
21584         * sysdeps/ia64/bits/byteswap.h: Likewise.
21585         * sysdeps/s390/bits/byteswap.h: Likewise.
21586         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21587
21588 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21589
21590         [BZ #13540]
21591         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21592         destination buffer.
21593         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21594
21595 2011-12-23  Marek Polacek  <polacek@redhat.com>
21596
21597         * elf/dl-addr.c (determine_info): Add inline keyword.
21598         * elf/tst-auditmod4b.c (check_avx): Likewise.
21599         * elf/tst-auditmod6b.c (check_avx): Likewise.
21600         * elf/tst-auditmod6c.c (check_avx): Likewise.
21601         * elf/tst-auditmod7b.c (check_avx): Likewise.
21602
21603 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21604
21605         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21606         !__SSE_MATH__.
21607
21608 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21609
21610         [BZ #13540]
21611         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21612         processing for last bytes.
21613
21614 2011-08-06  Bruno Haible  <bruno@clisp.org>
21615
21616         [BZ #13061]
21617         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21618         U+0385, not to U+1FEE.
21619
21620         [BZ #13062]
21621         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21622         entry for U+00A5 U+0301.
21623
21624 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21625
21626         [BZ #13166]
21627         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21628         buffer for the output is too small.
21629
21630         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21631         optimization.
21632
21633         [BZ #13185]
21634         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21635         SSE flags if possible.
21636
21637 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21638
21639         [BZ #13540]
21640         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21641         processing for last bytes.
21642
21643 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21644
21645         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21646         (syscall-list-default-options, syscall-list-default-condition)
21647         (syscall-list-includes): Define.
21648         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21649         list of ABIs and options and #if conditions for each ABI.  Do not
21650         handle common syscalls between ABIs specially.
21651         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21652         Remove.
21653         (syscall-list-variants, syscall-list-32bit-options)
21654         (syscall-list-32bit-condition, syscall-list-64bit-options)
21655         (syscall-list-64bit-condition): Define.
21656         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21657         (syscall-list-variants, syscall-list-32bit-options)
21658         (syscall-list-32bit-condition, syscall-list-64bit-options)
21659         (syscall-list-64bit-condition): Define.
21660         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21661         Remove.
21662         (syscall-list-variants, syscall-list-32bit-options)
21663         (syscall-list-32bit-condition, syscall-list-64bit-options)
21664         (syscall-list-64bit-condition): Define.
21665         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21666         Remove.
21667         (syscall-list-variants, syscall-list-32bit-options)
21668         (syscall-list-32bit-condition, syscall-list-64bit-options)
21669         (syscall-list-64bit-condition): Define.
21670
21671 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21672
21673         * locale/iso-639.def: Add brx entry.
21674
21675         [BZ #13328]
21676         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21677         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21678
21679         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21680         __feraiseexcept_renamed.
21681
21682 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21683
21684         [BZ #13538]
21685         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21686         EPOLLET with unsigned values.
21687         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21688         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21689
21690         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21691         to large cancellation.
21692         * math/s_cacoshf.c: Likewise.
21693         * math/s_cacoshl.c: Likewise.
21694
21695 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21696
21697         [BZ #13305]
21698         [BZ #12786]
21699         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21700         * math/s_cacoshf.c: Likewise.
21701         * math/s_cacoshl.c: Likewise.
21702
21703 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21704
21705         [BZ #13439]
21706         * iconv/gconv.h: Define __GCONV_SWAP.
21707         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21708         * iconvdata/utf-16.c: Likewise.
21709         * iconvdata/utf-32.c: Likewise.
21710
21711 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21712
21713         [BZ #13524]
21714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21715         numerator after shifting it by one limb.
21716
21717 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21718
21719         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21720         under [__USE_EXTERN_INLINES].
21721
21722 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21723
21724         [BZ #13446]
21725         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21726
21727 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21728
21729         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21730         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21731         optimized code.
21732         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21733         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21734         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21735         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21736         for strncasecmp/strncasecmp_l compilation.
21737         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21738         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21739
21740 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21741
21742         [BZ #13484]
21743         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21744         of __asm__.
21745
21746 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21747
21748         [BZ #13506]
21749         * time/tzfile.c (__tzfile_read): Check values from file header.
21750
21751 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21752
21753         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21754         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21755         * powerpc/powerpc32/dl-start.S: Likewise.
21756         * powerpc/powerpc32/elf/start.S: Likewise.
21757         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21758         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21759         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21760         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21761         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21762         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21763         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21764         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21765         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21766         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21767         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21768         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21769         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21770         * powerpc/powerpc32/memset.S: Likewise.
21771         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21772         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21773         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21774         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21775         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21776         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21777         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21778         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21779         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21780         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21781         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21782         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21783         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21784
21785 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21786
21787         * math/libm-test.inc: Added more nearbyint tests.
21788         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21789         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21790         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21791         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21792
21793 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21794
21795         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21796         FD_CLOEXEC.
21797
21798 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21799
21800         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21801         Add wcscpy-ssse3 wcscpy-c.
21802         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21803         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21804         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21805         * sysdeps/x86_64/wcschr.S: New file.
21806         * sysdeps/x86_64/wcsrchr.S: New file.
21807         * string/test-strcmp.c: Remove checking of wcscmp function for
21808         wrong alignments.
21809         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21810         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21811         wcsrchr-sse2 wcsrchr-c.
21812         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21813         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21814         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21815         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21816         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21817         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21818         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21819         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21820         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21821         * wcsmbc/wcschr.c (WCSCHR): New macro.
21822
21823 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21824
21825         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21826         * wcsmbs/test-wcsrchr.c: New file.
21827         * string/test-strrchr.c: Add wcsrchr support.
21828         (WIDE): New macro.
21829         * wcsmbs/test-wcscpy.c: New file.
21830         * string/test-strcpy.c: Add wcscpy support.
21831         (WIDE): New macro.
21832
21833 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21834
21835         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21836         the inner loop.
21837
21838 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21839
21840         [BZ #13472]
21841         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21842
21843 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21844
21845         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21846         Minor optimizations.
21847
21848         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21849         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21850         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21851
21852 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21853
21854         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21855         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21856         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21857         for gcc to avoid warnings.
21858         * inet/Makefile (tests): Add tst-checks.
21859         * inet/tst-checks.c: New file.
21860
21861         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21862         warning.
21863
21864         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21865         __wmemcmp_sse2.
21866
21867         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21868         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21869
21870         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21871
21872 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21873
21874         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21875         problem.
21876
21877         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21878
21879 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21880
21881         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21882         conditional on GCC version.
21883         (__arch_compare_and_exchange_val_8_acq)
21884         (__arch_compare_and_exchange_val_16_acq)
21885         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21886         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21887         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21888
21889 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21890
21891         * sysdeps/sh/backtrace.c: New file.
21892
21893 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21894
21895         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21896         parenthesis.
21897
21898 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21899
21900         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21901         falling back to utime.
21902
21903 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21904
21905         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21906         expectations for float.
21907
21908 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21909
21910         * locale/weight.h (findidx): Add parameter len.
21911         * locale/weightwc.h (findidx): Likewise.
21912         * posix/fnmatch_loop.c (FCT): Adjust caller.
21913         * posix/regcomp.c (build_equiv_class): Likewise.
21914         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21915         * posix/regexec.c (check_node_accept_bytes): Likewise.
21916         * string/strcoll_l.c (STRCOLL): Likewise.
21917         * string/strxfrm_l.c (STRXFRM): Likewise.
21918
21919 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21920
21921         * Makefile.in: Remove CVSOPT handling.
21922         * configure.in: Remove use of AC_REVISION.
21923         * iconvdata/Makefile (distribute): No need to filter out CVS.
21924         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21925         handling.
21926
21927 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21928
21929         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21930         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21931         [USE_AS_STRNCASECMP_L]: Likewise.
21932         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21933         NO_TLS_DIRECT_SEG_REFS.
21934         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21935         Fix argument offsets for non-PIC.
21936         [USE_AS_STRNCASECMP_L]: Likewise.
21937         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21938         NO_TLS_DIRECT_SEG_REFS.
21939
21940 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21941
21942         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21943         O_CLOEXEC.
21944         * locale/loadlocale.c (_nl_load_locale): Likewise.
21945
21946 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21947
21948         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21949         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21950         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21951         (SYSCALL_GETTIME): Set errno on error.
21952
21953         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21954         count references to noai6ai_cached.
21955
21956 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21957
21958         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21959
21960         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21961         FD_CLOEXEC for /proc/self/maps.
21962
21963         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21964         FD_CLOEXEC for /proc/meminfo.
21965
21966         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21967         gai.conf.
21968
21969         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21970         FD_CLOEXEC for given file.
21971
21972         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21973
21974         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21975         FD_CLOEXEC for /etc/hosts.
21976         (_gethtent): Likewise.
21977
21978         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21979
21980         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21981         cancellation and set FD_CLOEXEC for /etc/netgroup.
21982
21983         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21984         reading /etc/publickey.
21985
21986         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21987         allow cancellation when reading /etc/group.
21988
21989         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21990         cancellation.
21991         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21992
21993         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21994         when using data file.
21995
21996         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21997
21998         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21999         (write_nis_obj): Use "c" and "e" in fopen.
22000
22001         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22002
22003         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22004
22005         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22006
22007         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22008
22009         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22010         locale.alias.
22011
22012         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22013
22014         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22015
22016         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22017
22018         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22019         file parsing and set FD_CLOEXEC.
22020
22021 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22022
22023         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22024
22025 2011-11-14  Andreas Schwab  <schwab@redhat.com>
22026
22027         * malloc/arena.c (arena_get2): Don't call reused_arena when
22028         _int_new_arena failed.
22029
22030 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22031
22032         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22033         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22034         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22035         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22036         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22037         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22038         to compile strcasecmp and strncasecmp.
22039         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22040         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22041
22042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22043
22044 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
22045
22046         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22047         locale-defines.sym to gen-as-const-headers.
22048         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22049         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22050         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22051         to compile strcasecmp and strncasecmp.
22052         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22053         strcasecmp_l and strncasecmp_l.
22054         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22055         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22056         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22057         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22058         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22059         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22060         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22061         * sysdeps/i386/i686/multiarch/strncase.S: New file.
22062         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22063         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22064         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22065
22066 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22067
22068         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22069         result of SYSDEP_GETTIME_CPU to retval.
22070         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22071         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22072
22073         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22074         variable.
22075
22076         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22077         mantissa words.
22078         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22079
22080         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22081         from unused variable.
22082
22083         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22084         DWARF definitions.
22085         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22086         for assembling.
22087
22088         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22089         over namespaces.
22090
22091         * sunrpc/rpc_prot.c (rejected): Fix case value.
22092
22093         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22094         unsigned long long int to avoid warnings in shift.
22095
22096         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22097         of use of trans.
22098         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22099         variable tmp.
22100
22101         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22102         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22103         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22104
22105         * nis/nis_table.c (nis_list): Use variable of correct type for
22106         result of __follow_path call.
22107
22108 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22109
22110         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22111         of math functions ceil, trunc, floor, round, and sqrt, when
22112         avaliable on the platform.
22113         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22114         name clash.
22115         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22116         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22117         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22118
22119 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22120
22121         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22122         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22123
22124 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22125
22126         * include/unistd.h: Fix __readlink return type.
22127         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22128
22129 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22130
22131         * stdlib/ucontext.h: Undo last change for makecontext.
22132
22133 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22134
22135         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22136
22137         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22138         * setjmp/setjmp.h: Mark functions as non-leaf.
22139         * setjmp/bits/setjmp2.h: Likewise.
22140         * stdlib/ucontext.h: Likewise.
22141
22142 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22143
22144         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22145         (reused_arena): Don't check arena limit.
22146         (arena_get2): Atomically check arena limit.
22147
22148 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22149
22150         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22151         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22152
22153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22154         instructions.
22155
22156 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22157
22158         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22159         handler when locking.
22160
22161         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22162         Fix size of allocated buffer.
22163
22164 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22165
22166         [BZ #10103]
22167         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22168         declarations for long double functions.
22169         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22170
22171         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22172
22173 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22174
22175         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22176         installed.
22177
22178         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22179         is disabled.
22180
22181 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22182
22183         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22184
22185 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22186
22187         * include/alloca.h (stackinfo_alloca_round): Define.
22188         (extend_alloca): Use it.
22189         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22190         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22191         here.
22192
22193         * scripts/check-local-headers.sh: Ignore libaudit.h.
22194
22195         * nscd/Makefile (extra-objs): Make recursively expanded.
22196
22197 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22198
22199         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22200         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22201
22202         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22203         * posix/tst-rfc3484-2.c: Likewise.
22204         * posix/tst-rfc3484-3.c: Likewise.
22205
22206         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22207         process_vm_writev.
22208         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22209         process_vm_writev.
22210         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22211         process_vm_writev from libc using GLIBC_2.15 version.
22212
22213         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22214
22215 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22216
22217         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22218         stack usage.
22219
22220 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22221
22222         [BZ #13367]
22223         * nss/getent.c (initgroups_keys): Show error message in case no group
22224         names are given.
22225
22226         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22227         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22228         __bump_nl_timestamp.
22229         * nscd/connections (nscd_init): When host database is served open
22230         netlink socket and request notification about configuration changes.
22231         (main_loop_poll): Track netlink file descriptor and bump timestamp
22232         in case data becomes available.
22233         (main_loop_epoll): Likewise.
22234         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22235         (database_pers_head): Add extra_data fileds.
22236         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22237         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22238         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22239         Adjust caller.
22240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22241         in6ai data, call __free_in6ai.
22242         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22243         Add -DHAVE_NETLINK.
22244         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22245         interface information.  Reuse previous data if netlink timestamp
22246         is not changed.
22247         (__bump_nl_timestamp): New function.
22248         (__free_in6ai): New function.
22249
22250 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22251
22252         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22253         close_not_cancel_no_status here.
22254         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22255
22256 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22257
22258         [BZ #13276]
22259         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22260         return value.
22261
22262         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22263         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22264         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22265
22266 2011-07-03  Andreas Jaeger  <aj@suse.de>
22267
22268         [BZ #10709]
22269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22270         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22271         * math/libm-test.inc (sin_test): Add test case.
22272
22273 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22274
22275         [BZ #13337]
22276         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22277         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22278
22279         * elf/chroot_canon.c (chroot_canon): Cleanups.
22280
22281         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22282
22283         [BZ #13335]
22284         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22285         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22286
22287         * string/test-strchr.c: Make usable for strchrnul testing.
22288         * string/test-strchrnul.c: New file.
22289         * string/Makefile (strop-tests): Add strchrnul.
22290
22291         * po/it.po: Update from translation team.
22292         * po/es.po: Likewise.
22293
22294 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22295
22296         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22297         the three constants needed as parameters.  Drop the others.
22298         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22299         __m128i_strloadu_tolower.
22300         Create and initialize variable zero and use it in all the places
22301         where _mm_setzero_si128 was used.
22302
22303         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22304         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22305         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22306         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22307         anymore.
22308         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22309         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22310         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22311         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22312         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22313         __mpranred, __mptan.
22314         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22315         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22316         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22317         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22318         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22319         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22320         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22321         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22322         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22323
22324 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22325
22326         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22327         redefine if SHARED.
22328         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22329
22330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22331         wide char related routines to wcsmbs subdir.
22332
22333 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22334
22335         [BZ #13344]
22336         * misc/sys/cdefs.h (__THROWNL): Define.
22337         * posix/unistd.h: Use __THREADNL instead of __THREAD
22338         for memory synchronization functions.
22339
22340 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22341
22342         [BZ #13349]
22343         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22344         doesn't exist.
22345         * manual/stdio.texi (Obstack Streams): Node removed.
22346
22347 2011-10-26  Andreas Schwab  <schwab@redhat.com>
22348
22349         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22350         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22351         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22352
22353         * math/math_private.h (math_force_eval): Allow non-addressable
22354         arguments.
22355         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22356
22357 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22358
22359         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22360         file is not needed.
22361
22362         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22363         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22364         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22365         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22366         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22367         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22368         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22369         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22370         Add AVX variants.
22371         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22372         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22373         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22374         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22375         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22376         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22377         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22378         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22379         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22380         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22381         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22382         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22383         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22384         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22385         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22386         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22387         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22388         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22389         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22390
22391         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22392         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22393
22394         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22395         place.  Use VEX encoding when compiling for AVX.
22396
22397 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22398
22399         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22400         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22401
22402         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22403
22404 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22405
22406         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22407         useless if() expression.
22408         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22409         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22410         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22411         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22412         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22413         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22414         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22415         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22416         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22417         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22418         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22419         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22420         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22421         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22422         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22423         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22424         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22426         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22427
22428         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22429
22430 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22431
22432         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22433         condition.
22434         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22435
22436 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22437
22438         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22439         .text section.  Avoid duplicate constants.
22440         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22442         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22444         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22445         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22446         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22447         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22448         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22449         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22450         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22452         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22453         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22454         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22455         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22456         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22457         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22458         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22459         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22460         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22461         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22462         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22463         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22464         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22465         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22466         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22467         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22468         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22469         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22470         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22471         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22472         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22473         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22474         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22475         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22476         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22477         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22478         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22479         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22480         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22481         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22482         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22483         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22484         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22485
22486 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22487
22488         * sysdeps/x86_64/dla.h: Move to ...
22489         * sysdeps/x86_64/fpu/dla.h: ...here.
22490         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22491         situations.  Use __builtin_fma only for gcc 4.6 and up.
22492
22493         * config.make.in: Add have-mfma4 entry.
22494         * configure.in: Substitute libc_cv_cc_fma4.
22495         * math/Makefile (dbl-only-routines): Add sincostab.
22496         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22497         Use __sincostab not sincos.
22498         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22499         name is a macro.
22500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22504         using __copysign.
22505         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22506         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22507         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22508         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22509         and __inv.
22510         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22511         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22512         __copysign.
22513         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22514         define aliases when function name is a macro.
22515         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22516         sysdeps/ieee754/dbl-64/sincos.tbl.
22517         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22518         fma4-enabled routines.
22519         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22520         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22521         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22522         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22523         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22524         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22525         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22526         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22527         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22528         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22529         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22530         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22531         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22532         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22533         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22534         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22535         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22536         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22537         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22538         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22539         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22540         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22541         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22542         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22543         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22544         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22545         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22546         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22547         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22548         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22549
22550         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22551         rename.
22552         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22553         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22557         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22558         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22559         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22560
22561 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22562
22563         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22564
22565 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22566
22567         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22568
22569         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22570         prediction.
22571         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22572
22573         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22574         Remove unused variable magic_bits.
22575         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22576
22577         * string/strnlen.c: Define and use STRNLEN macro.
22578         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22579         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22580         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22581         * wcsmbs/wcslen.c: Define and use WCSLEN.
22582         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22583         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22584         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22585         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22586         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22587         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22588         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22589
22590 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22591
22592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22593         strnlen-sse2-no-bsf.
22594         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22595         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22596         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22597         Add strnlen support.
22598         (USE_AS_STRNLEN): New macro.
22599         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22600         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22601         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22602         * sysdeps/x86_64/wcslen.S: New file.
22603
22604 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22605
22606         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22607         XMM-moves are used for copying on small sizes.
22608
22609 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22610
22611         * wcsmbs/Makefile (strop-tests): Add wcschr.
22612         * wcsmbs/test-wcschr.c: New file.
22613         * string/test-strchr.c: Update.
22614         Add wcschr support.
22615         (WIDE): New macro.
22616
22617 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22618
22619         * wcsmbs/Makefile (strop-tests): Add wcslen.
22620         * wcsmbs/test-wcslen.c: New file.
22621         * string/test-strlen.c: Update.
22622         Add wcslen support.
22623         (WIDE): New macro.
22624
22625 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22626
22627         * po/it.po: Update from translation team.
22628
22629 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22630
22631         * sysdeps/x86_64/wcscmp.S: Update.
22632         Fix wrong comparison semantics.
22633         wcscmp shall use signed comparison not unsigned.
22634         Don't use substraction to avoid overflow bug.
22635         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22636         * wcsmbc/wcscmp.c: Likewise.
22637         * string/test-strcmp.c: Likewise.
22638         Add new tests to check cases with negative values.
22639
22640 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22641
22642         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22643         * sysdeps/x86_64/dla.h: ...here.  New file.
22644         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22645         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22649         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22650         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22651         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22652         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22653
22654 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22655
22656         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22657         __ynl_finite aliases.
22658
22659 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22660
22661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22662
22663         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22664         define DLA_FMA.
22665         [DLA_FMA] (EMULV): Use DLA_FMA.
22666         [DLA_FMA] (MUL12): Use EMULV.
22667         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22668         that are not needed.
22669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22671         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22673         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22674         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22675         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22676
22677 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22678
22679         * math/s_nan.c: Undef __nan.
22680         * math/s_nanf.c: Undef __nanf.
22681         * math/s_nanl.c: Undef __nanl.
22682         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22683         "math_private.h".
22684
22685 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22686
22687         * math/s_catan.c: Add branch predictions.
22688         * math/s_catanf.c: Likewise.
22689         * math/s_catanh.c: Likewise.
22690         * math/s_catanhf.c: Likewise.
22691         * math/s_catanhl.c: Likewise.
22692         * math/s_catanl.c: Likewise.
22693         * math/s_cexp.c: Likewise.
22694         * math/s_cexpf.c: Likewise.
22695         * math/s_cexpl.c: Likewise.
22696         * math/s_clog.c: Likewise.
22697         * math/s_clog10.c: Likewise.
22698         * math/s_clog10f.c: Likewise.
22699         * math/s_clog10l.c: Likewise.
22700         * math/s_clogf.c: Likewise.
22701         * math/s_clogl.c: Likewise.
22702         * math/s_csqrt.c: Likewise.
22703         * math/s_csqrtf.c: Likewise.
22704         * math/s_csqrtl.c: Likewise.
22705         * math/s_ctanf.c: Likewise.
22706         * math/s_ctanh.c: Likewise.
22707         * math/s_ctanhf.c: Likewise.
22708         * math/s_ctanhl.c: Likewise.
22709         * math/s_ctanl.c: Likewise.
22710
22711         * math/math_private.h: Define __nan, __nanf, __nanl.
22712         * math/s_cacosh.c: Include <math_private.h>.
22713         * math/s_cacoshl.c: Likewise.
22714         * math/s_casinh.c: Likewise.
22715         * math/s_casinhf.c: Likewise.
22716         * math/s_casinhl.c: Likewise.
22717         * math/s_ccos.c: Rely entire on ccosh.
22718         * math/s_ccosf.c: Rely entire on ccoshf.
22719         * math/s_ccosl.c: Rely entirely on ccoshl.
22720         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22721         Remove tests for FE_INVALID.
22722         * math/s_ccoshf.c: Likewise.
22723         * math/s_ccoshl.c: Likewise.
22724         * math/s_csin.c: Likewise.
22725         * math/s_csinf.c: Likewise.
22726         * math/s_csinh.c Likewise.
22727         * math/s_csinhf.c: Likewise.
22728         * math/s_csinhl.c: Likewise.
22729         * math/s_csinl.c: Likewise.
22730         * math/s_ctan.c: Likewise.
22731         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22732         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22733         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22734
22735 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22736
22737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22738         compilation problems.
22739
22740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22741         __builtin_expect.
22742
22743 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22744
22745         * sysdeps/i386/configure.in: Test for -mfma4 option.
22746         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22747         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22748         COMMON_CPUID_INDEX_80000001.
22749         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22750         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22751         use it if FMA3 is not supported.
22752         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22753
22754         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22755         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22756
22757 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22758
22759         [BZ #12892]
22760         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22761         it would create a cycle with a link time dependency.
22762
22763 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22764
22765         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22766         instruction.
22767         * string/Makefile (strop-tests): Add rawmemchr.
22768         * string/test-rawmemchr.c: New file.
22769
22770         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22771         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22772         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22773         when compiling str{,n}casecmp and when AVX is available.  Hook up
22774         new optimized code in initializers.
22775
22776 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22777
22778         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22779         __feraiseexcept instead of feraiseexcept.
22780
22781 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22782
22783         * math/math_private.h: Define defaults for libc_fetestexcept and
22784         libc_feupdateenv.
22785         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22786         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22787         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22788         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22789         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22790         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22791         libc_fetestexcept and libc_feupdateenv.
22792
22793         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22794         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22795         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22796         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22797         libc_feholdexcept_setround.
22798
22799         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22800         Add s_nearbyint-c and s_nearbyintf-c.
22801         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22802         nearbyintf inlines.
22803         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22804         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22805         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22806         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22807
22808         * math/math_private.h: Define defaults for libc_fegetround,
22809         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22810         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22811         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22812         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22813         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22814         standard functions.
22815         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22816         Remove comments and hacks for old compiler versions.
22817         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22818         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22819         libc_feholdexceptl.
22820
22821 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22822
22823         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22824         (__feraiseexcept_renamed): Add __NTH.
22825         (feraiseexcept): Add __NTH.  Rename local variables to fix
22826         namespace violations.
22827
22828 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22829
22830         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22831
22832         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22833
22834         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22835         recently added interfaces.
22836         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22837
22838         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22839         about macro parameter expansion.
22840
22841         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22842         __NO_MATH_INLINES is defined.  Cleanups.
22843
22844         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22845         and __floorf is target has SSE4.1.
22846         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22847         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22848         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22849         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22850
22851         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22852         name.
22853         (floorf): Likewise.
22854
22855         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22856
22857 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22858
22859         * misc/sys/cdefs.h: Fix last change.
22860
22861         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22862         database lookup.
22863
22864 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22865
22866         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22867
22868         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22870         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22871         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22873         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22874         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22875         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22876         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22877         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22878         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22879         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22880         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22881         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22882         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22883         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22884         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22885         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22886         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22887         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22888         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22889         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22890
22891         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22892         ceil, ceilf, floor, floorf.
22893
22894         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22895         Perform IRELATIVE relocations last.
22896
22897         * elf/do-rel.h: Add another parameter nrelative, replacing the
22898         local variable with the same name.  Change name of the function
22899         to end in Rel or Rela (uppercase).
22900         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22901         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22902         elf_dynamic_do_##reloc function.
22903
22904 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22905
22906         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22907         is sufficient, at least on modern CPUs.
22908
22909         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22910
22911         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22912         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22913
22914         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22915         __expl_finite.
22916         * math/bits/math-finite.h: Add entries for exp.
22917         * math/e_expl.c: Add __*_finite alias.
22918         * sysdeps/i386/fpu/e_exp.S: Likewise.
22919         * sysdeps/i386/fpu/e_expf.S: Likewise.
22920         * sysdeps/i386/fpu/e_expl.c: Likewise.
22921         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22922         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22923         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22925         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22926         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22927         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22928
22929         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22930         is sufficient, at least on modern CPUs.
22931
22932         * ctype/ctype-info.c (__ctype_init): Define.
22933         * include/ctype.h (__ctype_init): Declare.
22934         (__ctype_b_loc): The variable is always initialized.
22935         (__ctype_toupper_loc): Likewise.
22936         (__ctype_tolower_loc): Likewise.
22937         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22938         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22939
22940 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22941
22942         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22943
22944         * configure.in: Also look in $cxxmachine/include for C++ system
22945         headers.
22946
22947 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22948
22949         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22950         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22951         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22952         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22953         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22954         (USE_AS_WMEMCMP): New macro.
22955         Fixing indents.
22956         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22957         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22958         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22959         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22961         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22962         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22963         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22964         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22965         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22966         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22967         (USE_AS_WMEMCMP): New macro.
22968         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22969         * sysdeps/string/test-memcmp.c: Update.
22970         Fix simple_wmemcmp.
22971         Add new tests.
22972         * wcsmbs/wmemcmp.c: Update.
22973         (WMEMCMP): New macro.
22974         Fix overflow bug.
22975
22976 2011-10-12  Andreas Jaeger  <aj@suse.de>
22977
22978         [BZ #13268]
22979         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22980
22981 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22982
22983         * libio/iofwide.c (do_length): Avoid warning.
22984
22985         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22986
22987 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22988
22989         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22990
22991         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22992         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22993         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22994         * sysdeps/i386/i686/fpu/e_log.S: New file.
22995         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22996         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22997
22998         * ctype/ctype.h: Add support for inlined isXXX functions when
22999         compiling C++ code.
23000
23001 2011-10-14  Andreas Schwab  <schwab@redhat.com>
23002
23003         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23004
23005         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23006
23007 2011-10-13  Roland McGrath  <roland@hack.frob.com>
23008
23009         [BZ #13291]
23010         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23011
23012 2011-10-13  Andreas Schwab  <schwab@redhat.com>
23013
23014         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23015         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23016         feraiseexcept.
23017
23018         * sysdeps/x86_64/memrchr.S: Check for zero size.
23019
23020         * string/stratcliff.c: Add memrchr tests.
23021
23022 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23023
23024         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23025         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23026         rawmemchr-sse2 rawmemchr-sse2-bsf.
23027         * sysdeps/i386/i686/multiarch/memchr.S: New file.
23028         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23029         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23030         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23031         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23032         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23033         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23034         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23035         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23036         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23037         * string/memrchr.c (MEMRCHR): New macro.
23038
23039 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
23040
23041         Add integration with gcc's -ffinite-math-only and optimize wrapper
23042         functions in libm.
23043         * Versions.def: Define GLIBC_2.15 version for libm.
23044         * math/Makefile (headers): Add bits/math-finite.h.
23045         * math/bits/math-finite.h: New file.
23046         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23047         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23048         * math/e_acoshl.c: Add __*_finite alias.
23049         * math/e_acosl.c: Likewise.
23050         * math/e_asinl.c: Likewise.
23051         * math/e_atan2l.c: Likewise.
23052         * math/e_atanhl.c: Likewise.
23053         * math/e_coshl.c: Likewise.
23054         * math/e_exp10.c: Likewise.
23055         * math/e_exp10f.c: Likewise.
23056         * math/e_exp10l.c: Likewise.
23057         * math/e_exp2l.c: Likewise.
23058         * math/e_fmodl.c: Likewise.
23059         * math/e_gammal_r.c: Likewise.
23060         * math/e_hypotl.c: Likewise.
23061         * math/e_j0l.c: Likewise.
23062         * math/e_j1l.c: Likewise.
23063         * math/e_jnl.c: Likewise.
23064         * math/e_lgammal_r.c: Likewise.
23065         * math/e_log10l.c: Likewise.
23066         * math/e_log2l.c: Likewise.
23067         * math/e_logl.c: Likewise.
23068         * math/e_powl.c: Likewise.
23069         * math/e_sinhl.c: Likewise.
23070         * math/e_sqrtl.c: Likewise.
23071         * math/e_scalb.c: Completely rewritten and optimized.
23072         * math/e_scalbf.c: Likewise.
23073         * math/e_scalbl.c: Likewise.
23074         * math/w_acos.c: Likewise.
23075         * math/w_acosf.c: Likewise.
23076         * math/w_acosl.c: Likewise.
23077         * math/w_acosh.c: Likewise.
23078         * math/w_acoshf.c: Likewise.
23079         * math/w_acoshl.c: Likewise.
23080         * math/w_asin.c: Likewise.
23081         * math/w_asinf.c: Likewise.
23082         * math/w_asinl.c: Likewise.
23083         * math/w_atan2.c: Likewise.
23084         * math/w_atan2f.c: Likewise.
23085         * math/w_atan2l.c: Likewise.
23086         * math/w_atanh.c: Likewise.
23087         * math/w_atanhf.c: Likewise.
23088         * math/w_atanhl.c: Likewise.
23089         * math/w_exp10.c: Likewise.
23090         * math/w_exp10f.c: Likewise.
23091         * math/w_exp10l.c: Likewise.
23092         * math/w_fmod.c: Likewise.
23093         * math/w_fmodf.c: Likewise.
23094         * math/w_fmodl.c: Likewise.
23095         * math/w_j0.c: Likewise.
23096         * math/w_j0f.c: Likewise.
23097         * math/w_j0l.c: Likewise.
23098         * math/w_j1.c: Likewise.
23099         * math/w_j1f.c: Likewise.
23100         * math/w_j1l.c: Likewise.
23101         * math/w_jn.c: Likewise.
23102         * math/w_jnf.c: Likewise.
23103         * math/w_log.c: Likewise.
23104         * math/w_logf.c: Likewise.
23105         * math/w_logl.c: Likewise.
23106         * math/w_log10.c: Likewise.
23107         * math/w_log10f.c: Likewise.
23108         * math/w_log10l.c: Likewise.
23109         * math/w_log2.c: Likewise.
23110         * math/w_log2f.c: Likewise.
23111         * math/w_log2l.c: Likewise.
23112         * math/w_pow.c: Likewise.
23113         * math/w_powf.c: Likewise.
23114         * math/w_powl.c: Likewise.
23115         * math/w_remainder.c: Likewise.
23116         * math/w_remainderf.c: Likewise.
23117         * math/w_remainderl.c: Likewise.
23118         * math/w_scalb.c: Likewise.
23119         * math/w_scalbf.c: Likewise.
23120         * math/w_scalbl.c: Likewise.
23121         * math/w_sqrt.c: Likewise.
23122         * math/w_sqrtf.c: Likewise.
23123         * math/w_sqrtl.c: Likewise.
23124         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23125         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23126         used.
23127         * math/math_private.h: Declare __kernel_standard_f.
23128         * math/w_cosh.c: Remove cruft and optimize a bit.
23129         * math/w_coshf.c: Likewise.
23130         * math/w_coshl.c: Likewise.
23131         * math/w_exp2.c: Likewise.
23132         * math/w_exp2f.c: Likewise.
23133         * math/w_exp2l.c: Likewise.
23134         * math/w_hypot.c: Likewise.
23135         * math/w_hypotf.c: Likewise.
23136         * math/w_hypotl.c: Likewise.
23137         * math/w_lgamma.c: Likewise.
23138         * math/w_lgamma_r.c: Likewise.
23139         * math/w_lgammaf.c: Likewise.
23140         * math/w_lgammaf_r.c: Likewise.
23141         * math/w_lgammal.c: Likewise.
23142         * math/w_lgammal_r.c: Likewise.
23143         * math/w_sinh.c: Likewise.
23144         * math/w_sinhf.c: Likewise.
23145         * math/w_sinhl.c: Likewise.
23146         * math/w_tgamma.c: Likewise.
23147         * math/w_tgammaf.c: Likewise.
23148         * math/w_tgammal.c: Likewise.
23149         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23150         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23151         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23152         Minor optimizations.  Pretty printing.  Remove cruft.
23153         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23154         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23155         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23156         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23157         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23158         * sysdeps/i386/fpu/e_asin.S: Likewise.
23159         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23160         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23161         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23162         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23163         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23164         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23165         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23166         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23167         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23168         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23169         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23170         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23171         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23172         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23173         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23174         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23175         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23176         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23177         * sysdeps/i386/fpu/e_log.S: Likewise.
23178         * sysdeps/i386/fpu/e_log10.S: Likewise.
23179         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23180         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23181         * sysdeps/i386/fpu/e_log2.S: Likewise.
23182         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23183         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23184         * sysdeps/i386/fpu/e_logf.S: Likewise.
23185         * sysdeps/i386/fpu/e_logl.S: Likewise.
23186         * sysdeps/i386/fpu/e_pow.S: Likewise.
23187         * sysdeps/i386/fpu/e_powf.S: Likewise.
23188         * sysdeps/i386/fpu/e_powl.S: Likewise.
23189         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23190         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23191         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23192         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23193         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23194         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23195         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23196         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23197         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23198         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23199         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23200         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23201         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23202         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23203         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23204         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23205         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23206         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23207         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23208         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23209         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23211         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23212         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23214         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23215         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23216         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23217         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23218         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23219         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23220         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23221         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23222         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23223         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23224         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23225         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23226         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23227         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23228         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23229         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23230         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23232         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23233         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23234         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23235         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23236         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23237         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23238         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23239         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23240         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23241         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23242         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23243         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23244         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23245         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23246         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23247         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23248         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23249         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23250         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23251         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23253         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23254         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23255         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23256         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23257         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23258         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23259         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23262         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23263         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23264         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23265         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23266         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23268         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23269         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23270         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23272         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23273         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23274         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23275         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23276         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23277         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23278         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23279         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23280         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23281         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23282         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23283         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23284         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23285         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23286         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23287         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23288         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23289         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23290         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23291         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23292         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23293         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23294         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23295         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23296         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23297         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23298         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23299         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23300         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23301         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23302         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23303         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23304         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23305         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23306         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23307         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23308         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23309         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23310         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23311         (__isnanf): Likewise.
23312         (__isinf_ns): Likewise.
23313         (__isinf_nsf): Likewise.
23314         (__finite): Likewise.
23315         (__finitef): Likewise.
23316         (__ieee754_sqrt): Define as macro.
23317         (__ieee754_sqrtf): Define as macro.
23318         (__ieee754_sqrtl): Define as macro.
23319         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23320         inlined copy.
23321         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23322         __FINITE_MATH_ONLY__ consistent.
23323         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23324
23325 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23326
23327         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23328         of rawmemchr.
23329
23330         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23331
23332 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23333
23334         * po/ja.po: Update from translation team.
23335
23336 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23337
23338         * locale/programs/locarchive.c (prepare_address_space): New function.
23339         (create_archive, enlarge_archive, open_archive): Use it.
23340
23341         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23342         inside [SHARED], where it is used.
23343
23344         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23345
23346         * nss/getent.c (netgroup_keys): Remove unused variable.
23347         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23348
23349 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
23350
23351         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23352         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23353         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23354         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23355         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23356         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23357         * math/Makefile (libm-calls): Add s_isinf_ns.
23358         * math/divtc3.c: Use __isinf_nsl instead of isinf.
23359         * math/multc3.c: Likewise.
23360         * math/s_casin.c: Likewise.
23361         * math/s_casinf.c: Likewise.
23362         * math/s_casinl.c: Likewise.
23363         * math/s_ccos.c: Likewise.
23364         * math/s_ccosf.c: Likewise.
23365         * math/s_ccosl.c: Likewise.
23366         * math/s_ctan.c: Likewise.
23367         * math/s_ctanf.c: Likewise.
23368         * math/s_ctanh.c: Likewise.
23369         * math/s_ctanhf.c: Likewise.
23370         * math/s_ctanhl.c: Likewise.
23371         * math/s_ctanl.c: Likewise.
23372         * math/w_fmod.c: Likewise.
23373         * math/w_fmodf.c: Likewise.
23374         * math/w_fmodl.c: Likewise.
23375         * math/w_remainder.c: Likewise.
23376         * math/w_remainderf.c: Likewise.
23377         * math/w_remainderl.c: Likewise.
23378         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23379         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23380         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23381         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23382         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23383         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23384         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23385         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23386
23387         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23388         of the number.
23389         * stdio-common/printf_fphex.c: Likewise.
23390         * stdio-common/printf_size.c: Likewise.
23391
23392         * math/e_exp10.c: Include math_private.h using <...> not "...".
23393         * math/e_exp10f.c: Likewise.
23394         * math/e_exp10l.c: Likewise.
23395         * math/e_exp2l.c: Likewise.
23396         * math/e_j0l.c: Likewise.
23397         * math/e_j1l.c: Likewise.
23398         * math/e_jnl.c: Likewise.
23399         * math/e_lgammal_r.c: Likewise.
23400         * math/e_rem_pio2l.c: Likewise.
23401         * math/e_scalb.c: Likewise.
23402         * math/e_scalbf.c: Likewise.
23403         * math/e_scalbl.c: Likewise.
23404         * math/k_cosl.c: Likewise.
23405         * math/k_sinl.c: Likewise.
23406         * math/k_tanl.c: Likewise.
23407         * math/s_cacoshf.c: Likewise.
23408         * math/s_catan.c: Likewise.
23409         * math/s_catanf.c: Likewise.
23410         * math/s_catanh.c: Likewise.
23411         * math/s_catanhf.c: Likewise.
23412         * math/s_catanhl.c: Likewise.
23413         * math/s_catanl.c: Likewise.
23414         * math/s_ccosh.c: Likewise.
23415         * math/s_ccoshf.c: Likewise.
23416         * math/s_ccoshl.c: Likewise.
23417         * math/s_cexp.c: Likewise.
23418         * math/s_cexpf.c: Likewise.
23419         * math/s_cexpl.c: Likewise.
23420         * math/s_clog.c: Likewise.
23421         * math/s_clog10.c: Likewise.
23422         * math/s_clog10f.c: Likewise.
23423         * math/s_clog10l.c: Likewise.
23424         * math/s_clogf.c: Likewise.
23425         * math/s_clogl.c: Likewise.
23426         * math/s_csin.c: Likewise.
23427         * math/s_csinf.c: Likewise.
23428         * math/s_csinh.c: Likewise.
23429         * math/s_csinhf.c: Likewise.
23430         * math/s_csinhl.c: Likewise.
23431         * math/s_csinl.c: Likewise.
23432         * math/s_csqrt.c: Likewise.
23433         * math/s_csqrtf.c: Likewise.
23434         * math/s_csqrtl.c: Likewise.
23435         * math/s_ctan.c: Likewise.
23436         * math/s_ctanf.c: Likewise.
23437         * math/s_ctanh.c: Likewise.
23438         * math/s_ctanhf.c: Likewise.
23439         * math/s_ctanhl.c: Likewise.
23440         * math/s_ctanl.c: Likewise.
23441         * math/s_ldexp.c: Likewise.
23442         * math/s_ldexpf.c: Likewise.
23443         * math/s_ldexpl.c: Likewise.
23444         * math/s_significand.c: Likewise.
23445         * math/s_significandf.c: Likewise.
23446         * math/s_significandl.c: Likewise.
23447         * math/w_acos.c: Likewise.
23448         * math/w_acosf.c: Likewise.
23449         * math/w_acosh.c: Likewise.
23450         * math/w_acoshf.c: Likewise.
23451         * math/w_acoshl.c: Likewise.
23452         * math/w_acosl.c: Likewise.
23453         * math/w_asin.c: Likewise.
23454         * math/w_asinf.c: Likewise.
23455         * math/w_asinl.c: Likewise.
23456         * math/w_atan2.c: Likewise.
23457         * math/w_atan2f.c: Likewise.
23458         * math/w_atan2l.c: Likewise.
23459         * math/w_atanh.c: Likewise.
23460         * math/w_atanhf.c: Likewise.
23461         * math/w_atanhl.c: Likewise.
23462         * math/w_cosh.c: Likewise.
23463         * math/w_coshf.c: Likewise.
23464         * math/w_coshl.c: Likewise.
23465         * math/w_dremf.c: Likewise.
23466         * math/w_exp10.c: Likewise.
23467         * math/w_exp10f.c: Likewise.
23468         * math/w_exp10l.c: Likewise.
23469         * math/w_exp2.c: Likewise.
23470         * math/w_exp2f.c: Likewise.
23471         * math/w_fmod.c: Likewise.
23472         * math/w_fmodf.c: Likewise.
23473         * math/w_fmodl.c: Likewise.
23474         * math/w_hypot.c: Likewise.
23475         * math/w_hypotf.c: Likewise.
23476         * math/w_hypotl.c: Likewise.
23477         * math/w_j0.c: Likewise.
23478         * math/w_j0f.c: Likewise.
23479         * math/w_j0l.c: Likewise.
23480         * math/w_j1.c: Likewise.
23481         * math/w_j1f.c: Likewise.
23482         * math/w_j1l.c: Likewise.
23483         * math/w_jn.c: Likewise.
23484         * math/w_jnf.c: Likewise.
23485         * math/w_jnl.c: Likewise.
23486         * math/w_lgamma.c: Likewise.
23487         * math/w_lgamma_r.c: Likewise.
23488         * math/w_lgammaf.c: Likewise.
23489         * math/w_lgammaf_r.c: Likewise.
23490         * math/w_lgammal.c: Likewise.
23491         * math/w_lgammal_r.c: Likewise.
23492         * math/w_log.c: Likewise.
23493         * math/w_log10.c: Likewise.
23494         * math/w_log10f.c: Likewise.
23495         * math/w_log10l.c: Likewise.
23496         * math/w_log2.c: Likewise.
23497         * math/w_log2f.c: Likewise.
23498         * math/w_log2l.c: Likewise.
23499         * math/w_logf.c: Likewise.
23500         * math/w_logl.c: Likewise.
23501         * math/w_pow.c: Likewise.
23502         * math/w_powf.c: Likewise.
23503         * math/w_powl.c: Likewise.
23504         * math/w_remainder.c: Likewise.
23505         * math/w_remainderf.c: Likewise.
23506         * math/w_remainderl.c: Likewise.
23507         * math/w_scalb.c: Likewise.
23508         * math/w_scalbf.c: Likewise.
23509         * math/w_scalbl.c: Likewise.
23510         * math/w_sinh.c: Likewise.
23511         * math/w_sinhf.c: Likewise.
23512         * math/w_sinhl.c: Likewise.
23513         * math/w_sqrt.c: Likewise.
23514         * math/w_sqrtf.c: Likewise.
23515         * math/w_sqrtl.c: Likewise.
23516         * math/w_tgamma.c: Likewise.
23517         * math/w_tgammaf.c: Likewise.
23518         * math/w_tgammal.c: Likewise.
23519
23520         * po/ja.po: Update from translation team.
23521
23522 2011-09-29  Andreas Jaeger  <aj@suse.de>
23523
23524         [BZ #13179]
23525         * sunrpc/netname.c (netname2host): Fix logic.
23526
23527         [BZ #6779]
23528         [BZ #6783]
23529         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23530         correctly.
23531         * math/w_remainder.c (__remainder): Likewise.
23532         * math/w_remainderf.c (__remainderf): Likewise.
23533         * math/libm-test.inc (remainder_test): Add test cases.
23534
23535 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23536
23537         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23538         sdiv_qrnnd.
23539
23540 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23541
23542         * string/test-memcmp.c: Avoid unncessary #defines.
23543         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23544
23545 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23546
23547         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23548         Use new sse2 version for core i3 - i7 as it's faster
23549         than sse42 version.
23550         (bit_Prefer_PMINUB_for_stringop): New.
23551         * sysdeps/x86_64/rawmemchr.S: Update.
23552         Replace with faster SSE2 version.
23553         * sysdeps/x86_64/memrchr.S: New file.
23554         * sysdeps/x86_64/memchr.S: Update.
23555         Replace with faster SSE2 version.
23556
23557 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23558
23559         * elf/dl-load.c (lose): Add cast to avoid warning.
23560
23561 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23562
23563         * po/ca.po: Update from translation team.
23564
23565         * inet/getnetgrent_r.c: Hook up nscd.
23566         * nscd/Makefile (routines): Add nscd_netgroup.
23567         (nscd-modules): Add netgroupcache.
23568         (CFLAGS-netgroupcache.c): Define.
23569         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23570         (cache_search): Add const to second parameter.
23571         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23572         INNETGR.
23573         (dbs): Add netgrdb entry.
23574         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23575         (verify_persistent_db): Handle netgrdb.
23576         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23577         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23578         GETFDNETGR.
23579         (netgroup_response_header): Define.
23580         (innetgroup_response_header): Define.
23581         (datahead): Add netgroup_response_header and innetgroup_response_header
23582         elements.
23583         * nscd/nscd.conf: Add entries for netgroup cache.
23584         * nscd/nscd.h (dbtype): Add netgrdb.
23585         (_PATH_NSCD_NETGROUP_DB): Define.
23586         (netgroup_iov_disabled): Declare.
23587         (xmalloc, xcalloc, xrealloc): Move declarations here.
23588         (cache_search): Adjust prototype.
23589         Add netgroup-related prototypes.
23590         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23591         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23592         (__nscd_innetgr): Declare.
23593         * nscd/selinux.c (perms): Use access_vector_t as element type and
23594         add netgroup-related initializers.
23595         * nscd/netgroupcache.c: New file.
23596         * nscd/nscd_netgroup.c: New file.
23597         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23598         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23599         For four parameters use innetgr.
23600         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23601         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23602         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23603         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23604
23605         * nscd/connections.c (register_traced_file): Don't register file
23606         for disabled databases.
23607
23608 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23609
23610         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23611
23612         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23613         from tree and freeing node.
23614
23615 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23616
23617         * nss/nsswitch.c (__nss_database_lookup): Handle
23618         nss_parse_service_list out of memory case.
23619
23620 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23621
23622         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23623         out of memory case.
23624
23625 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23626
23627         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23628         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23629         pass it down.
23630         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23631         elf_machine_rela, elf_machine_lazy_rel.
23632         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23633         (ELF_DYNAMIC_DO_REL): Likewise.
23634         (ELF_DYNAMIC_DO_RELA): Likewise.
23635         (ELF_DYNAMIC_RELOCATE): Likewise.
23636         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23637         to ELF_DYNAMIC_DO_REL.
23638         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23639         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23640         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23641         elf_machine_rela.
23642         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23643         skip_ifunc, don't call ifunc function if non-zero.
23644         (elf_machine_rela): Likewise.
23645         (elf_machine_lazy_rel): Likewise.
23646         (elf_machine_lazy_rela): Likewise.
23647         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23648         (elf_machine_lazy_rel): Likewise.
23649         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23650         Likewise.
23651         (elf_machine_lazy_rel): Likewise.
23652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23653         Likewise.
23654         (elf_machine_lazy_rel): Likewise.
23655         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23656         (elf_machine_lazy_rel): Likewise.
23657         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23658         (elf_machine_lazy_rel): Likewise.
23659         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23660         (elf_machine_lazy_rel): Likewise.
23661         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23662         (elf_machine_lazy_rel): Likewise.
23663         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23664         (elf_machine_lazy_rel): Likewise.
23665         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23666         (elf_machine_lazy_rel): Likewise.
23667
23668 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23669
23670         * nss/nss_files/files-init.c (_nss_files_init): Use static
23671         initialization for all the *_traced_file variables.
23672
23673 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23674
23675         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23676
23677 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23678
23679         [BZ #13226]
23680         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23681
23682 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23683
23684         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23685         Reread the line before reparsing it.
23686
23687 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23688
23689         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23690
23691 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23692             Maxim Kuvyrkov  <maxim@codesourcery.com>
23693             Joseph Myers  <joseph@codesourcery.com>
23694
23695         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23696         if needed for __stack_chk_guard.
23697
23698 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23699
23700         * sysdeps/posix/spawni.c (script_execute): Always define it.
23701         It will be optimized away if unused.
23702         (maybe_script_execute): New function.
23703         (__spawni): Call it.
23704
23705         * Makerules: Don't include tls.make.
23706         (config-tls): Always set to thread.
23707         * tls.make.c: File removed.
23708
23709 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23710
23711         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23712         * config.make.in (CPPFLAGS-config): New substituted variable.
23713
23714 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23715
23716         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23717
23718         [BZ #13192]
23719         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23720         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23721
23722 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23723
23724         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23725         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23726         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23727         (CALL_FAIL): Likewise.
23728         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23729         (CALL_FAIL): Macro removed.
23730         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23731
23732 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23733
23734         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23735         for __FINITE_MATH_ONLY__ == 1.
23736
23737 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23738
23739         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23740         __ieee754_sqrt instead of sqrt.
23741         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23742         __ieee754_sqrtf instead of sqrtf.
23743         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23744         __floorf instead of floorf.
23745         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23746         __floorf, __truncf instead of floorf, truncf.
23747
23748 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23749
23750         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23751
23752         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23753         __extern_always_inline.
23754         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23755         32-bit.
23756
23757 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23758
23759         * elf/rtld.c (dl_main): Also relocate in dependency order when
23760         doing symbol dependency testing.
23761
23762 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23763
23764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23765         Always define `refsym'.
23766
23767 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23768
23769         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23770         (__FD_ELT): Renamed from __FDELT.
23771         * misc/bits/select2.h (__FD_ELT): Likewise.
23772         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23773         __FD_MASK instead of __FDELT, __FDMASK.
23774         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23775         Likewise.
23776         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23777         Likewise.
23778
23779         * elf/Makefile (gen-ldd): Fix pattern.
23780
23781         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23782         (init_tls): Likewise.
23783
23784 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23785
23786         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23787
23788 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23789
23790         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23791         `struct cmsghdr *' instead of `void *'.
23792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23793         Likewise.
23794
23795 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23796
23797         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23798         if non-absolute.
23799         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23800         ldd_rewrite_script.
23801
23802 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23803
23804         * configure.in: Remove --with-tls option.
23805         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23806         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23807         out in case it is missing.
23808         * sysdeps/ia64/elf/configure.in: Likewise.
23809         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23810         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23811         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23812         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23813         * sysdeps/sh/elf/configure.in: Likewise.
23814         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23815         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23816         * sysdeps/x86_64/elf/configure.in: Likewise.
23817         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23818         * sysdeps/mach/hurd/tls.h: Likewise.
23819
23820         [BZ #13067]
23821         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23822
23823         [BZ #13090]
23824         * configure.in: Fix use of AC_INIT.
23825
23826         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23827
23828 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23829
23830         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23831         __set_errno.
23832         * malloc/hooks.c: Likewise.
23833
23834         [BZ #11929]
23835         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23836         variables statically.
23837         (narenas): Initialize.
23838         (list_lock): Initialize.
23839         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23840         initializtion of main_arena and list_lock.  Small cleanups.
23841         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23842         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23843         Add initializers to main_arena and mp_.
23844         (malloc_state): Remove pagesize member.  Change all users to use
23845         GLRO(dl_pagesize).
23846
23847         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23848         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23849         is always initialized.
23850
23851         * malloc/malloc.c: Removed unused configurations and dead code.
23852         * malloc/arena.c: Likewise.
23853         * malloc/hooks.c: Likewise.
23854         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23855
23856         * include/tls.h: Removed.  USE___THREAD must always be defined.
23857         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23858         * elf/dl-libc.c: Likewise.
23859         * elf/dl-tsd.c: Likewise.
23860         * include/errno.h: Likewise.
23861         * include/netdb.h: Likewise.
23862         * include/resolv.h: Likewise.
23863         * inet/herrno-loc.c: Likewise.
23864         * inet/herrno.c: Likewise.
23865         * malloc/arena.c: Likewise.
23866         * malloc/hooks.c: Likewise.
23867         * malloc/malloc.c: Likewise.
23868         * resolv/res-state.c: Likewise.
23869         * resolv/res_libc.c: Likewise.
23870         * sysdeps/i386/dl-machine.h: Likewise.
23871         * sysdeps/ia64/dl-machine.h: Likewise.
23872         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23873         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23874         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23875         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23876         * sysdeps/sh/dl-machine.h: Likewise.
23877         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23878         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23879         * sysdeps/unix/i386/sysdep.S: Likewise.
23880         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23881         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23886         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23887         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23888         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23890         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23891         * sysdeps/x86_64/dl-machine.h: Likewise.
23892         * tls.make.c: Likewise.
23893
23894         * configure.in: Remove --with-__thread option.  Make tests for
23895         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23896         tls_model attribute fail if no support is available.  Remove
23897         USE_IN_LIBIO.
23898         * Makeconfig: Adjust for dropped configure option.  All features are
23899         now mandatory.
23900         * Makerules: Likewise.
23901         * Versions.def: Likewise.
23902         * argp/argp-fmtstream.c: Likewise.
23903         * argp/argp-fmtstream.h: Likewise.
23904         * argp/argp-help.c: Likewise.
23905         * assert/assert.c: Likewise.
23906         * config.h.in: Likewise.
23907         * config.make.in: Likewise.
23908         * configure: Likewise.
23909         * configure.in: Likewise.
23910         * csu/Versions: Likewise.
23911         * csu/init.c: Likewise.
23912         * elf/tst-audit2.c: Likewise.
23913         * elf/tst-tls10.c: Likewise.
23914         * elf/tst-tls10.h: Likewise.
23915         * elf/tst-tls11.c: Likewise.
23916         * elf/tst-tls12.c: Likewise.
23917         * elf/tst-tls14.c: Likewise.
23918         * elf/tst-tlsmod11.c: Likewise.
23919         * elf/tst-tlsmod12.c: Likewise.
23920         * elf/tst-tlsmod13.c: Likewise.
23921         * elf/tst-tlsmod13a.c: Likewise.
23922         * elf/tst-tlsmod14a.c: Likewise.
23923         * elf/tst-tlsmod15b.c: Likewise.
23924         * elf/tst-tlsmod16a.c: Likewise.
23925         * elf/tst-tlsmod16b.c: Likewise.
23926         * elf/tst-tlsmod7.c: Likewise.
23927         * elf/tst-tlsmod8.c: Likewise.
23928         * elf/tst-tlsmod9.c: Likewise.
23929         * gmon/gmon.c: Likewise.
23930         * grp/fgetgrent_r.c: Likewise.
23931         * grp/putgrent.c: Likewise.
23932         * hurd/fopenport.c: Likewise.
23933         * include/libc-symbols.h: Likewise.
23934         * include/tls.h: Likewise.
23935         * intl/gettextP.h: Likewise.
23936         * intl/loadinfo.h: Likewise.
23937         * locale/global-locale.c: Likewise.
23938         * locale/localeinfo.h: Likewise.
23939         * mach/devstream.c: Likewise.
23940         * malloc/arena.c: Likewise.
23941         * malloc/set-freeres.c: Likewise.
23942         * misc/err.c: Likewise.
23943         * misc/getttyent.c: Likewise.
23944         * misc/mntent_r.c: Likewise.
23945         * posix/getopt.c: Likewise.
23946         * posix/wordexp.c: Likewise.
23947         * pwd/fgetpwent_r.c: Likewise.
23948         * resolv/Versions: Likewise.
23949         * resolv/res_hconf.c: Likewise.
23950         * shadow/fgetspent_r.c: Likewise.
23951         * shadow/putspent.c: Likewise.
23952         * stdio-common/printf_fphex.c: Likewise.
23953         * stdio-common/tmpfile.c: Likewise.
23954         * stdlib/abort.c: Likewise.
23955         * stdlib/fmtmsg.c: Likewise.
23956         * sunrpc/auth_unix.c: Likewise.
23957         * sunrpc/clnt_perr.c: Likewise.
23958         * sunrpc/clnt_tcp.c: Likewise.
23959         * sunrpc/clnt_udp.c: Likewise.
23960         * sunrpc/clnt_unix.c: Likewise.
23961         * sunrpc/openchild.c: Likewise.
23962         * sunrpc/svc_simple.c: Likewise.
23963         * sunrpc/svc_tcp.c: Likewise.
23964         * sunrpc/svc_udp.c: Likewise.
23965         * sunrpc/svc_unix.c: Likewise.
23966         * sunrpc/xdr.c: Likewise.
23967         * sunrpc/xdr_array.c: Likewise.
23968         * sunrpc/xdr_rec.c: Likewise.
23969         * sunrpc/xdr_ref.c: Likewise.
23970         * sunrpc/xdr_stdio.c: Likewise.
23971
23972 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23973
23974         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23975
23976 2011-07-03  Andreas Jaeger  <aj@suse.de>
23977
23978         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23979         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23980         regenerate with gen-libm-tests.pl.
23981
23982 2010-05-12  Petr Baudis  <pasky@suse.cz>
23983
23984         [BZ #11589]
23985         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23986         around j0() zero points by switching to j1().
23987         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23988         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23990         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23991
23992 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23993
23994         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23995         instead of 0.
23996         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23997         instead of 0.
23998         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23999         Patch in part by Pavel Roskin <proski@gnu.org>.
24000
24001         [BZ #13138]
24002         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24003         realloc.
24004         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
24005         Free memory block if necessary.
24006
24007         [BZ #12847]
24008         * libio/genops.c (INTDEF): For string streams the _lock pointer can
24009         be NULL.  Don't lock in this case.
24010
24011 2011-09-09  Roland McGrath  <roland@hack.frob.com>
24012
24013         * elf/elf.h (ELFOSABI_GNU): New macro.
24014         (ELFOSABI_LINUX): Define to that.
24015
24016 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
24017
24018         * string/strncat.c (strncat): Undef the symbol in case it has been
24019         defined in bits/string.h.
24020
24021 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24022
24023         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24024
24025         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24026         link map.
24027
24028 2011-08-17  Andreas Jaeger  <aj@suse.de>
24029
24030         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24031
24032 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24033             Ian Lance Taylor  <iant@google.com>
24034
24035         * math/libm-test.inc (lround_test): New testcase.
24036         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24037
24038 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
24039
24040         * Makefile: Remove support for automatic cvs check-ins.
24041         * Makerules: Likewise.
24042         * config.make.in: Likewise.
24043         * configure.in: Likewise.
24044         * intl/Makefile: Likewise.
24045         * locale/Makefile: Likewise.
24046         * po/Makefile: Likewise.
24047         * posix/Makefile: Likewise.
24048         * sysdeps/gnu/Makefile: Likewise.
24049         * sysdeps/mach/hurd/Makefile: Likewise.
24050         * sysdeps/sparc/sparc32/Makefile: Likewise.
24051
24052         [BZ #13118]
24053         * posix/Makefile (bug-regex32-ENV): Define.
24054         Patch by John Stanley <jpsinthemix@verizon.net>.
24055
24056         * misc/Makefile (headers): Add bits/select2.h.
24057         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24058         * misc/bits/select2.h: New file.
24059         * include/bits/select2.h: New file.
24060         * debug/Makefile (routines): Add fdelt_chk.
24061         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24062         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24063         FD_ISSET.
24064         * debug/fdelt_chk.c: New file.
24065
24066         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
24067         * wcsmbs/test-wmemcmp.c: Likewise.
24068         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24069         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24070
24071 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24072
24073         * string/Makefile (strop-tests): Add memcmp.
24074         * string/test-wmemcmp.c: New file.
24075         * string/test-memcmp.c: Add wmemcmp support.
24076
24077 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24078
24079         [BZ #13153]
24080         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24081         2011-07-19 change.
24082
24083         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24084         garbage value in a __mach_port_mod_refs call in the cases of the
24085         task-self and thread-self ports.
24086
24087 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24088
24089         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24090
24091 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24092
24093         * elf/dl-load.c (lose): Check for non-null L.
24094
24095 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24096
24097         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24098
24099         * elf/dl-libc.c (dlerror_run): Pass back error code from
24100         dl_catch_error.
24101
24102         [BZ #13123]
24103         * elf/dl-load.c (lose): Free l_origin if it is valid.
24104
24105         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24106         names.
24107         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24108         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24109         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24110         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24111         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24112         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24113
24114 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24115
24116         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24117         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24118         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24119         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24120         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24121         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24122         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24123         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24124         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24125         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24126
24127 2011-08-15  Alan Modra  <amodra@gmail.com>
24128
24129         [BZ #13092]
24130         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24131         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24132         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24133         ppc_mcount to static-only-routines.
24134         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24135         __mcount_internal.
24136         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24137         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24138
24139 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24140
24141         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24142         for finite and infinity parameters.
24143
24144 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24145
24146         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24147         and add nop instructions for throughput optimization.
24148         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24149
24150 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24151
24152         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24153         aligned copy for power7 with vector-scalar instructions.
24154         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24155
24156 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24157
24158         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24159         AVX check.
24160
24161 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24162
24163         [BZ #13144]
24164         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24165         last change.
24166
24167 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24168
24169         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24170         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24171         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24172         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24173         clock_gettime.
24174
24175 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24176
24177         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24178         Forgot to demangle the pointer.
24179
24180         * sysdeps/i386/sysdep.h: Define atom_text_section.
24181         * sysdeps/x86_64/sysdep.h: Likewise.
24182         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24183         section with atom_text_section.
24184         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24185         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24186         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24187         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24188         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24189
24190         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24191         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24192         already be defined.  Change to take two parameters and don't assign
24193         result to variable.  Adjust all users.
24194         Define INTERNAL_GETTIME if not already defined.
24195         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24196         call.
24197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24198         HAVE_CLOCK_GETTIME_VSYSCALL.
24199         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24200
24201         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24202         gettimeofday vsyscall, just use time.
24203
24204 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24205
24206         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24207         <errno.h>.
24208
24209 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24210
24211         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24212         syscall on x86-64.
24213         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24214         syscall.
24215         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24216         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24217         syscall if possible.
24218
24219 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24220
24221         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24222         e_ident.  Don't pass to find_mapsXX.
24223         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24224
24225 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24226
24227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24228         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24229         * sysdeps/x86_64/multiarch/strchr.S: Update.
24230         Check bit_slow_BSF bit.
24231         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24232         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24233         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24234
24235 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24236
24237         [BZ #13134]
24238         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24239         before glibc 2.15.
24240         (tryshell): Define.
24241         (__spawni): Change last parameter to be flag.  Test
24242         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24243         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24244         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24245         * posix/spawni.c: Likewise.
24246         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24247         * posix/spawnp.c: Likewise.  Change normal version to use
24248         SPAWN_XFLAGS_USE_PATH.
24249         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24250         SPAWN_XFLAGS_TRY_SHELL.
24251
24252         [BZ #13150]
24253         * posix/glob.h: Remove gcc 1.x support.
24254
24255         [BZ #13068]
24256         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24257
24258 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24259
24260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24261         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24262         strrchr-sse2-bsf
24263         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24264         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24265         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24266         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24267         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24268         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24269
24270 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24271
24272         * sysdeps/x86_64/wcscmp.S: New file.
24273
24274         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24275         wcscmp-c wcscmp-sse2
24276         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24277         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24278         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24279         * wcsmbs/wcscmp.c: Allow renaming.
24280
24281 2011-09-05  David S. Miller  <davem@davemloft.net>
24282
24283         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24284         stack slot, rather than the struct return pointer slot.
24285         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24286         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24288         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24289
24290 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24291
24292         * po/ja.po: Update from translation team.
24293
24294         [BZ #13144]
24295         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24296         kernel in 64-bit binaries.
24297
24298 2011-09-01  David S. Miller  <davem@davemloft.net>
24299
24300         * elf/elf.h (HWCAP_SPARC_*): Move to..
24301         * sysdeps/sparc/sysdep.h: this new file and add new values.
24302         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24303         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24304         _DL_HWCAP_COUNT to 24.
24305         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24306         entries.
24307         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24308         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24309         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24311         instead of magic constants.
24312         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24313
24314 2011-08-31  David S. Miller  <davem@davemloft.net>
24315
24316         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24318         Reimplement to do errno handling inline.
24319         (SYSCALL_ERROR_HANDLER): New macro.
24320         (__SYSCALL_STRING): Do not do errno handling in asm.
24321         (__CLONE_SYSCALL_STRING): Delete.
24322         (__INTERNAL_SYSCALL_STRING): Delete.
24323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24324         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24325         (PSEUDO): Reimplement to do errno handling inline.
24326         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24327         (SYSCALL_ERROR_HANDLER): New macro.
24328         (__SYSCALL_STRING): Do not do errno handling in asm.
24329         (__CLONE_SYSCALL_STRING): Delete.
24330         (__INTERNAL_SYSCALL_STRING): Delete.
24331         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24332         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24333         i386.
24334         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24335         (inline_syscall*): Add 'err' argument.
24336         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24337         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24338         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24339         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24340
24341         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24342         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24343
24344 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24345
24346         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24347
24348 2011-08-29  Jiri Olsa <jolsa@redhat.com>
24349
24350         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24351         directive.
24352
24353 2011-08-24  David S. Miller  <davem@davemloft.net>
24354
24355         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24356
24357 2011-08-24  Andreas Schwab  <schwab@redhat.com>
24358
24359         * elf/Makefile: Add rules to build and run unload8 test.
24360         * elf/unload8.c: New file.
24361         * elf/unload8mod1.c: New file.
24362         * elf/unload8mod1x.c: New file.
24363         * elf/unload8mod2.c: New file.
24364         * elf/unload8mod3.c: New file.
24365
24366         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24367         it wasn't used.
24368
24369 2011-08-23  David S. Miller  <davem@davemloft.net>
24370
24371         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24372         subtract stack bias.
24373         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24374         %sp not %fp in calculations.
24375         (_JMPBUF_UNWINDS_ADJ): Likewise.
24376
24377         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24378         (aio_suspend): Call it to force an exception region around the
24379         AIO_MISC_WAIT() invocation.
24380
24381 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24382
24383         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24384         backslash.
24385
24386 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24387
24388         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24389         protection macro.
24390         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24391         and <dl-machine.h>.
24392         (Elf64_FuncDesc): Remove.
24393
24394 2011-08-22  David S. Miller  <davem@davemloft.net>
24395
24396         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24397         sigaltstack check, add missing cfi directives.
24398         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24399         missing cfi directives, and sigaltstack handling.
24400
24401 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24402
24403         [BZ #11724]
24404         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24405         object is seen twice.
24406         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24407
24408         * elf/Makefile (distribute): Add tst-initorder2.c.
24409         (tests): Add tst-initorder2.
24410         (modules-names): Add tst-initorder2a tst-initorder2b
24411         tst-initorder2c tst-initorder2d.  Add rules to build them.
24412         ($(objpfx)tst-initorder2.out): New rule.
24413         * elf/tst-initorder2.c: New file.
24414         * elf/tst-initorder2.exp: New file.
24415
24416 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24417
24418         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24419
24420         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24421         dependencies back to end of function.
24422
24423         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24424         $(elfobjdir)/ld.so.
24425
24426 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24427
24428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24429         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24430         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24431         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24432         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24433         of __vdso_gettimeofday.
24434         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24435         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24436         attribute_hidden.
24437         (_libc_vdso_platform_setup): Remove initialization of
24438         __vdso_gettimeofday and __vdso_time.
24439
24440 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24441
24442         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24443         and fgetc_unlocked.
24444         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24445         getc_unlocked.
24446
24447         * elf/dl-open.c (add_to_global): Report additions to the global scope
24448         for LD_DEBUG=scopes.
24449         (dl_open_worker): Also print scope of newly loaded dependencies.
24450         (_dl_show_scope): Indicate if there is no scope.
24451
24452         [BZ #13114]
24453         * stdio-common/Makefile (tests): Add bug24.
24454         * stdio-common/bug24.c: New file.
24455
24456 2011-08-19  Andreas Jaeger  <aj@suse.de>
24457
24458         [BZ #13114]
24459         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24460         non-existant file when using close-on-exec mode.
24461
24462 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24463
24464         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24465         the very first instruction.
24466
24467         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24468         the CFI state in the end.
24469         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24470         inclusion of dl-trampoline.h.
24471         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24472
24473 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24474
24475         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24476         expectations for long double.
24477
24478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24479         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24480
24481 2011-08-14  David S. Miller  <davem@davemloft.net>
24482
24483         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24484         artificual limit depends upon the system page size.
24485
24486 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24487
24488         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24489         * resolv/Makefile: Define CFLAGS-libresolv.
24490
24491 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24492
24493         * nss/makedb.c (compute_tables): Make variables used in nested
24494         function static.
24495
24496 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24497
24498         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24499         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24500         if buffer was too small.
24501
24502         * elf/pldd.c (main): Attach to all threads in the process.
24503         Rewrite /proc handling to use *at functions.
24504
24505 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24506
24507         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24508         specifies first scope to show.
24509         (dl_open_worker): Update callers.  Move printing scope of new
24510         object to before the relocation.
24511         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24512         * sysdeps/generic/ldsodefs.h: Update declaration.
24513
24514         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24515         string for the scope number.
24516
24517 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24518
24519         * nscd/servicescache.c (cache_addserv): Make sure written is always
24520         initialized.
24521
24522 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24523
24524         * sysdeps/i386/i486/bits/atomic.h
24525         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24526         statement expression, so as to suppress "set but not used" warning.
24527         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24528
24529         * string/strncat.c (STRNCAT): Use prototype definition.
24530
24531         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24532         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24533         -Iprograms here.
24534         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24535         (localedef-modules): Add localedef.
24536         (locale-modules): Add locale.
24537
24538         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24539         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24540         to avoid a warning.
24541
24542 2011-08-14  David S. Miller  <davem@davemloft.net>
24543
24544         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24545         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24546
24547 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24548
24549         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24550         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24551         * elf/rtld.c (dl_main): Set l_name of vDSO.
24552         Call _dl_show_scope when DL_DEBUG_SCOPES.
24553         (process_dl_debug): Recognize scopes flag and also set it for all.
24554         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24555         Declare _dl_show_scope.
24556
24557         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24558         (do_dlopen): Pass caller_dlopen to dl_open.
24559         (__libc_dlopen_mode): Initialize caller_dlopen.
24560
24561         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24562         of libc.  Make tolower call locale-independent.  Optimize a bit by
24563         using isdigit instead of isalnum.
24564         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24565
24566 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24567
24568         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24569         was a dependency or dynamically loaded.
24570
24571 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24572
24573         * intl/l10nflist.c: Allow architecture-specific pop function.
24574         * sysdeps/x86_64/l10nflist.c: New file.
24575
24576         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24577         classification.
24578
24579 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24580
24581         * include/dirent.h: Add libc_hidden_proto for scandirat and
24582         scandirat64.  Don't declare __scandirat64.
24583         * dirent/scandirat.c: Add libc_hidden_def.
24584         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24585         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24586
24587 2011-08-10  David S. Miller  <davem@davemloft.net>
24588
24589         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24590         enum.
24591         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24592         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24593         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24594
24595 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24596
24597         * Versions.def [libc]: Add GLIBC_2.15.
24598         * dirent/Makefile (routines): Add scandirat and scandirat64.
24599         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24600         GLIBC_2.15.
24601         * dirent/dirent.h: Declare scandirat and scandirat64.
24602         * dirent/scandirat.c: New file.
24603         * dirent/scandirat64.c: New file.
24604         * sysdeps/wordsize-64/scandirat.c: New file.
24605         * sysdeps/wordsize-64/scandirat64.c: New file.
24606         * dirent/opendir.c: Define opendirat.
24607         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24608         using scandirat.
24609         * dirent/scandir64.c: Adjust for scandir.c change.
24610         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24611         __scandirat64, and __scandir_cancel_handler.
24612         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24613         additional parameter and use openat instead of open (outside of ld.so).
24614         Add new __opendir as wrapper around __opendirat.
24615         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24616         here without requiring old scandirat implementation.
24617
24618 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24619
24620         * dirent/scandir.c (cancel_handler): Renamed to
24621         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24622         defined.  Adjust users.
24623         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24624         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24625
24626 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24627
24628         * string/test-string.h (IMPL): Use __STRING to expand name and then
24629         stringify it.
24630
24631         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24632         of cleanups.
24633
24634 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24635
24636         * string/Makefile: Update.
24637         (strop-tests): Append strncat.
24638         * string/test-wcscmp.c: New file.
24639         New comprehensive test for wcscmp.
24640         * string/test-strcmp.c: Update.
24641         (WIDE): New define.
24642
24643 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24644
24645         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24646         line.
24647
24648 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24649
24650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24651         encoding to ACE if AI_IDN.
24652
24653 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24654
24655         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24656         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24657
24658 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24659
24660         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24661         Fix overflow bug in strncat.
24662         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24663
24664         * string/test-strncat.c: Update.
24665         Add new tests for checking overflow bugs.
24666
24667 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24668
24669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24670         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24671         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24672         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24673         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24674         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24675         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24676         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24677         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24678
24679         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24680         (USE_AS_STRCAT): Define.
24681         Add strcat and strncat support.
24682         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24683
24684 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24685
24686         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24687         __n bigger than INT_MAX+1.
24688         (__strncmp_g): Likewise.
24689
24690 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24691
24692         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24693         * libio/stido.h: Likewise.
24694
24695         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24696         (AF_NFC): Define.
24697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24698         (AF_NFC): Define.
24699
24700         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24701         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24702         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24703         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24705
24706         [BZ #13021]
24707         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24708         installed.
24709
24710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24711         typo.
24712         (_dl_x86_64_save_sse): Likewise.
24713
24714 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24715
24716         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24717         OSXSAVE.
24718         (_dl_x86_64_save_sse): Likewise.
24719
24720         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24721
24722         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24723
24724 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24725
24726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24727         change.
24728         (_dl_x86_64_save_sse): Use correct AVX check.
24729
24730 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24731
24732         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24733         bug in strncpy/strncat.
24734         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24735
24736 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24737
24738         * string/tester.c (test_strcat): Add tests for different alignments
24739         of source and destination.
24740         (test_strncat): Likewise.
24741
24742 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24743
24744         [BZ #12852]
24745         * posix/glob.c (glob): Check passed in values before using them in
24746         expressions to avoid some overflows.
24747         (glob_in_dir): Likewise.
24748
24749         [BZ #13007]
24750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24751         check for AVX enablement so that we don't crash with old kernels and
24752         new hardware.
24753         * elf/tst-audit4.c: Add same checks here.
24754         * elf/tst-audit6.c: Likewise.
24755
24756         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24757
24758 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24759
24760         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24761
24762 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24763
24764         * po/cs.po: Update from translation team.
24765         * po/bg.po: Likewise.
24766
24767 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24768
24769         * misc/sys/cdefs.h: Add support for const attribute.
24770         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24771         to gnu_dev_{major,minor,makedev} functions.
24772
24773 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24774
24775         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24776
24777 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24778
24779         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24780         strlen results.
24781
24782 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24783
24784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24785         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24786         register in order to avoid conflicts with the soft frame pointer
24787         being held in r11 when necessary.
24788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24789         (INTERNAL_VSYSCALL_NCS): Likewise.
24790
24791 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24792
24793         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24794         * elf/dl-fini.c (_dl_fini): Adjust caller.
24795         * elf/dl-close.c (_dl_close_worker): Likewise.
24796         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24797
24798 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24799
24800         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24801         "aux_cache->nlibs < 0".
24802
24803         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24804         in the reload-count case.
24805
24806 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24807
24808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24809         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24810         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24811         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24812         * sysdeps/x86_64/multiarch/strcat.S: New file.
24813         * sysdeps/x86_64/multiarch/strncat.S: New file.
24814         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24815         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24816         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24817         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24818         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24819         (USE_AS_STRCAT): Define.
24820         Add strcat and strncat support.
24821         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24822         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24823         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24824         * string/strncat.c: Update.
24825         (USE_AS_STRNCAT): Define.
24826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24827         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24828         and i7.
24829         * sysdeps/x86_64/multiarch/init-arch.h
24830         (bit_Prefer_PMINUB_for_stringop): New.
24831         (index_Prefer_PMINUB_for_stringop): Likewise.
24832         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24833         bit_Prefer_PMINUB_for_stringop.
24834
24835 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24836
24837         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24838         buffer64.
24839         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24840         of casting of buffer.
24841         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24842         buffer32 and buffer64.
24843         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24844         writes instead of casting of buffer.
24845         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24846         buffer32.
24847         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24848         casting of buffer.
24849
24850 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24851
24852         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24853
24854 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24855
24856         * nscd/nscd.c (termination_handler): Don't do anything for a database
24857         if it has not yet been initialized.
24858
24859 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24860
24861         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24862
24863 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24864
24865         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24866
24867 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24868
24869         * po/nl.po: Update from translation team.
24870         * po/sv.po: Likewise.
24871
24872 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24873
24874         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24875         now disallowed by GCC.
24876
24877         * configure.in (use-default-link): Default to yes if a test -shared
24878         link meets our qualifications.
24879         * configure: Regenerated.
24880
24881         * config.make.in (output-format): New variable.
24882         * configure.in: Check for ld --print-output-format support.
24883         * configure: Regenerated.
24884         * Makerules ($(common-objpfx)format.lds)
24885         [$(output-format) != unknown]: Just use $(output-format),
24886         instead of the linker-script munging.
24887
24888 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24889
24890         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24891         of $(common-objpfx)shlib.lds.
24892         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24893
24894         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24895         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24896
24897         * configure.in (-z relro check): Adjust test code to add a large
24898         writable data section after it.
24899         * configure: Regenerated.
24900
24901 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24902
24903         * configure.in (-z relro check): Fix test code to make the variable
24904         truly const.
24905         * configure: Regenerated.
24906
24907 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24908
24909         * nscd/nscd.h (struct traced_file): Define.
24910         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24911         elements.  Add traced_files.
24912         (inotify_fd): Declare.
24913         (register_traced_file): Declare.
24914         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24915         (inotify_fd): Export.
24916         (resolv_conf_descr): Remove.
24917         (nscd_init): Move inotify descriptor creation to main.
24918         Don't register files for notification here.
24919         (register_traced_file): New function.
24920         (invalidate_cache): Don't use reset_res to determine whether to call
24921         res_init, go through the list of registered files.
24922         (main_loop_poll): The inotify descriptors are now stored in the
24923         structures for the traced files.
24924         (main_loop_epoll): Likewise
24925         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24926         to __nss_disable_nscd.
24927         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24928         for a database anymore.  Check the records for all the registered
24929         files instead.
24930         * nss/Makefile (libnss_files-routines): Add files-init.
24931         (libnss_db-routines): Add db-init.
24932         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24933         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24934         * nss/nss_db/db-init.c: New file.
24935         * nss/nss_files/files-init.c: New file.
24936         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24937         __nss_lookup_function.
24938         (__nss_lookup_function): Call nss_load_library.
24939         (nss_load_all_libraries): New function.
24940         (__nss_disable_nscd): Take parameter with callback function for files
24941         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24942         used for the cached services.
24943         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24944         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24945         options for features to all the files in nscd.
24946
24947         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24948
24949 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24950
24951         * csu/elf-init.c (__libc_csu_init): Comment typo.
24952
24953 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24954
24955         * po/pl.po: Update from translation team.
24956         * po/ja.po: Likewise.
24957         * po/ru.po: Likewise.
24958         * po/ko.po: Likewise.
24959         * po/fr.po: Likewise.
24960
24961 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24962
24963         * configure.in (.ctors/.dtors header and trailer check):
24964         Use an empirical test on a built program.
24965         * configure: Regenerated.
24966
24967         * configure.in (-z relro check): Use an empirical test on a built DSO.
24968         Detect, but do not require, on ia64.
24969         * configure: Regenerated.
24970
24971         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24972         Update tests that use readelf to use $READELF instead.
24973         * configure: Regenerated.
24974
24975 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24976
24977         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24978         if the result is not used.
24979
24980 2011-07-05  Andreas Jaeger  <aj@suse.de>
24981
24982         [BZ#9696]
24983         * stdlib/tst-strtod.c: Add testcase.
24984
24985 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24986
24987         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24988         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24989         The latter has a higher limit.  Take additional parameter to pass to
24990         the new function.
24991         (__pathconf): Pass file to __statfs_link_max.
24992         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24993         __statfs_link_max.
24994         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24995         __statfs_link_max.
24996
24997         [BZ #12868]
24998         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24999         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25000         Handle Lustre.
25001         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25002         (__statfs_filesize_max): Likewise.
25003         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25004
25005 2011-07-05  Andreas Jaeger  <aj@suse.de>
25006
25007         * resolv/res_comp.c (dn_skipname): Remove unused variable.
25008
25009 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
25010
25011         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25012         `status' variable.
25013         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25014         Likewise.
25015
25016 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
25017
25018         * Makefile (strop-tests): Add strncat.
25019         * string/test-strncat.c: New file.
25020
25021 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
25022
25023         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25024
25025 2011-06-21  Andreas Jaeger  <aj@suse.de>
25026
25027         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25028         Copy rule from iconvdata/Makefile.
25029
25030 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25031
25032         [BZ #12922]
25033         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25034         but no long options are defined, just return 'W'.
25035
25036 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
25037
25038         [BZ #9696]
25039         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25040
25041 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25042
25043         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25044         netgroups to read.
25045         (innetgr): Likewise.
25046
25047 2011-07-05  Roland McGrath  <roland@hack.frob.com>
25048
25049         * config.make.in (install_root): Default to $(DESTDIR).
25050
25051 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
25052
25053         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25054
25055 2011-07-02  Roland McGrath  <roland@hack.frob.com>
25056
25057         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25058
25059         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25060         containing directory rather than embedding absolute directory names.
25061
25062         * scripts/check-local-headers.sh: Rewritten using awk.
25063         Match by word, not by line.  Print error messages for matches.
25064         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25065
25066         * Makerules [shlib-lds-flags empty]:
25067         ($(common-objpfx)libc_pic.opts): New target.
25068         ($(common-objpfx)libc_pic.os.clean): New target.
25069         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25070
25071         * config.make.in (OBJCOPY): New variable.
25072         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25073         * configure: Regenerated.
25074
25075         * config.make.in (use-default-link): New variable.
25076         * configure.in (use_default_link): Grok --with-default-link to set it.
25077         * configure: Regenerated.
25078         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25079         (shlib-lds, shlib-lds-flags): Define to empty.
25080
25081         * Makerules (shlib-lds): New variable.
25082         (shlib-lds-flags): New variable.
25083         (build-shlib, build-moduile, build-module-asneeded): Use it.
25084         ($(common-objpfx)libc.so): Use $(shlib-lds).
25085         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25086         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25087
25088         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25089         DT_FLAGS/DT_FLAGS_1 with zero flags.
25090
25091         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25092         linker script munging.
25093
25094 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25095
25096         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25097         as 128-bit value.
25098         * crypt/sha512.c (sha512_process_block): Perform total addition using
25099         128-bit if possible.
25100         (__sha512_finish_ctx): Likewise.
25101         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25102         as 64-bit value.
25103         * crypt/sha256.c (SWAP64): Define.
25104         (sha256_process_block): Perform total addition using 64-bit if
25105         possible.
25106         (__sha256_finish_ctx): Likewise.
25107
25108 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25109
25110         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25111         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25112         * nscd/hstcache.c (cache_addhst): Likewise.
25113         * nscd/grpcache.c (cache_addgr): Likewise.
25114         * nscd/aicache.c (addhstaiX): Likewise
25115         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25116
25117 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25118
25119         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25120         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25121         * nscd/hstcache.c (cache_addhst): Likewise.
25122         * nscd/grpcache.c (cache_addgr): Likewise.
25123         * nscd/aicache.c (addhstaiX): Likewise
25124
25125 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25126
25127         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25128         domain only when needed.
25129
25130 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25131
25132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25133         is always restored.
25134
25135 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25136
25137         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25138         are re-adding the entry.
25139         * nscd/servicescache.c (cache_addserv): Likewise.
25140
25141 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25142
25143         * sysdeps/generic/dl-irel.h: fix protection against multiple
25144         inclusions.
25145         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25146
25147 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25148
25149         [BZ #12935]
25150         * malloc/memusage.sh: Fix quoting in message.
25151         * debug/xtrace.sh: Likewise.
25152
25153         * configure.in: Remove support for --experimental-malloc option, make
25154         it the default.
25155         * config.make.in: Likewise.
25156         * malloc/Makefile: Likewise.
25157
25158 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25159
25160         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25161         two-byte characters.
25162
25163 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25164
25165         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25166         AC_CACHE_CHECK invocation.
25167         * configure: Regenerated.
25168
25169         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25170
25171 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25172
25173         [BZ #12350]
25174         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25175         bit from old_res_options.
25176
25177         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25178
25179         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25180         value type for setfct.
25181
25182 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25183
25184         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25185         __gettimeofday instead of gettimeofday.
25186
25187 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25188
25189         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25190
25191 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25192
25193         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25194
25195         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25196         info.
25197
25198 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25199
25200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25201         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25202         strcpy-sse2-unaligned strncpy-sse2-unaligned
25203         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25204         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25205         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25206         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25207         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25208         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25209         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25210         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25211         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25212         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25213         (STRCPY): Support SSE2 and SSSE3 versions.
25214
25215 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25216
25217         [BZ #12874]
25218         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25219         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25220         kernels which artificially limit size of requests.
25221
25222 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25223
25224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25225         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25226         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25227         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25228         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25229         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25230         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25231         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25232         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25233         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25234         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25235         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25236         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25237         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25238         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25240         Enable unaligned load optimization for Intel Core i3, i5 and i7
25241         processors.
25242         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25243         Define.
25244         (index_Fast_Unaligned_Load): Define.
25245         (HAS_FAST_UNALIGNED_LOAD): Define.
25246
25247 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25248
25249         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25250
25251 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25252
25253         [BZ #12907]
25254         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25255         until it is clear that the information is realy needed.
25256         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25257
25258 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25259
25260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25261
25262 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25263
25264         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25265         /sys/devices/system/cpu/online if it is usable.
25266
25267         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25268         reading the information from the /proc filesystem to once a second.
25269
25270 2011-06-21  Andreas Jaeger  <aj@suse.de>
25271
25272         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25273         NULL after inclusion of kernel headers.
25274
25275 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25276
25277         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25278         calls to internal_setent.
25279
25280         [BZ #12885]
25281         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25282         addresses using gethostbyname4_r ignore IPv4 addresses.
25283
25284         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25285         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25286
25287         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25288
25289 2011-06-20  David S. Miller  <davem@davemloft.net>
25290
25291         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25292         inclusions.
25293         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25294
25295         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25296         (elf_irel): Use it.
25297         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25298         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25299         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25300         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25301         * sysdeps/x86_64/dl-irel.h: Likewise.
25302
25303         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25304         * elf/dl-sym.c: Likewise.
25305
25306 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25307
25308         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25309         need to dereference resplen2.
25310
25311 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25312
25313         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25314
25315 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25316
25317         * Makeconfig: Define vardbdir and inst_vardbdir.
25318         * nss/Makefile: Add rules to install db-Makefile.
25319
25320         * nss/nss_db/db-XXX.c: Cleanup.
25321
25322         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25323         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25324         GLIBC_PRIVATE.
25325         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25326         * nss/makedb.c: Implement -g option to specify that value strings
25327         are generated and should not be added to table iterated over for
25328         get*ent calls.
25329         * nss/nss_db/db-initgroups.c: New file.
25330
25331         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25332         interface.
25333
25334         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25335         (internal_getgrouplist): Adjust to name change.
25336         Update use_initgroups_entry if this is not the first call.
25337         * nss/databases.def: Add initgroups entry.
25338
25339         * nss/makedb.c (compute_tables): Check result of multiple hash table
25340         sizes to minimize maximum chain length.
25341
25342 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25343
25344         * Versions.def: Add entry for libnss_db.
25345         * shlib-versions: Likewise.
25346         * nss/Makefile: Add rules to build libnss_db.
25347         * nss/Versions: Add libnss_db information.  Organize libnss_files
25348         entries better.
25349         * nss/db-Makefile: Add gshadow support.  Change rules for the new
25350         makedb progra.  Some minor improvements to generate smaller files.
25351         * nss/nss_db/nss_db.h: Move NSS database header data structures to
25352         here from...
25353         * nss/makedb.c: ...here.
25354         Improve database format to be smaller and require less memory at
25355         runtime.
25356         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
25357         db anymore.
25358         * nss/nss_db/db-netgrp.c: Likewise.
25359         * nss/nss_db/db-open.c: Likewise.
25360         * nss/nss_files/flies-XXX.x: Adjust comments.
25361         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25362         * nss/nss_files/files-grp.c: Likewise.
25363         * nss/nss_files/files-hosts.c: Likewise.
25364         * nss/nss_files/files-network.c: Likewise.
25365         * nss/nss_files/files-proto.c: Likewise.
25366         * nss/nss_files/files-pwd.c: Likewise.
25367         * nss/nss_files/files-rpc.c: Likewise.
25368         * nss/nss_files/files-service.c: Likewise.
25369         * nss/nss_files/files-sgrp.c: Likewise.
25370         * nss/nss_files/files-spwd.c: Likewise.
25371         * nss/nss_db/db-alias.c: Removed.
25372         * nss/nss_db/dummy-db.h: Removed.
25373
25374 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25375
25376         * nss/makedb.c: Rewritten to not use database library.
25377         * nss/Makefile: Update to build new makedb program.
25378
25379 2011-06-14  Andreas Jaeger  <aj@suse.de>
25380
25381         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25382         memset declaration.
25383
25384 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25385
25386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25387         tmpbuf.
25388
25389 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25390
25391         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25392         * elf/Makefile ($(objpfx)ld.so): Likewise.
25393
25394         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25395         Don't list ld.so twice in dependencies.
25396
25397         * posix/bug-regex31.c: Include <stdlib.h>.
25398
25399         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25400
25401         * nis/nss_compat/compat-spwd.c
25402         (getspent_next_nss_netgr): Remove unused variable.
25403         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25404
25405         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25406         nonmembers" output to use the right array.
25407
25408         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25409
25410         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25411
25412         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25413         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25414         * catgets/gencat.c (read_input_file): Likewise.
25415         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25416
25417         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25418         variable definition inside #if's controlling its use.
25419
25420         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25421
25422         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25423
25424         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25425
25426         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25427         unreachable code.
25428
25429         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25430
25431         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25432         * configure: Regenerated.
25433
25434         * Makerules: Revert last change.
25435         * elf/Makefile: Likewise.
25436
25437 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25438
25439         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25440         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25441         (reloc-link): Likewise.
25442
25443 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25444
25445         * elf/Makefile: Add rules to build pldd.
25446         * elf/pldd.c: New file.
25447         * elf/pldd-xx.c: New file.
25448
25449 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25450
25451         * version.h: Update for 2.15 development version.
25452
25453 2011-06-07  David S. Miller  <davem@davemloft.net>
25454
25455         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25456         ifuncs.
25457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25458         elf_machine_lazy_rel): Likewise.
25459         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25460         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25461         elf_machine_lazy_rel): Likewise.
25462         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25463         dl_hwcap via passed in argument.
25464         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25465         Likewise.
25466
25467 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25468
25469         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25470
25471 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25472
25473         [BZ #12849]
25474         * manual/fdl-1.1.texi: New file, verbatim from:
25475         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25476         * manual/lgpl-2.1.texi: New file, verbatim from:
25477         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25478         * manual/Makefile (licenses): New variable, list those new file names.
25479         (texis): Use it.
25480         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25481
25482         * manual/fdl.texi: File removed.
25483         * manual/lesser.texi: File removed.
25484         * manual/libc.texinfo (Copying, Documentation License):
25485         Use new @include file names, put @appendix directive before @include.
25486
25487 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25488
25489         [BZ #12841]
25490         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25491         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25492         (mq_open): Add __NTH.
25493
25494 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25495
25496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25497         Assume Intel Core i3/i5/i7 processor if AVX is available.
25498
25499 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25500
25501         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25502         typo.
25503
25504 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25505
25506         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25507         memory.  Use alloca_account.  Fix memory leak when retrying.
25508
25509 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25510
25511         * version.h (RELEASE): Bump for 2.14 release.
25512         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25513
25514         * config.make.in (RANLIB): Remove entry.
25515
25516 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25517
25518         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25519         (libc.pot): Work around missing support for .ksh extension in xgettext.
25520
25521         [BZ #12684]
25522         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25523         if both request failed.
25524         (send_dg): In case of server errors clear resplen or *resplen2.
25525
25526         [BZ #12454]
25527         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25528         when there are multiple maps.
25529         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25530         (_dl_fini): Remove test here.
25531
25532         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25533
25534 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25535
25536         [BZ #12350]
25537         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25538         bit from old_res_options.
25539         (gaih_inet): Likewise.
25540
25541         [BZ #11099]
25542         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25543         as signed.
25544
25545         * resolv/res_init.c (res_setoptions): Make the code more compact.
25546
25547         [BZ #11558]
25548         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25549         set RES_USEVC.
25550
25551         [BZ #11634]
25552         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25553
25554         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25555
25556         [BZ #11781]
25557         * malloc/malloc.h: Declare malloc hook variables as volatile.
25558
25559         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25560         in last patch.
25561
25562         [BZ #11799]
25563         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25564         raise in the comment.
25565         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25566         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25567         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25568
25569 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25570
25571         [BZ #12811]
25572         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25573         grow the buffers more if it already has to be sufficient.
25574         (build_wcs_upper_buffer): Likewise.
25575         * posix/regexec.c (check_matching): Likewise.
25576         (clean_state_log_if_needed): Likewise.
25577         (extend_buffers): Don't enlarge buffers beyond size of the input
25578         buffer.
25579         Patches mostly by Emil Wojak <emil@wojak.eu>.
25580         * posix/bug-regex32.c: New file.
25581         * posix/Makefile (tests): Add bug-regex32.
25582
25583         * locale/findlocale.c (_nl_find_locale): Return right away if
25584         _nl_explode_name failed.
25585         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25586
25587         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25588
25589         * debug/xtrace.sh: Unify messages.
25590         * malloc/memusage.sh: Likewise.
25591
25592         [BZ #12813]
25593         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25594         time symbol from vDSO.  Substitute with vsyscall if not available.
25595         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25596         __vdso_time.
25597
25598         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25599         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25600         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25601         Add sendmmsg and internal_sendmmsg.
25602         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25603         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25604         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25605
25606         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25607         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25609
25610 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25611
25612         [BZ #12813]
25613         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25614         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25615         available.
25616         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25617         __vdso_getcpu.
25618
25619         [BZ #12814]
25620         * iconvdata/Makefile (tests): Add bug-iconv9.
25621         * iconvdata/bug-iconv9.c: New file.
25622
25623 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25624
25625         [BZ #12814]
25626         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25627
25628 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25629
25630         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25631         (struct user_regs_struct): Change intcs field back to cs.
25632
25633 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25634
25635         * po/ja.po: Update from translation team.
25636
25637 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25638
25639         [BZ #12795]
25640         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25641         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25642
25643 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25644
25645         * stdlib/longlong.h: Update from GCC.
25646
25647 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25648
25649         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25650         parameter name.
25651         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25652         Add parameter name.
25653         (__sysconf): Pass it down.
25654
25655 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25656
25657         [BZ #12671]
25658         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25659         some situations.
25660         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25661         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25662         add in in __libc_use_alloca calls.  Adjust callers.
25663         (glob): Use malloc in some situations.
25664
25665         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25666         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25667         pltexit.
25668
25669 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25670
25671         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25672         and CLOCK_BOOTTIME_ALARM.
25673
25674         [BZ #12782]
25675         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25676         is returned.
25677
25678         * string/_strerror.c (__strerror_r): Print negative errors as signed
25679         numbers.
25680
25681         [BZ #12777]
25682         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25683         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25684         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25685
25686         * configure.in: Fix typo in redirection and correct removal of test
25687         files in two cases.
25688
25689         [BZ #12788]
25690         * locale/setlocale.c (new_composite_name): Fix test to check for
25691         identical name of all categories.
25692
25693         [BZ #12792]
25694         * libio/filedoalloc.c (local_isatty): New function.
25695         (_IO_file_doallocate): Use local_isatty.
25696         * stdio-common/perror.c (perror): In case a new stream is used
25697         forward the stream error.
25698         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25699         error flag.
25700
25701 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25702
25703         [BZ #11869]
25704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25705         alloca.
25706         * include/alloca.h (extend_alloca_account): Define.
25707
25708         [BZ #11857]
25709         * posix/regex.h: Fix comments with documentation of user-accessible
25710         fields after compilation and describe correct free'ing of pattern
25711         after re_compile_pattern.
25712         Patch by Reuben Thomas <rrt@sc3d.org>.
25713
25714 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25715
25716         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25717         and -mno-altivec to prevent the compiler from using Altivec and/or
25718         VSX instructions when the corresponding registers are not available.
25719
25720 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25721
25722         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25723
25724 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25725
25726         * libio/freopen.c (freopen): Use __dup2, not dup2.
25727         * libio/freopen64.c (freopen64): Likewise.
25728
25729 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25730
25731         [BZ #12775]
25732         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25733         * math/Makefile (tests): Add test-powl.
25734         (CFLAGS-test-powl.c): Define.
25735         * math/test-powl.c: New file.
25736
25737 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25738
25739         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25740
25741 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25742
25743         [BZ #11837]
25744         * iconvdata/gb18030.c: Update to GB18020-2005.
25745
25746 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25747
25748         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25749         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25750         Patch by Aharon Robbins <arnold@skeeve.com>.
25751
25752         [BZ #11892]
25753         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25754         on the stack.
25755
25756         [BZ #11895]
25757         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25758         through underflows.
25759
25760         [BZ #12766]
25761         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25762         point to strings before performing equality test for error_one_per_line
25763         mode.
25764
25765         [BZ #11697]
25766         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25767
25768         [BZ #11820]
25769         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25770         (struct user_fpregs_struct): Avoid __uint*_t types.
25771
25772         [BZ #6420]
25773         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25774         symbol info.  Use it instead of calling _dl_addr locally.
25775         (lock_and_info): New function.
25776         (tr_freehook): Call lock_and_info and pass symbol info as additional
25777         parameter to tr_where.
25778         (tr_mallochook): Likewise.
25779         (tr_reallochook): Likewise.
25780         (tr_memalignhook): Likewise.
25781
25782         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25783         used and couldn't be at all thread-safe.
25784
25785 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25786
25787         * libio/freopen.c (freopen): Don't close old file descriptor
25788         before the new one is opened.  Instead dup the new file descriptor
25789         to the old one after the new stream is created.
25790         * libio/freopen64.c (freopen64): Likewise.
25791         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25792         * libio/fileops.c (_IO_new_file_close_it): Handle new
25793         _IO_FLAGS2_NOCLOSE flag.
25794         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25795         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25796         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25797         _IO_FLAGS2_NOCLOSE flag.
25798         * include/unistd.h: Add hidden_proto for dup3.
25799         Define __have_dup3.
25800         * io/dup3.c: Define hidden symbol.
25801         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25802
25803         [BZ #7101]
25804         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25805         when an incomplete long option is used.
25806         * posix/tst-getopt_long1.c: New file.
25807         * posix/Makefile (tests): Add tst-getopt_long1.
25808
25809         [BZ #10138]
25810         * scripts/config.guess: Update from autoconf-2.68.
25811         * scripts/config.sub: Likewise.
25812
25813         [BZ #10157]
25814         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25815         tests into ...
25816         (has_cpuclock): ...this.  New function.
25817         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25818         macro here based on has_cpuclock code.
25819
25820         [BZ #10149]
25821         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25822         First byte (not low byte) is now always NUL.
25823         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25824
25825         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25826         Use non-cancelable interfaces.
25827
25828         [BZ #9809]
25829         * locale/iso-639.def: Add entry for Sorani.
25830
25831         [BZ #11901]
25832         * include/stdlib.h: Move include protection to the right place.
25833         Define abort_msg_s.  Declare __abort_msg with it.
25834         * stdlib/abort.c (__abort_msg): Adjust type.
25835         * assert/assert.c (__assert_fail_base): New function.  Majority
25836         of code from __assert_fail.  Allocate memory for __abort_msg with
25837         mmap.
25838         (__assert_fail): Now call __assert_fail_base.
25839         * assert/assert-perr.c: Remove bulk of implementation.  Use
25840         __assert_fail_base.
25841         * include/assert.hL Declare __assert_fail_base.
25842         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25843         mmap.
25844         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25845
25846 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25847
25848         [BZ #11952]
25849         [BZ #12453]
25850         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25851         until all modules are registered in the DTV.
25852         * elf/Makefile: Add rules to build and run tst-tls19.
25853         * elf/tst-tls19.c: New file.
25854         * elf/tst-tls19mod1.c: New file.
25855         * elf/tst-tls19mod2.c: New file.
25856         * elf/tst-tls19mod3.c: New file.
25857         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25858
25859         [BZ #12083]
25860         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25861         correctly.
25862
25863         [BZ #12601]
25864         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25865         two-byte sequence errors.
25866         * iconvdata/Makefile (tests): Add bug-iconv8.
25867         * iconvdata/bug-iconv8.c: New file.
25868
25869         [BZ #12626]
25870         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25871         buf2 definition.
25872
25873         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25874
25875         [BZ #12432]
25876         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25877         (dummy_getcfa): New function.
25878         (init): Get _Unwind_GetCFA address, use dummy if not found.
25879         (backtrace_helper): In recursion check, also check whether CFA changes.
25880         (__backtrace): Completely initialize arg.
25881
25882         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25883         storing incomplete byte sequence in state object.  Avoid testing for
25884         guaranteed too small input if we know there is enough data available.
25885
25886 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25887
25888         * Makeconfig (+link-pie): Indent.
25889         * Rules (binaries-pie): Define if $(have-fpie) and
25890         $(build-shared).
25891         (binaries-shared): Also filter out $(binaries-pie).
25892         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25893         * nscd/Makefile (others-pie): Add nscd.
25894         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25895         ($(objpfx)nscd): Remove command override.
25896         * login/Makefile (others-pie): Add pt_chown.
25897         ($(objpfx)pt_chown): Remove command override.
25898         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25899         remove command overrides.
25900
25901 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25902
25903         * libio/tst_putwc.c: Fix error messages.
25904
25905         [BZ #12724]
25906         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25907         currently writing and seek to current position when not.
25908         * libio/Makefile (tests): Add bug-fclose1.
25909         * libio/bug-fclose1.c: New file.
25910
25911 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25912
25913         [BZ #12511]
25914         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25915         don't set DF_1_NODELETE here.
25916         (do_lookup_x): When entering new entry test for copy relocation
25917         and if necessary set DF_1_NODELETE flag.
25918         * elf/tst-unique4.cc: New file.
25919         * elf/tst-unique4.h: New file.
25920         * elf/tst-unique4lib.cc: New file.
25921         * elf/Makefile: Add rules to build and run tst-unique4.
25922         Patch by Piotr Bury <pbury@goahead.com>.
25923
25924 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25925
25926         [BZ #12052]
25927         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25928
25929         [BZ #12625]
25930         * misc/mntent_r.c (addmntent): Flush the stream after the output
25931
25932         [BZ #12393]
25933         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25934         (is_trusted_path_normalize): Skip initial colon.  Append slash
25935         to empty buffer.  Duplicate is_trusted_path code but allow
25936         constructed patch to be prefix.
25937         (is_dst): Allow $ORIGIN followed by /.
25938         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25939         Correct testing of result of is_trusted_path_normalize
25940         (decompose_rpath): Fix warning.
25941
25942 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25943
25944         [BZ #11257]
25945         * grp/initgroups.c (internal_getgrouplist): When we found the service
25946         list through the initgroups entry in nsswitch.conf do not always
25947         continue on a successful lookup.  Don't always use the
25948         __nss_group_database value if it is set.
25949         * nss/nsswitch.conf (initgroups): Change action for successful db
25950         lookup to continue for compatibility.
25951
25952 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25953
25954         [BZ #11532]
25955         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25956         and CP774 modules.
25957         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25958         and CP774 modules.
25959         * iconvdata/tst-tables.sh: Likewise.
25960         * iconvdata/cp770.c: New file.
25961         * iconvdata/cp771.c: New file.
25962         * iconvdata/cp772.c: New file.
25963         * iconvdata/cp773.c: New file.
25964         * iconvdata/cp774.c: New file.
25965         * iconvdata/testdata/CP770: New file.
25966         * iconvdata/testdata/CP770..UTF8: New file.
25967         * iconvdata/testdata/CP771: New file.
25968         * iconvdata/testdata/CP771..UTF8: New file.
25969         * iconvdata/testdata/CP772: New file.
25970         * iconvdata/testdata/CP772..UTF8: New file.
25971         * iconvdata/testdata/CP773: New file.
25972         * iconvdata/testdata/CP773..UTF8: New file.
25973         * iconvdata/testdata/CP774: New file.
25974         * iconvdata/testdata/CP774..UTF8: New file.
25975
25976         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25977         END CHARMAP line.
25978         * iconvdata/gen-8bit-gap.sh: Likewise.
25979         * iconvdata/gen-8bit.sh: Likewise.
25980
25981         * locale/iso-639.def: Add ary entry.
25982
25983         [BZ #11258]
25984         * locale/C-translit.h.in: Add U20A1 transliteration.
25985
25986         [BZ #12178]
25987         * locale/iso-639.def: Add wae entry.
25988         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25989
25990         [BZ #12545]
25991         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25992         for n.
25993
25994         [BZ #12711]
25995         * locale/C-translit.h.in: Add entry for U20B9.
25996         Patch by pravin.d.s@gmail.com.
25997
25998 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25999
26000         [BZ #12713]
26001         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26002         ENAMETOOLONG use generic getcwd.
26003         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
26004         in rtld.  Use *stat64.
26005         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26006         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26007         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26008         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26009         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26010         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26011         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26012         __fstatat64 macros.
26013         * include/dirent.h: Add libc_hidden_proto for rewinddir.
26014         * dirent/rewinddir.c: Add libc_hidden_def.
26015         * sysdeps/mach/hurd/rewinddir.c: Likewise.
26016         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
26017
26018         * include/dirent.h (__alloc_dir): Add flags parameter.
26019         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26020         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26021         __alloc_dir.
26022         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
26023         from fdopendir if O_CLOEXEC is already set.
26024
26025 2011-03-15  Alan Modra  <amodra@gmail.com>
26026
26027         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26028         l_tls_firstbyte_offset non-zero.  Save padding offset in
26029         l_tls_firstbyte_offset for later use.
26030         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26031         freeing static tls block.
26032
26033 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
26034
26035         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26036         where #ifdef was intended.  The intent is to prevent ARG_MAX from
26037         being defined by the kernel headers.
26038
26039 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
26040
26041         [BZ #12734]
26042         * resolv/resolv.h: Define RES_NOTLDQUERY.
26043         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26044         no-tld-query and set RES_NOTLDQUERY.
26045         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26046         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26047         modern BIND to search name as TLD unless forbidden.
26048
26049 2011-05-07  Petr Baudis  <pasky@suse.cz>
26050             Ulrich Drepper  <drepper@gmail.com>
26051
26052         [BZ #12393]
26053         * elf/dl-load.c (fillin_rpath): Move trusted path check...
26054         (is_trusted_path): ...to here.
26055         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26056         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26057         using is_trusted_path_normalize() in setuid scripts.
26058
26059 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26060
26061         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26062         __BEGIN/__END_DECLS.
26063
26064 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
26065
26066         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26067         NSS_STATUS_NOTFOUND if no record was found.
26068
26069 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26070
26071         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26072         (headers-not-in-tirpc): Remove rpc/netdb.h
26073         * resolv/netdb.h: Revert last change.
26074
26075 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26076
26077         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26078         circular dependency between libgcc.a and libc.a.
26079
26080 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26081
26082         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26083         * nis/Makefile: Don't install rpcsvc/*.
26084         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26085         instead of <rpc/types.h>.
26086         (MAXHOSTNAMELEN): Define.
26087
26088 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26089
26090         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26091
26092 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26093
26094         [BZ #12714]
26095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26096         gethostbyname4_r when IPv6 results are possible.
26097
26098 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26099
26100         [BZ #12723]
26101         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26102         _PC_PIPE_BUF handling.
26103
26104 2011-04-30  Bruno Haible  <bruno@clisp.org>
26105
26106         [BZ #12717]
26107         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26108         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26109         to 'int'.
26110         * inet/getnameinfo.c (getnameinfo): Likewise.
26111
26112 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26113
26114         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26115         to groups setting in database lookup.
26116         * nss/nsswitch.conf: Add initgroups entry.
26117
26118 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26119
26120         [BZ #12685]
26121         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26122         mode string.
26123         Patch by Eric Blake <eblake@redhat.com>.
26124
26125 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26126
26127         * sunrpc/Makefile (need-export-routines): Add svc_run.
26128         (routines): Remove svc_run.
26129         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26130         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26131         * sunrpc/svc_run.c (svc_run): Likewise.
26132         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26133
26134 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26135
26136         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26137         problem in reallocation in last patch.
26138
26139 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26140
26141         * sunrpc/Makefile: Move inclusion of Rules.
26142
26143 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26144
26145         * nss/nss_files/files-initgroups.c: New file.
26146         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26147         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26148         _nss_files_initgroups_dyn.
26149
26150 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26151
26152         * elf/elf.h (R_ARM_IRELATIVE): Define.
26153
26154 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26155
26156         * po/ru.po: Update from translation team.
26157
26158 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26159
26160         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26161         dependencies.
26162
26163 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26164
26165         [BZ #12653]
26166         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26167         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26168         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26169         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26170         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26171
26172 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26173
26174         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26175         differing bytes.
26176         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26177         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26178         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26179
26180 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26181
26182         [BZ #12420]
26183         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26184         storing it.
26185         * stdlib/bug-getcontext.c: New file.
26186         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26187
26188 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26189
26190         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26191         instructions into .machine "z9-109".
26192         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26193         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26194
26195 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26196
26197         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26198         between environment variables and auxiliary vector.
26199
26200 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26201
26202         * Makefile: Add rules to build linkobj/libc.so.
26203         * include/libc-symbols.h: Define libc_hidden_nolink.
26204         * include/rpc/auth.h: Mark functions which are to be hidden.
26205         * include/rpc/auth_des.h: Likewise.
26206         * include/rpc/auth_unix.h: Likewise.
26207         * include/rpc/clnt.h: Likewise.
26208         * include/rpc/des_crypt.h: Likewise.
26209         * include/rpc/key_prot.h: Likewise.
26210         * include/rpc/pmap_clnt.h: Likewise.
26211         * include/rpc/pmap_prot.h: Likewise.
26212         * include/rpc/pmap_rmt.h: Likewise.
26213         * include/rpc/rpc_msg.h: Likewise.
26214         * include/rpc/svc.h: Likewise.
26215         * include/rpc/svc_auth.h: Likewise.
26216         * include/rpc/xdr.h: Likewise.
26217         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26218         * nss/Makefile: Likewise.
26219         * sunrpc/Makefile: Don't install headers.  Build library with normal
26220         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26221         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26222         for the compat linking library.  Remove use of INTDEF/INTUSE.
26223         * sunrpc/auth_none.c: Likewise.
26224         * sunrpc/auth_unix.c: Likewise.
26225         * sunrpc/authdes_prot.c: Likewise.
26226         * sunrpc/authuxprot.c: Likewise.
26227         * sunrpc/clnt_gen.c: Likewise.
26228         * sunrpc/clnt_perr.c: Likewise.
26229         * sunrpc/clnt_raw.c: Likewise.
26230         * sunrpc/clnt_simp.c: Likewise.
26231         * sunrpc/clnt_tcp.c: Likewise.
26232         * sunrpc/clnt_udp.c: Likewise.
26233         * sunrpc/clnt_unix.c: Likewise.
26234         * sunrpc/des_crypt.c: Likewise.
26235         * sunrpc/des_soft.c: Likewise.
26236         * sunrpc/get_myaddr.c: Likewise.
26237         * sunrpc/key_call.c: Likewise.
26238         * sunrpc/key_prot.c: Likewise.
26239         * sunrpc/netname.c: Likewise.
26240         * sunrpc/pm_getmaps.c: Likewise.
26241         * sunrpc/pm_getport.c: Likewise.
26242         * sunrpc/pmap_clnt.c: Likewise.
26243         * sunrpc/pmap_prot.c: Likewise.
26244         * sunrpc/pmap_prot2.c: Likewise.
26245         * sunrpc/pmap_rmt.c: Likewise.
26246         * sunrpc/publickey.c: Likewise.
26247         * sunrpc/rpc_cmsg.c: Likewise.
26248         * sunrpc/rpc_common.c: Likewise.
26249         * sunrpc/rpc_dtable.c: Likewise.
26250         * sunrpc/rpc_prot.c: Likewise.
26251         * sunrpc/rpc_thread.c: Likewise.
26252         * sunrpc/rtime.c: Likewise.
26253         * sunrpc/svc.c: Likewise.
26254         * sunrpc/svc_auth.c: Likewise.
26255         * sunrpc/svc_authux.c: Likewise.
26256         * sunrpc/svc_raw.c: Likewise.
26257         * sunrpc/svc_run.c: Likewise.
26258         * sunrpc/svc_simple.c: Likewise.
26259         * sunrpc/svc_tcp.c: Likewise.
26260         * sunrpc/svc_udp.c: Likewise.
26261         * sunrpc/svc_unix.c: Likewise.
26262         * sunrpc/svcauth_des.c: Likewise.
26263         * sunrpc/xcrypt.c: Likewise.
26264         * sunrpc/xdr.c: Likewise.
26265         * sunrpc/xdr_array.c: Likewise.
26266         * sunrpc/xdr_float.c: Likewise.
26267         * sunrpc/xdr_intXX_t.c: Likewise.
26268         * sunrpc/xdr_mem.c: Likewise.
26269         * sunrpc/xdr_rec.c: Likewise.
26270         * sunrpc/xdr_ref.c: Likewise.
26271         * sunrpc/xdr_sizeof.c: Likewise.
26272         * sunrpc/xdr_stdio.c: Likewise.
26273
26274 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26275
26276         [BZ #12650]
26277         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26278         * sysdeps/ia64/dl-tls.h: Likewise.
26279         * sysdeps/powerpc/dl-tls.h: Likewise.
26280         * sysdeps/s390/dl-tls.h: Likewise.
26281         * sysdeps/sh/dl-tls.h: Likewise.
26282         * sysdeps/sparc/dl-tls.h: Likewise.
26283         * sysdeps/x86_64/dl-tls.h: Likewise.
26284         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26285
26286 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26287
26288         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26289         rpath element also skip the following colon.
26290         (expand_dynamic_string_token): Add is_path parameter and pass
26291         down to DL_DST_REQUIRED and _dl_dst_substitute.
26292         (decompose_rpath): Call expand_dynamic_string_token with
26293         non-zero is_path.  Ignore empty rpaths.
26294         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26295         with zero is_path.
26296
26297 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26298
26299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26300         Make cancelable.
26301
26302 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26303
26304         [BZ #12655]
26305         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26306         Patch by Filipe David Manana <fdmanana@apache.org>.
26307
26308 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26309
26310         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26311         Maintain aligned stack.
26312         (CHECK_RSP): Remove unused macro.
26313
26314 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26315
26316         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26317         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26318
26319 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26320
26321         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26322
26323         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26324
26325 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26326
26327         [BZ #12518]
26328         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26329         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26330         * sysdeps/x86_64/memmove.c: New file.
26331         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26332         (memcpy): Renamed to ...
26333         (__new_memcpy): This.
26334         (memcpy): Provide GLIBC_2_14 memcpy.
26335         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26336         (memcpy): Provide GLIBC_2_2_5 memcpy.
26337
26338 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26339
26340         [BZ #12631]
26341         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26342
26343 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26344
26345         * misc/syncfs.c: New file.
26346         * misc/Makefile (routines): Add syncfs.
26347         * posix/unistd.h: Declare syncfs.
26348         * sysdeps/unix/syscalls.list: Add syncfs.
26349
26350 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26351
26352         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26353         open_by_handle_at.
26354         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26355         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26356         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26357         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26358         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26359         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26360         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26361
26362 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26363
26364         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26365         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26366         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26367         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26368         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26371
26372         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26373         sync_file_range.c with -fexceptions.
26374         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26375         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26376         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26377         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26378         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26379         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26381         sync_file_range as cancellation point
26382         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26383         now a wrapper around __call_sync_file_range with cancellation handling.
26384         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26385         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26386         function name to __call_sync_file_range.
26387         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26388         Add call_sync_file_range.
26389
26390 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26391
26392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26393         bits/timex.h.
26394
26395 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26396
26397         * iconv/iconv.h: Fix typo in comment.
26398         * io/fcntl.h: Likewise.
26399         * libio/stdio.h: Likewise.
26400         * posix/spawn.h: Likewise.
26401         * posix/unistd.h: Likewise.
26402         * stdlib/stdlib.h: Likewise.
26403         * time/time.h: Likewise.
26404         * wcsmbs/wchar.h: Likewise.
26405
26406         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26407         open_by_handle): Add.
26408         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26409         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26410         Augment a few comments.
26411         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26413         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26415         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26416         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26417         open_by_handle.
26418
26419         * io/fcntl.h (AT_EMPTY_PATH): Define.
26420
26421 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26422
26423         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26424         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26425         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26426         to...
26427         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26428         * Versions.def: Add GLIBC_2.14.
26429         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26430         Export.
26431
26432 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26433
26434         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26435         round counter.
26436         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26437
26438 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26439
26440         [BZ #12597]
26441         * string/test-strncmp.c (do_page_test): New function.
26442         (check2): Likewise.
26443         (test_main): Call check2.
26444         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26445
26446 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26447
26448         [BZ #12587]
26449         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26450         Handle cache information in CPU leaf 4.
26451         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26452
26453 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26454
26455         [BZ #12583]
26456         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26457         character representation.
26458         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26459
26460 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26461
26462         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26463         END(__isnan) to END(__isnanf) to match function entry point/label
26464         EALIGN(__isnanf,...).
26465
26466 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26467
26468         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26469
26470 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26471
26472         [BZ #12510]
26473         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26474         copy from the symbol referenced in the relocation to initialize the
26475         used variable.
26476         Patch by Piotr Bury <pbury@goahead.com>.
26477         * elf/Makefile: Add rules to build and tst-unique3.
26478         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26479         * elf/tst-unique3.cc: New file.
26480         * elf/tst-unique3.h: New file.
26481         * elf/tst-unique3lib.cc: New file.
26482         * elf/tst-unique3lib2.cc: New file.
26483
26484         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26485
26486 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26487
26488         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26489         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26490         to _start.
26491
26492 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26493
26494         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26495         to-be-loaded object along a path to loader is ld.so.
26496
26497 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26498             Ulrich Drepper  <drepper@gmail.com>
26499
26500         * sysdeps/x86_64/memset.S: After aligning destination, code
26501         branches to different locations depending on the value of
26502         misalignment, when multiarch is enabled. Fix this.
26503
26504 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26505
26506         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26507         Set _x86_64_preferred_memory_instruction for AMD processsors.
26508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26509         Set bit_Prefer_SSE_for_memop for AMD processors.
26510
26511 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26512
26513         * libio/fmemopen.c (fmemopen): Optimize a bit.
26514
26515 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26516
26517         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26518
26519 2011-03-03  Roland McGrath  <roland@redhat.com>
26520
26521         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26522
26523 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26524
26525         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26526         __bzero_ultra1 instead of __memset_ultra1.
26527
26528 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26529             Ulrich Drepper  <drepper@gmail.com>
26530
26531         [BZ #12509]
26532         * include/link.h (struct link_map): Add l_orig_initfini.
26533         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26534         returning unsuccessfully.
26535         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26536         close of a file loaded at startup, restore the original l_initfini
26537         list.
26538         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26539         list, store the pointer.
26540         * elf/Makefile ($(objpfx)noload-mem): New rule.
26541         (noload-ENV): Define.
26542         (tests): Add $(objpfx)noload-mem.
26543         * elf/noload.c: Include <memcheck.h>.
26544         (main): Call mtrace.  Close all opened handles.
26545
26546 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26547
26548         [BZ #12454]
26549         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26550         dependencies are missing.
26551
26552 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26553
26554         Fix __if_freereq crash: Unlike the generic version which uses free,
26555         Hurd needs munmap.
26556         * sysdeps/mach/hurd/ifreq.h: New file.
26557
26558 2011-01-27  Petr Baudis  <pasky@suse.cz>
26559             Ulrich Drepper  <drepper@gmail.com>
26560
26561         [BZ 12445]#
26562         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26563         to extend_alloca().
26564         * stdio-common/bug23.c: New file.
26565         * stdio-common/Makefile (tests): Add bug23.
26566
26567 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26568             Ulrich Drepper  <drepper@gmail.com>
26569
26570         [BZ #12489]
26571         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26572         before performing relro protection.  At old place add assertion
26573         to make sure nothing changed.
26574
26575 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26576             Glauber de Oliveira Costa  <glommer@gmail.com>
26577
26578         * elf/elf.h: Add new ARM TLS relocs.
26579
26580 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26581
26582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26583         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26584         cast from r3.
26585         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26586         'tests' variable.
26587         * sysdeps/wordsize-64/tst-writev.c: New file.
26588
26589 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26590
26591         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26592         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26593         insns in _dl_start to prevent a TOC reference before relocs are
26594         resolved.
26595
26596 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26597
26598         [BZ #12469]
26599         * Makeconfig: Remove RANLIB definition.
26600         * Makerules: Don't use RANLIB.
26601         * aclocal.m4: Remove ranlib test.
26602         * configure.in: No need to check for ranlib.
26603         * elf/rtld-Rules: Don't use RANLIB.
26604
26605 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26606
26607         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26608         protection macro.
26609         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26610         inclusion protection macro.
26611
26612         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26613         SIGRTMIN and SIGRTMAX and print information in that case only when
26614         SIGRTMIN is defined.
26615
26616 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26617
26618         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26619         arginfo fn returning -1.
26620
26621         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26622         and thousands string is zero terminated.
26623
26624 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26625
26626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26627         sysdeps/unix/sysv/linux/bits/socket.h.
26628
26629 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26630
26631         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26632         (__CPU_COUNT): Remove old macros.
26633         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26634         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26635         (__CPU_ALLOC, __CPU_FREE): Add macros.
26636         (__sched_cpualloc, __sched_cpufree): Add declarations.
26637
26638 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26639
26640         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26641         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26642         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26643         (readdhstai): Return value of addhstaiX call.
26644         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26645         (addgrbyX): Return value returned by cache_addgr.
26646         (readdgrbyname): Return value returned by addgrbyX.
26647         (readdgrbygid): Likewise.
26648         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26649         (addpwbyX): Return value returned by cache_addpw.
26650         (readdpwbyname): Return value returned by addhstbyX.
26651         (readdpwbyuid): Likewise.
26652         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26653         (addservbyX): Return value returned by cache_addserv.
26654         (readdservbyname): Return value returned by addservbyX:
26655         (readdservbyport): Likewise.
26656         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26657         (addhstbyX): Return value returned by cache_addhst.
26658         (readdhstbyname): Return value returned by addhstbyX.
26659         (readdhstbyaddr): Likewise.
26660         (readdhstbynamev6): Likewise.
26661         (readdhstbyaddrv6): Likewise.
26662         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26663         (readdinitgroups): Return value returned by addinitgroupsX.
26664         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26665         (prune_cache): Keep track of timeout value of re-added entries.
26666         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26667         * nscd/nscd.h: Adjust prototypes of readd* functions.
26668
26669 2011-02-04  Roland McGrath  <roland@redhat.com>
26670
26671         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26672         (nis_stats): Likewise.
26673         * nis/nis_modify.c (nis_modify): Likewise.
26674         * nis/nis_remove.c (nis_remove): Likewise.
26675         * nis/nis_add.c (nis_add): Likewise.
26676
26677         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26678
26679         * posix/fnmatch_loop.c: Add some consts.
26680
26681         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26682
26683 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26684
26685         [BZ #12460]
26686         * config.make.in (config-cflags-novzeroupper): Define.
26687         * configure.in: Substitute libc_cv_cc_novzeroupper.
26688         * elf/Makefile (AVX-CFLAGS): Define.
26689         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26690         (CFLAGS-tst-auditmod4a.c): Likewise.
26691         (CFLAGS-tst-auditmod4b.c): Likewise.
26692         (CFLAGS-tst-auditmod6b.c): Likewise.
26693         (CFLAGS-tst-auditmod6c.c): Likewise.
26694         (CFLAGS-tst-auditmod7b.c): Likewise.
26695         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26696
26697 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26698
26699         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26700         function to the callback.
26701         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26702
26703 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26704
26705         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26706         of errno.
26707
26708 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26709
26710         [BZ #11724]
26711         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26712         of constructors.
26713         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26714         of destructors.
26715         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26716
26717         [BZ #11724]
26718         * elf/Makefile: Add rules to build and run new test.
26719         * elf/tst-initorder.c: New file.
26720         * elf/tst-initorder.exp: New file.
26721         * elf/tst-initordera1.c: New file.
26722         * elf/tst-initordera2.c: New file.
26723         * elf/tst-initordera3.c: New file.
26724         * elf/tst-initordera4.c: New file.
26725         * elf/tst-initorderb1.c: New file.
26726         * elf/tst-initorderb2.c: New file.
26727         * elf/tst-order-a1.c: New file.
26728         * elf/tst-order-a2.c: New file.
26729         * elf/tst-order-a3.c: New file.
26730         * elf/tst-order-a4.c: New file.
26731         * elf/tst-order-b1.c: New file.
26732         * elf/tst-order-b2.c: New file.
26733         * elf/tst-order-main.c: New file.
26734         New test case by George Gensure <werkt0@gmail.com>.
26735
26736 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26737
26738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26739         decoding ACE if AI_CANONIDN.
26740
26741 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26742
26743         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26744
26745 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26746
26747         * version.h (RELEASE): Bump for 2.13 release.
26748         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26749
26750         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26751
26752         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26753         MADV_NOHUGEPAGE.
26754         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26755         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26756         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26757         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26758         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26759         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26760
26761         * posix/getconf.c: Update copyright year.
26762         * catgets/gencat.c: Likewise.
26763         * csu/version.c: Likewise.
26764         * debug/catchsegv.sh: Likewise.
26765         * debug/xtrace.sh: Likewise.
26766         * elf/ldconfig.c: Likewise.
26767         * elf/ldd.bash.in: Likewise.
26768         * elf/sprof.c (print_version): Likewise.
26769         * iconv/iconv_prog.c: Likewise.
26770         * iconv/iconvconfig.c: Likewise.
26771         * locale/programs/locale.c: Likewise.
26772         * locale/programs/localedef.c: Likewise.
26773         * malloc/memusage.sh: Likewise.
26774         * malloc/mtrace.pl: Likewise.
26775         * nscd/nscd.c (print_version): Likewise.
26776         * nss/getent.c: Likewise.
26777
26778         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26779         PF_CAIF, and PF_ALG.
26780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26781
26782 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26783
26784         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26785         (modules-names): Use them.
26786         (ifunc-test-modules, ifunc-pie-tests): Define.
26787         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26788         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26789         (test-extras): Likewise.
26790         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26791         $(compile-command.c).
26792         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26793         (all-built-dso): Define.
26794         (check-textrel.out, check-execstack.out): Depend on it.
26795
26796         * configure.in: Don't override --enable-multi-arch.
26797
26798 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26799
26800         [BZ #6812]
26801         * nscd/hstcache.c (tryagain): Define.
26802         (cache_addhst): Return tryagain not notfound for temporary errors.
26803         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26804         failed.
26805
26806 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26807
26808         [BZ #10563]
26809         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26810         to make the syscall.
26811         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26812
26813         [BZ #12378]
26814         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26815         and fall back to matching as normal character if the string ends before
26816         the matching ']' is found.  This is what POSIX requires.
26817         * posix/testfnm.c: Adjust test result.
26818         * posix/globtest.sh: Adjust test result.  Add new test.
26819         * posix/tst-fnmatch.input: Likewise.
26820         * posix/tst-fnmatch2.c: Add new test.
26821
26822 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26823
26824         * elf/Makefile (check-execstack): Revert last change.  Depend on
26825         check-execstack.h.
26826         (check-execstack.h): New target.
26827         (generated): Add check-execstack.h.
26828         * elf/check-execstack.c: Include "check-execstack.h".
26829         (main): Revert last change.
26830         (handle_file): Return zero if GNU_STACK is absent and
26831         DEFAULT_STACK_PERMS doesn't include PF_X.
26832
26833 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26834
26835         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26836         in child fails because the descriptor is already closed.
26837         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26838         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26839         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26840
26841         [BZ #12397]
26842         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26843         syscall.
26844
26845         [BZ #10484]
26846         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26847         temporary buffer used to handle multi lookups locally.
26848         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26849
26850 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26851
26852         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26853         loader is ld.so.
26854
26855 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26856
26857         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26858         alignment for SSE2.
26859
26860 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26861
26862         [BZ #12394]
26863         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26864         characters.  When rounding increased number of integer digits recompute
26865         number of groups.
26866         * stdio-common/tst-grouping.c: New file.
26867         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26868
26869 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26870
26871         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26872         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26873
26874         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26875         void.
26876         * bits/select.h: Likewise.
26877
26878 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26879
26880         * po/ja.po: Update from translation team.
26881
26882 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26883
26884         [BZ #11155]
26885         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26886         implementation just like for lxstat, fxstatat, et al.
26887
26888 2010-12-27  Jim Meyering  <meyering@redhat.com>
26889
26890         [BZ #12348]
26891         * posix/regexec.c (build_trtable): Return failure indication upon
26892         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26893
26894 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26895
26896         [BZ #12201]
26897         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26898         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26899         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26900         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26901
26902         [BZ #12207]
26903         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26904
26905         [BZ #12204]
26906         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26907         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26908
26909 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26910
26911         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26912         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26913         script has SORT_BY_INIT_PRIORITY.
26914         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26915         NO_CTORS_DTORS_SECTIONS is defined.
26916         * elf/soinit.c: Likewise.
26917         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26918         NO_CTORS_DTORS_SECTIONS is defined.
26919         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26920         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26921         * sysdeps/sh/init-first.c: Likewise.
26922         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26923
26924 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26925
26926         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26927         always use the slow path.
26928
26929 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26930
26931         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26932         similar rule which adds the sysdep directories to the header search in
26933         order to pick up the correct platform stackinfo.h.
26934         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26935         perform test if it is, otherwise return successfully without testing.
26936         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26937         DEFAULT_STACK_PERMS define in stackinfo.h.
26938         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26939         defined in stackinfo.h.
26940         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26941         DEFAULT_STACK_PERMS defined in stackinfo.h.
26942         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26943         * sysdeps/ia64/stackinfo.h: Likewise.
26944         * sysdeps/s390/stackinfo.h: Likewise.
26945         * sysdeps/sh/stackinfo.h: Likewise.
26946         * sysdeps/sparc/stackinfo.h: Likewise.
26947         * sysdeps/x86_64/stackinfo.h: Likewise.
26948         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26949         PF_X for powerpc64.  Retain PF_X for powerpc32.
26950
26951 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26952
26953         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26954         accurately.
26955         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26956         GETDENTS_64BIT_ALIGNED.
26957
26958 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26959
26960         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26961
26962 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26963
26964         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26965         _GNU_SOURCE.
26966
26967         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26968         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26969         Remove __restrict.
26970         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26971         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26972
26973 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26974
26975         [BZ #11655]
26976         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26977         are initialized.
26978
26979 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26980
26981         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26982
26983 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26984
26985         * po/it.po: Update from translation team.
26986
26987 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26988
26989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26990         unused codes.
26991
26992 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26993
26994         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26995
26996 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26997
26998         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26999         specially.
27000         (gaih_getanswer_slice): Likewise.
27001
27002 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
27003
27004         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27005
27006 2010-05-31  Petr Baudis  <pasky@suse.cz>
27007
27008         [BZ #11149]
27009         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27010         silently even in the chroot mode.
27011
27012 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
27013
27014         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27015         last patch a bit.  Pretty printing
27016
27017 2010-05-31  Petr Baudis <pasky@suse.cz>
27018
27019         [BZ #10085]
27020         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27021         initialization of skip_initgroups_dyn.
27022
27023 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
27024
27025         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27026         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27027
27028 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
27029
27030         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27031
27032 2010-11-11  Andreas Schwab  <schwab@redhat.com>
27033
27034         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27035         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27036         (tst-fnmatch-ENV): Set MALLOC_TRACE.
27037         ($(objpfx)tst-fnmatch-mem): New rule.
27038         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27039         * posix/tst-fnmatch.c (main): Call mtrace.
27040
27041 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
27042
27043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27044         Support Intel processor model 6 and model 0x2c.
27045
27046 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
27047
27048         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27049           signed comparison.
27050
27051 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
27052
27053         [BZ #12205]
27054         * string/test-strncasecmp.c (check_result): New function.
27055         (do_one_test): Use it.
27056         (check1): New function.
27057         (test_main): Use it.
27058         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27059         Support strcasecmp and strncasecmp.
27060
27061 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
27062
27063         [BZ #12194]
27064         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27065         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27066
27067 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27068
27069         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27070         IFUNC support.
27071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27072         memset-x86-64.
27073         * sysdeps/x86_64/multiarch/bzero.S: New file.
27074         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27075         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27076         * sysdeps/x86_64/multiarch/memset.S: New file.
27077         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27079         Set bit_Prefer_SSE_for_memop for Intel processors.
27080         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27081         Define.
27082         (index_Prefer_SSE_for_memop): Define.
27083         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27084
27085 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27086
27087         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27088         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27089
27090 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27091
27092         [BZ #12191]
27093         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27094         (__x86_64_raw_data_cache_size_half): Likewise.
27095         (__x86_64_raw_shared_cache_size): Likewise.
27096         (__x86_64_raw_shared_cache_size_half): Likewise.
27097
27098         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27099         (__x86_64_raw_data_cache_size_half): Likewise.
27100         (__x86_64_raw_shared_cache_size): Likewise.
27101         (__x86_64_raw_shared_cache_size_half): Likewise.
27102         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27103         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27104         and __x86_64_raw_shared_cache_size_half.  Round
27105         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27106         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27107         to multiple of 256 bytes.
27108
27109 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27110
27111         [BZ #12167]
27112         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27113         of inacessible symlinks.  Verify result of symlink before returning it.
27114         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27115         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27116
27117 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27118
27119         * math/math.h (isinf): Fix typo in comment.
27120
27121 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27122
27123         * po/da.po: Update from translation team.
27124
27125 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27126
27127         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27128         is added to the list.
27129
27130 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27131             Ulrich Drepper  <drepper@gmail.com>
27132
27133         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27134         the global list here.  Move code to...
27135         (_dl_add_to_namespace_list): ...here.  New function.
27136         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27137         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27138         * elf/dl-load.c (lose): Don't remove the element from the list.
27139         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27140         (_dl_map_object): Likewise.
27141
27142 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27143
27144         [BZ #12159]
27145         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27146         into all bytes of SSE register.
27147         Patch by Richard Li <richardpku@gmail.com>.
27148
27149 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27150
27151         [BZ #12140]
27152         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27153         perturbing.
27154
27155 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27156
27157         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27158         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27159         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27160         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27162         submachine.
27163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27164
27165 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27166
27167         * include/dlfcn.h (__RTLD_SECURE): Define.
27168         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27169         mode & __RTLD_SECURE instead.
27170         (open_path): Rename preloaded parameter to secure.
27171         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27172         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27173         * elf/dl-deps.c (openaux): Likewise.
27174         * elf/rtld.c (struct map_args): Remove is_preloaded.
27175         (map_doit): Don't use it.
27176         (dl_main): Likewise.
27177         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27178         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27179
27180 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27181
27182         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27183         (sysd-rules-targets): Remove duplicates.
27184         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27185         rtld-%.$o dependency.
27186
27187 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27188
27189         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27190         _dl_map_object do it.
27191
27192 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27193
27194         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27195         fast fma builtins, define the macros in the C99 standard.
27196         (FP_FAST_FMAF): Likewise.
27197         (FP_FAST_FMAL): Likewise.
27198         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27199
27200         * bits/mathdef.h: Update copyright year.
27201         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27202
27203 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27204
27205         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27206         builtins, define the macros in the C99 standard.
27207         (FP_FAST_FMAF): Likewise.
27208         (FP_FAST_FMAL): Likewise.
27209         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27210         multiply/add.
27211         (FP_FAST_FMAF): Likewise.
27212
27213 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27214
27215         [BZ #3268]
27216         * math/libm-test.inc (fma_test): Some new testcases.
27217         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27218         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27219         y and infinite z.  Do multiplication by C already in long double.
27220         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27222         y and infinite z.  Do bitwise or of inexact bit into u.d.
27223         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27224         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27225         * sysdeps/i386/fpu/s_fma.S: Removed.
27226         * sysdeps/i386/fpu/s_fmal.S: Removed.
27227
27228 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27229
27230         [BZ #3268]
27231         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27233         computation is not scheduled after fetestexcept.  Fix value
27234         of minimum denormal long double.
27235
27236 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27237
27238         [BZ #3268]
27239         * math/libm-test.inc (fma_test): Add some more tests.
27240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27241         correctly.
27242
27243 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27244
27245         * scripts/data/localplt-s390-linux-gnu.data: New file.
27246         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27247
27248 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27249
27250         [BZ #3268]
27251         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27252         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27253         instead of dbl-64.
27254         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27255         inlines.
27256         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27258         if one of x and y is very large and the other is subnormal.
27259         * sysdeps/s390/fpu/s_fmaf.c: New file.
27260         * sysdeps/s390/fpu/s_fma.c: New file.
27261         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27262         * sysdeps/powerpc/fpu/s_fma.S: New file.
27263         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27264         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27265         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27266
27267 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27268
27269         [BZ #3268]
27270         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27271         fma tests.
27272         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27273         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27274         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27275         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27276         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27277         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27278         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27279
27280 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27281
27282         [BZ #12078]
27283         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27284         * posix/bug-regex31.input: Add test case.
27285
27286 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27287
27288         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27289         * posix/bug-regex31.input: New file.
27290
27291         [BZ #12078]
27292         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27293         (parse_sub_exp): Fix last change, use postorder.
27294
27295         * posix/bug-regex31.c: New file.
27296         * posix/Makefile: Add rules to build and run bug-regex31.
27297
27298         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27299
27300         [BZ #12078]
27301         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27302
27303         [BZ #12108]
27304         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27305         to have entries in sys_siglist.
27306
27307         [BZ #12093]
27308         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27309         be NULL.
27310
27311 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27312
27313         [BZ #3268]
27314         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27315         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27316         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27317         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27318         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27319         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27320         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27321         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27322         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27323         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27324         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27325         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27326         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27327         * math/ftestexcept.c (fetestexcept): Likewise.
27328         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27329         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27330         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27331         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27332         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27333         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27334         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27335
27336 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27337
27338         [BZ #12107]
27339         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27340         newline.
27341
27342 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27343
27344         * string/bug-strstr1.c: New file.
27345         * string/Makefile: Add rules to build and run bug-strstr1.
27346
27347 2010-10-05  Eric Blake  <eblake@redhat.com>
27348
27349         [BZ #12092]
27350         * string/str-two-way.h (two_way_long_needle): Always clear memory
27351         when skipping input due to the shift table.
27352
27353 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
27354
27355         [BZ #12005]
27356         * malloc/mcheck.c: Handle large requests.
27357
27358         [BZ #12077]
27359         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27360         for strncmp and strncasecmp.
27361         * string/stratcliff.c: Add tests for strcmp and strncmp.
27362         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27363
27364 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27365
27366         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27367         __set_fpscr.
27368
27369 2010-09-30  Andreas Jaeger  <aj@suse.de>
27370
27371         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27372         (CGROUP_SUPER_MAGIC): Define.
27373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27374         Handle btrfs and cgroup file systems.
27375         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27376         Likewise.
27377
27378 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27379
27380         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27381         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27382
27383 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27384
27385         [BZ #12067]
27386         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27387         trying to locate the ELF header.
27388
27389 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27390
27391         [BZ #11611]
27392         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27393         Mask out sign-bit copies when constructing f_fsid.
27394
27395 2010-09-24  Petr Baudis <pasky@suse.cz>
27396
27397         * debug/stack_chk_fail_local.c: Add missing licence exception.
27398         * debug/warning-nop.c: Likewise.
27399
27400 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27401
27402         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27403         implementing getdents64 using getdents syscall, set d_type if
27404         __ASSUME_GETDENTS32_D_TYPE.
27405
27406 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27407
27408         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27409         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27410
27411 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27412
27413         [BZ #12037]
27414         * posix/unistd.h: Undo change of feature selection for ftruncate from
27415         2010-01-11.
27416
27417 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27418
27419         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27420         detection.
27421
27422 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27423
27424         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27425         fanotify_mark.
27426         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27427
27428 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27429
27430         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27431         variables after CHECK_SP call.
27432         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27433
27434 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27435             Ulrich Drepper  <drepper@redhat.com>
27436
27437         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27438         re-relocationg ld.so.
27439         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27440         _dl_init_paths call.
27441         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27442         here anymore.
27443
27444 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27445
27446         * resolv/res_init.c (__res_vinit): Count the default server we added.
27447
27448 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27449             Ulrich Drepper  <drepper@redhat.com>
27450
27451         [BZ #11968]
27452         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27453         (____longjmp_chk): Use %ebx for saving value across system call.
27454         Add unwind info.
27455
27456 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27457
27458         * manual/Makefile: Don't mix pattern rules with normal rules.
27459
27460 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27461
27462         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27463         operation.
27464         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27465         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27466         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27467         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27468         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27469         Likewise.
27470
27471 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27472
27473         [BZ #11979]
27474         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27475         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27476
27477 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27478
27479         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27480         * sysdeps/x86_64/addmul_1.S: Likewise.
27481         * sysdeps/x86_64/lshift.S: Likewise.
27482         * sysdeps/x86_64/mul_1.S: Likewise.
27483         * sysdeps/x86_64/rshift.S: Likewise.
27484         * sysdeps/x86_64/sub_n.S: Likewise.
27485         * sysdeps/x86_64/submul_1.S: Likewise.
27486
27487 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27488
27489         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27490         Define __sched_param instead of SCHED_* and sched_param when
27491         <bits/sched.h> is included with __need_schedparam defined.
27492         * bits/sched.h [__need_schedparam]
27493         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27494         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27495         (__defined_schedparam): Define to 1.
27496         (__sched_param): New structure, identical to sched_param.
27497         (__need_schedparam): Undefine.
27498
27499 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27500
27501         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27502         (epoll_create1): Declare.
27503
27504         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27505
27506 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27507
27508         [BZ #7066]
27509         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27510         shifting retval into place.
27511
27512 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27513
27514         * nis/rpcsvc/nis.h: Update copyright notice.
27515         * nis/rpcsvc/nis.x: Likewise.
27516         * nis/rpcsvc/nis_callback.h: Likewise.
27517         * nis/rpcsvc/nis_callback.x: Likewise.
27518         * nis/rpcsvc/nis_object.x: Likewise.
27519         * nis/rpcsvc/nis_tags.h: Likewise.
27520         * nis/rpcsvc/yp.h: Likewise.
27521         * nis/rpcsvc/yp.x: Likewise.
27522         * nis/rpcsvc/ypupd.h: Likewise.
27523         * nis/yp_xdr.c: Likewise.
27524         * nis/ypupdate_xdr.c: Likewise.
27525
27526         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27527         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27528         (pmap_getport): Use __libc_rpc_getport.
27529         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27530         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27531         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27532
27533 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27534
27535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27536         fanotify_mark.
27537
27538 2010-08-27  Roland McGrath  <roland@redhat.com>
27539
27540         * sysdeps/i386/i686/multiarch/Makefile
27541         (CFLAGS-varshift.c): New variable.
27542
27543 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27544
27545         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27546         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27547
27548         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27549
27550         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27551
27552 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27553
27554         * sysdeps/x86_64/strlen.S: Unroll the loop.
27555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27556         strlen-sse2 strlen-sse2-bsf.
27557         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27558         __strlen_no_bsf if bit_Slow_BSF is set.
27559         (__strlen_sse42): Removed.
27560         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27561         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27562
27563 2010-08-25  Roland McGrath  <roland@redhat.com>
27564
27565         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27566         * sysdeps/x86_64/multiarch/varshift.c: New file.
27567         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27568         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27569         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27570         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27571
27572 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27573
27574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27575         strlen-sse2 strlen-sse2-bsf.
27576         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27577         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27578         (__strlen_sse2): Removed.
27579         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27580         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27582         bit_Slow_BSF for Atom.
27583         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27584         (index_Slow_BSF): Define.
27585         (HAS_SLOW_BSF): Define.
27586
27587 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27588
27589         [BZ #10851]
27590         * resolv/res_init.c (__res_vinit): When no server address at all
27591         is given default to loopback.
27592
27593 2010-08-24  Roland McGrath  <roland@redhat.com>
27594
27595         * configure.in: Remove config-name.h generation.
27596         * configure: Regenerated.
27597         * config-name.in: File removed.
27598         * scripts/config-uname.sh: New file.
27599         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27600         ($(objdir)config-name.h): New target.
27601
27602         * sunrpc/rpc_parse.h: Avoid nested comment.
27603
27604 2010-08-24  Richard Henderson  <rth@redhat.com>
27605             Ulrich Drepper  <drepper@redhat.com>
27606             H.J. Lu  <hongjiu.lu@intel.com>
27607
27608         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27610         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27611         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27612         _mm_alignr_epi8 with _mm_loadu_si128.
27613         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27614         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27615         (__m128i_shift_right): Removed.
27616         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27617         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27618         * sysdeps/x86_64/multiarch/varshift.h: New file.
27619         * sysdeps/x86_64/multiarch/varshift.S: New file.
27620
27621 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27622
27623         * configure.in: Move assembler checks to before sysdep dir checking.
27624
27625 2010-08-20  Petr Baudis  <pasky@suse.cz>
27626
27627         * LICENSES: Sync the sunrpc license.
27628
27629 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27630
27631         * sunrpc/auth_des.c: Update copyright notice once again.
27632         * sunrpc/auth_none.c: Likewise.
27633         * sunrpc/auth_unix.c: Likewise.
27634         * sunrpc/authdes_prot.c: Likewise.
27635         * sunrpc/authuxprot.c: Likewise.
27636         * sunrpc/bindrsvprt.c: Likewise.
27637         * sunrpc/clnt_gen.c: Likewise.
27638         * sunrpc/clnt_perr.c: Likewise.
27639         * sunrpc/clnt_raw.c: Likewise.
27640         * sunrpc/clnt_simp.c: Likewise.
27641         * sunrpc/clnt_tcp.c: Likewise.
27642         * sunrpc/clnt_udp.c: Likewise.
27643         * sunrpc/clnt_unix.c: Likewise.
27644         * sunrpc/des_crypt.c: Likewise.
27645         * sunrpc/des_soft.c: Likewise.
27646         * sunrpc/get_myaddr.c: Likewise.
27647         * sunrpc/getrpcport.c: Likewise.
27648         * sunrpc/key_call.c: Likewise.
27649         * sunrpc/key_prot.c: Likewise.
27650         * sunrpc/openchild.c: Likewise.
27651         * sunrpc/pm_getmaps.c: Likewise.
27652         * sunrpc/pm_getport.c: Likewise.
27653         * sunrpc/pmap_clnt.c: Likewise.
27654         * sunrpc/pmap_prot.c: Likewise.
27655         * sunrpc/pmap_prot2.c: Likewise.
27656         * sunrpc/pmap_rmt.c: Likewise.
27657         * sunrpc/rpc/auth.h: Likewise.
27658         * sunrpc/rpc/auth_unix.h: Likewise.
27659         * sunrpc/rpc/clnt.h: Likewise.
27660         * sunrpc/rpc/des_crypt.h: Likewise.
27661         * sunrpc/rpc/key_prot.h: Likewise.
27662         * sunrpc/rpc/netdb.h: Likewise.
27663         * sunrpc/rpc/pmap_clnt.h: Likewise.
27664         * sunrpc/rpc/pmap_prot.h: Likewise.
27665         * sunrpc/rpc/pmap_rmt.h: Likewise.
27666         * sunrpc/rpc/rpc.h: Likewise.
27667         * sunrpc/rpc/rpc_des.h: Likewise.
27668         * sunrpc/rpc/rpc_msg.h: Likewise.
27669         * sunrpc/rpc/svc.h: Likewise.
27670         * sunrpc/rpc/svc_auth.h: Likewise.
27671         * sunrpc/rpc/types.h: Likewise.
27672         * sunrpc/rpc/xdr.h: Likewise.
27673         * sunrpc/rpc_clntout.c: Likewise.
27674         * sunrpc/rpc_cmsg.c: Likewise.
27675         * sunrpc/rpc_common.c: Likewise.
27676         * sunrpc/rpc_cout.c: Likewise.
27677         * sunrpc/rpc_dtable.c: Likewise.
27678         * sunrpc/rpc_hout.c: Likewise.
27679         * sunrpc/rpc_main.c: Likewise.
27680         * sunrpc/rpc_parse.c: Likewise.
27681         * sunrpc/rpc_parse.h: Likewise.
27682         * sunrpc/rpc_prot.c: Likewise.
27683         * sunrpc/rpc_sample.c: Likewise.
27684         * sunrpc/rpc_scan.c: Likewise.
27685         * sunrpc/rpc_scan.h: Likewise.
27686         * sunrpc/rpc_svcout.c: Likewise.
27687         * sunrpc/rpc_tblout.c: Likewise.
27688         * sunrpc/rpc_util.c: Likewise.
27689         * sunrpc/rpc_util.h: Likewise.
27690         * sunrpc/rpcinfo.c: Likewise.
27691         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27692         * sunrpc/rpcsvc/key_prot.x: Likewise.
27693         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27694         * sunrpc/rpcsvc/mount.x: Likewise.
27695         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27696         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27697         * sunrpc/rpcsvc/rex.x: Likewise.
27698         * sunrpc/rpcsvc/rstat.x: Likewise.
27699         * sunrpc/rpcsvc/rusers.x: Likewise.
27700         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27701         * sunrpc/rpcsvc/spray.x: Likewise.
27702         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27703         * sunrpc/rtime.c: Likewise.
27704         * sunrpc/svc.c: Likewise.
27705         * sunrpc/svc_auth.c: Likewise.
27706         * sunrpc/svc_authux.c: Likewise.
27707         * sunrpc/svc_raw.c: Likewise.
27708         * sunrpc/svc_run.c: Likewise.
27709         * sunrpc/svc_simple.c: Likewise.
27710         * sunrpc/svc_tcp.c: Likewise.
27711         * sunrpc/svc_udp.c: Likewise.
27712         * sunrpc/svc_unix.c: Likewise.
27713         * sunrpc/svcauth_des.c: Likewise.
27714         * sunrpc/xcrypt.c: Likewise.
27715         * sunrpc/xdr.c: Likewise.
27716         * sunrpc/xdr_array.c: Likewise.
27717         * sunrpc/xdr_float.c: Likewise.
27718         * sunrpc/xdr_mem.c: Likewise.
27719         * sunrpc/xdr_rec.c: Likewise.
27720         * sunrpc/xdr_ref.c: Likewise.
27721         * sunrpc/xdr_sizeof.c: Likewise.
27722         * sunrpc/xdr_stdio.c: Likewise.
27723
27724         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27725         handling.
27726
27727 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27728
27729         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27730
27731 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27732
27733         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27734         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27735         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27736         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27737         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27738         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27739         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27740         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27742         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27743         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27744         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27745         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27746         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27747
27748 2010-07-26  Anton Blanchard  <anton@samba.org>
27749
27750         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27751         * malloc/arena.c (heap_trim): Likewise.
27752
27753 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27754
27755         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27756         here.  Not...
27757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27758         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27759
27760 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27761
27762         * sysdeps/i386/elf/Makefile: New file.
27763
27764 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27765
27766         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27767         from fanotify_init.
27768         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27769         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27770
27771 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27772
27773         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27774         of strncasecmp_l.
27775         * sysdeps/multiarch/strcmp.S: Likewise.
27776
27777 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27778
27779         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27780         strncase_l-nonascii.
27781         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27782         Add strncase_l-ssse3.
27783         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27784         * sysdeps/x86_64/strcmp.S: Likewise.
27785         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27786         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27787         * sysdeps/x86_64/strncase.S: New file.
27788         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27789         * sysdeps/x86_64/strncase_l.S: New file.
27790         * string/Makefile (strop-tests): Add strncasecmp.
27791         * string/test-strncasecmp.c: New file.
27792
27793         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27794         warning.
27795
27796         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27797         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27798
27799 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27800
27801         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27802
27803 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27804
27805         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27806         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27807         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27808
27809 2010-05-01  Alan Modra  <amodra@gmail.com>
27810
27811         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27812         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27813         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27814         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27815         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27816         tidying.  Don't tail-call __sigjmp_save for static lib.
27817         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27818         save location.
27819         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27820         (CALL_MCOUNT): Add eh info, and nop after bl.
27821         (TAIL_CALL_SYSCALL_ERROR): New macro.
27822         (PSEUDO_RET): Use it.
27823         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27824         Correct save location of integer regs and cr.
27825         (_dl_profile_resolve): Correct cr save location.  Delete nops
27826         after bl when SHARED.  Reduce cfi size a little by better
27827         placement of cfi directives.
27828         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27829         make a stack frame.  Instead use parm save area as a temp.
27830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27831         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27833         Don't make a stack frame for parent, use parm save area.
27834         Increase child stack frame to 112 bytes.  Don't save unused reg,
27835         and adjust reg usage.  Set up cfi on error recovery and
27836         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27838         (__makecontext): Add dummy nop after jump to exit.
27839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27840         Use correct parm save area and cr save, reduce stack frame.
27841         Correct cfi for possible PSEUDO_RET frame setup.
27842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27843         Branch to local label emitted by PSEUDO_RET rather than
27844         __syscall_error.
27845
27846 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27847
27848         [BZ #11904]
27849         * locale/programs/locale.c (print_assignment): New function.
27850         (show_locale_vars): Use it.
27851
27852 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27853
27854         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27855         field.
27856         (struct statfs64): Likewise.
27857         (_STATFS_F_FLAGS): Define.
27858         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27859         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27860         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27861         (ST_VALID): Define locally.
27862         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27863         __statvfs_getflags, use the provided value.
27864         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27865         __ASSUME_STATFS_F_FLAGS.
27866
27867         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27868
27869         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27870         Add sys/fanotify.h.
27871         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27872         fanotify_mask for GLIBC_2.13.
27873         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27874         fanotify_init and fanotify_mark.
27875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27876         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27877
27878         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27879         Add prlimit.
27880         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27881         prlimit64 for GLIBC_2.13.
27882         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27883         prlimit64.
27884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27885         syscall.
27886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27887         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27888         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27890         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27891         add prlimit alias.
27892         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27893
27894         [BZ #11903]
27895         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27896         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27897
27898         * nss/Makefile: Add rules to build and run tst-nss-test1.
27899         * shlib-versions: Add entry for libnss_test1.
27900         * nss/nss_test1.c: New file.
27901         * nss/tst-nss-test1.c: New file.
27902
27903         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27904         (__nss_configure_lookup): Set appropriate entry in
27905         __nss_configure_lookup to true.
27906         * nss/nsswitch.h: Define enum with indeces of databases in
27907         databases and __nss_database_custom arrays.  Declare
27908         __nss_database_custom.
27909         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27910         to avoid using nscd when custom rules are installed.
27911         * nss/getXXbyYY_r.c: Likewise.
27912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27913
27914         * nss/nss_files/files-parse.c: Whitespace fixes.
27915
27916 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27917
27918         [BZ #11883]
27919         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27920         * posix/fnmatch_loop.c: Likewise.
27921
27922 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27923
27924         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27925         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27926         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27927         * Versions.def [GLIBC_2.13]: Add.
27928
27929 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27930
27931         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27932         Also fail if tpwd after pwuid call is NULL.
27933
27934 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27935
27936         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27937         when converting to ms.
27938
27939 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27940
27941         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27942         EOPNOTSUPP errors with ENOTTY.
27943         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27944         EOPNOTSUPP errors with ENOTTY.
27945
27946 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27947
27948         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27949         Add strcasecmp_l-ssse3.
27950         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27951         strcasecmp.
27952         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27953         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27954         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27955
27956 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27957
27958         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27959
27960         * string/Makefile (strop-tests): Add strcasecmp.
27961         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27962         strcasecmp_l-nonascii.
27963         (gen-as-const-headers): Add locale-defines.sym.
27964         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27965         * sysdeps/x86_64/strcasecmp.S: New file.
27966         * sysdeps/x86_64/strcasecmp_l.S: New file.
27967         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27968         * sysdeps/x86_64/locale-defines.sym: New file.
27969         * string/test-strcasecmp.c: New file.
27970
27971         * string/test-strcasestr.c: Test both ends of the range of characters.
27972         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27973
27974 2010-07-29  Roland McGrath  <roland@redhat.com>
27975
27976         [BZ #11856]
27977         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27978
27979 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27980
27981         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27982         for ld.so.
27983
27984 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27985
27986         * manual/memory.texi (Malloc Tunable Parameters): Document
27987         M_PERTURB.
27988
27989 2010-07-26  Roland McGrath  <roland@redhat.com>
27990
27991         [BZ #11840]
27992         * configure.in (-fgnu89-inline check): Set and substitute
27993         gnu89_inline, not libc_cv_gnu89_inline.
27994         * configure: Regenerated.
27995         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27996
27997 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27998
27999         * string/test-strnlen.c: New file.
28000         * string/Makefile (strop-tests): Add strnlen.
28001         * string/tester.c (test_strnlen): Add a few more test cases.
28002         * string/tst-strlen.c: Better error reporting.
28003
28004         * sysdeps/x86_64/strnlen.S: New file.
28005
28006 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
28007
28008         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28009         lower-latency instructions.
28010
28011 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
28012
28013         * string/test-strcasestr.c: New file.
28014         * string/test-strstr.c: New file.
28015         * string/Makefile (strop-tests): Add strstr and strcasestr.
28016         * string/str-two-way.h: Don't undefine MAX.
28017         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28018
28019 2010-07-21  Andreas Schwab  <schwab@redhat.com>
28020
28021         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28022         strcasestr-nonascii.
28023         (CFLAGS-strcasestr-nonascii.c): Define.
28024         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28025         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28026         Remove unused attribute.
28027
28028 2010-07-20  Roland McGrath  <roland@redhat.com>
28029
28030         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28031         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
28032         ld.so.cache was broken.  With it, there is no way to disable dsocaps
28033         like LD_HWCAP_MASK can disable hwcaps.
28034
28035 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28036
28037         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28038
28039 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
28040
28041         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28042         call in strcasestr.
28043         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28044         __strcasestr_sse42_nonascii.
28045         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28046         strcasestr-nonascii.c.
28047         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28048
28049 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
28050
28051         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28052         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28053         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28054         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28055
28056 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
28057
28058         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28059         fcntl.
28060
28061 2010-07-06  Andreas Schwab  <schwab@redhat.com>
28062
28063         [BZ #11577]
28064         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28065         dl_signal_cerror.
28066
28067 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28068
28069         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28070         _PC_PIPE_BUF using F_GETPIPE_SZ.
28071
28072 2010-07-05  Roland McGrath  <roland@redhat.com>
28073
28074         * manual/arith.texi (Rounding Functions): Fix rint description
28075         implicit in round description.
28076
28077 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28078
28079         * elf/Makefile: Fix linking for a few tests to make recent linker
28080         happy.
28081
28082 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28083
28084         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28085         $(common-objpfx)libc_nonshared.a.
28086
28087 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28088
28089         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28090         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28091         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28092         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28093         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28094         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28095         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28096         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28111         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28112         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28113         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28114         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28115         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28116         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28117         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28118         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28119         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28120         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28121         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28122         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28137
28138 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28139
28140         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28141         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28142         * string/memmove.c (memmove): Renamed to ...
28143         (MEMMOVE): ...this.  Default to memmove.
28144         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28145         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28146         (END_CHK): Define.
28147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28148         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28149         mempcpy-ssse3-back memmove-ssse3-back.
28150         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28151         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28152         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28153         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28154         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28155         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28156         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28157         * sysdeps/x86_64/multiarch/memmove.c: New file.
28158         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28159         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28160         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28161         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28162         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28164         Define.
28165         (index_Fast_Copy_Backward): Define.
28166         (HAS_ARCH_FEATURE): Define.
28167         (HAS_FAST_REP_STRING): Define.
28168         (HAS_FAST_COPY_BACKWARD): Define.
28169
28170 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28171
28172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28173         Restore proper fallback handling.
28174
28175 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28176
28177         [BZ #11701]
28178         * posix/group_member.c (__group_member): Correct checking loop.
28179
28180         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28181         OOM in getpwuid_r correctly.  Return error number when the caller
28182         should return, otherwise -1.
28183         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28184         call returning > 0 value.
28185         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28186
28187 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28188
28189         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28190         libc_nonshared.a from targets in modules-names.
28191
28192 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28193
28194         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28195         requires it.
28196
28197 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28198
28199         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28200         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28201         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28202         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28203
28204 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28205
28206         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28207
28208 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28209
28210         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28211         and F_GETPIPE_SZ.
28212         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28213         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28216         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28217         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28218
28219 2010-06-14  Roland McGrath  <roland@redhat.com>
28220
28221         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28222
28223 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28224
28225         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28226         __REDIRECT followed by __THROW.
28227         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28228         * posix/getopt.h (getopt): Likewise.
28229
28230 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28231
28232         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28233         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28234         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28235         in AT_FLAGS.
28236         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28237         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28238
28239 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28240
28241         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28242
28243 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28244
28245         [BZ #11640]
28246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28247         Properly check family and model.
28248
28249 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28250
28251         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28252
28253 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28254
28255         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28256
28257 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28258
28259         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28260         symbol reference.
28261
28262 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28263
28264         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28265         symbol reference.
28266
28267 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28268
28269         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28270         and internal_recvmmsg.
28271         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28272         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28273         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28274         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28275
28276         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28277         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28278         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28279
28280 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28281
28282         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28283
28284 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28285
28286         POWER7 optimizations.
28287         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28288         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28289
28290 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28291
28292         * version.h: Update for 2.13 development version.
28293
28294 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28295
28296         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28297         exceptions.  Return 0.
28298
28299 2010-05-07  Roland McGrath  <roland@redhat.com>
28300
28301         * elf/ldconfig.c (main): Add a const.
28302
28303 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28304
28305         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28306         (args_options): Add no-idn option.
28307         (ahosts_keys_int): Add idn_flags to ai_flags.
28308         (parse_option): Handle 'i' option to clear idn_flags.
28309
28310         * malloc/malloc.c (_int_free): Possible race in the most recently
28311         added check.  Only act on the data if no current modification
28312         happened.
28313
28314 See ChangeLog.17 for earlier changes.