Allow multiple input domains to be run in the same benchmark program
[glibc.git] / ChangeLog
blobafeadd7525ab5240bf7f545c8dd3079a433bc039
1 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/Makefile (bench): Remove slow benchmarks.
4         * benchtests/atan-inputs: Add slow benchmark inputs.
5         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6         (BENCH_FUNC): Accept variant offset.
7         (VARIANT): Define.
8         * benchtests/bench-skeleton.c (main): Run benchmark for each
9         variant.
10         * benchtests/cos-inputs: Add slow benchmark inputs.
11         * benchtests/exp-inputs: Likewise.
12         * benchtests/pow-inputs: Likewise.
13         * benchtests/sin-inputs: Likewise.
14         * benchtests/slowatan-inputs: Remove.
15         * benchtests/slowatan.c: Remove.
16         * benchtests/slowcos-inputs: Remove.
17         * benchtests/slowcos.c: Remove.
18         * benchtests/slowexp-inputs: Remove.
19         * benchtests/slowexp.c: Remove.
20         * benchtests/slowpow-inputs: Remove.
21         * benchtests/slowpow.c: Remove.
22         * benchtests/slowsin-inputs: Remove.
23         * benchtests/slowsin.c: Remove.
24         * benchtests/slowtan-inputs: Remove.
25         * benchtests/slowtan.c: Remove.
26         * benchtests/tan-inputs: Add slow benchmark inputs.
27         * scripts/bench.pl: Parse comments and directives.
29         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30         in CPPFLAGS.
31         ($(objpfx)bench-%.c): Remove *-ITER.
32         * benchtests/bench-modf.c: Remove definition of ITER.
33         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34         (main): Loop for DURATION seconds instead of fixed number of
35         iterations.
36         * scripts/bench.pl: Don't expect iterations in parameters.
38 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40         * io/fchdir.c (__fchdir): Renamed from fchdir.
41         (fchdir): Define as weak alias.
43 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46         (ERRNO_EDOM): Likewise.
47         (ERRNO_ERANGE): Likewise.
48         (noErrnoTests): New variable.
49         (init_max_error): Set errno to 0.
50         (test_single_errno): New function.
51         (test_errno): Likewise.
52         (check_float_internal): Call test_errno.  Set errno to 0.
53         (check_complex): Refer to errno tests in comment.
54         (check_int): Call test_errno.  Set errno to 0.
55         (check_long): Likewise.
56         (check_bool): Likewise.
57         (check_longlong): Likewise.
58         (cos_test): Use ERRNO_* flags for errno tests instead of
59         check_int.
60         (expm1_test): Likewise.
61         (fmod_test): Likewise.
62         (ilogb_test): Likewise.
63         (lgamma_test): Likewise.
64         (pow_test): Likewise.
65         (remainder_test): Likewise.
66         (sin_test): Likewise.
67         (tan_test): Likewise.
68         (yn_test): Likewise.
69         (initialize): Set errno to 0.
70         (main): Print number of errno tests.
71         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
73 2013-04-29  Andreas Jaeger  <aj@suse.de>
75         [BZ #15084]
76         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
77         and RES_USEVC.
79         [BZ #15085]
80         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
81         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
82         unimplemented.
84         [BZ #15380]
85         * stdlib/random.c (__initstate): Return NULL if
86         __initstate fails.
88         [BZ #15086]
89         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
90         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
91         RES_SNGLKUPREOP.
93 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
95         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
97 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
99         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
100         of individual tests.
101         (casin_test): Likewise.
102         (casinh_test): Likewise.
104 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
106         [BZ #15409]
107         * math/s_catan.c (__catan): Handle arguments with large real or
108         imaginary part separately without squaring.
109         * math/s_catanf.c (__catanf): Likewise.
110         * math/s_catanh.c (__catanh): Likewise.
111         * math/s_catanhf.c (__catanhf): Likewise.
112         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
113         and redefine.
114         (__catanhl): Handle arguments with large real or imaginary part
115         separately without squaring.
116         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
117         and redefine.
118         (__catanl): Handle arguments with large real or imaginary part
119         separately without squaring.
120         * math/libm-test.inc (catan_test): Add more tests.
121         (catanh_test): Likewise.
122         * sysdeps/i386/fpu/libm-test-ulps: Update.
123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
125 2013-04-27  Andreas Jaeger  <aj@suse.de>
127         [BZ #15007]
128         * stdlib/stdlib.h: Update guards for qecvt.
129         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
130         <stdlib.h>.
132 2013-04-27  Allan McRae  <allan@archlinux.org>
134         * sysdeps/i386/fpu/libm-test-ulps: Update.
136 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
138         [BZ #15406]
139         * math/s_catan.c: Include <float.h>.
140         (__catan): Ensure underflow exception occurs for underflowed
141         result.
142         * math/s_catanf.c: Include <float.h>.
143         (__catanf): Ensure underflow exception occurs for underflowed
144         result.
145         * math/s_catanh.c: Include <float.h>.
146         (__catanh): Ensure underflow exception occurs for underflowed
147         result.
148         * math/s_catanhf.c: Include <float.h>.
149         (__catanhf): Ensure underflow exception occurs for underflowed
150         result.
151         * math/s_catanhl.c: Include <float.h>.
152         (__catanhl): Ensure underflow exception occurs for underflowed
153         result.
154         * math/s_catanl.c: Include <float.h>.
155         (__catanl): Ensure underflow exception occurs for underflowed
156         result.
157         * math/libm-test.inc (catan_test): Add more tests.
158         (catanh_test): Likewise.
160         [BZ #15405]
161         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
162         underflowed result.
163         * math/s_ccoshf.c (__ccoshf): Likewise.
164         * math/s_ccoshl.c (__ccoshl): Likewise.
165         * math/s_csin.c (__csin): Likewise.
166         * math/s_csinf.c (__csinf): Likewise.
167         * math/s_csinh.c (__csinh): Likewise.
168         * math/s_csinhf.c (__csinhf): Likewise.
169         * math/s_csinhl.c (__csinhl): Likewise.
170         * math/s_csinl.c (__csinl): Likewise.
171         * math/libm-test.inc (ccos_test): Add more tests.
172         (ccosh_test): Likewise.
173         (csin_test): Likewise.
174         (csinh_test): Likewise.
176 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
178         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
179         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
180         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
181         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
182         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
183         powerpc/power5+/fpu folders.
184         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
187 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
191 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
193         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
194         additions to variable.
195         [$(config-machine) = x86_64] (modules-names): Likewise.
196         ($(objpfx)tst-audit3): Remove dependency.
197         ($(objpfx)tst-audit3.out): Likewise.
198         ($(objpfx)tst-audit4): Likewise.
199         ($(objpfx)tst-audit4.out): Likewise.
200         ($(objpfx)tst-audit5): Likewise.
201         ($(objpfx)tst-audit5.out): Likewise.
202         ($(objpfx)tst-audit6): Likewise.
203         ($(objpfx)tst-audit6.out): Likewise.
204         ($(objpfx)tst-audit7): Likewise.
205         ($(objpfx)tst-audit7.out): Likewise.
206         (tst-audit3-ENV): Remove variable.
207         (tst-audit4-ENV): Likewise.
208         (tst-audit5-ENV): Likewise.
209         (tst-audit6-ENV): Likewise.
210         (tst-audit7-ENV): Likewise.
211         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
212         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
213         addition to variable.
214         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
215         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
216         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
218         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
219         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
220         tst-audit3, tst-audit4 and tst-audit5.
221         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
222         tst-audit6 and tst-audit7.
223         [$(subdir) = elf] (modules-names): Add audit modules for those
224         tests.
225         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
226         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
227         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
228         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
229         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
230         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
231         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
232         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
233         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
234         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
235         [$(subdir) = elf] (tst-audit3-ENV): New variable.
236         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
237         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
238         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
239         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
240         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
241         Likewise.
242         [$(subdir) = elf && $(config-cflags-avx) = yes]
243         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
244         [$(subdir) = elf && $(config-cflags-avx) = yes]
245         (CFLAGS-tst-auditmod4a.c): Likewise.
246         [$(subdir) = elf && $(config-cflags-avx) = yes]
247         (CFLAGS-tst-auditmod4b.c): Likewise.
248         [$(subdir) = elf && $(config-cflags-avx) = yes]
249         (CFLAGS-tst-auditmod6b.c): Likewise.
250         [$(subdir) = elf && $(config-cflags-avx) = yes]
251         (CFLAGS-tst-auditmod6c.c): Likewise.
252         [$(subdir) = elf && $(config-cflags-avx) = yes]
253         (CFLAGS-tst-auditmod7b.c): Likewise.
254         * elf/tst-audit3.c: Move to ...
255         * sysdeps/x86_64/tst-audit3.c: ... here.
256         * elf/tst-audit4.c: Move to ...
257         * sysdeps/x86_64/tst-audit4.c: ... here.
258         * elf/tst-audit5.c: Move to ...
259         * sysdeps/x86_64/tst-audit5.c: ... here.
260         * elf/tst-audit6.c: Move to ...
261         * sysdeps/x86_64/tst-audit6.c: ... here.
262         * elf/tst-audit7.c: Move to ...
263         * sysdeps/x86_64/tst-audit7.c: ... here.
264         * elf/tst-auditmod3a.c: Move to ...
265         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
266         * elf/tst-auditmod3b.c: Move to ...
267         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
268         * elf/tst-auditmod4a.c: Move to ...
269         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
270         * elf/tst-auditmod4b.c: Move to ...
271         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
272         * elf/tst-auditmod5a.c: Move to ...
273         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
274         * elf/tst-auditmod5b.c: Move to ...
275         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
276         * elf/tst-auditmod6a.c: Move to ...
277         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
278         * elf/tst-auditmod6b.c: Move to ...
279         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
280         * elf/tst-auditmod6c.c: Move to ...
281         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
282         * elf/tst-auditmod7a.c: Move to ...
283         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
284         * elf/tst-auditmod7b.c: Move to ...
285         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
287 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
289         [BZ #15366]
290         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
291         define unconditionally.
292         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
293         define unconditionally.
294         (INT8_C, INT16_C, etc.): Likewise.
296 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
298         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
299         __ehdr_start with hidden visibility.
301         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
303 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
305         * math/libm-test.inc (cos_test): Use accurate hex constants.
306         (sincost_test): Likewise.
308 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
310         * math/libm-test.inc (catan_test): Add more tests.
311         (catanh_test): Likewise.
313         * math/s_catanf.c (__catanf): Use suffixed floating-point
314         constants.
315         * math/s_catanhf.c (__catanhf): Likewise.
316         * math/s_catanhl.c (__catanhl): Likewise.
317         * math/s_catanl.c (__catanl): Likewise.
319         [BZ #15394]
320         * math/s_catan.c (__catan): Calculate imaginary part of result
321         with log1p not log unless computing log of number close to 0.
322         * math/s_catanf.c (__catanf): Likewise.
323         * math/s_catanl.c (__catanl): Likewise.
324         * math/s_catanh.c (__catanh): Calculate real part of result with
325         log1p not log unless computing log of number close to 0.
326         * math/s_catanhf.c (__catanhf): Likewise.
327         * math/s_catanhl.c (__catanhl): Likewise.
328         * math/libm-test.inc (catan_test): Add more tests.
329         (catanh_test): Likewise.
330         * sysdeps/i386/fpu/libm-test-ulps: Update.
331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
333 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
335         * benchtests/Makefile: Mention files in which fast and slow
336         paths of math functions are implemented.
338 2013-04-23  Roland McGrath  <roland@hack.frob.com>
340         * sysdeps/posix/timespec_get.c: New file.
342 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
344         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
345         POWER.
346         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
347         for POWER.
348         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
349         powerpc/power5/fpu folders.
350         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
351         * benchtests/Makefile: Add modf testcase.
352         * benchtests/bench-modf.c: New file: Benchmark test for mo
354 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
356         [BZ #14888]
357         * time/Makefile (tests): Add tst-strptime-whitespace.
358         * time/strptime_l.c (get_number): Use ISSPACE.
359         (__strptime_internal): Likewise.
360         * time/tst-strptime-whitespace.c: New test case.
362 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
364         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
365         member.
366         (_nss_files_init): Set it here.
368 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
370         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
371         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
372         unsigned.
374 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
376         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
378 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
380         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
381         size just once.
383 2013-04-21  David S. Miller  <davem@davemloft.net>
385         * po/ru.po: Update Russion translation from translation project.
387 2013-04-17  Adam Conrad  <adconrad@0c3.net>
389         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
390         and setfsgid.
392 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
394         * configure.in: Remove i386 configure warning. Remove i386 case.
395         * configure: Regenerate.
396         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
397         Add example to error message.
398         * sysdeps/i386/configure: Regenerate.
400 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
402         * benchtests/Makefile (bench): Add cos, tan, slowcos and
403         slowtan.
404         * benchtests/cos-inputs: New file.
405         * benchtests/slowcos-inputs: New file.
406         * benchtests/slowcos.c: New file.
407         * benchtests/slowtan-inputs: New file.
408         * benchtests/slowtan.c: New file.
409         * benchtests/tan-inputs: New file.
411 2013-04-16  Roland McGrath  <roland@hack.frob.com>
413         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
414         considered kosher.
416 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
418         * benchtests/Makefile: Include cppflags-iterator.mk to add
419         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
421         * Makefile.in (bench-clean): New target.
422         * benchtests/Makefile (bench-clean): Likewise.
424 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
426         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
428 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
430         * stdio-common/tstdiomisc.c: Fix coding-style violation.
432 2013-04-15  Andreas Schwab  <schwab@suse.de>
434         * nscd/grpcache.c (cache_addgr): Properly check for short write.
435         * nscd/initgrcache.c (addinitgroupsX): Likewise.
436         * nscd/pwdcache.c (cache_addpw): Likewise.
437         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
438         more than recsize.
440 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
442         * benchtests/Makefile (bench): Write all output to
443         bench-out.tmp together.
445 2013-04-15  Andreas Schwab  <schwab@suse.de>
447         * nscd/nscd.c (main): Don't fork again after closing files.
449 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
451         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
453         * benchtests/Rules (bench-deps): Collect dependencies into a
454         single variable.  Add Makefile to dependencies.
455         ($(objpfx)bench-%.c): Depend on bench-deps.
457 2013-04-12  Roland McGrath  <roland@hack.frob.com>
458             Xavier Roche  <roche+kml2@exalead.com>
460         [BZ #15361]
461         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
462         just that it's a file descriptor.
463         * manual/llio.texi (Synchronizing AIO Operations): Update description
464         for EBADF error from aio_fsync.
466 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
468         * Rules (bench): Move target definition...
469         * benchtests/Makefile: ... here.
471 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
473         * math/libm-test.inc (cos_test): Fix PI/2 test.
474         (sincos_test): Likewise.
475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
476         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
478 2013-04-11  Andreas Schwab  <schwab@suse.de>
480         [BZ #13988]
481         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
482         accept exponent character only when digits were seen.
483         * stdio-common/Makefile (tests): Add bug26.
484         * stdio-common/bug26.c: New file.
486         [BZ #14293]
487         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
488         non-freeable.
490 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
492         * Makeconfig (rtld-prefix): Define built linker prefix.
493         * Rules (run-bench): Use it.
494         * math/Makefile (run-regen-ulps): Likewise.
496         * Rules (bench): Remove eval.
498 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
499             Roland McGrath  <roland@hack.frob.com>
500             Ondrej Bilka  <neleai@seznam.cz>
502         [BZ #15346]
503         * time/getdate.c: Include ctype.h and alloca.h.
504         (__getdate_r): Trim leading and trailing spaces of input.
505         * time/tst-getdate.c (tests): Add tests with leading and
506         trailing spaces.
508 2013-04-08  Roland McGrath  <roland@hack.frob.com>
510         [BZ #14280]
511         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
512         when computing value.
514 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
516         * math/README.libm-test (How can I generate "libm-test-ulps"?):
517         Use testrun.sh to run libm tests.
519         [BZ #15309]
520         * elf/dl-open.c (dl_open_worker): memset all of seen array.
522 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
524         [BZ #15264]
525         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
529         * Makefile.in (regen-ulps): New target.
530         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
531         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
532         [ifneq (no,$(PERL)] (regen-ulps): New target.
533         [ifeq (no,$(PERL)] (regen-ulps): New target.
534         * math/libm-test.inc (ulps_file_name): Define.
535         (output_dir): New variable.
536         (options): Add "output-dir" option.
537         (parse_opt): Handle 'o' case.
538         (main): If output_dir is non-NULL use it as a prefix
539         otherwise use "".
540         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
542 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
544         [BZ #10060, #10062]
545         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
546         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
547         fail configure if __sync_val_compare_and_swap is not inlined.
548         * sysdeps/i386/configure: Regenerate.
549         * configure.in: Build for i686 when configured for i386.
550         * configure: Regenerate.
551         * README: Remove i386 reference.
553 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
555         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
556         * sysdeps/s390/s390-64/sysdep.h: Likewise.
558 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
560         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
561         (lmsnanval): New variables.
562         (F): Add conversion tests.
563         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
564         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
566         * stdio-common/tstdiomisc.c (F): Properly collect individual
567         tests' results.
569         [BZ #14686, #15336]
570         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
571         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
572         Instead, use input NaN values or generate a qNaN by arithmetic
573         operation.  Also fix bugs to comply with the standard.
574         * math/libm-test.inc (remainder_test): Add more tests.
576         [BZ #15335, #15342]
577         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
579         input NaN values or generate a qNaN by arithmetic operation.
581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
582         unreachable code.
584         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
585         definitions.
587 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
589         [BZ #14478]
590         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
591         underflowed result.
592         * math/s_cexpf.c (__cexpf): Likewise.
593         * math/s_cexpl.c (__cexpl): Likewise.
594         * math/libm-test.inc (cexp_test): Add more tests.
596 2013-04-03  Andreas Schwab  <schwab@suse.de>
598         [BZ #15330]
599         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
600         order arrays from heap if bigger than alloca cutoff.
602 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
604         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
605         (SNAN_TESTS_double): Refer to GCC PR56831.
606         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
607         GCC PR56828.
609 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
611         * Rules (bench): Move bench.out after the run is complete.
613         * Rules (bench): Echo currently running benchmark.
615         * benchtests/Makefile (bench): Add atan and slowatan.
616         * benchtests/atan-inputs: New file.
617         * benchtests/slowatan-inputs: New file.
618         * benchtests/slowatan.c: New file.
620         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
621         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
622         its value.
624         [BZ #15305]
625         * sysdeps/unix/sysv/linux/kernel-features.h
626         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
627         __ASSUME_XFS_RESTRICTED_CHOWN.
628         * sysdeps/unix/sysv/linux/pathconf.c
629         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
630         Save and restore errno.
632 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
634         [BZ #15327]
635         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
636         arguments using __kernel_casinh.
637         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
638         arguments using __kernel_casinhf.
639         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
640         arguments using __kernel_casinhl.
641         * math/libm-test.inc (cacosh_test): Add more tests.
642         * sysdeps/i386/fpu/libm-test-ulps: Update.
643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
645 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
647         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
648         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
650         * bench/Makefile (bench): Add sin and slowsin.
651         * benchtests/sin-inputs: New file.
652         * benchtests/slowsin-inputs: New file.
653         * benchtests/slowsin.c: New file.
655         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
656         (bench): Add slowexp and slowpow.
657         (exp-ITER): Increase iterations.
658         (pow-ITER): Likewise.
659         * benchtests/exp-inputs: Change input.
660         * benchtests/pow-inputs: Likewise.
661         * benchtests/slowexp-inputs: New file.
662         * benchtests/slowexp.c: New file.
663         * benchtests/slowpow-inputs: New file.
664         * benchtests/slowpow.c: New file.
666 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
668         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
669         instructions.
670         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
671         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
672         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
673         * benchtests/Makefile: Add rint benchtest.
674         * benchtests/rint-inputs: Input for rint benchtest.
676 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
678         * Versions.def (libm): Add GLIBC_2.18.
679         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
680         hidden libm prototypes.
681         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
682         * math/Makefile (libm-calls): Add s_issignaling.
683         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
684         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
685         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
686         declaration.
687         * math/math.h [__USE_GNU] (issignaling): New macro.
688         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
689         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
690         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
691         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
692         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
693         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
694         * manual/arith.texi (issignaling): New section.
695         * manual/libm-err-tab.pl (@all_functions): Update comment.
696         * math/gen-libm-test.pl (parse_args): Apply special handling for
697         issignaling.
698         * math/libm-test.inc (print_float, issignaling_test): New
699         functions.
700         (check_float_internal): Add issignaling checks.
701         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
702         default definition.
703         * sysdeps/powerpc/math-tests.h: New file.
704         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
705         tests.
706         * math/test-snan.c (TEST_FUNC): Likewise.
708 2013-03-30  David S. Miller  <davem@davemloft.net>
710         * po/de.po: Update from translation team.
712 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
714         [BZ #10357]
715         * math/k_casinh.c (__kernel_casinh): Handle arguments with
716         imaginary part less than 1.0 and real part less than 0.5
717         specially.
718         * math/k_casinhf.c (__kernel_casinhf): Likewise.
719         * math/k_casinhl.c (__kernel_casinhl): Likewise.
720         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
721         (cacos_test): Add more tests.
722         (casin_test): Likewise.
723         (casinh_test): Likewise.
724         * sysdeps/i386/fpu/libm-test-ulps: Update.
725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
727 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
729         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
730         ONE with its value.
732         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
733         (__pow_mp): Replace ONE and MONE with their values.
734         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
736         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
737         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
738         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
739         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
741         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
743         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
744         (__pow_mp): Replace ZERO and MZERO with their values.
745         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
747         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
749         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
750         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
751         (__sqr): Likewise.
753         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
755         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
757 2013-03-28  Roland McGrath  <roland@hack.frob.com>
759         * include/stdlib.h [!SHARED] (__call_tls_dtors):
760         Declare with __attribute__ ((weak)).
761         * stdlib/exit.c (__libc_atexit) [!SHARED]:
762         Call __call_tls_dtors only if it's not NULL.
764 2013-03-28  Roland McGrath  <roland@hack.frob.com>
766         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
767         didn't do it already, then set _dl_phdr and _dl_phnum based on the
768         magic __ehdr_start linker symbol if it's defined.
769         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
770         them up here if it was already done.
772         * elf/dl-support.c (_dl_phdr): Make pointer to const.
773         (_dl_aux_init): Use const in cast when setting it.
774         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
775         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
776         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
778         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
779         Declare them here.
780         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
781         * csu/libc-tls.c: Nor here.
782         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
784         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
785         (__libc_message): Never call vsyslog.
787 2013-03-28  Alan Modra  <amodra@gmail.com>
789         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
790         Define as empty.
791         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
792         Likewise.
794 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
796         [BZ #15214]
797         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
798         underflow.
799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
801 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
803         [BZ #15304]
804         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
805         Don't add gid passed as argument.
807         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
809 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
811         [BZ #15307]
812         * math/k_casinh.c (__kernel_casinh): Handle arguments with
813         imaginary part between 1.0 and 1.5 and real part less than 0.5
814         specially.
815         * math/k_casinhf.c (__kernel_casinhf): Likewise.
816         * math/k_casinhl.c (__kernel_casinhl): Likewise.
817         * math/libm-test.inc (cacos_test): Add more tests.
818         (casin_test): Likewise.
819         (casinh_test): Likewise.
820         * sysdeps/i386/fpu/libm-test-ulps: Update.
821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
825         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
826         constants.
827         (norm): Likewise.
828         (denorm): Likewise.
829         (__dbl_mp): Likewise.
830         (add_magnitudes): Likewise.
831         (sub_magnitudes): Likewise.
832         (__add): Likewise.
833         (__sub): Likewise.
834         (__mul): Likewise.
835         (__sqr): Likewise.
836         (__inv): Likewise.
837         (__dvd): Likewise.
839         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
840         commented code.
841         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
842         (__dubcos): Likewise.
843         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
844         (__ieee754_acos): Likewise.
845         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
846         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
847         (__exp1): Likewise.
848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
850         (log1): Likewise.
851         (my_log2): Likewise.
852         (checkint): Likewise.
853         * sysdeps/ieee754/dbl-64/e_remainder.c
854         (__ieee754_remainder): Likewise.
855         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
856         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
857         (bsloww): Likewise.
858         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
860         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
861         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
862         MANTISSA_STORE_T to store computations on mantissa.  Use
863         macros for rounding and division.
864         (denorm): Likewise.
865         (__dbl_mp): Likewise.
866         (add_magnitudes): Likewise.
867         (sub_magnitudes): Likewise.
868         (__mul): Likewise.
869         (__sqr): Likewise.
870         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
871         powers of two in terms of TWOPOW macro.
872         (mp_no): Make type of mantissa as MANTISSA_T.
873         [!RADIXI]: Define RADIXI.
874         [!TWO52]: Define TWO52.
875         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
877 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
879         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
880         llroundl symbol when building for PPC32.
882 2013-03-24  Mark H Weaver  <mhw@netris.org>
884         * manual/arith.texi (Normalization Functions): Fix prototypes for
885         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
887 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
889         [BZ #13889]
890         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
891         high value to check if expl overflow.
892         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
893         to check for underflow and overflow.
894         * math/libm-test.inc: Add exp test.
896 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
898         [BZ #11120]
899         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
900         with NOT_IN_libc.
902 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
905         symbol.
907 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
909         * math/gen-libm-test.pl (parse_args, special_functions): Properly
910         wrap blocks consisting of several statements.
912         * sysdeps/generic/math-tests.h: New file.
913         * sysdeps/i386/fpu/math-tests.h: Likewise.
914         * math/test-snan.c: Include it.
915         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
917 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
919         [BZ #15285]
920         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
921         (__ieee754_j0l): Do not improve calculations using cos of twice
922         input for inputs above LDBL_MAX / 2.0L.
923         (__ieee754_y0l): Likewise.
924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
925         (__ieee754_j1l): Do not improve calculations using cos of twice
926         input for inputs above LDBL_MAX / 2.0L.
927         (__ieee754_y1l): Likewise.
928         * math/libm-test.inc (j0_test): Add another test.
929         (j1_test): Likewise.
930         (y0_test): Likewise.
931         (y1_test): Likewise.
932         * sysdeps/i386/fpu/libm-test-ulps: Update.
934 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
936         * Rules ($(objpfx)bench-%.c): Include code from a C source
937         file.
939 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
941         [BZ #15287]
942         * math/k_casinh.c (__kernel_casinh): Handle arguments with
943         imaginary part 1.0 and real part less than 0.5 specially.
944         * math/k_casinhf.c (__kernel_casinhf): Likewise.
945         * math/k_casinhl.c (__kernel_casinhl): Likewise.
946         * math/libm-test.inc (cacos_test): Add more tests.
947         (casin_test): Likewise.
948         (casinh_test): Likewise.
949         * sysdeps/i386/fpu/libm-test-ulps: Update.
950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
952 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
954         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
955         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
957 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
959         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
960         * config.make.in (config-cflags-sse4): Remove variable.
961         (config-cflags-avx): Likewise.
962         (config-cflags-sse2avx): Likewise.
963         (config-cflags-novzeroupper): Likewise.
964         (config-asflags-i686): Likewise.
965         (have-mfma4): Likewise.
966         (have-as-vis3): Likewise.
967         (MIG): Likewise.
968         * configure.in (MIG): Do not AC_SUBST.
969         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
970         (libc_cv_cc_sse4): Do not AC_SUBST.
971         (libc_cv_cc_avx): Likewise.
972         (libc_cv_cc_sse2avx): Likewise.
973         (libc_cv_cc_novzeroupper): Likewise.
974         (libc_cv_cc_fma4): Likewise.
975         (libc_cv_as_i686): Likewise.
976         (libc_cv_sparc_as_vis3): Likewise.
977         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
978         LIBC_CONFIG_VAR.
979         (config-asflags-i686): Likewise.
980         (config-cflags-avx): Likewise.
981         (config-cflags-sse2avx): Likewise.
982         (have-mfma4): Likewise.
983         (config-cflags-novzeroupper): Likewise.
984         * sysdeps/mach/configure.in (MIG): Likewise.
985         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
986         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
987         LIBC_CONFIG_VAR.
988         (config-cflags-avx): Likewise.
989         (config-cflags-sse2avx): Likewise.
990         (have-mfma4): Likewise.
991         (config-cflags-novzeroupper): Likewise.
992         * configure: Regenerated.
993         * sysdeps/i386/configure: Likewise.
994         * sysdeps/mach/configure: Likewise.
995         * sysdeps/sparc/configure: Likewise.
996         * sysdeps/x86_64/configure: Likewise.
998 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1000         [BZ #14812]
1001         * locale/programs/localedef.c (options): Put N_ translation marker
1002         on argument names, not just descriptions.
1004 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1006         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1008 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1010         [BZ #14176]
1011         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1013 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1015         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1016         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1017         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1018         [!BEFORE_ABORT] (before_abort): New function.
1019         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1020         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1021         (writev_for_fatal): New function.
1022         (WRITEV_FOR_FATAL): New macro; call that.
1023         (backtrace_and_maps): New function.
1024         (BEFORE_ABORT): New macro; call that.
1025         (struct str_list): Type removed.
1026         (__libc_message, __libc_fatal): Functions removed.
1027         Include <sysdeps/posix/libc_fatal.c> instead.
1029 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1031         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1032         constants.
1033         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1034         double constants.
1036 2013-03-19  Andreas Schwab  <schwab@suse.de>
1038         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1039         * sysdeps/gnu/configure: Regenerate.
1041         * configure.in: Substitute libc_cv_rtlddir.
1042         * configure: Regenerate.
1043         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1044         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1045         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1046         * elf/Makefile (install-others, CFLAGS-interp.c)
1047         (ldso_install, common-ldd-rewrite): Likewise.
1048         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1049         $(inst_slibdir)/$(rtld-installed-name).
1050         * scripts/rellns-sh: Add -p option.
1051         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1052         for source.
1054 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1056         * manual/nptl.texi: Renamed to ...
1057         * manual/threads.texi: ... this.
1058         * manual/Makefile (chapters): Update.
1060 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1062         [BZ #14812]
1063         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1064         on argument names, not just descriptions.
1065         * malloc/memusagestat.c (options): Likewise.
1066         * nss/getent.c (options): Likewise.
1068 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1070         [BZ #14812]
1071         * iconv/iconv_prog.c (options): Put N_ translation marker
1072         on argument names, not just descriptions.
1073         * iconv/iconvconfig.c (options): Likewise.
1075 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1077         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1078         implementation which is faster on all x86_64 architectures.
1079         Tested on AMD, Intel Nehalem, SNB, IVB.
1080         * sysdeps/x86_64/strnlen.S: Likewise.
1082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1083         Remove all multiarch strlen and strnlen versions.
1084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1085         Remove strlen and strnlen related parts.
1087         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1088         Inline strlen part.
1089         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1091         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1092         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1093         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1094         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1095         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1096         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1098 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1100         * manual/memory.texi (Malloc Tunable Parameters):
1101         Sort parameters alphabetically. Add comments for missing entries.
1103 2013-03-17  David S. Miller  <davem@davemloft.net>
1105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1107 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1109         [BZ #15283]
1110         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1111         for arguments at most half maximum finite value.
1112         * math/libm-test.inc (j0_test): Add more tests.
1113         (j1_test): Likewise.
1114         (y0_test): Likewise.
1115         (y1_test): Likewise.
1116         * sysdeps/i386/fpu/libm-test-ulps: Update.
1117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1119         [BZ #14155]
1120         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1121         1 / x and functions P and Q for arguments above 0x1p256L.
1122         (__ieee754_y0l): Likewise.
1123         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1124         (__ieee754_y1l): Likewise.
1125         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1126         (j1_test): Likewise.
1127         (y0_test): Likewise.
1128         (y1_test): Likewise.
1130 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1132         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1133         variable.
1135 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1137         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1138         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1139         zero since it's initialized to EXEC_PAGESIZE.
1141         * sysdeps/unix/sysv/linux/ldsodefs.h
1142         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1143         * sysdeps/generic/ldsodefs.h: ... here.
1145 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1147         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1149         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1150         math/test-snan.c.
1151         * math/test-snan.c: Renamed from
1152         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1153         * math/Makefile (tests): Add test-snan.
1154         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1155         test-powerpc-snan.
1157         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1158         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1159         functions.
1160         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1161         __builtin_nan family of functions.
1162         * math/libm-test.inc (initialize): Initialize qnan_value with
1163         __builtin_nan family of functions.
1164         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1165         Remove variables.
1166         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1167         Remove functions.
1168         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1169         storage class.  Initialize qNaN_var and sNaN_var with
1170         __builtin_nan and __builtin_nans families of functions,
1171         respectively.
1173         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1174         (sqrt_test): Remove duplicate test with qNaN input.
1175         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1176         (round_test, signbit_test, significand_test): Note missing +/-Inf
1177         as well as qNaN tests.
1179         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1180         qNaN_var.  Fix a few strings, too.
1181         * math/libm-test.inc (nan_value): Rename to qnan_value.
1182         * math/gen-libm-test.pl (%beautify): Adjust to that.
1183         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1184         * math/test-misc.c (main): Likewise.
1185         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1186         to __qnan_bytes, and __qnan_union, respectively.
1187         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1188         Likewise.
1189         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1190         and lqnanval, respectively.
1191         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1192         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1193         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1194         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1196         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1197         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1198         doubles.
1200         * math/test-misc.c (main): Fix copy'n'pastos.
1201         * misc/tst-efgcvt.c (special): Likewise.
1203         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1204         Remove declarations.
1206 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1208         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1209         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1210         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1211         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1213 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1215         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1216         macro to return vdso values correctly in IFUNC implementations.
1217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1218         Optimization by using IFUNC.
1220 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1221             Richard Henderson  <rth@redhat.com>
1222             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1224         * Makefile.in (bench): New target.
1225         * NEWS: Mention the benchmark framework.
1226         * Rules (bench): Likewise.
1227         (binaries-bench): Generate binaries for functions to
1228         benchmark.
1229         * benchtests/Makefile: New makefile for benchmark tests.
1230         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1231         programs.
1232         * benchtests/exp-inputs: New input file for EXP function.
1233         * benchtests/pow-inputs: New input file for POW function.
1234         * scripts/bench.pl: New script to generate source files for
1235         benchmark programs.
1237 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1239         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1240         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1241         computations on mantissa.  Use macros for rounding and
1242         division.
1243         (denorm): Likewise.
1244         (__dbl_mp): Likewise.
1245         (add_magnitudes): Likewise.
1246         (sub_magnitudes): Likewise.
1247         (__mul): Likewise.
1248         (__sqr): Likewise.
1249         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1250         powers of two in terms of TWOPOW macro.
1251         (mp_no): Make type of mantissa as MANTISSA_T.
1252         [!RADIXI]: Define RADIXI.
1253         [!TWO52]: Define TWO52.
1254         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1256         * manual/nptl.texi (cindex): Modify threads to pthreads.
1258 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1260         * sysdeps/x86_64/preconfigure: Regenerated.
1262 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1264         [BZ #14155]
1265         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1266         0x1p28 and above.
1267         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1268         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1269         0x1p28 and above.
1270         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1271         * math/libm-test.inc (j0_test): Do not allow one spurious
1272         underflow exception.
1273         (y1_test): Likewise.
1275 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1277         * manual/Makefile (chapters): Add nptl.
1278         * manual/debug.texi (Debugging Support): Add link to Threads
1279         chapter.
1280         * manual/nptl.texi: New file.
1282         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1284 2013-03-14  Petr Baudis  <pasky@ucw.cz>
1286         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1287         for non-NULL pointer before the memory validity test. Pointed
1288         out by Holger Brunck <holger.brunck@keymile.com>.
1290 2013-03-13  Andreas Schwab  <schwab@suse.de>
1292         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1293         instead of .os.
1295 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
1297         * timezone/zic.c: Update from tzcode 2013b.
1299 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1301         * manual/install.texi (Configuring and compiling):
1302         Mention i686 and i586.
1303         * INSTALL: Regenerate.
1305 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1307         * sysdeps/init_array/elf-init.c: New file.
1308         * csu/elf-init.c
1309         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1310         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1312         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1313         __gmon_start__ as global, but as static with a .preinit_array pointer.
1314         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1315         * sysdeps/init_array/crti.S: New file, empty except for comments.
1316         * sysdeps/init_array/crtn.S: Likewise.
1318 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1320         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1321         definining bcopy.
1322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1323         Remove Prefer_SSE_for_memop.
1324         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1325         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1326         HAS_PREFER_SSE_FOR_MEMOP.
1327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1328         memset-x86-64.
1329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1330         Remove bzero, memset ifunc support.
1331         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1332         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1333         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1334         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1336 2013-03-11  Andreas Schwab  <schwab@suse.de>
1338         [BZ #15234]
1339         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1340         by SHLIB_COMPAT.
1341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1342         (GLIBC_2.16): Remove pthread_atfork.
1344 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1346         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1347         (ptestcases.h): Likewise.
1349 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1351         * Makeconfig ($(common-objpfx)config.status): Depend on
1352         sysdeps/*/preconfigure{,.in} too.
1354 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1356         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1357         (__free_hook): Use void * instead of __malloc_ptr_t.
1358         (__malloc_hook): Likewise.
1359         (__realloc_hook): Likewise.
1360         (__memalign_hook): Likewise.
1361         (__after_morecore_hook): Likewise.
1362         * malloc/arena.c (save_malloc_hook): Likewise.
1363         (save_free_hook): Likewise.
1364         * malloc/hooks.c (malloc_hook_ini): Likewise.
1365         (realloc_hook_ini): Likewise.
1366         (memalign_hook_ini): Likewise.
1367         * malloc/malloc.c (malloc_hook_ini): Likewise.
1368         (realloc_hook_ini): Likewise.
1369         (memalign_hook_ini): Likewise.
1370         (__free_hook): Likewise.
1371         (__malloc_hook): Likewise.
1372         (__realloc_hook): Likewise.
1373         (__memalign_hook): Likewise.
1374         (__libc_malloc): Likewise.
1375         (__libc_free): Likewise.
1376         (__libc_realloc): Likewise.
1377         (__libc_memalign): Likewise.
1378         (__libc_valloc): Likewise.
1379         (__libc_pvalloc): Likewise.
1380         (__libc_calloc): Likewise.
1381         (__posix_memalign): Likewise.
1382         * malloc/morecore.c (__sbrk): Likewise.
1383         (__default_morecore): Likewise.
1385         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1387         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1388         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1389         __malloc_ptrdiff_t.
1391         * malloc/malloc.h (__malloc_size_t): Remove macro.
1392         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1393         __malloc_size_t.
1394         (old_memalign_hook): Likewise.
1395         (old_realloc_hook): Likewise.
1396         (struct hdr): Likewise.
1397         (flood): Likewise.
1398         (mallochook): Likewise.
1399         (memalignhook): Likewise.
1400         (reallochook): Likewise.
1401         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1402         (tr_old_realloc_hook): Likewise.
1403         (tr_old_memalign_hook): Likewise.
1404         (tr_mallochook): Likewise.
1405         (tr_reallochook): Likewise.
1406         (tr_memalignhook): Likewise.
1408 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1411         default_ldbl_pack and using as default implementation.
1412         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1413         implementation.
1414         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1415         redundant definition.
1416         (ldbl_insert_mantissa): Likewise.
1417         (ldbl_canonicalize): Likewise.
1418         (ldbl_nearbyint): Likewise.
1419         (ldbl_pack): Rename to ldbl_pack_ppc.
1420         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1421         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1422         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1424 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1427         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1428         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1429         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1431         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1432         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1433         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1435 2013-03-07  Andreas Jaeger  <aj@suse.de>
1437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1438         bits/mman-linux.h.
1440 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1442         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1443         Include mpa.h and declare __MPEXP.
1444         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1446         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1447         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1448         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1449         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1450         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1452         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1453         (__slowpow): Use long double EXPL and LOGL functions to
1454         compute POW.
1455         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1456         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1457         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1458         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1459         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1460         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1463         intermediate variable to calculate exponent.
1464         (__sqr): Likewise.
1465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1466         Likewise.
1467         (__sqr): Likewise.
1469         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1470         [!NO__SQR]: Define __sqr.
1471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1472         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1473         sysdeps/ieee754/dbl-64/mpa.c.
1474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1476         [BZ #12723]
1477         * posix/Makefile (tests): Add tst-pathconf.
1478         * posix/tst-pathconf.c: New test case.
1479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1480         _PC_PIPE_BUF.
1481         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1483 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1485         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1487 2013-03-06  Andreas Jaeger  <aj@suse.de>
1489         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1490         definition via __MAP_ANONYMOUS.
1492         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1493         it's not part of Linux headers.
1495         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1496         (MAP_HUGE_MASK): Define.
1498         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1499         Define.
1500         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1501         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1502         Define.
1503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1504         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1505         Define.
1506         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1507         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1508         Define.
1509         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1511         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1512         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1513         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1514         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1515         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1516         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1518         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1519         Handle f2fs.
1521         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1522         Handle f2fs and efivarfs.
1524         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1525         f2fs.
1527         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1528         (EFIVARFS_MAGIC): Add.
1529         (F2FS_LINK_MAX): Add.
1531 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1533         * stdio-common/vfprintf.c: Replace __builtin_expect with
1534         __glibc_unlikely.
1536 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1538         [BZ #13550]
1539         * sysdeps/generic/bp-sym.h: Remove file.
1540         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1541         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1542         <bp-sym.h> and <bp-asm.h>.
1543         (__longjmp): Don't use BP_SYM.
1544         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1545         and <bp-asm.h>.
1546         (memcpy): Don't use BP_SYM.
1547         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1548         <bp-sym.h> and <bp-asm.h>.
1549         (memcpy): Don't use BP_SYM.
1550         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1551         <bp-asm.h>.
1552         (memcpy): Don't use BP_SYM.
1553         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1554         <bp-asm.h>.
1555         (memset): Don't use BP_SYM.
1556         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1557         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1558         (__bzero): Don't use BP_SYM.
1559         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1560         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1561         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1562         <bp-sym.h> and <bp-asm.h>.
1563         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1564         pointers.
1565         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1566         <bp-sym.h> and <bp-asm.h>.
1567         (memcpy): Don't use BP_SYM.
1568         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1569         <bp-sym.h> and <bp-asm.h>.
1570         (memset): Don't use BP_SYM.
1571         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1572         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1573         (__bzero): Don't use BP_SYM.
1574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1576         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1577         <bp-sym.h> and <bp-asm.h>.
1578         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1579         pointers.
1580         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1581         <bp-sym.h> and <bp-asm.h>.
1582         (memcpy): Don't use BP_SYM.
1583         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1584         <bp-sym.h> and <bp-asm.h>.
1585         (memset): Don't use BP_SYM.
1586         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1587         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1588         (__bzero): Don't use BP_SYM.
1589         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1590         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1591         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1592         <bp-sym.h> and <bp-asm.h>.
1593         (__memchr): Don't use BP_SYM.
1594         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1595         <bp-sym.h> and <bp-asm.h>.
1596         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1597         pointers.
1598         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1599         <bp-sym.h> and <bp-asm.h>.
1600         (memcpy): Don't use BP_SYM.
1601         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1602         <bp-sym.h> and <bp-asm.h>.
1603         (__mempcpy): Don't use BP_SYM.
1604         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1605         <bp-sym.h> and <bp-asm.h>.
1606         (__memrchr): Don't use BP_SYM.
1607         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1608         <bp-sym.h> and <bp-asm.h>.
1609         (memset): Don't use BP_SYM.
1610         (__bzero): Likewise.
1611         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1612         <bp-sym.h> and <bp-asm.h>.
1613         (__rawmemchr): Don't use BP_SYM.
1614         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1615         <bp-sym.h> and <bp-asm.h>.
1616         (__STRCMP): Don't use BP_SYM.
1617         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1618         <bp-sym.h> and <bp-asm.h>.
1619         (strchr): Don't use BP_SYM.
1620         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1621         <bp-sym.h> and <bp-asm.h>.
1622         (__strchrnul): Don't use BP_SYM.
1623         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1624         <bp-sym.h> and <bp-asm.h>.
1625         (strlen): Don't use BP_SYM.
1626         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1627         <bp-sym.h> and <bp-asm.h>.
1628         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1629         pointers.
1630         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1631         <bp-sym.h> and <bp-asm.h>.
1632         (__strnlen): Don't use BP_SYM.
1633         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1634         <bp-sym.h> and <bp-asm.h>.
1635         (__GI__setjmp): Don't use BP_SYM.
1636         (_setjmp): Likewise.
1637         (__sigsetjmp): Likewise.
1638         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1639         (L(start_addresses)): Don't use BP_SYM.
1640         (_start): Likewise.
1641         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1642         <bp-asm.h>.
1643         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1644         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1645         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1646         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1647         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1648         <bp-asm.h>.
1649         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1650         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1651         about bounded pointers.
1652         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1653         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1654         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1655         <bp-asm.h>.
1656         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1657         about bounded pointers.  Remove GKM FIXME comments.
1658         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1659         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1660         <bp-asm.h>.
1661         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1662         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1663         Remove GKM FIXME comments.
1664         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1665         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1666         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1667         <bp-asm.h>.
1668         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1669         about bounded pointers.  Remove GKM FIXME comment.
1670         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1671         and <bp-asm.h>.
1672         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1673         pointers.
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1675         <bp-sym.h> and <bp-asm.h>.
1676         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1678         <bp-sym.h> and <bp-asm.h>.
1679         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1680         comment.
1682 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1684         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1685         call free(NULL).
1687 2013-03-05  David S. Miller  <davem@davemloft.net>
1689         * po/es.po: Update from translation team.
1691 2013-03-05  Andreas Jaeger  <aj@suse.de>
1693         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1694         <bits/mman-linux.h>.
1695         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1696         is fine.
1697         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1698         <bits/mman-linux.h> to end of file.
1699         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1700         is fine.
1701         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1702         <bits/mman-linux.h> to end of file.
1703         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1704         is fine.
1705         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1706         <bits/mman-linux.h> to end of file.
1708         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1709         (MCL_CURRENT, MCL_FUTURE): Define here.
1711 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1713         [BZ #15232]
1714         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1715         attribute_hidden.
1716         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1718 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1720         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1721         fourth parameter needed for rt_sigprocmask syscall.
1722         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1723         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1724         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1725         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1726         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1727         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1729 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1731         [BZ #13550]
1732         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1733         comment about bounded pointers.
1734         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1735         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1737 2013-03-04  Andreas Jaeger  <aj@suse.de>
1739         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1740         common definitions.
1742         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1743         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1744         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1745         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1746         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1747         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1749 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1751         [BZ #15055]
1752         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1753         __ieee754_sqrl instead of __sqrl.
1755 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1757         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1758         * sysdeps/powerpc/fpu_control.h: ... here.
1759         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1760         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1761         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1762         * sysdeps/powerpc/bits/mathinline.h: ... here.
1764 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1766         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1767         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1768         to just [NEED_DL_SYSINFO_DSO].
1769         * elf/dl-support.c: Likewise.
1770         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1771         * elf/rtld.c (dl_main): Likewise.
1772         * elf/setup-vdso.h (setup_vdso): Likewise.
1773         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1774         * sysdeps/unix/sysv/linux/dl-sysdep.c
1775         (_dl_discover_osversion): Likewise.
1777 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1779         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1780         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1782 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1784         * NEWS: Mention libm performance improvements and non-x86 PI
1785         futex support.
1787         * csu/libc-start.c (__pthread_initialize_minimal): Change
1788         function arguments.
1789         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1791 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1793         [BZ #13550]
1794         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1795         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1796         <bp-sym.h> and <bp-asm.h>.
1797         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1798         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1799         and <bp-asm.h>.
1800         (memcpy): Don't use BP_SYM.
1801         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1802         <bp-asm.h>.
1803         (__mpn_add_n): Don't use BP_SYM.
1804         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1805         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1806         and <bp-asm.h>.
1807         (__mpn_addmul_1): Don't use BP_SYM.
1808         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1809         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1810         <bp-sym.h>.
1811         (_setjmp): Don't use BP_SYM.
1812         (__novmx_setjmp): Likewise.
1813         (__GI__setjmp): Likewise.
1814         (__vmx_setjmp): Likewise.
1815         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1816         <bp-sym.h>.
1817         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1818         (__bzero): Don't use BP_SYM.
1819         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1820         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1821         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1822         <bp-sym.h> and <bp-asm.h>.
1823         (memcpy): Don't use BP_SYM.
1824         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1825         <bp-sym.h> and <bp-asm.h>.
1826         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1827         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1828         <bp-sym.h> and <bp-asm.h>.
1829         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1830         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1831         <bp-asm.h>.
1832         (__mpn_lshift): Don't use BP_SYM.
1833         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1834         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1835         <bp-asm.h>.
1836         (memset): Don't use BP_SYM.
1837         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1838         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1839         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1840         <bp-asm.h>.
1841         (__mpn_mul_1): Don't use BP_SYM.
1842         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1843         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1844         <bp-sym.h> and <bp-asm.h>.
1845         (memcmp): Don't use BP_SYM.
1846         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1847         <bp-sym.h> and <bp-asm.h>.
1848         (memcpy): Don't use BP_SYM.
1849         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1850         <bp-sym.h> and <bp-asm.h>.
1851         (memset): Don't use BP_SYM.
1852         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1853         <bp-sym.h> and <bp-asm.h>.
1854         (strncmp): Don't use BP_SYM.
1855         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1856         <bp-sym.h> and <bp-asm.h>.
1857         (memcpy): Don't use BP_SYM.
1858         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1859         <bp-sym.h> and <bp-asm.h>.
1860         (memset): Don't use BP_SYM.
1861         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1862         <bp-sym.h> and <bp-asm.h>.
1863         (__memchr): Don't use BP_SYM.
1864         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1865         <bp-sym.h> and <bp-asm.h>.
1866         (memcmp): Don't use BP_SYM.
1867         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1868         <bp-sym.h> and <bp-asm.h>.
1869         (memcpy): Don't use BP_SYM.
1870         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1871         <bp-sym.h> and <bp-asm.h>.
1872         (__mempcpy): Don't use BP_SYM.
1873         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1874         <bp-sym.h> and <bp-asm.h>.
1875         (__memrchr): Don't use BP_SYM.
1876         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1877         <bp-sym.h> and <bp-asm.h>.
1878         (memset): Don't use BP_SYM.
1879         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1880         <bp-sym.h> and <bp-asm.h>.
1881         (__rawmemchr): Don't use BP_SYM.
1882         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1883         <bp-sym.h> and <bp-asm.h>.
1884         (__STRCMP): Don't use BP_SYM.
1885         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1886         <bp-sym.h> and <bp-asm.h>.
1887         (strchr): Don't use BP_SYM.
1888         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1889         <bp-sym.h> and <bp-asm.h>.
1890         (__strchrnul): Don't use BP_SYM.
1891         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1892         <bp-sym.h> and <bp-asm.h>.
1893         (strlen): Don't use BP_SYM.
1894         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1895         <bp-sym.h> and <bp-asm.h>.
1896         (strncmp): Don't use BP_SYM.
1897         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1898         <bp-sym.h> and <bp-asm.h>.
1899         (__strnlen): Don't use BP_SYM.
1900         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1901         <bp-asm.h>.
1902         (__mpn_rshift): Don't use BP_SYM.
1903         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1904         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1905         <bp-sym.h> and <bp-asm.h>.
1906         (__sigsetjmp): Don't use BP_SYM.
1907         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1908         (L(start_addresses)): Don't use BP_SYM.
1909         (_start): Likewise.
1910         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1911         <bp-asm.h>.
1912         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1913         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1914         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1915         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1916         <bp-asm.h>.
1917         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1918         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1919         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1920         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1921         <bp-asm.h>.
1922         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1923         comments.
1924         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1925         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1926         <bp-asm.h>.
1927         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1928         FIXME comments.
1929         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1930         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1931         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1932         <bp-asm.h>.
1933         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1934         comment.
1935         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1936         and <bp-asm.h>.
1937         (strncmp): Don't use BP_SYM,
1938         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1939         <bp-asm.h>.
1940         (__mpn_sub_n): Don't use BP_SYM.
1941         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1942         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1943         and <bp-asm.h>.
1944         (__mpn_submul_1): Don't use BP_SYM.
1945         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1947         <bp-sym.h> and <bp-asm.h>.
1948         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1950         <bp-sym.h> and <bp-asm.h>.
1951         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1952         comment.
1954 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1957         Use ZK to minimize writes to Z.
1958         (sub_magnitudes): Simplify code a bit.
1959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1960         Use ZK to minimize writes to Z.
1961         (sub_magnitudes): Simplify code a bit.
1963 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1965         * csu/gmon-start.c: Add special exception to license text.
1967 2013-02-27  Richard Henderson  <rth@redhat.com>
1969         * scripts/config.guess: Update from config.git.
1970         * scripts/config.sub: Likewise.
1972 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1974         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1976         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1978         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1980         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1982         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1984 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1986         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1987         [$(build-shared = yes].
1989 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1991         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1992         (__mul): Reduce iterations for calculating mantissa.
1994         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1995         MPTWO.
1996         (__mpranred): Likewise.
1998         [BZ #15160]
1999         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2000         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2002 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2004         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2005         Define __attribute__.
2007 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2009         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2010         unused.
2011         * posix/regex_internal.h (__attribute): Remove.
2012         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2013         (re_string_context_at): Likewise.
2014         (bitset_not): Use __attribute__ and mark function as possibly
2015         unused.
2016         (bitset_merge): Likewise.
2017         (bitset_mask): Likewise.
2018         (re_string_char_size_at): Likewise.
2019         (re_string_wchar_at): Likewise.
2020         (re_string_elem_size_at): Likewise.
2022 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2024         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2025         code.
2026         (cc32): Likewise.
2028         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2029         (__acr): Likewise.
2030         (__cpy): Likewise.
2031         (norm): Likewise.
2032         (denorm): Likewise.
2033         (__dbl_mp): Likewise.
2034         (add_magnitudes): Likewise.
2035         (sub_magnitudes): Likewise.
2036         (__mul): Likewise.
2037         (__inv): Likewise.
2039         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2040         style.
2042         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2043         style.
2045         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2046         code.
2048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2049         up changes with default code.
2050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2051         Likewise.
2053 2013-02-24  Allan McRae  <allan@archlinux.org>
2055         * manual/socket.texi (The Internet Namespace): Order menu items
2056         to match that in the file.
2058         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2059         node listing of the info page menu.
2061 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2063         [BZ #13550]
2064         * sysdeps/i386/bp-asm.h: Remove file.
2065         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2066         (PARMS): Do not use macros from bp-asm.h.
2067         (S1): Likewise.
2068         (S2): Likewise.
2069         (SIZE): Likewise.
2070         (__mpn_add_n): Do not use BP_SYM
2071         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2072         "bp-asm.h".
2073         (PARMS): Do not use macros from bp-asm.h.
2074         (S1): Likewise.
2075         (SIZE): Likewise.
2076         (__mpn_addmul_1): Do not use BP_SYM
2077         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2078         "bp-asm.h".
2079         (PARMS): Do not use macros from bp-asm.h.
2080         (SIGMSK): Likewise.
2081         (_setjmp): Likewise.  Do not use BP_SYM.
2082         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2083         "bp-asm.h".
2084         (PARMS): Do not use macros from bp-asm.h.
2085         (SIGMSK): Likewise.
2086         (setjmp): Likewise.  Do not use BP_SYM.
2087         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2088         "bp-asm.h".
2089         (PARMS): Do not use macros from bp-asm.h.
2090         (__frexp): Do not use BP_SYM.
2091         (frexp): Likewise.
2092         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2093         "bp-asm.h".
2094         (PARMS): Do not use macros from bp-asm.h.
2095         (__frexpf): Do not use BP_SYM.
2096         (frexpf): Likewise.
2097         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2098         "bp-asm.h".
2099         (PARMS): Do not use macros from bp-asm.h.
2100         (__frexpl): Do not use BP_SYM.
2101         (frexpl): Likewise.
2102         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2103         "bp-asm.h".
2104         (PARMS): Do not use macros from bp-asm.h.
2105         (__remquo): Do not use BP_SYM.
2106         (remquo): Likewise.
2107         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2108         "bp-asm.h".
2109         (PARMS): Do not use macros from bp-asm.h.
2110         (__remquof): Do not use BP_SYM.
2111         (remquof): Likewise.
2112         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2113         "bp-asm.h".
2114         (PARMS): Do not use macros from bp-asm.h.
2115         (__remquol): Do not use BP_SYM.
2116         (remquol): Likewise.
2117         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2118         "bp-asm.h".
2119         (PARMS): Do not use macros from bp-asm.h.
2120         (DEST): Likewise.
2121         (SRC): Likewise.
2122         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2123         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2124         "bp-asm.h".
2125         (PARMS): Do not use macros from bp-asm.h.
2126         (strlen): Do not use BP_SYM.
2127         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2128         "bp-asm.h".
2129         (PARMS): Do not use macros from bp-asm.h.
2130         (S1): Likewise.
2131         (S2): Likewise.
2132         (SIZE): Likewise.
2133         (__mpn_add_n): Do not use BP_SYM.
2134         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2135         "bp-asm.h".
2136         (PARMS): Do not use macros from bp-asm.h.
2137         (S1): Likewise.
2138         (SIZE): Likewise.
2139         (__mpn_addmul_1): Do not use BP_SYM.
2140         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2141         weak_alias.
2142         (bzero): Likewise.
2143         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2144         "bp-asm.h".
2145         (PARMS): Do not use macros from bp-asm.h.
2146         (S): Likewise.
2147         (SIZE): Likewise.
2148         (__mpn_lshift): Do not use BP_SYM.
2149         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2150         "bp-asm.h".
2151         (PARMS): Do not use macros from bp-asm.h.
2152         (DEST): Likewise.
2153         (SRC): Likewise.
2154         (LEN): Likewise.
2155         (memcpy): Likewise.  Do not use BP_SYM.
2156         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2157         libc_hidden_def and weak_alias.
2158         (mempcpy): Do not use BP_SYM in weak_alias.
2159         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2160         "bp-asm.h".
2161         (PARMS): Do not use macros from bp-asm.h.
2162         (DEST): Likewise.
2163         (LEN): Likewise.
2164         [!BZERO_P] (CHR): Likewise.
2165         (memset): Likewise.  Do not use BP_SYM.
2166         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2167         "bp-asm.h".
2168         (PARMS): Do not use macros from bp-asm.h.
2169         (S1): Likewise.
2170         (SIZE): Likewise.
2171         (__mpn_mul_1): Do not use BP_SYM.
2172         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2173         "bp-asm.h".
2174         (PARMS): Do not use macros from bp-asm.h.
2175         (S): Likewise.
2176         (SIZE): Likewise.
2177         (__mpn_rshift): Do not use BP_SYM.
2178         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2179         "bp-asm.h".
2180         (PARMS): Do not use macros from bp-asm.h.
2181         (STR): Likewise.
2182         (CHR): Likewise.
2183         (strchr): Likewise.  Do not use BP_SYM.
2184         (index): Do not use BP_SYM in weak_alias.
2185         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2191         * sysdeps/i386/i586/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/sub_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_sub_n): Do not use BP_SYM.
2202         * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
2208         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2209         "bp-asm.h".
2210         (PARMS): Do not use macros from bp-asm.h.
2211         (S1): Likewise.
2212         (S2): Likewise.
2213         (SIZE): Likewise.
2214         (__mpn_add_n): Do not use BP_SYM.
2215         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2216         weak_alias.
2217         (bzero): Likewise.
2218         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2219         "bp-asm.h".
2220         (PARMS): Do not use macros from bp-asm.h.
2221         (BLK2): Likewise.
2222         (LEN): Likewise.
2223         (memcmp): Do not use BP_SYM.
2224         (bcmp): Do not use BP_SYM in weak_alias.
2225         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2226         "bp-asm.h".
2227         (PARMS): Do not use macros from bp-asm.h.
2228         (DEST): Likewise.
2229         (SRC): Likewise.
2230         (LEN): Likewise.
2231         (memcpy): Likewise.  Do not use BP_SYM.
2232         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2233         "bp-asm.h".
2234         (PARMS): Do not use macros from bp-asm.h.
2235         (DEST): Likewise.
2236         (SRC): Likewise.
2237         (LEN): Likewise.
2238         (memmove): Likewise.  Do not use BP_SYM.
2239         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2240         "bp-asm.h".
2241         (PARMS): Do not use macros from bp-asm.h.
2242         (DEST): Likewise.
2243         (SRC): Likewise.
2244         (LEN): Likewise.
2245         (__mempcpy): Likewise.  Do not use BP_SYM.
2246         (mempcpy): Do not use BP_SYM in weak_alias.
2247         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2248         "bp-asm.h".
2249         (PARMS): Do not use macros from bp-asm.h.
2250         (DEST): Likewise.
2251         (LEN): Likewise.
2252         [!BZERO_P] (CHR): Likewise.
2253         (memset): Likewise.  Do not use BP_SYM.
2254         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2255         "bp-asm.h".
2256         (PARMS): Do not use macros from bp-asm.h.
2257         (STR2): Likewise.
2258         (strcmp): Do not use BP_SYM.
2259         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2260         "bp-asm.h".
2261         (PARMS): Do not use macros from bp-asm.h.
2262         (STR): Likewise.
2263         (DELIM): Likewise.
2264         [USE_AS_STRTOK_R] (SAVE): Likewise.
2265         (FUNCTION): Likewise.  Do not use BP_SYM.
2266         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2267         aliases.
2268         (strtok_r): Likewise.
2269         (__GI___strtok_r): Likewise.
2270         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2271         (PARMS): Do not use macros from bp-asm.h.
2272         (S): Likewise.
2273         (SIZE): Likewise.
2274         (__mpn_lshift): Do not use BP_SYM.
2275         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2276         (PARMS): Do not use macros from bp-asm.h.
2277         (STR): Likewise.
2278         (CHR): Likewise.
2279         (__memchr): Do not use BP_SYM.
2280         (memchr): Do not use BP_SYM in weak_alias.
2281         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2282         (PARMS): Do not use macros from bp-asm.h.
2283         (BLK2): Likewise.
2284         (LEN): Likewise.
2285         (memcmp): Do not use BP_SYM.
2286         (bcmp): Do not use BP_SYM in weak_alias.
2287         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2288         (PARMS): Do not use macros from bp-asm.h.
2289         (S1): Likewise.
2290         (SIZE): Likewise.
2291         (__mpn_mul_1): Do not use BP_SYM.
2292         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2293         "bp-asm.h".
2294         (PARMS): Do not use macros from bp-asm.h.
2295         (STR): Likewise.
2296         (CHR): Likewise.
2297         (__rawmemchr): Do not use BP_SYM.
2298         (rawmemchr): Do not use BP_SYM in weak_alias.
2299         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2300         (PARMS): Do not use macros from bp-asm.h.
2301         (S): Likewise.
2302         (SIZE): Likewise.
2303         (__mpn_rshift): Do not use BP_SYM.
2304         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2305         (PARMS): Do not use macros from bp-asm.h.
2306         (SIGMSK): Likewise.
2307         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2308         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2309         (_start): Do not use BP_SYM.
2310         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2311         (PARMS): Do not use macros from bp-asm.h.
2312         (DEST): Likewise.
2313         (SRC): Likewise.
2314         (__stpcpy): Likewise.  Do not use BP_SYM.
2315         (stpcpy): Do not use BP_SYM in weak_alias.
2316         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2317         "bp-asm.h".
2318         (PARMS): Do not use macros from bp-asm.h.
2319         (DEST): Likewise.
2320         (SRC): Likewise.
2321         (LEN): Likewise.
2322         (__stpncpy): Likewise.  Do not use BP_SYM.
2323         (stpncpy): Do not use BP_SYM in weak_alias.
2324         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2325         (PARMS): Do not use macros from bp-asm.h.
2326         (STR): Likewise.
2327         (CHR): Likewise.
2328         (strchr): Likewise.  Do not use BP_SYM.
2329         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2330         "bp-asm.h".
2331         (PARMS): Do not use macros from bp-asm.h.
2332         (STR): Likewise.
2333         (CHR): Likewise.
2334         (__strchrnul): Likewise.  Do not use BP_SYM.
2335         (strchrnul): Do not use BP_SYM in weak_alias.
2336         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2337         "bp-asm.h".
2338         (PARMS): Do not use macros from bp-asm.h.
2339         (STOP): Likewise.
2340         (strcspn): Do not use BP_SYM.
2341         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2342         "bp-asm.h".
2343         (PARMS): Do not use macros from bp-asm.h.
2344         (STR): Likewise.
2345         (STOP): Likewise.
2346         (strpbrk): Likewise.  Do not use BP_SYM.
2347         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2348         "bp-asm.h".
2349         (PARMS): Do not use macros from bp-asm.h.
2350         (STR): Likewise.
2351         (CHR): Likewise.
2352         (strrchr): Likewise.  Do not use BP_SYM.
2353         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2354         (PARMS): Do not use macros from bp-asm.h.
2355         (SKIP): Likewise.
2356         (strspn): Do not use BP_SYM.
2357         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2358         (PARMS): Do not use macros from bp-asm.h.
2359         (STR): Likewise.
2360         (DELIM): Likewise.
2361         (SAVE): Likewise.
2362         (FUNCTION): Likewise.  Do not use BP_SYM.
2363         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2364         aliases.
2365         (strtok_r): Likewise.
2366         (__GI___strtok_r): Likewise.
2367         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2368         (PARMS): Do not use macros from bp-asm.h.
2369         (S1): Likewise.
2370         (S2): Likewise.
2371         (SIZE): Likewise.
2372         (__mpn_sub_n): Do not use BP_SYM.
2373         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2374         "bp-asm.h".
2375         (PARMS): Do not use macros from bp-asm.h.
2376         (S1): Likewise.
2377         (SIZE): Likewise.
2378         (__mpn_submul_1): Do not use BP_SYM.
2379         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2380         <bp-sym.h>.
2381         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2382         and <bp-asm.h>.
2383         (PARMS): Do not use macros from bp-asm.h.
2384         (FLAGS): Likewise.
2385         (PTID): Likewise.
2386         (TLS): Likewise.
2387         (CTID): Likewise.
2388         (__clone): Do not use BP_SYM.
2389         (clone): Do not use BP_SYM in weak_alias.
2390         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2391         and <bp-asm.h>.
2392         (PARMS): Do not use macros from bp-asm.h.
2393         (LEN): Likewise.
2394         (__mmap64): Do not use BP_SYM.
2395         (mmap64): Do not use BP_SYM in weak_alias.
2396         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2397         <bp-sym.h> and <bp-asm.h>.
2398         (PARMS): Do not use macros from bp-asm.h.
2399         (__posix_fadvise64_l64): Do not use BP_SYM.
2400         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2401         (PARMS): Do not use macros from bp-asm.h.
2402         (NSOPS): Likewise.
2403         (semtimedop): Do not use BP_SYM.
2404         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2405         and <bp-asm.h>.
2407 2013-02-21  Allan McRae  <allan@archlinux.org>
2409         * manual/message.texi (Charset conversion in gettext):
2410         Move @end statement to beginning of line.
2412 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2415         static.
2416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2417         Likewise.
2419         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2420         (denorm): Likewise.
2421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2424 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2426         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2427         tail-call to the resolved function if pltexit isn't needed.
2429 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2432         or Y being zero as being unlikely.
2433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2434         Likewise.
2436 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2438         * manual/nss.texi (System Databases and Name Service Switch):
2439         Remove frobnicate @pxref.
2441 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2443         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2444         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2446 2013-02-20  Petr Machata  <pmachata@redhat.com>
2448         * elf/elf.h (R_ARM_TARGET1): New macro.
2449         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2450         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2451         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2452         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2453         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2454         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2455         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2456         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2457         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2458         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2459         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2460         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2461         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2462         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2463         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2464         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2465         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2466         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2467         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2468         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2469         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2470         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2471         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2472         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2473         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2474         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2475         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2476         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2477         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2478         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2479         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2480         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2481         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2482         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2483         (R_ARM_THM_GOT_BREL12): Likewise.
2484         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2485         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2486         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2487         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2488         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2489         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2490         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2491         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2492         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2494 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2496         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2497         __attribute_used__ to __attribute__ ((unused)).
2499 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2501         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2502         powerpc mpa.c.
2503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2504         comment formatting.
2505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2507 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2509         [BZ #13550]
2510         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2511         Remove macro.
2512         (ENTER): Remove both macro definitions.
2513         (LEAVE): Likewise.
2514         (CHECK_BOUNDS_LOW): Likewise.
2515         (CHECK_BOUNDS_HIGH): Likewise.
2516         (CHECK_BOUNDS_BOTH): Likewise.
2517         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2518         (RETURN_BOUNDED_POINTER): Likewise.
2519         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2520         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2521         (POP_ERRNO_LOCATION_RETURN): Likewise.
2522         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2523         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2524         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2525         macros.
2526         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2527         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2528         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2529         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2530         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2531         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2532         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2533         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2534         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2535         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2536         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2537         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2538         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2539         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2540         removed macros.
2541         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2542         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2543         macros.
2544         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2545         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2546         * sysdeps/i386/i586/memset.S (memset): Likewise.
2547         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2548         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2549         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2550         macros.
2551         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2552         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2553         Change uses of L(2) to L(out).
2554         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2555         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2556         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2557         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2558         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2559         removed macros.
2560         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2561         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2562         macros.
2563         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2564         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2565         (RETURN): Do not use macro LEAVE.
2566         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2567         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2568         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2569         * sysdeps/i386/i686/memset.S (memset): Likewise.
2570         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2571         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2572         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2573         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2574         Likewise.
2575         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2576         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2577         L(1_2) and L(1_3) into L(1).
2578         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2579         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2580         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2581         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2582         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2583         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2584         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2585         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2586         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2587         macros.
2588         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2589         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2590         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2591         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2592         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2593         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2594         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2595         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2596         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2597         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2598         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2599         * sysdeps/i386/strspn.S (strspn): Likewise.
2600         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2601         conditional code.
2602         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2603         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2604         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2605         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2606         L(1_3) into L(1_1).
2607         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2608         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2609         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2610         macros.
2611         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2613 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2615         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2616         macro.
2618 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2620         * math/atest-exp.c (exp_mpn): Remove ROUND.
2621         * math/atest-exp2.c (exp_mpn): Likewise.
2622         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2624         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2625         * stdlib/tst-tls-atexit-lib.c: Likewise.
2626         * stdlib/tst-tls-atexit.c: Likewise.
2628 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2630         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2631         and __attribute_alloc_size__.
2633 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2635         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2636         __attribute_alloc_size__.
2637         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2638         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2640 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2642         * include/programs/xmalloc.h: New file.
2643         * catgets/gencat.c: Include it.
2644         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2645         * elf/pldd.c: Likewise.
2646         * iconv/iconv_charmap.c: Likewise.
2647         * iconv/iconvconfig.c: Likewise.
2648         * iconv/strtab.c: Likewise.
2649         * locale/programs/locale.c: Likewise.
2650         * locale/programs/localedef.h: Likewise.
2651         * locale/programs/simple-hash.c: Likewise.
2652         * nscd/nscd.h: Likewise.
2653         * nss/makedb.c: Likewise.
2654         * sysdeps/generic/ldconfig.h: Likewise.
2656 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2658         * Versions.def: Add GLIBC_2.18.
2659         * include/link.h (struct link_map): New member l_tls_dtor_count.
2660         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2661         (__call_tls_dtors): Likewise.
2662         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2663         __cxa_thread_atexit_impl.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2665         Likewise.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2667         Likewise.
2668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2669         Likewise.
2670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2671         Likewise.
2672         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2674         Likewise.
2675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2676         Likewise.
2677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2679         Likewise.
2680         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2681         (tests): Add test case tst-tls-atexit.
2682         (modules-names): Add shared library for tst-tls-atexit.
2683         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2684         (GLIBC_PRIVATE): Add __call_tls_dtors.
2685         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2686         for libstdc++.
2687         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2688         * stdlib/tst-tls-atexit.c: New test case.
2689         * stdlib/tst-tls-atexit-lib.c: New test case.
2691         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2693         * elf/Versions (ld): Add _dl_find_dso_for_object.
2694         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2695         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2696         (dl_open_worker): Use _dl_find_dso_for_object.
2697         * elf/dl-sym.c (do_sym): Likewise.
2698         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2700 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2702         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2703         Syntactic changes only.
2704         (_dl_runtime_profile): Do a tail-call to the resolved function.
2706 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2708         [BZ #13550]
2709         * sysdeps/x86_64/bp-asm.h: Remove file.
2710         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2711         <bp-sym.h> and <bp-asm.h>.
2712         (__clone): Do not use BP_SYM.
2713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2714         <bp-sym.h> and <bp-asm.h>.
2715         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2716         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2717         "bp-asm.h".
2718         (_setjmp): Do not use BP_SYM.
2719         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2720         "bp-asm.h".
2721         (setjmp): Do not use BP_SYM.
2722         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2723         libc_hidden_def.
2724         (mempcpy): Do not use BP_SYM in weak_alias.
2725         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2726         "bp-asm.h".
2727         (strchr): Do not use BP_SYM.
2728         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2729         "bp-asm.h".
2730         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2731         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2732         (_start): Do not use BP_SYM.
2733         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2734         "bp-asm.h".
2735         (strcat): Do not use BP_SYM.
2736         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2737         "bp-asm.h".
2738         (STRCMP): Do not use BP_SYM.
2739         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2740         "bp-asm.h".
2741         (STRCPY): Do not use BP_SYM.
2742         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2743         "bp-asm.h".
2744         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2745         "bp-asm.h".
2746         (FUNCTION): Do not use BP_SYM.
2747         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2748         weak_alias.
2749         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2751 2013-02-17  Andreas Jaeger  <aj@suse.de>
2753         * time/Versions: Sort entries.
2754         * string/Versions: Likewise.
2755         * resolv/Versions: Likewise.
2756         * posix/Versions: Likewise.
2757         * iconv/Versions: Likewise.
2758         * elf/Versions: Likewise.
2759         * wcsmbs/Versions: Likewise.
2761 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2763         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2764         loop termination condition.
2766         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2767         variable to calculate EZ.
2768         (__sqr): Likewise.
2770         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2771         the lower precision input.
2773 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2775         [BZ #13550]
2776         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2777         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2778         (run-via-rtld-prefix): Do not handle %-bp tests.
2779         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2780         (all-object-suffixes): Remove .ob.
2781         (bppfx): Remove variable.
2782         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2783         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2784         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2785         [$(build-bounded) = yes] (libtype.ob): Likewise.
2786         * Makerules (elide-routines.ob): Remove variable.
2787         (do-tests-clean): Do not handle *-bp.out.
2788         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2789         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2790         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2791         (tests): Do not include $(tests-bp.out).
2792         (xtests): Do not include $(xtests-bp.out).
2793         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2794         [$(build-bounded) = yes] ($(addprefix
2795         $(objpfx),$(binaries-bounded))): Remove rule.
2796         ($(objpfx)%-bp.out): Remove rule.
2797         * config.make.in (build-bounded): Remove variable.
2798         * crypt/Makefile [$(build-bounded) = yes]
2799         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2800         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2801         append to variable.
2802         [$(build-bounded) = yes] (install-lib): Likewise.
2803         [$(build-bounded) = yes] (generated): Likewise.
2804         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2805         Remove rule.
2806         * intl/Makefile [$(build-bounded) = yes]
2807         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2808         * math/Makefile [$(build-bounded) = yes]
2809         ($(tests:%=$(objpfx)%-bp): Likewise.
2810         * misc/Makefile [$(build-bounded) = yes]
2811         ($(objpfx)tst-tsearch-bp): Likewise.
2812         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2813         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2814         Remove dependency.
2815         * string/Makefile (o-objects.ob): Remove variable.
2816         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2817         (CFLAGS-.ob): Remove variable.
2818         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2819         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2820         both definitions of variable.
2821         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2822         (ASFLAGS-.ob): Remove variable.
2824 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2826         [BZ #13550]
2827         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2828         Remove __BOUNDED_POINTERS__ from condition.
2829         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2830         * string/bits/string2.h [!__NO_STRING_INLINES &&
2831         !__BOUNDED_POINTERS__]: Likewise.
2832         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2833         Likewise.
2834         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2835         Remove conditional code.
2836         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2837         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2838         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2839         condition.
2841         [BZ #13550]
2842         * csu/libc-start.c: Do not include <bp-sym.h>.
2843         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2844         * elf/dl-open.c: Do not include <bp-sym.h>.
2845         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2846         * math/fegetenv.c: Do not include <bp-sym.h>.
2847         (fegetenv): Do not use BP_SYM in versioned symbols.
2848         * nptl/sysdeps/pthread/bits/libc-lockP.h
2849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2850         <bp-sym.h>.
2851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2852         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2854         (__pthread_mutex_destroy): Likewise.
2855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2856         (__pthread_mutex_lock): Likewise.
2857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2858         (__pthread_mutex_trylock): Likewise.
2859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2860         (__pthread_mutex_unlock): Likewise.
2861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2862         (__pthread_mutexattr_init): Likewise.
2863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2864         (__pthread_mutexattr_destroy): Likewise.
2865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2866         (__pthread_mutexattr_settype): Likewise.
2867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2868         (__pthread_rwlock_init): Likewise.
2869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2870         (__pthread_rwlock_destroy): Likewise.
2871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2872         (__pthread_rwlock_rdlock): Likewise.
2873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2874         (__pthread_rwlock_tryrdlock): Likewise.
2875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2876         (__pthread_rwlock_wrlock): Likewise.
2877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2878         (__pthread_rwlock_trywrlock): Likewise.
2879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2880         (__pthread_rwlock_unlock): Likewise.
2881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2882         (__pthread_key_create): Likewise.
2883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2884         (__pthread_setspecific): Likewise.
2885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2886         (__pthread_getspecific): Likewise.
2887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2888         Likewise.
2889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2890         (_pthread_cleanup_push_defer): Likewise.
2891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2892         (_pthread_cleanup_pop_restore): Likewise.
2893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2894         (pthread_setcancelstate): Likewise.
2895         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2896         <bp-sym.h>.
2897         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2898         (memchr): Do not use BP_SYM in weak_alias.
2899         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2900         (fegetenv): Do not use BP_SYM in versioned symbols.
2901         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2902         (fesetenv): Do not use BP_SYM in versioned symbols.
2903         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2904         (feupdateenv): Do not use BP_SYM in versioned symbols.
2905         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2906         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2907         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2908         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2909         (open64): Do not use BP_SYM in weak_alias.
2910         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2911         (fegetenv): Do not use BP_SYM in versioned symbols.
2912         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2913         (fesetenv): Do not use BP_SYM in versioned symbols.
2914         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2915         (feupdateenv): Do not use BP_SYM in versioned symbols.
2916         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2917         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2918         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2919         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2920         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2921         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2922         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2923         <bp-sym.h>.
2924         (__libc_start_main): Do not use BP_SYM.
2926 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2929         redundant return line.
2930         (norm): Likewise.
2931         (denorm): Likewise.
2932         (dbl_mp): Likewise.
2933         (sub_magnitudes): Likewise.
2934         (__add): Likewise.
2935         (__sub): Likewise.
2936         (__mul): Likewise.
2937         (__inv): Likewise.
2938         (__dvd): Likewise.
2939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2940         (norm): Likewise.
2941         (denorm): Likewise.
2942         (dbl_mp): Likewise.
2943         (sub_magnitudes): Likewise.
2944         (__add): Likewise.
2945         (__sub): Likewise.
2946         (__mul): Likewise.
2947         (__inv): Likewise.
2948         (__dvd): Likewise.
2950         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2951         instead of __mul.
2952         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2953         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2954         (cc32): Likewise.
2956         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2957         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2959         of __mul for squares.
2960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2961         function
2962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2963         Likewise.
2964         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2965         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2967 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2969         [BZ #13550]
2970         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2971         code.
2972         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2973         prototype or function definition.  Rename ubp_* variables and
2974         parameters.  Remove argv definitions conditional on
2975         [__BOUNDED_POINTERS__].
2976         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2977         * elf/dl-runtime.c (_dl_fixup): Likewise.
2978         * include/set-hooks.h (RUN_HOOK): Likewise.
2979         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2980         definition.
2981         * string/strcpy.c (strcpy): Do not use __unbounded.
2982         * sysdeps/generic/frame.h (struct layout): Likewise.
2983         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2984         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2985         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2986         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2987         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2988         (__backtrace): Likewise.
2989         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2990         use __ptrvalue.
2991         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2992         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2993         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2996         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2997         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2998         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2999         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3000         Do not use __unbounded.
3001         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3002         Rename __unboundedrlimits parameter to rlimits in prototype.
3003         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3004         Do not use __unbounded.
3005         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3006         not use __ptrvalue.
3007         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3008         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3009         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3010         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3011         __ptrvalue or __unbounded.
3012         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3013         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3014         use __unbounded.
3015         (__new_msgctl): Do not use __ptrvalue.
3016         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3017         __unbounded.
3018         (__libc_msgrcv): Do not use __ptrvalue.
3019         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3020         startup_info): Do not use __unbounded.
3021         (__libc_start_main): Likewise.  Rename ubp_* variables and
3022         parameters.  Remove argv definitions conditional on
3023         [__BOUNDED_POINTERS__].
3024         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3025         __ptrvalue.
3026         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3027         use __unbounded.
3028         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3029         or __ptrvalue.
3030         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3031         use __unbounded.
3032         (__new_shmctl): Do not use __ptrvalue.
3033         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3034         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3037         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3038         (__libc_sigaction): Likewise.
3039         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3040         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3044 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3046         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3048         * string/mempcpy.c: Implement by calling memcpy.
3050 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3055         evaluation.
3057         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3058         values in the mantissa.
3060         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3061         minimize writes to Z.
3062         (sub_magnitudes): Simplify code a bit.
3064 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3066         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3067         from the message.  The linker prefixes all warnings with that already.
3069 2013-02-12  Andreas Schwab  <schwab@suse.de>
3071         [BZ #15078]
3072         * posix/regexec.c (extend_buffers): Add parameter min_len.
3073         (check_matching): Pass minimum needed length.
3074         (clean_state_log_if_needed): Likewise.
3075         (get_subexp): Likewise.
3076         * posix/Makefile (tests): Add bug-regex34.
3077         (bug-regex34-ENV): Define.
3078         * posix/bug-regex34.c: New file.
3080         [BZ #11561]
3081         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3082         elements compare against the byte sequence of it, not its name.
3083         * posix/Makefile (tests): Add bug-regex35.
3084         (bug-regex35-ENV): Define.
3085         * posix/bug-regex35.c: New file.
3087 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3089         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3090         comment.
3091         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3092         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3093         (CHECK_EOL): Add undef.
3095 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3097         * bits/stdlib-bsearch.h: New file.
3098         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3099         * stdlib/stdlib.h: Likewise.
3101 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3103         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3104         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3105         declaration.
3106         * manual/search.texi (Array Search Function): Add missing const in
3107         lfind prototype.
3108         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3109         declaration to use rlim_t.
3110         (Basic Scheduling Functions): Remove erroneous const from
3111         sched_getparam prototype.  Remove erroneous * from
3112         sched_get_priority_max and sched_get_priority_min prototypes.
3113         (Resource Usage): Fix summary @comment on vtimes to refer to
3114         sys/vtimes.h rather than vtimes.h.
3115         Add missing *s in vtimes prototype.
3116         (Limits on Resources): Fix ulimit prototype to return long int.
3117         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3118         prototypes to use long int rather than double.
3119         (BSD Random): Fix initstate and setstate to use char *, not void *.
3120         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3121         prototype to make second argument 'struct aiocb64 *const[]'.
3122         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3123         (Status of AIO Operations): Remove erroneous const in aio_return and
3124         aio_return64 prototypes.
3125         (Synchronizing I/O): Fix sync prototype to return void.
3126         * manual/startup.texi (Suboptions): Remove an erroneous const in
3127         getsubopt prototype.
3128         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3129         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3130         use size_t rather than int.
3131         (Scanning All Users): Likewise for getpwent_r.
3132         (Setting Groups): Add missing const to setgroups prototype.
3133         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3134         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3135         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3136         'const void *' rather than 'const char *'.
3137         (Host Address Functions): Likewise for inet_ntop.
3138         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3139         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3140         ssize_t for return value.
3141         (Sending Data): Likewise for send, sendto, sendmsg.
3142         (Socket Option Functions): Add a missing const in setsockopt prototype.
3143         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3144         use wchar_t for the argument.
3145         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3146         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3147         take no arguments.
3148         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3149         double/float/long double for second argument.
3150         Fix return types of significand, significandf, significandl.
3151         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3152         argument in fchmod prototype.
3153         (File Owner): Use uid_t and gid_t in fchown prototype.
3154         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3155         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3156         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3157         use 'const struct dirent **' as argument types to CMP function pointer
3158         argument.
3159         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3160         (File Times): Fix summary magic @comment for struct utimbuf and utime
3161         to refer to utime.h, not time.h.
3162         * manual/string.texi (Argz Functions): Add missing const in
3163         argz_extract and argz_next prototypes.
3164         (Finding Tokens in a String): Likewise for basename.
3165         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3166         (Copying and Concatenation): Fix typo in wmemmove prototype.
3167         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3168         (Signal Stack): Remove erroneous const in sigstack prototype.
3169         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3170         prototype.
3171         (Simple Calendar Time): Likewise for stime.
3172         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3173         prototype.
3174         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3175         say sys/sysctl.h instead.
3176         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3177         and vsyslog prototypes.
3179 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3181         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3182         Remove.
3184 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3186         * misc/sys/mman.h: Fix typo in mremap comment.
3188 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3190         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3191         the '\0' terminator.
3193 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3195         [BZ #13550]
3196         * debug/segfault.c: Don't include <bp-checks.h>.
3197         * sysdeps/generic/bp-checks.h: Remove file.
3198         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3199         (__GETDENTS): Don't use CHECK_N.
3200         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3201         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3202         (__getgroups): Don't use CHECK_N.
3203         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3204         (setgroups): Don't use CHECK_N.
3205         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3206         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3207         (__libc_msgrcv): Don't use CHECK_N.
3208         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3209         (__libc_msgsnd): Don't use CHECK_N.
3210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3211         <bp-checks.h>.
3212         (__libc_pread): Don't use CHECK_N.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3214         include <bp-checks.h>.
3215         (__libc_pread64): Don't use CHECK_N.
3216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3217         include <bp-checks.h>.
3218         (__libc_pwrite): Don't use CHECK_N.
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3220         include <bp-checks.h>.
3221         (__libc_pwrite64): Don't use CHECK_N.
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3223         <bp-checks.h>.
3224         (__libc_pread): Don't use CHECK_N.
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3226         include <bp-checks.h>.
3227         (__libc_pread64): Don't use CHECK_N.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3229         include <bp-checks.h>.
3230         (__libc_pwrite): Don't use CHECK_N.
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3232         include <bp-checks.h>.
3233         (__libc_pwrite64): Don't use CHECK_N.
3234         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3235         (do_pread): Don't use CHECK_N.
3236         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3237         (do_pread64): Don't use CHECK_N.
3238         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3239         (do_pwrite): Don't use CHECK_N.
3240         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3241         (do_pwrite64): Don't use CHECK_N.
3242         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3243         (__libc_readv): Don't use CHECK_N.
3244         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3245         (semop): Don't use CHECK_N.
3246         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3247         <bp-checks.h>.
3248         (semtimedop): Don't use CHECK_N.
3249         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3250         (__libc_pread): Don't use CHECK_N.
3251         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3252         <bp-checks.h>.
3253         (__libc_pread64): Don't use CHECK_N.
3254         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3255         <bp-checks.h>.
3256         (__libc_pwrite): Don't use CHECK_N.
3257         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3258         <bp-checks.h>.
3259         (__libc_pwrite64): Don't use CHECK_N.
3260         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3261         <bp-checks.h>.
3262         (__libc_msgrcv): Don't use CHECK_N.
3263         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3264         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3265         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3266         (__libc_writev): Don't use CHECK_N.
3268 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3270         * string/strcpy.c: Removed unused variable.
3272         * Makeconfig (+sysdep-includes): Define with := rather than =.
3273         Use an existing include/ subdir of each sysdeps dir before it.
3275 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3277         * nscd/connection.c (register_traced_file): Comment function.
3278         [HAVE_INOTIFY] (union __inev): Define.
3279         [HAVE_INOTIFY] (inotify_check_files): New function.
3280         [HAVE_INOTIFY] (clear_db_cache): Likewise.
3281         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3282         clear_db_cache.
3283         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3285 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3287         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3288         loaded if not already and that a failure is permanent.
3290 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3292         [BZ #15006]
3293         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3294         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3296 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3298         [BZ #13550]
3299         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3300         (CHECK_1_NULL_OK): Likewise.
3301         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3302         (__fxstat): Do not use CHECK_1.
3303         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3304         <bp-checks.h>.
3305         (___fxstat64): Do not use CHECK_1.
3306         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3307         <bp-checks.h>.
3308         (__fxstatat): Do not use CHECK_1.
3309         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3310         <bp-checks.h>.
3311         (__fxstatat64): Do not use CHECK_1.
3312         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3313         <bp-checks.h>.
3314         (__fxstat): Do not use CHECK_1.
3315         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3316         <bp-checks.h>.
3317         (__fxstatat): Do not use CHECK_1.
3318         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3319         <bp-checks.h>.
3320         (__getresgid): Do not use CHECK_1.
3321         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3322         <bp-checks.h>.
3323         (__getresuid): Do not use CHECK_1.
3324         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3325         <bp-checks.h>.
3326         (__lxstat): Do not use CHECK_1.
3327         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3328         <bp-checks.h>.
3329         (__old_msgctl): Do not use CHECK_1.
3330         (__new_msgctl): Likewise.
3331         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3332         <bp-checks.h>.
3333         (__new_setrlimit): Do not use CHECK_1.
3334         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3335         <bp-checks.h>.
3336         (__old_shmctl): Do not use CHECK_1.
3337         (__new_shmctl): Likewise.
3338         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3339         <bp-checks.h>.
3340         (__xstat): Do not use CHECK_1.
3341         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3342         (__lxstat): Do not use CHECK_1.
3343         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3344         <bp-checks.h>.
3345         (___lxstat64): Do not use CHECK_1.
3346         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3347         (__old_msgctl): Do not use CHECK_1.
3348         (__new_msgctl): Likewise.
3349         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3350         <bp-checks.h>.
3351         (__gettimeofday): Do not use CHECK_1.
3352         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3353         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3354         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3355         <bp-checks.h>.
3356         (__gettimeofday): Do not use CHECK_1.
3357         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3358         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3359         (__new_shmctl): Do not use CHECK_1.
3360         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3361         <bp-checks.h>.
3362         (do_sigtimedwait): Do not use CHECK_1.
3363         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3364         <bp-checks.h>.
3365         (do_sigwaitinfo): Do not use CHECK_1.
3366         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3367         <bp-checks.h>.
3368         (msgctl): Do not use CHECK_1.
3369         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3370         <bp-checks.h>.
3371         (shmctl): Do not use CHECK_1.
3372         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3373         (ustat): Do not use CHECK_1.
3374         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3375         <bp-checks.h>.
3376         (__fxstat): Do not use CHECK_1.
3377         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3378         <bp-checks.h>.
3379         (__fxstatat): Do not use CHECK_1.
3380         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3381         <bp-checks.h>.
3382         (__lxstat): Do not use CHECK_1.
3383         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3384         <bp-checks.h>.
3385         (__xstat): Do not use CHECK_1.
3386         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3387         (__xstat): Do not use CHECK_1.
3388         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3389         (___xstat64): Do not use CHECK_1.
3391         [BZ #13550]
3392         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3393         definitions.
3394         (CHECK_BOUNDS_HIGH): Likewise.
3395         * string/strcpy.c: Do not include <bp-checks.h>.
3396         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3398 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3400         * nscd/nscd-client.h (__nscd_drop_map_ref):
3401         Add __attribute__ ((unused)).
3402         * nis/nss-nisplus.h (niserr2nss): Likewise.
3404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3405         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3407         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3408         Remove inline keyword.
3409         * include/rounding-mode.h (round_away): Likewise.
3410         * libio/wfileops.c (adjust_wide_data): Likewise.
3411         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3412         (__m128i_strloadu_tolower): Likewise.
3413         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3414         (__m128i_strloadu_tolower): Likewise.
3415         * time/mktime.c (ydhms_diff): Likewise.
3416         * locale/elem-hash.h (elem_hash): Likewise.
3417         * locale/setlocale.c (setdata): Likewise.
3418         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3419         (re_string_wchar_at): Likewise.
3420         (bitset_not, bitset_merge, bitset_mask): Likewise.
3421         [!(__GNUC__ > 3)] (inline): Remove macro.
3422         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3423         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3424         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3425         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3426         * string/memcmp.c (memcmp_bytes): Likewise.
3427         * locale/programs/locarchive.c (compute_hashval): Likewise.
3428         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3429         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3430         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3431         * nss/getent.c (print_rpc, print_protocols): Likewise.
3432         (print_passwd, print_group, print_aliases): Likewise.
3433         * nis/nss-nisplus.h (niserr2nss): Likewise.
3434         * nscd/connections.c (restart_p): Likewise.
3435         Change return type to bool.
3437 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3439         * Makeconfig (all-Depend-files): Add existing
3440         $(sorted-subdirs:=/Depend) files.
3441         (all-subdirs): Remove nss.
3442         * sysdeps/unix/inet/Subdirs: Add it here instead.
3443         * hesiod/Depend: New file.
3445         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3446         instead of calling alloca.
3448         * io/lseek.c (__lseek): Rename to __libc_lseek.
3449         Define __lseek as an alias.
3451         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3453 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3455         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3456         else clause and remove check for non-standard endianness.
3458 2013-02-04  David S. Miller  <davem@davemloft.net>
3460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3462 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3464         [BZ #13550]
3465         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3466         (__ubp_memchr): Remove prototype.
3467         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3468         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3469         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3470         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3471         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3472         Remove alias.
3473         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3474         (__ubp_memchr): Likewise.
3475         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3476         (__ubp_memchr): Likewise.
3477         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3478         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3479         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3480         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3481         CHECK_STRING.
3482         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3483         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3484         (__getcwd): Do not use CHECK_STRING.
3485         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3486         <bp-checks.h>.
3487         (__real_chown): Do not use CHECK_STRING.
3488         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3489         <bp-checks.h>.
3490         (fchownat): Do not use CHECK_STRING.
3491         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3492         CHECK_STRING.
3493         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3494         <bp-checks.h>.
3495         (__lchown): Do not use CHECK_STRING.
3496         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3497         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3498         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3499         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3501         include <bp-checks.h>.
3502         (truncate64): Do not use CHECK_STRING.
3503         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3504         <bp-checks.h>.
3505         (__real_chown): Do not use CHECK_STRING.
3506         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3507         <bp-checks.h>.
3508         (__lchown): Do not use CHECK_STRING.
3509         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3510         <bp-checks.h>.
3511         (__chown): Do not use CHECK_STRING.
3512         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3513         <bp-checks.h>.
3514         (truncate64): Do not use CHECK_STRING.
3515         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3516         Likewise.
3517         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3518         (__xmknod): Do not use CHECK_STRING.
3519         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3520         <bp-checks.h>.
3521         (__xmknodat): Do not use CHECK_STRING.
3522         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3523         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3525 2013-02-04  Andreas Schwab  <schwab@suse.de>
3527         [BZ #14142]
3528         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3529         * include/netdb.h: Likewise for h_errno.
3530         * elf/tst-stackguard1.c: Include <tls.h>.
3532 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3534         * elf/link.h (struct link_map): Extend the l_addr comment.
3535         * include/link.h (struct link_map): Likewise.
3537 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3539         [BZ #13550]
3540         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3541         (BOUNDED_1): Remove macro.
3542         * debug/backtrace.c: Don't include <bp-checks.h>.
3543         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3544         (__backtrace): Likewise.
3545         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3546         <bp-checks.h>.
3547         (__backtrace): Don't use BOUNDED_1.
3548         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3549         <bp-checks.h>.
3550         (__backtrace): Don't use BOUNDED_1.
3551         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3552         (__backtrace): Don't use BOUNDED_1.
3553         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3554         (shmat): Don't use BOUNDED_N.
3556 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3558         [BZ #13550]
3559         * sysdeps/generic/bp-start.h: Remove file.
3560         * csu/libc-start.c: Don't include <bp-start.h>.
3561         (LIBC_START_MAIN): Set up __environ directly instead of using
3562         INIT_ARGV_and_ENVIRON.
3563         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3564         <bp-start.h>.
3566         [BZ #13550]
3567         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3568         definitions.
3569         (CHECK_FCNTL): Likewise.
3570         (CHECK_N_PAGES): Likewise.
3572         [BZ #13550]
3573         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3574         definitions.
3575         (CHECK_SIGSET_NULL_OK): Likewise.
3576         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3577         <bp-checks.h>.
3578         (sigpending): Don't use CHECK_SIGSET.
3579         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3580         <bp-checks.h>.
3581         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3582         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3583         <bp-checks.h>.
3584         (do_sigsuspend): Don't use CHECK_SIGSET.
3585         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3586         use CHECK_SIGSET.
3587         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3588         (do_sigwait): Don't use CHECK_SIGSET.
3589         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3590         use CHECK_SIGSET.
3591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3592         include <bp-checks.h>.
3593         (sigpending): Don't use CHECK_SIGSET.
3594         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3595         include <bp-checks.h>.
3596         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3597         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3598         <bp-checks.h>.
3599         (sigpending): Don't use CHECK_SIGSET.
3600         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3601         <bp-checks.h>.
3602         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3604         [BZ #13550]
3605         * sysdeps/generic/bp-semctl.h: Remove file.
3606         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3607         <bp-checks.h> and <bp-semctl.h>.
3608         (__old_semctl): Don't use CHECK_SEMCTL.
3609         (__new_semctl): Likewise.
3610         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3611         and <bp-semctl.h>.
3612         (__old_semctl): Don't use CHECK_SEMCTL.
3613         (__new_semctl): Likewise.
3614         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3615         <bp-checks.h> and <bp-semctl.h>.
3616         (__old_semctl): Don't use CHECK_SEMCTL.
3617         (__new_semctl): Likewise.
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3619         <bp-checks.h> and <bp-semctl.h>.
3620         (semctl): Don't use CHECK_SEMCTL.
3622         [BZ #13550]
3623         * Makerules (elide-bp-thunks): Remove variable.
3624         (elide-routines.oS): Don't use $(elide-bp-thunks).
3625         (elide-routines.os): Likewise.
3626         (elide-routines.o): Likewise.
3627         (elide-routines.op): Likewise.
3628         (elide-routines.og): Likewise.
3629         (objects): Don't use $(bp-thunks).
3630         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3631         include.
3632         (common-generated): Do not add s-proto-bp.d.
3633         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3634         (int): Likewise.
3635         (typ): Likewise.
3636         Do not generate makefile rules for bounded-pointer thunks.
3637         * sysdeps/generic/bp-thunks.h: Remove file.
3638         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3639         * sysdeps/unix/s-proto-bp.S: Likewise.
3641         [BZ #15062]
3642         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3643         parts of result separately when argument is not close to line from
3644         -i to i and one part of argument is small.
3645         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3646         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3647         * math/libm-test.inc (cacos_test): Add more tests.
3648         (casin_test): Likewise.
3649         (casinh_test): Likewise.
3650         * sysdeps/i386/fpu/libm-test-ulps: Update.
3651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3653 2013-01-31  David S. Miller  <davem@davemloft.net>
3655         * po/de.po: Update from translation team.
3657 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3659         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3661 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3663         * configure.in (_AC_PROG_CC_C89): New definition.
3664         * configure: Regenerate.
3666         * configure.in (AC_PROG_CPP): New definition.
3667         * configure: Regenerate.
3669 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3671         * debug/tst-backtrace.h: New file.
3672         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3673         (ret): Remove variable.
3674         (x): Likewise.
3675         (FAIL): Remove macro.
3676         (NO_INLINE): Likewise.
3677         (fn1): Use match function instead of strstr.
3678         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3679         (ret): Remove variable.
3680         (x): Likewise.
3681         (FAIL): Remove macro.
3682         (NO_INLINE): Likewise.
3683         (fn): Use match function instead of strstr.
3684         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3685         (ret): Remove variable.
3686         (x): Likewise.
3687         (FAIL): Remove macro.
3688         (NO_INLINE): Likewise.
3689         (handle_signal): Use match function instead of strstr.
3690         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3691         (ret): Remove variable.
3692         (x): Likewise.
3693         (FAIL): Remove macro.
3694         (NO_INLINE): Likewise.
3695         (handle_signal): Use match function instead of strstr.
3697 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3699         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3701 2013-01-23  David S. Miller  <davem@davemloft.net>
3703         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3704         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3705         argument of CAS if possible.
3706         * sysdeps/sparc/sparc64/bits/atomic.h
3707         (__arch_compare_and_exchange_val_32_acq): Likewise.
3708         (__arch_compare_and_exchange_val_64_acq): Likewise.
3710 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3712         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3713         * sysdeps/posix/ulimit.c: ... this.
3714         Include <limits.h>.
3715         * sysdeps/unix/bsd/ulimit.c: Remove file.
3717 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3719         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3720         (LDFLAGS-tst-array5): Likewise.
3722 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3724         [BZ #15036]
3725         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3726         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3727         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3728         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3730 2013-01-21  David S. Miller  <davem@davemloft.net>
3732         * sysdeps/sparc/backtrace.c: New file.
3733         * sysdeps/sparc/sparc32/backtrace.h: New file.
3734         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3735         * sysdeps/sparc/sparc64/backtrace.h: New file.
3736         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3737         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3738         -funwind-tables.
3740 2013-01-21  Andreas Schwab  <schwab@suse.de>
3742         [BZ #15020]
3743         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3744         closed its stdout.
3746 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3749         "mpa2.h".
3750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3752 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3753             Mark Mitchell  <mark@codesourcery.com>
3754             Tom de Vries  <tom@codesourcery.com>
3755             Paul Pluzhnikov  <ppluzhnikov@google.com>
3757         * debug/tst-backtrace2.c: New file.
3758         * debug/tst-backtrace3.c: Likewise.
3759         * debug/tst-backtrace4.c: Likewise.
3760         * debug/tst-backtrace5.c: Likewise.
3761         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3762         (CFLAGS-tst-backtrace3.c): Likewise.
3763         (CFLAGS-tst-backtrace4.c): Likewise.
3764         (CFLAGS-tst-backtrace5.c): Likewise.
3765         (LDFLAGS-tst-backtrace2): Likewise.
3766         (LDFLAGS-tst-backtrace3): Likewise.
3767         (LDFLAGS-tst-backtrace4): Likewise.
3768         (LDFLAGS-tst-backtrace5): Likewise.
3769         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3770         tst-backtrace4 and tst-backtrace5.
3772 2013-01-18  Anton Blanchard  <anton@samba.org>
3773             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3775         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3776         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3777         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3778         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3780         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3781         "+r" and remove output regs list as redundant.  Add explicit inline
3782         asm to specify register of return val to work around compiler codegen
3783         bug.  Remove (int) cast on return value.  Add return type parameter to
3784         use in macro so that this macro does not truncate return value for
3785         64-bit values.
3786         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3787         pass to INTERNAL_VSYSCALL_NCS.
3788         (INLINE_VSYSCALL): Add 'long int' as return type to
3789         INTERNAL_VSYSCALL_NCS macro invocation.
3790         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3791         INTERNAL_VSYSCALL_NCS macro invocation.
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3794 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3796         [BZ #14496]
3797         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3798         Fix application of SIMD FP exception mask.
3800         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3801         mp_no from a power of two.
3802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3803         __mpexp_twomm1.  Use __pow_mp.
3805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3806         multiplication.
3808 2013-01-17  David S. Miller  <davem@davemloft.net>
3810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3812 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #15023]
3815         * include/complex.h: Condition contents on [!_COMPLEX_H].
3816         (__kernel_casinhf): New prototype.
3817         (__kernel_casinh): Likewise.
3818         (__kernel_casinhl): Likewise.
3819         * math/Makefile (libm_calls): Add k_casinh.
3820         * math/k_casinh.c: New file.
3821         * math/k_casinhf.c: Likewise.
3822         * math/k_casinhl.c: Likewise.
3823         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3824         finite nonzero arguments.
3825         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3826         finite nonzero arguments.
3827         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3828         finite nonzero arguments.
3829         * math/s_casinh.c: Do not include <float.h>.
3830         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3831         * math/s_casinhf.c: Do not include <float.h>.
3832         (__casinhf): Move code for finite nonzero arguments to
3833         k_casinhf.c.
3834         * math/s_casinhl.c: Do not include <float.h>.
3835         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3836         redefine.
3837         (__casinhl): Move code for finite nonzero arguments to
3838         k_casinhl.c.
3839         * math/libm-test.inc (cacos_test): Add more tests.
3840         * sysdeps/i386/fpu/libm-test-ulps: Update.
3841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3843 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3845         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3846         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3847         [!HAVE_MREMAP]: Remove [defined linux] case.
3848         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3850 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3852         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3854 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3856         * elf/elf.h (R_386_SIZE32): New relocation.
3857         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3858         R_386_SIZE32.
3859         (elf_machine_rela): Likewise.
3860         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3861         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3863 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3865         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3866         (FP_FAST_FMA): Do not define.
3867         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3868         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3869         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3870         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3871         !_SOFT_FLOAT]: Likewise.
3872         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3873         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3874         value.
3875         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3876         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3877         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3878         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3879         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3880         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3881         file.
3883 2013-01-16  Andreas Schwab  <schwab@suse.de>
3885         [BZ #14327]
3886         * include/stdlib.h (__mktemp): Add declaration.
3887         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3888         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3890 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3892         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3893         definitions.
3894         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3895         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3896         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3897         definitions here.
3898         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3899         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3900         definitions.
3901         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3902         and ONE.
3903         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3904         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3905         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3906         definitions.
3907         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3908         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3909         definitions.
3910         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3912         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3914 2013-01-15  David S. Miller  <davem@davemloft.net>
3916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3917         trunc{,f} to libm-sysdep_routes.
3918         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3920         file.
3921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3923         file.
3924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3925         file.
3926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3928         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3929         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3930         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3931         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3932         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3933         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3936         nearbyint{,f} to libm-sysdep_routes.
3937         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3939         New file.
3940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3941         file.
3942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3943         New file.
3944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3945         file.
3946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3948         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3949         file.
3950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3951         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3952         file.
3953         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3954         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3955         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3957         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3958         libc_feholdexcept and libc_fesetenv.
3960 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3962         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3964 2013-01-14  David S. Miller  <davem@davemloft.net>
3966         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3967         (SPARC_ASM_VIS2_IFUNC): Likewise.
3968         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3970         use of 'siam' instruction.
3971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3972         Likewise.
3973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3974         Likewise.
3975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3976         Likewise.
3977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3982         file.
3983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3984         file.
3985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3986         file.
3987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3988         file.
3989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3994         new VIS2 routines.
3995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3998         Likewise.
3999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4004         routines to libm-sysdep_routines.
4005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4008         fdim/fdimf to libm-sysdep_routines.
4009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4010         file.
4011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4013         file.
4014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4017         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4018         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4019         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4020         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4022 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4024         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4025         to optimize copies.
4027         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4032         local variable MPTWO.
4033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4034         Likewise.
4036 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4038         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4039         GLOB_NOESCAPE.
4041 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4043         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4045 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4047         * manual/pattern.texi (glob_t): Document gl_flags.
4048         (glob64_t): Likewise.
4050 2013-01-11  David S. Miller  <davem@davemloft.net>
4052         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4053         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4054         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4055         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4056         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4057         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4058         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4059         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4060         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4061         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4062         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4063         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4064         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4066         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4067         sparc V9 rather than using V8 code.
4068         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4069         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4071         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4072         Move to...
4073         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4074         Here.
4076 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4078         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4079         not in the main loop.
4080         * configure: Regenerated.
4082 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4084         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4085         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4086         to just #else.
4087         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4088         [!__GLIBC_HAVE_LONG_LONG] case.
4089         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4090         condition to just #else.
4091         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4092         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4093         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4094         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4095         unconditional.
4096         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4097         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4098         #elif condition to just #else.
4099         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4100         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4101         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4102         #elif condition to just #else.
4104 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4106         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4107         (EF_MIPS_ARCH_64): Fix value.
4108         (EF_MIPS_ARCH_32R2): New.
4109         (EF_MIPS_ARCH_64R2): New.
4111 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4113         * Makeconfig (+link-pie-before-libc): New.
4114         (+link-pie-after-libc): Likewise.
4115         (+link-pie-tests): Likewise.
4116         (+link-pie): Rewritten.
4117         (link-before-libc): Remove $(config-LDFLAGS).
4118         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4119         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4120         (config-LDFLAGS): Renamed to ...
4121         (rtld-LDFLAGS): This.
4122         (rtld-tests-LDFLAGS): New macro.
4123         (link-libc-rpath-link): Likewise.
4124         (link-libc-tests-rpath-link): Likewise.
4125         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4126         (link-libc): Prepand $(link-libc-rpath-link).
4127         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4128         (test-program-prefix): New macro.
4129         (test-via-rtld-prefix): Likewise.
4130         (test-program-cmd): Likewise.
4131         (host-test-program-cmd): Likewise.
4132         * Makefile ($(common-objpfx)testrun.sh): Replace
4133         $(run-program-prefix) with $(test-program-prefix).
4134         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4135         $(rtld-LDFLAGS).
4136         ($(common-objpfx)shlib.lds): Likewise.
4137         (build-module-helper): Likewise.
4138         ($(common-objpfx)format.lds): Likewise.
4139         * Rules (binaries-pie-tests): New.
4140         (binaries-pie-notests): Likewise.
4141         (binaries-pie): Rewritten.
4142         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4143         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4144         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4145         (make-test-out): Replace $(host-built-program-cmd) with
4146         $(host-test-program-cmd).
4147         * config.make.in (build-hardcoded-path-in-tests): New variable.
4148         * configure.in (--enable-hardcoded-path-in-tests): New configure
4149         option.
4150         (hardcoded_path_in_tests): New AC_SUBST.
4151         * configure: Regenerated.
4152         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4153         $(built-program-cmd) with $(test-program-cmd).
4154         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4155         (test_program_cmd): This.
4156         * elf/Makefile ($(objpfx)order.out): Run test with
4157         $(test-program-prefix).
4158         ($(objpfx)order2.out): Likewise.
4159         ($(objpfx)tst-initorder.out): Likewise.
4160         ($(objpfx)tst-initorder2.out): Likewise.
4161         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4162         $(test-program-cmd).
4163         ($(objpfx)tst-array1-static.out): Likewise.
4164         ($(objpfx)tst-array2.out): Likewise.
4165         ($(objpfx)tst-array3.out): Likewise.
4166         ($(objpfx)tst-array4.out): Likewise.
4167         ($(objpfx)tst-array5.out): Likewise.
4168         ($(objpfx)tst-array5-static.out): Likewise.
4169         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4170         $(test-program-cmd).
4171         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4172         $(run-program-prefix) with $(test-program-prefix).
4173         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4174         (test_program_prefix): This.
4175         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4176         $(run-program-prefix) with $(test-program-prefix).
4177         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4178         (test_program_prefix): This.
4179         * iconvdata/tst-tables.sh: Likewise.
4180         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4181         $(run-program-prefix) with $(test-program-prefix).
4182         ($(objpfx)tst-translit.out): Likewise.
4183         ($(objpfx)tst-gettext2.out): Likewise.
4184         ($(objpfx)tst-gettext4.out): Likewise.
4185         ($(objpfx)tst-gettext6.out): Likewise.
4186         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4187         (test_program_prefix): This.
4188         * intl/tst-gettext2.sh: Likewise.
4189         * intl/tst-gettext4.sh  Likewise.
4190         * intl/tst-gettext6.sh: Likewise.
4191         * intl/tst-translit.sh: Likewise.
4192         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4193         with $(test-program-cmd).
4194         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4195         $(run-program-prefix) with $(test-program-prefix).
4196         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4197         (test_program_prefix): This.
4198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4199         $(run-program-prefix) with $(test-program-prefix).
4200         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4201         (test_program_prefix): This.
4202         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4203         * posix/Makefile ($(objpfx)globtest.out): Replace
4204         $(run-via-rtld-prefix) and $(test-wrapper) with
4205         $(test-program-prefix) and $(test-via-rtld-prefix).
4206         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4207         $(test-program-prefix).
4208         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4209         $(host-test-program-cmd).
4210         (tst-spawn-ARGS): Likewise.
4211         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4212         $(test-program-prefix).
4213         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4214         (test_via_rtld_prefix): This.
4215         (test_wrapper): Renamed to ...
4216         (test_program_prefix): This.
4217         (run_program_prefix): Replaced by test_program_prefix.
4218         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4219         (test_program_prefix): This.
4220         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4221         with $(host-test-program-cmd).
4222         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4223         $(run-program-prefix) with $(test-program-prefix).
4224         ($(objpfx)tst-printf.out): Likewise.
4225         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4226         $(test-program-cmd).
4227         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4228         (test_program_prefix): This.
4229         * stdio-common/tst-unbputc.sh: Likewise.
4230         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4231         $(run-program-prefix) with $(test-program-prefix).
4232         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4233         (test_program_prefix): This.
4234         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4235         $(built-program-cmd) with $(test-program-cmd).
4237 2013-01-11  Andreas Jaeger  <aj@suse.de>
4239         [BZ #15003]
4240         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4241         value. Sync with Linux 3.7.
4243 2013-01-10  David S. Miller  <davem@davemloft.net>
4245         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4249 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4251         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4252         never set.
4253         * configure: Regenerated.
4255 2013-01-10  David S. Miller  <davem@davemloft.net>
4257         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4258         sparc V9 rather than using V8 code.
4259         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4260         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4262 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4264         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4265         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4266         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4267         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4268         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4269         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4270         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4271         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4272         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4273         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4274         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4275         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4276         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4277         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4278         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4279         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4280         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4281         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4282         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4283         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4284         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4285         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4286         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4287         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4288         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4289         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4290         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4292 2013-01-10  David S. Miller  <davem@davemloft.net>
4294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4296 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4298         * posix/Makefile (tests-static): New variable.
4299         (tests): Add $(tests-static).
4300         (tst-exec-static-ARGS): New variable.
4301         (tst-spawn-static-ARGS): Likewise.
4302         * posix/tst-exec-static.c: New file.
4303         * posix/tst-spawn-static.c: Likewise.
4304         * posix/tst-exec.c: Support run directly.
4305         * posix/tst-spawn.c: Likewise.
4307 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4309         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4310         long.
4311         * math/bits/mathcalls.h (llrint): Likewise.
4312         (llround): Likewise.
4313         * stdlib/stdlib.h (struct drand48_data): Likewise.
4314         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4315         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4316         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4317         Likewise.
4318         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4319         Likewise.
4320         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4321         (elf_greg_t): Likewise.
4322         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4323         (__jmp_buf): Likewise.
4324         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4325         definitions.
4326         (llrint): Likewise, for all definitions.
4327         (llrintl): Likewise.
4329         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4330         Remove [__GNUC__] condition.
4331         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4332         condition to just [__USE_ISOC99].
4333         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4335 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4337         [BZ #14200]
4338         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4339         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4340         defined.
4341         (_POSIX_V6_ILP32_OFF32): Likewise.
4342         (_XBS5_ILP32_OFF32): Likewise.
4343         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4344         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4346 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4348         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4351         doubles __mpexp_twomm1.  Adjust usage.
4352         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4353         Remove.
4355 2013-01-10  Andreas Schwab  <schwab@suse.de>
4357         [BZ #14964]
4358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4359         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4361 2013-01-09  David S. Miller  <davem@davemloft.net>
4363         [BZ #15003]
4364         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4365         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4366         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4367         TCP_FASTOPEN): Define.
4368         (tcp_repair_opt): New structure.
4369         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4370         enum values.
4371         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4372         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4373         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4374         (tcp_cookie_transactions): New structure.
4376 2013-01-09  Anton Blanchard  <anton@samba.org>
4378         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4379         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4381         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4383 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4385         * include/features.h (__USE_ANSI): Remove.
4387 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4389         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4391         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4393 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4395         * sysdeps/s390/fpu/libm-test-ulps: Update.
4397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4399         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4400         (__acr): Likewise.
4401         (__cpy): Likewise.
4402         (norm): Likewise.
4403         (denorm): Likewise.
4404         (__mp_dbl): Likewise.
4405         (__dbl_mp): Likewise.
4406         (add_magnitudes): Likewise.
4407         (sub_magnitudes): Likewise.
4408         (__add): Likewise.
4409         (__sub): Likewise.
4410         (__mul): Likewise.
4411         (__inv): Likewise.
4412         (__dvd): Likewise.
4413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4414         (__acr): Likewise.
4415         (__cpy): Likewise.
4416         (norm): Likewise.
4417         (denorm): Likewise.
4418         (__mp_dbl): Likewise.
4419         (__dbl_mp): Likewise.
4420         (add_magnitudes): Likewise.
4421         (sub_magnitudes): Likewise.
4422         (__add): Likewise.
4423         (__sub): Likewise.
4424         (__mul): Likewise.
4425         (__inv): Likewise.
4426         (__dvd): Likewise.
4427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4428         (__acr): Likewise.
4429         (__cpy): Likewise.
4430         (norm): Likewise.
4431         (denorm): Likewise.
4432         (__mp_dbl): Likewise.
4433         (__dbl_mp): Likewise.
4434         (add_magnitudes): Likewise.
4435         (sub_magnitudes): Likewise.
4436         (__add): Likewise.
4437         (__sub): Likewise.
4438         (__mul): Likewise.
4439         (__inv): Likewise.
4440         (__dvd): Likewise.
4442 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4444         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4445         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4446         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4447         2 && __USE_EXTERN_INLINES]: Likewise.
4449 2013-01-08  Andreas Jaeger  <aj@suse.de>
4451         [BZ# 14985]
4452         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4453         Remove.
4454         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4455         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4457 2013-01-07  Anton Blanchard  <anton@samba.org>
4459         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4460         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4461         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4462         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4463         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4464         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4465         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4466         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4468         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4469         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4470         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4473         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4477         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4478         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4479         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4480         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4481         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4482         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4483         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4484         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4485         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4486         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4488         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4489         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4491         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4492         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4494         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4497         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4499         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4500         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4503 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4505         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4506         (__MALLOC_PMT): Likewise.
4507         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4508         [__GNUC__], only on [_LIBC].
4509         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4510         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4511         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4512         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4513         forward declaration.
4514         (realloc_hook_ini): Likewise.
4515         (memalign_hook_ini): Likewise.
4516         (__libc_memalign): Do not use __MALLOC_PMT in variable
4517         declaration.
4518         (__libc_valloc): Likewise.
4519         (__libc_pvalloc): Likewise.
4520         (__libc_calloc): Likewise.
4521         (__posix_memalign): Likewise.
4523         [BZ #14996]
4524         * math/s_casinh.c: Include <float.h>.
4525         (__casinh): Do not do computation with squaring and square root
4526         for large arguments.
4527         * math/s_casinhf.c: Include <float.h>.
4528         (__casinhf): Do not do computation with squaring and square root
4529         for large arguments.
4530         * math/s_casinhl.c: Include <float.h>.
4531         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4532         (__casinhl): Do not do computation with squaring and square root
4533         for large arguments.
4534         * math/libm-test.inc (casin_test): Add more tests.
4535         (casinh_test): Likewise.
4536         * sysdeps/i386/fpu/libm-test-ulps: Update.
4537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4539 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4541         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4542         (__x86_64_raw_data_cache_size): Likewise.
4543         (__x86_64_data_cache_size_half): Likewise.
4544         (__x86_64_raw_data_cache_size_half): Likewise.
4545         (__x86_64_shared_cache_size): Likewise.
4546         (__x86_64_raw_shared_cache_size): Likewise.
4547         (__x86_64_shared_cache_size_half): Likewise.
4548         (__x86_64_raw_shared_cache_size_half): Likewise.
4549         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4550         to ...
4551         (__x86_data_cache_size): This.
4552         (__x86_64_raw_data_cache_size): Renamed to ...
4553         (__x86_raw_data_cache_size): This.
4554         (__x86_64_data_cache_size_half): Renamed to ...
4555         (__x86_data_cache_size_half): This.
4556         (__x86_64_raw_data_cache_size_half): Renamed to ...
4557         (__x86_raw_data_cache_size_half): This.
4558         (__x86_64_shared_cache_size): Renamed to ...
4559         (__x86_shared_cache_size): This.
4560         (__x86_64_raw_shared_cache_size): Renamed to ...
4561         (__x86_raw_shared_cache_size): This.
4562         (__x86_64_shared_cache_size_half): Renamed to ...
4563         (__x86_shared_cache_size_half): This.
4564         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4565         (__x86_raw_shared_cache_size_half): This.
4566         * sysdeps/x86_64/memcpy.S: Updated.
4567         * sysdeps/x86_64/memset.S: Likewise.
4568         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4572 2013-01-04  David S. Miller  <davem@davemloft.net>
4574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4576 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4578         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4579         1 to avoid redefinition warning.
4580         (__USE_GNU): Don't define.
4581         (init_signaling_nan): Protoize.
4583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4585 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4587         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4589         (__cpymn): Likewise.
4590         (norm): Remove commented code.
4591         (denorm): Likewise.
4592         (__mp_dbl): Likewise.
4593         (__inv): Likewise.
4594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4595         (__cpymn): Likewise.
4596         (norm): Remove commented code.
4597         (denorm): Likewise.
4598         (__mp_dbl): Likewise.
4599         (__inv): Likewise.
4601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4602         mp_no value for 1.0 and 2.0.
4603         (norm): Use RADIXI instead of radixi.d.
4604         (denorm): Likewise.
4605         (__mul): Use 0.0 instead of zero.d.
4606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4607         mp_no value for 1.0 and 2.0.
4608         (norm): Use RADIXI instead of radixi.d.
4609         (denorm): Likewise.
4610         (__mul): Use 0.0 instead of zero.d.
4612 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4614         [BZ #14994]
4615         * math/s_casinh.c (__casinh): Reduce finite argument to first
4616         quadrant then set signs of results at the end.
4617         * math/s_casinhf.c (__casinhf): Likewise.
4618         * math/s_casinhl.c (__casinhl): Likewise.
4619         * math/libm-test.inc (casin_test): Add more tests.
4620         (casinh_test): Likewise.
4621         * sysdeps/i386/fpu/libm-test-ulps: Update.
4622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4624 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4626         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4628         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4630         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4631         declarations.
4632         (denorm): Likewise.
4633         (__mp_dbl): Likewise.
4634         (__inv): Likewise.
4636         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4637         and adjust the header comment.
4639         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4640         variable name from declaration.
4642 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4645         Initialize COMMON_CPUID_INDEX_7 element.
4646         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4647         (CPUID_RTM): Likewise.
4648         (HAS_RTM): Likewise.
4649         (COMMON_CPUID_INDEX_7): New enum.
4651 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4653         [BZ #14981]
4654         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4655         size is zero, record memory as freed.
4657 2013-01-03  Andreas Jaeger  <aj@suse.de>
4659         * po/ia.po: Add new Interlingua translation.
4661 2012-01-03  Allan McRae  <allan@archlinux.org>
4663         * locale/programs/localedef.c: Fix description of '--posix' flag.
4665 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4667         * NEWS: Update dates in second copyright notice.
4668         * README: Update copyright dates in example.
4669         * manual/libc.texinfo: Update copyright dates.
4670         * scripts/test-installation.pl: Update copyright date in --version
4671         output.
4673         * hurd/ctty-input.c: Fix copyright notice formatting.
4674         * hurd/ctty-output.c: Likewise.
4675         * hurd/dtable.c: Likewise.
4676         * hurd/hurd-raise.c: Likewise.
4677         * hurd/hurdprio.c: Likewise.
4678         * hurd/msgportdemux.c: Likewise.
4679         * misc/sys/file.h: Likewise.
4680         * misc/sys/ioctl.h: Likewise.
4681         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4682         * sysdeps/mach/hurd/chdir.c: Likewise.
4683         * sysdeps/mach/hurd/fchdir.c: Likewise.
4684         * sysdeps/mach/hurd/rename.c: Likewise.
4685         * sysdeps/mach/hurd/rmdir.c: Likewise.
4686         * sysdeps/mach/hurd/seekdir.c: Likewise.
4687         * sysdeps/mach/hurd/setsid.c: Likewise.
4688         * sysdeps/posix/wait3.c: Likewise.
4690         * All files with FSF copyright notices: Update copyright dates
4691         using scripts/update-copyrights.
4692         * intl/plural.c: Regenerated.
4693         * locale/programs/charmap-kw.h: Likewise.
4694         * locale/programs/locfile-kw.h: Likewise.
4696 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4698         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4699         four values.
4701         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4702         calculation loop and add branch prediction.
4704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4705         check access beyond bounds of m1np.
4707         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4708         MPTWO.
4709         (__inv): Remove local variable MPTWO to use the global
4710         constant.
4711         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4713         variable MPTWO.
4714         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4715         MP3HALFS static const.
4717 2013-01-01  David S. Miller  <davem@davemloft.net>
4719         * po/ca.po: Update from translation team.
4721 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4723         * scripts/update-copyrights: New file.
4724         * Makeconfig: Reformat copyright notice.
4725         * ctype/ctype.h: Likewise.
4726         * debug/swprintf_chk.c: Likewise.
4727         * elf/dl-cache.c: Likewise.
4728         * elf/dl-debug.c: Likewise.
4729         * elf/dl-object.c: Likewise.
4730         * grp/initgroups.c: Likewise.
4731         * hurd/Makefile: Likewise.
4732         * hurd/hurd/signal.h: Likewise.
4733         * hurd/hurdfault.c: Likewise.
4734         * hurd/hurdioctl.c: Likewise.
4735         * hurd/hurdlookup.c: Likewise.
4736         * hurd/intr-msg.c: Likewise.
4737         * iconv/gconv_open.c: Likewise.
4738         * libio/swprintf.c: Likewise.
4739         * locale/lc-ctype.c: Likewise.
4740         * locale/nl_langinfo.c: Likewise.
4741         * mach/Machrules: Likewise.
4742         * mach/Makefile: Likewise.
4743         * malloc/obstack.h: Likewise.
4744         * manual/Makefile: Likewise.
4745         * manual/tsort.awk: Likewise.
4746         * misc/bits/stab.def: Likewise.
4747         * nis/nis_print_group_entry.c: Likewise.
4748         * nis/nis_table.c: Likewise.
4749         * nis/nss_compat/compat-pwd.c: Likewise.
4750         * nis/nss_compat/compat-spwd.c: Likewise.
4751         * po/Makefile: Likewise.
4752         * posix/fnmatch.c: Likewise.
4753         * posix/regex.h: Likewise.
4754         * resolv/Makefile: Likewise.
4755         * resolv/nss_dns/dns-network.c: Likewise.
4756         * resolv/res_hconf.c: Likewise.
4757         * scripts/gen-sorted.awk: Likewise.
4758         * soft-fp/soft-fp.h: Likewise.
4759         * stdio-common/printf.h: Likewise.
4760         * stdlib/monetary.h: Likewise.
4761         * stdlib/random.c: Likewise.
4762         * stdlib/random_r.c: Likewise.
4763         * sysdeps/generic/Makefile: Likewise.
4764         * sysdeps/gnu/Makefile: Likewise.
4765         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4767         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4769         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4771         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4772         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4776         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4777         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4778         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4779         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4780         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4781         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4782         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4783         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4784         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4785         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4786         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4787         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4789         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4790         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4791         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4792         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4793         * sysdeps/mach/hurd/errnos.awk: Likewise.
4794         * sysdeps/mach/hurd/fork.c: Likewise.
4795         * sysdeps/mach/hurd/getcwd.c: Likewise.
4796         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4797         * sysdeps/mach/hurd/mmap.c: Likewise.
4798         * sysdeps/mach/hurd/utimes.c: Likewise.
4799         * sysdeps/mach/hurd/xmknod.c: Likewise.
4800         * sysdeps/posix/profil.c: Likewise.
4801         * sysdeps/posix/readdir_r.c: Likewise.
4802         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4803         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4804         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4805         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4807         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4808         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4809         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4811         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4812         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4813         * sysdeps/pthread/lio_listio.c: Likewise.
4814         * sysdeps/sparc/dl-procinfo.h: Likewise.
4815         * sysdeps/unix/i386/sysdep.S: Likewise.
4816         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4817         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4818         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4819         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4821         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4822         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4823         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4824         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4825         * sysdeps/wordsize-32/divdi3.c: Likewise.
4826         * time/sys/time.h: Likewise.
4827         * wcsmbs/Makefile: Likewise.
4829 2013-01-01  David S. Miller  <davem@davemloft.net>
4831         * po/fr.po: Update from translation team.
4833         * catgets/gencat.c: Update copyright year.
4834         * csu/version.c: Likewise.
4835         * debug/catchsegv.sh: Likewise.
4836         * debug/pcprofiledump.c: Likewise.
4837         * debug/xtrace.sh: Likewise.
4838         * elf/ldconfig.c: Likewise.
4839         * elf/ldd.bash.in: Likewise.
4840         * elf/pldd.c: Likewise.
4841         * elf/sotruss.ksh: Likewise.
4842         * elf/sprof.c: Likewise.
4843         * iconv/iconv_prog.c: Likewise.
4844         * iconv/iconvconfig.c: Likewise.
4845         * locale/programs/locale.c: Likewise.
4846         * locale/programs/localedef.c: Likewise.
4847         * login/programs/pt_chown.c: Likewise.
4848         * malloc/memusage.sh: Likewise.
4849         * malloc/memusagestat.c: Likewise.
4850         * malloc/mtrace.pl: Likewise.
4851         * nscd/nscd.c: Likewise.
4852         * nss/getent.c: Likewise.
4853         * nss/makedb.c: Likewise.
4854         * posix/getconf.c: Likewise.
4856 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4858         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4859         numbers.
4861 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4863         * math/bits/mathcalls.h (modf): Use __nonnull.
4865 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4867         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4868         (split): Use macro CN instead of the bare value.
4869         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4870         could be used.
4871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4872         instead of the bare value.
4873         (power1): Likewise.
4875 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4878         __ATAN_TWOM.
4879         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4881         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4882         their values.
4883         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4884         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4885         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4886         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4888 2012-12-28  Andreas Jaeger  <aj@suse.de>
4890         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4891         values are from Linux 3.7.
4893         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4894         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4896 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4898         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4899         TRUE case.
4901         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4902         (norm): Likewise.
4903         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4904         variables with preprocessor constants.
4905         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4906         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4907         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4909 2012-12-27  Bruno Haible  <bruno@clisp.org>
4911         [BZ #14317]
4912         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4913         only if needed.
4915 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4918         and use variable directly.
4919         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4921         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4922         MPONE.
4923         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4924         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4925         variable MPONE.
4926         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4928         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4929         include directive.  Remove local variable MPONE.
4930         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4931         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4932         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4934 2012-12-25  David S. Miller  <davem@davemloft.net>
4936         * version.h (RELEASE): Set to "development".
4937         (VERSION): Set to "2.17.90".
4938         * NEWS: Add 2.18 section.
4940 2012-12-21  David S. Miller  <davem@davemloft.net>
4942         * po/hr.po: Update from translation team.
4944 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4946         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4948 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4950         * NEWS:  Mention new memcpy for MIPS.
4952 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4954         * manual/contrib.texi (Contributors): Spelling correction.
4956 2012-12-15  David S. Miller  <davem@davemloft.net>
4958         * po/ru.po: Update from translation team.
4960 2012-12-13  David S. Miller  <davem@davemloft.net>
4962         * NEWS: Mention IFUNC testsuite enhancements.
4964         * po/pl.po: Update from translation team.
4965         * po/bg.po: Likewise.
4967         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4968         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4970 2012-12-11  David S. Miller  <davem@davemloft.net>
4972         * po/sv.po: Update from translation team.
4974         * po/vi.po: Update from translation team.
4976         * po/cs.po: Update from translation team.
4978         * po/de.po: Update from translation team.
4979         * po/eo.po: Likewise.
4980         * po/nl.po: Likewise.
4982 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4984         [BZ #14246]
4985         * manual/argp.texi (Argp Helper Functions): Move node to follow
4986         Argp Parsing State.
4988         [BZ #14872]
4989         * manual/conf.texi (Limits on File System Capacity): Mention if
4990         terminating null is included in the max size.
4992 2012-12-10  Andreas Jaeger  <aj@suse.de>
4994         * po/cs.po: Update from translation team.
4996 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4998         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4999         void pointer and cast to uintptr_t.
5000         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5001         path.
5002         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5003         * sysdeps/s390/s390-64/memset.S: Likewise.
5005 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5007         [BZ #14833]
5008         * menual/message.texi (Message Translation): Fix typos.
5009         (Helper programs for gettext): Likewise.
5011 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5013         [BZ #14898]
5014         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5015         Change to -1.
5017 2012-12-07  David S. Miller  <davem@davemloft.net>
5019         * po/libc.pot: Update.
5021 2012-12-07  Richard Henderson  <rth@redhat.com>
5023         [BZ #10114]
5024         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5025         normal/normal case to before the switch.
5026         (_FP_DIV): Likewise.
5028 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5029             Mike Frysinger  <vapier@gentoo.org>
5031         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5032         check for __NR_fadvise64_64.
5034 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5036         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5037         0, not just to plain "0" as a statement.
5038         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5039         with cw.
5041 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5043         * NEWS: Use sourceware.org in Bugzilla URL.
5045 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5048         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5050         * stdio-common/tst-put-error.c (do_test): Add newline to the
5051         padded test to ensure flush.
5053 2012-12-05  Jeff Law  <law@redhat.com>
5055         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5057 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5059         * README: Don't refer to ports add-on as distributed separately.
5060         Mention AArch64 in list of systems supported in the ports add-on.
5062         * LICENSES: Add more non-FSF copyright and license notices.
5064         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5065         ((unused)).
5067         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5069         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5070         10000 as width of padded output.
5072 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5074         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5076         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5077         variable LX with __attribute__ ((unused)).
5078         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5079         Likewise.
5080         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5083         with __attribute__ ((unused)).
5085 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5087         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5089 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5091         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5092         (CFLAGS-nldbl-acos.c): New variable.
5093         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5094         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5095         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5096         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5097         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5098         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5099         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5100         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5101         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5102         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5103         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5104         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5105         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5106         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5107         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5108         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5109         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5110         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5111         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5112         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5113         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5114         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5115         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5116         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5117         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5118         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5119         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5120         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5121         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5122         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5123         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5124         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5125         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5126         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5127         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5128         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5129         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5130         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5131         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5132         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5133         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5134         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5135         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5136         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5137         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5138         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5139         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5140         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5141         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5142         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5143         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5144         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5145         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5146         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5147         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5148         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5149         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5150         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5151         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5152         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5153         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5154         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5155         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5156         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5157         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5158         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5159         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5160         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5161         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5162         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5163         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5164         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5165         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5166         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5167         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5168         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5169         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5170         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5171         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5172         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5173         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5174         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5175         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5176         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5177         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5178         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5179         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5180         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5181         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5182         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5183         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5184         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5185         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5186         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5187         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5188         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5189         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5192         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5194         [BZ #14914]
5195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5196         whole low double instead of just low 47 bits when splitting values
5197         into two parts.
5199 2012-12-03  Allan McRae  <allan@archlinux.org>
5201         * manual/stdio.texi (Predefined Printf Handlers): Remove
5202         @hsep and @vsep usage.
5204 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5206         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5207         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5209 2012-12-03  Jeff Law  <law@redhat.com>
5211         * time/sys/time.h (settimeofday): Do not mark TV argument
5212         as __nonnull.
5214 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5216         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5217         when currently writing and seek to current position when not.
5218         * libio/Makefile (tests): Remove bug-fclose1.
5219         * libio/bug-fclose1.c: Delete.
5221 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5223         * manual/arith.texi (feenableexcept): Fix typo.
5224         (fedisableexcept): Likewise.
5226 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5228         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5229         second, differently-typed declaration, rather than a cast.
5231 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5233         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5234         * include/rpc/svc.h: ... here.
5236 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5238         [BZ #13013]
5239         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5240         depending n and resplen2 to catch cases where answer
5241         equals answerp2.
5243 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5245         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5246         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5248 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5250         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5252 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5254         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5256 2012-11-28  Jeff Law  <law@redhat.com>
5258         [BZ #13761]
5259         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5260         dataset_temporary.  Track alloca usage into alloca_used.
5261         If dataset is large allocate and release it via malloc/free.
5263 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5265         [BZ #14197]
5266         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5268 2012-11-28  David S. Miller  <davem@davemloft.net>
5270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5272 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5274         [BZ #14803]
5275         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5276         of pi/2 rounded to nearest to 64 bits.
5277         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5278         nearest to 64 bits.
5279         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5280         bits.
5282 2012-11-28  Jeff Law <law@redhat.com>
5283             Martin Osvald <mosvald@redhat.com>
5285         [BZ #14889]
5286         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5287         * sunrpc/svc.c: Include time.h.
5288         (__svc_accept_failed): New function.
5289         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5290         any reason other than EINTR, call __svc_accept_failed.
5291         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5292         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5294 2012-11-28  Andreas Schwab  <schwab@suse.de>
5296         * scripts/abilist.awk: Also handle indirect functions in .opd
5297         section.
5299 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5301         [BZ #13881]
5302         * sysdeps/x86/fpu/powl_helper.c: New file.
5303         * sysdeps/x86/fpu/Makefile: Likewise.
5304         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5305         (p3): New object.
5306         (__ieee754_powl): Use __powl_helper for finite arguments except
5307         integer exponents below 8.
5308         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5309         (p3): New object.
5310         (__ieee754_powl): Use __powl_helper for finite arguments except
5311         integer exponents below 8.
5312         * math/libm-test.inc (pow_test): Add more tests and enable some
5313         previously disabled tests.
5314         * sysdeps/i386/fpu/libm-test-ulps: Update.
5315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5317 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5318             Carlos O'Donell  <carlos_odonell@mentor.com>
5320         * nss/makedb.c (is_prime): Assert that input is odd and greater
5321         than 4.  Note that fact in a comment too.
5322         (next_prime): Add 4 to input.
5324 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5326         [BZ #11741]
5327         * libio/Makefile (tests): Add test case tst-fwrite-error.
5328         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5329         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5330         * libio/tst-fwrite-error.c: New test case.
5332 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5334         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5335         before casting to void *.
5336         * include/libc-internal.h (__pointer_type): New macro.
5337         (__integer_if_pointer_type_sub): Likewise.
5338         (__integer_if_pointer_type): Likewise.
5339         (cast_to_integer): Likewise.
5340         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5341         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5342         before casting to atomic64_t.
5343         (atomic_exchange_acq): Likewise.
5344         (__arch_exchange_and_add_body): Likewise.
5345         (__arch_add_body): Likewise.
5346         (atomic_add_negative): Likewise.
5347         (atomic_add_zero): Likewise.
5349 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5351         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5352         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5353         (add_fdes): Likewise.
5354         (linear_search_fdes): Likewise.
5355         (binary_search_unencoded_fdes): Likewise.
5357 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5359         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5361 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5363         * configure.in: Autodetect C++ header directories.
5364         * configure: Regenerated.
5366 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5368         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5370 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5374 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5376         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5377         LDBL_MANT_DIG == 106]: Disable some tests.
5378         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5379         Likewise.
5380         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5381         Likewise.
5383         [BZ #14871]
5384         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5385         input for small inputs.  Return +/- pi/2 for large inputs.
5386         * math/libm-test.inc (atan_test): Add more tests.
5388         * sysdeps/generic/unwind-dw2-fde-glibc.c
5389         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5390         __attribute__ ((unused)).
5392         [BZ #14645]
5393         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5394         x * y if x and y are nonzero and z is zero.
5396         [BZ #14811]
5397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5398         nonzero exponents with absolute value below 0x1p-117 to +/-
5399         0x1p-117.
5401         [BZ #14869]
5402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5403         up arguments below 2**-450, not just those below 2**-500.
5404         * math/libm-test.inc (hypot_test): Add another test.
5406         [BZ #14868]
5407         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5408         Return a+b for ratio over 2**120, not 2**60.
5409         * math/libm-test.inc (hypot_test): Add another test.
5411         * math/libm-test.inc (clog_test): Use
5412         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5413         (clog10_test): Likewise.
5415         [BZ #6778]
5416         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5418 2012-11-22  Andreas Schwab  <schwab@suse.de>
5420         * sysdeps/i386/fpu/libm-test-ulps: Update.
5422 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5424         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5425         printf output with newline.
5427 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5429         [BZ #14865]
5430         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5431         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5432         -z nodlopen, -z initfirst and -z execstack support.
5433         * configure: Regenerated.
5435         * elf/elf.h (DF_1_NODIRECT): New macro.
5436         (DF_1_IGNMULDEF): Likewise.
5437         (DF_1_NOKSYMS): Likewise.
5438         (DF_1_NOHDR): Likewise.
5439         (DF_1_EDITED): Likewise.
5440         (DF_1_NORELOC): Likewise.
5441         (DF_1_SYMINTPOSE): Likewise.
5442         (DF_1_GLOBAUDIT): Likewise.
5443         (DF_1_SINGLETON): Likewise.
5444         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5445         DT_1_SUPPORTED_MASK bits.
5446         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5448 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5450         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5452 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5454         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5455         macro.
5457         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5458         (sendmmsg): Move declarations...
5459         * socket/sys/socket.h: ... here.
5460         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5461         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5462         include it from...
5463         * socket/recvmmsg.c: ... this new file.
5464         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5465         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5466         definition of __sendmmsg hidden.
5467         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5468         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5469         Move ENOSYS stub into and include it from...
5470         * socket/sendmmsg.c: ... this new file.
5471         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5472         (sysdep_routines): Move recvmmsg and sendmmsg...
5473         * socket/Makefile (routines): ... here.
5474         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5475         (GLIBC_PRIVATE): Add __sendmmsg.
5476         * include/sys/socket.h (__sendmmsg): Add declarations.
5477         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5478         sendmmsg.
5480 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5483         variable I1 with __attribute__ ((unused)).
5484         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5486 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5488         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5489         DUMMY variables with __attribute__ ((unused)).
5491         * bits/byteswap.h: Include <bits/types.h>.
5492         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5494 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5496         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5497         string_t.  Do not manually set errno.
5498         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5499         length with __strnlen.  Make sure to both set errno and return it on
5500         failure.
5502 2012-11-19  David S. Miller  <davem@davemloft.net>
5504         With help from Joseph Myers.
5505         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5506         very large arguments properly.
5507         * math/libm-test.inc (atan_test): New tests.
5508         (atan2_test): New tests.
5509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5512 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5514         [BZ #14856]
5515         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5516         Define to 3.
5518         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5519         [POSIX] (EADDRNOTAVAIL): Likewise.
5520         [POSIX] (EAFNOSUPPORT): Likewise.
5521         [POSIX] (EALREADY): Likewise.
5522         [POSIX] (ECONNABORTED): Likewise.
5523         [POSIX] (ECONNREFUSED): Likewise.
5524         [POSIX] (ECONNRESET): Likewise.
5525         [POSIX] (EDESTADDRREQ): Likewise.
5526         [POSIX] (EDQUOT): Likewise.
5527         [POSIX] (EHOSTUNREACH): Likewise.
5528         [POSIX] (EIDRM): Likewise.
5529         [POSIX] (EISCONN): Likewise.
5530         [POSIX] (ELOOP): Likewise.
5531         [POSIX] (EMULTIHOP): Likewise.
5532         [POSIX] (ENETDOWN): Likewise.
5533         [POSIX] (ENETUNREACH): Likewise.
5534         [POSIX] (ENOBUFS): Likewise.
5535         [POSIX] (ENODATA): Likewise.
5536         [POSIX] (ENOLINK): Likewise.
5537         [POSIX] (ENOMSG): Likewise.
5538         [POSIX] (ENOPROTOOPT): Likewise.
5539         [POSIX] (ENOSR): Likewise.
5540         [POSIX] (ENOSTR): Likewise.
5541         [POSIX] (ENOTCONN): Likewise.
5542         [POSIX] (ENOTSOCK): Likewise.
5543         [POSIX] (EOPNOTSUPP): Likewise.
5544         [POSIX] (EOVERFLOW): Likewise.
5545         [POSIX] (EPROTO): Likewise.
5546         [POSIX] (EPROTONOSUPPORT): Likewise.
5547         [POSIX] (EPROTOTYPE): Likewise.
5548         [POSIX] (ESTALE): Likewise.
5549         [POSIX] (ETIME): Likewise.
5550         [POSIX] (ETXTBSY): Likewise.
5551         [POSIX] (EWOULDBLOCK): Likewise.
5552         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5553         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5554         [POSIX] (SEEK_CUR): Likewise.
5555         [POSIX] (SEEK_END): Likewise.
5556         [POSIX || UNIX98] (mode_t): Do not require.
5557         [POSIX] (off_t): Likewise.
5558         [POSIX] (pid_t): Likewise.
5559         [POSIX] (sys/stat.h): Do not allow header.
5560         [POSIX] (unistd.h): Likewise.
5561         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5562         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5563         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5564         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5565         require.
5566         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5567         sigevent): Specify elements.
5568         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5569         entry.
5570         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5571         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5573         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5574         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5575         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5576         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5577         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5578         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5579         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5580         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5581         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5582         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5583         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5584         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5585         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5587         Likewise.
5588         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5589         Likewise.
5590         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5591         Likewise.
5592         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5593         Likewise.
5594         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5595         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5596         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5597         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5598         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5599         Specify lower bound on value.
5600         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5601         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5602         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5603         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5604         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5605         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5606         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5607         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5608         value.
5609         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5610         as optional.
5611         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5612         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5613         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5614         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5615         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5616         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5617         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5618         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5619         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5620         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5621         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5622         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5623         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5624         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5625         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5626         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5627         entry.
5628         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5629         optional.
5630         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5631         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5632         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5633         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5634         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5635         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5636         Likewise.
5637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5638         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5639         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5640         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5641         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5642         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5643         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5644         as optional.
5645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5647         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5648         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5649         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5650         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5651         specify as optional.
5652         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5653         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5654         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5655         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5656         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5657         [XPG3] (NL_LANGMAX): Likewise.
5658         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5659         [POSIX || XPG3] (NL_NMAX): Likewise.
5660         [POSIX || XPG3] (NL_SETMAX): Likewise.
5661         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5662         [XPG3] (NZERO): Likewise.
5663         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5664         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5665         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5666         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5667         (REG_ERANGE): Expect.
5668         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5669         optional-constant.
5670         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5671         Use (void) in prototype.
5672         [POSIX] (*_t): Allow.
5673         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5674         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5675         (WRDE_BADVAL): Expect.
5677         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5678         expect.
5679         [XPG3 || XPG4] (O_RSYNC): Likewise.
5680         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5681         Likewise.
5682         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5683         [XPG3 || XPG4] (sigqueue): Likewise.
5684         [XPG3 || XPG4] (sigtimedwait): Likewise.
5685         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5686         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5687         [XPG3 || XPG4] (vsnprintf): Likewise.
5688         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5689         Likewise.
5690         [XPG3 || XPG4] (blksize_t): Likewise.
5691         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5692         Likewise.
5693         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5694         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5695         [XPG3 || XPG4] (struct itimerspec): Likewise.
5696         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5697         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5698         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5699         [XPG3 || XPG4] (clockid_t): Likewise.
5700         [XPG3 || XPG4] (timer_t): Likewise.
5701         [XPG3 || XPG4] (clock_getres): Likewise.
5702         [XPG3 || XPG4] (clock_gettime): Likewise.
5703         [XPG3 || XPG4] (clock_settime): Likewise.
5704         [XPG3 || XPG4] (nanosleep): Likewise.
5705         [XPG3 || XPG4] (timer_create): Likewise.
5706         [XPG3 || XPG4] (timer_delete): Likewise.
5707         [XPG3 || XPG4] (timer_gettime): Likewise.
5708         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5709         [XPG3 || XPG4] (timer_settime): Likewise.
5710         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5711         [XPG3 || XPG4] (getlogin_r): Likewise.
5712         [XPG3 || XPG4] (pread): Likewise.
5713         [XPG3 || XPG4] (pthread_atfork): Likewise.
5714         [XPG3 || XPG4] (pwrite): Likewise.
5716         [BZ #14835]
5717         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5718         <bits/siginfo.h>.
5720 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5722         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5723         finalizing MALLSTREAM.
5725         * sysdeps/mach/hurd/syncfs.c: New file.
5727 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5729         [BZ #14719]
5730         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5731         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5732         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5733         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5734         (_nss_dns_gethostbyname4_r): Likewise.
5735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5736         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5738 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5740         [BZ #13763]
5741         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5743 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5745         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5746         * elf/cache.c (print_entry): Print ",AArch64" for
5747         FLAG_AARCH64_LIB64
5749         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5750         * elf/cache.c (print_entry): Print ",hard-float" for
5751         FLAG_ARM_LIBHF.
5753 2012-11-18  David S. Miller  <davem@davemloft.net>
5755         With help from Joseph Myers.
5756         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5757         cutoff to 2**-13.
5758         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5759         cutoff to 2**-25.
5760         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5761         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5762         small.
5763         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5764         * math/libm-test.inc (y0_test): New tests.
5765         (y1_test): New tests.
5766         * sysdeps/i386/fpu/libm-test-ulps: Update.
5767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5770 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5772         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5773         64-bit targets.
5774         * configure: Regenerated.
5776 2012-11-17  David S. Miller  <davem@davemloft.net>
5778         [BZ #14811]
5779         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5780         nonzero exponents with absolute value below 0x1p-128 to +/-
5781         0x1p-128.
5783 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5785         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5787         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5789         * posix/getconf-speclist.c: New file.
5790         * posix/posix-envs.def: Likewise.
5791         * posix/confstr.c (START_ENV_GROUP): New macro.
5792         (END_ENV_GROUP): Likewise.
5793         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5794         (KNOWN_PRESENT_ENV_STRING): Likewise.
5795         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5796         (UNKNOWN_ENVIRONMENT): Likewise.
5797         (confstr): Include posix-envs.def instead of handling
5798         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5799         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5800         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5801         (END_ENV_GROUP): Likewise.
5802         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5803         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5804         (UNKNOWN_ENVIRONMENT): Likewise.
5805         (__sysconf): Include posix-envs.def instead of handling associated
5806         cases directly here.
5807         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5808         preprocessing getconf-speclist.c rather than running getconf or
5809         generating empty file.
5811 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5813         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5815 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5817         [BZ #14672]
5818         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5820 2012-11-16  David S. Miller  <davem@davemloft.net>
5822         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5823         smaller than LDBL_EPSILON/2.0L, just return xm1.
5825 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5827         * elf/tst-array1.c (init): Set constructor priority to 1000.
5828         (fini): Set destructor priority to 1000.
5829         * elf/tst-array2dep.c: Likewise.
5831 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5833         [BZ #11741]
5834         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5835         (_IO_new_file_xsputn): Also return EOF if none of the input
5836         data was written when overflow failed.
5837         * libio/iopadn.c (_IO_padn): Likewise.
5838         * libio/iowpadn.c (_IO_wpadn): Likewise.
5839         * stdio-common/tst-put-error.c: Add copyright notice.
5840         (do_test): Add case for printing padded string.
5841         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5842         _IO_padn returned error.
5843         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5844         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5845         return EOF.
5847 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849         * libio/libioP.h: Add comment note that the references to C++
5850         bits are now obsolete.
5852 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5854         * math/libm-test.inc (check_complex): Use asprintf.
5856 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5858         * debug/pcprofiledump.c (print_version): Update copyright year.
5859         * malloc/memusagestat.c (print_version): Likewise.
5861 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5863         [BZ #14831]
5864         * elf/Makefile (tests): Add tst-audit8.
5865         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5866         ($(objpfx)tst-audit8.out): New target.
5867         (tst-audit8-ENV): New variable.
5868         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5869         audit if l_reloc_result is NULL.
5870         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5871         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5872         * elf/tst-audit8.c: New file.
5874 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5876         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5877         * misc/Makefile (CFLAGS-select.c): Define.
5878         * posix/Makefile (CFLAGS-pause.c): Define.
5880 2012-11-13  David S. Miller  <davem@davemloft.net>
5882         * crypt/Makefile: Move test targets after toplevel Rules
5883         inclusion.  Grab any necessary sysdep routines when linking.
5884         * crypt/md5.c (md5_process_block): Remove define, we will always
5885         name it __md5_process_block.
5886         (md5_finish_ctx): Update md5_process_block call.
5887         (md5_stream): Likewise.
5888         (md5_process_bytes): Likewise.
5889         (md5_process_block): Rename to __md5_process_block and move to ...
5890         * crypt/md5-block.c: ... here.
5891         * crypt/sha256.c (sha256_process_block): Move to ...
5892         * crypt/sha256-block.c: ... here.
5893         * crypt/sha512.c (sha512_process_block): Move to ...
5894         * crypt/sha512-block.c: ... here.
5895         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5896         path.
5897         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5898         * sysdeps/sparc/sparc64/multiarch/Makefile
5899         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5900         crypt subdir.
5901         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5902         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5903         multiarch changes.
5904         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5905         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5906         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5907         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5908         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5909         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5910         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5911         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5912         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5913         file.
5914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5915         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5916         file.
5917         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5919 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5921         * timezone/tzselect.ksh: Update from tzcode git revision
5922         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5923         * timezone/zdump.c: Likewise.
5924         * timezone/zic.c: Likewise.
5925         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5926         in TZVERSION setting, not $(PKGVERSION).
5927         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5928         REPORT_BUGS_TO settings.
5930         [BZ #14838]
5931         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5932         macro.
5934 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5936         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5937         detection to immediately after _FP_ROUND().
5938         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5939         bits are 0.
5941 2012-11-11  David S. Miller  <davem@davemloft.net>
5943         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5944         inttypes.h
5945         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5946         __close rather than their public counterparts.
5948 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5950         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5951         file.
5952         [UNIX98] (sem_timedwait): Do not expect.
5953         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5954         [XPG4 || UNIX98] (sockatmark): Do not expect.
5955         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5956         (clock_getcpuclockid): Do not expect.
5957         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5958         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5959         Do not expect.
5960         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5961         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5962         [UNIX98] (vwscanf): Likewise.
5963         [UNIX98] (vswscanf): Likewise.
5965 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5967         * timezone/version.h: Remove file.
5968         * timezone/README: Do not refer to version.h.
5969         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5970         $(objpfx)version.h.
5971         ($(objpfx)zdump.o): Likewise.
5972         ($(objpfx)version.h): New target.
5974         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5975         2012i.
5976         * timezone/README: Don't mention modification to tzselect.ksh.
5977         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5978         work on unmodified tzselect.ksh.  Substitute version numbers in
5979         tzselect.ksh.
5981         * Makefile (format-me): Remove.
5982         (INSTALL): Adjust indentation.  Use commands directly instead of
5983         using $(format-me).
5985         * aclocal.m4 (ACX_PKGVERSION): New macro.
5986         (ACX_BUGURL): Likewise.
5987         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5988         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5989         (REPORT_BUGS_TO): Likewise.
5990         * configure: Regenerated.
5991         * config.h.in (PKGVERSION): New macro.
5992         (REPORT_BUGS_TO): Likewise.
5993         * config.make.in (PKGVERSION): New variable.
5994         (PKGVERSION_TEXI): Likewise.
5995         (REPORT_BUGS_TO): Likewise.
5996         (REPORT_BUGS_TEXI): Likewise.
5997         * Makefile (format-me): Use -I$(common-objpfx)manual.
5998         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5999         ($(common-objpfx)manual/%): New target.
6000         (manual/%): Remove target.
6001         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6002         (print_version): Use PKGVERSION.
6003         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6004         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6005         and REPORT_BUGS_TO.
6006         ($(objpfx)xtrace): Likewise.
6007         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6008         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6009         (print_version): Use PKGVERSION.
6010         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6011         (do_version): Use PKGVERSION.
6012         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6013         REPORT_BUGS_TO.
6014         (common-ldd-rewrite): Likewise.
6015         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6016         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6017         (print_version): Use PKGVERSION.
6018         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6019         * elf/pldd.c (argp_program_bug_address): Remove variable.
6020         (more_help): New function.
6021         (argp): Use more_help.
6022         (print_version): Use PKGVERSION.
6023         * elf/sln.c (main): Use PKGVERSION.
6024         (usage): Use REPORT_BUGS_TO.
6025         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6026         (top level): Use PKGVERSION.
6027         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6028         (print_version): Use PKGVERSION.
6029         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6030         (print_version): Use PKGVERSION.
6031         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6032         (print_version): Use PKGVERSION.
6033         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6034         (print_version): Use PKGVERSION.
6035         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6036         (print_version): Use PKGVERSION.
6037         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6038         (print_version): Use PKGVERSION.
6039         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6040         and BUGURL.
6041         ($(objpfx)memusage): Likewise.
6042         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6043         (do_version): Use PKGVERSION.
6044         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6045         (print_version): Use PKGVERSION.
6046         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6047         ($PKGVERSION): New variable.
6048         ($REPORT_BUGS_TO): Likewise.
6049         (usage): Use $REPORT_BUGS_TO.
6050         (top level): Use $PKGVERSION.
6051         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6052         ($(objpfx)pkgvers.texi): New rule.
6053         ($(objpfx)stamp-pkgvers): Likewise.
6054         * manual/install.texi: Include pkgvers.texi.
6055         (--with-pkgversion): Document new configure option.
6056         (--with-bugurl): Likewise.
6057         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6058         than necessarily for this particular distribution.  Use
6059         REPORT_BUGS_TO for where to report bugs.
6060         * INSTALL: Regenerated.
6061         * manual/libc.texinfo: Include pkgvers.texi.
6062         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6063         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6064         (print_version): Use PKGVERSION.
6065         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6066         (print_version): Use PKGVERSION.
6067         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6068         (print_version): Use PKGVERSION.
6069         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6070         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6071         macro.
6072         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6073         (print_version): Use PKGVERSION.
6074         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6075         (print_version): Use PKGVERSION.
6076         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6077         and PKGVERSION.
6079         * timezone/checktab.awk: Update from tzcode 2012i.
6080         * timezone/ialloc.c: Likewise.
6081         * timezone/private.h: Likewise.
6082         * timezone/scheck.c: Likewise.
6083         * timezone/tzfile.h: Likewise.
6084         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6085         (TZVERSION): Hardcode tzcode version number.
6086         * timezone/zdump.c: Update from tzcode 2012i.
6087         * timezone/zic.c: Likewise.
6088         * timezone/version.h: New file.
6089         * timezone/README: Describe version.h.  Update upstream location.
6091         [BZ #14824]
6092         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6093         (mktemp): Enable declaration.
6094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6098         Likewise.
6099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6100         Likewise.
6101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6102         Likewise.
6103         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6104         Likewise.
6105         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6106         Likewise.
6107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6108         Likewise.
6110         [BZ #14821]
6111         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6112         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6113         for copies of such integer values.
6114         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6115         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6117 2012-11-09  Andreas Jaeger  <aj@suse.de>
6119         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6120         definitions and declarations that are provided by
6121         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6123 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6125         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6126         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6127         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6128         definition.
6130 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6132         * elf/elf.h: Update comment before AArch64 relocations.
6134 2012-11-07  David S. Miller  <davem@davemloft.net>
6136         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6137         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6138         (__start_context): Declare.
6139         (__makecontext_ret): Delete.
6140         (__makecontext): Hook up __start_context instead of
6141         __makecontext_ret.
6142         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6143         (sysdep_routines): Add __start_context when in stdlib.
6145 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6147         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6148         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6149         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6150         hardcoded "nm".
6151         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6152         (READELF): New variable.  Use it instead of hardcoded "readelf".
6154 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6156         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6157         * sysdeps/x86/Makefile: Here.
6158         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6159         * sysdeps/x86/tst-xmmymm.sh: This.
6161 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6163         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6164         expectations.
6165         [UNIX98] (pthread_barrier_t): Do not expect.
6166         [UNIX98] (pthread_barrierattr_t): Likewise.
6167         [UNIX98] (pthread_spinlock_t): Likewise.
6168         [UNIX98] (pthread_barrier_destroy): Likewise.
6169         [UNIX98] (pthread_barrier_init): Likewise.
6170         [UNIX98] (pthread_barrier_wait): Likewise.
6171         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6172         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6173         [UNIX98] (pthread_barrierattr_init): Likewise.
6174         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6175         [UNIX98] (pthread_getcpuclockid): Likewise.
6176         [UNIX98] (pthread_mutex_timedlock): Likewise.
6177         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6178         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6179         [UNIX98] (pthread_sigmask): Likewise.
6180         [UNIX98] (pthread_spin_destroy): Likewise.
6181         [UNIX98] (pthread_spin_init): Likewise.
6182         [UNIX98] (pthread_spin_lock): Likewise.
6183         [UNIX98] (pthread_spin_trylock): Likewise.
6184         [UNIX98] (pthread_spin_unlock): Likewise.
6185         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6186         Do not expect.
6187         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6188         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6189         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6190         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6191         [XPG3 || XPG4] (pthread_key_t): Likewise.
6192         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6193         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6194         [XPG3 || XPG4] (pthread_once_t): Likewise.
6195         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6196         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6197         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6198         [XPG3 || XPG4] (pthread_t): Likewise.
6200         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6201         not expect.
6202         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6204         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6205         Change function return type to int.
6207         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6208         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6209         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6210         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6211         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6212         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6213         [!POSIX] (posix_madvise): Likewise.
6214         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6215         && !UNIX98].
6216         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6217         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6218         (mode_t): Likewise.
6219         (posix_mem_offset): Likewise.
6220         (posix_typed_mem_get_info): Likewise.
6221         (posix_typed_mem_open): Likewise.
6223         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6224         Change condition to [XOPEN2K8].
6226         * conform/conformtest.pl: Preprocess allow-header data with -x c
6227         instead of from stdin.
6228         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6229         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6230         [C99-based standards] (cerfc): Likewise.
6231         [C99-based standards] (cexp2): Likewise.
6232         [C99-based standards] (cexpm1): Likewise.
6233         [C99-based standards] (clog10): Likewise.
6234         [C99-based standards] (clog1p): Likewise.
6235         [C99-based standards] (clog2): Likewise.
6236         [C99-based standards] (clgamma): Likewise.
6237         [C99-based standards] (ctgamma): Likewise.
6238         [C99-based standards] (cerff): Likewise.
6239         [C99-based standards] (cerfcf): Likewise.
6240         [C99-based standards] (cexp2f): Likewise.
6241         [C99-based standards] (cexpm1f): Likewise.
6242         [C99-based standards] (clog10f): Likewise.
6243         [C99-based standards] (clog1pf): Likewise.
6244         [C99-based standards] (clog2f): Likewise.
6245         [C99-based standards] (clgammaf): Likewise.
6246         [C99-based standards] (ctgammaf): Likewise.
6247         [C99-based standards] (cerfl): Likewise.
6248         [C99-based standards] (cerfcl): Likewise.
6249         [C99-based standards] (cexp2l): Likewise.
6250         [C99-based standards] (cexpm1l): Likewise.
6251         [C99-based standards] (clog10l): Likewise.
6252         [C99-based standards] (clog1pl): Likewise.
6253         [C99-based standards] (clog2l): Likewise.
6254         [C99-based standards] (clgammal): Likewise.
6255         [C99-based standards] (ctgammal): Likewise.
6256         * conform/data/inttypes.h-data [C99-based standards]: Include
6257         stdint.h-data.  Remove all expectations for stdint.h contents.
6258         [C99-based standards] (PRI*): Do not allow.
6259         [C99-based standards] (SCN*): Likewise.
6260         [C99-based standards] (*_t): Likewise.
6261         [C99-based-standards] (PRId8): Expect macro.
6262         [C99-based-standards] (PRIi8): Likewise.
6263         [C99-based-standards] (PRIo8): Likewise.
6264         [C99-based-standards] (PRIu8): Likewise.
6265         [C99-based-standards] (PRIx8): Likewise.
6266         [C99-based-standards] (PRIX8): Likewise.
6267         [C99-based-standards] (SCNd8): Likewise.
6268         [C99-based-standards] (SCNi8): Likewise.
6269         [C99-based-standards] (SCNo8): Likewise.
6270         [C99-based-standards] (SCNu8): Likewise.
6271         [C99-based-standards] (SCNx8): Likewise.
6272         [C99-based-standards] (PRIdLEAST8): Likewise.
6273         [C99-based-standards] (PRIiLEAST8): Likewise.
6274         [C99-based-standards] (PRIoLEAST8): Likewise.
6275         [C99-based-standards] (PRIuLEAST8): Likewise.
6276         [C99-based-standards] (PRIxLEAST8): Likewise.
6277         [C99-based-standards] (PRIXLEAST8): Likewise.
6278         [C99-based-standards] (SCNdLEAST8): Likewise.
6279         [C99-based-standards] (SCNiLEAST8): Likewise.
6280         [C99-based-standards] (SCNoLEAST8): Likewise.
6281         [C99-based-standards] (SCNuLEAST8): Likewise.
6282         [C99-based-standards] (SCNxLEAST8): Likewise.
6283         [C99-based-standards] (PRIdFAST8): Likewise.
6284         [C99-based-standards] (PRIiFAST8): Likewise.
6285         [C99-based-standards] (PRIoFAST8): Likewise.
6286         [C99-based-standards] (PRIuFAST8): Likewise.
6287         [C99-based-standards] (PRIxFAST8): Likewise.
6288         [C99-based-standards] (PRIXFAST8): Likewise.
6289         [C99-based-standards] (SCNdFAST8): Likewise.
6290         [C99-based-standards] (SCNiFAST8): Likewise.
6291         [C99-based-standards] (SCNoFAST8): Likewise.
6292         [C99-based-standards] (SCNuFAST8): Likewise.
6293         [C99-based-standards] (SCNxFAST8): Likewise.
6294         [C99-based-standards] (PRId16): Likewise.
6295         [C99-based-standards] (PRIi16): Likewise.
6296         [C99-based-standards] (PRIo16): Likewise.
6297         [C99-based-standards] (PRIu16): Likewise.
6298         [C99-based-standards] (PRIx16): Likewise.
6299         [C99-based-standards] (PRIX16): Likewise.
6300         [C99-based-standards] (SCNd16): Likewise.
6301         [C99-based-standards] (SCNi16): Likewise.
6302         [C99-based-standards] (SCNo16): Likewise.
6303         [C99-based-standards] (SCNu16): Likewise.
6304         [C99-based-standards] (SCNx16): Likewise.
6305         [C99-based-standards] (PRIdLEAST16): Likewise.
6306         [C99-based-standards] (PRIiLEAST16): Likewise.
6307         [C99-based-standards] (PRIoLEAST16): Likewise.
6308         [C99-based-standards] (PRIuLEAST16): Likewise.
6309         [C99-based-standards] (PRIxLEAST16): Likewise.
6310         [C99-based-standards] (PRIXLEAST16): Likewise.
6311         [C99-based-standards] (SCNdLEAST16): Likewise.
6312         [C99-based-standards] (SCNiLEAST16): Likewise.
6313         [C99-based-standards] (SCNoLEAST16): Likewise.
6314         [C99-based-standards] (SCNuLEAST16): Likewise.
6315         [C99-based-standards] (SCNxLEAST16): Likewise.
6316         [C99-based-standards] (PRIdFAST16): Likewise.
6317         [C99-based-standards] (PRIiFAST16): Likewise.
6318         [C99-based-standards] (PRIoFAST16): Likewise.
6319         [C99-based-standards] (PRIuFAST16): Likewise.
6320         [C99-based-standards] (PRIxFAST16): Likewise.
6321         [C99-based-standards] (PRIXFAST16): Likewise.
6322         [C99-based-standards] (SCNdFAST16): Likewise.
6323         [C99-based-standards] (SCNiFAST16): Likewise.
6324         [C99-based-standards] (SCNoFAST16): Likewise.
6325         [C99-based-standards] (SCNuFAST16): Likewise.
6326         [C99-based-standards] (SCNxFAST16): Likewise.
6327         [C99-based-standards] (PRId32): Likewise.
6328         [C99-based-standards] (PRIi32): Likewise.
6329         [C99-based-standards] (PRIo32): Likewise.
6330         [C99-based-standards] (PRIu32): Likewise.
6331         [C99-based-standards] (PRIx32): Likewise.
6332         [C99-based-standards] (PRIX32): Likewise.
6333         [C99-based-standards] (SCNd32): Likewise.
6334         [C99-based-standards] (SCNi32): Likewise.
6335         [C99-based-standards] (SCNo32): Likewise.
6336         [C99-based-standards] (SCNu32): Likewise.
6337         [C99-based-standards] (SCNx32): Likewise.
6338         [C99-based-standards] (PRIdLEAST32): Likewise.
6339         [C99-based-standards] (PRIiLEAST32): Likewise.
6340         [C99-based-standards] (PRIoLEAST32): Likewise.
6341         [C99-based-standards] (PRIuLEAST32): Likewise.
6342         [C99-based-standards] (PRIxLEAST32): Likewise.
6343         [C99-based-standards] (PRIXLEAST32): Likewise.
6344         [C99-based-standards] (SCNdLEAST32): Likewise.
6345         [C99-based-standards] (SCNiLEAST32): Likewise.
6346         [C99-based-standards] (SCNoLEAST32): Likewise.
6347         [C99-based-standards] (SCNuLEAST32): Likewise.
6348         [C99-based-standards] (SCNxLEAST32): Likewise.
6349         [C99-based-standards] (PRIdFAST32): Likewise.
6350         [C99-based-standards] (PRIiFAST32): Likewise.
6351         [C99-based-standards] (PRIoFAST32): Likewise.
6352         [C99-based-standards] (PRIuFAST32): Likewise.
6353         [C99-based-standards] (PRIxFAST32): Likewise.
6354         [C99-based-standards] (PRIXFAST32): Likewise.
6355         [C99-based-standards] (SCNdFAST32): Likewise.
6356         [C99-based-standards] (SCNiFAST32): Likewise.
6357         [C99-based-standards] (SCNoFAST32): Likewise.
6358         [C99-based-standards] (SCNuFAST32): Likewise.
6359         [C99-based-standards] (SCNxFAST32): Likewise.
6360         [C99-based-standards] (PRId64): Likewise.
6361         [C99-based-standards] (PRIi64): Likewise.
6362         [C99-based-standards] (PRIo64): Likewise.
6363         [C99-based-standards] (PRIu64): Likewise.
6364         [C99-based-standards] (PRIx64): Likewise.
6365         [C99-based-standards] (PRIX64): Likewise.
6366         [C99-based-standards] (SCNd64): Likewise.
6367         [C99-based-standards] (SCNi64): Likewise.
6368         [C99-based-standards] (SCNo64): Likewise.
6369         [C99-based-standards] (SCNu64): Likewise.
6370         [C99-based-standards] (SCNx64): Likewise.
6371         [C99-based-standards] (PRIdLEAST64): Likewise.
6372         [C99-based-standards] (PRIiLEAST64): Likewise.
6373         [C99-based-standards] (PRIoLEAST64): Likewise.
6374         [C99-based-standards] (PRIuLEAST64): Likewise.
6375         [C99-based-standards] (PRIxLEAST64): Likewise.
6376         [C99-based-standards] (PRIXLEAST64): Likewise.
6377         [C99-based-standards] (SCNdLEAST64): Likewise.
6378         [C99-based-standards] (SCNiLEAST64): Likewise.
6379         [C99-based-standards] (SCNoLEAST64): Likewise.
6380         [C99-based-standards] (SCNuLEAST64): Likewise.
6381         [C99-based-standards] (SCNxLEAST64): Likewise.
6382         [C99-based-standards] (PRIdFAST64): Likewise.
6383         [C99-based-standards] (PRIiFAST64): Likewise.
6384         [C99-based-standards] (PRIoFAST64): Likewise.
6385         [C99-based-standards] (PRIuFAST64): Likewise.
6386         [C99-based-standards] (PRIxFAST64): Likewise.
6387         [C99-based-standards] (PRIXFAST64): Likewise.
6388         [C99-based-standards] (SCNdFAST64): Likewise.
6389         [C99-based-standards] (SCNiFAST64): Likewise.
6390         [C99-based-standards] (SCNoFAST64): Likewise.
6391         [C99-based-standards] (SCNuFAST64): Likewise.
6392         [C99-based-standards] (SCNxFAST64): Likewise.
6393         [C99-based-standards] (PRIdMAX): Likewise.
6394         [C99-based-standards] (PRIiMAX): Likewise.
6395         [C99-based-standards] (PRIoMAX): Likewise.
6396         [C99-based-standards] (PRIuMAX): Likewise.
6397         [C99-based-standards] (PRIxMAX): Likewise.
6398         [C99-based-standards] (PRIXMAX): Likewise.
6399         [C99-based-standards] (SCNdMAX): Likewise.
6400         [C99-based-standards] (SCNiMAX): Likewise.
6401         [C99-based-standards] (SCNoMAX): Likewise.
6402         [C99-based-standards] (SCNuMAX): Likewise.
6403         [C99-based-standards] (SCNxMAX): Likewise.
6404         [C99-based-standards] (PRIdPTR): Likewise.
6405         [C99-based-standards] (PRIiPTR): Likewise.
6406         [C99-based-standards] (PRIoPTR): Likewise.
6407         [C99-based-standards] (PRIuPTR): Likewise.
6408         [C99-based-standards] (PRIxPTR): Likewise.
6409         [C99-based-standards] (PRIXPTR): Likewise.
6410         [C99-based-standards] (SCNdPTR): Likewise.
6411         [C99-based-standards] (SCNiPTR): Likewise.
6412         [C99-based-standards] (SCNoPTR): Likewise.
6413         [C99-based-standards] (SCNuPTR): Likewise.
6414         [C99-based-standards] (SCNxPTR): Likewise.
6415         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6416         allow.
6417         * conform/data/stdint.h-data: Update comments to clarify
6418         requirements.
6419         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6420         type.
6421         [C99-based standards] (INT8_MAX): Likewise.
6422         [C99-based standards] (INT16_MIN): Likewise.
6423         [C99-based standards] (INT16_MAX): Likewise.
6424         [C99-based standards] (INT32_MIN): Likewise.
6425         [C99-based standards] (INT32_MAX): Likewise.
6426         [C99-based standards] (INT64_MIN): Likewise.
6427         [C99-based standards] (INT64_MAX): Likewise.
6428         [C99-based standards] (UINT8_MAX): Likewise.
6429         [C99-based standards] (UINT16_MAX): Likewise.
6430         [C99-based standards] (UINT32_MAX): Likewise.
6431         [C99-based standards] (UINT64_MAX): Likewise.
6432         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6433         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6434         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6435         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6436         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6437         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6438         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6439         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6440         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6441         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6442         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6443         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6444         [C99-based standards] (INT_FAST8_MIN): Likewise.
6445         [C99-based standards] (INT_FAST8_MAX): Likewise.
6446         [C99-based standards] (INT_FAST16_MIN): Likewise.
6447         [C99-based standards] (INT_FAST16_MAX): Likewise.
6448         [C99-based standards] (INT_FAST32_MIN): Likewise.
6449         [C99-based standards] (INT_FAST32_MAX): Likewise.
6450         [C99-based standards] (INT_FAST64_MIN): Likewise.
6451         [C99-based standards] (INT_FAST64_MAX): Likewise.
6452         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6453         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6454         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6455         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6456         [C99-based standards] (INTPTR_MIN): Likewise.
6457         [C99-based standards] (INTPTR_MAX): Likewise.
6458         [C99-based standards] (UINTPTR_MAX): Likewise.
6459         [C99-based standards] (INTMAX_MIN): Likewise.
6460         [C99-based standards] (INTMAX_MAX): Likewise.
6461         [C99-based standards] (UINTMAX_MAX): Likewise.
6462         [C99-based standards] (PTRDIFF_MIN): Likewise.
6463         [C99-based standards] (PTRDIFF_MAX): Likewise.
6464         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6465         [C99-based standards] (SIZE_MAX): Likewise.
6466         [C99-based standards] (WCHAR_MAX): Likewise.
6467         [C99-based standards] (WINT_MAX): Likewise.
6468         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6469         constraint on value.
6470         [C99-based standards] (WCHAR_MIN): Likewise.
6471         [C99-based standards] (WINT_MIN): Likewise.
6472         [C99-based standards] (*_t): Allow.
6473         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6474         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6475         Include math.h-data and complex.h-data.  Remove all expectations
6476         of math.h and complex.h contents.
6477         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6478         at end of line.
6479         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6480         (struct tm): Expect tag.
6481         [C99-based-standards] (wcstof): Expect function.
6482         [C99-based-standards] (wcstold): Likewise.
6483         [C99-based-standards] (wcstoll): Likewise.
6484         [C99-based-standards] (wcstoull): Likewise.
6485         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6486         macro-int-constant.  Specify type.
6487         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6488         constraint on value.
6489         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6490         Specify type.
6491         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6492         Specify value.
6493         [ISO C standards]: Do not allow headers.
6494         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6495         wcs[abcdefghijklmnopqrstuvwxyz]*.
6496         [ISO C standards] (*_t): Do not allow.
6497         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6498         Expect function.
6499         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6500         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6501         Specify type.
6502         [ISO C standards]: Do not allow headers.
6503         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6504         is[abcdefghijklmnopqrstuvwxyz]*.
6505         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6506         to[abcdefghijklmnopqrstuvwxyz]*.
6507         [ISO C standards] (*_t): Do not allow.
6508         * conform/data/stdalign.h-data: New file.
6509         * conform/data/stdbool.h-data: Likewise.
6510         * conform/data/stdnoreturn.h-data: Likewise.
6512 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6514         [BZ #14815]
6515         * manual/filesys.texi (Directory Entries): Typo fix.
6516         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6518 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6520         * elf/elf.h (EM_AARCH64): New macro.
6521         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6522         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6523         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6524         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6525         (R_AARCH64_TLSDESC): Likewise.
6526         (NT_ARM_TLS): Likewise.
6527         (NT_ARM_HW_BREAK): Likewise.
6528         (NT_ARM_HW_WATCH): Likewise.
6530 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6532         [BZ #14811]
6533         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6534         (__ieee754_powl): Saturate nonzero exponents with absolute value
6535         below 0x1p-79 to +/- 0x1p-79.
6536         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6537         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6538         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6539         nonzero exponents with absolute value below 0x1p-32 to +/-
6540         0x1p-32.
6541         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6542         (__ieee754_powl): Saturate nonzero exponents with absolute value
6543         below 0x1p-79 to +/- 0x1p-79.
6544         * math/libm-test.inc (pow_test): Add more tests.
6546 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6548         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6549         _dl_s390_cap_flags with kernel. Increase string length.
6550         (_dl_s390_platforms): Add z196 and zEC12.
6552 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6554         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6555         Change XOPEN21K to XOPEN2K.
6557 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6559         * string/memmove.c: Use memcpy when possible.
6561 2012-11-06  Andreas Jaeger  <aj@suse.de>
6563         * po/eo.po: Update from translation team.
6565 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6567         [BZ #14793]
6568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6569         exponent and small x and y exponents, scale x or y up.  Increase
6570         by 2 the exponent used in scaling up.
6571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6573         * math/libm-test.inc (fma_test): Add more tests.
6574         (fma_test_towardzero): Likewise.
6575         (fma_test_downward): Likewise.
6576         (fma_test_upward): Likewise.
6578 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6580         [BZ #14805]
6581         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6582         fenv_t *.
6584         [BZ #14801]
6585         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6586         namespace for names of struct fields.
6587         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6588         fenv_t fields.
6589         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6590         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6592 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6594         [BZ #3665]
6595         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6597 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6599         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6600         PTR_DEMANGLE.
6602         [BZ #5246]
6603         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6604         PTR_DEMANGLE.
6606 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6608         [BZ #14797]
6609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6610         definitely overflow as x * y not x * y + z.
6611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6613         * math/libm-test.inc (fma_test): Add more tests.
6614         (fma_test_towardzero): Likewise.
6615         (fma_test_downward): Likewise.
6616         (fma_test_upward): Likewise.
6618 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6620         [BZ #157]
6622         * include/stub-tag.h: Remove file.
6623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6624         '#include' of it.
6625         * manual/maint.texi (Porting): Don't reference it.
6626         * Makerules ($(objpfx)stubs): Likewise.
6627         * dirent/closedir.c: Don't include <stub-tag.h>.
6628         * dirent/dirfd.c: Likewise.
6629         * dirent/fdopendir.c: Likewise.
6630         * dirent/getdents.c: Likewise.
6631         * dirent/getdents64.c: Likewise.
6632         * dirent/opendir.c: Likewise.
6633         * dirent/readdir.c: Likewise.
6634         * dirent/readdir64.c: Likewise.
6635         * dirent/readdir64_r.c: Likewise.
6636         * dirent/readdir_r.c: Likewise.
6637         * dirent/rewinddir.c: Likewise.
6638         * dirent/seekdir.c: Likewise.
6639         * dirent/telldir.c: Likewise.
6640         * gmon/profil.c: Likewise.
6641         * grp/setgroups.c: Likewise.
6642         * inet/if_index.c: Likewise.
6643         * io/access.c: Likewise.
6644         * io/chdir.c: Likewise.
6645         * io/chmod.c: Likewise.
6646         * io/chown.c: Likewise.
6647         * io/close.c: Likewise.
6648         * io/dup.c: Likewise.
6649         * io/dup2.c: Likewise.
6650         * io/dup3.c: Likewise.
6651         * io/euidaccess.c: Likewise.
6652         * io/faccessat.c: Likewise.
6653         * io/fchdir.c: Likewise.
6654         * io/fchmod.c: Likewise.
6655         * io/fchmodat.c: Likewise.
6656         * io/fchown.c: Likewise.
6657         * io/fchownat.c: Likewise.
6658         * io/fcntl.c: Likewise.
6659         * io/flock.c: Likewise.
6660         * io/fstatfs.c: Likewise.
6661         * io/fstatfs64.c: Likewise.
6662         * io/fstatvfs.c: Likewise.
6663         * io/fstatvfs64.c: Likewise.
6664         * io/futimens.c: Likewise.
6665         * io/fxstat.c: Likewise.
6666         * io/fxstat64.c: Likewise.
6667         * io/fxstatat.c: Likewise.
6668         * io/fxstatat64.c: Likewise.
6669         * io/getcwd.c: Likewise.
6670         * io/isatty.c: Likewise.
6671         * io/lchmod.c: Likewise.
6672         * io/lchown.c: Likewise.
6673         * io/link.c: Likewise.
6674         * io/linkat.c: Likewise.
6675         * io/lseek.c: Likewise.
6676         * io/lseek64.c: Likewise.
6677         * io/lxstat64.c: Likewise.
6678         * io/mkdir.c: Likewise.
6679         * io/mkdirat.c: Likewise.
6680         * io/mkfifo.c: Likewise.
6681         * io/mkfifoat.c: Likewise.
6682         * io/open.c: Likewise.
6683         * io/open64.c: Likewise.
6684         * io/openat.c: Likewise.
6685         * io/openat64.c: Likewise.
6686         * io/pipe.c: Likewise.
6687         * io/pipe2.c: Likewise.
6688         * io/poll.c: Likewise.
6689         * io/posix_fadvise.c: Likewise.
6690         * io/posix_fadvise64.c: Likewise.
6691         * io/posix_fallocate.c: Likewise.
6692         * io/posix_fallocate64.c: Likewise.
6693         * io/read.c: Likewise.
6694         * io/readlink.c: Likewise.
6695         * io/readlinkat.c: Likewise.
6696         * io/rmdir.c: Likewise.
6697         * io/sendfile.c: Likewise.
6698         * io/sendfile64.c: Likewise.
6699         * io/statfs.c: Likewise.
6700         * io/statfs64.c: Likewise.
6701         * io/statvfs.c: Likewise.
6702         * io/statvfs64.c: Likewise.
6703         * io/symlink.c: Likewise.
6704         * io/symlinkat.c: Likewise.
6705         * io/ttyname.c: Likewise.
6706         * io/ttyname_r.c: Likewise.
6707         * io/umask.c: Likewise.
6708         * io/unlink.c: Likewise.
6709         * io/unlinkat.c: Likewise.
6710         * io/utime.c: Likewise.
6711         * io/utimensat.c: Likewise.
6712         * io/write.c: Likewise.
6713         * io/xmknod.c: Likewise.
6714         * io/xmknodat.c: Likewise.
6715         * io/xstat.c: Likewise.
6716         * io/xstat64.c: Likewise.
6717         * login/getpt.c: Likewise.
6718         * login/grantpt.c: Likewise.
6719         * login/unlockpt.c: Likewise.
6720         * math/e_acoshl.c: Likewise.
6721         * math/e_acosl.c: Likewise.
6722         * math/e_asinl.c: Likewise.
6723         * math/e_atan2l.c: Likewise.
6724         * math/e_atanhl.c: Likewise.
6725         * math/e_coshl.c: Likewise.
6726         * math/e_expl.c: Likewise.
6727         * math/e_fmodl.c: Likewise.
6728         * math/e_gammal_r.c: Likewise.
6729         * math/e_hypotl.c: Likewise.
6730         * math/e_j0l.c: Likewise.
6731         * math/e_j1l.c: Likewise.
6732         * math/e_jnl.c: Likewise.
6733         * math/e_lgammal_r.c: Likewise.
6734         * math/e_log10l.c: Likewise.
6735         * math/e_log2l.c: Likewise.
6736         * math/e_logl.c: Likewise.
6737         * math/e_powl.c: Likewise.
6738         * math/e_rem_pio2l.c: Likewise.
6739         * math/e_sinhl.c: Likewise.
6740         * math/e_sqrtl.c: Likewise.
6741         * math/fclrexcpt.c: Likewise.
6742         * math/fedisblxcpt.c: Likewise.
6743         * math/feenablxcpt.c: Likewise.
6744         * math/fegetenv.c: Likewise.
6745         * math/fegetexcept.c: Likewise.
6746         * math/fegetround.c: Likewise.
6747         * math/feholdexcpt.c: Likewise.
6748         * math/fesetenv.c: Likewise.
6749         * math/fesetround.c: Likewise.
6750         * math/feupdateenv.c: Likewise.
6751         * math/fgetexcptflg.c: Likewise.
6752         * math/fraiseexcpt.c: Likewise.
6753         * math/fsetexcptflg.c: Likewise.
6754         * math/ftestexcept.c: Likewise.
6755         * math/k_cosl.c: Likewise.
6756         * math/k_rem_pio2l.c: Likewise.
6757         * math/k_sinl.c: Likewise.
6758         * math/k_tanl.c: Likewise.
6759         * math/s_asinhl.c: Likewise.
6760         * math/s_atanl.c: Likewise.
6761         * math/s_cbrtl.c: Likewise.
6762         * math/s_erfl.c: Likewise.
6763         * math/s_expm1l.c: Likewise.
6764         * math/s_log1pl.c: Likewise.
6765         * math/s_tanhl.c: Likewise.
6766         * misc/acct.c: Likewise.
6767         * misc/brk.c: Likewise.
6768         * misc/chflags.c: Likewise.
6769         * misc/chroot.c: Likewise.
6770         * misc/fchflags.c: Likewise.
6771         * misc/fgetxattr.c: Likewise.
6772         * misc/flistxattr.c: Likewise.
6773         * misc/fremovexattr.c: Likewise.
6774         * misc/fsetxattr.c: Likewise.
6775         * misc/fsync.c: Likewise.
6776         * misc/ftruncate.c: Likewise.
6777         * misc/futimes.c: Likewise.
6778         * misc/futimesat.c: Likewise.
6779         * misc/getdomain.c: Likewise.
6780         * misc/getdtsz.c: Likewise.
6781         * misc/gethostid.c: Likewise.
6782         * misc/gethostname.c: Likewise.
6783         * misc/getloadavg.c: Likewise.
6784         * misc/getpagesize.c: Likewise.
6785         * misc/getsysstats.c: Likewise.
6786         * misc/getxattr.c: Likewise.
6787         * misc/gtty.c: Likewise.
6788         * misc/ioctl.c: Likewise.
6789         * misc/lgetxattr.c: Likewise.
6790         * misc/listxattr.c: Likewise.
6791         * misc/llistxattr.c: Likewise.
6792         * misc/lremovexattr.c: Likewise.
6793         * misc/lsetxattr.c: Likewise.
6794         * misc/lutimes.c: Likewise.
6795         * misc/madvise.c: Likewise.
6796         * misc/mincore.c: Likewise.
6797         * misc/mlock.c: Likewise.
6798         * misc/mlockall.c: Likewise.
6799         * misc/mmap.c: Likewise.
6800         * misc/mprotect.c: Likewise.
6801         * misc/msync.c: Likewise.
6802         * misc/munlock.c: Likewise.
6803         * misc/munlockall.c: Likewise.
6804         * misc/munmap.c: Likewise.
6805         * misc/preadv.c: Likewise.
6806         * misc/preadv64.c: Likewise.
6807         * misc/ptrace.c: Likewise.
6808         * misc/pwritev.c: Likewise.
6809         * misc/pwritev64.c: Likewise.
6810         * misc/readv.c: Likewise.
6811         * misc/reboot.c: Likewise.
6812         * misc/remap_file_pages.c: Likewise.
6813         * misc/removexattr.c: Likewise.
6814         * misc/revoke.c: Likewise.
6815         * misc/select.c: Likewise.
6816         * misc/setdomain.c: Likewise.
6817         * misc/setegid.c: Likewise.
6818         * misc/seteuid.c: Likewise.
6819         * misc/sethostid.c: Likewise.
6820         * misc/sethostname.c: Likewise.
6821         * misc/setregid.c: Likewise.
6822         * misc/setreuid.c: Likewise.
6823         * misc/setxattr.c: Likewise.
6824         * misc/sstk.c: Likewise.
6825         * misc/stty.c: Likewise.
6826         * misc/swapoff.c: Likewise.
6827         * misc/swapon.c: Likewise.
6828         * misc/sync.c: Likewise.
6829         * misc/syncfs.c: Likewise.
6830         * misc/syscall.c: Likewise.
6831         * misc/truncate.c: Likewise.
6832         * misc/ualarm.c: Likewise.
6833         * misc/usleep.c: Likewise.
6834         * misc/ustat.c: Likewise.
6835         * misc/utimes.c: Likewise.
6836         * misc/vhangup.c: Likewise.
6837         * misc/writev.c: Likewise.
6838         * posix/_exit.c: Likewise.
6839         * posix/alarm.c: Likewise.
6840         * posix/execve.c: Likewise.
6841         * posix/fexecve.c: Likewise.
6842         * posix/fork.c: Likewise.
6843         * posix/fpathconf.c: Likewise.
6844         * posix/getaddrinfo.c: Likewise.
6845         * posix/getegid.c: Likewise.
6846         * posix/geteuid.c: Likewise.
6847         * posix/getgid.c: Likewise.
6848         * posix/getgroups.c: Likewise.
6849         * posix/getlogin.c: Likewise.
6850         * posix/getlogin_r.c: Likewise.
6851         * posix/getpgid.c: Likewise.
6852         * posix/getpid.c: Likewise.
6853         * posix/getppid.c: Likewise.
6854         * posix/getresgid.c: Likewise.
6855         * posix/getresuid.c: Likewise.
6856         * posix/getsid.c: Likewise.
6857         * posix/getuid.c: Likewise.
6858         * posix/glob64.c: Likewise.
6859         * posix/nanosleep.c: Likewise.
6860         * posix/pathconf.c: Likewise.
6861         * posix/pause.c: Likewise.
6862         * posix/posix_madvise.c: Likewise.
6863         * posix/pread.c: Likewise.
6864         * posix/pread64.c: Likewise.
6865         * posix/pwrite.c: Likewise.
6866         * posix/pwrite64.c: Likewise.
6867         * posix/sched_getaffinity.c: Likewise.
6868         * posix/sched_getp.c: Likewise.
6869         * posix/sched_gets.c: Likewise.
6870         * posix/sched_primax.c: Likewise.
6871         * posix/sched_primin.c: Likewise.
6872         * posix/sched_rr_gi.c: Likewise.
6873         * posix/sched_setaffinity.c: Likewise.
6874         * posix/sched_setp.c: Likewise.
6875         * posix/sched_sets.c: Likewise.
6876         * posix/sched_yield.c: Likewise.
6877         * posix/setgid.c: Likewise.
6878         * posix/setlogin.c: Likewise.
6879         * posix/setpgid.c: Likewise.
6880         * posix/setresgid.c: Likewise.
6881         * posix/setresuid.c: Likewise.
6882         * posix/setsid.c: Likewise.
6883         * posix/setuid.c: Likewise.
6884         * posix/sleep.c: Likewise.
6885         * posix/spawni.c: Likewise.
6886         * posix/sysconf.c: Likewise.
6887         * posix/times.c: Likewise.
6888         * posix/wait.c: Likewise.
6889         * posix/wait3.c: Likewise.
6890         * posix/wait4.c: Likewise.
6891         * posix/waitpid.c: Likewise.
6892         * resolv/gai_sigqueue.c: Likewise.
6893         * resource/getpriority.c: Likewise.
6894         * resource/getrlimit.c: Likewise.
6895         * resource/getrusage.c: Likewise.
6896         * resource/nice.c: Likewise.
6897         * resource/setpriority.c: Likewise.
6898         * resource/setrlimit.c: Likewise.
6899         * resource/ulimit.c: Likewise.
6900         * rt/aio_cancel.c: Likewise.
6901         * rt/aio_fsync.c: Likewise.
6902         * rt/aio_read.c: Likewise.
6903         * rt/aio_sigqueue.c: Likewise.
6904         * rt/aio_suspend.c: Likewise.
6905         * rt/aio_write.c: Likewise.
6906         * rt/clock_getres.c: Likewise.
6907         * rt/clock_gettime.c: Likewise.
6908         * rt/clock_nanosleep.c: Likewise.
6909         * rt/clock_settime.c: Likewise.
6910         * rt/lio_listio.c: Likewise.
6911         * rt/mq_close.c: Likewise.
6912         * rt/mq_getattr.c: Likewise.
6913         * rt/mq_notify.c: Likewise.
6914         * rt/mq_open.c: Likewise.
6915         * rt/mq_receive.c: Likewise.
6916         * rt/mq_send.c: Likewise.
6917         * rt/mq_setattr.c: Likewise.
6918         * rt/mq_timedreceive.c: Likewise.
6919         * rt/mq_timedsend.c: Likewise.
6920         * rt/mq_unlink.c: Likewise.
6921         * rt/shm_open.c: Likewise.
6922         * rt/shm_unlink.c: Likewise.
6923         * rt/timer_create.c: Likewise.
6924         * rt/timer_delete.c: Likewise.
6925         * rt/timer_getoverr.c: Likewise.
6926         * rt/timer_gettime.c: Likewise.
6927         * rt/timer_settime.c: Likewise.
6928         * setjmp/__longjmp.c: Likewise.
6929         * setjmp/setjmp.c: Likewise.
6930         * signal/kill.c: Likewise.
6931         * signal/killpg.c: Likewise.
6932         * signal/raise.c: Likewise.
6933         * signal/sigaction.c: Likewise.
6934         * signal/sigaltstack.c: Likewise.
6935         * signal/sigblock.c: Likewise.
6936         * signal/sigignore.c: Likewise.
6937         * signal/sigintr.c: Likewise.
6938         * signal/signal.c: Likewise.
6939         * signal/sigpause.c: Likewise.
6940         * signal/sigpending.c: Likewise.
6941         * signal/sigqueue.c: Likewise.
6942         * signal/sigreturn.c: Likewise.
6943         * signal/sigset.c: Likewise.
6944         * signal/sigsetmask.c: Likewise.
6945         * signal/sigstack.c: Likewise.
6946         * signal/sigsuspend.c: Likewise.
6947         * signal/sigtimedwait.c: Likewise.
6948         * signal/sigvec.c: Likewise.
6949         * signal/sigwait.c: Likewise.
6950         * signal/sigwaitinfo.c: Likewise.
6951         * signal/sysv_signal.c: Likewise.
6952         * socket/accept.c: Likewise.
6953         * socket/accept4.c: Likewise.
6954         * socket/bind.c: Likewise.
6955         * socket/connect.c: Likewise.
6956         * socket/getpeername.c: Likewise.
6957         * socket/getsockname.c: Likewise.
6958         * socket/getsockopt.c: Likewise.
6959         * socket/isfdtype.c: Likewise.
6960         * socket/listen.c: Likewise.
6961         * socket/recv.c: Likewise.
6962         * socket/recvfrom.c: Likewise.
6963         * socket/recvmsg.c: Likewise.
6964         * socket/send.c: Likewise.
6965         * socket/sendmsg.c: Likewise.
6966         * socket/sendto.c: Likewise.
6967         * socket/setsockopt.c: Likewise.
6968         * socket/shutdown.c: Likewise.
6969         * socket/sockatmark.c: Likewise.
6970         * socket/socket.c: Likewise.
6971         * socket/socketpair.c: Likewise.
6972         * stdio-common/ctermid.c: Likewise.
6973         * stdio-common/cuserid.c: Likewise.
6974         * stdio-common/remove.c: Likewise.
6975         * stdio-common/rename.c: Likewise.
6976         * stdio-common/renameat.c: Likewise.
6977         * stdio-common/tempname.c: Likewise.
6978         * stdlib/getcontext.c: Likewise.
6979         * stdlib/makecontext.c: Likewise.
6980         * stdlib/setcontext.c: Likewise.
6981         * stdlib/swapcontext.c: Likewise.
6982         * stdlib/system.c: Likewise.
6983         * streams/fattach.c: Likewise.
6984         * streams/fdetach.c: Likewise.
6985         * streams/getmsg.c: Likewise.
6986         * streams/getpmsg.c: Likewise.
6987         * streams/putmsg.c: Likewise.
6988         * streams/putpmsg.c: Likewise.
6989         * sysdeps/unix/bsd/getpt.c: Likewise.
6990         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6991         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6992         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6996         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6997         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6998         * sysvipc/msgctl.c: Likewise.
6999         * sysvipc/msgget.c: Likewise.
7000         * sysvipc/msgrcv.c: Likewise.
7001         * sysvipc/msgsnd.c: Likewise.
7002         * sysvipc/semctl.c: Likewise.
7003         * sysvipc/semget.c: Likewise.
7004         * sysvipc/semop.c: Likewise.
7005         * sysvipc/semtimedop.c: Likewise.
7006         * sysvipc/shmat.c: Likewise.
7007         * sysvipc/shmctl.c: Likewise.
7008         * sysvipc/shmdt.c: Likewise.
7009         * sysvipc/shmget.c: Likewise.
7010         * termios/tcdrain.c: Likewise.
7011         * termios/tcflow.c: Likewise.
7012         * termios/tcflush.c: Likewise.
7013         * termios/tcgetattr.c: Likewise.
7014         * termios/tcgetpgrp.c: Likewise.
7015         * termios/tcsendbrk.c: Likewise.
7016         * termios/tcsetattr.c: Likewise.
7017         * termios/tcsetpgrp.c: Likewise.
7018         * time/adjtime.c: Likewise.
7019         * time/clock.c: Likewise.
7020         * time/getitimer.c: Likewise.
7021         * time/gettimeofday.c: Likewise.
7022         * time/setitimer.c: Likewise.
7023         * time/settimeofday.c: Likewise.
7024         * time/stime.c: Likewise.
7025         * time/time.c: Likewise.
7027 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7029         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7030         /usr/old/bin.
7032         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7033         instead of spaces.
7034         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7036 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7038         [BZ #14796]
7039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7040         FE_TONEAREST before applying Dekker multiplication and Knuth
7041         addition.  Clear inexact exceptions and check for exact zero
7042         results afterwards.
7043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7045         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7046         * math/libm-test.inc (fma_test): Add more tests.
7047         (fma_test_towardzero): Likewise.
7048         (fma_test_downward): Likewise.
7049         (fma_test_upward): Likewise.
7050         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7051         function.
7052         (libc_fesetround): New macro.
7053         (libc_fesetroundf): Likewise.
7054         (libc_fesetroundl): Likewise.
7055         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7056         function.
7057         (libc_fesetround_387): Likewise.
7058         (libc_fesetroundf): New macro.
7059         (libc_fesetround): Likewise.
7060         (libc_fesetroundl): Likewise.
7061         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7062         function.
7063         (libc_fesetroundf): New macro.
7064         (libc_fesetround): Likewise.
7065         (libc_fesetroundl): Likewise.
7066         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7067         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7068         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7069         libm_hidden_ver.
7070         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7071         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7072         libm_hidden_def.
7073         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7074         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7075         libm_hidden_ver.
7076         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7077         libm_hidden_def.
7079         [BZ #3439]
7080         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7081         integer constant usable in #if and use that to give value to enum
7082         constant.
7083         (FE_DIVBYZERO): Likewise.
7084         (FE_UNDERFLOW): Likewise.
7085         (FE_OVERFLOW): Likewise.
7086         (FE_INVALID): Likewise.
7087         (FE_INVALID_SNAN): Likewise.
7088         (FE_INVALID_ISI): Likewise.
7089         (FE_INVALID_IDI): Likewise.
7090         (FE_INVALID_ZDZ): Likewise.
7091         (FE_INVALID_IMZ): Likewise.
7092         (FE_INVALID_COMPARE): Likewise.
7093         (FE_INVALID_SOFTWARE): Likewise.
7094         (FE_INVALID_SQRT): Likewise.
7095         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7096         (FE_TONEAREST): Likewise.
7097         (FE_TOWARDZERO): Likewise.
7098         (FE_UPWARD): Likewise.
7099         (FE_DOWNWARD): Likewise.
7100         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7101         (FE_DIVBYZERO): Likewise.
7102         (FE_OVERFLOW): Likewise.
7103         (FE_UNDERFLOW): Likewise.
7104         (FE_INEXACT): Likewise.
7105         (FE_TONEAREST): Likewise.
7106         (FE_DOWNWARD): Likewise.
7107         (FE_UPWARD): Likewise.
7108         (FE_TOWARDZERO): Likewise.
7109         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7110         (FE_UNDERFLOW): Likewise.
7111         (FE_OVERFLOW): Likewise.
7112         (FE_DIVBYZERO): Likewise.
7113         (FE_INVALID): Likewise.
7114         (FE_TONEAREST): Likewise.
7115         (FE_TOWARDZERO): Likewise.
7116         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7117         (FE_OVERFLOW): Likewise.
7118         (FE_UNDERFLOW): Likewise.
7119         (FE_DIVBYZERO): Likewise.
7120         (FE_INEXACT): Likewise.
7121         (FE_TONEAREST): Likewise.
7122         (FE_TOWARDZERO): Likewise.
7123         (FE_UPWARD): Likewise.
7124         (FE_DOWNWARD): Likewise.
7125         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7126         (FE_DIVBYZERO): Likewise.
7127         (FE_OVERFLOW): Likewise.
7128         (FE_UNDERFLOW): Likewise.
7129         (FE_INEXACT): Likewise.
7130         (FE_TONEAREST): Likewise.
7131         (FE_DOWNWARD): Likewise.
7132         (FE_UPWARD): Likewise.
7133         (FE_TOWARDZERO): Likewise.
7135 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7137         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7139 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7141         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7142         commands.  Quote $PWD.
7143         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7144         -x" by "export".
7145         (remove_newlines): Remove.
7147 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7149         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7150         * stdlib/stdlib.h (atof): Moved to ...
7151         * include/bits/stdlib-float.h: Here.  New file.
7152         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7153         * stdlib/bits/stdlib-float.h: New file.
7154         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7155         -mno-sse -mno-mmx.
7156         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7157         <xmmintrin.h>.
7159 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7161         * conform/conformtest.pl (@headers): Add fenv.h.
7162         * conform/data/fenv.h-data: New file.
7163         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7164         include of <math/fenv.h>.
7166         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7167         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7168         && !UNIX98].  Enables tests for XOPEN2K8.
7169         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7170         POSIX2008]: Likewise.
7172         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7173         (struct rusage): Do not expect type or its members.
7175         [BZ #3439]
7176         * math/math.h (FP_NAN): Define macro to integer constant usable in
7177         #if and use that to give value to enum constant.
7178         (FP_INFINITE): Likewise.
7179         (FP_ZERO): Likewise.
7180         (FP_SUBNORMAL): Likewise.
7181         (FP_NORMAL): Likewise.
7183 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7185         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7186         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7187         arguments.
7189 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7191         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7192         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7193         autoconf-time if not.
7194         * configure.in: Remove AC_PREREQ.
7196 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7198         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7199         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7200         of the internal implementation.
7202 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7204         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7205         except include of <misc/sys/syslog.h>.
7207 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7210         function returns with a NULL context exit with zero.
7212 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7214         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7216 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7218         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7219         (run_program_cmd): This.
7220         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7221         (tst_langinfo): New variable.  Use it.
7223 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7225         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7226         floating point opcodes.
7228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7230         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7231         variable.
7233         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7235         * sysdeps/mach/hurd/powerpc: Remove directory.
7236         * sysdeps/mach/powerpc: Likewise.
7238 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7240         * scripts/check-local-headers.sh: Ignore c++ headers.
7242 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7244         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7245         __libc_cleanup_region_start argument.
7247 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7249         [BZ #14784]
7250         [BZ #14785]
7251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7252         x * y using scaling, not as x * y + z.
7253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7255         * math/libm-test.inc (fma_test): Add more tests.
7256         (fma_test_towardzero): Likewise.
7257         (fma_test_downward): Likewise.
7258         (fma_test_upward): Likewise.
7260 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7262         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7264 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7266         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7267         New variable.
7269 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7271         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7273 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7276         Fix sort order.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7278         Likewise.
7280 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7283         Fix the order of the list for glibc 2.17.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7285         Likewise.
7287 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7291 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7293         [BZ #14610]
7294         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7295         for low part of x being zero before using __atanl (y).
7296         * math/libm-test.inc (atan2_test): Add another test.
7298         * manual/install.texi (Configuring and compiling): Document
7299         general use of test-wrapper and test-wrapper-env.
7300         * INSTALL: Regenerated.
7302         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7303         (__fma): Do not extract and scale down low bits on after-rounding
7304         systems when result rounded to normal precision would have normal
7305         exponent.
7306         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7307         (__fmal): Do not extract and scale down low bits on after-rounding
7308         systems when result rounded to normal precision would have normal
7309         exponent.
7310         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7311         (__fmal): Do not extract and scale down low bits on after-rounding
7312         systems when result rounded to normal precision would have normal
7313         exponent.
7314         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7315         macro.
7316         (fma_test): Add more tests.
7317         (fma_test_towardzero): Likewise.
7318         (fma_test_downward): Likewise.
7319         (fma_test_upward): Likewise.
7321 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7323         * sysdeps/i386/tininess.h: Renamed to ...
7324         * sysdeps/x86/tininess.h: This.
7325         * sysdeps/x86_64/tininess.h: Removed.
7327 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7329         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7330         input.  Use $(build-program-cmd).
7331         ($(objpfx)tst-array1-static.out): Likewise.
7332         ($(objpfx)tst-array2.out): Likewise.
7333         ($(objpfx)tst-array3.out): Likewise.
7334         ($(objpfx)tst-array4.out): Likewise.
7335         ($(objpfx)tst-array5.out): Likewise.
7336         ($(objpfx)tst-array5-static.out): Likewise.
7338 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7340         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7341         if defined.
7343         * nss/nsswitch.h (nss_interface_function): Provide new
7344         macro for use with NSS functions.
7345         * grp/initgroups.c: Use new macro.
7346         * nss/getXXbyYY.c: Likewise.
7347         * nss/getXXbyYY_r.c: Likewise.
7348         * nss/getXXent.c: Likewise.
7349         * nss/getXXent_r.c: Likewise.
7350         * sysdeps/posix/getaddrinfo.c: Likewise.
7352 2012-10-30  Andreas Jaeger  <aj@suse.de>
7354         * po/ru.po: Update Russion translation from translation project.
7356 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7358         [BZ #14152]
7359         [BZ #14783]
7360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7361         result and shift together with sticky bit instead of replicating
7362         round-to-nearest rounding.
7363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7365         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7366         missing underflow exceptions.
7367         (fma_test_towardzero): Add more tests.
7368         (fma_test_downward): Likewise.
7369         (fma_test_upward): Likewise.
7371         [BZ #14047]
7372         * sysdeps/generic/tininess.h: New file.
7373         * sysdeps/i386/tininess.h: Likewise.
7374         * sysdeps/sh/tininess.h: Likewise.
7375         * sysdeps/x86_64/tininess.h: Likewise.
7376         * stdlib/tst-strtod-underflow.c: Likewise.
7377         * stdlib/tst-tininess.c: Likewise.
7378         * stdlib/strtod_l.c: Include <tininess.h>.
7379         (round_and_return): Do not set errno for exact underflow cases.
7380         Force an underflow exception when setting errno for underflow.
7381         Determine underflow based on rounding to normal precision if
7382         TININESS_AFTER_ROUNDING.
7383         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7384         ERANGE for exact underflow cases.
7385         * stdlib/Makefile (tests): Add tst-tininess and
7386         tst-strtod-underflow.
7387         ($(objpfx)tst-tininess): Use $(link-libm).
7388         ($(objpfx)tst-strtod-underflow): Likewise.
7390 2012-10-30  Andreas Jaeger  <aj@suse.de>
7392         [BZ#14767]
7393         * elf/Makefile (tests): Remove conditional for have-initfini-array
7394         since this is now always required and the variable does not exist
7395         anymore.
7396         (tests-static): Likewise.
7397         (modules-names): Likewise.
7399         * po/eo.po: Add Esperanto translation from translation project.
7401         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7402         merged with constructor/destructor.
7403         (init_array): Likewise.
7404         * elf/tst-array2dep.c (fini_array): Likewise.
7405         (init_array): Likewise.
7407 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7409         * manual/message.texi: Delete @cartouche tags.
7411 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7413         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7414         EOPNOTSUPP.
7415         * sysdeps/mach/hurd/fsync.c: Likewise.
7417         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7418         [_POSIX_REALTIME_SIGNALS]: Change condition to
7419         [_POSIX_REALTIME_SIGNALS > 0].
7421 2012-10-27  Andreas Jaeger  <aj@suse.de>
7423         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7424         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7426         [__WORDSIZE != 64]: Likewise.
7428 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7430         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7431         *  iconvdata/tst-tables.sh: Likewise.
7433 2012-10-25  David S. Miller  <davem@davemloft.net>
7435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7436         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7437         of strtoull.
7439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7440         ifunc-impl-list.c
7441         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7442         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7443         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7444         file.
7446 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7449         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7450         __getdirentries.
7452 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7453             Jim Blandy  <jimb@codesourcery.com>
7455         * scripts/cross-test-ssh.sh: New file.
7456         * manual/install.texi (Configuring and compiling): Document use of
7457         cross-test-ssh.sh.
7458         * INSTALL: Regenerated.
7460 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7462         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7463         EOPNOTSUPP.
7465 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7467         * Makeconfig (run-program-prefix): Fix comment.
7469 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7470             Jim Blandy  <jimb@codesourcery.com>
7472         * Makeconfig (test-wrapper): New variable,
7473         (test-wrapper-env): Likewise.
7474         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7475         (run-built-tests): Define to yes.
7476         (run-program-prefix): Use $(test-wrapper).
7477         (built-program-cmd): Likewise.
7478         * Rules (make-test-out): Use $(test-wrapper-env) and
7479         $(host-built-program-cmd).
7480         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7481         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7482         tst-pathopt.sh.
7483         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7484         $(test-wrapper-env) to tst-rtld-load-self.sh.
7485         ($(objpfx)order2.out): Use $(test-wrapper).
7486         ($(objpfx)tst-initorder.out): Likewise.
7487         ($(objpfx)tst-initorder2.out): Likewise.
7488         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7489         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7490         (test_wrapper_env): New variable.  Use it to run ld.so.
7491         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7492         Use it to run ld.so.
7493         (test_wrapper_env): Likewise.
7494         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7495         $(test-wrapper) to run-iconv-test.sh.
7496         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7497         (ICONV): Use $test_wrapper.
7498         * posix/Makefile ($(objpfx)globtest.out): Pass
7499         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7500         globtest.sh, not $(run-program-prefix).
7501         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7502         (test_wrapper): Likewise.
7503         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7504         set together with run_via_rtld_prefix.
7505         (run_program_prefix): Define in terms of test_wrapper and
7506         run_via_rtld_prefix.
7508 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7510         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7511         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7512         Targets removed.
7514         [BZ #14743]
7515         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7516         Declare __clock_getres, __clock_gettime, __clock_settime,
7517         __clock_nanosleep, and __clock_getcpuclockid.
7518         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7519         Remove librt_hidden_def (clock_gettime).
7520         * sysdeps/unix/clock_gettime.c: Likewise.
7521         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7522         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7523         * rt/clock_getres.c: Define __clock_getres as an alias.
7524         * sysdeps/posix/clock_getres.c: Likewise.
7525         * rt/clock_settime.c: Define __clock_settime as an alias.
7526         * sysdeps/unix/clock_settime.c: Likewise.
7527         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7528         * sysdeps/unix/clock_nanosleep.c: Likewise.
7529         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7530         * rt/clock-compat.c: New file.
7531         * rt/Makefile (librt-routines): Add clock-compat and move
7532         $(clock-routines) to ...
7533         (routines): ... here, new variable.
7534         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7535         Don't add get_clockfreq here.
7536         * rt/Versions (libc: GLIBC_2.17): New version set.
7537         Add clock_* symbols here.
7538         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7539         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7540         (GLIBC_2.17): Add clock_* symbols.
7541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7543         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7545         Likewise.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7547         Likewise.
7548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7552         * NEWS: Mention the move.
7554         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7555         Use __open, __read, __close rather than their public counterparts.
7556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7557         (__get_clockfreq_via_cpuinfo): Likewise.
7558         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7559         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7561         * config.h.in (HAVE_IFUNC): New #undef.
7562         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7563         was successful.
7564         * configure: Regenerated.
7566 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7568         * configure.in: Move READELF check to start of file.
7569         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7570         libc_cv_asm_gnu_indirect_function in the process.
7571         * configure: Regenerated.
7573 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7575         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7576         send the output to /dev/null.
7577         (libc_cv_cc_with_libunwind): Likewise.
7578         (libc_cv_as_noexecstack): Likewise.
7579         * configure: Regenerate.
7581 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7583         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7585         * posix/globtest.sh (TMPDIR): Do not set.
7586         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7587         (testout): Likewise.
7589 2012-10-24  Andreas Jaeger  <aj@suse.de>
7591         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7592         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7593         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7594         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7595         posix_fadvise64, posix_fallocate64.
7597         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7598         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7599         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7600         Likewise.
7601         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7602         Likewise.
7603         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7605         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7606         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7607         <bits/fcntl-linux.h>.
7608         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7611         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7612         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7613         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7614         [__WORDSIZE != 64]: Likewise.
7616 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7618         * Makeconfig (run-built-tests): New variable.
7619         * Rules [$(cross-compiling) = yes]: Change condition to
7620         [$(run-built-tests) = no].
7621         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7622         to [$(run-built-tests) = yes].
7623         * elf/Makefile [$(cross-compiling) = no]: Likewise
7624         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7625         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7626         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7627         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7628         * io/Makefile [$(cross-compiling) = no]: Likewise.
7629         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7630         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7631         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7632         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7633         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7634         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7635         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7636         * string/Makefile [$(cross-compiling) = no]: Likewise.
7638         * posix/Makefile ($(objpfx)globtest.out): Pass
7639         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7640         $(rtld-installed-name).
7641         * posix/globtest.sh (elf_objpfx): Remove variable.
7642         (rtld_installed_name): Likewise.
7643         (library_path): Likewise.
7644         (run_program_prefix): New variable.  Use for running globtest
7645         binary.
7647 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7648             Joseph Myers  <joseph@codesourcery.com>
7650         * Makeconfig (host-built-program-cmd): New variable.
7651         * elf/Makefile (tst-stackguard1-ARGS): Use
7652         $(host-built-program-cmd).
7653         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7654         (tst-spawn-ARGS): Likewise.
7655         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7657 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7658             Jim Blandy  <jimb@codesourcery.com>
7660         * Makeconfig (run-via-rtld-prefix): New variable.
7661         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7662         (built-program-cmd): Likewise.
7664 2012-10-22  Andreas Jaeger  <aj@suse.de>
7666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7667         __O_RSYNC if it exists, otherwise to O_SYNC.
7669 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7670             Joseph Myers  <joseph@codesourcery.com>
7672         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7673         /dev/null.
7674         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7675         from /dev/null
7676         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7677         /dev/null.
7679 2012-10-22  Andreas Jaeger  <aj@suse.de>
7681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7682         Define always.
7683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7686         bits/fcntl-linux.h.
7688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7689         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7692         to __O_LARGEFILE.
7693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7694         to __O_LARGEFILE.
7696 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7697             Joseph Myers  <joseph@codesourcery.com>
7699         * config.make.in (NM): New variable.
7701 2012-10-21  Andreas Jaeger  <aj@suse.de>
7703         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7704         definitions and declarations that are provided by
7705         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7707 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7709         [BZ #14683]
7710         * elf/Makefile (tests-static): Add tst-leaks1-static.
7711         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7712         ($(objpfx)tst-leaks1-static): New rule.
7713         ($(objpfx)tst-leaks1-static-mem): Likewise.
7714         (tst-leaks1-static-ENV): New macro.
7715         * elf/dl-open.c (dl_open_worker): Check the main application
7716         only if SHARED is defined.
7717         * elf/tst-leaks1-static.c: New file.
7719 2012-10-20  Andreas Jaeger  <aj@suse.de>
7721         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7722         generic values for Linux.
7723         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7724         and declarations that are provided by <bits/fcntl-linux.h> and
7725         include <bits/fcntl-linux.h>.
7726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7729 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7731         * io/fcntl.h: Move include of <bits/types.h> to the top and
7732         include it unconditionally.
7734 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7736         * wcsmbs/Makefile (tests-ifunc): New variable.
7737         (tests): Add $(tests-ifunc).
7738         * wcsmbs/test-wcschr-ifunc.c: New file.
7739         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7740         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7741         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7742         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7743         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7745         * string/Makefile (tests-ifunc): New variable.
7746         (tests): Add $(tests-ifunc).
7747         * string/test-memccpy.c (TEST_NAME): New macro.
7748         * string/test-memchr.c (TEST_NAME): Likewise.
7749         * string/test-memcmp.c (TEST_NAME): Likewise.
7750         * string/test-memcpy.c (TEST_NAME): Likewise.
7751         * string/test-memmem.c (TEST_NAME): Likewise.
7752         * string/test-memmove.c (TEST_NAME): Likewise.
7753         * string/test-memset.c (TEST_NAME): Likewise.
7754         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7755         * string/test-stpcpy.c (TEST_NAME): Likewise.
7756         * string/test-stpncpy.c (TEST_NAME): Likewise.
7757         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7758         * string/test-strcasestr.c (TEST_NAME): Likewise.
7759         * string/test-strcat.c (TEST_NAME): Likewise.
7760         * string/test-strchr.c (TEST_NAME): Likewise.
7761         * string/test-strcmp.c(TEST_NAME): Likewise.
7762         * string/test-strcpy.c (TEST_NAME): Likewise.
7763         * string/test-strcspn.c (TEST_NAME): Likewise.
7764         * string/test-strlen.c (TEST_NAME): Likewise.
7765         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7766         * string/test-strncmp.c (TEST_NAME): Likewise.
7767         * string/test-strncpy.c (TEST_NAME): Likewise.
7768         * string/test-strnlen.c (TEST_NAME): Likewise.
7769         * string/test-strpbrk.c (TEST_NAME): Likewise.
7770         * string/test-strrchr.c (TEST_NAME): Likewise.
7771         * string/test-strspn.c (TEST_NAME): Likewise.
7772         * string/test-strstr.c (TEST_NAME): Likewise.
7773         * string/test-bcopy-ifunc.c: New file.
7774         * string/test-bzero-ifunc.c: Likewise.
7775         * string/test-memccpy-ifunc.c: Likewise.
7776         * string/test-memchr-ifunc.c: Likewise.
7777         * string/test-memcmp-ifunc.c: Likewise.
7778         * string/test-memcpy-ifunc.c: Likewise.
7779         * string/test-memmem-ifunc.c: Likewise.
7780         * string/test-memmove-ifunc.c: Likewise.
7781         * string/test-mempcpy-ifunc.c: Likewise.
7782         * string/test-memset-ifunc.c: Likewise.
7783         * string/test-rawmemchr-ifunc.c: Likewise.
7784         * string/test-stpcpy-ifunc.c: Likewise.
7785         * string/test-stpncpy-ifunc.c: Likewise.
7786         * string/test-strcasecmp-ifunc.c: Likewise.
7787         * string/test-strcasestr-ifunc.c: Likewise.
7788         * string/test-strcat-ifunc.c: Likewise.
7789         * string/test-strchr-ifunc.c: Likewise.
7790         * string/test-strchrnul-ifunc.c: Likewise.
7791         * string/test-strcmp-ifunc.c: Likewise.
7792         * string/test-strcpy-ifunc.c: Likewise.
7793         * string/test-strcspn-ifunc.c: Likewise.
7794         * string/test-strlen-ifunc.c: Likewise.
7795         * string/test-strncasecmp-ifunc.c: Likewise.
7796         * string/test-strncat-ifunc.c: Likewise.
7797         * string/test-strncmp-ifunc.c: Likewise.
7798         * string/test-strncpy-ifunc.c: Likewise.
7799         * string/test-strnlen-ifunc.c: Likewise.
7800         * string/test-strpbrk-ifunc.c: Likewise.
7801         * string/test-strrchr-ifunc.c: Likewise.
7802         * string/test-strspn-ifunc.c: Likewise.
7803         * string/test-strstr-ifunc.c: Likewise.
7805         * debug/Makefile (tests-ifunc): New variable.
7806         (tests): Add $(tests-ifunc).
7807         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7808         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7809         * debug/test-stpcpy_chk-ifunc.c: New file.
7810         * debug/test-strcpy_chk-ifunc.c: Likewise.
7812 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7814         [BZ #13601]
7815         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7816         header is not read in.
7818 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7820         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7821         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7822         directly.  Pass built executable to script as
7823         $(built-program-cmd).
7824         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7825         $testprogram without using LD_LIBRARY_PATH and $ldso.
7827         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7828         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7829         $(rtld-installed-name).
7830         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7831         (rtld_installed_name): Likewise.
7832         (library_path): Likewise.
7833         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7834         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7835         $(run-program-prefix) to tst-tables.sh.
7836         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7837         it to run tst-table-from and tst-table-to.
7838         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7839         Pass it to tst-table.sh.
7840         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7841         $(run-program-prefix) to tst-gettext.sh.
7842         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7843         tst-translit.sh.
7844         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7845         tst-gettext2.sh.
7846         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7847         to run tst-gettext.
7848         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7849         to run tst-gettext2.
7850         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7851         to run tst-translit.
7852         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7853         $(run-program-prefix) to tst-mtrace.sh.
7854         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7855         to run tst-mtrace.
7856         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7857         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7858         $(rtld-installed-name).
7859         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7860         (rtld_installed_name): Likewise.
7861         (run_program_prefix): New variable.  Use it to run wordexp-test.
7863         * Makeconfig (ARCH): Remove all definitions.
7864         (machine): Likewise.
7865         [ARCH]: Remove conditional code.
7866         [!objdir]: Give error.
7867         [!objdir] (objpfx): Remove.
7868         [!objdir] (common-objpfx): Likewise.
7869         [!objdir] (common-objdir): Likewise.
7870         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7871         AC_CONFIG_FILES call.
7872         * configure: Regenerated.
7874         [BZ #13888]
7875         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7876         or TMPDIR.
7877         (testout): Likewise.
7879         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7880         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7881         $(rtld-installed-name).
7882         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7883         (rtld_installed_name): Likwise.
7884         (runit): Remove function.
7885         (run_getconf): New variable,  Use it for running getconf binary.
7887 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7889         [BZ #14716]
7890         * string/test-memmem.c (check_result): New function.
7891         (do_one_test): Use it.
7892         (check1): New function.
7893         (test_main): Use it.
7895 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7897         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7899 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7901         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7902         (_G_LSEEK64): Likewise.
7903         (_G_MMAP64): Likewise.
7904         (_G_FSTAT64): Likewise.
7905         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7906         (_G_LSEEK64): Likewise.
7907         (_G_MMAP64): Likewise.
7908         (_G_FSTAT64): Likewise.
7909         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7910         unconditional.  Call __mmap64 directly.
7911         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7912         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7913         __lseek64 directly.
7914         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7915         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7916         __mmap64 directly.
7917         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7918         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7919         __lseek64 directly.
7920         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7921         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7922         __lseek64 directly.
7923         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7924         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7925         __lseek64 directly.
7926         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7927         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7928         __fxstat64 directly.
7929         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7930         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7931         unconditional.
7932         (freopen64) [!_G_OPEN64]: Remove conditional code.
7933         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7934         unconditional.
7935         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7936         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7937         unconditional.
7938         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7939         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7940         unconditional.
7941         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7942         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7943         unconditional.
7944         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7945         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7946         unconditional.
7947         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7948         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7949         unconditional.
7950         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7951         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7952         unconditional.
7953         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7955 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         [BZ #12140]
7958         * manual/memory.texi (Malloc Tunable Parameters): Add note
7959         about free list pointers overwriting some perturb bytes.
7960         Wording suggested by Roland McGrath.
7962 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7964         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7965         (lgamma_test): Likewise.
7966         (tgamma_test): Likewise.
7968 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7970         [BZ #14700]
7971         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7972         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7974 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7976         * NEWS: Mention BZ #14716.
7977         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7978         when removing AVAILABLE1_USES_J macro.
7980 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7982         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7983         (__bswap_64): __uint64_t for unsigned 64-bit int.
7985 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7987         * include/string.h (memmem): Declare libc hidden alias.
7988         * string/memmem.c (memmem): Define libc hidden alias.
7989         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7990         __read, __close instead of open, read, close.
7992 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7995         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7996         global and hidden.
7997         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7998         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7999         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8000         Likewise.
8001         (__rawmemchr_sse2): Likewise.
8002         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8003         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8004         (__strchr_sse2): Likewise.
8005         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8006         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8007         (__strcasecmp_sse2): Likewise.
8008         (__strncasecmp_sse2): Likewise.
8009         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8010         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8011         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8012         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8013         (__strrchr_sse2): Likewise.
8014         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8015         ifunc-impl-list.c.
8016         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8017         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8018         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8019         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8020         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8022         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8023         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8024         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8025         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8026         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8027         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8028         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8029         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8030         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8031         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8032         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8033         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8034         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8035         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8036         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8037         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8038         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8039         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8040         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8041         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8042         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8043         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8044         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8045         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8047         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8048         global and hidden.
8049         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8050         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8051         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8052         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8053         Likewise.
8054         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8055         Likewise.
8056         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8057         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8058         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8059         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8060         ifunc-impl-list.c.
8061         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8062         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8063         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8070         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8071         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8072         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8073         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8074         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8075         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8076         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8077         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8078         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8079         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8080         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8081         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8082         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8083         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8084         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8085         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8086         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8087         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8088         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8089         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8090         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8091         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8094         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8095         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8096         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8097         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8098         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8099         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8100         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8101         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8103         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8104         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8105         * include/ifunc-impl-list.h: New file.
8106         * misc/ifunc-impl-list.c: Likewise.
8107         * misc/Makefile (routines): Add ifunc-impl-list.
8108         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8109         * string/test-string.h: Include <ifunc-impl-list.h>.
8110         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8111         impl_array): New variables.
8112         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8113         are defined.
8114         (test_init): Call __libc_ifunc_impl_list to initialize
8115         func_list if TEST_IFUNC and TEST_NAME are defined.
8117         * string/Makefile (strop-tests): Add bcopy and bzero.
8118         * string/test-bcopy.c: New file.
8119         * string/test-bzero.c: Likewise.
8120         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8121         defined.
8122         * string/test-memset.c: Support bzero test if TEST_BZERO is
8123         defined.
8124         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8125         __libc_memmove.
8126         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8127         __libc_memset.
8128         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8129         of memset.
8131 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8133         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8134         * configure: Regenerated.
8136         * Makeconfig (+link-static-before-libc): Don't include
8137         $(link-static-libc).
8139         * libio/libio.h (_IO_pos_t): Remove.
8141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8143         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8144         McGrath.
8146 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8148         * crypt/crypt-entry.c: Include fips-private.h.
8149         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8150         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8151         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8152         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8154 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8156         * crypt/crypt-private.h: Include stdbool.h.
8157         (_ufc_setup_salt_r): Return bool.
8158         * crypt/crypt-entry.c: Include errno.h.
8159         (__crypt_r): Return NULL with EINVAL for bad salt.
8160         * crypt/crypt_util.c (bad_for_salt): New.
8161         (_ufc_setup_salt_r): Check that salt is long enough and within
8162         the specified alphabet.
8163         * crypt/badsalttest.c: New file.
8164         * crypt/Makefile (tests): Add it.
8165         ($(objpfx)badsalttest): New.
8167 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8169         * NEWS: Add entry for BZ #14602.
8171 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8173         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8174         type-generic.
8175         * math/libm-test.inc: Update comment listing what functions and
8176         macros are tested.
8177         (isgreater_test): New function.
8178         (isgreaterequal_test): Likewise.
8179         (isless_test): Likewise.
8180         (islessequal_test): Likewise.
8181         (islessgreater_test): Likewise.
8182         (isunordered_test): Likewise.
8183         (main): Call the new functions.
8185 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8187         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8188         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8189         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8190         * sysdeps/i386/configure: Regenerated.
8191         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8192         * sysdeps/mach/configure: Regenerated.
8193         * sysdeps/mach/hurd/configure: Regenerated.
8194         * sysdeps/powerpc/configure: Regenerated.
8195         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8196         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8197         * sysdeps/s390/s390-32/configure: Regenerated.
8198         * sysdeps/s390/s390-64/configure: Regenerated.
8199         * sysdeps/sh/configure: Regenerated.
8200         * sysdeps/sparc/configure: Regenerated.
8201         * sysdeps/unix/sysv/linux/configure: Regenerated.
8202         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8203         * sysdeps/x86_64/configure: Regenerated.
8205         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8206         defined.  Don't check if MAP is NULL.
8208 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8210         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8211         (_G_stat64): Likewise.
8212         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8213         (_G_stat64): Likewise.
8214         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8215         instead of struct _G_stat64.
8216         * libio/fileops.c (mmap_remap_check): Likewise.
8217         (decide_maybe_mmap): Likewise.
8218         (_IO_new_file_seekoff): Likewise.
8219         (_IO_file_stat): Likewise.
8220         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8221         _G_off64_t.
8222         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8223         instead of struct _G_stat64.
8224         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8226 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8228         [BZ #14602]
8229         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8230         Replace with ...
8231         (CHECK_EOL): New macro.
8232         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8233         CHECK_EOL.
8234         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8235         Replace with CHECK_EOL.
8236         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8237         Replace with CHECK_EOL.
8239 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8241         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8242         type-generic.
8243         * math/libm-test.inc: Update comment listing what functions and
8244         macros are tested.
8245         (finite_test): New function.
8246         (isinf_test): Likewise.
8247         (isnan_test): Likewise.
8248         (fpclassify_test): Test subnormal input.
8249         (isfinite_test): Likewise.
8250         (isnormal_test): Likewise.
8251         (main): Call the new functions.
8253 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8255         [BZ #14660]
8256         * Makerules (%.dynsym): Force C locale when running
8257         $(OBJDUMP) --dynamic-syms.
8259 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8261         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8262         <stdint.h>.
8264 2012-10-06  David S. Miller  <davem@davemloft.net>
8266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8267         upper 32-bits of the length value in %o2 since we use branch-on-register
8268         tests which consider the entire 64-bit register.
8270 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8272         * string/test-strstr.c (check2): Add a test for page boundary.
8274 2012-10-05  David S. Miller  <davem@davemloft.net>
8276         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8278         file.
8279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8280         sysdep_routines.
8281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8282         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8283         and bzero when HWCAP_SPARC_CRYPTO is present.
8285 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
8287         [BZ #14602]
8288         * string/test-strstr.c (check2): New function.
8289         (test_main): Call check2.
8291         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8292         and bug-strchr1.
8293         * string/bug-strcasestr1.c (do_test): Moved to ...
8294         * string/test-strcasestr.c (check1): Here.  New function.
8295         (do_one_test): Break out result checking code into ...
8296         (check_result): This.  New function.
8297         (do_one_test): Call check_result.
8298         (test_main): Call check1.
8299         * string/bug-strchr1.c (do_test): Moved to ...
8300         * string/test-strchr.c (check1): Here.  New function.
8301         (do_one_test): Break out result checking code into ...
8302         (check_result): This.  New function.
8303         (do_one_test): Call check_result.
8304         (test_main): Call check1.
8305         * string/bug-strstr1.c (main): Moved to ...
8306         * string/test-strstr.c (check1): Here.  New function.
8307         (do_one_test): Break out result checking code into ...
8308         (check_result): This.  New function.
8309         (do_one_test): Call check_result.
8310         (test_main): Call check1.
8311         * string/bug-strcasestr1.c: Removed.
8312         * string/bug-strchr1.c: Likewise.
8313         * string/bug-strstr1.c: Likewise.
8315         * elf/Makefile (dl-routines): Add hwcaps.
8316         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8317         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8318         (_dl_important_hwcaps): Moved to ...
8319         * elf/dl-hwcaps.c: Here.  New file.
8320         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8322         [BZ #14557]
8323         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8324         if IS_IN_rtld isn't defined.
8326         * elf/dl-support.c (_dl_sysinfo_map): New.
8327         Include "get-dynamic-info.h" and "setup-vdso.h".
8328         (_dl_non_dynamic_init): Call setup_vdso.
8329         * elf/dynamic-link.h: Don't include <assert.h>.
8330         (elf_get_dynamic_info): Moved to ...
8331         * elf/get-dynamic-info.h: Here.  New file.
8332         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8333         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8334         * elf/setup-vdso.h: Here.  New file.
8335         * elf/rtld.c: Include "setup-vdso.h".
8336         (dl_main): Call setup_vdso.
8338 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8340         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8341         creal in comment listing functions tested.  List finite, isinf,
8342         isnan, isless, islessequal, isgreater, isgreaterequal,
8343         islessgreater, isunordered, lgamma_r and pow10 as functions and
8344         macros not tested.  Mention which functions not tested are aliases
8345         for other functions.  Fix typo.  Note that signs of NaNs are not
8346         tested.
8348         * scripts/config.guess: Update from config.git.
8349         * scripts/config.sub: Likewise.
8351 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8353         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8354         * misc/madvise.c (madvise): Renamed to __madvise.
8355         Make madvise a weak alias.
8356         * include/sys/mman.h: Declare __madvise.
8357         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8358         * sysdeps/unix/syscalls.list
8359         (madvise): Make __madvise the strong name, and madvise a weak alias.
8360         * sysdeps/unix/sysv/linux/syscalls.list
8361         (madvise, mmap): Remove redundant entries.
8362         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8363         * malloc/malloc.c (mtrim): Likewise.
8364         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8366 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8368         * sysdeps/mach/hurd/dl-cache.c: File removed.
8369         * config.h.in (USE_LDCONFIG): New #undef.
8370         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8371         * configure: Regenerated.
8372         * elf/Makefile (dl-routines): Add dl-cache only under
8373         [$(use-ldconfig) = yes].
8374         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8375         cache on [USE_LDCONFIG].
8376         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8377         [USE_LDCONFIG].
8378         * elf/rtld.c (dl_main): Likewise.
8380 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8382         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8383         _SC_LEVEL4_CACHE_LINESIZE.
8385 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8387         * sysdeps/unix/bsd/confstr.h: File removed.
8389 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8391         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8392         sys/sdt-config.h.
8394 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8396         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8397         Make 'mapoff' field ElfW(Off) rather than off_t.
8399 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8401         * nscd/Makefile: Remove nscd-cflags and all its users.
8402         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8403         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8405         [BZ #10631]
8406         * malloc.c (malloc_printerr): Clarify error message.
8408 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8410         [BZ #14648]
8411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8412         Set bit_FMA_Usable if FMA is supported.
8413         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8414         macro.
8415         (bit_FMA4_Usable): Updated.
8416         (index_FMA_Usable): New macro.
8417         (CPUID_FMA): Likewise
8418         (HAS_FMA): Defined with bit_FMA_Usable.
8420 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8422         * bits/types.h (__swblk_t): Type removed.
8423         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8424         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8426         (__SWBLK_T_TYPE): Likewise.
8427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8428         (__SWBLK_T_TYPE): Likewise.
8429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8430         (__SWBLK_T_TYPE): Likewise.
8431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8432         (__SWBLK_T_TYPE): Likewise.
8434 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8435             Honza Horak <hhorak@redhat.com>
8437         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8438         (xdr_mapname): Use YPMAXMAP as maxsize.
8439         (xdr_peername): Use YPMAXPEER as maxsize.
8440         (xdr_keydat): Use YPAXRECORD as maxsize.
8441         (xdr_valdat): Use YPMAXRECORD as maxsize.
8443 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8445         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8447         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8448         * csu/init-first.c: ... here.
8449         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8450         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8451         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8452         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8453         * sysdeps/i386/init-first.c: File removed.
8454         * sysdeps/sh/init-first.c: File removed.
8456 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8458         [BZ #14645]
8459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8460         if x * y might underflow to zero and z is zero.
8461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8463         * math/libm-test.inc (min_subnorm_value): New variable.
8464         (fma_test): Add more tests.
8465         (fma_test_towardzero): Likewise.
8466         (fma_test_downward): Likewise
8467         (fma_test_upward): Likewise.
8468         (initialize): Set min_subnorm_value.
8470 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8472         [BZ #14638]
8473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8474         0 + 0.
8475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8476         mode for addition resulting in exact zero.
8477         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8479         exact 0 + 0.
8480         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8482         * math/libm-test.inc (fma_test): Add more tests.
8483         (fma_test_towardzero): New function.
8484         (fma_test_downward): Likewise.
8485         (fma_test_upward): Likewise.
8486         (main): Call the new functions.
8488 2012-09-28  David S. Miller  <davem@davemloft.net>
8490         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8492 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8494         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8495         instead of SIGALRM.
8497         * sysdeps/gnu/_G_config.h: Moved to ...
8498         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8499         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8500         * sysdeps/generic/_G_config.h: ... here.
8502         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8504         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8506         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8507         Conditionalize target on [libnss_test1.so-version].
8509         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8511         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8512         (elfobjdir): Move out of conditionals.
8514         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8515         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8516         (__nss_lookup_function): Conditionalize label remove_from_tree on
8517         [!DO_STATIC_NSS || SHARED], matching its only use.
8519 2012-09-28  David S. Miller  <davem@davemloft.net>
8521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8522         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8523         file.
8524         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8525         sysdep_routines.
8526         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8528         when HWCAP_SPARC_CRYPTO is present.
8530 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8532         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8534 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8536         [BZ #6530]
8537         * stdio-common/vfprintf.c (process_string_arg): Revert
8538         2000-07-22 change.
8540 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8542         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8543         for testcase.
8544         * stdio-common/tst-sprintf.c: Include <locale.h>
8545         (main): Test sprintf's handling of incomplete multibyte
8546         characters.
8548 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8550         * elf/dl-runtime.c (VERSYMIDX): Removed.
8551         * elf/dl-version.c (VERSYMIDX): Likewise.
8552         * elf/do-rel.h (VERSYMIDX): Likewise.
8553         (VALIDX): Likewise.
8554         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8555         * elf/rtld.c (VALIDX): Likewise.
8556         (ADDRIDX): Likewise.
8557         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8558         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8559         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8560         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8561         (VALIDX): Likewise.
8562         (ADDRIDX): Likewise.
8564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8566         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8568 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8570         [BZ #11438]
8571         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8572         to global scope.
8573         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8574         addresses are in the same scope as 192.0.2/24.
8575         * posix/gai.conf: Document new scope table defaults.
8577 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8579         [BZ #5298]
8580         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8581         for ftell.  Compute offsets from write pointers instead.
8582         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8584 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8586         [BZ #14543]
8587         * libio/Makefile (tests): New test case tst-fseek.
8588         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8589         combination works in wide mode.
8590         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8591         state when the external buffer state changes.
8593 2012-09-27  David S. Miller  <davem@davemloft.net>
8595         [BZ #14376]
8596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8597         pass reloc->r_addend in as the 'high' argument to
8598         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8602 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8604         * rt/tst-aio2.c: Include <pthread.h>.
8605         * rt/tst-aio3.c: Likewise.
8607 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8609         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8611 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8613         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8614         contents on [SHARED].
8616 2012-09-26  Marek Polacek  <polacek@redhat.com>
8618         [BZ #14530]
8619         [BZ #13741]
8620         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8621         for C++ and GCC <4.3 as well as for non GCC compilers.
8623 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8627 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8629         * Makefile.in (all, install): Declare with .PHONY.
8630         Reported by Michael Hope <michael.hope@linaro.org>.
8632 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8634         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8635         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8636         system header.
8637         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8638         Likewise.
8639         (sydep_routines): Add the new and the internal functions.
8640         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8641         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8643         (GLIBC_2.17): Add the new function.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8645         (GLIBC_2.17): Likewise.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8647         (GLIBC_2.17): Likewise.
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8649         (GLIBC_2.17): Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8652 2012-09-25  Alan Modra  <amodra@gmail.com>
8654         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8655         Add release barrier before setting once_control to say
8656         initialisation is done.  Add hints on lwarx.  Use macro in
8657         place of isync.
8658         (clear_once_control): Add release barrier.
8660 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8662         [BZ #13629]
8663         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8664         specially.
8665         * math/s_clog10.c (__clog10): Likewise.
8666         * math/s_clog10f.c (__clog10f): Likewise.
8667         * math/s_clog10l.c (__clog10l): Likewise.
8668         * math/s_clogf.c (__clogf): Likewise.
8669         * math/s_clogl.c (__clogl): Likewise.
8670         * math/Makefile (libm-calls): Add x2y2m1.
8671         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8672         (__x2y2m1): Likewise.
8673         (__x2y2m1l): Likewise.
8674         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8675         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8676         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8677         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8678         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8679         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8680         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8681         * sysdeps/i386/fpu/libm-test-ulps: Update.
8682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8684         [BZ #14621]
8685         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8686         int as type of variable DEPTH.
8687         (glob): Use size_t instead of int as type of variables NEWCOUNT
8688         and OLD_PATHC.
8690 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8692         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8693         Add s_sincosf-sse2.
8694         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8695         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8696         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8697         macros for using routine as __sincosf_ia32.
8698         Use macro for function declaration and weak_alias.
8699         * sysdeps/i386/fpu/libm-test-ulps: Update.
8701         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8704         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8705         subnormal argument.
8706         * math/s_cexpf.c (__cexpf): Likewise.
8707         * math/s_csinf.c (__csinf): Likewise.
8708         * math/s_csinhf.c (__csinhf): Likewise.
8709         * math/s_ctanf.c (__ctanf): Likewise.
8710         * math/s_ctanhf.c (__ctanhf): Likewise.
8711         * math/s_ccosh.c (__ccoshf): Likewise.
8712         * math/s_cexp.c (__cexpl): Likewise.
8713         * math/s_csin.c (__csin): Likewise.
8714         * math/s_csinh.c (__csinh): Likewise.
8715         * math/s_ctan.c (__ctan): Likewise.
8716         * math/s_ctanh.c (ctanh): Likewise.
8717         * math/s_ccoshl.c (__ccoshl): Likewise.
8718         * math/s_cexpl.c (__cexpl): Likewise.
8719         * math/s_csinl.c (__csinl): Likewise.
8720         * math/s_csinhl.c (__csinhl): Likewise.
8721         * math/s_ctanl.c (__ctanl): Likewise.
8722         * math/s_ctanhl.c (__ctanhl): Likewise.
8724 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8726         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8727         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8728         (_IO_off_t): Define to __off_t, not _G_off_t.
8729         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8730         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8731         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8732         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8733         type of __dummy and __dummy2 fields.
8734         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8735         (_G_ssize_t): Likewise.
8736         (_G_off_t): Likewise.
8737         (_G_pid_t): Likewise.
8738         (_G_uid_t): Likewise.
8739         (_G_wchar_t): Likewise.
8740         (_G_wint_t): Likewise.
8741         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8742         (_G_ssize_t): Likewise.
8743         (_G_off_t): Likewise.
8744         (_G_pid_t): Likewise.
8745         (_G_uid_t): Likewise.
8746         (_G_wchar_t): Likewise.
8747         (_G_wint_t): Likewise.
8748         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8749         (_G_ssize_t): Likewise.
8750         (_G_off_t): Likewise.
8751         (_G_pid_t): Likewise.
8752         (_G_uid_t): Likewise.
8753         (_G_wchar_t): Likewise.
8754         (_G_wint_t): Likewise.
8756 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8758         * malloc/arena.c: Include malloc-sysdep.h.
8759         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8760         is sufficient to shrink the heap or an unmap is needed.
8761         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8762         new function check_may_shrink_heap.
8763         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8764         new function check_may_shrink_heap.
8766 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8768         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8769         comments.
8771 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8773         * catgets/test-gencat.sh: Add "set -e".
8774         * elf/tst-pathopt.sh: Likewise.
8775         * grp/tst_fgetgrent.sh: Likewise.
8776         * iconvdata/run-iconv-test.sh: Likewise.
8777         * intl/tst-gettext.sh: Likewise.
8778         * intl/tst-gettext2.sh: Likewise.
8779         * intl/tst-gettext4.sh: Likewise.
8780         * intl/tst-gettext6.sh: Likewise.
8781         * intl/tst-translit.sh: Likewise.
8782         * io/ftwtest-sh: Likewise.
8783         * libio/test-freopen.sh: Likewise.
8784         * malloc/tst-mtrace.sh: Likewise.
8785         * posix/globtest.sh: Likewise.
8786         * posix/tst-getconf.sh: Likewise.
8787         * posix/wordexp-tst.sh: Likewise.
8788         * stdio-common/tst-printf.sh: Likewise.
8789         * stdio-common/tst-unbputc.sh: Likewise.
8790         * stdlib/tst-fmtmsg.sh: Likewise.
8791         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8792         * catgets/Makefile: Do not specify -e option when running
8793         testsuite shell scripts.
8794         * elf/Makefile: Likewise.
8795         * grp/Makefile: Likewise.
8796         * iconvdata/Makefile: Likewise.
8797         * intl/Makefile: Likewise.
8798         * io/Makefile: Likewise.
8799         * libio/Makefile: Likewise.
8800         * malloc/Makefile: Likewise.
8801         * posix/Makefile: Likewise.
8802         * stdio-common/Makefile: Likewise.
8803         * stdlib/Makefile: Likewise.
8804         * sysdeps/x86_64/Makefile: Likewise.
8806         * io/ftwtest-sh: Add copyright header.
8807         * posix/globtest.sh: Likewise.
8808         * posix/tst-getconf.sh: Likewise.
8809         * posix/wordexp-tst.sh: Likewise.
8810         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8812 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8814         [BZ #13679]
8815         * Makeconfig (+link): Defined as $(+link-static) if
8816         $(build-shared) isn't yes.
8817         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8818         isn't yes.
8819         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8821         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8823         [BZ #14562]
8824         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8825         new chunk size with MALLOC_ALIGN_MASK.
8827 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8829         [BZ #5044]
8830         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8831         <rounding-mode.h>.
8832         (__printf_fphex): Determine rounding using get_rounding_mode and
8833         round_away.
8834         * stdio-common/tst-printf-round.c (struct hex_test): New
8835         structure.
8836         (hex_tests): New variable.
8837         (test_hex_in_one_mode): New function.
8838         (do_test): Also run tests for hex float output.
8840 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8842         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8843         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8844         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8845         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8846         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8847         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8848         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8849         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8851 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8853         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8854         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8855         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8856         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8858 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8860         [BZ #14579]
8861         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8862         mode only.
8863         * elf/tst-rtld-load-self.sh: New test.
8864         * elf/Makefile: Run it.
8866 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8868         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8869         (tst-writev-ENV): Remove.
8870         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8872 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8874         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8876 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8878         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8879         unconditional.
8880         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8881         Likewise.
8882         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8883         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8884         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8885         Likewise.
8887 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8889         [BZ #14587]
8890         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8891         * config.make.in (have-cpp-asm-debuginfo): Removed.
8892         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8893         * configure: Regenerated.
8895 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8897         [BZ #5044]
8898         * stdio-common/printf_fp.c: Include <stdbool.h> and
8899         <rounding-mode.h>.
8900         (___printf_fp): Determine rounding using get_rounding_mode and
8901         round_away.
8902         * stdio-common/tst-printf-round.c: New file.
8903         * stdio-common/Makefile (tests): Add tst-printf-round.
8904         (link-libm): New variable.
8905         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8907 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8909         [BZ #14576]
8910         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8911         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8912         Likewise.
8913         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8914         Likewise.
8916 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8918         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8919         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8920         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8921         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8923 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8925         [BZ #14518]
8926         * include/rounding-mode.h: New file.
8927         * sysdeps/generic/get-rounding-mode.h: Likewise.
8928         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8929         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8930         (MAX_VALUE): New macro.
8931         (MIN_VALUE): Likewise.
8932         (overflow_value): New function.
8933         (underflow_value): Likewise.
8934         (round_and_return): Use overflow_value and underflow_value to
8935         determine return values in overflow and underflow cases.  Use
8936         round_away to determine rounding depending on rounding mode.
8937         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8938         determine return values in overflow and underflow cases.
8939         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8940         (struct test_results): New structure.
8941         (struct test): Use struct test_results to store expected results
8942         for all rounding modes.
8943         (TEST): Include expected results for all rounding modes.
8944         (test_in_one_mode): New function.
8945         (do_test): Use test_in_one_mode to compute and check results.
8946         Check results for all rounding modes.
8947         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8948         $(link-libm).
8950 2012-12-09  Allan McRae  <allan@archlinux.org>
8952         * sysdeps/i386/fpu/libm-test-ulps: Update
8954 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8956         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8957         (_G_int32_t): Likewise.
8958         (_G_uint16_t): Likewise.
8959         (_G_uint32_t): Likewise.
8960         (_G_HAVE_BOOL): Likewise.
8961         (_G_HAVE_ATEXIT): Likewise.
8962         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8963         (_G_HAVE_IO_FILE_OPEN): Likewise.
8964         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8965         (_G_int32_t): Likewise.
8966         (_G_uint16_t): Likewise.
8967         (_G_uint32_t): Likewise.
8968         (_G_HAVE_BOOL): Likewise.
8969         (_G_HAVE_ATEXIT): Likewise.
8970         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8971         (_G_HAVE_IO_FILE_OPEN): Likewise.
8972         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8973         (_G_int32_t): Likewise.
8974         (_G_uint16_t): Likewise.
8975         (_G_uint32_t): Likewise.
8976         (_G_HAVE_BOOL): Likewise.
8977         (_G_HAVE_ATEXIT): Likewise.
8978         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8979         (_G_HAVE_IO_FILE_OPEN): Likewise.
8981 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8983         * csu/libc-tls.c: Update copyright years.
8985 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8987         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8988         [!_G_USING_THUNKS]: Remove conditional code.
8989         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8990         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8992         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8993         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8994         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8995         (_G_VTABLE_LABEL_PREFIX): Likewise.
8996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8997         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8998         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8999         (_G_VTABLE_LABEL_PREFIX): Likewise.
9000         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9001         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9002         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9003         (_G_VTABLE_LABEL_PREFIX): Likewise.
9004         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9006 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9008         * libio/Makefile: Include ../Makeconfig before tests.
9009         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9010         only if $(build-shared) is yes.
9012         * iconv/gconv_db.c: Update copyright years.
9014 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9016         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9017         unwind info if defined PIC. Fix special cases description.
9018         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9020         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9021         DP_HI_MASK entry.
9022         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9024 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9026         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9028         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9029         is NULL.
9031         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9032         (LDLIBS-tst-chk4): This.
9033         (LDFLAGS-tst-chk5): Renamed to ...
9034         (LDLIBS-tst-chk5): This.
9035         (LDFLAGS-tst-chk6): Renamed to ...
9036         (LDLIBS-tst-chk6): This.
9037         (LDFLAGS-tst-lfschk4): Renamed to ...
9038         (LDLIBS-tst-lfschk4): This.
9039         (LDFLAGS-tst-lfschk5): Renamed to ...
9040         (LDLIBS-tst-lfschk5): This.
9041         (LDFLAGS-tst-lfschk6): Renamed to ...
9042         (LDLIBS-tst-lfschk6): This.
9044         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9045         on $(common-objpfx)soversions.mk.
9047 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9049         [BZ #10014]
9050         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9051         example host name.
9053 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9055         * malloc/arena.c (arena_get_retry): New function that gets
9056         another arena for the caller to try its request on.
9057         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9058         current arena cannot fulfill the request.
9059         (__libc_memalign): Likewise.
9060         (__libc_memalign): Likewise.
9061         (__libc_pvalloc): Likewise.
9062         (__libc_calloc): Likewise.
9064 2012-09-05  John Tobey  <john.tobey@gmail.com>
9066         [BZ #13542]
9067         * manual/arith.texi (Operations on Complex): Fix description
9068         of carg branch cut.
9070 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9072         [BZ #10014]
9073         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9074         host name.
9076         [BZ #10038]
9077         * manual/memory.texi (Memory): Make order of menu items match
9078         order of sections.
9080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9082         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9083         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9084         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9086 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9088         * csu/libc-tls.c (static_dtv): Renamed to ...
9089         (_dl_static_dtv): This.  Make it global.
9090         (_dl_initial_dtv): Removed.
9091         (__libc_setup_tls): Updated.
9092         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9093         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9094         DL_INITIAL_DTV.
9096 2012-09-06  Petr Machata  <pmachata@redhat.com>
9098         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9099         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9100         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9101         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9105         [BZ #14545]
9106         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9107         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9108         freeing dtv[-1].
9110 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9112         [BZ #14544]
9113         * Makeconfig (link-static-before-libc): Replace $(+prector)
9114         with $(+prectorT).
9115         (link-static-after-libc): Replace $(+postctor) with
9116         $(+postctorT).
9117         (link-bounded): Replace $(+prector)/$(+postctor) with
9118         $(+prectorT)/$(+postctorT).
9119         (+prectorT): New macro.
9120         (+postctorT): Likewise.
9122 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9124         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9125         (round_str): Handle values above the maximum for IBM long double
9126         as inexact.
9127         * stdlib/tst-strtod-round.c (tests): Regenerated.
9129 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9131         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9132         assembler flag.
9133         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9134         zarch_nohighgprs around the zarch optimized routines.
9135         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9136         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9137         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9138         for zarch.
9140 2012-09-05  David S. Miller  <davem@davemloft.net>
9142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9144         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9145         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9146         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9147         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9148         entries.
9150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9152         * malloc/arena.c: Fold copyright years.
9153         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9157         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9159 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9161         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9165         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9166         change internal state upon failure.
9168 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9170         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9171         * malloc/memusage.c (mmap): Likewise.
9172         (mmap64, mremap): Likewise.  Adjust name in comment.
9174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9176         * libio/fileops.c: Fix typos in comments.
9177         * libio/oldfileops.c: Likewise.
9178         * libio/wfileops.c: Likewise.
9180 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9182         [BZ #1349]
9183         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9184         (tst-malloc-usable-ENV): Set environment for test case.
9185         * malloc/hooks.c (malloc_check_get_size): New function to get
9186         requested size.
9187         * malloc/malloc.c (musable): Use malloc_check_get_size.
9188         * malloc/tst-malloc-usable.c: New test case.
9190 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9192         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9194 2012-09-05  Allan McRae  <allan@archlinux.org>
9196         [BZ #13966]
9197         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9198         determine header location.
9199         * configure: Regenerated.
9201 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9203         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9204         float format.
9205         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9206         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9207         format.
9208         (test): Regenerate.
9210 2012-09-04  David S. Miller  <davem@davemloft.net>
9212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9214         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9216 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9218         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9219         failures.
9221         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9223 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9225         [BZ #9914]
9226         * libio/iogetdelim.c: Include <limits.h>.
9227         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9228         + len + 1 would overflow.
9230 2012-09-03  Andreas Jaeger  <aj@suse.de>
9232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9233         * sysdeps/i386/fpu/libm-test-ulps: Update.
9235 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9237         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9238         Add s_sinf-sse2, s_conf-sse2.
9240         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9241         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9242         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9243         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9245         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9246         for using routine as __sinf_ia32.
9247         Use macro for function declaration and weak_alias.
9248         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9249         for using routine as __cosf_ia32.
9250         Use macro for function declaration and weak_alias.
9252         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9253         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9255         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9256         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9259         * math/libm-test.inc (cos_test): Add more test cases.
9260         (sin_test): Likewise.
9261         (sincos_test): Likewise.
9263 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9265         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9266         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9267         hidden.
9268         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9270 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9272         [BZ #14538]
9273         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9274         first element of the GOT.
9275         (elf_machine_load_address): Return the difference between
9276         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9278 2012-09-01  Allan McRae  <allan@archlinux.org>
9280         [BZ #13412]
9281         * configure.in (AWK): Require gawk version 3.0 or later.
9282         * configure: Regenerated.
9284 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
9286         * sysdeps/unix/sysv/linux/kernel-features.h
9287         (__ASSUME_POSIX_CPU_TIMERS): Remove.
9288         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9289         [__NR_clock_getres]: Make code unconditional.
9290         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9291         (clock_getcpuclockid): Remove code left unreachable by removal of
9292         conditionals.
9293         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9294         code unconditional.
9295         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9296         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9297         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9298         Make code unconditional.
9299         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9300         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9301         * sysdeps/unix/sysv/linux/clock_settime.c
9302         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9303         conditional code.
9304         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9305         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9307 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9309         [BZ #14476]
9310         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9311         scripts/test-installation.pl.
9313         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9314         and $ld_so_version if it is set.
9316 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9318         [BZ #14516]
9319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9320         failure if reading from procfs failed.
9321         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9323 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9325         * sysdeps/unix/sysv/linux/kernel-features.h
9326         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9327         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9328         Remove conditional code.
9329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9330         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9331         Remove conditional code.
9332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9333         * sysdeps/unix/sysv/linux/i386/fxstat.c
9334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9336         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9337         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9339         * sysdeps/unix/sysv/linux/i386/lxstat.c
9340         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9342         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9343         Remove conditional code.
9344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9345         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9346         Remove conditional code.
9347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9348         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9349         <kernel-features.h>.
9350         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9351         Remove.
9352         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9353         Remove conditional code.
9354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9355         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9356         Remove conditional.
9358 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9360         [BZ #5400]
9361         * NEWS: Add fixed bug number.
9363 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9365         [BZ #14519]
9366         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9367         underflowing exponent in case of negative sign.
9368         * stdlib/tst-strtod-round-data: Add more tests.
9369         * stdlib/tst-strtod-round.c (tests): Regenerated.
9371         [BZ #3479]
9372         * stdlib/strtod_l.c (NDIG): Remove.
9373         (HEXNDIG): Likewise.
9374         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9375         smallest representable value.
9376         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9377         lie within an exact representation of 1/2 ulp of the result.
9378         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9379         unconditionally.
9380         (TENS_P9_IDX): Define unconditionally.
9381         (TENS_P9_SIZE): Likewise.
9382         (TENS_P10_IDX): Likewise.
9383         (TENS_P10_SIZE): Likewise.
9384         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9385         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9386         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9387         entries for 10^2^13 and 10^2^14.
9388         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9389         (TENS_P13_IDX): Define.
9390         (TENS_P13_SIZE): Likewise.
9391         (TENS_P14_IDX): Likewise.
9392         (TENS_P14_SIZE): Likewise.
9393         (_fpioconst_pow10): Change array size to
9394         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9395         unconditional.
9396         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9397         1024]: Add entries for 10^2^13 and 10^2^14.
9398         [LAST_POW10 > _LAST_POW10]: Remove #error.
9399         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9400         (_fpioconst_pow10): Change array size to
9401         FPIOCONST_POW10_ARRAY_SIZE.
9402         * stdlib/gen-fpioconst.c: New file.
9403         * stdlib/gen-tst-strtod-round.c: Likewise.
9404         * stdlib/tst-strtod-round-data: Likewise.
9405         * stdlib/tst-strtod-round.c: Likewise.
9406         * stdlib/Makefile (tests): Add tst-strtod-round.
9408         [BZ #14459]
9409         * stdlib/strtod_l.c: Include <stdint.h>.
9410         (NDEBUG): Do not define.
9411         (round_and_return): Change EXPONENT parameter to type intmax_t.
9412         Rearrange calculations to avoid internal overflow possibilities.
9413         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9414         Rearrange calculations to avoid internal overflow possibilities.
9415         Assert that number fits inside MPNSIZE limbs.
9416         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9417         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9418         calculations and add assertions to avoid internal overflow
9419         possibilities.  Add casts to avoid signed/unsigned operations.
9420         * stdlib/tst-strtod-overflow.c: New file.
9421         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9423 2012-08-25  Marek Polacek  <polacek@redhat.com>
9425         * time/time.h: Fix some typos in comments.
9427 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9429         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9430         * posix/tst-rfc3484-2.c: Likewise.
9431         * posix/tst-rfc3484-3.c: Likewise.
9433 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9435         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9436         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9438 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9440         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9441         #include of fxstatat64.c.
9443 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9445         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9446         * shadow/getspent_r.c: Likewise.
9447         * shadow/getspnam.c: Likewise.
9448         * shadow/getspnam_r.c: Likewise.
9449         * gshadow/getsgent.c: Likewise.
9450         * gshadow/getsgent_r.c: Likewise.
9451         * gshadow/getsgnam.c: Likewise.
9452         * gshadow/getsgnam_r.c: Likewise.
9453         * inet/getnetbyad.c: Likewise.
9454         * inet/getnetbyad_r.c: Likewise.
9455         * inet/getnetbynm.c: Likewise.
9456         * inet/getnetbynm_r.c: Likewise.
9457         * inet/getnetent.c: Likewise.
9458         * inet/getnetent_r.c: Likewise.
9459         * inet/getproto.c: Likewise.
9460         * inet/getproto_r.c: Likewise.
9461         * inet/getprtent.c: Likewise.
9462         * inet/getprtent_r.c: Likewise.
9463         * inet/getprtname.c: Likewise.
9464         * inet/getprtname_r.c: Likewise.
9465         * inet/getrpcbyname.c: Likewise.
9466         * inet/getrpcbyname_r.c: Likewise.
9467         * inet/getrpcbynumber.c: Likewise.
9468         * inet/getrpcbynumber_r.c: Likewise.
9469         * inet/getrpcent.c: Likewise.
9470         * inet/getrpcent_r.c: Likewise.
9471         * inet/getaliasent.c: Likewise.
9472         * inet/getaliasent_r.c: Likewise.
9473         * inet/getaliasname.c: Likewise.
9474         * inet/getaliasname_r.c: Likewise.
9475         * nscd/getgrgid_r.c: Likewise.
9476         * nscd/getgrnam_r.c: Likewise.
9477         * nscd/gethstbyad_r.c: Likewise.
9478         * nscd/gethstbynm3_r.c: Likewise.
9479         * nscd/getpwnam_r.c: Likewise.
9480         * nscd/getpwuid_r.c: Likewise.
9481         * nscd/getsrvbynm_r.c: Likewise.
9482         * nscd/getsrvbypt_r.c: Likewise.
9483         * nscd/gai.c: Likewise.
9485         * configure.in (build_nscd): New substituted variable, set
9486         by --disable-build-nscd and defaults to $use_nscd.
9487         * configure: Regenerated.
9488         * config.make.in (build-nscd): New substituted variable.
9489         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9490         Change conditional to require [$(build-nscd) = yes] as well.
9491         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9493         [BZ# 13696]
9494         * configure.in (use_nscd): New substituted variable, set by
9495         --disable-nscd.  If enabled, define USE_NSCD.
9496         * configure: Regenerated.
9497         * config.h.in: Add USE_NSCD.
9498         * config.make.in (use-nscd): New substituted variable.
9499         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9500         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9501         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9502         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9503         (CFLAGS-getgrnam_r.c): Likewise.
9504         (CFLAGS-initgroups.c): Likewise.
9505         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9506         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9507         Variables removed.
9508         * inet/getnetgrent_r.c
9509         (nscd_setnetgrent): New function, broken out of ...
9510         (setnetgrent): ... here.  Call it.
9511         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9512         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9513         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9514         * nscd/Makefile (routines, aux): Move definitions after include of
9515         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9516         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9517         Conditionalize on [USE_NSCD].
9518         (is_nscd, nscd_init_cb): Likewise.
9519         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9520         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9521         * nss/nss_db/db-init.c: Likewise.
9522         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9523         [USE_NSCD].
9524         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9525         (make_request): Use it.
9526         (cache_valid_p): New function.
9527         (__check_pf): Use it.
9528         * NEWS: Add item for --disable-nscd.
9530 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9532         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9533         to support sed >= 4.2.1-20-ga9bf076.
9534         * configure: Regenerated.
9536 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9538         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9539         Conditionalize whole body on [IREL].
9541 2012-08-22  Jeff Law <law@redhat.com>
9543         [BZ #14505]
9544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9545         if the family is PF_UNSPEC.
9547 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9549         * Makerules (lib-version): Rename from V.
9550         (install-lib-nosubdir): Change V to lib-version.
9552 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9554         [BZ #14252]
9555         * powerpc32/power6/wcschr.c: New file.
9556         * powerpc32/power6/wcscpy.c: New file.
9557         * powerpc32/power6/wcsrchr.c: New file.
9558         * powerpc64/power6/wcschr.c: New file.
9559         * powerpc64/power6/wcscpy.c: New file.
9560         * powerpc64/power6/wcsrchr.c: New file.
9562 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9564         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9565         (two_way_short_needle): Use it.
9566         * string/strstr.c (AVAILABLE1_USES_J): Define.
9567         * string/strcasestr.c: Likewise.
9569         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9570         array references.
9571         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9573         [BZ #11607]
9574         * NEWS: Add an entry.
9575         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9576         define their defaults.
9577         (two_way_short_needle): Detect end-of-string on-the-fly.
9578         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9579         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9580         * string/bug-strcasestr1.c: New test.
9581         * string/Makefile: Run it.
9583 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9585         [BZ #11607]
9586         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9587         the first character.
9589 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9591         * csu/elf-init.c (__libc_csu_irel): Function removed.
9592         * csu/libc-start.c (apply_irel): New function.
9593         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9595 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9597         * sysdeps/unix/sysv/linux/kernel-features.h
9598         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9599         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9600         <kernel-features.h>.
9601         [__NR_fadvise64_64]: Make code unconditional.
9602         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9603         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9604         !__NR_fadvise64_64)]: Likewise.
9605         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9606         !__NR_fadvise64_64))]: Likewise.
9607         [__NR_fadvise64]: Make code unconditional.
9608         [!__NR_fadvise64]: Remove conditional code.
9609         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9610         <kernel-features.h>.
9611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9612         unconditional.
9613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9614         conditional code.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9616         not include <kernel-features.h>.
9617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9618         unconditional.
9619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9620         conditional code.
9621         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9622         include <kernel-features.h>.
9623         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9624         unconditional.
9625         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9626         conditional code.
9628 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9631         slight instruction rearrangements per scrollpipe analysis.
9632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9634 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9636         * manual/syslog.texi (syslog; vsyslog, closelog):
9637         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9638         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9640         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9641         DSOCAPS to match condition on defining it.
9643 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9645         * sysdeps/unix/sysv/linux/kernel-features.h
9646         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9651         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9652         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9654         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9655         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9657         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9658         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9660         * sysdeps/unix/sysv/linux/kernel-features.h
9661         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9662         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9663         unconditional.
9664         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9665         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9666         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9667         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9668         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9669         Make code unconditional.
9670         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9671         (__mmap64) [!__NR_mmap2]: Likewise.
9672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9673         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9674         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9675         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9676         [__NR_mmap2]: Make code unconditional.
9677         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9678         (__mmap64) [!__NR_mmap2]: Likewise.
9680 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9682         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9684 2012-08-18  Andreas Jaeger  <aj@suse.de>
9686         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9688 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9690         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9691         * include/unistd.h (__have_sock_cloexec): Likewise.
9692         (__have_pipe2): Likewise.
9693         (__have_dup3): Likewise.
9695 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9697         [BZ #9685]
9698         * include/unistd.h (__have_pipe2): Change define into an extern int.
9699         (__have_dup3): Likewise.
9700         * socket/have_sock_cloexec.c: Include fcntl.h.
9701         (__have_pipe2): New variable.
9702         (__have_dup3): Likewise.
9704 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9706         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9708 2012-08-17  Marek Polacek  <polacek@redhat.com>
9710         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9711         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9713 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9715         * configure.in: Add AC_SUBST for sysheaders.
9716         * configure: Regenerated.
9717         * config.make.in (sysheaders): New substituted variable.
9719         * sysdeps/unix/mkfifo.c: Moved ...
9720         * sysdeps/posix/mkfifo.c: ... here.
9721         * sysdeps/unix/mkfifoat.c: Moved ...
9722         * sysdeps/posix/mkfifoat.c: ... here.
9724         * sysdeps/unix/utime.c: Moved ...
9725         * sysdeps/posix/utime.c: ... here.
9727         * sysdeps/unix/time.c: Moved ...
9728         * sysdeps/posix/time.c: ... here.
9729         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9730         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9732         * sysdeps/unix/nice.c: Moved ...
9733         * sysdeps/posix/nice.c: ... here.
9735         * sysdeps/unix/alarm.c: Moved ...
9736         * sysdeps/posix/alarm.c: ... here.
9738         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9740 2012-08-17  Jeff Law <law@redhat.com>
9742         * intl/Makefile (codeset_mo): New variable.
9743         ($(codeset_mo)): New target.
9744         (tst-codeset.out): Depend on that.  Remove explicit rule.
9745         (tst-gettext3.out, tst-gettext5.out): Likewise.
9746         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9747         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9748         * intl/tst-codeset.sh: Remove.
9749         * intl/tst-gettext3.sh: Likewise.
9750         * intl/tst-gettext5.sh: Likewise.
9752 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9754         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9755         * sysdeps/unix/syscalls.list: ... here.
9757         * sysdeps/posix/getaddrinfo.c
9758         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9759         (gaiconf_init, gaiconf_reload): Use them.
9760         [!_STATBUF_ST_NSEC]
9761         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9762         Define using time_t rather than struct timespec.
9764         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9765         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9766         Macros removed.
9767         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9768         [!NO_THREADS].
9769         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9770         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9771         Likewise.
9773         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9774         __libc_cleanup_push argument.
9776         * bits/param.h: New file.
9777         * misc/sys/param.h: New file.
9778         * include/sys/param.h: New file.
9779         * misc/Makefile (headers): Add bits/param.h.
9780         * sysdeps/generic/sys/param.h: File removed.
9781         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9782         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9783         * sysdeps/mach/hurd/bits/param.h: New file.
9784         * sysdeps/mach/hurd/sys/param.h: File removed.
9786         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9787         last change.
9789         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9790         [_IO_MTSAFE_IO].
9791         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9792         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9793         New macros.
9795         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9796         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9797         rather than -D_IO_MTSAFE_IO conditionally.
9798         * stdio-common/Makefile (CPPFLAGS): Likewise.
9799         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9800         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9801         Use $(libio-mtsafe).
9802         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9803         of -D_IO_MTSAFE_IO.
9804         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9805         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9806         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9807         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9808         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9809         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9810         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9811         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9812         (CFLAGS-fread_u_chk.c): Likewise.
9813         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9814         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9815         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9816         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9817         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9818         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9819         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9820         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9821         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9823         * libio/Makefile: Test [$(libc-reentrant) = yes]
9824         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9826         * Makeconfig
9827         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9828         * sysdeps/pthread/configure: File removed.
9829         * sysdeps/pthread/Makeconfig: New file.
9830         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9831         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9833 2012-08-16  Gary Benson  <gbenson@redhat.com>
9835         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9836         unmapping the first object in a namespace.
9838 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9840         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9841         (__internal_setnetgrent): ... this.  Add internal_function to
9842         definition.  Add libc_hidden_def.
9843         (setnetgrent): Update caller.
9844         (internal_endnetgrent): Renamed to ...
9845         (__internal_endnetgrent): ... this.  Add internal_function to
9846         definition.  Add libc_hidden_def.
9847         (endnetgrent): Update caller.
9848         (internal_getnetgrent_r): Renamed to ...
9849         (__internal_getnetgrent_r): ... this.  Add internal_function to
9850         definition.  Add libc_hidden_def.
9851         (__getnetgrent_r): Update caller.
9852         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9854 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9856         * stdlib/longlong.h: Update from GCC.
9858 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9860         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9861         on _QL, which is set by umul_ppmm but never used.
9862         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9863         variables, which are set by GMP macros but never used.
9864         * stdio-common/_itowa.c (_itowa): Likewise.
9865         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9866         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9868 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9870         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9871         struct La_sh_regs is not constant.
9872         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9873         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9874         and struct La_sparc64_regs are not constant.
9876 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9878         * sysdeps/unix/sysv/linux/kernel-features.h
9879         (__ASSUME_POSIX_TIMERS): Remove.
9880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9882         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9883         Make code unconditional.
9884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9885         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9886         Make code unconditional.
9887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9888         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9889         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9890         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9891         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9892         Make code unconditional.
9893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9894         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9895         (__libc_missing_posix_timers): Remove.
9897 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9899         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9900         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9902         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9904         * elf/dl-sym.c: Include <stdlib.h>.
9906         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9907         constants, which avoids warnings in 32-bit builds.
9909         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9910         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9912         * misc/lseek.c: File moved to ...
9913         * io/lseek.c: ... here.
9915         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9917         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9918         shifting LEN more than 31 bits at once.
9920 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9922         [BZ #14195]
9923         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9924         segmentation fault for a case of two empty input strings.
9925         * string/test-strncasecmp.c (check1): Renamed to...
9926         (bz12205): ...this.
9927         (bz14195): Add new testcase for two empty input strings and N > 0.
9928         (test_main): Call new testcase, adapt for renamed function.
9930 2012-08-15  Andreas Jaeger  <aj@suse.de>
9932         [BZ #14090]
9933         * crypt/md5test2.c: New test, based on test supplied by Serge
9934         Belyshev <belyshev@depni.sinp.msu.ru>.
9935         * crypt/Makefile (xtests): Add md5test-giant..
9936         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9938 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9940         [BZ #14090]
9941         * crypt/md5.c (md5_process_block): Don't assume the buffer
9942         length is less than 2**32.
9943         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9944         length is less than 2**64.
9946 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9948         * string/str-two-way.h: Include <sys/param.h>.
9949         (MAX): Macro removed.
9951         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9952         Move #define and #undef of memmove to just before and after
9953         including <string.h>.
9955         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9956         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9957         and after including <string.h>.  Move declarations of
9958         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9959         to before #include "string/memmove.c".
9961         * include/dirent.h: Declare __getdirentries.
9963         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9964         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9966 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9968         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9969         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9970         * sysdeps/i386/configure: Regenerated.
9971         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9972         STABS_CURRENT_FILE, and STABS_FUN.
9973         (END): Remove call to STABS_FUN_END.
9974         (STABS_CURRENT_FILE1): Delete.
9975         (STABS_CURRENT_FILE): Likewise.
9976         (STABS_FUN): Likewise.
9977         (STABS_FUN_END): Likewise.
9978         (STABS_FUN2): Likewise.
9979         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9980         * sysdeps/x86_64/configure: Regenerated.
9982 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9984         * elf/dl-open.c: Include <atomic.h>.
9985         * elf/dl-lookup.c: Likewise.
9987 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9989         * sysdeps/unix/sysv/linux/kernel-features.h
9990         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9991         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9992         unconditionally.
9993         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9994         unconditionally.
9995         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9996         condition on __ASSUME_CLONE_THREAD_FLAGS.
9998 2012-08-14  Andreas Jaeger  <aj@suse.de>
10000         * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10004         * include/atomic.h (atomic_exchange_and_add): Split into ...
10005         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10006         New atomic macros.
10008 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10012 2012-08-13  Jeff Law <law@redhat.com>
10014         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10015         null byte in the output string.
10017 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10019         * sysdeps/unix/sysv/linux/kernel-features.h
10020         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10021         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10022         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10023         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10024         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10025         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10026         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10028 2012-08-09  Jeff Law <law@redhat.com>
10030         [BZ #13939]
10031         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10032         When avoid_arena is set, don't retry in the that arena.  Pick the
10033         next one, whatever it might be.
10034         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10035         (arena_lock): Pass in new parameter to arena_get2.
10036         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10037         arena_get2.
10038         (__libc_malloc): Unify retrying after main arena failure with
10039         __libc_memalign version.
10040         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10042 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10044         [BZ #14166]
10045         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10046         to __redirect_strstr.
10047         (__strstr_sse42): Use typeof __redirect_strstr.
10048         (__strstr_ia32): Likewise.
10049         (__libc_strstr): New prototype.
10050         (strstr): Renamed to ...
10051         (__libc_strstr): This.
10052         (strstr): New strong alias of __libc_strstr.
10053         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10054         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10055         __redirect_time.
10056         Include <time.h>.
10057         (__libc_time): New prototype.
10058         (time_ifunc): Replace time with __libc_time.
10059         (time): New strong alias and hidden definition of __libc_time.
10060         (__GI_time): Remove strong alias.
10061         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10062         Include <stddef.h>.
10063         (memmove): Redefined to __redirect_memmove.
10064         (__memmove_sse2): Use typeof __redirect_memmove.
10065         (__memmove_ssse3): Likewise.
10066         (__memmove_ssse3_back): Likewise.
10067         (__libc_memmove): New prototype.
10068         (memmove): Renamed to ...
10069         (__libc_memmove): This.
10070         (memmove): New strong alias of __libc_memmove.
10072 2012-08-08  Mark Salter  <msalter@redhat.com>
10074         * elf/elf.h
10075         (R_MN10300_TLS_GD): Define.
10076         (R_MN10300_TLS_LD): Likewise.
10077         (R_MN10300_TLS_LDO): Likewise.
10078         (R_MN10300_TLS_GOTIE): Likewise.
10079         (R_MN10300_TLS_IE): Likewise.
10080         (R_MN10300_TLS_LE): Likewise.
10081         (R_MN10300_TLS_DTPMOD): Likewise.
10082         (R_MN10300_TLS_DTPOFF): Likewise.
10083         (R_MN10300_TLS_TPOFF): Likewise.
10084         (R_MN10300_SYM_DIFF): Likewise.
10085         (R_MN10300_ALIGN): Likewise.
10086         (R_MN10300_NUM): Update.
10088 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10091         Remove.
10093 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10095         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10097         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10098         sysdeps/unix -> sysdeps/posix move.
10099         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10101 2012-08-07      Allan McRae     <allan@archlinux.org>
10103         [BZ #14303]
10104         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10105         (SUNOS_CPP): Likewise.
10106         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10107         not found.
10108         (open_input): Call CPP using execvp.
10110 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10112         * sysdeps/unix/sysv/linux/kernel-features.h
10113         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10114         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10115         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10116         (__ASSUME_WAITID_SYSCALL): Likewise.
10117         * sysdeps/unix/sysv/linux/dl-execstack.c
10118         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10119         code unconditional.
10120         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10121         conditional code.
10122         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10123         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10124         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10125         code.
10126         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10127         unconditional.
10128         [__ASSUME_WAITID_SYSCALL]: Likewise.
10129         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10131 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10133         * sysdeps/unix/closedir.c: Renamed to ...
10134         * sysdeps/posix/closedir.c: ... here.
10135         * sysdeps/unix/dirfd.c: Renamed to ...
10136         * sysdeps/posix/dirfd.c: ... here.
10137         * sysdeps/unix/dirstream.h: Renamed to ...
10138         * sysdeps/posix/dirstream.h: ... here.
10139         * sysdeps/unix/fdopendir.c: Renamed to ...
10140         * sysdeps/posix/fdopendir.c: ... here.
10141         * sysdeps/unix/opendir.c: Renamed to ...
10142         * sysdeps/posix/opendir.c: ... here.
10143         * sysdeps/unix/readdir.c: Renamed to ...
10144         * sysdeps/posix/readdir.c: ... here.
10145         * sysdeps/unix/readdir_r.c: Renamed to ...
10146         * sysdeps/posix/readdir_r.c: ... here.
10147         * sysdeps/unix/rewinddir.c: Renamed to ...
10148         * sysdeps/posix/rewinddir.c: ... here.
10149         * sysdeps/unix/seekdir.c: Renamed to ...
10150         * sysdeps/posix/seekdir.c: ... here.
10151         * sysdeps/unix/telldir.c: Renamed to ...
10152         * sysdeps/posix/telldir.c: ... here.
10153         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10154         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10155         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10156         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10158         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10159         * bits/fcntl.h: ... here.
10161         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10162         not 0.
10163         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10164         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10165         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10166         (struct flock): Move l_start, l_len to the beginning.
10167         Use __pid_t for l_pid.
10168         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10169         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10170         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10171         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10172         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10173         [__USE_LARGEFILE64] (struct flock64): New type.
10174         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10176         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10177         * bits/dirent.h: ... here.
10179         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10180         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10182 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10185         Change from 2.6.0 to 2.6.16.
10186         * sysdeps/unix/sysv/linux/configure: Regenerated.
10187         * sysdeps/unix/sysv/linux/kernel-features.h
10188         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10189         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10190         version.
10191         (__ASSUME_UTIMES): Likewise.
10192         (__ASSUME_CLONE_STOPPED): Remove.
10193         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10194         architectures, not kernel version.
10195         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10196         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10197         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10198         (__ASSUME_WAITID_SYSCALL): Likewise.
10199         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10200         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10201         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10202         refer to older versions.
10204 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10206         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10207         Define alphasort64 as an alias.
10208         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10209         Define versionsort64 as an alias.
10210         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10211         Define scandir64 as an alias.
10212         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10213         Define scandirat64 as an alias.
10214         * dirent/alphasort64.c (alphasort64):
10215         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10216         * dirent/versionsort64.c: Likewise.
10217         * dirent/scandir64.c: Likewise.
10218         * dirent/scandirat64.c: Likewise.
10219         * sysdeps/wordsize-64/alphasort.c: File removed.
10220         * sysdeps/wordsize-64/alphasort64.c: File removed.
10221         * sysdeps/wordsize-64/scandir.c: File removed.
10222         * sysdeps/wordsize-64/scandir64.c: File removed.
10223         * sysdeps/wordsize-64/scandirat.c: File removed.
10224         * sysdeps/wordsize-64/scandirat64.c: File removed.
10225         * sysdeps/wordsize-64/versionsort.c: File removed.
10226         * sysdeps/wordsize-64/versionsort64.c: File removed.
10227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10228         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10230         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10232         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10233         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10234         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10236         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10238         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10240         [defined __arch64__ || defined __sparcv9]
10241         (__INO_T_MATCHES_INO64_T): New macro.
10242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10243         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10244         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10245         * sysdeps/unix/sysv/linux/bits/dirent.h
10246         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10247         (_DIRENT_MATCHES_DIRENT64): New macro.
10249         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10250         Define lockf64 as an alias.
10251         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10252         Define fseeko64 as an alias.
10253         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10254         Define ftello64 as an alias.
10255         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10256         Define _IO_fgetpos64 and fgetpos64 as aliases.
10257         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10258         Define _IO_fsetpos64 and fsetpos64 as aliases.
10259         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10260         Conditionalize body on this.
10261         * libio/fseeko64.c: Likewise.
10262         * libio/ftello64.c: Likewise.
10263         * libio/iofgetpos64.c: Likewise.
10264         * libio/iofsetpos64.c: Likewise.
10265         * sysdeps/wordsize-64/lockf.c: File removed.
10266         * sysdeps/wordsize-64/lockf64.c: File removed.
10267         * sysdeps/wordsize-64/fseeko.c: File removed.
10268         * sysdeps/wordsize-64/fseeko64.c: File removed.
10269         * sysdeps/wordsize-64/ftello.c: File removed.
10270         * sysdeps/wordsize-64/ftello64.c: File removed.
10271         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10272         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10273         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10274         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10276         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10278         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10280         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10282         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10283         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10284         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10286         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10288         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10290         [defined __arch64__ || defined __sparcv9]
10291         (__OFF_T_MATCHES_OFF64_T): New macro.
10292         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10293         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10295         (__OFF_T_MATCHES_OFF64_T): New macro.
10297 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10299         * stdlib/secure-getenv.c (__secure_getenv): Replace
10300         GLIBC_2_16 with GLIBC_2_17.
10302 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10305         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10307 2012-08-03  David S. Miller  <davem@davemloft.net>
10309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10311 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10313         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10314         Remove.
10315         (__ASSUME_CORRECT_SI_PID): Likewise.
10316         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10317         (__ASSUME_TMPFS_NAME): Likewise.
10318         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10319         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10320         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10321         (HAVE_AUX_SECURE): Make definition unconditional.
10322         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10323         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10325 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10327         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10328         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10329         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10330         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10331         __eloop_threshold instead of SYMLOOP_MAX.
10333         * sysdeps/generic/eloop-threshold.h: New file.
10334         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10335         of MAXSYMLINKS.
10336         * elf/chroot_canon.c (chroot_canon): Likewise.
10338 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10340         [BZ #13717]
10341         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10342         Change to 2.6.0 everywhere.
10343         * sysdeps/unix/sysv/linux/configure: Regenerated.
10344         * sysdeps/unix/sysv/linux/kernel-features.h
10345         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10346         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10347         kernel versions.
10348         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10349         (__ASSUME_FUTEX_REQUEUE): Remove.
10350         (__ASSUME_STATFS64): Define unconditionally.
10351         (__ASSUME_AT_SECURE): Likewise.
10352         (__ASSUME_CORRECT_SI_PID): Likewise.
10353         (__ASSUME_TGKILL): Define without depending on kernel version for
10354         i386.
10355         (__ASSUME_UTIMES): Likewise.
10356         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10357         kernel version.
10358         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10359         (__ASSUME_TMPFS_NAME): Likewise.
10360         * README: Update reference to Linux kernel versions.
10362 2012-08-02  Marek Polacek  <polacek@redhat.com>
10364         [BZ# 14150]
10365         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10366         libc_cv_asm_type_prefix with %.
10367         * configure: Regenerated.
10368         * include/libc-symbols.h: Remove comment about
10369         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10370         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10371         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10372         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10373         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10374         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10375         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10376         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10377         * elf/tst-unique2mod1.c: Likewise.
10378         * elf/tst-unique1mod2.c: Likewise.
10379         * elf/tst-unique1mod1.c: Likewise.
10380         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10381         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10382         Replace ASM_TYPE_DIRECTIVE with .type.
10383         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10384         * sysdeps/i386/sysdep.h: Likewise.
10385         * sysdeps/x86_64/sysdep.h: Likewise.
10386         * sysdeps/sh/sysdep.h: Likewise.
10387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10388         Do not define ASM_TYPE_DIRECTIVE.
10389         * sysdeps/powerpc/sysdep.h: Likewise.
10390         * sysdeps/powerpc/powerpc32/sysdep.h:
10391         Replace ASM_TYPE_DIRECTIVE with .type.
10392         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10393         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10394         * sysdeps/i386/fpu/e_powf.S: Likewise.
10395         * sysdeps/i386/fpu/e_expl.S: Likewise.
10396         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10397         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10398         * sysdeps/i386/fpu/e_pow.S: Likewise.
10399         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10400         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10401         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10402         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10403         * sysdeps/i386/fpu/e_log2.S: Likewise.
10404         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10405         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10406         * sysdeps/i386/fpu/e_powl.S: Likewise.
10407         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10408         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10409         * sysdeps/i386/fpu/e_logl.S: Likewise.
10410         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10411         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10412         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10413         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10414         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10415         * sysdeps/i386/fpu/e_log.S: Likewise.
10416         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10417         * sysdeps/i386/fpu/e_logf.S: Likewise.
10418         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10419         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10420         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10421         * sysdeps/i386/fpu/e_log10.S: Likewise.
10422         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10423         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10424         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10425         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10426         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10427         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10428         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10429         * sysdeps/i386/i686/strtok.S: Likewise.
10430         * sysdeps/i386/i386-mcount.S: Likewise.
10431         * sysdeps/i386/strtok.S: Likewise.
10432         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10433         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10434         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10435         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10436         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10437         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10438         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10439         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10440         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10441         * sysdeps/x86_64/_mcount.S: Likewise.
10442         * sysdeps/x86_64/strtok.S: Likewise.
10443         * sysdeps/sh/_mcount.S: Likewise.
10445 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10447         * libio/iofopen.c: Include <fcntl.h>.
10448         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10449         (_IO_fopen64, fopen64): Define as aliases.
10450         * libio/iofopen64.c: Include <fcntl.h>.
10451         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10452         Conditionalize body on this.
10453         * sysdeps/wordsize-64/iofopen.c: File removed.
10454         * sysdeps/wordsize-64/iofopen64.c: File removed.
10456 2012-08-01  Marek Polacek  <polacek@redhat.com>
10458         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10459         Use dlfcn directly instead of a variable.
10460         (binfmt-subdir): Do not define.
10461         (dlfcn): Likewise.
10463 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10466         Remove all definitions.
10467         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10468         <kernel-features.h>.
10469         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10470         (miss_F_GETOWN_EX): Remove all definitions.
10471         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10472         macro definition.
10473         [!__ASSUME_FCNTL64]: Remove conditional code.
10474         [__ASSUME_FCNTL64]: Make code unconditional.
10475         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10476         <kernel-features.h>.
10477         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10478         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10479         (lockf64) [__NR_fcntl64]: Make code unconditional.
10480         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10482         * sysdeps/unix/sysv/linux/kernel-features.h
10483         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10484         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10485         Make code unconditional.
10486         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10487         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10489         [__NR_vfork]: Make code unconditional.
10490         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10491         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10493         [__NR_vfork]: Make code unconditional.
10494         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10495         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10497 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10499         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10500         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10502         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10503         Define mkstemp64 as an alias.
10504         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10505         Define mkstemps64 as an alias.
10506         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10507         Define mkostemp64 as an alias.
10508         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10509         Define mkostemps64 as an alias.
10510         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10511         Conditionalize body on this.
10512         * misc/mkostemp64.c: Likewise.
10513         * misc/mkostemps64.c: Likewise.
10514         * misc/mkstemps64.c: Likewise.
10515         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10516         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10517         * sysdeps/wordsize-64/mkostemp.c: File removed.
10518         * sysdeps/wordsize-64/mkstemp.c: File removed.
10519         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10521         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10524         [BZ #14138]
10525         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10526         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10527         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10528         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10530         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10531         compat_symbol macros from <shlib-compat.h> rather than the underlying
10532         default_symbol_version and symbol_version macros, so that DEFAULT
10533         lines in shlib-versions are respected.
10534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10536 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10538         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10539         Declare with warn_unused_result.
10540         (setgid, setregid, setegid, setresgid): Likewise.
10541         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10542         Likewise.
10543         * WUR-REPORT: Remove set*id functions.
10545 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10547         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10549 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10551         * include/sys/socket.h (__libc_accept, __libc_accept4):
10552         Add attribute_hidden.
10553         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10556         use of PTR_MANGLE.
10557         * inet/getnetgrent_r.c (setup): Likewise.
10559         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10561 2012-07-31  David S. Miller  <davem@davemloft.net>
10563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10565 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10567         [BZ #13629]
10568         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10569         value between 1.0 and 2.0 and smaller part has absolute value less
10570         than 1.0.
10571         * math/s_clog10.c (__clog10): Likewise.
10572         * math/s_clog10f.c (__clog10f): Likewise.
10573         * math/s_clog10l.c (__clog10l): Likewise.
10574         * math/s_clogf.c (__clogf): Likewise.
10575         * math/s_clogl.c (__clogl): Likewise.
10576         * math/libm-test.inc (clog_test): Add more tests.
10577         (clog10_test): Likewise.
10578         * sysdeps/i386/fpu/libm-test-ulps: Update.
10579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10581 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10583         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10584         Exit with zero in case no suitable GID is found, and write a
10585         message to standard error.
10587 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10589         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10590         rather than to 1.
10591         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10592         (MAXPATHLEN): Removed.
10593         (NOGROUP, NODEV): New macros.
10594         (setbit, clrbit, isset, isclr): New macros.
10595         (howmany, roundup, powerof2): New macros.
10596         (DEV_BSIZE): New macro.
10598         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10599         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10601         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10602         definition on [!__NO_LONG_DOUBLE_MATH].
10604         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10605         PTR_MANGLE and PTR_DEMANGLE.
10607         * socket/accept4.c (accept4): Rename to __libc_accept4.
10608         Define accept4 as a weak alias.
10610         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10611         on [_DIRENT_HAVE_D_TYPE].
10612         * io/ftw.c (ftw_dir): Likewise.
10614         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10616         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10618         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10619         Use the BSD numbers rather than the arbitrary ones we had.
10620         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10621         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10622         (SIGXCPU, SIGXFSZ): New macros.
10623         (_NSIG): Now 32.
10625         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10626         initializer on [_LIBC_REENTRANT].
10628         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10629         definitions inside [_POSIX_MAPPED_FILES].
10631         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10633         * dirent/opendir.c: Include <fcntl.h>.
10635         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10636         (__libc_getspecific): Likewise.
10637         (__libc_key_create): Likewise.
10639         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10640         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10641         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10642         (tmpfile64): Define as alias.
10643         * sysdeps/wordsize-64/tmpfile.c: File removed.
10644         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10648         * stdio-common/vfscanf.c: Include <stdbool.h>.
10649         * nss/makedb.c: Likewise.
10650         * stdio-common/_i18n_number.h: Likewise.
10651         * argp/argp-help.c: Likewise.
10652         * posix/wordexp.c: Likewise.
10653         * sysdeps/posix/spawni.c: Likewise.
10654         * nss/nss_files/files-initgroups.c: Likewise.
10655         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10656         * nss/nss_files/files-initgroups.c: Likewise.
10657         * nss/nss_db/db-netgrp.c: Likewise.
10658         * nss/nss_db/db-initgroups.c: Likewise.
10659         * io/fchmodat.c: Include <sys/stat.h>.
10661         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10662         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10664         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10665         [HAVE_MMAP].
10667         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10668         Add multiple inclusion protection.
10670 2012-07-27  David S. Miller  <davem@davemloft.net>
10672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10674 2012-07-27  Gary Benson  <gbenson@redhat.com>
10676         [BZ #14298]
10677         * elf/rtld.c: Include <stap-probe.h>.
10678         (dl_main): Added static probes "init_start" and "init_complete".
10679         * elf/dl-load.c: Include <stap-probe.h>.
10680         (lose): Take new parameter "nsid".
10681         Added static probe "map_failed".
10682         (_dl_map_object_from_fd): Pass namespace id to lose.
10683         Added static probe "map_start".
10684         (open_verify): Pass namespace id to lose.
10685         * elf/dl-open.c: Include <stap-probe.h>.
10686         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10687         and "reloc_complete".
10688         * elf/dl-close.c: Include <stap-probe.h>.
10689         (_dl_close_worker): Added static probes "unmap_start" and
10690         "unmap_complete".
10691         * elf/rtld-debugger-interface.txt: New file documenting the above.
10693 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10695         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10696         rather than a string variable.
10697         * sunrpc/rpc_main.c (h_output): Likewise.
10698         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10700 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10702         * inet/check_native.c: New file.
10704 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10706         [BZ #13629]
10707         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10708         if larger part has absolute value 1.0.
10709         * math/s_clog10.c (__clog10): Likewise.
10710         * math/s_clog10f.c (__clog10f): Likewise.
10711         * math/s_clog10l.c (__clog10l): Likewise.
10712         * math/s_clogf.c (__clogf): Likewise.
10713         * math/s_clogl.c (__clogl): Likewise.
10714         * math/libm-test.inc (clog_test): Add more tests.
10715         (clog10_test): Likewise.
10716         * sysdeps/i386/fpu/libm-test-ulps: Update.
10717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10719         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10720         (pltexit): Likewise.
10721         (La_regs): Likewise.
10722         (La_retval): Likewise.
10723         (int_retval): Likewise.
10724         Update #error for removed macros to refer only to definitions in
10725         tst-audit.h.
10726         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10727         macro.
10728         (pltexit): Likewise.
10729         (La_regs): Likewise.
10730         (La_retval): Likewise.
10731         (int_retval): Likewise.
10732         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10733         macro.
10734         (pltexit): Likewise.
10735         (La_regs): Likewise.
10736         (La_retval): Likewise.
10737         (int_retval): Likewise.
10738         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10739         macro.
10740         (pltexit): Likewise.
10741         (La_regs): Likewise.
10742         (La_retval): Likewise.
10743         (int_retval): Likewise.
10744         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10745         macro.
10746         (pltexit): Likewise.
10747         (La_regs): Likewise.
10748         (La_retval): Likewise.
10749         (int_retval): Likewise.
10750         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10751         macro.
10752         (pltexit): Likewise.
10753         (La_regs): Likewise.
10754         (La_retval): Likewise.
10755         (int_retval): Likewise.
10756         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10757         macro.
10758         (pltexit): Likewise.
10759         (La_regs): Likewise.
10760         (La_retval): Likewise.
10761         (int_retval): Likewise.
10762         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10763         macro definitions in tst-audit.h.
10764         * sysdeps/i386/tst-audit.h: New file.
10765         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10766         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10767         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10768         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10769         * sysdeps/sh/tst-audit.h: Likewise.
10770         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10771         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10772         * sysdeps/x86_64/tst-audit.h: Likewise.
10774 2012-07-26  Andreas Jaeger  <aj@suse.de>
10776         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10777         ptrace.
10779         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10780         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10781         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10782         PTRACE_O_MASK.
10783         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10784         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10785         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10787         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10788         value.
10790         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10791         _sigsys.
10792         (si_call_addr, si_syscall, si_arch): Define new macro.
10793         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10794         _sigsys.
10795         (si_call_addr, si_syscall, si_arch): Define new marcro.
10796         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10797         _sigsys.
10798         (si_call_addr, si_syscall, si_arch): Define new macro.
10799         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10800         _sigsys.
10801         (si_call_addr, si_syscall, si_arch): Define new macro.
10803 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #13717]
10806         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10807         Change to 2.4.21 where previously 2.4.1.
10808         * sysdeps/unix/sysv/linux/configure: Regenerated.
10809         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10810         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10811         Linux kernel version.
10812         (__ASSUME_STD_AUXV): Remove.
10813         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10814         kernel version.
10815         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10816         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10817         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10818         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10819         (__ASSUME_NETLINK_SUPPORT): Likewise.
10820         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10821         (__no_netlink_support): Remove conditional definition.
10822         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10823         Remove.
10824         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10825         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10826         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10827         (if_nameindex_ioctl): Remove.
10828         (if_nameindex_netlink): Do not handle __no_netlink_support.
10829         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10830         code.
10831         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10832         Remove conditional code.
10833         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10834         code.
10835         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10836         unconditional.
10837         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10838         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10839         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10840         Remove.
10841         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10842         [!__ASSUME_STD_AUXV]: Remove conditional code.
10843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10844         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10845         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10848         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10849         code.
10850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10852         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10853         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10854         conditional code.
10855         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10857         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10858         code.
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10860         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10861         conditional code.
10862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10863         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10864         code unconditional.
10865         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10866         conditional code.
10867         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10868         unconditional.
10869         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10870         conditional code.
10871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10872         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10873         unconditional.
10874         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10875         conditional code.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10877         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10878         code unconditional.
10879         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10880         conditional code.
10881         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10882         unconditional.
10883         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10884         conditional code.
10885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10886         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10887         code unconditional.
10888         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10889         conditional code.
10890         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10891         unconditional.
10892         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10893         conditional code.
10895 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10897         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10898         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10899         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10900         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10901         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10902         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10903         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10904         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10905         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10906         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10907         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10908         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10909         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10910         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10911         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10912         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10913         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10914         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10915         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10917         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10918         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10919         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10921 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10923         * Versions.def: Add GLIBC_2.17.
10924         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10925         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10926         Introduce __libc_secure_getenv.
10927         * stdlib/Versions (2.17): Add secure_getenv
10928         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10929         * stdlib/secure-getenv.c: Rename __secure_getenv to
10930         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10931         symbol __secure_getenv for GLIBC_2.0.
10932         * stdlib/tst-secure-getenv.c: New.
10933         * stdlib/Makefile (tests): Add testcase.
10934         * manual/startup.texi (Environment Access): Document
10935         secure_getenv.
10936         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10937         __libc_secure_getenv.
10938         * inet/ruserpass.c (ruserpass): Likewise.
10939         * malloc/mtrace.c (mtrace): Likewise.
10940         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10941         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10942         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10943         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10944         HAVE_SECURE_GETENV.
10945         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10946         __secure_getenv to __libc_secure_getenv.
10947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10951         Likewise.
10952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10960 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10962         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10963         (struct La_i86_retval): Likewise.
10964         (struct La_x86_64_regs): Likewise.
10965         (struct La_x86_64_retval): Likewise.
10966         (struct La_x32_regs): Likewise.
10967         (struct La_x32_retval): Likewise.
10968         (struct La_ppc32_regs): Likewise.
10969         (struct La_ppc32_retval): Likewise.
10970         (struct La_ppc64_regs): Likewise.
10971         (struct La_ppc64_retval): Likewise.
10972         (struct La_sh_regs): Likewise.
10973         (struct La_sh_retval): Likewise.
10974         (struct La_s390_32_regs): Likewise.
10975         (struct La_s390_32_retval): Likewise.
10976         (struct La_s390_64_regs): Likewise.
10977         (struct La_s390_64_retval): Likewise.
10978         (struct La_sparc32_regs): Likewise.
10979         (struct La_sparc32_retval): Likewise.
10980         (struct La_sparc64_regs): Likewise.
10981         (struct La_sparc64_retval): Likewise.
10982         (struct audit_ifaces): Remove architecture-specific pltenter and
10983         pltexit members.
10984         * sysdeps/i386/ldsodefs.h: New file.
10985         * sysdeps/powerpc/ldsodefs.h: Likewise.
10986         * sysdeps/s390/ldsodefs.h: Likewise.
10987         * sysdeps/sh/ldsodefs.h: Likewise.
10988         * sysdeps/sparc/ldsodefs.h: Likewise.
10989         * sysdeps/x86_64/ldsodefs.h: Likewise.
10991 2012-07-25  Marek Polacek  <polacek@redhat.com>
10993         [BZ #6808]
10994         * math/libm-test.inc (yn_test): Add another test.
10995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10996         to ERANGE when the result is +-Inf.
10997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10998         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10999         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11000         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11002 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11004         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11005         equal to 0.
11006         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11007         clock_t.
11008         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11010 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11012         * configure.in <sysdeps resolving>: Correct printing
11013         Implies_before.
11014         * configure: Regenerate.
11016 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11018         * math/w_ilogb.c: Include <limits.h>.
11019         * math/w_ilogbl.c: Likewise.
11021 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11023         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11024         va_copy.  Document allowing for unavailable va_copy only as
11025         pre-C99 compatibility.
11026         * manual/string.texi (Copying and Concatenation): Use va_copy
11027         instead of __va_copy in concat example.
11029 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11031         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11032         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11033         it if not null.
11035         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11036         with O_NOLINK passed to __file_name_lookup.
11038         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11039         with O_NOLINK passed to __file_name_lookup.
11041         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11042         negative N or less than NGIDS.
11044         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11045         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11046         enough.  Use memcpy instead of strncpy.
11048 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11050         * elf/Makefile (check-data): Remove.
11051         (localplt.data): New vpath directive.
11052         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11053         instead of $(check-data).
11054         * scripts/data/localplt-generic.data: Move to ...
11055         * sysdeps/generic/localplt.data: ... here.
11056         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11057         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11058         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11060         ... here.
11061         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11063         ... here.
11064         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11066         ... here.
11067         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11069         ... here.
11070         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11072         ... here.
11073         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11075         ... here.
11077 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11079         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11080         PPC32 and PPC64 files.
11081         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11082         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11084 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11086         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11087         __makecontext_ret to ...
11088         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11089         ... here and call exit if uc_link is NULL.  New file.
11090         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11091         __makecontext_ret.S.
11092         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11093         __makecontext_ret to ...
11094         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11095         ... here and call exit if uc_link is NULL.  New file.
11096         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11097         __makecontext_ret.S.
11099 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11101         * elf/elf.h (R_390_IRELATIVE): New definition.
11102         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11103         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11104         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11105         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11106         (elf_machine_lazy_rel): Likewise.
11107         * sysdeps/s390/dl-irel.h: New file.
11108         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11109         * sysdeps/s390/s390-64/memset.S: New asm code.
11110         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11111         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11112         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11113         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11114         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11115         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11117         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11118         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11119         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11120         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11121         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11122         * sysdeps/s390/s390-32/memset.S: New asm code.
11123         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11125 2012-07-17  Marek Polacek  <polacek@redhat.com>
11127         [BZ #14349]
11128         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11129         * sysdeps/s390/s390-64/configure.in: Likewise.
11130         * sysdeps/sparc/configure.in: Likewise.
11131         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11132         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11133         * sysdeps/i386/configure.in: Likewise.
11134         * sysdeps/x86_64/configure.in: Likewise.
11135         * sysdeps/sh/configure.in: Likewise.
11136         * sysdeps/s390/s390-32/configure: Regenerated.
11137         * sysdeps/s390/s390-64/configure: Likewise.
11138         * sysdeps/x86_64/configure: Likewise.
11139         * sysdeps/sh/configure: Likewise.
11140         * sysdeps/powerpc/powerpc64/configure: Likewise.
11141         * sysdeps/powerpc/powerpc32/configure: Likewise.
11142         * sysdeps/sparc/configure: Likwise.
11143         * sysdeps/i386/configure: Likewise.
11145         * elf/dl-open.c: Comment fixes.
11147 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11149         * Makefile [CXX] (check-data): Remove.
11150         [CXX] (c++-types.data): New vpath directive.
11151         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11152         vpath.  Do not allow for C++ type data being missing.
11153         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11154         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11155         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11156         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11157         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11158         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11159         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11161         ... here.
11162         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11164         ... here.
11165         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11167         ... here.
11168         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11170         ... here.
11171         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11173         ... here.
11174         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11176         ... here.
11177         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11179         ... here.
11180         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11183         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11184         definitions to architecture-specific files.
11185         (TLS_IE): Likewise.
11186         (TLS_LD): Likewise.
11187         (TLS_GD): Likewise.
11188         * sysdeps/i386/tls-macros.h: New file.
11189         * sysdeps/powerpc/tls-macros.h: Likewise.
11190         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11191         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11192         * sysdeps/sh/tls-macros.h: Likewise.
11193         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11194         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11195         * sysdeps/x86_64/tls-macros.h: Likewise.
11197 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11199         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11200         zero value for regular exit case.
11202         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11203         (__start_context): Preserve zero value for regular exit case.
11205 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11206             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11208         * manual/setjmp.texi (setcontext): Clarify normal process
11209         termination when uc_link is the null pointer.
11210         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11211         exit call.
11213 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11215         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11216         preprocessor.  Test for each exception mask separately.
11218 2012-07-16  Andreas Jaeger  <aj@suse.de>
11220         * po/ru.po: Update from translation team.
11222 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11224         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11225         equal to 0.
11226         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11227         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11228         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11229         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11232 2012-07-13  Andreas Jaeger  <aj@suse.de>
11234         * po/fr.po: Update from translation team.
11236 2012-07-12  Marek Polacek  <polacek@redhat.com>
11238         [BZ #14173]
11239         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11240         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11241         loop condition.
11243 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11245         [BZ #13717]
11246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11247         Change to 2.4.1 where previously 2.4.0.
11248         * sysdeps/unix/sysv/linux/configure: Regenerated.
11249         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11250         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11251         version.
11252         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11253         (__ASSUME_AT_CLKTCK): Remove.
11254         (__ASSUME_AT_PAGESIZE): Likewise.
11255         (__ASSUME_AT_XID): Likewise.
11256         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11257         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11258         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11259         unconditionally.
11260         (HAVE_AUX_PAGESIZE): Likewise.
11261         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11262         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11263         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11265 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11267         [BZ #14307]
11268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11269         the temporary buffer used to invoke __gethostbyname2_r,
11270         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11271         host_data / struct gaih_addrtuple.
11272         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11273         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11274         header file nss/nsswitch.h.
11275         * nss/nsswitch.h (global scope): Add definition of implementation
11276         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11277         resolv/nss_dns/dns-host.c).
11279 2012-07-11  Andreas Jaeger  <aj@suse.de>
11281         * po/fr.po: Update from translation team.
11283         * po/sv.po: Update from translation team
11284         * po/fr.po: Another update from translation team.
11286 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11288         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11289         for subnormals or multiply small sinh result by itself.
11290         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11293 2012-07-11  David S. Miller  <davem@davemloft.net>
11295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11297 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11299         [BZ #14347]
11300         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11301         (INTERNAL_MARK): Shift it here.
11303 2012-07-10  Marek Polacek  <polacek@redhat.com>
11305         [BZ #14151]
11306         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11307         libc_cv_asm_global_directive with .globl.
11308         * configure: Regenerated.
11309         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11310         with .globl.
11311         * sysdeps/i386/configure: Regenerated.
11312         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11313         with .globl.
11314         * sysdeps/x86_64/configure: Regenerated.
11315         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11316         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11317         * elf/tst-unique2mod2.c: Likewise.
11318         * elf/tst-unique2mod1.c: Likewise.
11319         * elf/tst-unique1mod2.c: Likewise.
11320         * elf/tst-unique1mod1.c: Likewise.
11321         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11322         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11324         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11325         * sysdeps/mach/sysdep.h: Likewise.
11326         * sysdeps/i386/sysdep.h: Likewise.
11327         * sysdeps/i386/i386-mcount.S: Likewise.
11328         * sysdeps/x86_64/_mcount.S: Likewise.
11329         * sysdeps/x86_64/sysdep.h: Likewise.
11330         * sysdeps/sh/_mcount.S: Likewise.
11331         * sysdeps/sh/sysdep.h: Likewise.
11332         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11333         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11334         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11335         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11336         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11337         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11338         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11339         * locale/localeinfo.h: Likewise.
11340         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11341         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11343 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11345         [BZ #14336]
11346         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11347         system".
11348         * manual/message.texi (The Uniforum approach): Likewise.
11349         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11350         (glibc iconv Implementation): Likewise.
11352 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11354         [BZ #14337]
11355         * math/s_clog.c (__clog): Avoid scaling a value down where that
11356         could result in underflow.
11357         * math/s_clog10.c (__clog10): Likewise.
11358         * math/s_clog10f.c (__clog10f): Likewise.
11359         * math/s_clog10l.c (__clog10l): Likewise.
11360         * math/s_clogf.c (__clogf): Likewise.
11361         * math/s_clogl.c (__clogl): Likewise.
11362         * math/libm-test.inc (clog_test): Add more tests.
11363         (clog10_test): Likewise.
11364         * sysdeps/i386/fpu/libm-test-ulps: Update.
11365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11367 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11369         [BZ #14283]
11370         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11371         by 7 not 8 to examine high bit of fractional part.
11373         [BZ #14042]
11374         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11375         for call to __mcount_internal.
11376         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11377         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11378         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11380 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11382         [BZ #14154]
11383         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11384         approximation for values within 0x1p-13f of an odd multiple of
11385         pi/4.
11386         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11387         exception.  Add more tests.
11388         * sysdeps/i386/fpu/libm-test-ulps: Update.
11390         [BZ #6778]
11391         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11392         inputs and return -1 for them.  Do not check for +Inf in case not
11393         reachable for +Inf.
11394         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11395         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11397         and return -1 for them.  Do not check for +Inf in case not
11398         reachable for +Inf.
11399         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11400         define.
11401         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11402         and return -1 for them.  Do not check for +Inf in case not
11403         reachable for +Inf.
11404         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11405         spurious underflow.
11406         * sysdeps/i386/fpu/libm-test-ulps: Update.
11407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11409 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11411         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11413 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11415         [BZ #14157]
11416         [BZ #14331]
11417         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11418         could result in spurious underflow.  Scale down values above
11419         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11420         * math/s_csqrtf.c (__csqrtf): Likewise.
11421         * math/s_csqrtl.c (__csqrtl): Likewise.
11422         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11423         spurious underflow.
11424         * sysdeps/i386/fpu/libm-test-ulps: Update.
11425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11429         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11430         xopen-msg.sed.
11431         * catgets/xopen-msg.awk: New file.
11432         * catgets/xopen-msg.sed: Removed.
11434         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11435         po2text.sed.
11436         * intl/po2test.awk: New file.
11437         * intl/po2test.sed: Removed.
11439 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11441         [BZ #14328]
11442         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11443         or multiply small sinh result by itself.
11444         * math/s_ctanf.c (__ctanf): Likewise.
11445         * math/s_ctanh.c (__ctanh): Likewise.
11446         * math/s_ctanhf.c (__ctanhf): Likewise.
11447         * math/s_ctanhl.c (__ctanhl): Likewise.
11448         * math/s_ctanl.c (__ctanl): Likewise.
11449         * math/libm-test.inc (ctan_test_tonearest): New function.
11450         (ctan_test_towardzero): Likewise.
11451         (ctan_test_downward): Likewise.
11452         (ctan_test_upward): Likewise.
11453         (ctanh_test_tonearest): Likewise.
11454         (ctanh_test_towardzero): Likewise.
11455         (ctanh_test_downward): Likewise.
11456         (ctanh_test_upward): Likewise.
11457         (main): Call these new functions.
11458         * sysdeps/i386/fpu/libm-test-ulps: Update.
11459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11461 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11463         * .gitignore: Delete /ports entry.
11465 2012-07-03  Andreas Jaeger  <aj@suse.de>
11467         * po/bg.po: Update from translation team.
11468         * po/cs.po: Likewise.
11469         * po/de.po: Likewise.
11470         * po/hr.po: Likewise.
11471         * po/nl.pl: Likewise.
11472         * po/pl.po: Likewise.
11473         * po/vi.po: Likewise.
11475 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11477         * Makeconfig [!+link] (+link-before-libc): New variable.
11478         [!+link] (+link-after-libc): Likewise.
11479         [!+link] (+link-tests): Likewise.
11480         [!+link] (+link): Define in terms of $(+link-before-libc) and
11481         $(+link-after-libc).
11482         [!+link-static] (+link-static-before-libc): New variable.
11483         [!+link-static] (+link-static-after-libc): Likewise.
11484         [!+link-static] (+link-static-tests): Likewise.
11485         [!+link-static] (+link-static): Define in terms of
11486         $(+link-static-before-libc) and $(+link-static-after-libc).
11487         [build-shared] (link-libc-before-gnulib): New variable.
11488         [build-shared] (link-libc-tests): Likewise.
11489         [build-shared] (link-libc): Define in terms of
11490         $(link-libc-before-gnulib).
11491         [!build-shared] (link-libc-tests): New variable.
11492         (link-libc-static-tests): New variable.
11493         [!gnulib] (gnulib-arch): New variable.
11494         [!gnulib] (gnulib-tests): Likewise.
11495         [!gnulib] (static-gnulib-arch): Likewise.
11496         [!gnulib] (static-gnulib-tests): Likewise.
11497         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11498         Define with "=" instead of ":=".
11499         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11500         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11501         * Rules (binaries-all-notests): New variable.
11502         (binaries-all-tests): Likewise.
11503         (binaries-static-notests): Likewise.
11504         (binaries-static-tests): Likewise.
11505         (binaries-all): Define using $(binaries-all-notests) and
11506         $(binaries-all-tests).
11507         (binaries-static): Define using $(binaries-static-notests) and
11508         $(binaries-static-tests).
11509         (binaries-shared-tests): New variable.
11510         (binaries-shared-notests): Likewise.
11511         (binaries-shared): Remove variable.
11512         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11513         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11514         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11515         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11516         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11517         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11518         * elf/Makefile (sln-modules): New variable.
11519         (extra-objs): Add $(sln-modules:=.o).
11520         (ldconfig-modules): Add static-stubs.
11521         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11522         * elf/static-stubs.c: New file.
11524         [BZ #14283]
11525         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11526         by 7 not 8 to examine high bit of fractional part.  Use volatile
11527         variables when splitting into final array of floats if
11528         __FLT_EVAL_METHOD__ != 0.
11529         * math/libm-test.inc (cos_test): Add another test.
11530         (sin_test): Likewise.
11531         * sysdeps/i386/fpu/libm-test-ulps: Update.
11533         [BZ #14273]
11534         * math/libm-test.inc (cosh_test): Add more tests.
11536         * version.h (RELEASE): Set to "development".
11537         (VERSION): Set to "2.16.90".
11539 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11541         * NEWS: Update copyright. Remove last-updated date.
11542         Mention math library bug fixes and timezone data changes.
11543         * README: Mention GNU/Hurd, x32, and HPPA support status.
11545 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11547         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11549 2012-06-27  Andreas Jaeger  <aj@suse.de>
11551         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11553 2012-06-25  Andreas Jaeger  <aj@suse.de>
11555         * sysdeps/s390/fpu/libm-test-ulps: Update.
11557 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11558             Thomas Schwinge  <thomas@codesourcery.com>
11560         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11561         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11563         fanotify_mark.
11565 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11567         * sysdeps/mach/start.c: Remove file.
11568         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11569         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11570         * sysdeps/sh/init-first.c: Likewise.
11572         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11573         registers for frame unwinding purposes, add CFI directives.
11574         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11575         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11576         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11577         Likewise.
11579         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11580         __fortify_fail returning.
11581         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11583         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11584         sysdeps/sh/____longjmp_chk.S.
11585         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11586         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11587         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11588         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11590         * sysdeps/sh/abort-instr.h: New file.
11591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11592         process in case exit returns.
11594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11595         initialize the GOT register before use.
11597         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11598         calculation of ARGC > 4.
11600         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11601         meaningful names to some local labels.
11603 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11604             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11606         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11607         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11608         (__arch_compare_and_exchange_val_16_acq): Likewise.
11609         (__arch_compare_and_exchange_val_32_acq): Likewise.
11610         (atomic_exchange_and_add): Fix gUSA sequence.
11611         (atomic_add): Likewise.
11612         (atomic_add_negative): Likewise.
11613         (atomic_add_zero): Likewise.
11614         (atomic_bit_test_set): Likewise.
11616 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11618         [BZ #13579]
11619         * include/link.h (struct link_map): Add l_free_initfini.
11620         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11621         l_initfini.
11622         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11623         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11624         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11625         set.
11627 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11629         * configure.in: Use AC_LANG_SOURCE.
11630         * configure: Regenerate.
11632 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11634         * configure.in (libc_cv_localstatedir): New substituted variable.
11635         * configure: Regenerated.
11636         * config.make.in (localstatedir): New variable, substituted from
11637         libc_cv_localstatedir.
11638         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11639         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11640         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11641         * sysdeps/gnu/configure: Regenerated.
11643 2012-06-21  Jeff Law  <law@redhat.com>
11645         [BZ #14277]
11646         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11647         free.  Simplify list management for _LIBC case.
11649 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11651         [BZ #14273]
11652         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11653         Clear sign bit of 64-bit integer value before comparing against
11654         overflow value.
11656         * sysdeps/mach/configure: Regenerated.
11658 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11660         [BZ #14278]
11661         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11663 2012-06-21  Jeff Law  <law@redhat.com>
11665         [BZ #13882]
11666         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11667         uint16_t for elements in the "seen" array to avoid char overflows.
11668         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11669         * elf/dl-open.c (dl_open_worker): Likewise.
11671 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11673         * scripts/list-sources.sh: Scan PORTS for translations.
11674         * po/libc.pot: Regenerated.
11676 2012-06-21  Andreas Jaeger  <aj@suse.de>
11678         [BZ #12194]
11679         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11680         warning.
11681         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11682         * bits/byteswap-16.h (__bswap_16): Likewise.
11683         * bits/byteswap.h (__bswap_constant_16): Likewise.
11685 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11687         [BZ #14117]
11688         * sysdeps/i386/fpu_control.h: Removed.
11689         * sysdeps/x86_64/fpu_control.h: Moved to ...
11690         * sysdeps/x86/fpu_control.h: Here.
11692         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11693         (_FPU_SETCW): Likewise.
11695 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11697         [BZ #14117]
11698         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11699         * sysdeps/x86/fpu/bits/mathinline.h: This.
11700         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11702         [BZ #14050]
11703         [BZ #14117]
11704         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11705         functions if __x86_64__ is defined.
11707 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11709         * string/endian.h: Add !__ASSEMBLER__ condition for including
11710         conversion interfaces.
11712 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11714         [BZ #14241]
11715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11716         of ABS(x) in calculating zero to negative powers other than odd
11717         integers.
11718         * math/libm-test.inc (pow_test): Add more tests.
11720 2012-06-15  Andreas Jaeger  <aj@suse.de>
11722         * manual/contrib.texi (Contributors): Update entry of Liubov
11723         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11724         Machado Filho.
11726 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11728         * string/string.h: Add __wur to GNU version of strerror_r.
11730 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11732         [BZ #14229]
11733         * string/Makefile (tests): Add tst-strtok_r.
11734         * string/tst-strtok_r.c: New file.
11735         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11736         RAX_LP/RDX_LP on SAVE_PTR.
11738 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11740         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11742 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11744         * libm_test.inc (csqrt_test): Allow more spurious underflow
11745         exceptions.
11746         (j0_test): Likewise.
11747         (j1_test): Likewise.
11748         (y0_test): Likewise.
11749         (y1_test): Likewise.
11751 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11753         * po/Makefile (libc.pot): Use UTF-8 charset.
11755 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11757         [BZ #14210]
11758         Suppress sign-conversion warning from FD_SET.
11759         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11760         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11761         not unsigned long int.
11762         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11764 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11766         [BZ #14050]
11767         [BZ #14117]
11768         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11769         __extern_always_inline instead of __extern_inline.
11770         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11771         (__signbit): Likewise.
11772         (__signbitl): Support C++ namespace.
11773         (lrintf): New inline function.
11774         (lrint): Likewise.
11775         (llrintf): Likewise.
11776         (llrint): Likewise.
11777         (fmaxf): Likewise.
11778         (fmax): Likewise.
11779         (fminf): Likewise.
11780         (fmin): Likewise.
11781         (rint): Likewise.
11782         (rintf): Likewise.
11783         (ceil): Likewise.
11784         (ceilf): Likewise.
11785         (floor): Likewise.
11786         (floorf): Likewise.
11787         (nearbyint): Likewise.
11788         (nearbyintf): Likewise.
11790 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11793         non-default versions.
11795 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11797         [BZ #14218]
11798         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11800 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11802         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11803         (FE_UPWARD, FE_DOWNWARD): Don't define.
11804         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11805         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11807         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11808         reading it.
11809         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11810         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11812 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11814         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11816         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11817         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11819 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11821         [BZ #14117]
11822         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11823         * sysdeps/i386/fpu/Implies: New file.
11824         * sysdeps/x86_64/fpu/Implies: Likewise.
11825         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11826         * sysdeps/x86/fpu/bits/fenv.h: This.
11828         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11829         __SSE_MATH__.
11831 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11833         [BZ #14134]
11834         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11835         character 0xffff that matches the last element of the
11836         conversion table.
11838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11841         fmodl commit.
11843 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11846         values higher than 25.6283.
11848 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11850         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11851         subnormal exponent extraction and add some __builtin_expect.
11852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11853         Fix for subnormal mantissa calculation.
11855 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11857         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11858         cpu2 is -1 and errno is not ENOSYS.
11860 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11862         [BZ #14117]
11863         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11864         * sysdeps/x86/bits/string.h: This.
11865         * sysdeps/x86_64/bits/string.h: Removed.
11867         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11868         if not compiling for x86-64, but compiling for >= i486.
11870         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11871         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11873         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11874         New macro from Linux kernel 3.4.0.
11875         (FP_XSTATE_MAGIC2): Likewise.
11876         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11877         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11878         (struct _fpx_sw_bytes): New struct.
11879         (struct _xsave_hdr): Likewise.
11880         (struct _ymmh_state): Likewise.
11881         (struct _xstate): Likewise.
11883         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11884         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11885         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11886         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11887         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11888         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11890         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11891         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11892         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11893         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11894         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11895         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11897 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11899         [BZ #13743]
11900         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11901         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11902         (sysdep_headers): Include sys/platform/ppc.h.
11903         * sysdeps/powerpc/test-gettimebase.c: Test for
11904         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11905         * manual/Makefile (appendices): Include platform.texi.
11906         * manual/contrib.texi (Contributors): Update @node pointers.
11907         * manual/maint.texi (Maintenance): Likewise.
11908         (Platform): New node.
11909         * manual/platform.texi: New file.  Document the new features.
11911 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11912             Jakub Jelinek  <jakub@redhat.com>
11914         [BZ #14188]
11915         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11916         where __builtin_expect is unavailable.
11918 2012-06-03  David S. Miller  <davem@davemloft.net>
11920         * stdlib/longlong.h: Updated from GCC.
11922 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11924         [BZ #14042]
11925         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11926         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11927         __mcount_internal.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11929         (GLIBC_2.16): Likewise.
11931 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11933         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11935 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11938         (default-abi): New variable.
11939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11940         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11941         variable.
11942         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11943         Likewise.
11944         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11945         Likewise.
11946         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11947         Likewise.
11949         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11950         definition.  Document in comment.
11952 2012-06-01  David S. Miller  <davem@davemloft.net>
11954         * stdlib/longlong.h: Updated from GCC.
11956 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11958         [BZ #14117]
11959         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11960         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11961         sys/debugreg.h sys/io.h here.
11962         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11963         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11964         sys/io.h.
11965         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11966         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11967         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11968         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11969         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11970         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11972         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11973         Define only if __x86_64__ is defined.
11975 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11977         [BZ #14048]
11978         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11979         Use int64_t for variable i.
11980         * math/libm-test.inc (fmod_test): Add more tests.
11982         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11983         z computation is not scheduled after fetestexcept.
11984         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11985         Use math_force_eval instead of asm to ensure calculation scheduled
11986         before exception test.
11987         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11988         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11990 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11993         computation is not scheduled after fetestexcept.
11995 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11997         [BZ #14117]
11998         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11999         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12001 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12003         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12004         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12006 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12008         [BZ #14117]
12009         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12010         <bits/wordsize.h>.
12011         (__WCHAR_MIN): Support __WORDSIZE == 64.
12012         (__WCHAR_MAX): Likewise.
12014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12015         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12017         [BZ #14183]
12018         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12019         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12021         [BZ #14117]
12022         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12025         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12026         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12029         Defined to 1 if __x86_64__ isn't defined.
12030         (_STAT_VER_LINUX_OLD): New.
12031         (st_atime): Remove duplicate.
12032         (st_mtime): Likewise.
12033         (st_ctime): Likewise.
12035 2012-05-31  David S. Miller  <davem@davemloft.net>
12037         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12038         entries.
12040 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12042         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12043         gen-libm-test.pl.
12045         [BZ #14132]
12046         * elf/dl-reloc.c: Include <_itoa.h>.
12047         (_dl_reloc_bad_type): Remove use of INTUSE.
12048         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12049         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12050         * stdio-common/psiginfo.c (psiginfo): Likewise.
12051         * stdio-common/psignal.c (psignal): Likewise.
12052         * string/strsignal.c (strsignal): Likewise.
12053         * include/signal.h (_sys_siglist): Declare hidden proto.
12054         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12055         INTVARDEF with libc_hidden_data_def.
12056         * stdio-common/itoa-udigits.c: Likewise.
12057         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12058         (_itoa_lower_digits_internal): Remove declaration.
12059         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12060         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12061         (_sys_sigabbrev_internal): Remove aliases.
12062         (_sys_siglist): Define hidden alias.
12064 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12067         bits/sysctl.h.
12069 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12071         [BZ #14117]
12072         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12073         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12075         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12076         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12077         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12078         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12079         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12080         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12082         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12083         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12084         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12086         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12087         with __addr.
12088         (insw): Likewise.
12089         (insl): Likewise.
12090         (outsb): Likewise.
12091         (outsw): Likewise.
12092         (outsl): Likewise.
12094         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12095         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12096         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12098         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12099         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12100         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12101         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12102         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12103         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12105         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12106         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12108         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12109         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12112         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12113         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12115         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12116         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12117         to ...
12118         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12120         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12121         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12122         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12124         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12125         for x86-64.
12126         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12128 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12130         * math/math.h (M_El): Use two more decimal places.
12131         (M_LOG2El): Likewise.
12132         (M_LOG10El): Likewise.
12133         (M_LN2l): Likewise.
12134         (M_LN10l): Likewise.
12135         (M_PIl): Likewise.
12136         (M_PI_2l): Likewise.
12137         (M_PI_4l): Likewise.
12138         (M_1_PIl): Likewise.
12139         (M_2_PIl): Likewise.
12140         (M_2_SQRTPIl): Likewise.
12141         (M_SQRT2l): Likewise.
12142         (M_SQRT1_2l): Likewise.
12144 2012-05-31  David S. Miller  <davem@davemloft.net>
12146         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12147         values between float registers.
12148         * sysdeps/sparc/sparc64/memset.S: Likewise.
12149         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12151 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12153         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12154         -D_FORTIFY_SOURCE=1.
12155         (CPPFLAGS-tst-longjmp_chk.c): Define.
12156         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12157         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12158         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12159         CFLAGS-tst-wchar-h.c.
12161 2012-05-31  Marek Polacek  <polacek@redhat.com>
12163         [BZ #14132]
12164         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12165         __endmntent_internal): Remove declaration.
12166         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12167         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12168         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12170 2012-05-30  David S. Miller  <davem@davemloft.net>
12172         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12173         (___Q_simulate_exceptions): Use real FP ops rather than writing
12174         into the %fsr.
12175         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12176         Likewise.
12178 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12180         [BZ #14117]
12181         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12182         * sysdeps/x86/bits/xtitypes.h: This.
12184         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12185         * sysdeps/x86/bits/wordsize.h: This.
12187         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12188         * sysdeps/x86/bits/huge_vall.h: This.
12190         * sysdeps/i386/bits/select.h: Removed.
12191         * sysdeps/x86_64/bits/select.h: Renamed to ...
12192         * sysdeps/x86/bits/select.h: This.
12194         * sysdeps/i386/bits/setjmp.h: Removed.
12195         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12196         * sysdeps/x86/bits/setjmp.h: This.
12198         * sysdeps/i386/bits/mathdef.h: Removed.
12199         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12200         * sysdeps/x86/bits/mathdef.h: This.
12202 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12204         [BZ #14132]
12205         * include/sys/socket.h (__connect_internal)
12206         (__libc_sa_len_internal): Remove declaration.
12207         (__connect, __libc_sa_len): Declare hidden_proto.
12208         (SA_LEN): Remove use of INTUSE.
12209         * socket/connect.c: Add libc_hidden_def.
12210         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12211         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12212         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12213         alias.
12214         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12215         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12216         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12217         of adding _internal alias.
12219 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12221         [BZ #14117]
12222         * sysdeps/i386/bits/link.h: Removed.
12223         * sysdeps/i386/bits/linkmap.h: Likewise.
12224         * sysdeps/x86_64/bits/link.h: Renamed to ...
12225         * sysdeps/x86/bits/link.h: This.
12226         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12227         * sysdeps/x86/bits/linkmap.h: This.
12229         * sysdeps/i386/bits/endian.h: Removed.
12230         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12231         * sysdeps/x86/bits/endian.h: This.
12233         * sysdeps/i386/bits/byteswap.h: Removed.
12234         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12235         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12236         * sysdeps/x86/bits/byteswap.h: This.
12237         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12238         * sysdeps/x86/bits/byteswap-16.h: This.
12239         * sysdeps/i386/Implies: Add x86.
12240         * sysdeps/x86_64/Implies: Likewise.
12242 2012-05-30  David S. Miller  <davem@davemloft.net>
12244         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12245         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12246         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12247         (FP_TRAPPING_EXCEPTIONS): Define.
12248         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12249         (FP_TRAPPING_EXCEPTIONS): Define.
12250         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12251         subnormals only when inexact has been signalled or underflow
12252         exceptions are enabled.
12253         (_FP_PACK_CANONICAL): Likewise.
12255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12257         [BZ #14183]
12258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12259         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12261 2012-05-30  Richard Henderson  <rth@twiddle.net>
12263         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12264         with #ifndef NOT_IN_libc.
12266         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12267         marked to avoid plt entry.
12269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12271         [BZ #14112]
12272         * Makeconfig (default-abi): New macro.
12273         (abi-includes): Likewise.
12274         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12275         $(abi-$(default-abi)-lib-soname) for soname if defined.
12276         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12277         abi-variants.
12278         * Makefile (installed-stubs): Likewise.
12279         * include/stubs-biarch.h: Removed.
12280         * scripts/lib-names.awk: Only handle one library at a time.
12281         * scripts/soversions.awk: Remove WORDSIZE support.
12282         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12283         entries.
12284         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12285         Removed.
12286         (syscall-list-default-condition): Likewise.
12287         (syscall-list-default-condition): Likewise.
12288         (syscall-list-includes): Likewise.
12289         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12290         syscall-list-* with abi-*.  Handle undefined abi-variants.
12291         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12292         * sysdeps/unix/sysv/linux/i386/Implies: New file.
12293         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12294         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12295         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12296         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12297         Removed.
12298         (syscall-list-32-options): Likewise.
12299         (syscall-list-32-condition): Likewise.
12300         (syscall-list-64-options): Likewise.
12301         (syscall-list-64-condition): Likewise.
12302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12303         macro.
12304         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12305         Renamed to ...
12306         (abi-*): This.
12307         (abi-64-ld-soname): New macro.
12308         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12309         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12310         Renamed to ...
12311         (abi-*): This.
12312         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12313         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12315 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12317         * sysdeps/unix/sysv/linux/kernel-features.h
12318         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12319         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12320         include <kernel-features.h>.
12321         [!__NR_ftruncate64]: Remove conditional code.
12322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12323         [__NR_ftruncate64]: Make code unconditional.
12324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12325         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12326         include <kernel-features.h>.
12327         [!__NR_ftruncate64]: Remove conditional code.
12328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12329         [__NR_ftruncate64]: Make code unconditional.
12330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12332         include <kernel-features.h>.
12333         [!__NR_ftruncate64]: Remove conditional code.
12334         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12335         [__NR_ftruncate64]: Make code unconditional.
12336         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12338         include <kernel-features.h>.
12339         [!__NR_ftruncate64]: Remove conditional code.
12340         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12341         [__NR_ftruncate64]: Make code unconditional.
12342         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12344         * configure.in (libc_cv_fpie): Weaken to a compile test using
12345         LIBC_TRY_CC_OPTION.
12346         * configure: Regenerated.
12348 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12354         Refreshed.
12355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12361         Refreshed.
12363 2012-05-27  David S. Miller  <davem@davemloft.net>
12365         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12366         (___Q_zero): New.
12367         (__Q_simulate_exceptions): Return void.  Change to simulate
12368         exceptions by writing into the %fsr.
12369         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12370         (__Qp_handle_exceptions): Likewise.
12371         (numbers): Delete.
12372         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12373         __Qp_handle_exceptions.
12374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12375         __Qp_handle_exceptions.
12376         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12377         as unused and give dummy FP_RND_NEAREST initializer.
12378         (FP_INHIBIT_RESULTS): Define.
12379         (___Q_simulate_exceptions): Update declaration.
12380         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12381         formatting.
12382         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12383         as unused and give dummy FP_RND_NEAREST initializer.
12384         (__Qp_handle_exceptions): Update declaration.
12385         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12386         formatting.
12388 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12390         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12391         the temporary FPU control word.
12392         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12393         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12394         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12395         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12396         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12397         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12398         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12399         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12400         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12401         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12404 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12406         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12407         fields.
12409 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12411         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12412         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12413         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12414         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12415         Likewise.
12416         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12417         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12418         Likewise.
12420 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12422         * po/h.po: Update from translation team.
12424 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12426         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12428         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12429         handling of denormals.
12430         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12431         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12432         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12433         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12437         Likewise.
12439 2012-05-26  Marek Polacek  <polacek@redhat.com>
12441         [BZ #14152]
12442         * math/libm-test.inc (fma_test): Don't always expect underflow
12443         exception.
12445 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12447         [BZ #12416]
12448         * elf/tst-execstack.c: Include stackinfo.h.
12449         (do_test): Adjust test case to ensure that pthread_getattr_np
12450         behaviour remains the same after marking stack executable.
12452 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12454         * sysdeps/unix/sysv/linux/kernel-features.h
12455         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12456         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12457         kernel-features.h.
12458         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12459         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12460         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12461         kernel-features.h.
12462         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12463         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12465 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12467         * configure.in: Define the default includes to being none.
12468         * configure: Regenerated.
12470 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12472         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12473         * sysdeps/x86_64/setjmp.S: Likewise.
12474         * sysdeps/i386/bsd-setjmp.S: Likewise.
12475         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12476         * sysdeps/i386/setjmp.S: Likewise.
12477         * sysdeps/i386/__longjmp.S: Likewise.
12478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12479         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12481         * include/stap-probe.h: New file.
12482         * configure.in: Handle --enable-systemtap.
12483         * configure: Regenerated.
12484         * config.h.in (USE_STAP_PROBE): New #undef.
12485         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12486         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12487         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12489 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12491         [BZ #13717]
12492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12493         to 2.4.0 where earlier.
12494         * sysdeps/unix/sysv/linux/configure: Regenerated.
12495         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12496         <kernel-features.h>.
12497         [__ASSUME_32BITUIDS]: Make code unconditional.
12498         [!__ASSUME_32BITUIDS]: Remove conditional code.
12499         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12500         <kernel-features.h>.
12501         [__ASSUME_32BITUIDS]: Make code unconditional.
12502         [!__ASSUME_32BITUIDS]: Remove conditional code.
12503         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12504         [__ASSUME_32BITUIDS]: Make code unconditional.
12505         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12506         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12507         <kernel-features.h>.
12508         [__ASSUME_32BITUIDS]: Make code unconditional.
12509         [!__ASSUME_32BITUIDS]: Remove conditional code.
12510         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12511         <kernel-features.h>.
12512         [__ASSUME_32BITUIDS]: Make code unconditional.
12513         [!__ASSUME_32BITUIDS]: Remove conditional code.
12514         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12515         <kernel-features.h>.
12516         [__ASSUME_32BITUIDS]: Make code unconditional.
12517         [!__ASSUME_32BITUIDS]: Remove conditional code.
12518         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12519         <kernel-features.h>.
12520         [__ASSUME_32BITUIDS]: Make code unconditional.
12521         [!__ASSUME_32BITUIDS]: Remove conditional code.
12522         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12523         <kernel-features.h>.
12524         [__ASSUME_32BITUIDS]: Make code unconditional.
12525         [!__ASSUME_32BITUIDS]: Remove conditional code.
12526         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12527         <kernel-features.h>.
12528         [__ASSUME_32BITUIDS]: Make code unconditional.
12529         [!__ASSUME_32BITUIDS]: Remove conditional code.
12530         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12531         <kernel-features.h>.
12532         [__ASSUME_32BITUIDS]: Make code unconditional.
12533         [!__ASSUME_32BITUIDS]: Remove conditional code.
12534         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12535         <kernel-features.h>.
12536         [__ASSUME_32BITUIDS]: Make code unconditional.
12537         [!__ASSUME_32BITUIDS]: Remove conditional code.
12538         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12539         <kernel-features.h>.
12540         [__ASSUME_32BITUIDS]: Make code unconditional.
12541         [!__ASSUME_32BITUIDS]: Remove conditional code.
12542         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12543         <kernel-features.h>.
12544         [__ASSUME_32BITUIDS]: Make code unconditional.
12545         [!__ASSUME_32BITUIDS]: Remove conditional code.
12546         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12547         <kernel-features.h>.
12548         [__NR_setresgid] (__setresgid): Do not declare.
12549         [__ASSUME_32BITUIDS]: Make code unconditional.
12550         [!__ASSUME_32BITUIDS]: Remove conditional code.
12551         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12552         <kernel-features.h>.
12553         [__NR_setresuid] (__setresuid): Do not declare.
12554         [__ASSUME_32BITUIDS]: Make code unconditional.
12555         [!__ASSUME_32BITUIDS]: Remove conditional code.
12556         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12557         <kernel-features.h>.
12558         [__ASSUME_32BITUIDS]: Make code unconditional.
12559         [!__ASSUME_32BITUIDS]: Remove conditional code.
12560         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12561         <kernel-features.h>.
12562         [__ASSUME_32BITUIDS]: Make code unconditional.
12563         [!__ASSUME_32BITUIDS]: Remove conditional code.
12564         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12565         <kernel-features.h>.
12566         [__ASSUME_32BITUIDS]: Make code unconditional.
12567         [!__ASSUME_32BITUIDS]: Remove conditional code.
12568         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12569         <kernel-features.h>.
12570         [__ASSUME_32BITUIDS]: Make code unconditional.
12571         [!__ASSUME_32BITUIDS]: Remove conditional code.
12572         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12573         <kernel-features.h>.
12574         [__ASSUME_32BITUIDS]: Make code unconditional.
12575         [!__ASSUME_32BITUIDS]: Remove conditional code.
12576         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12577         <kernel-features.h>.
12578         [__ASSUME_32BITUIDS]: Make code unconditional.
12579         [!__ASSUME_32BITUIDS]: Remove conditional code.
12580         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12581         <kernel-features.h>.
12582         [__ASSUME_32BITUIDS]: Make code unconditional.
12583         [!__ASSUME_32BITUIDS]: Remove conditional code.
12584         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12585         <kernel-features.h>.
12586         [__ASSUME_32BITUIDS]: Make code unconditional.
12587         [!__ASSUME_32BITUIDS]: Remove conditional code.
12588         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12589         <kernel-features.h>.
12590         [__ASSUME_32BITUIDS]: Make code unconditional.
12591         [!__ASSUME_32BITUIDS]: Remove conditional code.
12592         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12593         <kernel-features.h>.
12594         [__ASSUME_32BITUIDS]: Make code unconditional.
12595         [!__ASSUME_32BITUIDS]: Remove conditional code.
12596         * sysdeps/unix/sysv/linux/kernel-features.h
12597         (__ASSUME_SETRESUID_SYSCALL): Remove.
12598         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12599         (__ASSUME_32BITUIDS): Likewise.
12600         (__ASSUME_LDT_WORKS): Likewise.
12601         (__ASSUME_O_DIRECTORY): Likewise.
12602         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12603         architecture but not kernel version.
12604         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12605         (__ASSUME_MMAP2_SYSCALL): Likewise.
12606         (__ASSUME_STAT64_SYSCALL): Likewise.
12607         (__ASSUME_IPC64): Likewise.
12608         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12609         <kernel-features.h>.
12610         [__ASSUME_32BITUIDS]: Make code unconditional.
12611         [!__ASSUME_32BITUIDS]: Remove conditional code.
12612         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12613         <kernel-features.h>.
12614         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12615         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12616         132096]: Remove conditional code.
12617         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12618         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12619         <kernel-features.h>.
12620         [__ASSUME_32BITUIDS]: Make code unconditional.
12621         [!__ASSUME_32BITUIDS]: Remove conditional code.
12622         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12623         <kernel-features.h>.
12624         [__ASSUME_32BITUIDS]: Make code unconditional.
12625         [!__ASSUME_32BITUIDS]: Remove conditional code.
12626         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12627         <kernel-features.h>.
12628         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12629         unconditional.
12630         (__setresgid): Do not declare.
12631         [__ASSUME_32BITUIDS]: Make code unconditional.
12632         [!__ASSUME_32BITUIDS]: Remove conditional code.
12633         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12634         <kernel-features.h>.
12635         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12636         unconditional.
12637         (__setresuid): Do not declare.
12638         [__ASSUME_32BITUIDS]: Make code unconditional.
12639         [!__ASSUME_32BITUIDS]: Remove conditional code.
12640         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
12645         <kernel-features.h>.
12646         [__ASSUME_32BITUIDS]: Make code unconditional.
12647         [!__ASSUME_32BITUIDS]: Remove conditional code.
12649 2012-05-25  Richard Henderson  <rth@twiddle.net>
12651         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12652         dl_hwcap to ifunc resolver.
12653         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12654         elf_ifunc_invoke.
12655         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12656         dl_hwcap to ifunc resolver.
12657         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12659 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12661         [BZ #14153]
12662         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12663         for |x| <= 2**-26, not 2**-57.
12664         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12665         exception.
12667 2012-05-24  Jeff Law  <law@redhat.com>
12669         * stdio-common/Makefile (tests): Add bug25.
12670         * stdio-common/bug25.c: New test.
12672 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12674         [BZ #13576]
12675         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12676         multiple of MALLOC_ALIGNMENT in size.
12677         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12679 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12681         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12682         Require >= 256.
12683         (FILENAME_MAX): Use macro-int-constant.
12684         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12685         (_IOFBF): Use macro-int-constant.
12686         (_IOLBF): Likewise.
12687         (_IONBF): Likewise.
12688         (SEEK_CUR): Likewise.
12689         (SEEK_END): Likewise.
12690         (SEEK_SET): Likewise.
12691         (TMP_MAX): Likewise.
12692         (EOF): Use macro-int-constant.  Require < 0.
12693         (NULL): Use macro-constant.  Require == 0.
12694         (stdin): Require type to be FILE *.
12695         (stdout): Likewise.
12696         (stderr): Likewise.
12697         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12698         macro-int-constant.
12699         (EXIT_SUCCESS): Likewise.
12700         (NULL): Use macro-constant.  Require == 0.
12701         (RAND_MAX): Use macro-int-constant.
12702         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12703         [C99-based standards] (strtof): Require function.
12704         [C99-based standards] (strtold): Likewise.
12705         [C99-based standards] (strtoll): Likewise.
12706         [C99-based standards] (strtoull): Likewise.
12707         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12708         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12709         [ISO || ISO99 || ISO11] (math.h): Likewise.
12710         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12711         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12712         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12714 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12716         [BZ #14132]
12717         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12718         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12719         * intl/dgettext.c (DCGETTEXT): Likewise.
12720         * intl/gettext.c (DCGETTEXT): Likewise.
12721         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12722         * posix/regex_internal.h (gettext): Likewise.
12723         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12724         Remove declaration.
12725         * include/argz.h (__argz_count_internal)
12726         (__argz_stringify_internal): Remove declaration.
12727         (__argz_count, __argz_stringify): Declare hidden proto.
12728         * intl/dcgettext.c: Remove use of INTDEF.
12729         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12730         * string/argz-stringify.c: Likewise.
12731         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12732         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12733         Declare hidden proto.
12734         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12735         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12736         Declare hidden proto.
12737         * include/stdio.h (__asprintf_internal): Don't declare.
12738         (__asprintf): Don't define as macro.  Declare hidden proto.
12739         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12740         (__fsetlocking): Declare hidden proto.
12741         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12742         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12743         hidden proto.
12744         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12745         (_IO_setlinebuf): Remove use of INTUSE.
12746         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12747         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12748         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12749         Remove declaration.
12750         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12751         (_IO_do_flush): Remove use of INTUSE.
12752         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12753         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12754         (_IO_adjust_column, _IO_least_wmarker)
12755         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12756         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12757         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12758         (_IO_default_doallocate, _IO_wdefault_doallocate)
12759         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12760         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12761         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12762         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12763         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12764         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12765         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12766         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12767         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12768         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12769         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12770         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12771         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12772         proto.
12773         (_IO_flush_all_internal, _IO_adjust_column_internal)
12774         (_IO_default_uflow_internal, _IO_default_finish_internal)
12775         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12776         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12777         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12778         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12779         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12780         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12781         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12782         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12783         (_IO_file_close_internal, _IO_file_close_it_internal)
12784         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12785         (_IO_file_init_internal, _IO_file_attach_internal)
12786         (_IO_file_fopen_internal, _IO_file_read_internal)
12787         (_IO_file_sync_internal, _IO_file_seek_internal)
12788         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12789         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12790         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12791         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12792         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12793         (_IO_list_all_internal, _IO_link_in_internal)
12794         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12795         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12796         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12797         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12798         (_IO_do_write_internal, _IO_padn_internal)
12799         (_IO_getline_info_internal, _IO_getline_internal)
12800         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12801         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12802         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12803         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12804         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12805         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12806         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12807         with libc_hidden_ver, remove use of INTUSE.
12808         * libio/genops.c: Likewise.
12809         * libio/freopen.c: Likewise.
12810         * libio/freopen64.c: Likewise.
12811         * libio/iofclose.c: Likewise.
12812         * libio/iofdopen.c: Likewise.
12813         * libio/iofflush.c: Likewise.
12814         * libio/iofflush_u.c: Likewise.
12815         * libio/iofgets.c: Likewise.
12816         * libio/iofgets_u.c: Likewise.
12817         * libio/iofopen.c: Likewise.
12818         * libio/iofopncook.c: Likewise.
12819         * libio/iofread.c: Likewise.
12820         * libio/iofread_u.c: Likewise.
12821         * libio/ioftell.c: Likewise.
12822         * libio/iofwrite.c: Likewise.
12823         * libio/iogetline.c: Likewise.
12824         * libio/iogets.c: Likewise.
12825         * libio/iogetwline.c: Likewise.
12826         * libio/iopadn.c: Likewise.
12827         * libio/iopopen.c: Likewise.
12828         * libio/ioseekoff.c: Likewise.
12829         * libio/ioseekpos.c: Likewise.
12830         * libio/iosetbuffer.c: Likewise.
12831         * libio/iosetvbuf.c: Likewise.
12832         * libio/ioungetc.c: Likewise.
12833         * libio/ioungetwc.c: Likewise.
12834         * libio/iovdprintf.c: Likewise.
12835         * libio/iovsprintf.c: Likewise.
12836         * libio/iovsscanf.c: Likewise.
12837         * libio/memstream.c: Likewise.
12838         * libio/obprintf.c: Likewise.
12839         * libio/oldfileops.c: Likewise.
12840         * libio/oldiofclose.c: Likewise.
12841         * libio/oldiofdopen.c: Likewise.
12842         * libio/oldiofopen.c: Likewise.
12843         * libio/oldiopopen.c: Likewise.
12844         * libio/oldstdfiles.c: Likewise.
12845         * libio/putc.c: Likewise.
12846         * libio/setbuf.c: Likewise.
12847         * libio/setlinebuf.c: Likewise.
12848         * libio/stdfiles.c: Likewise.
12849         * libio/strops.c: Likewise.
12850         * libio/vasprintf.c: Likewise.
12851         * libio/vscanf.c: Likewise.
12852         * libio/vsnprintf.c: Likewise.
12853         * libio/vswprintf.c: Likewise.
12854         * libio/wfiledoalloc.c: Likewise.
12855         * libio/wfileops.c: Likewise.
12856         * libio/wgenops.c: Likewise.
12857         * libio/wmemstream.c: Likewise.
12858         * libio/wstrops.c: Likewise.
12859         * libio/__fpurge.c: Likewise.
12860         * libio/__fsetlocking.c: Likewise.
12861         * assert/assert.c: Likewise.
12862         * debug/fgets_chk.c: Likewise.
12863         * debug/fgets_u_chk.c: Likewise.
12864         * debug/fread_chk.c: Likewise.
12865         * debug/fread_u_chk.c: Likewise.
12866         * debug/gets_chk.c: Likewise.
12867         * debug/obprintf_chk.c: Likewise.
12868         * debug/vasprintf_chk.c: Likewise.
12869         * debug/vdprintf_chk.c: Likewise.
12870         * debug/vsnprintf_chk.c: Likewise.
12871         * debug/vsprintf_chk.c: Likewise.
12872         * malloc/mtrace.c: Likewise.
12873         * misc/error.c: Likewise.
12874         * misc/syslog.c: Likewise.
12875         * stdio-common/asprintf.c: Likewise.
12876         * stdio-common/fxprintf.c: Likewise.
12877         * stdio-common/getw.c: Likewise.
12878         * stdio-common/isoc99_fscanf.c: Likewise.
12879         * stdio-common/isoc99_scanf.c: Likewise.
12880         * stdio-common/isoc99_vfscanf.c: Likewise.
12881         * stdio-common/isoc99_vscanf.c: Likewise.
12882         * stdio-common/isoc99_vsscanf.c: Likewise.
12883         * stdio-common/printf-prs.c: Likewise.
12884         * stdio-common/printf_fp.c: Likewise.
12885         * stdio-common/printf_fphex.c: Likewise.
12886         * stdio-common/printf_size.c: Likewise.
12887         * stdio-common/putw.c: Likewise.
12888         * stdio-common/scanf.c: Likewise.
12889         * stdio-common/sprintf.c: Likewise.
12890         * stdio-common/tmpfile.c: Likewise.
12891         * stdio-common/vfprintf.c: Likewise.
12892         * stdio-common/vfscanf.c: Likewise.
12893         * stdlib/strfmon_l.c: Likewise.
12894         * sunrpc/openchild.c: Likewise.
12895         * sunrpc/xdr_stdio.c: Likewise.
12896         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12897         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12899 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12901         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12903         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12904         in the third column, to generate for the shared library an IFUNC
12905         that uses _dl_vdso_vsym.
12906         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12907         * Makeconfig (object-suffixes-noshared): New variable.
12909         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12910         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12911         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12912         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12914         [BZ #14132]
12915         * include/sys/time.h (__gettimeofday): Remove macro.
12916         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12917         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12918         Remove INTDEF.
12919         (__gettimeofday): Add libc_hidden_def.
12920         (gettimeofday): Add libc_hidden_weak.
12921         * sysdeps/mach/gettimeofday.c: Likewise.
12922         * sysdeps/posix/gettimeofday.c: Likewise.
12923         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12924         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12926         (__gettimeofday_internal): Remove strong_alias.
12927         (__gettimeofday): Add libc_hidden_def.
12928         (gettimeofday): Add libc_hidden_weak.
12929         * sysdeps/unix/syscalls.list (gettimeofday):
12930         Remove __gettimeofday_internal alias.
12932 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12933             H.J. Lu  <hongjiu.lu@intel.com>
12935         [BZ #12495]
12936         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12937         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12938         (largebin_index_32_big): New.
12939         (largebin_index): Use it for 16-byte alignment.
12940         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12941         correction with front_misalign.
12943 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12947         Likewise.
12948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12949         Likewise.
12950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12951         Likewise.
12952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12953         Likewise.
12954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12955         Likewise.
12956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12957         Likewise.
12958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12959         Likewise.
12960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12961         Likewise.
12962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12963         Likewise.
12964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12965         Likewise.
12966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12967         Likewise.
12968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12969         Likewise.
12971         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12972         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12976         [BZ #10846]
12977         [BZ #14036]
12978         * math/libm-test.inc (exp_test): Add test from bug 14036.
12979         (pow_test): Add test from bug 10846.
12981         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12982         and other flags.
12983         (special_function): Do not include flags in test name.
12984         (parse_args): Likewise.
12985         * sysdeps/i386/fpu/libm-test-ulps: Update.
12986         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12987         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12988         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12991         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12992         exceptions.
12993         * math/libm-test.inc ("Philosophy"): Update comment about
12994         exception testing.
12995         (UNDERFLOW_EXCEPTION): New macro.
12996         (UNDERFLOW_EXCEPTION_OK): Likewise.
12997         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12998         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12999         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13000         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13001         (INVALID_EXCEPTION_OK): Update value.
13002         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13003         (OVERFLOW_EXCEPTION_OK): Likewise.
13004         (IGNORE_ZERO_INF_SIGN): Likewise.
13005         (test_exceptions): Handle underflow exceptions.
13006         (acos_test): Update for underflow exception expectations.
13007         (cexp_test): Likewise.
13008         (clog_test): Likewise.
13009         (clog10_test): Likewise.
13010         (csqrt_test): Likewise.
13011         (ctan_test): Likewise.
13012         (ctanh_test): Likewise.
13013         (exp_test): Likewise.
13014         (exp10_test): Likewise.
13015         (exp2_test): Likewise.
13016         (expm1_test): Likewise.
13017         (fma_test): Likewise.
13018         (j0_test): Likewise.
13019         (jn_test): Likewise.
13020         (nexttoward_test): Likewise.
13021         (pow_test): Likewise.
13022         (scalbn_test): Likewise.
13023         (scalbln_test): Likewise.
13024         (tan_test): Likewise.
13025         (y1_test): Likewise.
13026         * sysdeps/i386/fpu/libm-test-ulps: Update.
13027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13029 2012-05-23  David S. Miller  <davem@davemloft.net>
13031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13032         (__libc_sigaction): Remove unused local variables.
13034 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13036         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13038 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13040         mktime: avoid signed integer overflow
13041         * time/mktime.c (__mktime_internal): Do not mishandle the case
13042         where diff == INT_MIN.
13044         mktime: simplify computation of average
13045         * time/mktime.c (ranged_convert): Use new time_t_avg function
13046         instead of rolling our own (probably-slower) code.
13048         mktime: do not assume signed right shift propagates sign bit
13049         * time/mktime.c (isdst_differ): New static function.
13050         (__mktime_internal): No need to normalize tm_isdst now.
13051         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13052         tm_isdst values.
13054         mktime: merge another wrapv change from gnulib
13055         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13056         from some compilers.
13058         mktime: remove incorrect attempt at unusual arithmetics
13059         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13060         The code didn't really work on such machines anyway.
13061         (TYPE_MINIMUM): Assume two's complement.
13062         (twos_complement_arithmetic): Verify that long_int and time_t
13063         are two's complement (or unsigned, in the latter case).
13065         mktime: check signed shifts on long_int and time_t, too
13066         * time/mktime.c (SHR): Check that shifts work as desired
13067         on the types long_int and time_t too, as SHR is used on
13068         such types.
13070         mktime: do not assume 'long' is wide enough
13071         * time/mktime.c (verify): Move decl up.
13072         (long_int): New type.
13073         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13074         to remove assumption in the code that 'long' is wide enough to
13075         store year values.  This assumption is not true on x32 and on
13076         some non-glibc platforms.
13078         mktime: merge wrapv change from gnulib
13079         * time/mktime.c (WRAPV): New macro.
13080         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13081         (guess_time_tm, __mktime_internal): Do not assume that signed
13082         integer overflow wraps around; modern compilers generate code
13083         where this assumption is no longer valid.
13085 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13087         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13088         Replace "jmp L(pseudo_end)" with "ret".
13089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13090         Likewise.
13092 2012-05-23  Andreas Jaeger  <aj@suse.de>
13094         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13095         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13097 2012-05-23  Andreas Jaeger  <aj@suse.de>
13098             Maximilian Attems  <max@stro.at>
13100         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13101         New macros.
13103 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13106         code so that pseudo_end is just ret and the stack pointer is
13107         correct also for static library in error case.
13109 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13111         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13112         move to syscalls.list.
13113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13118         * manual/install.texi (Running make install): Do not mention Linux
13119         kernel version for which pt_chown is not needed.
13120         (Linux): Do not mention problems with nscd with 2.0 kernels.
13121         * INSTALL: Regenerated.
13123 2012-05-23  Andreas Jaeger  <aj@suse.de>
13125         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13126         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13127         macro.
13128         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13130         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13132         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13133         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13135         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13136         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13137         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13138         * sysdeps/unix/sysv/linux/bits/in.h
13139         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13141 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13143         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13144         (PREPARE_VERSION): Just use assert instead, it will be elided
13145         under [NDEBUG] anyway.
13147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13149         * sysdeps/unix/sysv/linux/Makefile: Include
13150         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13151         (sysdep_routines): Remove sysctl.
13152         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13153         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13154         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13155         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13156         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13158 2012-05-22  Andreas Jaeger  <aj@suse.de>
13160         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13161         that pseudo_end is just ret and the stack pointer is correct also
13162         for static library in error case.
13164 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13166         [BZ #14122]
13167         * nss/nsswitch.c (defconfig_entries): New variable.
13168         (__nss_database_lookup): Don't leak defconfig entries.
13169         (nss_parse_service_list): Don't leak on error paths.
13170         (free_database_entries): New function.
13171         (free_defconfig): New function.
13172         (free_mem): Move common code to free_database_entries.
13174 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13176         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13177         Add arch_prctl.
13178         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13181         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13183         New macro.
13184         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13185         (INTERNAL_SYSCALL_TYPES): Likewise.
13186         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13187         (LOAD_REGS_TYPES_[1-6]): Likewise.
13188         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13189         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13191 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13193         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13194         copysignl for GLIBC_2_0.
13195         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13196         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13197         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13198         logbl for GLIBC_2_0.
13199         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13200         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13202 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13205         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13207         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13208         Use "neg %eax".
13210         * time/mktime.c: Update copyright years.
13212 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13214         mktime: merge comment-quoting-style change from gnulib
13215         * time/mktime.c: Quote 'like this' in comments.
13216         The GNU coding standards suggest that we no longer quote `like this',
13217         as "`" and "'" are typically rendered asymmetrically nowadays.
13218         The typical gnulib style is to quote 'like this' when quoting
13219         code, and "like this" when quoting English.
13221         * time/mktime.c (compile-command): Add "-I.".
13223         mktime: merge mktime-internal.h change from gnulib
13224         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13226         mktime: merge time_r change from gnulib
13227         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13229         mktime: merge DEBUG change from gnulib
13230         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13231         case system <time.h> has a #define.
13233         mktime: merge <sys/types.h> change from gnulib
13234         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13235         since <time.t> is now guaranteed to define time_t.
13237         mktime: merge HAVE_CONFIG_H change from gnulib
13238         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13240 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13243         Use "neg %eax".
13245         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13246         __rlim_t cast.
13247         (struct rusage): Use anonymous union to pad each field to
13248         __syscall_slong_t.
13250 2012-05-21  David S. Miller  <davem@davemloft.net>
13252         * Makefules (o-iterator): Remove .s cases.
13253         (compile-command.s): Delete.
13254         (COMPILE.s): Delete.
13255         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13257 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13259         * configure.in (libc_cv_predef_stack_protector): Only consider
13260         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13261         * configure: Regenerated.
13263 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13266         New macro.  Use R*LP on int and pointer.
13267         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13268         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13269         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13270         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13272         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13273         [__WORDSIZE_TIME64_COMPAT32] instead of
13274         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13275         (struct utmp): Likewise.
13276         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13277         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13278         Renamed to ...
13279         (__WORDSIZE_TIME64_COMPAT32): This.
13280         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13281         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13282         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13283         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13284         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13285         (__WORDSIZE_TIME64_COMPAT32): New macro.
13287 2012-05-21  Andreas Jaeger  <aj@suse.de>
13289         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13290         only if [SHARED]. Add prototype for __wcschr_ia32.
13292 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13294         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13295         of %rbp unmolested in the jmp_buf while mangling the low bits.
13296         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13297         unmolested high bits of %rbp while demangling the low bits.
13298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13300 2012-05-21  Andreas Jaeger  <aj@suse.de>
13302         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13303         * sunrpc/svc_simple.c: Use it for registerrpc.
13304         * sunrpc/xcrypt.c: Use it for passwd2des.
13306         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13308 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13310         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13311         Don't define if [__SYSCALL_WORDSIZE != 32].
13312         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13313         New macro.
13315 2012-05-21  Bruno Haible  <bruno@clisp.org>
13316             Andreas Jaeger  <aj@suse.de>
13318         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13319         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13320         inptr and inend for must_buffer_ch.
13321         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13322         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13323         * stdio-common/Makefile (tests): Remove bug15.
13324         (bug15-ENV): Remove macro.
13325         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13326         anymore.
13328 2012-05-19  Andreas Jaeger  <aj@suse.de>
13329             Roland McGrath  <roland@hack.frob.com>
13331         * manual/contrib.texi: Completely rewritten. It contains now an
13332         alphabetical list of contributors and their contributions.
13334 2012-05-21  Richard Henderson  <rth@twiddle.net>
13336         * misc/getauxval.c (__getauxval): Use unsigned long int.
13337         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13338         (getauxval): Use unsigned long int.
13340 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13342         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13344 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13346         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13347         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13348         __alignof__ (long double).
13350 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354 2012-05-20  Richard Henderson  <rth@twiddle.net>
13356         * misc/getauxval.c: New file.
13357         * misc/sys/auxv.h: New file.
13358         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13359         (routines): Add getauxval.
13360         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13361         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13362         * elf/dl-sysdep.c (_dl_auxv): Remove.
13363         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13364         * elf/dl-support.c (_dl_auxv): New variable.
13365         (_dl_aux_init): Initialize it.
13366         * manual/startup.texi (Auxiliary Vector): New node.
13367         * sysdeps/generic/bits/hwcap.h: New file.
13368         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13369         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13370         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13371         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13372         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13373         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13375         Update.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13385 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13389 2012-05-19  David S. Miller  <davem@davemloft.net>
13391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13393 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13395         [BZ #14123]
13396         * math/s_ccosh.c: Include <float.h>
13397         (__ccosh): Avoid internal overflow calculating sinh and cosh
13398         values before multiplying by sin and cos values.
13399         * math/s_ccoshf.c: Likewise.
13400         * math/s_ccoshl.c: Likewise.
13401         * math/s_csin.c: Likewise.
13402         * math/s_csinf.c: Likewise.
13403         * math/s_csinl.c: Likewise.
13404         * math/s_csinh.c: Likewise.
13405         * math/s_csinhf.c: Likewise.
13406         * math/s_csinhl.c: Likewise.
13407         * math/libm-test.inc (ccos_test): Add more tests.
13408         (ccosh_test): Likewise.
13409         (csin_test): Likewise.
13410         (csinh_test): Likewise.
13411         * sysdeps/i386/fpu/libm-test-ulps: Update.
13412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13414 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13416         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13417         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13419         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13421 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13423         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13424         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13425         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13426         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13427         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13428         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13429         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13430         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13431         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13432         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13433         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13434         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13435         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13436         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13437         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13438         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13439         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13440         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13441         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13442         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13443         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13444         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13445         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13446         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13447         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13448         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13449         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13450         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13451         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13452         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13453         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13455 2012-05-18  Andreas Jaeger  <aj@suse.de>
13457         * csu/.gitignore: Delete.
13459 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13461         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13462         (timex): Use __syscall_slong_t.
13464 2012-05-18  Andreas Jaeger  <aj@suse.de>
13465             Carlos O'Donell  <carlos_odonell@mentor.com>
13467         * manual/install.texi (Configuring and compiling): Update
13468         description about files modified in the source directory.
13469         * INSTALL: Regenerated.
13471 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13473         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13474         value.  Use "or" to set return value to -1.
13475         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13476         negate return value.
13478 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13480         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13481         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13482         failure if the compiler has Graphite support disabled.
13483         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13484         Likewise.
13485         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13486         CFLAGS-memmove.c): Likewise.
13487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13488         Likewise.
13490 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13492         * sysdeps/x86_64/x32/_itoa.h: New file.
13494         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13495         getdents system call only if kernel and user dirents have the
13496         same d_ino and d_off.
13498         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13499         LLONG_MAX != LONG_MAX.
13500         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13501         (_fitoa_word): Likewise.
13503         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13504         years.
13505         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13506         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13507         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13509         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13510         include <bits/wordsize.h>.  Check __x86_64__ instead of
13511         __WORDSIZE.
13512         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13513         if __x86_64__ is defined.  Use anonymous union on fpstate.
13515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13516         anonymous union.
13518 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13520         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13521         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13522         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13523         Refer to _rtld_local_ro instead of _rtld_global_ro.
13524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13525         Likewise.
13526         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13527         Likewise.
13528         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13529         Likewise.
13530         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13531         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13532         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13534         * sysdeps/powerpc/powerpc32/dl-machine.c
13535         (__elf_machine_runtime_setup) [PROF]: Don't reference
13536         _dl_prof_resolve.
13538 2012-05-18  Andreas Jaeger  <aj@suse.de>
13540         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13541         function only available for GCCs before 3.4 since GCC 3.4
13542         introduced a builtin.
13543         (lrint): Likewise.
13544         (llrintf): Likewise.
13545         (llrint): Likewise.
13546         (fmaxf): Likewise.
13547         (fmax): Likewise.
13548         (fminf): Likewise.
13549         (fmin): Likewise.
13550         (rint): Likewise.
13551         (rintf): Likewise.
13552         (nearbyint): Likewise.
13553         (nearbyintf): Likewise.
13554         (ceil): Likewise.
13555         (ceilf): Likewise.
13556         (floor): Likewise.
13557         (floorf): Likewise.
13559 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13561         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13562         on both fields and cast pointer to __syscall_ulong_t.
13564         * bits/types.h (__fsword_t): New type.
13565         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13566         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13568         (__FSWORD_T_TYPE): Likewise.
13569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13570         (__FSWORD_T_TYPE): Likewise.
13571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13572         (__FSWORD_T_TYPE): Likewise.
13573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13574         (__FSWORD_T_TYPE): Likewise.
13575         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13576         __SWORD_TYPE with __fsword_t.
13577         (statfs64): Likewise.
13579 2012-05-17  David S. Miller  <davem@davemloft.net>
13581         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13583 2012-05-17  Andreas Jaeger  <aj@suse.de>
13585         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13586         warning.
13588 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13590         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13592 2012-05-17  Andreas Jaeger  <aj@suse.de>
13594         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13595         when it is used.
13597 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13599         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13601 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13603         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13604         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13606 2012-05-17  Andreas Jaeger  <aj@suse.de>
13607             Carlos O'Donell  <carlos_odonell@mentor.com>
13609         [BZ #14059]
13610         * sysdeps/x86_64/multiarch/init-arch.h
13611         (bit_YMM_Usable): Rename to...
13612         (bit_AVX_Usable): ... this.
13613         (bit_FMA4_Usable): New macro.
13614         (bit_XMM_state): New macro.
13615         (bit_YMM_state): New macro.
13616         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13617         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13618         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13619         (CPUID_OSXSAVE): New macro.
13620         (CPUID_AVX): New macro.
13621         (CPUID_FMA4): New macro.
13622         (index_YMM_Usable): Rename to...
13623         (index_AVX_Usable): ... this.
13624         (HAS_AVX): Use HAS_ARCH_FEATURE.
13625         (HAS_FMA4): Likewise.
13626         (HAS_YMM_USABLE): Remove.
13627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13628         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13629         are present.
13630         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13631         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13632         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13633         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13634         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13636 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13638         * math/libm-test.c: Support platforms without multiple rounding modes.
13639         * math/bug-nextafter.c: Support platforms without FP exceptions.
13640         * math/bug-nexttoward.c: Likewise.
13641         * math/test-fenv.c: Likewise.
13642         * math/test-misc.c: Likewise.
13643         * stdlib/bug-getcontext.c: Likewise.
13645 2012-05-17  Andreas Jaeger  <aj@suse.de>
13647         * manual/examples/search.c (critter_cmp): Change signature to
13648         avoid warnings.
13649         * manual/string.texi (Collation Functions): Likewise.
13651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13653         * bits/types.h: Fold copyright years.
13654         * bits/typesizes.h: Likewise.
13655         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13659         * time/time.h: Likewise.
13661 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13663         [BZ #208]
13664         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13665         in instead of returning them.  Return void.
13666         (__libc_mallinfo): Accumulate over all arenas.
13667         (__malloc_stats): Adjust for change in int_mallinfo interface.
13669 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13671         [BZ #10375]
13672         * configure.in (NM): Add AC_CHECK_TOOL for it.
13673         (libc_extra_cflags): New substituted variable.
13674         Check for -fstack-protector being used implicitly.
13675         * configure: Regenerated.
13676         * config.make.in (config-extra-cflags): New variable,
13677         gets @libc_extra_cflags@.
13678         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13680         [BZ #10375]
13681         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13682         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13683         * configure: Regenerated.
13684         * config.make.in (CPPUNDEFS): New substituted variable.
13685         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13686         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13687         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13691         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13692         (mq_attr): Use __syscall_slong_t.
13694 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13696         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13697         Check __x86_64__ instead of __WORDSIZE.
13698         (_STAT_VER_LINUX): Likewise.
13699         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13700         __syscall_ulong_t and __syscall_slong_t.
13701         (stat64): Likewise.
13703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13705         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13709         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13713         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13714         __syscall_ulong_t.
13716         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13717         include <bits/wordsize.h>.  Check __x86_64__ instead of
13718         __WORDSIZE.
13719         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13720         defined.
13721         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13723         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13724         include <bits/wordsize.h>.  Check __x86_64__ instead of
13725         __WORDSIZE.
13726         (user_regs_struct): Use "__extension__ unsigned long long"
13727         instead of "unsigned long" if __x86_64__ is defined.
13728         (user): Likewise.  Pad after pointer field if __ILP32__ is
13729         defined.
13731 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13733         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13734         versions 5 to 9.
13735         * configure: Regenerated.
13736         * manual/install.texi (texinfo): Increase version requirement to
13737         4.5 or later.
13738         * INSTALL: Regenerated.
13740         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13742 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13744         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13746         * sysdeps/x86_64/x32/ffs.c: New file.
13748         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13749         __syscall_ulong_t.
13750         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13751         defined.  Use __syscall_ulong_t.
13752         (shminfo): Use __syscall_ulong_t.
13753         (shm_info): Likewise.
13755         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13756         __syscall_ulong_t.
13758         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13759         <bits/wordsize.h>.
13760         (msgqnum_t): Use __syscall_ulong_t.
13761         (msglen_t): Likewise.
13762         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13763         __syscall_ulong_t.
13765         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13766         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13768         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13770         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13771         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13773         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13774         __syscall_slong_t.
13776         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13777         include <bits/wordsize.h>.  Check __x86_64__ instead of
13778         __WORDSIZE.
13780         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13781         "unsigned long long int" if __x86_64__ is defined.
13782         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13784         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13785         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13786         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13788         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13789         <stdint.h>.
13790         (GET_PC): Cast to uintptr_t first.
13791         (GET_FRAME): Likewise.
13792         (GET_STACK): Likewise.
13794         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13795         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13796         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13797         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13798         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13799         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13800         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13801         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13802         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13805         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13806         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13807         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13808         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13809         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13810         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13811         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13812         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13813         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13814         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13815         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13816         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13817         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13818         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13819         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13820         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13821         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13822         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13824 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13826         * Makerules (+depfiles): Also collect depfiles from .oS in
13827         $(extra-objs).
13828         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13829         .oS, $(libnldbl-routines)).
13831         * Makerules (native-compile-mkdep-flags): Define.
13832         * sunrpc/Makefile (extra-objs): Add $(addprefix
13833         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13834         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13835         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13836         calling $(make-target-directory).
13838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13840         * bits/types.h (__snseconds_t): Removed.
13841         * time/time.h (struct timespec): Replace __snseconds_t with
13842         __syscall_slong_t.
13843         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13844         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13845         Likewise.
13846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13847         (__SNSECONDS_T_TYPE): Likewise.
13848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13849         (__SNSECONDS_T_TYPE): Likewise.
13850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13851         (__SNSECONDS_T_TYPE): Likewise.
13853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13855         * sysdeps/mach/hurd/bits/typesizes.h
13856         (__SYSCALL_SLONG_TYPE): New macro.
13857         (__SYSCALL_ULONG_TYPE): Likewise.
13859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13861         * bits/types.h (__syscall_slong_t): New type.
13862         (__syscall_ulong_t): Likewise.
13864         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13865         (__SYSCALL_ULONG_TYPE): Likewise.
13866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13867         (__SYSCALL_SLONG_TYPE): Likewise.
13868         (__SYSCALL_ULONG_TYPE): Likewise.
13869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13870         (__SYSCALL_SLONG_TYPE): Likewise.
13871         (__SYSCALL_ULONG_TYPE): Likewise.
13872         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13873         (__SYSCALL_SLONG_TYPE): Likewise.
13874         (__SYSCALL_ULONG_TYPE): Likewise.
13876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13878         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13879         Add sigaltstack-offsets.sym.
13880         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13881         <sigaltstack-offsets.h>.
13882         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13883         longjmp_msg pointer.
13884         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13885         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13886         signal stack.
13887         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13889 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13891         * elf/stackguard-macros.h: Remove file.
13892         * sysdeps/generic/stackguard-macros.h: New file.
13893         * sysdeps/i386/stackguard-macros.h: Likewise.
13894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13900         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13901         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13902         <elf/stackguard-macros.h>.
13904         [BZ #14109]
13905         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13906         __aligned__ in attribute.
13907         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13908         (gregset_t): Likewise.
13910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13912         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13913         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13914         * sysdeps/x86_64/x32/Implies-after: New file.
13916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13918         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13919         and access return value for _dl_profile_fixup.  Use R10_LP to
13920         load frame size.
13922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13924         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13928         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13929         * sysdeps/x86_64/x32/sysdep.h: New file.
13931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13933         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13934         * sysdeps/x86_64/setjmp.S: Likewise.
13936 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13938         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13939         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13940         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13941         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13942         remove unused global constant.
13944 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13946         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13947         include of <not-cancel.h>.
13949 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13951         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13953 2012-05-15  Jeff Law  <law@redhat.com>
13954             Andreas Jaeger  <aj@suse.de>
13956         [BZ #13594]
13957         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13958         out from...
13959         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13960         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13961         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13962         code changing __hst_map_handle.map.
13964 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13966         * configure.in (sysnames): Look for Implies-before and Implies-after
13967         files.
13968         * configure: Regenerated.
13970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13972         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13973         8-byte data alignment with LP_SIZE alignment.
13975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13977         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13978         into R10_LP.
13980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13982         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13986         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13987         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13988         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13989         Likewise.
13990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13994         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13995         (stackinfo_sub_sp): Likewise.
13997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13999         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14000         RAX_LP.
14002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14004         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14005         into R*_LP.
14007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14010         sizes into R*_LP.
14012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14014         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14018         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14019         into R11_LP and load __x86_64_shared_cache_size_half into
14020         R8_LP.
14022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14024         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14025         R8_LP.
14027 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14030         logb for POWER7.
14031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14032         logbf for POWER7.
14033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14034         logbl for POWER7.
14035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14036         powerpc32/power7/fpu/s_logb.c via #include.
14037         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14038         powerpc32/power7/fpu/s_logbf.c via #include.
14039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14040         powerpc32/power7/fpu/s_logbl.c via #include.
14042 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14044         * README.libm: Remove file.
14046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14048         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14049         count for x32.  Use R*_LP and omit operand-size suffix.
14051 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14053         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14054         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14055         * sysdeps/x86_64/x32/shlib-versions: New file.
14057 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14059         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14060         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14061         Use _dl_fatal_printf instead.
14063 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14065         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14066         set if not set by the user.  Do not allow for being unset.
14067         * sysdeps/unix/sysv/linux/configure: Regenerated.
14069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14071         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14072         the `q' suffix from lea and replace .quad with ASM_ADDR.
14074 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14077         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14078         instead of $17.
14079         (PTR_DEMANGLE): Likewise.
14081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14083         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14084         (LP_OP): Likewise.
14085         (ASM_ADDR): Likewise.
14086         (RAX_LP): Likewise.
14087         (RBP_LP): Likewise.
14088         (RBX_LP): Likewise.
14089         (RCX_LP): Likewise.
14090         (RDI_LP): Likewise.
14091         (RSI_LP): Likewise.
14092         (RSP_LP): Likewise.
14093         (R8_LP): Likewise.
14094         (R9_LP): Likewise.
14095         (R10_LP): Likewise.
14096         (R10_LP): Likewise.
14097         (R11_LP): Likewise.
14098         (R12_LP): Likewise.
14099         (R13_LP): Likewise.
14100         (R14_LP): Likewise.
14101         (R15_LP): Likewise.
14103 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14105         * sysdeps/x86_64/x32/dl-machine.h: New file.
14107 2012-05-14  Andreas Jaeger  <aj@suse.de>
14109         * manual/Makefile (subdir): Remove export of subdir.
14110         (all): Remove target.
14111         (.PHONY): Remove all from list.
14112         (mkinstalldirs): Remove.
14113         (.PHONY): Remove installdirs from list.
14114         ($(inst_infodir)/libc.info): Use make-target-directory.
14115         (installdirs): Remove.
14116         (subdir_%): Remove.
14117         (glibc-targets): Remove.
14118         (lib): Remove.
14119         (stubs): Remove.
14120         ($(objpfx)stubs ../po/manual.pot): Remove.
14121         ($(objpfx)stamp%): Remove.
14122         (make-target-directory): Remove.
14123         (subdir_install): Remove.
14124         (routines): Remove.
14125         (aux): Remove.
14126         (sources): Remove.
14127         (objects): Remove.
14128         (headers): Remove.
14130         [BZ #13750]
14131         * manual/.gitignore: Remove, it's not needed anymore.
14132         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14133         all files in it.
14134         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14135         directory.
14136         (texis): Renamed to $(objpfx)texis.
14137         (texis-path): New, contains path to generated files.
14138         (chapters.%): Use texis-path for complete path, add extra argument
14139         libc-texinfo.sh.
14140         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14141         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14142         (summary,texi, stamp-summary): Use complete path of
14143         files. Generate files in build dir.
14144         (dir-add.texi): Build in build dir.
14145         (libm-err.texi,stamp-libm-err): Likewise.
14146         (version.texi, stamp-version): Likewise.
14147         (.%c.texi): Likewise.
14148         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14149         (mostlyclean): Remove target.
14150         (realclean): Remove target.
14151         (generated): Add new variable with contents from mostlyclean and
14152         realclean, remove entries duplicated in common-mostlyclean, add
14153         stamp-libm-err and stamp-version.
14154         (generated-dirs): Add libc directory.
14155         ($(inst_infodir)/libc.info): Install files from build dir.
14157         * manual/install.texi (Configuring and compiling): Adjust since
14158         the info files are not part of the tar ball anymore.
14160 2012-05-14  Andreas Jaeger  <aj@suse.de>
14162         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14163         variable.
14165 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14167         [BZ #13717]
14168         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14169         to 2.2.0 where earlier.
14170         * sysdeps/unix/sysv/linux/configure: Regenerated.
14171         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14172         Remove conditional code.
14173         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14174         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14175         Remove conditional code.
14176         [!__NR_lchown]: Likewise.
14177         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14178         [__NR_lchown]: Likewise.
14179         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14180         comment referencing __ASSUME_LCHOWN_SYSCALL.
14181         * sysdeps/unix/sysv/linux/i386/sigaction.c
14182         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14183         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14184         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14185         Remove conditional code.
14186         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14187         (__protocol_available): Remove #if 0 code.
14188         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14189         conditional code.
14190         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14191         * sysdeps/unix/sysv/linux/kernel-features.h
14192         (__ASSUME_GETCWD_SYSCALL): Don't define.
14193         (__ASSUME_REALTIME_SIGNALS): Likewise.
14194         (__ASSUME_PREAD_SYSCALL): Likewise.
14195         (__ASSUME_PWRITE_SYSCALL): Likewise.
14196         (__ASSUME_POLL_SYSCALL): Likewise.
14197         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14198         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14199         non-SPARC.
14200         (__ASSUME_SIOCGIFNAME): Don't define.
14201         (__ASSUME_MSG_NOSIGNAL): Likewise.
14202         (__ASSUME_SENDFILE): Define unconditionally.
14203         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14204         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14205         conditional code.
14206         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14207         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14208         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14209         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14210         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14211         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14212         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14226         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14229         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14232         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14237         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14238         Remove conditional code.
14239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14240         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14241         Remove conditional code.
14242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14243         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14244         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14245         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14246         Remove conditional code.
14247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14248         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14249         Remove conditional code.
14250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14251         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14252         Remove conditional code.
14253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14254         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14255         Remove conditional code.
14256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14257         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14258         Remove conditional code.
14259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14260         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14261         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14262         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14263         * sysdeps/unix/sysv/linux/sigaction.c
14264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14266         * sysdeps/unix/sysv/linux/sigpending.c
14267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14269         * sysdeps/unix/sysv/linux/sigprocmask.c
14270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14272         * sysdeps/unix/sysv/linux/sigsuspend.c
14273         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14274         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14275         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14276         (__libc_missing_rt_sigs): Remove.
14277         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14278         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14279         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14280         Remove conditional code.
14281         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14282         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14283         return 1.
14284         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14285         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14286         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14287         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14289 2012-05-14  Andreas Jaeger  <aj@suse.de>
14291         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14292         it's not used in glibc.
14293         (__coshm1): Likewise.
14294         (__acosh1p): Likewise.
14295         (__sgn): Likewise.
14297         * manual/string.texi (Copying and Concatenation): Add missing
14298         variable in concat example.
14299         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14303         [BZ #14103]
14304         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14305         __builtin_clzl with __builtin_clzll.
14307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14309         [BZ #14104]
14310         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14311         libc_freeres_ptr.
14313 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14315         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14316         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14317         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14318         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14320 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14322         * NEWS: Update ia64 info.
14324 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14326         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14327         used as bcopy.
14329 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14331         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14332         * sysdeps/unix/syscalls.list (dup3): Likewise.
14333         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14334         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14336 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14338         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14339         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14341 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14343         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14344         thread pointer.
14345         (TLS_IE): Use mov/add instead of movq/addq to load thread
14346         pointer.
14347         (TLS_GD_PREFIX): New.
14348         (TLS_GD): Use it.
14350 2012-05-11  David S. Miller  <davem@davemloft.net>
14352         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14353         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14354         (_FPU_SETCW): Likewise.
14356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14358         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14359         is 32-byte aligned.
14361 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14363         [BZ #11837]
14364         * iconvdata/gb18030.c: Update tables.
14365         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14366         characters specially.
14367         (BODY for TO_LOOP): Add encoding of missing ranges.
14369 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14371         [BZ #13673]
14372         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14373         * sysdeps/mach/hurd/dup3.c: Likewise.
14374         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14375         * sysdeps/powerpc/memmove.c:: Likewise.
14377 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14380         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14382 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14384         * elf/elf.h (R_X86_64_RELATIVE64): New.
14385         (R_X86_64_NUM): Updated.
14386         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14387         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14388         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14389         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14390         tst-quad1pie tst-quad2pie
14391         (modules-names): Add tst-quadmod1 tst-quadmod2.
14392         ($(objpfx)tst-quad1): New dependency.
14393         ($(objpfx)tst-quad2): Likewise.
14394         ($(objpfx)tst-quad1pie): Likewise.
14395         ($(objpfx)tst-quad2pie): Likewise.
14396         * sysdeps/x86_64/tst-quad1.c: New file.
14397         * sysdeps/x86_64/tst-quad1pie.c: New file.
14398         * sysdeps/x86_64/tst-quad2.c: Likewise.
14399         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14400         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14401         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14402         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14403         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14407         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14408         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14409         * streams/stropts.h (t_scalar_t): Define type.
14411         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14412         (_PATH_PRESERVE): Set to "/var/lib".
14413         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14415         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14416         instead of int.
14418         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14419         if __dir_mkfile succeeded.
14421         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14422         checking for _hurd_dtablesize.  Unlock it right after having
14423         finished _hurd_dtable allocation.
14425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14427         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14428         * sysdeps/mach/hurd/configure: Regenerated.
14429         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14430         special-casing to...
14431         * sysdeps/gnu/configure.in: ... this new file.
14432         * sysdeps/unix/sysv/linux/configure: Regenerated.
14433         * sysdeps/gnu/configure: New generated file.
14435         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14436         for Linux: use nsec instead of usec, as well as:
14437         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14438         members of type struct timespec.
14439         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14440         New macros.
14441         (struct stat64): Likewise.
14442         (_STATBUF_ST_NSEC): New macro.
14443         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14445         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14446         __strtoul_internal rather than strtoul.
14448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14450         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14451         and reject them.
14453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14455         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14456         which preserves existing values.
14457         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14459 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14461         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14462         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14463         greater than FD_SETSIZE.
14465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14467         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14468         allocated, call __vm_protect to finish enabling the existing space, and
14469         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14470         allocate the remainder.
14472 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14474         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14475         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14479         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14480         sysdeps/mach/hurd/readlink.c.
14482         * posix/tst-sysconf.c (posix_options): Only use
14483         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14484         _POSIX_SYNCHRONIZED_IO when they are defined
14485         * sysdeps/mach/hurd/bits/posix_opt.h:
14486         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14487         (_XOPEN_REALTIME): Undefine macro.
14488         (_XOPEN_REALTIME_THREADS): Undefine macro.
14489         (_XOPEN_SHM): Undefine macro.
14490         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14491         macro to -1.
14492         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14493         macro to -1.
14494         (_POSIX_ASYNC_IO): Undefine macro.
14495         (_POSIX_PRIORITIZED_IO): Undefine macro.
14496         (_POSIX_SPIN_LOCKS): Define macro to -1.
14498         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14499         SA_NODEFER, SA_RESETHAND.
14500         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14501         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14502         F_DUPFD_CLOEXEC.
14504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14506         * elf/Makefile (pldd-modules): Define unconditionally.
14508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14510         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14514         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14515         Return ENOENT when name is empty.
14516         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14518 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14520         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14522         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14526         Fix mlock in all cases except non-readable pages.
14527         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14528         instead of VM_PROT_ALL as parameter to __vm_wire function.
14530         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14531         (__mkdir): When path is `/', just fail with EEXIST.
14532         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14536         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14537         <sys/uio.h> (for writev).
14538         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14539         and <sys/param.h> (for MIN).
14541 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14543         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14544         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14545         if interrupted.
14547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14549         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14550         Depend on against $(link-rpcuserlibs).
14552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14554         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14555         (__libc_stack_end): Do not use attribute_relro.
14556         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14557         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14558         to libthread-provided value.
14559         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14560         attribute_relro.
14562 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14564         [BZ #3748]
14565         * bits/libc-lock.h (__libc_once_get): New macro.
14566         * sysdeps/mach/bits/libc-lock.h: Likewise.
14567         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14569         instead of using implementation details.
14571         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14572         * libio/freopen.c: Likewise.
14573         * libio/freopen64.c: Likewise.
14574         * misc/syslog.c: Likewise.
14575         * nscd/connections.c: Likewise.
14576         * nscd/netgroupcache.c: Likewise.
14577         * sysdeps/posix/getcwd.c: Likewise.
14579 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14581         * math/w_ilogbf.c: Add #include <limits.h>.
14583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14585         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14586         path instead of returning without unlocking.
14588         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14589         immediate-write ioctls.
14590         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14594         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14595         __builtin_frame_address instead of making assumptions about the
14596         location of the return address relative to DATA.  Force early load of
14597         the return address.
14598         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14599         __builtin_frame_address.
14601         dup3 for GNU Hurd.
14602         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14603         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14604         implement dup3 and do some further code clean-ups.
14605         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14606         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14610         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14612         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14613         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14614         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14615         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14616         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14617         d->port.lock.
14619         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14620         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14621         when handler == SIG_ERR, not when handler != SIG_ERR.
14623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14625         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14626         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14627         definitions.
14629         accept4 for GNU Hurd.
14630         * include/sys/socket.h (__libc_accept4): New prototype.
14631         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14632         to implement __libc_accept4.
14633         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14634         __libc_accept4.
14635         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14637         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14638         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14639         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14640         signal-defines.sym.
14642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14644         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14648         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14649         assertion on O_CLOEXEC flag.
14650         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14651         * hurd/intern-fd.c: Likewise.
14652         * hurd/port2fd.c: Likewise.
14654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14656         [BZ #3906]
14657         * bits/in.h (IPV6_PKTINFO): Define new macro.
14658         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14660 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14662         [BZ #13954]
14663         [BZ #13955]
14664         [BZ #13956]
14665         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14666         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14667         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14668         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14670         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14671         * math/libm-test.inc (logb_test) : Additional logb tests.
14673 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14674             Andreas Jaeger  <aj@suse.de>
14676         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14677         * configure: Regenerated.
14678         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14679         * config.make.in (link-obsolete-rpc): New substituted variable.
14680         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14681         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14682         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14683         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14684         so that libc.a contains the symbols.
14685         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14686         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14687         * sunrpc/auth_none.c: Likewise.
14688         * sunrpc/auth_unix.c: Likewise.
14689         * sunrpc/authdes_prot.c: Likewise.
14690         * sunrpc/authuxprot.c: Likewise.
14691         * sunrpc/clnt_gen.c: Likewise.
14692         * sunrpc/clnt_perr.c: Likewise.
14693         * sunrpc/clnt_raw.c: Likewise.
14694         * sunrpc/clnt_simp.c: Likewise.
14695         * sunrpc/clnt_tcp.c: Likewise.
14696         * sunrpc/clnt_udp.c: Likewise.
14697         * sunrpc/clnt_unix.c: Likewise.
14698         * sunrpc/des_crypt.c: Likewise.
14699         * sunrpc/des_soft.c: Likewise.
14700         * sunrpc/get_myaddr.c: Likewise.
14701         * sunrpc/key_call.c: Likewise.
14702         * sunrpc/key_prot.c: Likewise.
14703         * sunrpc/netname.c: Likewise.
14704         * sunrpc/pm_getmaps.c: Likewise.
14705         * sunrpc/pm_getport.c: Likewise.
14706         * sunrpc/pmap_clnt.c: Likewise.
14707         * sunrpc/pmap_prot.c: Likewise.
14708         * sunrpc/pmap_prot2.c: Likewise.
14709         * sunrpc/pmap_rmt.c: Likewise.
14710         * sunrpc/publickey.c: Likewise.
14711         * sunrpc/rpc_cmsg.c: Likewise.
14712         * sunrpc/rpc_common.c: Likewise.
14713         * sunrpc/rpc_dtable.c: Likewise.
14714         * sunrpc/rpc_prot.c: Likewise.
14715         * sunrpc/rpc_thread.c: Likewise.
14716         * sunrpc/rtime.c: Likewise.
14717         * sunrpc/svc.c: Likewise.
14718         * sunrpc/svc_auth.c: Likewise.
14719         * sunrpc/svc_raw.c: Likewise.
14720         * sunrpc/svc_run.c: Likewise.
14721         * sunrpc/svc_tcp.c: Likewise.
14722         * sunrpc/svc_udp.c: Likewise.
14723         * sunrpc/svc_unix.c: Likewise.
14724         * sunrpc/svcauth_des.c: Likewise.
14725         * sunrpc/xcrypt.c: Likewise.
14726         * sunrpc/xdr.c: Likewise.
14727         * sunrpc/xdr_array.c: Likewise.
14728         * sunrpc/xdr_float.c: Likewise.
14729         * sunrpc/xdr_intXX_t.c: Likewise.
14730         * sunrpc/xdr_mem.c: Likewise.
14731         * sunrpc/xdr_rec.c: Likewise.
14732         * sunrpc/xdr_ref.c: Likewise.
14733         * sunrpc/xdr_sizeof.c: Likewise.
14734         * sunrpc/xdr_stdio.c: Likewise.
14736 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14738         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14739         change.  Update copyright years.
14741 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14743         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14745 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14746             Joseph Myers  <joseph@codesourcery.com>
14747             Paul Pluzhnikov  <ppluzhnikov@google.com>
14749         [BZ #14012]
14750         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14751         requiring rpcgen.
14752         [cross-compiling] (extra-libs): Likewise.
14753         [cross-compiling] (extra-libs-others): Likewise.
14754         [cross-compiling] (librpcsvc-routines): Likewise.
14755         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14756         [cross-compiling] (omit-deps): Likewise.
14757         (sunrpc-CPPFLAGS): New variable.
14758         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14759         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14760         (cross-rpcgen-objs): New variable.
14761         (extra-objs): Append $(cross-rpcgen-objs).
14762         ($(cross-rpcgen-objs)): New rule.
14763         ($(objpfx)cross-rpcgen): Likewise.
14764         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14765         comment.
14766         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14767         ($(objpfx)x%.stmp): Likewise.
14768         * sunrpc/proto.h [IS_IN_build] (_): Define.
14769         [IS_IN_build] (_libc_intl_domainname): Likewise.
14771 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14774         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14775         and R_X86_64_TPOFF64.
14777 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14779         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14780         sysdeps/unix/sysv/syscalls.list.
14781         (stime): Likewise.
14782         (utime): Likewise.
14783         * sysdeps/unix/sysv/syscalls.list: Remove file.
14785 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14787         [BZ #3440]
14788         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14789         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14790         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14791         (__LC_IDENTIFICATION): Make these macros useful in #if
14792         expressions, as required by C99.
14794 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14796         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14797         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14798         after this.
14800 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14802         * stdlib/longlong.h: Updated from GCC.
14804 2012-05-09  Andreas Jaeger  <aj@suse.de>
14806         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14807         default is first entry.
14808         (run_mode): Set type.
14809         (main): Remove informal message about syslog.
14810         (options): Fix typo.
14812         [BZ #14053]
14813         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14814         to asm.
14815         (lrint): Likewise.
14816         (llrintf): Likewise.
14817         (llrint): Likewise.
14818         (rint): Likewise.
14819         (rintf): Likewise.
14820         (nearbyint): Likewise.
14821         (nearbyintf): Likewise.
14823 2012-05-09  Andreas Jaeger  <aj@suse.de>
14824             Pedro Alves  <palves@redhat.com>
14826         * nscd/nscd.c (run_mode): Use enum.
14827         (main): Cleanup coding style issue.
14829 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14830             Andreas Jaeger  <aj@suse.de>
14832         * nscd/nscd.c (go_background): Replaced with...
14833         (run_mode): ... this.
14834         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14835         (options): Add -F --foreground.
14836         (main): Implement it.
14837         (parse_opt): Parse it.
14839 2012-05-09  Andreas Jaeger  <aj@suse.de>
14841         [BZ #14083]
14842         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14843         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14844         -Wconversion warning.
14845         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14846         Likewise.
14848 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14850         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14851         == 0.
14852         (LC_ALL): Use macro-int-constant.
14853         (LC_COLLATE): Likewise.
14854         (LC_CTYPE): Likewise.
14855         (LC_MESSAGES): Likewise.
14856         (LC_MONETARY): Likewise.
14857         (LC_NUMERIC): Likewise.
14858         (LC_TIME): Likewise.
14859         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14860         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14861         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14862         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14863         Specify type.
14864         [C99-based standards] (float_t): Expect type.
14865         [C99-based standards] (double_t): Expect type.
14866         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14867         type.
14868         [C99-based standards] (HUGE_VALL): Likewise.
14869         [C99-based standards] (INFINITY): Likewise.
14870         [C99-based standards] (NAN): Likewise.
14871         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14872         [C99-based standards] (FP_NAN): Likewise.
14873         [C99-based standards] (FP_NORMAL): Likewise.
14874         [C99-based standards] (FP_SUBNORMAL): Likewise.
14875         [C99-based standards] (FP_ZERO): Likewise.
14876         [C99-based standards] (FP_FAST_FMA): Use
14877         optional-macro-int-constant.  Specify type.  Require == 1.
14878         [C99-based standards] (FP_FAST_FMAF): Likewise.
14879         [C99-based standards] (FP_FAST_FMAL): Likewise.
14880         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14881         [C99-based standards] (FP_ILOGBNAN): Likewise.
14882         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14883         Specify type.
14884         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14885         [C99-based standards] (math_errhandling): Specify type.
14886         [ISO99 || ISO11] (signgam): Do not allow.
14887         [non-C99-based standards] (copysignf): Do not allow.
14888         [non-C99-based standards] (exp2f): Likewise.
14889         [non-C99-based standards] (log2f): Likewise.
14890         [non-C99-based standards] (modff): Allow.
14891         [non-C99-based standards] (erff): Do not allow.
14892         [non-C99-based standards] (erfcf): Likewise.
14893         [non-C99-based standards] (gammaf): Likewise.
14894         [non-C99-based standards] (hypotf): Likewise.
14895         [non-C99-based standards] (j0f): Likewise.
14896         [non-C99-based standards] (j1f): Likewise.
14897         [non-C99-based standards] (jnf): Likewise.
14898         [non-C99-based standards] (lgammaf): Likewise.
14899         [non-C99-based standards] (tgammaf): Likewise.
14900         [non-C99-based standards] (y0f): Likewise.
14901         [non-C99-based standards] (y1f): Likewise.
14902         [non-C99-based standards] (ynf): Likewise.
14903         [non-C99-based standards] (isnanf): Likewise.
14904         [non-C99-based standards] (acoshf): Likewise.
14905         [non-C99-based standards] (asinhf): Likewise.
14906         [non-C99-based standards] (atanhf): Likewise.
14907         [non-C99-based standards] (cbrtf): Likewise.
14908         [non-C99-based standards] (expm1f): Likewise.
14909         [non-C99-based standards] (ilogbf): Likewise.
14910         [non-C99-based standards] (log1pf): Likewise.
14911         [non-C99-based standards] (logbf): Likewise.
14912         [non-C99-based standards] (nextafterf): Likewise.
14913         [non-C99-based standards] (remainderf): Likewise.
14914         [non-C99-based standards] (rintf): Likewise.
14915         [non-C99-based standards] (scalbf): Likewise.
14916         [non-C99-based standards] (copysignl): Likewise.
14917         [non-C99-based standards] (exp2l): Likewise.
14918         [non-C99-based standards] (log2l): Likewise.
14919         [non-C99-based standards] (modfl): Allow.
14920         [non-C99-based standards] (erfl): Do not allow.
14921         [non-C99-based standards] (erfcl): Likewise.
14922         [non-C99-based standards] (gammal): Likewise.
14923         [non-C99-based standards] (hypotl): Likewise.
14924         [non-C99-based standards] (j0l): Likewise.
14925         [non-C99-based standards] (j1l): Likewise.
14926         [non-C99-based standards] (jnl): Likewise.
14927         [non-C99-based standards] (lgammal): Likewise.
14928         [non-C99-based standards] (tgammal): Likewise.
14929         [non-C99-based standards] (y0l): Likewise.
14930         [non-C99-based standards] (y1l): Likewise.
14931         [non-C99-based standards] (ynl): Likewise.
14932         [non-C99-based standards] (isnanl): Likewise.
14933         [non-C99-based standards] (acoshl): Likewise.
14934         [non-C99-based standards] (asinhl): Likewise.
14935         [non-C99-based standards] (atanhl): Likewise.
14936         [non-C99-based standards] (cbrtl): Likewise.
14937         [non-C99-based standards] (expm1l): Likewise.
14938         [non-C99-based standards] (ilogbl): Likewise.
14939         [non-C99-based standards] (log1pl): Likewise.
14940         [non-C99-based standards] (logbl): Likewise.
14941         [non-C99-based standards] (nextafterl): Likewise.
14942         [non-C99-based standards] (remainderl): Likewise.
14943         [non-C99-based standards] (rintl): Likewise.
14944         [non-C99-based standards] (scalbl): Likewise.
14945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14946         [non-C99-based standards] (FP_*): Do not allow.
14947         [C99-based standards] (FP_*): Change to
14948         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14949         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14950         allow.
14951         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14952         (SIG_ERR): Likewise.
14953         [X/Open-based standards] (SIG_HOLD): Likewise.
14954         (SIG_IGN): Likewise.
14955         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14956         positive value.
14957         (SIGFPE): Likewise.
14958         (SIGILL): Likewise.
14959         (SIGINT): Likewise.
14960         (SIGSEGV): Likewise.
14961         (SIGTER): Likewise.
14962         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14963         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14964         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14965         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14966         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14967         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14968         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14969         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14970         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14971         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14972         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14973         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14974         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14975         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14976         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14977         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14978         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14979         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14980         [X/Open-based standards] (SIGTRAP): Likewise.
14981         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14982         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14983         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14984         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14985         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14986         allow.
14988 2012-05-08  Ian Wienand  <ianw@vmware.com>
14990         [BZ #14080]
14991         * time/tzset.c (__tzset_parse_tz): Update default rules for
14992         daylight time changes in the Energy Policy Act of 2005.
14994 2012-05-09  Andreas Jaeger  <aj@suse.de>
14996         [BZ #13983]
14997         * elf/ldconfig.c (parse_conf): Change string to make clear that
14998         ldconfig only issued a warning if ld.so.conf does not exist.
15000 2012-05-08  David S. Miller  <davem@davemloft.net>
15002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15003         movxtod instead of popping the value on the stack.
15005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15007 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15009         * config.h.in: Add HAVE_ARM_PCS_VFP.
15011 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15013         [BZ #13979]
15014         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15015         checking but the checks are disabled for any reason.
15017 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15019         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15020         and ELF64_R_TYPE with ELFW(R_TYPE).
15022 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15024         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15025         (ulimit): Likewise.
15027         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15028         (settimeofday): Likewise.
15030 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15032         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15033         a struct th_u2 inside the union, and move tu_block/tu_code into
15034         a new th_u3 union of tu_block/tu_code inside of that.  Move
15035         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15036         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15037         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15038         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15039         (th_stuff): Change to th_u1.tu_stuff.
15040         (th_data): Define.
15041         (th_msg): Change to th_u1.th_u2.tu_data.
15043 2012-05-07  David S. Miller  <davem@davemloft.net>
15045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15047         [BZ #14074]
15048         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15049         (SETUP_PIC_REG): Use it.
15050         (SETUP_PIC_REG_LEAF): Use it.
15052 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15054         [BZ #13885]
15055         [BZ #13923]
15056         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15057         USE_AS_EXPM1L.
15058         (EXPL_FINITE): Likewise.
15059         (FLDLOG): Likewise.
15060         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15061         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15062         e_expl.S.
15063         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15064         USE_AS_EXPM1L.
15065         (EXPL_FINITE): Likewise.
15066         (FLDLOG): Likewise.
15067         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15068         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15069         e_expl.S.
15070         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15071         test of -max_value argument for long double.
15072         * sysdeps/i386/fpu/libm-test-ulps: Update.
15073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15075 2012-05-06  David S. Miller  <davem@davemloft.net>
15077         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15078         quad soft-float symbols whose references which are compiler
15079         generated.
15080         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15082 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15084         [BZ #13884]
15085         [BZ #13914]
15086         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15087         USE_AS_EXP10L.
15088         (EXPL_FINITE): Likewise.
15089         (FLDLOG): Likewise.
15090         (c0): Likewise.
15091         (c1): Likewise.
15092         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15093         Adjust comments for base varying.
15094         (__expl_finite): Change alias to EXPL_FINITE.
15095         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15096         e_expl.S.
15097         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15098         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15099         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15100         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15102         USE_AS_EXP10L.
15103         (EXPL_FINITE): Likewise.
15104         (FLDLOG): Likewise.
15105         (c0): Likewise.
15106         (c1): Likewise.
15107         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15108         Adjust comments for base varying.
15109         (__expl_finite): Change alias to EXPL_FINITE.
15110         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15111         tests for bugs.
15112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15114         [BZ #14064]
15115         * math/libm-test.inc (check_float_internal): Correct ulp
15116         calculation for subnormal expected results.
15118 2012-05-06  Andreas Jaeger  <aj@suse.de>
15120         * Makeconfig (+math-flags): New, set to -frounding-math.
15121         (+cflags): Add +math-flags so that all of glibc gets compiled with
15122         it.
15124         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15126 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15128         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15129         Disable one test.
15131         [BZ #13787]
15132         [BZ #13922]
15133         [BZ #14036]
15134         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15135         (__ieee754_expl): Allow for and saturate large arguments.
15136         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15137         (u_threshold): Likewise.
15138         (__exp): Call __ieee754_exp before checking for overflow and
15139         underflow.
15140         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15141         (u_threshold): Likewise.
15142         (__expf): Call __ieee754_expf before checking for overflow and
15143         underflow.
15144         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15145         (u_threshold): Likewise.
15146         (__expl): Call __ieee754_expl before checking for overflow and
15147         underflow.
15148         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15149         (__ieee754_expl): Allow for and saturate large arguments.
15150         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15151         missing overflow exception on overflow.
15152         (expm1_test): Do not allow missing overflow exception on overflow.
15154         * sysdeps/i386/fpu/e_expl.c: Move to ...
15155         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15156         rather than using inline asm.
15157         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15158         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15159         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15161         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15162         (nice): Likewise.
15163         (poll): Likewise.
15164         (signal): Likewise.
15165         (time): Likewise.
15166         (times): Likewise.
15168 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15170         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15171         sysdeps/unix/common/syscalls.list.
15172         (fchmod): Likewise.
15173         (fchown): Likewise.
15174         (ftruncate): Likewise.
15175         (getrusage): Likewise.
15176         (gettimeofday): Likewise.
15177         (setpgid): Likewise.
15178         (setregid): Likewise.
15179         (setreuid): Likewise.
15180         (sigaction): Likewise.
15181         (truncate): Likewise.
15182         (vhangup): Likewise.
15183         * sysdeps/unix/common/syscalls.list: Remove file.
15184         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15185         * sysdeps/unix/sysv/linux/Implies: Likewise.
15187 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15189         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15191         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15192         Moved to ...
15193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15194         Here.
15195         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15196         to ...
15197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15198         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15199         to ...
15200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15201         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15202         to ...
15203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15204         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15205         to ...
15206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15207         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15208         to ...
15209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15210         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15211         to ...
15212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15213         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15214         to ...
15215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15216         Here.
15217         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15218         to ...
15219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15220         Here.
15221         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15222         to ...
15223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15224         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15225         Moved to ...
15226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15227         Here.
15228         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15229         to ...
15230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15232 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15234         * sysdeps/unix/common/bits/dirent.h: Remove file.
15235         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15237         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15238         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15239         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15240         * sysdeps/unix/bsd/isatty.c: Likewise.
15241         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15242         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15243         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15245 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15247         [BZ #13563]
15248         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15249         long double comparison inaccuracies.
15250         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15253 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15255         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15256         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15258 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15260         [BZ #14049]
15261         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15262         nonzero digits before rounding a hex value.
15263         * stdlib/tst-strtod.c (tests): Add another test.
15265 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15267         * sysdeps/s390/fpu/libm-test-ulps: Update.
15269 2012-05-03  Andreas Jaeger  <aj@suse.de>
15271         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15272         does not get optimized out.
15273         (malloc_opt_barrier): New.
15275 2012-05-03  Andreas Jaeger  <aj@suse.de>
15276             Roland McGrath  <roland@hack.frob.com>
15278         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15279         intermediate file deletion.
15280         (generated): Add .symlist files.
15282 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
15284         [BZ #13775]
15285         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15286         Redirect under this condition.
15287         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15288         [__USE_GNU] (__dprintf_chk): Not under this condition.
15289         [__USE_GNU] (__vdprintf_chk): Likewise.
15290         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15291         under this condition.
15292         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15293         [__USE_XOPEN2K8] (dprintf): Define under this condition.
15294         [__USE_XOPEN2K8] (vdprintf): Likewise.
15295         [__USE_GNU] (__dprintf_chk): Not under this condition.
15296         [__USE_GNU] (__vdprintf_chk): Likewise.
15297         [__USE_GNU] (dprintf): Likewise.
15298         [__USE_GNU] (vdprintf): Likewise.
15300 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15302         * elf/Makefile (common-generated): Set this instead of generated for
15303         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15304         $(all-built-dso)-derived lists.
15306 2012-05-03  Andreas Jaeger  <aj@suse.de>
15308         * sysdeps/i386/fpu/libm-test-ulps: Update.
15310         * FAQ: Removed.
15311         * FAQ.in: Likewise.
15312         * scripts/gen-FAQ.pl: Likewise.
15313         * manual/install.texi (Installation): Point to online location of
15314         FAQ.
15315         * Makefile (files-for-dist): Remove FAQ.
15316         (FAQ): Remove.
15318 2012-05-02  Allan McRae  <allan@archlinux.org>
15320         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15321         (LDFLAGS-reldepmod5.so): Likewise.
15322         (LDFLAGS-reldep6mod1.so): Likewise.
15323         (LDFLAGS-reldep6mod4.so): Likewise.
15324         (LDFLAGS-reldep8mod3.so): Likewise.
15325         (LDFLAGS-unload4mod1.so): Likewise.
15326         (LDFLAGS-unload4mod2.so): Likewise.
15327         (LDFLAGS-tst-initorder): Likewise.
15328         (LDFLAGS-tst-initordera2.so): Likewise.
15329         (LDFLAGS-tst-initordera3.so): Likewise.
15330         (LDFLAGS-tst-initordera4.so): Likewise.
15331         (LDFLAGS-tst-initorderb2.so): Likewise.
15332         (LDFLAGS-noload): Likewise.
15333         (LDFLAGS-next): Likewise.
15334         (LDFLAGS-order2mod1.so): Likewise.
15335         (LDFLAGS-order2mod2.so): Likewise.
15336         (LDFLAGS-tst-initorder2): Likewise.
15337         (LDFLAGS-tst-initorder2a.so): Likewise.
15338         (LDFLAGS-tst-initorder2b.so): Likewise.
15339         (LDFLAGS-tst-initorder2c.so): Likewise.
15340         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15342 2012-05-02  David S. Miller  <davem@davemloft.net>
15344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15346 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15348         [BZ #14055]
15349         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15351 2012-05-02  Andreas Jaeger  <aj@suse.de>
15353         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15354         since we manipulate rounding mode.
15355         (CPPFLAGS-test-idouble.c): Likewise.
15356         (CPPFLAGS-test-ifloat.c): Likewise.
15357         (CFLAGS-test-ldouble.c): Likewise.
15358         (CFLAGS-test-double.c): Likewise.
15359         (CFLAGS-test-float.c): Likewise.
15360         (CFLAGS-test-misc.c): Likewise.
15361         (CFLAGS-test-test-fenv.c): Likewise.
15363 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15365         [BZ #2550]
15366         [BZ #2570]
15367         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15368         comparisons to determine direction to adjust input.
15370 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15372         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15373         output to the target.
15375         * scripts/localplt.awk: New file.
15376         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15377         (check-localplt-CFLAGS): Variable removed.
15378         ($(all-built-dso:=.jmprel)): New static pattern rule.
15379         (generated): Add those targets.
15380         (localplt-built-dso): New variable.
15381         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15383         * elf/check-localplt.c: File removed.
15385         * scripts/check-execstack.awk: New file.
15386         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15387         (check-execstack-CFLAGS): Variable removed.
15388         ($(objpfx)check-execstack.h): Target removed.
15389         ($(objpfx)execstack-default): New target.
15390         (generated): Add that instead of check-execstack.h.
15391         ($(all-built-dso:=.phdr)): New static pattern rule.
15392         (generated): Add those targets.
15393         * elf/check-execstack.c: File removed.
15395         * scripts/check-textrel.awk: New file.
15396         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15397         (check-textrel-CFLAGS): Variable removed.
15398         (all-built-dso): Use := to define.o
15399         ($(all-built-dso:=.dyn)): New static pattern rule.
15400         (generated): Add those targets.
15401         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15402         * config.make.in (READELF): New substituted variable.
15403         * elf/check-textrel.c: File removed.
15405 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15407         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15408         allow.
15409         * conform/data/ctype.h-data [C99-based standards] (isblank):
15410         Expect function.
15411         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15412         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15413         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15414         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15415         Specify type.  Require positive value.
15416         (EILSEQ): Likewise.
15417         (ERANGE): Likewise.
15418         [ISO || POSIX] (EILSEQ): Do not expect.
15419         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15420         Specify type.  Require positive value.
15421         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15422         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15423         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15424         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15425         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15426         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15427         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15428         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15429         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15430         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15431         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15432         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15433         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15434         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15435         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15436         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15438         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15440         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15441         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15442         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15443         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15444         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15446         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15447         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15448         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15449         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15450         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15451         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15452         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15453         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15456         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15457         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15462         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15463         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15464         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15465         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15466         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15467         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15468         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15469         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15470         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15471         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15473         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15474         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15475         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15476         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15479         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15480         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15481         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15482         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15483         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15484         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15485         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15486         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15487         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15488         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15489         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15490         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15492         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15493         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15494         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15495         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15496         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15497         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15498         Require >= 2.
15499         (FLT_ROUNDS): Expect as macro, not constant.
15500         (FLT_MANT_DIG): Use macro-int-constant.
15501         (DBL_MANT_DIG): Likewise.
15502         (LDBL_MANT_DIG): Likewise.
15503         (FLT_DIG): Likewise.
15504         (DBL_DIG): Likewise.
15505         (LDBL_DIG): Likewise.
15506         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15507         (DBL_MIN_EXP): Likewise.
15508         (LDBL_MIN_EXP): Likewise.
15509         (FLT_MAX_EXP): Use macro-int-constant.
15510         (DBL_MAX_EXP): Likewise.
15511         (LDBL_MAX_EXP): Likewise.
15512         (FLT_MAX_10_EXP): Likewise.
15513         (DBL_MAX_10_EXP): Likewise.
15514         (LDBL_MAX_10_EXP): Likewise.
15515         (FLT_MAX): Use macro-constant.
15516         (DBL_MAX): Likewise.
15517         (LDBL_MAX): Likewise.
15518         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15519         (DBL_EPSILON): Likewise.
15520         (LDBL_EPSILON): Likewise.
15521         (FLT_MIN): Likewise.
15522         (DBL_MIN): Likewise.
15523         (LDBL_MIN): Likewise.
15524         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15525         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15526         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15527         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15528         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15529         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15530         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15531         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15532         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15533         [ISO11] (FLT_TRUE_MIN): Likewise.
15534         [ISO11] (LDBL_TRUE_MIN): Likewise.
15535         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15536         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15537         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15538         (SCHAR_MAX): Likewise.
15539         (UCHAR_MAX): Likewise.
15540         (CHAR_MIN): Likewise.
15541         (CHAR_MAX): Likewise.
15542         (MB_LEN_MAX): Use macro-int-constant.
15543         (SHRT_MIN): Use macro-int-constant.  Specify type.
15544         (SHRT_MAX): Likewise.
15545         (USHRT_MAX): Likewise.
15546         (INT_MAX): Likewise.
15547         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15548         bound negative.
15549         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15550         bound with "U".
15551         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15552         bound with "L".
15553         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15554         bound negative.  Suffix upper bound with "L".
15555         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15556         bound with "UL".
15557         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15558         Specify type.
15559         [C99-based standards] (LLONG_MAX): Likewise.
15560         [C99-based standards] (ULLONG_MAX): Likewise.
15561         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15562         == 0.
15563         [ISO11] (max_align_t): Require type.
15564         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15566         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15567         from $CFLAGS, without defining away __attribute__ calls.
15568         (checknamespace): Use $CFLAGS_namespace.
15570         * conform/conformtest.pl (@keywords): Only include C99 keywords
15571         for standards based on C99 or C11.
15573         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15574         Disable tests.
15575         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15576         UNIX98]: Likewise.
15578         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15579         usability of symbols in #if.
15581         * conform/conformtest.pl: If macro or constant types start
15582         "promoted:", expect the symbol to be of the following type
15583         promoted by the integer promotions.
15585         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15586         in one place.  Also handle "macro-constant".
15588         * conform/conformtest.pl: Only accept expected macro values with
15589         "==".  Parse all "macro" lines in one place.
15590         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15592         * conform/conformtest.pl: Handle braced types on "constant" lines
15593         instead of handling "typed-constant".
15594         * conform/data/signal.h-data: Use "constant" instead of
15595         "typed-constant".
15597         * conform/conformtest.pl: Handle "optional-" at start of lines in
15598         one place rather than duplicating several cases.  Handle each
15599         format of "macro" line with initial "optional-".
15601         * conform/conformtest.pl: Only accept expected constant or
15602         optional-constant values with "==".  Parse all "constant" lines in
15603         one place.  Parse all "optional-constant" lines in one place.
15604         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15605         * conform/data/fmtmsg.h-data: Likewise.
15606         * conform/data/netinet/in.h-data: Likewise.
15607         * conform/data/tar.h-data: Likewise.
15608         * conform/data/limits.h-data: Use "==" form on "constant" and
15609         "optional-constant" lines.
15611         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15612         Use -std=c99 for XOPEN2K.
15613         (@knownproblems): Remove.
15614         (newtoken): Don't check %isknown.
15616         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15617         Do not expect macro.
15618         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15619         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15620         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15621         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15622         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15623         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15624         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15625         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15626         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15627         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15628         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15629         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15630         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15631         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15632         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15633         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15634         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15635         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15636         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15637         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15638         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15639         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15640         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15641         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15642         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15643         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15644         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15645         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15646         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15647         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15648         [XPG3] (acosh): Likewise.
15649         [XPG3] (asinh): Likewise.
15650         [XPG3] (atanh): Likewise.
15651         [XPG3] (cbrt): Likewise.
15652         [XPG3] (expm1): Likewise.
15653         [XPG3] (ilogb): Likewise.
15654         [XPG3] (log1p): Likewise.
15655         [XPG3] (logb): Likewise.
15656         [XPG3] (nextafter): Likewise.
15657         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15658         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15659         [XPG3] (remainder): Likewise.
15660         [XPG3] (rint): Likewise.
15661         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15662         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15663         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15664         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15665         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15666         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15667         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15668         [UNIX98 || XOPEN2K] (scalb): Expect.
15669         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15670         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15671         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15672         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15673         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15674         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15675         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15676         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15677         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15678         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15679         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15680         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15681         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15682         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15683         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15684         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15685         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15686         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15687         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15688         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15689         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15690         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15691         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15692         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15693         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15694         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15695         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15696         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15697         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15698         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15699         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15700         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15701         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15702         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15703         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15704         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15705         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15706         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15707         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15708         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15709         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15710         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15711         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15712         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15713         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15714         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15715         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15716         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15717         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15718         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15719         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15720         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15721         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15722         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15723         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15724         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15725         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15726         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15727         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15728         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15729         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15730         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15731         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15732         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15733         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15734         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15735         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15736         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15737         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15738         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15739         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15740         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15741         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15742         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15743         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15744         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15745         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15746         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15747         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15748         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15749         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15750         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15751         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15752         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15753         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15754         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15755         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15756         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15757         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15758         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15759         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15760         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15761         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15762         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15763         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15764         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15765         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15766         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15767         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15768         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15769         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15770         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15771         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15772         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15773         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15774         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15775         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15776         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15777         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15778         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15779         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15780         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15781         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15782         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15783         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15784         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15785         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15786         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15787         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15788         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15789         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15790         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15791         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15792         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15793         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15794         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15795         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15796         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15797         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15798         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15799         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15800         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15801         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15802         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15803         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15804         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15805         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15807         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15808         _XOPEN_SOURCE_EXTENDED for XPG4.
15810         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15812         * Makeconfig (localtime): Remove variable.
15813         (inst_localtime-file): Likewise.
15815 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15818         Update.
15819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15820         Update.
15821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15822         Update.
15823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15824         Update.
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15826         Update.
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15828         Update.
15829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15830         Update.
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15832         Update.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15834         Update.
15836 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15838         [BZ #2550]
15839         [BZ #2570]
15840         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15841         comparisons to determine direction to adjust input.
15842         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15843         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15844         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15845         Likewise.
15846         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15847         Likewise.
15848         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15849         Likewise.
15850         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15851         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15852         Likewise.
15853         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15854         Likewise.
15855         * math/libm-test.inc (nexttoward_test): Add more tests.
15857 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15859         [BZ #14040]
15860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15861         in version GLIBC_2.1, not GLIBC_2.0.
15862         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15863         Likewise.
15865 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15867         [BZ #13942]
15868         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15869         (1 - x) * (1 + x).
15870         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15871         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15872         * math/libm-test.inc (acos_test): Add more tests.
15873         (asin_test): Likewise.
15874         * sysdeps/i386/fpu/libm-test-ulps: Update.
15875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877         [BZ #14034]
15878         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15879         of square root.
15880         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15881         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15882         * math/libm-test.inc (acos_test_tonearest): New function.
15883         (acos_test_towardzero): Likewise.
15884         (acos_test_downward): Likewise.
15885         (acos_test_upward): Likewise.
15886         (asin_test_tonearest): Likewise.
15887         (asin_test_towardzero): Likewise.
15888         (asin_test_downward): Likewise.
15889         (asin_test_upward): Likewise.
15890         (main): Call the new functions.
15891         * sysdeps/i386/fpu/libm-test-ulps: Update.
15892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15894         [BZ #13884]
15895         [BZ #13924]
15896         * math/e_exp10.c: Include <float.h>.
15897         (__ieee754_exp10): Handle underflow here rather than multiplying
15898         large negative argument by M_LN10.
15899         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15900         of __ieee754_expf.
15901         * math/e_exp10l.c: Include <float.h>.
15902         (__ieee754_exp10l): Handle underflow here rather than multiplying
15903         large negative argument by M_LN10l.
15904         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15905         spurious overflow exception on underflow.
15907 2012-04-29  Marek Polacek  <polacek@redhat.com>
15909         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15910         (__fortify_function): New macro.
15911         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15912         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15913         __extern_always_inline.
15914         * libio/bits/stdio2.h: Likewise.
15915         * libio/bits/stdio.h: Likewise.
15916         * string/string.h: Likewise.
15917         * string/bits/string3.h: Likewise.
15918         * include/stdio.h: Likewise.
15919         * stdlib/bits/stdlib.h: Likewise.
15920         * stdlib/stdlib.h: Likewise.
15921         * rt/bits/mqueue2.h: Likewise.
15922         * rt/mqueue.h: Likewise.
15923         * posix/bits/unistd.h: Likewise.
15924         * posix/unistd.h: Likewise.
15925         * io/bits/poll2.h: Likewise.
15926         * io/bits/fcntl2.h: Likewise.
15927         * io/fcntl.h: Likewise.
15928         * io/sys/poll.h: Likewise.
15929         * misc/bits/syslog.h: Likewise.
15930         * misc/bits/syslog-ldbl.h: Likewise.
15931         * misc/sys/syslog.h: Likewise.
15932         * socket/bits/socket2.h: Likewise.
15933         * socket/sys/socket.h: Likewise.
15934         * debug/tst-chk1.c: Likewise.
15935         * wcsmbs/bits/wchar2.h: Likewise.
15936         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15937         * wcsmbs/wchar.h: Likewise.
15939 2012-04-29  Andreas Jaeger  <aj@suse.de>
15941         * Makerules (tests): Remove enable-check-abi protection.
15942         (check-abi-warn): Remove.
15943         (check-abi-%): Remove check-abi-warn usage.
15945         * configure.in: Remove check-abi configure option.
15946         * configure: Regenerated.
15947         * config.make.in (enable-check-abi): Remove.
15949 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15951         [BZ #14033]
15952         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15953         double functions to double *_finite functions.
15955         [BZ #13941]
15956         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15957         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15958         LDBL_MIN_EXP.
15959         * stdio-common/Makefile (tests): Add tst-sprintf3.
15960         * stdio-common/tst-sprintf3.c: New file.
15962         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15963         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15965 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15967         * conform/conformtest.pl: Remove duplicate typed-constant
15968         handling.
15970 2012-04-28  David S. Miller  <davem@davemloft.net>
15972         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15973         (check-abi-%): Remove AWK script prerequisite and explicit
15974         abilist directory.
15975         (check-abi): Rewrite to just diff the symlist with the abilist.
15976         (config-tls, config-abi-config): Delete, no longer used.
15977         (update-abi-%): Remove AWK script and explicit abilist directory.
15978         (update-abi): Rewrite to simply compare and conditionally copy the
15979         symlist and the sysdep abilist file.  Remove update-abi-config
15980         checks.
15981         * abilist/ld.abilist: Remove.
15982         * abilist/libBrokenLocale.abilist: Remove.
15983         * abilist/libanl.abilist: Remove.
15984         * abilist/libcrypt.abilist: Remove.
15985         * abilist/libdl.abilist: Remove.
15986         * abilist/librt.abilist: Remove.
15987         * abilist/libthread_db.abilist: Remove.
15988         * abilist/libutil.abilist: Remove.
15989         * scripts/extract-abilist.awk: Remove.
15990         * scripts/merge-abilist.awk: Remove.
15991         * sysdeps/generic/libcidn.abilist: New file.
15992         * sysdeps/generic/libnss_compat.abilist: New file.
15993         * sysdeps/generic/libnss_db.abilist: New file.
15994         * sysdeps/generic/libnss_dns.abilist: New file.
15995         * sysdeps/generic/libnss_files.abilist: New file.
15996         * sysdeps/generic/libnss_hesiod.abilist: New file.
15997         * sysdeps/generic/libnss_nis.abilist: New file.
15998         * sysdeps/generic/libnss_nisplus.abilist: New file.
15999         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16000         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16001         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16002         file.
16003         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16004         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16005         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16006         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16007         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16008         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16009         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16010         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16011         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16012         file.
16013         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16014         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16015         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16016         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16017         file.
16018         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16019         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16020         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16021         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16022         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16023         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16024         file.
16025         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16026         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16027         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16028         file.
16029         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16031         New file.
16032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16033         New file.
16034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16035         New file.
16036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16037         New file.
16038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16039         New file.
16040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16041         New file.
16042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16043         New file.
16044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16045         New file.
16046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16047         New file.
16048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16049         New file.
16050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16051         New file.
16052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16053         New file.
16054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16055         New file.
16056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16057         file.
16058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16059         New file.
16060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16061         New file.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16063         file.
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16065         New file.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16067         New file.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16069         file.
16070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16071         New file.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16073         New file.
16074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16075         New file.
16076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16077         New file.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16079         New file.
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16081         New file.
16082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16084         file.
16085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16086         New file.
16087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16088         file.
16089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16090         file.
16091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16092         file.
16093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16094         file.
16095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16096         file.
16097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16098         New file.
16099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16100         file.
16101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16102         file.
16103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16104         New file.
16105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16106         file.
16107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16109         file.
16110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16111         New file.
16112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16113         file.
16114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16115         file.
16116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16117         file.
16118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16119         file.
16120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16121         file.
16122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16123         New file.
16124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16125         file.
16126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16127         file.
16128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16129         New file.
16130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16131         file.
16132         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16133         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16134         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16135         file.
16136         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16137         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16138         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16139         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16140         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16141         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16142         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16143         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16144         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16145         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16148         file.
16149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16150         New file.
16151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16152         file.
16153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16154         file.
16155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16156         file.
16157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16158         file.
16159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16160         file.
16161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16162         New file.
16163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16164         New file.
16165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16166         file.
16167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16168         New file.
16169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16170         file.
16171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16173         file.
16174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16175         New file.
16176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16177         file.
16178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16179         file.
16180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16181         file.
16182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16183         file.
16184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16185         file.
16186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16187         New file.
16188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16189         New file.
16190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16191         file.
16192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16193         New file.
16194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16195         file.
16197 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16199         * conform/conformtest.pl: Fix typo in handling typed-constant from
16200         allow-header.
16202 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16204         * README: Cut down references to pre-2.6 Linux kernels and
16205         Linuxthreads.  Update lists of configurations in libc and ports
16206         and sort alphabetically.  Say "or newer" with Linux kernel version
16207         requirements.
16209         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16211 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16213         [BZ #887]
16214         * math/libm-test.inc (logb_test_downward): New test to expose
16215         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16216         rounding mode.
16218 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16220         [BZ #14027]
16221         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16222         to be done.
16223         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16224         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16226 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16228         * sysdeps/unix/i386/brk.S: Remove file.
16229         * sysdeps/unix/i386/dl-brk.S: Likewise.
16230         * sysdeps/unix/i386/pipe.S: Likewise.
16231         * sysdeps/unix/i386/sigreturn.S: Likewise.
16232         * sysdeps/unix/i386/syscall.S: Likewise.
16233         * sysdeps/unix/i386/vfork.S: Likewise.
16234         * sysdeps/unix/i386/wait.S: Likewise.
16236         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16237         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16239         * configure.in (arm*-none*): Do not allow without
16240         --enable-hacker-mode.
16241         (netbsd*): Remove case setting base_os.
16242         (386bsd*): Likewise.
16243         (freebsd*): Likewise.
16244         (bsdi*): Likewise.
16245         (osf*): Likewise.
16246         (sunos*): Likewise.
16247         (ultrix*): Likewise.
16248         (newsos*): Likewise.
16249         (dynix*): Likewise.
16250         (*bsd*): Likewise.
16251         (sysv*): Likewise.
16252         (isc*): Likewise.
16253         (esix*): Likewise.
16254         (sco*): Likewise.
16255         (minix*): Likewise.
16256         (irix4*): Likewise.
16257         (irix6*): Likewise.
16258         (solaris[2-9]*): Likewise.
16259         (none): Likewise.
16260         * configure: Regenerated.
16262 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16264         [BZ #11521]
16265         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16266         overflow or cancellation in calculating denominator.
16267         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16268         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16269         down expression to avoid unexpected rounding in newer GCCs.
16270         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16272 2012-04-26  David S. Miller  <davem@davemloft.net>
16274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16275         long-double compat symbols.
16276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16290 2012-04-25  David S. Miller  <davem@davemloft.net>
16292         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16293         HWCAP_* values only after the memory barriers have been defined.
16294         (atomic_full_barrier): Define.
16295         (atomic_read_barrier): Define.
16296         (atomic_write_barrier): Define.
16298 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16300         * shlib-versions: Add libgcc_s version information.
16301         * sysdeps/generic/libgcc_s.h: Remove.
16302         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16303         libgcc_s.h.
16304         * sysdeps/gnu/unwind-resume.c: Likewise.
16305         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16307 2012-04-25  David S. Miller  <davem@davemloft.net>
16309         * sysdeps/unix/sparc/brk.S: Delete.
16310         * sysdeps/unix/sparc/dl-brk.S: Delete.
16311         * sysdeps/unix/sparc/pipe.S: Delete.
16312         * sysdeps/unix/sparc/sysdep.S: Delete.
16313         * sysdeps/unix/sparc/sysdep.h: Delete.
16314         * sysdeps/unix/sparc/vfork.S: Delete.
16315         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16316         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16317         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16318         ret_ERRVAL, r0, r1, MOVE): Define.
16319         (JUMPTARGET): Remove.
16320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16321         sysdeps/unix/sparc/sysdep.h
16322         (ENTRY, END): Remove.
16323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16325 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16327         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16328         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16329         -DIS_IN_build.
16331         * timezone/README: Update upstream location and email address for
16332         tzcode and tzdata.
16333         * timezone/zdump.c: Update from tzcode 2012b.
16334         * timezone/zic.c: Likewise.
16336         * configure.in (libc_cv_as_needed): Remove test.
16337         * configure: Regenerated.
16338         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16339         conditional definition.
16340         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16341         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16342         * config.make.in (have-as-needed): Remove variable.
16344 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16345             Paul Pluzhnikov  <ppluzhnikov@google.com>
16347         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16348         strings correctly.
16350 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16352         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16353         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16354         * sysdeps/sh/strlen.S: Likewise.
16356 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16358         * sysdeps/unix/fork.S: Remove file.
16359         * sysdeps/unix/i386/fork.S: Likewise.
16360         * sysdeps/unix/sparc/fork.S: Likewise.
16362         * sysdeps/unix/system.c: Remove file.
16363         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16365         * sysdeps/unix/getegid.S: Remove file.
16366         * sysdeps/unix/geteuid.S: Likewise.
16368 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16370         * scripts/check-localplt.awk: New file.
16371         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16372         of diff.
16373         * scripts/data/localplt-generic.data: Add a comment.
16375         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16376         NODE when __dir_mkfile failed.
16377         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16378         Reported by Ludovic Courtès <ludo@gnu.org>.
16380 2012-04-24  Andreas Jaeger  <aj@suse.de>
16382         * Makerules (common-clean): Also remove gen-as-const-headers
16383         files.
16385 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16387         * Makerules (native-compile): Do not change working directory for
16388         build.  Use $(OUTPUT_OPTION) in command.
16389         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16391 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16393         [BZ #13886]
16394         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16395         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16396         * math/libm-test.inc (floor_test): Add more tests.
16397         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16399 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16401         * sysdeps/unix/getdents.c: Remove file.
16402         * sysdeps/unix/sysv/getdents.c: Likewise.
16403         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16405         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16406         sysdeps/unix/mman/syscalls.list.
16407         (mmap): Likewise.
16408         (mprotect): Likewise.
16409         (msync): Likewise.
16410         (munmap): Likewise.
16411         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16412         * sysdeps/unix/mman/syscalls.list: Remove.
16413         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16415         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16416         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16417         * configure: Regenerated.
16418         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16419         $(libgcc_s_suffix).
16420         * config.make.in (libgcc_s_suffix): Remove variable.
16422 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16424         * sysdeps/unix/sysv/gethostname.c: Move to ...
16425         * sysdeps/posix/gethostname.c: ... here.
16427         * sysdeps/unix/execve.S: Remove file.
16429         * sysdeps/unix/_exit.S: Remove file.
16431 2012-04-23  Andreas Jaeger  <aj@suse.de>
16433         [BZ #13739]
16434         * manual/Makefile: Remove make dist support, there's no
16435         need for a stand-alone documentation tar ball.
16436         (TEXI2DVI): Define always, it's not in Makeconfig.
16437         (dist): Removed.
16438         (tar-it): Removed.
16439         (edition): Removed.
16440         (glibc-doc-$(edition).tar): Removed
16441         (%.Z): Removed.
16442         (%.gz): Removed.
16443         (%.uu): Removed.
16444         (ETAGS): Remove, it's in Makeconfig.
16445         (move-if-change): Remove, it's in Makeconfig.
16447 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16449         [BZ #13970]
16450         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16451         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16452         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16453         (strtod_l, strtof_l, strtold_l): Remove __wur.
16454         It is not necessarily an error to ignore strtol's return value.
16455         One can reliably look at the stored endptr to decide whether
16456         the number had valid syntax.
16458 2012-04-21  Andreas Jaeger  <aj@suse.de>
16460         [BZ #13739]
16461         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16463 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16465         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16466         * sysdeps/unix/sysv/Versions: Remove file.
16468 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16470         [BZ #13927]
16471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16473 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16475         [BZ #7064]
16476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16477         version from __vm86.
16479 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16481         * sysdeps/unix/common/lxstat.c: Remove file.
16482         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16484         * sysdeps/unix/sysv/Makefile: Remove file.
16486         * sysdeps/unix/sysv/direct.h: Remove file.
16488         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16489         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16490         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16491         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16492         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16493         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16494         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16496         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16498         * sysdeps/unix/xmknod.c: Remove file.
16499         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16501         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16503         * sysdeps/unix/sysv/i386/time.S: Remove file.
16505         * sysdeps/unix/fxstat.c: Remove file.
16506         * sysdeps/unix/xstat.c: Likewise.
16507         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16509         * sysdeps/unix/sysv/sigaction.c: Remove file.
16511         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16512         (sysdep_headers): Remove variable.
16513         [termio.h not in sysdep_headers] (generated): Likewise.
16514         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16515         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16516         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16517         * sysdeps/unix/sysv/tcflow.c: Likewise.
16518         * sysdeps/unix/sysv/tcflush.c: Likewise.
16519         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16520         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16521         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16522         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16523         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16525         * sysdeps/unix/siglist.c: Remove file.
16527         * sysdeps/unix/getppid.S: Remove file.
16529         * sysdeps/unix/mkdir.c: Remove file.
16530         * sysdeps/unix/rmdir.c: Likewise.
16532 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16534         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16535         ERR_MAX value.
16536         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16537         errlist-compat value.
16539 2012-04-18  David S. Miller  <davem@davemloft.net>
16541         * sysdeps/generic/memcopy.h (reg_char): Delete.
16542         * debug/strcat_chk.c: Use char, not reg_char.
16543         * debug/strcpy_chk.c: Likewise.
16544         * debug/strncat_chk.c: Likewise.
16545         * debug/strncpy_chk.c: Likewise.
16546         * string/memchr.c: Likewise.
16547         * string/memrchr.c: Likewise.
16548         * string/rawmemchr.c: Likewise.
16549         * string/strcat.c: Likewise.
16550         * string/strchr.c: Likewise.
16551         * string/strchrnul.c: Likewise.
16552         * string/strcmp.c: Likewise.
16553         * string/strcpy.c: Likewise.
16554         * string/strncat.c: Likewise.
16555         * string/strncmp.c: Likewise.
16556         * string/strncpy.c: Likewise.
16558 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16560         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16561         __builtin_memcopy is called when src and dest ranges are known to not
16562         overlap.
16564 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16566         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16567         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16568         fwd_align_merge macro call.
16569         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16570         bwd_align_merge macro call.
16571         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16573 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16575         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16576         bwd_align_merge macros.
16577         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16578         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16579         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16581 2012-04-18  David S. Miller  <davem@davemloft.net>
16583         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16585 2012-04-18  Andreas Jaeger  <aj@suse.de>
16587         [BZ# 6794]
16588         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16589         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16592         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16593         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16594         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16596         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16597         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16598         Adjust for changed ldbl-128 files.
16600         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16601         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16602         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16604 2012-04-17  David S. Miller  <davem@davemloft.net>
16606         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16608 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16610         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16611         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16612         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16613         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16614         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16615         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16617 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16619         [BZ #6794]
16620         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16621         * math/libm-test.inc: Add ilogb errno and exception tests.
16622         * math/w_ilogb.c: New file: ilogb wrapper.
16623         * math/w_ilogbf.c: New file: ilogbf wrapper.
16624         * math/w_ilogbl.c: New file: ilogbl wrapper.
16625         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16626         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16627         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16628         exception being thrown with 0.0 as argument.
16629         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16630         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16631         exception being thrown with 0.0 as argument.
16632         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16633         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16634         exception being thrown with 0.0 as argument.
16635         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16636         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16637         exception being thrown with 0.0 as argument.
16638         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16639         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16640         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16641         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16642         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16643         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16644         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16645         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16646         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16648 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16650         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16651         with altivec.
16653 2012-04-16  Marek Polacek  <polacek@redhat.com>
16655         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16657 2012-04-16  Marek Polacek  <polacek@redhat.com>
16659         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16660         operands of fdivp instruction.
16662 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16664         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16665         * elf/tst-auditmod3b.c: Likewise.
16666         * elf/tst-auditmod4b.c: Likewise.
16667         * elf/tst-auditmod5b.c: Likewise.
16668         * elf/tst-auditmod6b.c: Likewise.
16669         * elf/tst-auditmod6c.c: Likewise.
16670         * elf/tst-auditmod7b.c: Likewise.
16671         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16672         * sysdeps/x86_64/preconfigure.in: Likewise.
16673         * sysdeps/x86_64/preconfigure: Regenerated.
16675 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16677         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16678         __ILP32__.
16680 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16682         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16683         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16685 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16687         [BZ #13973]
16688         * locale/iso-639.def: Fix gl language name. Spotted by
16689         Yaron Shahrabani.
16691 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16693         [BZ #2074]
16694         * libio/libio.h (__io_write_fn): Update comment.
16696 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16698         [BZ #2074]
16699         * stdio.texi (Hook Functions): The user provided writer function
16700         is not allowed to return -1.
16702 2012-04-11  David S. Miller  <davem@davemloft.net>
16704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16706 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16708         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16709         Add a leading slash to rtkaio.
16711 2012-04-11  Jim Meyering  <meyering@redhat.com>
16713         [BZ #11959]
16714         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16715         It is not necessarily an error to ignore fwrite's return
16716         value.  One can reliably use ferror to test for errors after
16717         the fact.
16719 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16721         * bits/types.h (__snseconds_t): New type.
16722         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16724         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16726         (__SNSECONDS_T_TYPE): Likewise.
16727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16728         (__SNSECONDS_T_TYPE): Likewise.
16729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16730         (__SNSECONDS_T_TYPE): Likewise.
16732 2012-04-10  Andreas Jaeger  <aj@suse.de>
16734         [BZ #2636]
16735         * manual/time.texi (Processor Time): Return type of times is
16736         elapsed real time since an arbitrary point in the past.
16737         (CPU Time): Move CLK_TCK from here...
16738         (Processor Time): ...to here.  Correct description.
16739         * manual/conf.texi (Constants for Sysconf): Correct description of
16740         _SC_CLK_TCK.
16742 2012-04-10  David S. Miller  <davem@davemloft.net>
16744         [BZ #13967]
16745         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16746         where the is a gap between DT_REL(A) and DT_JMPREL.
16748 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16750         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16751         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16752         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16754 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16756         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16757         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16758         (dl_main): Handle --inhibit-cache.
16759         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16760         _dl_inhibit_cache.
16761         * elf/dl-load.c (_dl_map_object): Use it.
16762         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16764 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16766         [BZ #13872]
16767         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16768         (__ieee754_powl): Saturate large exponents rather than testing for
16769         overflow of y*log2(x).
16770         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16771         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16772         exceptions.
16774         [BZ #11521]
16775         * math/s_ctan.c: Include <float.h>.
16776         (__ctan): Avoid internal overflow or cancellation in calculating
16777         denominator.
16778         * math/s_ctanf.c: Likewise.
16779         * math/s_ctanl.c: Likewise.
16780         * math/s_ctanh.c: Likewise.
16781         * math/s_ctanhf.c: Likewise.
16782         * math/s_ctanhl.c: Likewise.
16783         * math/libm-test.inc (ctan_test): Add more tests.
16784         (ctanh_test): Likewise.
16785         * sysdeps/i386/fpu/libm-test-ulps: Update.
16786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16788 2012-04-09  Andreas Jaeger  <aj@suse.de>
16790         [BZ #6894]
16791         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16792         is an optional BSD extension.
16794         [BZ #10254]
16795         * manual/stdio.texi (Opening Streams): Document additional fopen
16796         parameters.
16798 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16800         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16801         %eax without telling the compiler.
16803 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16805         [BZ # 13963]
16806         * manual/install.texi: Use sourceware.org.
16808 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16810         [BZ #13873]
16811         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16812         (__ieee754_pow): Generate overflow and underflow using huge*huge
16813         and tiny*tiny rather than just returning constant infinity or zero
16814         for large exponents.
16815         * math/libm-test.inc (pow_test): Require overflow exceptions for
16816         applicable cases of large exponents.
16818         [BZ #706]
16819         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16820         (__ieee754_pow): Use iterative multiplication algorithm only for
16821         integer exponents with absolute value below 1024.  Check for odd
16822         integer exponents when using algorithm for real exponents.
16823         * math/libm-test.inc (pow_test): Add more tests.
16824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16826 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16828         [BZ #13705]
16829         * math/libm-test.inc (exp_test): Do not allow overflow exception
16830         on underflow test.
16832 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16834         [BZ #13705]
16835         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16836         instead of __kernel_standard_f.
16838 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16840         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16841         * sysdeps/x86_64/memset_chk.S: Likewise.
16843 2012-04-08  Andreas Jaeger  <aj@suse.de>
16845         [BZ #10153]
16846         * manual/startup.texi (Environment Access): Describe return value
16847         for putenv and setenv.
16849         [BZ #6895]
16850         * manual/filesys.texi (Directory Entries): Add description for
16851         DT_LNK.
16853         [BZ #6890]
16854         * manual/filesys.texi (Directory Entries): Clarify that it's file
16855         system not operating system in the description of DT_UNKNOWN.
16857         [BZ #6578]
16858         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16860 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16862         [BZ #6649]
16863         * manual/llio.texi (Opening and Closing Files): Add cross
16864         reference to explain mode argument.
16866 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16868         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16869         * sysdeps/x86_64/memset_chk.S: Likewise.
16871 2012-04-07  David S. Miller  <davem@davemloft.net>
16873         * elf/elf.h (R_SPARC_WDISP10): Define.
16874         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16875         R_SPARC_SIZE32.
16876         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16877         R_SPARC_SIZE64 and R_SPARC_H34.
16879 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16882         conditions and remove no longer applicable assertion.
16884 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16886         * bits/byteswap.h: Include <features.h>.
16887         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16888         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16890 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16892         * bits/byteswap.h (__bswap_16): Removed.
16893         Include <bits/byteswap-16.h> to get __bswap_16.
16894         * sysdeps/i386/bits/byteswap.h: Likewise.
16895         * sysdeps/s390/bits/byteswap.h: Likewise.
16896         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16897         * bits/byteswap-16.h: New file.
16898         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16899         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16900         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16901         * string/Makefile (headers): Add bits/byteswap-16.h.
16903 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16905         [BZ #13895]
16906         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16907         extra indirection.
16908         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16909         * nss/tst-nss-static.c: New.
16911 2012-04-06  Robert Millan  <rmh@gnu.org>
16913         [BZ #6486]
16914         * manual/llio.texi (File Position Primitive): lseek
16915         refers to WHENCE when it really means OFFSET.
16917 2012-04-06  Andreas Jaeger  <aj@suse.de>
16919         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16920         strncmp declarations.
16922         * abilist/libc.abilist: Add __poll and __ppoll.
16924 2012-04-05  David S. Miller  <davem@davemloft.net>
16926         * scripts/check-local-headers.sh: Accept a host triplet in the
16927         path matched by the exclude regexp.
16929         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16930         definition.
16931         * sysdeps/powerpc/powerpc32/dl-machine.h
16932         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16933         * sysdeps/s390/s390-32/dl-machine.h
16934         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16935         * sysdeps/sparc/sparc32/dl-machine.h
16936         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16937         * sysdeps/sparc/sparc64/dl-machine.h
16938         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16940         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16941         lazy binding.
16942         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16943         undefined symbol errors.
16945         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16946         DT_NEEDED entries.
16948 2012-04-05  Michael Matz  <matz@suse.de>
16950         [BZ #13592]
16951         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16953 2012-04-05  Andreas Jaeger  <aj@suse.de>
16955         [BZ #13908]
16956         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16957         comment.
16959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16961         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16962         which ROUND is no valid rounding mode.
16964 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16966         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16967         read again.
16968         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16970 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16972         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16973         an exception using FPU order intentionally.
16975 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16977         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16978         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16979         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16980         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16982 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16984         [BZ #12340]
16985         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16986         EINVAL when BUFLEN is too smal.
16988 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16990         [BZ #13553]
16991         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16992         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16994 2012-04-03  Andreas Jaeger  <aj@suse.de>
16996         [BZ #13938]
16997         * manual/setjmp.texi (System V contexts): Fix sentence.
16999         [BZ #13926]
17000         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17001         New macro for this case.
17002         [!__GNUC__] (__bswap_64): New inline function for this case.
17003         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17004         * bits/byteswap.h: Likewise.
17005         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17006         ull, guard with __GLIBC_HAVE_LONG_LONG.
17008         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17009         __GLIBC_HAVE_LONG_LONG.
17011         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17012         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17014 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17016         [BZ #13691]
17017         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17018         inptr and inend, rather than using last_ch.
17020 2012-04-02  David S. Miller  <davem@davemloft.net>
17022         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17023         * stdio-common/printf-parse.h (read_int): Change return type to
17024         'int', return -1 on INT_MAX overflow.
17025         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17026         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17027         overflows INT_MAX.  Check for overflow of in-format-string precision
17028         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17029         SIZE_MAX not INT_MAX for integer overflow test.
17030         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17031         skip the construct in the format string but do not record anything.
17032         * stdio-common/bug22.c: Adjust to test both width/prevision
17033         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17034         explicitly for proper errno values.
17036 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17038         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17039         CHAR_MAX.
17040         * string/test-strcmp.c [! WIDE]: Likewise.
17041         * time/tst-mktime2.c: Likewise for INT_MAX.
17042         * string/test-string.h: #include <sys/param.h> for MIN.
17044         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17045         * sysdeps/i386/init-first.c (init): Likewise.
17046         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17047         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17048         * sysdeps/sh/init-first.c (init): Likewise.
17050 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17052         * po/ru.po: Update from translation team.
17053         * po/vi.po: Likewise.
17055 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17057         * resolv/nss_dns/dns-host.c: Merge copyright years.
17059 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17061         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17062         Optimize memcpy with prefetch if
17063         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17064         src, dst pointers have unequal 16 byte alignments.
17066 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17068         [BZ #13928]
17069         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17070         from a CNAME entry and return the minimum ttl for the query.
17071         (gaih_getanswer_slice): Likewise.
17073 2012-03-30  Jeff Law  <law@redhat.com>
17075         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17076         due to long keys.
17077         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17078         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17080         * resolv/nss_dns/dns-host.c: Update copyright year.
17082 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17084         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17085         requests to save a system call.  Fix check that all bytes are sent.
17087         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17088         comments for sendmmsg.
17090 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17092         [BZ #13691]
17093         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17094         with only 1 character between 0x0041 and 0x01b0.
17095         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17096         * wcsmbs/tst-mbsnrtowcs.c: New file.
17098 2012-03-29  David S. Miller  <davem@davemloft.net>
17100         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17101         small copies by hand.
17103 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17105         [BZ #13761]
17106         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17107         _nss_compat_initgroups_dyn): Fall back to malloc/free
17108         for large group memberships.
17110 2012-03-28  David S. Miller  <davem@davemloft.net>
17112         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17113         that branches into memcpy.
17114         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17115         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17117         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17119         bits.
17120         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17121         implementation too.
17122         * sysdeps/sparc/mempcpy.S: New file.
17124         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17125         the IFUNC routine in the libc case.
17126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17128         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17129         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17130         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17131         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17132         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17133         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17134         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17135         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17137         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17138         loop to 256 bytes instead of 64 bytes and fix test signedness.
17140         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17141         * sysdeps/sparc/sparc32/Makefile: rather than here...
17142         * sysdeps/sparc/sparc64/Makefile: and here.
17144 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17146         * malloc/mallocbug.c: Avoid warnings about unused variables.
17148 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17150         [BZ #13760]
17151         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17152         in the right place. Discard and retry query if response is
17153         larger than input buffer size.
17155 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17157         [BZ #369]
17158         [BZ #2678]
17159         [BZ #3866]
17160         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17161         x for large integer exponent.
17162         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17163         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17164         sign of result as needed afterwards.
17165         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17166         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17167         result for underflowing pow the same as for overflow.
17168         (__kernel_standard_l): Handle powl overflow and underflow here
17169         rather than calling __kernel_standard.
17170         * math/libm-test.inc (pow_test): Add more tests.
17172         [BZ #3868]
17173         [BZ #13879]
17174         [BZ #13910]
17175         [BZ #13911]
17176         [BZ #13912]
17177         [BZ #13913]
17178         [BZ #13915]
17179         [BZ #13916]
17180         [BZ #13917]
17181         [BZ #13918]
17182         [BZ #13919]
17183         [BZ #13920]
17184         [BZ #13921]
17185         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17186         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17187         (__kernel_standard_l): New function.
17188         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17189         __kernel_standard.
17190         * math/w_acosl.c (__acosl): Likewise.
17191         * math/w_asinl.c (__asinl): Likewise.
17192         * math/w_atan2l.c (__atan2l): Likewise.
17193         * math/w_atanhl.c (__atanhl): Likewise.
17194         * math/w_coshl.c (__coshl): Likewise.
17195         * math/w_exp10l.c (__exp10l): Likewise.
17196         * math/w_exp2l.c (__exp2l): Likewise.
17197         * math/w_fmodl.c (__fmodl): Likewise.
17198         * math/w_hypotl.c (__hypotl): Likewise.
17199         * math/w_j0l.c (__j0l, __y0l): Likewise.
17200         * math/w_j1l.c (__j1l, __y1l): Likewise.
17201         * math/w_jnl.c (__jnl, __ynl): Likewise.
17202         * math/w_lgammal.c (__lgammal): Likewise.
17203         * math/w_log10l.c (__log10l): Likewise.
17204         * math/w_log2l.c (__log2l): Likewise.
17205         * math/w_logl.c (__logl): Likewise.
17206         * math/w_powl.c (__powl): Likewise.
17207         * math/w_remainderl.c (__remainderl): Likewise.
17208         * math/w_scalbl.c (sysv_scalbl): Likewise.
17209         * math/w_sinhl.c (__sinhl): Likewise.
17210         * math/w_sqrtl.c (__sqrtl): Likewise.
17211         * math/w_tgammal.c (__tgammal): Likewise.
17212         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17213         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17214         * math/libm-test.inc (acos_test): Add more tests.
17215         (acosh_test): Likewise.
17216         (asin_test): Likewise.
17217         (atanh_test): Likewise.
17218         (exp_test): Likewise.
17219         (exp10_test): Likewise.
17220         (exp2_test): Likewise.
17221         (expm1_test): Likewise.
17222         (lgamma_test): Likewise.
17223         (log_test): Likewise.
17224         (log10_test): Likewise.
17225         (log1p_test): Likewise.
17226         (log2_test): Likewise.
17227         (pow_test): Do not allow some spurious overflow exceptions.
17228         (sqrt_test): Add more tests.
17229         (tgamma_test): Likewise.
17230         (y0_test): Likewise.
17231         (y1_test): Likewise.
17232         (yn_test): Likewise.
17234 2012-03-27  Anton Blanchard  <anton@samba.org>
17236         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17237         MAP_HUGETLB.
17238         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17239         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17240         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17242 2012-03-27  David S. Miller  <davem@davemloft.net>
17244         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17246         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17247         have-as-vis3 check.
17249 2012-03-27  Andreas Jaeger  <aj@suse.de>
17251         * sysdeps/x86_64/elf/configure.in: Moved to ...
17252         * sysdeps/x86_64/configure.in: ... here.
17253         * sysdeps/x86_64/elf/start.S: Moved to ...
17254         * sysdeps/x86_64/start.S: ... here.
17255         * sysdeps/x86_64/elf/configure: Delete.
17257         * sysdeps/x86_64/configure.in: Merge contents from
17258         sysdeps/i386/configure.in (without i686 check).
17260         * sysdeps/i386/elf/Versions: Merge into ...
17261         * sysdeps/i386/Versions: ... this.
17262         * sysdeps/i386/elf/Versions: Delete file.
17263         * sysdeps/i386/elf/start.S: Moved to ...
17264         * sysdeps/i386/start.S: ...here.
17265         * sysdeps/i386/elf/configure.in: Merge into...
17266         * sysdeps/i386/configure.in: ...here.
17267         * sysdeps/i386/elf/configure.in: Delete file.
17268         * sysdeps/i386/elf/configure: Delete file.
17270         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17271         * debug/backtracesyms.c: ... here.
17272         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17273         * debug/backtracesymsfd.c: ... here.
17274         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17275         * sysdeps/generic/ifunc-sel.h: ... here.
17277         * sysdeps/unix/i386/start.c: Delete file.
17278         * sysdeps/unix/sparc/start.c: Delete file.
17279         * sysdeps/unix/start.c: Delete file.
17281         * sysdeps/sh/elf/configure.in: Moved to ...
17282         * sysdeps/sh/configure.in: ... here.
17283         * sysdeps/sh/elf/start.S: Moved to ...
17284         * sysdeps/sh/start.S: ... here.
17285         * sysdeps/sh/elf/configure: Delete file.
17287         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17288         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17289         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17290         * sysdeps/powerpc/powerpc64/entry.h: ... here.
17291         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17292         * sysdeps/powerpc/powerpc64/start.S: here.
17293         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17294         * sysdeps/powerpc/powerpc64/Makefile: ... this.
17295         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17296         * sysdeps/powerpc/powerpc64/configure.in: ... this.
17297         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17299         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17300         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17301         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17302         * sysdeps/powerpc/powerpc32/start.S: ... here.
17303         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17304         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17305         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17307         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17308         * sysdeps/powerpc/ifunc-sel.h: ... here.
17309         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17310         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17312         * sysdeps/sparc/elf/configure.in: Moved to ...
17313         * sysdeps/sparc/configure.in: ... here.
17314         * sysdeps/sparc/elf/configure: Delete file.
17315         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17316         * sysdeps/sparc/sparc32/start.S: ... here.
17317         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17318         * sysdeps/sparc/sparc64/start.S: ... here.
17319         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17320         * sysdeps/sparc/sparc32/Makefile: ... this.
17321         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17322         * sysdeps/sparc/sparc64/Makefile: ... this.
17324         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17325         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17326         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17327         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17328         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17329         * sysdeps/s390/s390-32/setjmp.S: ... here.
17330         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17331         * sysdeps/s390/s390-32/configure.in: ... here.
17332         * sysdeps/s390/s390-32/elf/configure: Delete file.
17333         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17334         * sysdeps/s390/s390-32/start.S: ... here.
17336         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17337         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17338         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17339         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17340         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17341         * sysdeps/s390/s390-64/setjmp.S: ... here.
17342         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17343         * sysdeps/s390/s390-64/configure.in: ... here
17344         * sysdeps/s390/s390-64/elf/configure: Delete file.
17345         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17346         * sysdeps/s390/s390-64/start.S: ... here.
17347         * sysdeps/s390/s390-64/elf/configure: Delete.
17349         * configure.in: Remove support for elf directories in sysdeps.
17351         * configure: Regenerated.
17352         * sysdeps/i386/configure: Regenerated.
17353         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17354         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17355         * sysdeps/s390/s390-32/configure: Regenerated.
17356         * sysdeps/s390/s390-64/configure: Regenerated.
17357         * sysdeps/sh/configure: Regenerated.
17358         * sysdeps/sparc/configure: Regenerated.
17359         * sysdeps/x86_64/configure: Regenerated.
17361 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17366         denormal result into account.
17368 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17370         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17371         Reported by Allan McRae <allan@archlinux.org>.
17373 2012-03-23  Jeff Law  <law@redhat.com>
17375         * nss/getnssent.c (__nss_getent): Fix typo.
17377 2012-03-23  David S. Miller  <davem@davemloft.net>
17379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17381 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17383         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17384         to pad to uint64_t for each field.
17385         (dl_tls_index): Replace unsigned long with uint64_t.
17387 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17388         Paul Pluzhnikov  <ppluzhnikov@google.com>
17390         [BZ #6528]
17391         * grp/Makefile (otherlibs): Don't set it.
17392         * inet/Makefile (otherlibs): Likewise.
17393         * login/Makefile (otherlibs): Likewise.
17394         * nscd/Makefile (otherlibs): Likewise.
17395         * posix/Makefile (otherlibs): Likewise.
17396         * pwd/Makefile (otherlibs): Likewise.
17397         * rt/Makefile (otherlibs): Likewise.
17398         * sunrpc/Makefile (otherlibs): Likewise.
17399         * nss/Makefile (otherlibs): Likewise.
17400         Add libnss_files to routines and static-only-routines.
17401         ($(objpfx)getent): Remove rule.
17402         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17403         static-only-routines.
17405 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17407         [BZ #13892]
17408         * math/s_cexp.c: Include <float.h>.
17409         (__cexp): Handle exp result overflowing not necessarily
17410         overflowing both real and imaginary parts of result.
17411         * math/s_cexpf.c: Likewise.
17412         * math/s_cexpl.c: Likewise.
17413         * math/libm-test.inc (cexp_test): Add more tests.
17414         * sysdeps/i386/fpu/libm-test-ulps: Update.
17415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17417 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17419         * include/link.h (ELFW): New macro.
17420         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17421         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17425         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17426         with uint64_t.
17428 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17430         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17431         declaration.
17432         (struct La_x32_retval): Likewise.
17434 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17436         * sysdeps/x86_64/preconfigure.in: New file.
17437         * sysdeps/x86_64/preconfigure: New generated file.
17439 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17441         [BZ #13824]
17442         * math/e_exp2l.c: Include <float.h>.
17443         (__ieee754_exp2l): Handle overflow and underflow cases
17444         separately.  Only pass fractional part of argument to
17445         __ieee754_expl.
17446         * math/libm-test.inc (exp2_test): Add more tests.
17448         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17449         negating x to take absolute value.
17450         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17451         Likewise.
17452         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17453         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17454         Likewise.
17455         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17456         computing low part if x was negated.
17457         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17459 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17461         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17462         la_x32_gnu_pltexit.
17463         (pltexit): Cast int_retval to ptrdiff_t.
17464         * elf/tst-auditmod3b.c: Likewise.
17465         * elf/tst-auditmod4b.c: Likewise.
17466         * elf/tst-auditmod5b.c: Likewise.
17467         * elf/tst-auditmod6b.c: Likewise.
17468         * elf/tst-auditmod6c.c: Likewise.
17469         * elf/tst-auditmod7b.c: Likewise.
17471         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17472         and x32_gnu_pltexit.
17474         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17475         __ELF_NATIVE_CLASS.
17476         (La_x32_regs): New macro.
17477         (La_x32_retval): Likewise.
17478         (la_x32_gnu_pltenter): New function prototype.
17479         (la_x32_gnu_pltexit): Likewise.
17481 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17483         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17484         exponent.
17486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17488         * configure.in (libc_cv_cc_nofma): Check for option to disable
17489         generation of FMA instructions.
17490         * configure: Regenerate.
17491         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17492         * sysdeps/ieee754/dbl-64/Makefile: New file.
17493         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17494         Remove brandred-fma4.
17495         (CFLAGS-brandred-fma4.c): Remove.
17496         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17497         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17498         define.
17499         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17500         define.
17502 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17504         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17505         LLONG_MAX != LONG_MAX.
17506         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17507         (_fitoa_word): Likewise.
17508         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17509         LLONG_MAX != LONG_MAX.
17510         * stdio-common/_itowa.h: Include <_itoa.h>.
17511         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17512         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17513         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17514         only if not defined.
17515         (_ITOA_WORD_TYPE): Likewise.
17516         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17517         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17519 2012-03-21  David S. Miller  <davem@davemloft.net>
17521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17523 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17525         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17526         of x86_64 when setting libc_cv_slibdir, libdir and
17527         libc_cv_localedir.
17528         * sysdeps/unix/sysv/linux/configure: Regenerated.
17530 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17532         * manual/lang.texi (Old Varargs): Remove section.
17533         (How Variadic): Update menu.
17534         (va_start): Do not mention varargs.h.
17536 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17537             Joseph Myers  <joseph@codesourcery.com>
17539         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17540         link test.
17541         * configure: Regenerated.
17543 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17545         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17546         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17547         conformtest.pl
17549 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17551         * NOTES: Remove.
17552         * Makefile (files-for-dist): Remove NOTES.
17553         (NOTES): Remove rule.
17554         * README: Don't refer to NOTES.
17555         * manual/creature.texi: Don't include macros.texi.
17556         * manual/intro.texi (creature.texi): Remove comment referring to
17557         NOTES.
17559         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17560         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17561         * configure: Regenerated.
17562         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17563         LIBC_TRY_CC_OPTION.
17564         (libc_cv_as_i686): Likewise.
17565         (libc_cv_cc_avx): Likewise.
17566         (libc_cv_cc_sse2avx): Likewise.
17567         (libc_cv_cc_fma4): Likewise.
17568         (libc_cv_cc_novzeroupper): Likewise.
17569         * sysdeps/i386/configure: Regenerated.
17571         [BZ #13883]
17572         * sysdeps/i386/fpu/s_cexp.S: Remove.
17573         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17574         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17575         * math/libm-test.inc (cexp_test): Add more tests.
17576         * sysdeps/i386/fpu/libm-test-ulps: Update.
17577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17579 2012-03-21  Allan McRae  <allan@archlinux.org>
17581         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17583 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17585         [BZ #13871]
17586         * math/w_exp2.c: Do not include <float.h>.
17587         (o_threshold, u_threshold): Remove.
17588         (__exp2): Calculate result before checking finiteness and calling
17589         __kernel_standard.
17590         * math/w_exp2f.c: Likewise.
17591         * math/w_exp2l.c: Likewise.
17592         * math/libm-test.inc (exp2_test): Require overflow exception for
17593         1e6 input.
17595         [BZ #3866]
17596         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17597         range of signed 64-bit integers before using fistpll.  Remove
17598         checks for whether integers fit in mantissa bits.
17599         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17600         the range of signed 32-bit integers before using fistpl.  Remove
17601         checks for whether integers fit in mantissa bits.
17602         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17603         (__ieee754_powl): Test for y outside the range of signed 64-bit
17604         integers before using fistpll.  Reduce 64-bit values to 63-bit
17605         ones as needed.
17606         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17607         divide-by-zero is raised for zero to large negative powers.
17608         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17609         (__ieee754_powl): Test for y outside the range of signed 64-bit
17610         integers before using fistpll.  Reduce 64-bit values to 63-bit
17611         ones as needed.
17612         * math/libm-test.inc (pow_test): Add more tests.
17614 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17616         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17617         <stdio-common/_itoa.h>.
17618         * debug/segfault.c: Likewise.
17619         * elf/dl-cache.c: Likewise.
17620         * elf/dl-minimal.c: Likewise.
17621         * elf/dl-misc.c: Likewise.
17622         * elf/dl-sysdep.c: Likewise.
17623         * elf/dl-version.c: Likewise.
17624         * elf/rtld.c: Likewise.
17625         * hurd/hurdsock.c: Likewise.
17626         * hurd/lookup-retry.c: Likewise.
17627         * malloc/malloc.c: Likewise.
17628         * malloc/mtrace.c: Likewise.
17629         * nscd/nscd_getgr_r.c: Likewise.
17630         * nscd/nscd_getpw_r.c: Likewise.
17631         * nscd/nscd_getserv_r.c: Likewise.
17632         * posix/getopt_init.c: Likewise.
17633         * posix/wordexp.c: Likewise.
17634         * stdio-common/_itoa.c: Likewise.
17635         * stdio-common/printf_fphex.c: Likewise.
17636         * stdio-common/vfprintf.c: Likewise.
17637         * string/_strerror.c: Likewise.
17638         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17639         * sysdeps/i386/i686/hp-timing.h: Likewise.
17640         * sysdeps/mach/_strerror.c: Likewise.
17641         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17642         * sysdeps/mach/hurd/sethostid.c: Likewise.
17643         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17644         * sysdeps/mach/xpg-strerror.c: Likewise.
17645         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17646         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17647         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17648         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17649         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17650         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17651         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17652         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17653         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17654         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17655         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17656         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17657         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17658         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17659         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17660         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17661         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17662         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17663         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17664         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17665         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17667         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17669         * stdio-common/_itoa.h: Moved to ...
17670         * sysdeps/generic/_itoa.h: Here.
17672         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17674         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17675         instead of "_itoa.h" and "_itowa.h".
17676         * stdio-common/vfprintf.: Likewise.
17678 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17680         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17681         <bits/wordsize.h>.
17682         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17683         (__signbit): Likwise.
17684         (llrintf): Likwise.
17685         (llrint): Likwise.
17687 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17689         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17690         __WORDSIZE != 64.
17692 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17694         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17695         OVERFLOW_EXCEPTION_OK.
17696         * math/libm-test.inc ("Philosophy"): Update comment about
17697         exception testing.
17698         (OVERFLOW_EXCEPTION): Define.
17699         (OVERFLOW_EXCEPTION_OK): Likewise.
17700         (INVALID_EXCEPTION_OK): Renumber.
17701         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17702         (IGNORE_ZERO_INF_SIGN): Likewise.
17703         (test_exceptions): Handle FE_OVERFLOW.
17704         (exp10_test): Expect overflow exceptions.
17705         (exp2_test): Likewise.
17706         (expm1_test): Likewise.
17707         (nextafter_test): Likewise.
17708         (pow_test): Likewise.
17709         (scalbn_test): Likewise.
17710         (scalbln_test): Likewise.
17712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17714         * sysdeps/x86_64/bits/atomic.h
17715         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17716         64bit integer.
17717         (atomic_exchange_acq): Likewise.
17718         (__arch_exchange_and_add_body): Likewise.
17719         (__arch_add_body): Likewise.
17720         (atomic_add_negative): Likewise.
17721         (atomic_add_zero): Likewise.
17723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17725         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17726         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17730         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17731         Check __x86_64__ instead of __WORDSIZE.
17733 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17735         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17737 2012-03-19  David S. Miller  <davem@davemloft.net>
17739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17741         * sysdeps/sparc/fpu/fenv_private.h: New file.
17742         * sysdeps/sparc/fpu/math_private.h: Use it.
17743         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17744         Remove.
17745         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17746         (libc_feholdexcept_setroundl): Remove.
17747         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17748         Remove.
17749         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17750         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17754         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17755         int64_t instead of long int.
17756         (INSERT_WORDS64): Likwise.
17758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17760         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17761         _Unwind_GetCFA return to _Unwind_Ptr first.
17763 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17765         [BZ #13629]
17766         * math/s_clog.c: Include <float.h>.
17767         (__clog): Scale large or subnormal inputs.
17768         * math/s_clogf.c: Likewise.
17769         * math/s_clogl.c: Likewise.
17770         * math/s_clog10.c: Include <float.h>.
17771         (M_LOG10_2): Define.
17772         (__clog10): Scale large or subnormal inputs.
17773         * math/s_clog10f.c: Likewise.
17774         * math/s_clog10l.c: Likewise.
17775         * math/libm-test.inc (clog_test): Add more tests.
17776         (clog10_test): Likewise.
17777         * sysdeps/i386/fpu/libm-test-ulps: Update.
17778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17780         [BZ #11451]
17781         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17782         x and y.
17783         * math/libm-test.inc (atan2_test): Add another test.
17785         * Makerules (common-objdir-compile): Remove.
17786         * sysdeps/unix/Makefile (config-generated): Do not add
17787         $(unix-generated) to variable.
17788         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17789         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17790         Remove rule.
17791         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17792         Likewise.
17793         [generic bits/local_lim.h] (before-compile): Do not append to
17794         variable.
17795         [generic bits/local_lim.h] (common-generated): Likewise.
17796         [generic sys/param.h] (before-compile): Do not append to variable.
17797         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17798         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17799         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17800         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17801         include.
17802         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17803         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17804         [generic sys/param.h] ($(addprefix
17805         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17806         [generic sys/param.h] (common-generated): Do not append to
17807         variable.
17808         [generic sys/param.h] (sysdep_headers): Likewise.
17809         [generic bits/errno.h] (before-compile): Do not append to
17810         variable.
17811         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17812         rule.
17813         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17814         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17815         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17816         [generic bits/errno.h] (common-generated): Do not append to
17817         variable.
17818         [generic bits/ioctls.h] (before-compile): Do not append to
17819         variable.
17820         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17821         rule.
17822         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17823         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17824         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17825         rule.
17826         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17827         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17828         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17829         [generic bits/ioctls.h] (common-generated): Do not append to
17830         variable.
17831         [generic sys/syscall.h] (syscall.h): Remove variable.
17832         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17833         rule.
17834         [generic sys/syscall.h] (before-compile): Do not append to
17835         variable.
17836         [generic sys/syscall.h] (common-generated): Likewise.
17837         * sysdeps/unix/errnos-tmpl.c: Remove file.
17838         * sysdeps/unix/errnos.awk: Likewise.
17839         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17840         * sysdeps/unix/ioctls.awk: Likewise.
17841         * sysdeps/unix/mk-local_lim.c: Likewise.
17842         * sysdeps/unix/snarf-ioctls: Likewise.
17844 2012-03-19  Richard Henderson  <rth@twiddle.net>
17846         * sysdeps/i386/fpu/fenv_private.h: New file.
17847         * sysdeps/i386/fpu/math_private.h: Use it.
17848         (math_opt_barrier, math_force_eval): Remove.
17849         (libc_feholdexcept_setround_53bit): Remove.
17850         (libc_feupdateenv_53bit): Remove.
17851         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17852         (math_opt_barrier, math_force_eval): Remove.
17853         (libc_feholdexcept): Remove.
17854         (libc_feholdexcept_setround): Remove.
17855         (libc_fetestexcept, libc_fesetenv): Remove.
17856         (libc_feupdateenv_test): Remove.
17857         (libc_feupdateenv, libc_feholdsetround): Remove.
17858         (libc_feresetround): Remove.
17860         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17861         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17863         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17864         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17865         (libc_feupdateenv_testl): New.
17866         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17867         (libc_feupdateenv_testf): New.
17868         (libc_feupdateenv): Use libc_feupdateenv_test.
17869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17870         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17872         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17873         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17874         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17875         (libc_feresetround_noex): New.
17876         (libc_feresetround_noexf): New.
17877         (libc_feresetround_noexl): New.
17878         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17879         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17880         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17881         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17882         SET_RESTORE_ROUND.
17883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17885         (__cos): Likewise.
17886         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17887         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17888         SET_RESTORE_ROUND_NOEX.
17889         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17890         SET_RESTORE_ROUND_NOEXF.
17891         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17892         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17893         (libc_feholdsetroundf): New.
17894         (libc_feresetround, libc_feresetroundf): New.
17896         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17897         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17898         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17900         * sysdeps/generic/math_private.h: Include <fenv.h>.
17901         (default_libc_feholdexcept): New.
17902         (default_libc_feholdexcept_setround): New.
17903         (default_libc_fesetenv, default_libc_feupdateenv): New.
17904         (libc_feholdexcept): Only define if undefined.
17905         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17906         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17907         (libc_feholdexcept_setroundl): Likewise.
17908         (libc_feholdexcept_setround_53bit): Likewise.
17909         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17910         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17911         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17912         (libc_feupdateenv_53bit): Likewise.
17913         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17914         (libc_feholdexcept): Convert from macro to inline function.
17915         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17916         (libc_fesetenv, libc_feupdateenv): Likewise.
17918         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17919         not previously defined.
17920         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17921         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17922         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17923         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17924         * sysdeps/ieee754/flt-32/math_private.h: New file.
17925         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17926         math_private.h below SET_FLOAT_WORD.
17927         (__isnan, __isinf_ns, __finite): Remove.
17928         (__isnanf, __isinf_nsf, __finitef): Remove.
17930 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17934 2012-03-17  David S. Miller  <davem@davemloft.net>
17936         [BZ #6471]
17937         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17938         for 2.16.
17940 2012-03-16  David S. Miller  <davem@davemloft.net>
17942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17943         warnings.
17945         [BZ #6471]
17946         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17947         properly.
17948         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17949         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17950         sysdep_routines when subdir is sysvipc.
17951         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17952         __getshmlba helper.
17954         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17958         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17959         [__LP64__].
17961 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17963         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17964         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17965         (__lround): Renamed to ...
17966         (__llround): This.  Replace long int with long long int.
17967         Define lround functions as aliases of llround functions.
17968         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17970 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17972         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17973         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17974         adresses to uintptr_t.  Replace "long int" and "unsigned long
17975         int" with "greg_t" on va_arg.
17977 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17979         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17980         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17982         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17983         Move e_machine check before EI_CLASS check.  Handle x32
17984         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17985         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17986         SKIP_EM_IA_64 and include
17987         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17989         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17990         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17991         (add_system_dir): New macro.
17993         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17994         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17996 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17998         [BZ #2551]
17999         [BZ #2552]
18000         [BZ #2553]
18001         [BZ #2554]
18002         [BZ #2562]
18003         [BZ #2563]
18004         [BZ #2565]
18005         [BZ #2566]
18006         [BZ #2576]
18007         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18008         (y0): Likewise.
18009         * math/w_j0f.c (j0f): Likewise.
18010         (y0f): Likewise.
18011         * math/w_j0l.c (__j0l): Likewise.
18012         (__y0l): Likewise.
18013         * math/w_j1.c (j1): Likewise.
18014         (y1): Likewise.
18015         * math/w_j1f.c (j1f): Likewise.
18016         (y1f): Likewise.
18017         * math/w_j1l.c (__j1l): Likewise.
18018         (__y1l): Likewise.
18019         * math/w_jn.c (jn): Likewise.
18020         (yn): Likewise.
18021         * math/w_jnf.c (jnf): Likewise.
18022         (ynf): Likewise.
18023         * math/w_jnl.c (__jnl): Likewise.
18024         (__ynl): Likewise.
18025         * math/libm-test.inc (j0_test): Add more tests.
18026         (j1_test): Likewise.
18027         (jn_test): Likewise.  Add trailing semicolon to existing test.
18028         (y0_test): Likewise.
18029         (y1_test): Likewise.
18030         * sysdeps/i386/fpu/libm-test-ulps: Update.
18031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18033         [BZ #13851]
18034         [BZ #13854]
18035         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18036         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18037         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18038         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18039         (__tanl): Set errno for infinite argument.
18040         * sysdeps/i386/fpu/mptan.c: Remove.
18041         * sysdeps/i386/fpu/s_tan.S: Likewise.
18042         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18043         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18044         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18045         * math/libm-test.inc (tan_test): Add more tests and enable more
18046         tests for double and long double.
18047         * sysdeps/i386/fpu/libm-test-ulps: Update.
18048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18050 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18052         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18053         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18055 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18057         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18058         * configure.in: Use it for both main tree and add-ons.
18059         * configure: Regenerated.
18061 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18063         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18065 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18067         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18068         in comment.
18070         [BZ #13851]
18071         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18072         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18073         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18074         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18075         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18076         infinite argument.
18077         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18079         != 0 for prec == 2.
18080         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18081         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18082         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18083         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18084         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18085         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18086         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18087         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18088         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18089         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18090         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18091         * math/libm-test.inc (cos_test): Add more tests and enable more
18092         tests for long double.
18093         (sin_test): Likewise.
18094         (sincos_test): Likewise.
18095         * sysdeps/i386/fpu/libm-test-ulps: Update.
18096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18098 2012-03-16  David S. Miller  <davem@davemloft.net>
18100         * sysdeps/sparc/fpu/math_private.h: New file.
18102 2012-03-15  David S. Miller  <davem@davemloft.net>
18104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18105         file.
18106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18108         file.
18109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18115         sysdep routines.
18116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18118         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18119         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18121         * sysdeps/sparc/sparc-ifunc.h: New file.
18122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18123         sparc-ifunc.h
18124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18126         Likewise.
18127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18128         Likewise.
18129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18133         Likewise.
18134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18139         Likewise.
18140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18141         Likewise.
18142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18148         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18164         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18167 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18169         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18170         scaling.
18171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18173 2012-03-15  Andreas Jaeger  <aj@suse.de>
18175         [BZ #13852]
18176         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18177         ieee754/flt-32 implementation for sin, cos and sincos.
18178         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18179         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18180         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18181         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18182         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18183         ieee754/flt-32 implementation for tan.
18185         * math/libm-test.inc (cos_test): Enable some large input tests for
18186         float as well
18187         (sin_test): Likewise.
18188         (sincos_test): Likewise.
18189         (tan_test): Add tests for large input.
18191         * sysdeps/i386/fpu/libm-test-ulps: Update.
18193 2012-03-15  Andreas Jaeger  <aj@suse.de>
18195         [BZ #13658]
18196         * math/libm-test.inc (cos_test): Add more test cases.
18197         (sin_test): Likewise.
18198         (sincos_test): Likewise.
18200 2012-03-15  Andreas Jaeger  <aj@suse.de>
18202         [BZ #13837]
18203         * math/libm-test.inc (cos_test): Add a test case for large input
18204         value.
18205         (sin_test): Likewise.
18206         (sincos_test): Likewise.
18208 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18209         Joseph Myers  <joseph@codesourcery.com>
18211         [BZ #13658]
18212         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18213         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18214         * sysdeps/i386/fpu/branred.c: Likewise.
18215         * sysdeps/i386/fpu/dosincos.c: Likewise.
18216         * sysdeps/i386/fpu/mpa.c: Likewise.
18217         * sysdeps/i386/fpu/s_cos.S: Likewise.
18218         * sysdeps/i386/fpu/s_sin.S: Likewise.
18219         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18220         * sysdeps/i386/fpu/sincos32.c: Likewise.
18222         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18223         Define.
18224         (libc_feupdateenv_53bit): Define.
18225         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18226         Define.
18227         (libc_feupdateenv_53bit): Define.
18229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18230         53 bit (without extend i386 double precision).
18232         * math/libm-test.inc (sincos_test): Add tests for large input.
18233         (sin): Likewise.
18234         (cos): Likewise.
18236         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18238 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18242 2012-03-15  David S. Miller  <davem@davemloft.net>
18244         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18245         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18246         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18247         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18260         file.
18261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18263         file.
18264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18266         file.
18267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18269         file.
18270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18272         fmin/fmax sysdep routines.
18273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18275 2012-03-14  David S. Miller  <davem@davemloft.net>
18277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18281         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18282         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18302         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18305         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18306         routines.
18307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18308         file.
18309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18311         file.
18312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18314         file.
18315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18317         file.
18318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18320         file.
18321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18323         file.
18324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18325         file.
18326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18327         file.
18328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18329         file.
18330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18331         New file.
18332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18333         file.
18334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18335         file.
18336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18338         file.
18339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18341         file.
18342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18344         file.
18345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18347         VIS3 routines.
18349         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18350         New file.
18352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18354         * sysdeps/sparc/configure.in: New file.
18355         * sysdeps/sparc/configure: Generate.
18356         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18357         * configure: Regenerate.
18358         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18359         * config.make.in (have-as-vis3): New.
18360         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18361         available use -Av9d instead of -Av9a.
18362         * sysdeps/sparc/sparc64/Makefile: Likewise.
18363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18365         New file.
18366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18367         file.
18368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18369         New file.
18370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18371         file.
18372         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18373         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18374         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18378         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18379         fzeros/fnegs to load 0x80000000 into a float register instead of
18380         using the stack.
18381         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18383 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18386         bits/syscall.h.
18387         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18388         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18389         ($(inst_includedir)/bits/syscall.h): Remove rule.
18390         ($(objpfx)bits/syscall.d): Include instead of
18391         $(objpfx)syscall-list.d.
18392         (generated): Change syscall-list.h and syscall-list.d to
18393         bits/syscall.h and bits/syscall.d.
18395 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18397         [BZ #13846]
18398         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18400 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18402         [BZ #13841]
18403         * math/s_csqrt.c: Include <float.h>.
18404         (__csqrt): Scale large or subnormal inputs.
18405         * math/s_csqrtf.c: Likewise.
18406         * math/s_csqrtl.c: Likewise.
18407         * math/libm-test.inc (csqrt_test): Add more tests.
18408         * sysdeps/i386/fpu/libm-test-ulps: Update.
18409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411         [BZ #13840]
18412         * math/libm-test.inc (hypot_test): Add more tests.
18414 2012-03-13  David S. Miller  <davem@davemloft.net>
18416         [BZ #13840]
18417         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18418         double-precision for the calculation instead of scaling.
18420 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18422         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18423         manipulate bits before adding and subtracting TWO52[sx].
18424         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18425         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18426         Likewise.
18427         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18429 2012-03-13  David S. Miller  <davem@davemloft.net>
18431         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18432         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18434         rtld-global-offsets.h
18435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18437         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18438         large parameters.
18440         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18442         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18443         'err' in the ifdef scope in which it is actually used.
18445         * nss/nss_db/db-init.c: Include string.h
18447 2012-03-12  David S. Miller  <davem@davemloft.net>
18449         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18450         masking out of the most significant byte of random value used.
18451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18452         Fix coding style in previous change.
18454         * sysdeps/unix/sysv/linux/kernel-features.h
18455         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18456         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18457         expression.
18458         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18459         later.
18461 2012-03-11  David S. Miller  <davem@davemloft.net>
18463         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18464         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18465         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18466         for 'resultvar' otherwise things get truncated on 64-bit.
18468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18469         Fix masking out of the most significant byte of random value used.
18471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18473 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18477 2012-03-09  David S. Miller  <davem@davemloft.net>
18479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18480         variables with appropriate CPP guards.
18481         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18482         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18483         on resulting framesize and the management of the outregs buffer for pltexit.
18484         Preserve floating point return values across _dl_call_pltexit call.
18485         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18486         framesize and the management of the outregs buffer for pltexit.
18487         Preserve floating point return values across _dl_call_pltexit
18488         call.
18489         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18490         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18491         (print_exit): Fix format string for return register value.
18493 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18495         * sunrpc/Makefile (others): Add rpcgen.
18496         ($(objpfx)rpcgen): Remove special build rule and dependency on
18497         libc.
18498         * sunrpc/rpcgen.c: New file.
18500 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18502         [BZ #13673]
18503         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18504         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18505         * sysdeps/i386/crti.S: Likewise.
18506         * sysdeps/i386/crtn.S: Likewise.
18507         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18508         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18509         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18510         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18511         * sysdeps/sh/crti.S: Likewise.
18512         * sysdeps/sh/crtn.S: Likewise.
18513         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18515         [BZ #13673]
18516         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18517         with URL.
18518         * locale/programs/locfile-kw.gperf: Likewise.
18519         * locale/programs/charmap-kw.h: Regenerated.
18520         * locale/programs/locfile-kw.h: Likewise.
18522         [BZ #13673]
18523         * intl/plural.y: Replace FSF snail mail address with URL.
18524         * intl/plural.c: Regenerated.
18526 2012-03-09  Richard Henderson  <rth@twiddle.net>
18528         * include/math_private.h: Remove file.
18529         * math/math_private.h: Move file ...
18530         * sysdeps/generic/math_private.h: ... here.
18532         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18533         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18534         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18536         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18537         and <math_private.h>.
18538         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18539         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18540         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18541         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18542         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18543         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18544         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18546         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18547         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18549         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18550         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18552         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18553         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18554         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18555         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18556         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18557         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18558         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18559         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18560         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18562         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18563         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18564         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18565         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18566         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18567         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18568         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18570         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18571         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18575         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18576         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18578         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18579         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18580         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18581         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18582         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18583         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18586         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18587         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18588         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18589         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18590         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18591         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18592         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18593         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18594         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18595         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18596         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18597         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18598         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18599         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18601         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18602         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18603         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18604         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18605         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18606         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18607         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18608         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18609         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18610         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18612         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18614         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18615         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18617         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18618         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18619         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18620         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18621         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18622         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18624         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18625         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18626         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18627         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18628         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18629         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18630         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18631         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18632         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18633         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18634         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18635         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18636         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18637         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18638         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18639         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18640         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18641         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18642         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18643         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18644         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18645         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18646         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18648         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18649         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18650         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18651         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18652         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18653         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18654         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18655         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18656         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18657         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18658         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18659         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18660         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18661         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18662         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18663         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18664         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18665         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18666         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18667         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18668         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18669         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18670         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18671         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18672         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18673         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18674         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18675         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18676         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18677         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18678         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18679         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18680         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18681         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18682         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18683         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18684         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18685         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18686         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18687         * sysdeps/ieee754/k_standard.c: Likewise.
18688         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18689         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18690         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18691         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18692         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18693         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18694         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18695         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18696         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18697         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18698         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18699         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18700         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18701         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18702         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18705         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18708         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18709         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18710         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18711         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18712         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18713         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18714         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18715         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18716         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18717         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18718         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18719         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18720         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18721         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18722         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18723         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18724         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18725         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18728         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18729         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18730         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18731         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18732         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18733         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18735         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18736         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18737         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18738         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18739         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18740         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18741         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18742         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18743         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18744         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18750         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18753         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18754         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18755         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18756         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18761         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18762         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18763         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18764         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18765         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18767         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18768         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18769         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18770         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18772         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18773         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18774         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18775         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18776         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18777         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18778         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18779         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18789         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18802         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18803         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18806         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18807         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18808         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18809         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18810         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18811         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18812         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18814         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18815         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18818         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18819         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18820         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18821         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18822         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18823         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18824         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18825         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18826         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18827         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18828         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18829         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18830         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18831         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18832         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18833         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18834         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18836         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18837         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18838         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18839         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18840         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18841         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18842         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18843         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18844         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18845         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18846         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18847         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18848         * sysdeps/ieee754/s_lib_version.c: Likewise.
18849         * sysdeps/ieee754/s_matherr.c: Likewise.
18850         * sysdeps/ieee754/s_signgam.c: Likewise.
18851         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18852         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18853         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18854         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18855         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18856         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18857         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18858         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18859         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18860         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18861         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18862         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18863         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18864         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18865         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18866         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18867         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18868         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18869         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18870         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18871         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18873 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18875         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18876         * sunrpc/rpc_main.c: Likewise.
18877         * sunrpc/rpc_svcout.c: Likewise.
18879 2012-03-09  David S. Miller  <davem@davemloft.net>
18881         * include/math_private.h: New file.
18883 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18885         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18886         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18887         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18888         from <bits/socket_type.h>.
18889         (enum __socket_type): Don't define here.
18890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18892         bits/socket_type.h.
18894         [BZ #13566]
18895         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18896         checking __USE_GNU.
18898         * Makerules ($(inst_includedir)/%.h): New rule.
18899         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18900         (install-others): Remove variable setting.
18901         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18903 2012-03-08  Richard Henderson  <rth@twiddle.net>
18905         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18906         from macro to inline function; merge with the
18907         !__LIBC_INTERNAL_MATH_INLINES version.
18908         (__ieee754_sqrtf): Likewise.
18910         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18911         to inline function.
18912         (__rintf, __floor, __floorf): Likewise.
18914         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18915         macro to inline function.
18916         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18918         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18919         not <math/math_private.h>.
18921 2012-03-08  David S. Miller  <davem@davemloft.net>
18923         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18924         copyright year.
18925         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18927 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18929         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18930         normalization.
18931         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18932         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18934 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18936         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18937         be defined individually, they must be defined as a block.  Define
18938         S for printing a string instead of hidint the different by using a
18939         macro for adding the 'l'.
18940         * stdio-common/tst-fphex-wide.c: Adjust.
18942 2012-03-07  Marek Polacek  <polacek@redhat.com>
18944         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18946 2012-03-08  Marek Polacek  <polacek@redhat.com>
18948         [BZ #13806]
18949         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18950         * stdio-common/tst-fphex.c: Define a few macros to make the
18951         test reusable.  Use them.
18952         * stdio-common/tst-fphex-wide.c: New file.
18954 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18956         [BZ #6911]
18957         * manual/macros.texi (gnusystems): New macro.
18958         (nongnusystems): Likewise.
18959         (gnulinuxhurdsystems): Likewise.
18960         (gnuhurdsystems): Likewise..
18961         (gnulinuxsystems): Likewise.
18962         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18963         variants of the GNU system, not "GNU system".
18964         * manual/conf.texi: Likewise.
18965         * manual/errno.texi: Likewise.  Update example of errno macro
18966         expansion.
18967         * manual/filesys.texi: Likewise.
18968         (getumask): Document as specific to GNU/Hurd.
18969         * manual/install.texi: Likewise.  Reword some references to
18970         GNU/Linux.
18971         * manual/intro.texi: Likewise.
18972         * manual/io.texi: Likewise.
18973         (File Name Portability): Detail which constraints are inapplicable
18974         to all GNU systems and which are only inapplicable to GNU/Hurd.
18975         * manual/job.texi: Likewise.
18976         * manual/llio.texi: Likewise.
18977         (O_NOCTTY): Document as present on GNU/Linux.
18978         * manual/maint.texi: Likewise.
18979         * manual/memory.texi: Likewise.
18980         * manual/pattern.texi: Likewise.
18981         * manual/pipe.texi: Likewise.
18982         * manual/process.texi: Likewise.
18983         * manual/resource.texi: Likewise.
18984         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18985         child on GNU/Hurd.
18986         * manual/setjmp.texi: Likewise.
18987         * manual/signal.texi: Likewise.
18988         * manual/startup.texi: Likewise.
18989         * manual/stdio.texi: Likewise.
18990         * manual/terminal.texi: Likewise.
18991         (ONLCR): Document as POSIX.
18992         (OXTABS): Document availability on GNU/Linux as XTABS.
18993         (ONOEOT): Document availability separately from other bits.
18994         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18995         * manual/time.texi: Likewise.
18996         * manual/users.texi: Likewise.
18997         * INSTALL: Regenerated.
18998         * sysdeps/gnu/errlist.c: Regenerated.
19000         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19001         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19002         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19003         puts.
19004         * configure: Regenerated.
19006 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19008         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19009         default includes instead of AC_HEADER_CHECK.
19010         * sysdeps/i386/configure: Regenerated.
19012         [BZ #10716]
19013         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19014         * math/s_cacoshf.c (__cacoshf): Likewise.
19015         * math/s_cacoshl.c (__cacoshl): Likewise.
19016         * math/s_casinh.c (__casinh): Set signs of result from argument.
19017         * math/s_casinhf.c (__casinhf): Likewise.
19018         * math/s_casinhl.c (__casinhl): Likewise.
19019         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19020         (casinh_test): Add more tests.
19021         * sysdeps/i386/fpu/libm-test-ulps: Update.
19022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19024 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19026         * po/zh_TW.po: Update from translation team.
19028         * login/Makefile (distribute): Remove variable.
19029         * catgets/Makefile: Likewise.
19030         * mach/Makefile: Likewise.
19031         * malloc/Makefile: Likewise.
19032         * misc/Makefile: Likewise.
19033         * iconv/Makefile: Likewise.
19034         * nscd/Makefile: Likewise.
19035         * hurd/Makefile: Likewise.
19036         * manual/Makefile: Likewise.
19037         * locale/Makefile: Likewise.
19038         * intl/Makefile: Likewise.
19039         * conform/Makefile: Likewise.
19040         * nss/Makefile: Likewise.
19041         * time/Makefile: Likewise.
19042         * soft-fp/Makefile: Likewise.
19043         * dirent/Makefile: Likewise.
19044         * gmon/Makefile: Likewise.
19045         * po/Makefile: Likewise.
19046         * rt/Makefile: Likewise.
19047         * socket/Makefile: Likewise.
19048         * math/Makefile: Likewise.
19049         * signal/Makefile: Likewise.
19050         * debug/Makefile: Likewise.
19051         * elf/Makefile: Likewise.
19052         * timezone/Makefile: Likewise.
19053         * stdlib/Makefile: Likewise.
19054         * iconvdata/Makefile: Likewise.
19055         * sunrpc/Makefile: Likewise.
19056         * io/Makefile: Likewise.
19057         * argp/Makefile: Likewise.
19058         * inet/Makefile: Likewise.
19059         * hesiod/Makefile: Likewise.
19060         * grp/Makefile: Likewise.
19061         * csu/Makefile: Likewise.
19062         * wctype/Makefile: Likewise.
19063         * crypt/Makefile: Likewise.
19064         * libio/Makefile: Likewise.
19065         * string/Makefile: Likewise.
19066         * nis/Makefile: Likewise.
19067         * resolv/Makefile: Likewise.
19068         * stdio-common/Makefile: Likewise.
19069         * wcsmbs/Makefile: Likewise.
19070         * dlfcn/Makefile: Likewise.
19071         * posix/Makefile: Likewise.
19073         [BZ #6959]
19074         * timezone/Makefile: Don't install timezone files, just the programs
19075         and scripts.
19077 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19079         * nss/databases.def: Add missing gshadow entry.
19081         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19083 2012-03-06  Marek Polacek  <polacek@redhat.com>
19085         [BZ #13726]
19086         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19087         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19088         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19089         * stdio-common/tst-long-dbl-fphex.c: New file.
19091 2012-03-06  David S. Miller  <davem@davemloft.net>
19093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19094         (set_obp_int): New function.
19095         (get_obp_int): New function.
19096         (__get_clockfreq_via_dev_openprom): Likewise.
19097         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19098         Avoid unused variable warnings on 'val' and use builtin_expect.
19099         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19100         __builtin_expect.
19101         (INLINE_CLONE_SYSCALL): Likewise.
19103 2012-03-05  David S. Miller  <davem@davemloft.net>
19105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19107 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19111         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19112         only for |x| >= 40.
19113         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19115 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19118         Replace gettimeofday with __vdso_gettimeofday.
19120         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19121         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19122         __vdso_clock_gettime and __vdso_getcpu.
19124         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19125         time with __vdso_time.
19127 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19129         * manual/lang.texi (size_t): Note types to which size_t may be
19130         equivalent with the GNU C Library, but do not describe when
19131         differences between them are significant.
19133 2012-03-05  Andreas Jaeger  <aj@suse.de>
19135         * sysdeps/i386/fpu/libm-test-ulps: Update.
19137 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19139         [BZ #3976]
19140         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19141         (__ieee754_pow): Save and restore rounding mode and use
19142         round-to-nearest for main computations.
19143         * math/libm-test.inc (pow_test_tonearest): New function.
19144         (pow_test_towardzero): Likewise.
19145         (pow_test_downward): Likewise.
19146         (pow_test_upward): Likewise.
19147         (main): Call the new functions.
19148         * sysdeps/i386/fpu/libm-test-ulps: Update.
19149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19151         [BZ #3976]
19152         * math/libm-test.inc (cosh_test_tonearest): New function.
19153         (cosh_test_towardzero): Likewise.
19154         (cosh_test_downward): Likewise.
19155         (cosh_test_upward): Likewise.
19156         (sinh_test_tonearest): Likewise.
19157         (sinh_test_towardzero): Likewise.
19158         (sinh_test_downward): Likewise.
19159         (sinh_test_upward): Likewise.
19160         (main): Call the new functions.
19161         * sysdeps/i386/fpu/libm-test-ulps: Update.
19162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19164 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19166         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19167         default stack guard is set in last bytes.
19168         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19170 2012-03-05  Kees Cook  <keescook@chromium.org>
19172         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19174         [BZ #13656]
19175         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19176         possibly allocate from heap instead of stack.
19177         * stdio-common/bug-vfprintf-nargs.c: New file.
19178         * stdio-common/Makefile (tests): Add nargs overflow test.
19180 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19184 2012-03-03  Marek Polacek  <polacek@redhat.com>
19186         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19187         * math/math_private.h: Likewise.
19188         * stdlib/tst-strtod.c: Likewise.
19189         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19190         * sysdeps/x86_64/bits/atomic.h: Likewise.
19192 2012-03-02  David S. Miller  <davem@davemloft.net>
19194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19198         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19199         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19200         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19201         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19203 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19205         [BZ #13792]
19206         * manual/examples/README: New file, says the example source files
19207         can be used under GPL>=2.
19208         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19209         line containing just "*/".
19210         * manual/examples/add.c: Add copyright header (GPL>=2).
19211         * manual/examples/argp-ex1.c: Likewise.
19212         * manual/examples/argp-ex2.c: Likewise.
19213         * manual/examples/argp-ex3.c: Likewise.
19214         * manual/examples/argp-ex4.c: Likewise.
19215         * manual/examples/atexit.c: Likewise.
19216         * manual/examples/db.c: Likewise.
19217         * manual/examples/dir.c: Likewise.
19218         * manual/examples/dir2.c: Likewise.
19219         * manual/examples/execinfo.c: Likewise.
19220         * manual/examples/filecli.c: Likewise.
19221         * manual/examples/filesrv.c: Likewise.
19222         * manual/examples/fmtmsgexpl.c: Likewise.
19223         * manual/examples/genpass.c: Likewise.
19224         * manual/examples/inetcli.c: Likewise.
19225         * manual/examples/inetsrv.c: Likewise.
19226         * manual/examples/isockad.c: Likewise.
19227         * manual/examples/longopt.c: Likewise.
19228         * manual/examples/memopen.c: Likewise.
19229         * manual/examples/memstrm.c: Likewise.
19230         * manual/examples/mkfsock.c: Likewise.
19231         * manual/examples/mkisock.c: Likewise.
19232         * manual/examples/mygetpass.c: Likewise.
19233         * manual/examples/pipe.c: Likewise.
19234         * manual/examples/popen.c: Likewise.
19235         * manual/examples/rprintf.c: Likewise.
19236         * manual/examples/search.c: Likewise.
19237         * manual/examples/select.c: Likewise.
19238         * manual/examples/setjmp.c: Likewise.
19239         * manual/examples/sigh1.c: Likewise.
19240         * manual/examples/sigusr.c: Likewise.
19241         * manual/examples/stpcpy.c: Likewise.
19242         * manual/examples/strdupa.c: Likewise.
19243         * manual/examples/strftim.c: Likewise.
19244         * manual/examples/strncat.c: Likewise.
19245         * manual/examples/subopt.c: Likewise.
19246         * manual/examples/swapcontext.c: Likewise.
19247         * manual/examples/termios.c: Likewise.
19248         * manual/examples/testopt.c: Likewise.
19249         * manual/examples/testpass.c: Likewise.
19250         * manual/examples/timeval_subtract.c: Likewise.
19252         [BZ #13792]
19253         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19254         function to ...
19255         * manual/timeval_subtract.c.texi: ... here, new file.
19257 2012-03-02  David S. Miller  <davem@davemloft.net>
19259         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19261 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19263         [BZ #3976]
19264         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19265         (__sin): Save and restore rounding mode and use round-to-nearest
19266         for all computations.
19267         (__cos): Save and restore rounding mode and use round-to-nearest
19268         for all computations.
19269         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19270         <fenv.h>.
19271         (tan): Save and restore rounding mode and use round-to-nearest for
19272         all computations.
19273         * math/libm-test.inc (cos_test_tonearest): New function.
19274         (cos_test_towardzero): Likewise.
19275         (cos_test_downward): Likewise.
19276         (cos_test_upward): Likewise.
19277         (sin_test_tonearest): Likewise.
19278         (sin_test_towardzero): Likewise.
19279         (sin_test_downward): Likewise.
19280         (sin_test_upward): Likewise.
19281         (tan_test_tonearest): Likewise.
19282         (tan_test_towardzero): Likewise.
19283         (tan_test_downward): Likewise.
19284         (tan_test_upward): Likewise.
19285         (main): Call the new functions.
19286         * sysdeps/i386/fpu/libm-test-ulps: Update.
19287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19289         [BZ #10135]
19290         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19291         small n, then large n, before computing and testing k+n.
19292         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19294         Likewise.
19295         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19296         Likewise.
19297         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19298         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19299         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19300         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19301         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19302         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19303         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19304         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19305         * math/libm-test.inc (scalbn_test): Add more tests.
19306         (scalbln_test): Likewise.
19308         * manual/filesys.texi (mode_t): Describe constraints on size and
19309         signedness, not exact equivalence to a particular type.
19310         (ino_t): Likewise.
19311         (ino64_t): Likewise.
19312         (dev_t): Likewise.
19313         (nlink_t): Likewise.
19314         (blkcnt_t): Likewise.
19315         (blkcnt64_t): Likewise.
19316         * manual/llio.texi (off_t): Likewise.
19318         [BZ #3976]
19319         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19320         (__ieee754_exp): Save and restore rounding mode and use
19321         round-to-nearest for all computations.
19322         * math/libm-test.inc (exp_test_tonearest): New function.
19323         (exp_test_towardzero): Likewise.
19324         (exp_test_downward): Likewise.
19325         (exp_test_upward): Likewise.
19326         (main): Call the new functions.
19327         * sysdeps/i386/fpu/libm-test-ulps: Update.
19328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19330 2012-03-01  Chris Demetriou  <cgd@google.com>
19332         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19333         have predictable order.
19335 2012-03-01  David S. Miller  <davem@davemloft.net>
19337         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19339         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19340         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19341         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19342         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19344         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19345         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19346         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19348         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19349         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19350         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19351         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19352         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19356         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19357         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19358         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19360         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19361         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19362         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19363         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19364         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19365         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19366         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19367         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19368         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19369         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19370         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19371         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19372         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19373         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19374         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19376         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19377         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19378         * sysdeps/sparc/elf/configure: Regenerated.
19380 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19382         * configure.in (AS, LD): Require binutils 2.20 or later.
19383         * configure: Regenerated.
19384         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19385         as required minimum version.
19386         * INSTALL: Regenerated.
19388         [BZ #2541]
19389         [BZ #4108]
19390         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19391         before squaring exponent.
19392         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19393         bottom long double and 27 bits of top long double before squaring
19394         exponent.
19395         * math/libm-test.inc (erfc_test): Add more tests.
19396         * sysdeps/i386/fpu/libm-test-ulps: Update.
19397         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19400 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19402         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19403         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19404         containing bit-fields.
19405         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19406         * soft-fp/single.h (_FP_UNION_S): Likewise.
19407         * soft-fp/double.h (_FP_UNION_D): Likewise.
19409 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #13786]
19412         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19413         not include ../strcmp.S.
19414         [USE_AS_STRNCASECMP_L]: Likewise.
19415         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19416         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19417         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19418         (__strncasecmp_l_ia32): Define as alias to
19419         __strncasecmp_l_nonascii.
19421         [BZ #5794]
19422         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19423         * sysdeps/i386/fpu/libm-test-ulps: Update.
19424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19429 2012-02-29  Jeff Law  <law@redhat.com>
19431         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19432         out of bounds read.
19434 2012-02-29  Marek Polacek  <polacek@redhat.com>
19436         [BZ #13706]
19437         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19438         * elf/Makefile: Add rules to run tst-unused-dep.out.
19440 2012-02-28  David S. Miller  <davem@davemloft.net>
19442         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19443         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19444         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19445         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19446         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19447         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19449 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19451         * math/libm-test.inc (llround_test): Move one test from
19452         lround_test.  Use TEST_f_L in moved test.
19453         (lround_test): Move misplaced test to llround_test.  Add testcase
19454         from bug 2561.
19456 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19458         * sysdeps/x86_64/fpu/e_expf.S: New file.
19459         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19461 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19463         [BZ #13637]
19464         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19465         of remain_len that may cause incomplete multi-byte character and
19466         false match.
19467         * posix/bug-regex33.c: New file.
19468         * posix/Makefile (tests): Add bug-regex33.
19470 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19472         * manual/macros.texi: New file.
19473         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19474         * manual/libc.texinfo: Include macros.texi.
19475         * manual/creatute.texi: Likewise.
19476         * manual/install.texi: Likewise.
19477         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19478         @glibcadj{} in references to the GNU C Library.
19479         * manual/charset.texi: Likewise.
19480         * manual/conf.texi: Likewise.
19481         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19482         when not using those macros.
19483         * manual/creature.texi: Likewise.
19484         * manual/crypt.texi: Likewise.
19485         * manual/errno.texi: Likewise.
19486         * manual/filesys.texi: Likewise.
19487         * manual/header.texi: Likewise.
19488         * manual/install.texi: Likewise.
19489         * manual/intro.texi: Likewise.
19490         * manual/io.texi: Likewise.
19491         * manual/job.texi: Likewise.
19492         * manual/lang.texi: Likewise.
19493         * manual/libc.texiinfo: Likewise.
19494         * manual/llio.texi: Likewise.
19495         * manual/locale.texi: Likewise.
19496         * manual/maint.texi: Likewise.
19497         * manual/math.texi: Likewise.
19498         * manual/memory.texi: Likewise.
19499         * manual/message.texi: Likewise.
19500         * manual/nss.texi: Likewise.
19501         * manual/pattern.texi: Likewise.
19502         * manual/process.texi: Likewise.
19503         * manual/resource.texi: Likewise.
19504         * manual/search.texi: Likewise.
19505         * manual/setjmp.texi: Likewise.
19506         * manual/signal.texi: Likewise.
19507         * manual/socket.texi: Likewise.
19508         * manual/startup.texi: Likewise.
19509         * manual/stdio.texi: Likewise.
19510         * manual/string.texi: Likewise.
19511         * manual/sysinfo.texi: Likewise.
19512         * manual/syslog.texi: Likewise.
19513         * manual/terminal.texi: Likewise.
19514         * manual/time.texi: Likewise.
19515         * manual/users.texi: Likewise.
19516         * INSTALL: Regenerated.
19517         * NOTES: Regenerated.
19518         * sysdeps/gnu/errlist.c: Regenerated.
19520 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19522         * include/dirent.h: Include <dirstream.h> before
19523         <dirent/dirent.h>.
19525 2012-02-28  David S. Miller  <davem@davemloft.net>
19527         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19528         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19529         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19530         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19532 2012-02-27  David S. Miller  <davem@davemloft.net>
19534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19536         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19537         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19540         frame pointer instead of stack pointer relative arg slot.
19541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19542         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19543         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19545 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19547         [BZ #3992]
19548         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19550 2012-02-27  David S. Miller  <davem@davemloft.net>
19552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19556         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19557         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19558         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19559         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19561 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19563         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19564         later.  Allow versions 5-9.
19565         * configure: Regenerated.
19566         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19567         required minimum version and 4.6 as recommended version.  Do not
19568         mention bugs in GCC 2.7 and 2.8.
19569         * INSTALL: Regenerated.
19571 2012-02-27  David S. Miller  <davem@davemloft.net>
19573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19577         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19578         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19579         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19580         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19582         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19583         manipulate bits before adding and subtracting TWO112[sx].
19584         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19586 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19588         [BZ #13775]
19589         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19590         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19591         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19592         being in POSIX, because they are in 1003.1-2008.
19594         * rt/tst-aio.c: Include <fcntl.h>.
19595         * rt/tst-aio7.c: Likewise.
19596         * rt/tst-aio64.c: Likewise.
19598         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19600 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19602         * manual/install.texi (--with-headers): Describe headers as
19603         interface headers, not private headers.
19604         (Specific advice for GNU/Linux systems): Describe use of headers
19605         from "make headers_install", not private headers from older
19606         kernels.
19607         * INSTALL: Regenerated.
19608         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19609         Change to 2.6.19.
19610         * sysdeps/unix/sysv/linux/configure: Regenerated.
19612         * manual/llio.texi (fclean): Remove documentation.
19614         * manual/Makefile (libc-texi-generated): New variable.  Include
19615         version.texi.
19616         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19617         $(libc-texi-generated), not duplicated list of files.
19618         (version.texi, stamp-version): New rules.
19619         (realclean): Remove $(libc-texi-generated), not individual files
19620         from that list.  Do not remove dir-add.texinfo.
19621         * manual/libc.texinfo: Comment out uses of edition numbers and
19622         references to printed manual.  Remove last-updated dates.
19623         (EDITION): Comment out.
19624         (ISBN): Likewise.
19625         (VERSION, UPDATED): Remove.
19626         (version.texi): Include.
19628 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19630         * sysdeps/posix/spawni.c: Include <signal.h>.
19631         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19632         * sysdeps/pthread/aio_fsync.c: Likewise.
19634 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19636         * conform/Makefile (tests): Run only when not cross-compiling and
19637         when fast-check is not defined.
19639         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19640         * conform/data/limits.h-data: Fixes for POSIX2008.
19641         * conform/run-conformtest.sh: Run all tests.
19642         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19643         headers.
19644         * include/bits/dlfcn.h: Likewise.
19645         * include/langinfo.h: Likewise.
19646         * include/monetary.h: Likewise.
19647         * include/sys/poll.h: Likewise.
19649         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19650         for __USE_GNU.
19651         * posix/spawn.h: Define __need_sigset_t.
19652         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19653         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19654         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19655         to get sigevent_t only.
19656         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19657         only for __USE_GNU.
19658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19659         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19660         process_vm_writev only for __USE_GNU.
19661         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19663         * conform/Makefile: For now ignore errors from run-conformtest.
19664         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19665         POSIX to avoid namespace pollution.  Don't prepend headers.
19666         * conform/data/aio.h-data: Fixes for POSIX testing.
19667         * conform/data/fcntl.h-data: Likewise.
19668         * conform/data/glob.h-data: Likewise.
19669         * conform/data/grp.h-data: Likewise.
19670         * conform/data/pthread.h-data: Likewise.
19671         * conform/data/pwd.h-data: Likewise.
19672         * conform/data/signal.h-data: Likewise.
19673         * conform/data/spawn.h-data: Likewise.
19674         * conform/data/stdio.h-data: Likewise.
19675         * conform/data/stdlib.h-data: Likewise.
19676         * conform/data/stropts.h-data: Likewise.
19677         * conform/data/sys/mman.h-data: Likewise.
19678         * conform/data/sys/stat.h-data: Likewise.
19679         * conform/data/sys/types.h-data: Likewise.
19680         * conform/data/sys/wait.h-data: Likewise.
19681         * conform/data/time.h-data: Likewise.
19682         * conform/data/unistd.h-data: Likewise.
19683         * conform/data/utime.h-data: Likewise.
19685         * io/sys/stat.h: fchmod was always in POSIX.
19686         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19687         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19688         * rt/aio.h: Define __need_timespec before including <time.h>.
19689         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19690         struct.  Add forward declaration of pthread_attr_t and use it in
19691         sigevent.
19692         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19693         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19694         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19695         always remove CLK_TCK definition.
19697 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19699         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19701 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19703         * conform/run-conformtest.sh: New file.
19704         * conform/Makefile: Run run-conformtest for tests.
19705         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19706         support.
19708         * conform/data/uchar.h-data: New file.
19709         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19710         * conform/data/arpa/inet.h-data: Likewise.
19711         * conform/data/assert.h-data: Likewise.
19712         * conform/data/complex.h-data: Likewise.
19713         * conform/data/cpio.h-data: Likewise.
19714         * conform/data/ctype.h-data: Likewise.
19715         * conform/data/dirent.h-data: Likewise.
19716         * conform/data/dlfcn.h-data: Likewise.
19717         * conform/data/errno.h-data: Likewise.
19718         * conform/data/fcntl.h-data: Likewise.
19719         * conform/data/float.h-data: Likewise.
19720         * conform/data/fmtmsg.h-data: Likewise.
19721         * conform/data/fnmatch.h-data: Likewise.
19722         * conform/data/ftw.h-data: Likewise.
19723         * conform/data/glob.h-data: Likewise.
19724         * conform/data/grp.h-data: Likewise.
19725         * conform/data/iconv.h-data: Likewise.
19726         * conform/data/inttypes.h-data: Likewise.
19727         * conform/data/langinfo.h-data: Likewise.
19728         * conform/data/libgen.h-data: Likewise.
19729         * conform/data/limits.h-data: Likewise.
19730         * conform/data/locale.h-data: Likewise.
19731         * conform/data/math.h-data: Likewise.
19732         * conform/data/monetary.h-data: Likewise.
19733         * conform/data/mqueue.h-data: Likewise.
19734         * conform/data/ndbm.h-data: Likewise.
19735         * conform/data/net/if.h-data: Likewise.
19736         * conform/data/netdb.h-data: Likewise.
19737         * conform/data/netinet/in.h-data: Likewise.
19738         * conform/data/nl_types.h-data: Likewise.
19739         * conform/data/poll.h-data: Likewise.
19740         * conform/data/pthread.h-data: Likewise.
19741         * conform/data/pwd.h-data: Likewise.
19742         * conform/data/regex.h-data: Likewise.
19743         * conform/data/sched.h-data: Likewise.
19744         * conform/data/search.h-data: Likewise.
19745         * conform/data/semaphore.h-data: Likewise.
19746         * conform/data/setjmp.h-data: Likewise.
19747         * conform/data/signal.h-data: Likewise.
19748         * conform/data/spawn.h-data: Likewise.
19749         * conform/data/stdarg.h-data: Likewise.
19750         * conform/data/stdio.h-data: Likewise.
19751         * conform/data/stdlib.h-data: Likewise.
19752         * conform/data/string.h-data: Likewise.
19753         * conform/data/strings.h-data: Likewise.
19754         * conform/data/stropts.h-data: Likewise.
19755         * conform/data/sys/ipc.h-data: Likewise.
19756         * conform/data/sys/mman.h-data: Likewise.
19757         * conform/data/sys/msg.h-data: Likewise.
19758         * conform/data/sys/resource.h-data: Likewise.
19759         * conform/data/sys/select.h-data: Likewise.
19760         * conform/data/sys/sem.h-data: Likewise.
19761         * conform/data/sys/shm.h-data: Likewise.
19762         * conform/data/sys/socket.h-data: Likewise.
19763         * conform/data/sys/stat.h-data: Likewise.
19764         * conform/data/sys/statvfs.h-data: Likewise.
19765         * conform/data/sys/time.h-data: Likewise.
19766         * conform/data/sys/timeb.h-data: Likewise.
19767         * conform/data/sys/times.h-data: Likewise.
19768         * conform/data/sys/types.h-data: Likewise.
19769         * conform/data/sys/uio.h-data: Likewise.
19770         * conform/data/sys/un.h-data: Likewise.
19771         * conform/data/sys/utsname.h-data: Likewise.
19772         * conform/data/sys/wait.h-data: Likewise.
19773         * conform/data/syslog.h-data: Likewise.
19774         * conform/data/tar.h-data: Likewise.
19775         * conform/data/termios.h-data: Likewise.
19776         * conform/data/utime.h-data: Likewise.
19777         * conform/data/utmpx.h-data: Likewise.
19778         * conform/data/varargs.h-data: Likewise.
19779         * conform/data/wchar.h-data: Likewise.
19780         * conform/data/wctype.h-data: Likewise.
19781         * conform/data/wordexp.h-data: Likewise.
19783         * include/stropts.h: New file.
19784         * include/uchar.h: New file.
19785         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19786         * include/assert.h: Likewise.
19787         * include/ctype.h: Likewise.
19788         * include/dirent.h: Likewise.
19789         * include/dlfcn.h: Likewise.
19790         * include/fcntl.h: Likewise.
19791         * include/fnmatch.h: Likewise.
19792         * include/glob.h: Likewise.
19793         * include/grp.h: Likewise.
19794         * include/libio.h: Likewise.
19795         * include/locale.h: Likewise.
19796         * include/math.h: Likewise.
19797         * include/net/if.h: Likewise.
19798         * include/netdb.h: Likewise.
19799         * include/netinet/in.h: Likewise.
19800         * include/pthread.h: Likewise.
19801         * include/pwd.h: Likewise.
19802         * include/regex.h: Likewise.
19803         * include/sched.h: Likewise.
19804         * include/search.h: Likewise.
19805         * include/setjmp.h: Likewise.
19806         * include/signal.h: Likewise.
19807         * include/stdio.h: Likewise.
19808         * include/stdlib.h: Likewise.
19809         * include/string.h: Likewise.
19810         * include/sys/cdefs.h: Likewise.
19811         * include/sys/mman.h: Likewise.
19812         * include/sys/msg.h: Likewise.
19813         * include/sys/resource.h: Likewise.
19814         * include/sys/select.h: Likewise.
19815         * include/sys/socket.h: Likewise.
19816         * include/sys/stat.h: Likewise.
19817         * include/sys/statvfs.h: Likewise.
19818         * include/sys/time.h: Likewise.
19819         * include/sys/times.h: Likewise.
19820         * include/sys/uio.h: Likewise.
19821         * include/sys/utsname.h: Likewise.
19822         * include/sys/wait.h: Likewise.
19823         * include/termios.h: Likewise.
19824         * include/time.h: Likewise.
19825         * include/ulimit.h: Likewise.
19826         * include/unistd.h: Likewise.
19827         * include/utime.h: Likewise.
19828         * include/wchar.h: Likewise.
19829         * include/wctype.h: Likewise.
19830         * include/wordexp.h: Likewise.
19832         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19834         * time/time.h: TIME_UTC must be a macro.
19835         Make timespec_get available for ISO C11 only as well.
19837 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19839         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19840         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19842 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19844         * configure.in: Use -o not -a in test for unsupported multi-arch.
19846 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19848         * manual/texinfo.tex: Update to version 2012-01-19.16.
19850 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19852         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19854 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19856         [BZ #13738]
19857         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19858         * manual/fdl-1.3.texi: New file.
19859         * manual/fdl-1.1.texi: File removed.
19861         [BZ #13738]
19862         * manual/libc.texinfo (FDL_VERSION): New @set.
19863         Use it for mention of FDL in cover text.
19864         (Documentation License): Use it in @include file name.
19866 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19867             Roland McGrath  <roland@hack.frob.com>
19869         [BZ #5461]
19870         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19871         not LONG_LONG_MAX and LONG_LONG_MIN.
19872         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19873         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19874         name.
19875         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19877 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19879         [BZ #2547]
19880         [BZ #11365]
19881         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19882         manipulate bits before adding and subtracting TWO23[sx].
19883         * math/libm-test.inc (nearbyint_test): Add more tests.
19885 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19887         [BZ #2548]
19888         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19889         bits before adding and subtracting TWO23[sx].
19890         * math/libm-test.inc (rint_test): Add more tests.
19891         (rint_test_tonearest): Likewise.
19892         (rint_test_towardzero): Likewise.
19893         (rint_test_downward): Likewise.
19894         (rint_test_upward: Likewise.
19896 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19898         [BZ #10110]
19899         * include/stdc-predef.h: New file.  Extracted from features.h.
19900         * include/features.h: Include stdc-predef.h.
19901         * Makefile (headers): Add stdc-predef.h.
19902         * CONFORMANCE (Compiler limitations): Update.
19904 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19906         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19908 2012-02-21  David S. Miller  <davem@davemloft.net>
19910         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19911         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19913 2012-02-20  David S. Miller  <davem@davemloft.net>
19915         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19916         using a normal save/restore sequence, rather than allocating a
19917         dummy stack frame just to store a frame pointer and restore.
19918         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19920 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19922         * manual/install.texi: Fix stray word in line-wrapped comment.
19924 2012-02-20  David S. Miller  <davem@davemloft.net>
19926         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19927         both binutils and gcc support GOTDATA.
19929         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19930         "rd %pc" in the PIC register setup sequences.
19932         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19933         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19934         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19935         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19936         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19937         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19938         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19939         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19940         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19941         (SYSCALL_ERROR_HANDLER): Likewise.
19942         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19943         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19945         (SYSCALL_ERROR_HANDLER): Likewise.
19947         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19948         (HAVE_GCC_GOTDATA): New.
19949         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19950         relocation support in both binutils and gcc.
19951         * sysdeps/sparc/elf/configure: Regenerate.
19953         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19954         * sysdeps/sparc/sparc32/elf/configure: Delete.
19955         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19956         * sysdeps/sparc/sparc64/elf/configure: Delete.
19957         * sysdeps/sparc/elf/configure.in: New file.
19958         * sysdeps/sparc/elf/configure: Generate.
19960         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19961         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19962         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19963         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19964         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19966 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19968         * manual/install.texi: Do not mention specific glibc version
19969         numbers.
19970         * manual/libc.texinfo (VERSION, UPDATED): Update.
19971         (@copying): Use @copyright{} and range of years.
19973 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19975         [BZ #13695]
19976         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19977         [crti.S not in sysdirs] (generated): Do not append.
19978         [crti.S not in sysdirs] (omit-deps): Likewise.
19979         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19980         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19981         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19982         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19983         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19984         Likewise.
19985         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19986         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19987         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19988         * csu/defs.awk: Remove file.
19989         * sysdeps/generic/initfini.c: Likewise.
19990         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19991         variable.
19992         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19993         Likewise.
19995 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19997         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19998         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19999         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20000         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20001         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20002         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20003         <bits/epoll.h>.
20004         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20005         (__EPOLL_PACKED): Define to empty if not defined by
20006         <bits/epoll.h>.
20007         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20008         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20009         bits/epoll.h.
20011 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20013         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20014         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20015         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20016         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20017         <bits/timerfd.h>.
20018         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20020         bits/timerfd.h.
20022 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20024         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20025         in C locale.
20026         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20027         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20028         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20031 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20033         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20034         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20036 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20038         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20039         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20040         defined.
20041         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20042         Likewise.
20043         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20044         entry for 2.16.
20046 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20048         * math/w_acos.c: Use non-signaling floating-point comparisons.
20049         * math/w_acosf.c: Likewise.
20050         * math/w_acosh.c: Likewise.
20051         * math/w_acoshf.c: Likewise.
20052         * math/w_acoshl.c: Likewise.
20053         * math/w_acosl.c: Likewise.
20054         * math/w_asin.c: Likewise.
20055         * math/w_asinf.c: Likewise.
20056         * math/w_asinl.c: Likewise.
20057         * math/w_atanh.c: Likewise.
20058         * math/w_atanhf.c: Likewise.
20059         * math/w_atanhl.c: Likewise.
20060         * math/w_exp2.c: Likewise.
20061         * math/w_exp2f.c: Likewise.
20062         * math/w_exp2l.c: Likewise.
20063         * math/w_j0.c: Likewise.
20064         * math/w_j0f.c: Likewise.
20065         * math/w_j0l.c: Likewise.
20066         * math/w_j1.c: Likewise.
20067         * math/w_j1f.c: Likewise.
20068         * math/w_j1l.c: Likewise.
20069         * math/w_jn.c: Likewise.
20070         * math/w_jnf.c: Likewise.
20071         * math/w_log.c: Likewise.
20072         * math/w_log10.c: Likewise.
20073         * math/w_log10f.c: Likewise.
20074         * math/w_log10l.c: Likewise.
20075         * math/w_log2.c: Likewise.
20076         * math/w_log2f.c: Likewise.
20077         * math/w_log2l.c: Likewise.
20078         * math/w_logf.c: Likewise.
20079         * math/w_logl.c: Likewise.
20080         * math/w_sqrt.c: Likewise.
20081         * math/w_sqrtf.c: Likewise.
20082         * math/w_sqrtl.c: Likewise.
20083         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20084         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20085         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20086         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20087         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20089 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20091         [BZ #9739]
20092         * manual/string.texi (strnlen): Use correct parameter name in
20093         equivalent expression.
20095 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20097         [BZ #11174]
20098         * manual/users.texi (seteuid): Consistently use neweuid for
20099         argument name.
20101 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20103         [BZ #13704]
20104         * manual/nss.texi (Services in the NSS configuration): Correct
20105         list of services in example configuration file.
20107 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20109         [BZ #11322]
20110         * manual/arith.texi: Remove statements about negative zero
20111         behaving identically to zero.
20113 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20115         [BZ #5993]
20116         * manual/install.texi: Do not document upgrading from libc5.
20118 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20120         [BZ #4596]
20121         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20123 2012-02-18  David S. Miller  <davem@davemloft.net>
20125         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20126         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20127         %o7 across the call.
20128         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20129         instead.
20130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20131         SETUP_PIC_REG_LEAF.
20132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20133         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20134         * sysdeps/sparc/crtn.S: Likewise.
20136 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20138         * aout/Makefile: Remove.
20140 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20142         [BZ #13058]
20143         * manual/examples/argp-ex1.c (main): Format definition in GNU
20144         style.
20145         * manual/examples/argp-ex2.c (main): Likewise.
20146         * manual/examples/argp-ex3.c (main): Likewise.
20147         * manual/examples/argp-ex4.c (main): Likewise.
20148         * manual/examples/longopt.c (main): Use new-style prototype
20149         definition.
20150         * manual/examples/strncat.c (main): Specify return type and use
20151         (void) for arguments.
20152         * manual/examples/subopt.c (main): Use char **argv argument.
20154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20156         [BZ #5077]
20157         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20158         rounding modes.
20160 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20162         [BZ #6907]
20163         * manual/string.texi (strchr): Change when strchrnul is
20164         recommended.
20166 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20168         [BZ #174]
20169         * manual/locale.texi (setlocale): Document LOCPATH.
20171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20173         [BZ #10210]
20174         * manual/process.texi (execle): Move @dots{} before last argument.
20176 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20178         [BZ #12047]
20179         * manual/charset.texi (Generic Charset Conversion): Fix typo
20180         (LC_TYPE -> LC_CTYPE).
20182 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20184         [BZ #5805]
20185         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20186         (scalbnf): Likewise.
20187         (scalbnl): Likewise.
20188         (scalbln): Likewise.
20189         (scalblnf): Likewise.
20190         (scalblnl): Likewise.
20191         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20192         (vwarnx): Likewise.
20193         (verr): Likewise.
20194         (verrx): Likewise.
20195         * manual/filesys.texi (telldir): Use braces around return type.
20196         * manual/llio.texi (mmap): Add space after comma.
20197         (mmap64): Likewise.
20198         * manual/math.texi (jn): Use @var{} on parameter names.
20199         (jnf): Likewise.
20200         (jnl): Likewise.
20201         (yn): Likewise.
20202         (ynf): Likewise.
20203         (ynl): Likewise.
20204         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20205         line.
20206         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20207         "...".
20208         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20209         (sched_get_priority_max): Likewise.
20210         * manual/signal.texi (sigvec): Add space after comma.
20211         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20212         names.
20213         (if_indextoname): Likewise.
20214         (if_freenameindex): Likewise.
20215         (sendto): Use ',' instead of '.' in prototype.
20216         * manual/startup.texi (syscall): Use @dots{} instead of literal
20217         "...".
20218         * manual/stdio.texi (__fpending): Separate initial words of
20219         paragraph from @deftypefun line.
20220         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20221         "...".
20222         (vsyslog): Use @var{} on parameter names.
20223         * manual/terminal.texi (stty): Use @var{} on parameter names.
20224         * manual/users.texi (getutmp): Use @var{} on parameter names.
20225         (getutmpx): Likewise.
20227 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #6884]
20230         * manual/stdio.texi (fopen): Fix typos in description of
20231         ",ccs=STRING".
20233 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20235         [BZ #4026]
20236         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20237         get clock_id definition.
20239 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20241         [BZ #4822]
20242         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20243         (madvise): Cast every argument to void on its own.
20245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20247         [BZ #9902]
20248         * manual/startup.texi (Exit Status): Fix typo.
20250 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20252         [BZ #10140]
20253         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20254         * manual/examples/argp-ex2.c: Likewise.
20255         * manual/examples/argp-ex3.c: Likewise.
20257 2012-02-16  Richard Henderson  <rth@redhat.com>
20259         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20260         * sysdeps/s390/s390-32/initfini.c: Remove.
20261         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20262         * sysdeps/s390/s390-64/initfini.c: Remove.
20264 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20266         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20267         compiler output for sysdeps/generic/initfini.c.
20268         * sysdeps/sh/elf/initfini.c: Remove file.
20270 2012-02-16  David S. Miller  <davem@davemloft.net>
20272         [BZ #11494]
20273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20275         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20276         * sysdeps/sparc/crti.S: New file.
20277         * sysdeps/sparc/crtn.S: New file.
20278         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20279         * sysdeps/sparc/sparc64/Makefile: Likewise.
20281 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
20283         [BZ #3335]
20284         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20286 2012-02-15  Roland McGrath  <roland@hack.frob.com>
20288         [BZ #4822]
20289         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20291         * mach/devstream.c (cookie_io_functions_t): Macro removed.
20292         (write, read, close): Likewise.
20293         Patch by Aurelien Jarno <aurelien@aurel32.net>.
20295 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
20297         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20298         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20299         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20300         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20301         <bits/signalfd.h>.
20302         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20304         bits/signalfd.h.
20306 2012-02-14  Marek Polacek  <polacek@redhat.com>
20308         * sysdeps/x86_64/crti.S: New file.
20309         * sysdeps/x86_64/crtn.S: New file.
20310         * sysdeps/x86_64/elf/initfini.c: Remove file.
20312 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20314         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20315         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20316         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20317         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20318         <bits/inotify.h>.
20319         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20321         bits/inotify.h.
20323 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20325         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20326         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20327         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20328         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20329         <bits/eventfd.h>.
20330         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20332         bits/eventfd.h.
20334 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20336         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20337         __feraiseexcept instead of feraiseexcept.
20339         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20340         nanosleep invocations.
20341         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20342         strings, and add error checking for a nanosleep invocations.
20344 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20346         Replace FSF snail mail address with URLs, as per GNU coding standards.
20347         Most of the snail mail addresses were wrong anyway, and omitting
20348         them makes the source code easier to maintain.  Almost all of the
20349         changes are to license notices and to locale LC_IDENTIFICATION
20350         addresses, except for this one:
20351         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20352         not its snail mail address.
20354 2012-02-09  Richard Henderson  <rth@twiddle.net>
20356         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20357         of kernel-features.h.
20359         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20361 2012-02-08  Marek Polacek  <polacek@redhat.com>
20363         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20364         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20365         * sysdeps/gnu/_G_config.h: Likewise.
20366         * sysdeps/generic/_G_config.h: Likewise.
20368 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20370         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20371         tests.
20372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374         * sysdeps/powerpc/powerpc32/crti.S: New file.
20375         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20376         * sysdeps/powerpc/powerpc64/crti.S: New file.
20377         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20379         * Makeconfig (have-initfini): Don't set.
20380         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20381         * configure.in (nopic_initfini): Don't substitute.
20382         * config.h.in (HAVE_INITFINI): Don't #undef.
20383         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20384         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20386 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20388         Support crti.S and crtn.S provided directly by architectures.
20389         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20390         [crti.S in sysdirs] (omit-deps): Likewise.
20391         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20392         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20393         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20394         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20395         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20396         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20397         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20398         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20399         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20400         compiler output for sysdeps/generic/initfini.c.
20401         * sysdeps/i386/elf/Makefile: Remove file.
20402         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20404 2012-02-07  Marek Polacek  <polacek@redhat.com>
20406         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20407         * sysdeps/gnu/_G_config.h: Likewise.
20408         * sysdeps/mach/hurd/_G_config.h: Likewise.
20410 2012-02-07  Marek Polacek  <polacek@redhat.com>
20412         * math/Makefile (tests): Add tst-CMPLX2.
20413         * math/tst-CMPLX2.c: New file.
20415 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20417         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20419         * math/libm-test.inc (jn_test): Add missing L suffix.
20421 2012-02-06  Marek Polacek  <polacek@redhat.com>
20423         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20424         * sysdeps/i386/fpu/e_powf.S: Likewise.
20425         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20426         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20427         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20428         * sysdeps/i386/fpu/e_pow.S: Likewise.
20429         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20430         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20431         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20432         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20433         * sysdeps/i386/fpu/e_log2.S: Likewise.
20434         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20435         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20436         * sysdeps/i386/fpu/e_powl.S: Likewise.
20437         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20438         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20439         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20440         * sysdeps/i386/fpu/e_logl.S: Likewise.
20441         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20442         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20443         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20444         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20445         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20446         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20447         * sysdeps/i386/fpu/e_log.S: Likewise.
20448         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20449         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20450         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20451         * sysdeps/i386/fpu/e_logf.S: Likewise.
20452         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20453         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20454         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20455         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20456         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20457         * sysdeps/i386/fpu/e_log10.S: Likewise.
20458         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20459         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20460         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20461         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20462         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20463         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20464         * sysdeps/i386/asm-syntax.h: Likewise.
20465         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20466         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20467         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20468         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20469         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20470         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20471         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20472         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20473         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20474         * sysdeps/powerpc/sysdep.h: Likewise.
20475         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20476         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20478 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20480         [BZ #411]
20481         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20483 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20485         * sysdeps/i386/sysdep.h: Include <features.h>.
20486         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20487         version.
20489 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20491         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20492         Define.
20493         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20494         LOAD_PIC_REG_STR.
20496 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20498         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20499         (SETUP_PIC_REG): Use GET_PC_THUNK.
20500         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20501         macro.
20503 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20505         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20506         for non-PIC compilation.
20507         (SETUP_PIC_REG): Add .p2align directive.
20508         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20509         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20511         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20512         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20513         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20514         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20515         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20516         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20517         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20518         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20519         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20520         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20521         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20522         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20523         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20524         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20525         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20526         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20527         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20528         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20529         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20530         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20531         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20532         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20533         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20534         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20535         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20536         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20537         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20538         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20539         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20540         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20541         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20542         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20543         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20544         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20545         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20546         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20547         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20548         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20550 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20552         * math/tst-CMPLX.c: Include <stdio.h>.
20554 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20556         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20557         float.
20558         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20559         * sysdeps/sparc/bits/mathdef.h: Likewise.
20561 2012-01-31  Marek Polacek  <polacek@redhat.com>
20563         * libio/libio.h: Don't define _PARAMS.
20564         * locale/programs/config.h: Don't define PARAMS.
20565         * stdlib/strtol_l.c: Likewise.
20566         (__strtol_l): Remove PARAMS from the prototype.
20568 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20570         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20571         names.  Just use the correct names.  Remove unnecessary wrapper
20572         functions.
20573         * malloc/arena.c: Likewise.
20574         * malloc/hooks.c: Likewise.
20576         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20577         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20578         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20580 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20582         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20583         into tail calls.
20584         (update_get_addr): New function.
20585         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20586         GET_ADDR_MODULE parameter.
20588 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20590         * crypt/cert.c: Remove __STDC__ conditionals.
20591         * crypt/crypt-entry.c: Likewise.
20592         * crypt/crypt_util.c: Likewise.
20593         * libio/filedoalloc.c: Likewise.
20594         * libio/fileops.c: Likewise.
20595         * libio/genops.c: Likewise.
20596         * libio/iofclose.c: Likewise.
20597         * libio/iofdopen.c: Likewise.
20598         * libio/iofopen.c: Likewise.
20599         * libio/iofopen64.c: Likewise.
20600         * libio/iogetdelim.c: Likewise.
20601         * libio/iopopen.c: Likewise.
20602         * libio/obprintf.c: Likewise.
20603         * libio/oldfileops.c: Likewise.
20604         * libio/oldiofclose.c: Likewise.
20605         * libio/oldiofdopen.c: Likewise.
20606         * libio/oldiofopen.c: Likewise.
20607         * libio/oldiopopen.c: Likewise.
20608         * libio/wfiledoalloc.c: Likewise.
20609         * libio/wgenops.c: Likewise.
20610         * locale/programs/xmalloc.c: Likewise.
20611         * misc/syslog.c: Likewise.
20612         * stdio-common/xbug.c: Likewise.
20613         * string/memchr.c: Likewise.
20614         * string/memcmp.c: Likewise.
20615         * string/memrchr.c: Likewise.
20616         * string/rawmemchr.c: Likewise.
20617         * sysdeps/posix/getcwd.c: Likewise.
20618         * time/strftime_l.c: Likewise.
20620 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20622         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20623         * config.make.in (config-cflags-sse2avx): Define.
20624         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20625         Fix typo.
20627 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20629         * scripts/config.guess: Update from upstream config git repository.
20630         * scripts/config.sub: Likewise.
20632 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20634         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20635         (EM_NUM): Update.
20636         (R_TILEPRO_*, R_TILEGX_*): New macros.
20638         * scripts/firstversions.awk: Fix bug in version range handling.
20640         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20642         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20644         * include/sys/epoll.h: New file.
20645         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20646         libc_hidden_def.
20648 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20650         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20651         Avoid unnecessary __WORDSIZE == 64 test.
20652         (fmaxf): Use VEX format if possible.
20653         (fmax): Likewise.
20654         (fminf): Likewise.
20655         (fmin): Likewise.
20657         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20658         * math/math_private.h: Remove libc_fegetround* and
20659         libc_fesetround*.
20660         * sysdeps/i386/configure.in: Check for -msse2avx.
20661         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20662         also if SSE2AVX is defined.
20663         Remove libc_fegetround* and libc_fesetround*.
20664         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20665         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20666         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20667         of HAS_YMM_USABLE.
20668         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20669         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20670         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20671         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20672         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20674         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20676 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20678         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20679         size is not set.
20680         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20682 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20684         [BZ #13618]
20685         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20686         relocation.
20687         * Makeconfig (libm): Define.
20688         * elf/Makefile: Add rules to build and run tst-relsort1.
20689         * elf/tst-relsort1.c: New file.
20690         * elf/tst-relsort1mod1.c: New file.
20691         * elf/tst-relsort1mod2.c: New file.
20693 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20695         * math/s_ldexp.c: Remove __STDC__ conditionals.
20696         * math/s_ldexpf.c: Likewise.
20697         * math/s_ldexpl.c: Likewise.
20698         * math/s_nextafter.c: Likewise.
20699         * math/s_nexttowardf.c: Likewise.
20700         * math/s_significand.c: Likewise.
20701         * math/s_significandf.c: Likewise.
20702         * math/s_significandl.c: Likewise.
20703         * math/w_jnl.c: Likewise.
20704         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20705         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20706         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20707         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20708         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20709         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20710         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20711         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20712         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20713         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20714         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20715         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20716         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20717         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20718         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20719         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20720         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20721         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20722         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20723         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20724         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20725         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20726         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20727         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20728         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20729         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20730         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20731         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20732         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20733         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20734         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20735         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20736         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20737         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20738         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20739         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20740         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20741         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20742         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20743         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20744         * sysdeps/ieee754/k_standard.c: Likewise.
20745         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20746         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20747         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20748         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20749         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20750         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20751         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20752         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20753         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20754         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20755         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20756         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20757         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20758         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20759         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20760         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20761         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20762         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20763         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20764         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20765         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20766         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20767         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20768         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20769         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20770         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20771         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20772         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20773         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20774         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20775         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20776         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20777         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20778         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20780         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20781         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20782         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20783         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20784         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20785         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20787         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20788         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20789         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20792         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20793         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20794         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20795         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20796         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20797         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20798         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20799         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20800         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20801         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20802         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20803         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20804         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20805         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20806         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20807         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20808         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20809         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20810         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20811         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20812         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20814         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20815         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20817         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20818         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20819         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20820         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20821         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20822         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20823         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20824         * sysdeps/ieee754/s_matherr.c: Likewise.
20825         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20826         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20828         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20830 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20832         * crypt/md5.h: Remove __STDC__ conditionals.
20833         * libio/libioP.h: Likewise.
20834         * locale/programs/config.h: Likewise.
20835         * sysdeps/generic/sysdep.h: Likewise.
20836         * sysdeps/i386/asm-syntax.h: Likewise.
20837         * sysdeps/s390/asm-syntax.h: Likewise.
20838         * sysdeps/unix/sysdep.h: Likewise.
20839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20842 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20844         * libio/libio.h: Remove __STDC__ conditionals.
20845         * malloc/obstack.h: Likewise.
20846         * math/complex.h: Likewise.
20847         * math/math.h: Likewise.
20848         * sysdeps/generic/_G_config.h: Likewise.
20849         * sysdeps/gnu/_G_config.h: Likewise.
20850         * sysdeps/mach/hurd/_G_config.h: Likewise.
20851         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20852         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20853         * sysdeps/sparc/bits/mathdef.h: Likewise.
20855 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20857         [BZ #13583]
20858         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20859         Clean up HAS_* macros.
20860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20861         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20862         possible.
20863         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20864         HAS_AVX.
20865         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20866         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20867         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20868         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20869         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20871 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20873         * elf/tst-unique3.cc (gets): Remove declaration.
20874         * elf/tst-unique3lib.cc (gets): Likewise.
20875         * elf/tst-unique3lib2.cc (gets): Likewise.
20876         * elf/tst-unique4.cc (gets): Likewise.
20878 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20880         * include/stdio.h: Add C++ protection.  Add gets declarations and
20881         definitions.
20882         * debug/tst-chk1.c: Don't declare gets here.
20883         * stdio-common/tst-gets.c: Likewise.
20885 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20887         * posix/glob: Remove directory.
20889 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20891         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20893 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20895         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20896         of the non-standard EPFNOSUPPORT.
20898 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20900         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20901         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20902         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20904 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20906         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20908 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20910         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20911         transient errors.
20912         * nscd/grpcache.c (cache_addgr): Likewise.
20913         * nscd/hstcache.c (cache_addhst): Likewise.
20914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20915         * nscd/pwdcache.c (cache_addpw): Likewise.
20916         * nscd/servicescache.c (cache_addserv): Likewise.
20918 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20920         * malloc/malloc.c: Various cleanups.
20921         * malloc/hooks.c: Likewise.
20923         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20924         * stdlib/bug-fmtmsg1.c: New file.
20926         * stdlib/fmtmsg.c (init): Add missing unlock.
20927         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20929 2012-01-12  Marek Polacek  <polacek@redhat.com>
20931         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20932         and _GNU_SOURCE.
20934 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20936         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20937         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20938         macro to ensure uniqueness of label name.
20939         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20940         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20942 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20944         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20946         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20947         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20948         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20951 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20953         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20955         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20956         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20957         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20959         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20961         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20962         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20963         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20966         * math/bits/math-finite.h: Add ldexp support.
20968 2012-01-10  Marek Polacek  <polacek@redhat.com>
20970         * locale/programs/localedef.h (show_archive_content): Add noreturn
20971         attribute.
20973 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20975         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20977 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20979         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20981         * io/Makefile (headers): Add bits/poll2.h.
20983 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20986         typo #include statement.
20988 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20990         * include/sys/cdefs.h: Define __attribute_alloc_size.
20991         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20992         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20993         * elf/pldd.c: Likewise.
20994         * iconv/iconv_charmap.c: Likewise.
20995         * iconv/iconvconfig.c: Likewise.
20996         * iconv/strtab.c: Likewise.
20997         * locale/programs/locale.c: Likewise.
20998         * locale/programs/localedef.h: Likewise.
20999         * locale/programs/simple-hash.c: Likewise.
21000         * nscd/nscd.h: Likewise.
21001         * nss/makedb.c: Likewise.
21002         * sysdeps/generic/ldconfig.h: Likewise.
21003         * locale/programs/localedef.c: Remove xmalloc prototype.
21004         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21006 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21008         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21009         appropriate.
21011 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21013         * math/Makefile (tests): Add tst-CMPLX.
21014         * math/tst-CMPLX.c: New file.
21016         * math/complex.h (CMPLXL): Fix typo.
21018         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21019         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21020         GLIBC_2.16.
21021         * debug/tst-chk1.c: Add poll and ppoll tests.
21022         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21023         * include/sys/poll.h: Add hidden proto for ppoll.
21024         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21025         * sysdeps/mach/hurd/ppoll.c: Likewise.
21026         * io/ppoll.c: Likewise.
21027         * debug/poll_chk.c: New file.
21028         * debug/ppoll_chk.c: New file.
21029         * include/bits/poll2.h: New file.
21030         * io/bits/poll2.h: New file.
21032         [BZ #1350]
21033         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21035         * configure.in: static is always set to yes.  Remove.
21036         * config.make.in: Don't set build-static.
21037         * Makeconfig: Remove use of build-static.
21038         * dlfcn/Makefile: Likewise.
21039         * elf/Makefile: Likewise.
21040         * math/Makefile: Likewise.
21041         * misc/Makefile: Likewise.
21042         * nptl/Makefile: Likewise.
21043         * sysdeps/mach/hurd/Makefile: Likewise.
21045         * configure.in: PWD_P is not used anymore.
21046         * config.make.in: Remove PWD_P entry.
21048         * configure.in: Remove last remnants of RANLIB.
21049         No need to check for signed size_t anymore.
21050         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21051         and IA-64.
21052         Remove __builtin_expect test because we require at least gcc 3.4.
21053         * aclocal.m4: Likewise.
21055         * wcsmbs/mbrtoc16.c: Implement using towc function.
21056         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21057         * wcsmbs/wcsmbsload.c: Likewise.
21058         * iconv/gconv_simple.c: Likewise.
21059         * iconv/gconv_int.h: Likewise.
21060         * iconv/gconv_builtin.h: Likewise.
21061         * iconv/iconv_prog.c: Remove CHAR16 handling.
21063         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21065         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21067         * configure.in: Remove --with-elf and --enable-bounded options.
21068         Dont set base_machine for ia64.  More non-ELF conditions removed.
21069         Remove testing and setting of leading underscore information.
21070         * config.make.in (build-bounded): Set to no.
21071         * config.h.in: Remove NO_UNDERSCORES entry.
21072         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21073         them.
21074         * csu/start.c: Remove !NO_UNDERSCORE code.
21075         * locale/localeinfo.h: Likewise.
21076         * sysdeps/generic/machine-gmon.h: Likewise.
21077         * sysdeps/generic/sysdep.h: Likewise.
21078         * sysdeps/i386/sysdep.h: Likewise.
21079         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21080         * sysdeps/mach/sysdep.h: Likewise.
21081         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21082         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21083         * sysdeps/sh/sysdep.h: Likewise.
21084         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21085         * sysdeps/unix/i386/sysdep.S: Likewise.
21086         * sysdeps/unix/sparc/start.c: Likewise.
21087         * sysdeps/unix/sparc/sysdep.S: Likewise.
21088         * sysdeps/unix/sparc/sysdep.h: Likewise.
21089         * sysdeps/unix/start.c: Likewise.
21090         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21091         * sysdeps/x86_64/sysdep.h: Likewise.
21093 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21095         [BZ #13553]
21096         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21097         for non-gcc.
21098         * argp/argp-fmtstream.h: Use const instead __const.
21099         * argp/argp.h: Likewise.
21100         * assert/assert.h: Likewise.
21101         * bits/fenv.h: Likewise.
21102         * bits/sched.h: Likewise.
21103         * bits/sigset.h: Likewise.
21104         * bits/sigthread.h: Likewise.
21105         * catgets/nl_types.h: Likewise.
21106         * conform/data/pthread.h-data: Likewise.
21107         * crypt/crypt-private.h: Likewise.
21108         * crypt/crypt.h: Likewise.
21109         * crypt/crypt_util.c: Likewise.
21110         * ctype/ctype.h: Likewise.
21111         * debug/execinfo.h: Likewise.
21112         * debug/mbsnrtowcs_chk.c: Likewise.
21113         * debug/mbsrtowcs_chk.c: Likewise.
21114         * debug/wcsnrtombs_chk.c: Likewise.
21115         * debug/wcsrtombs_chk.c: Likewise.
21116         * debug/wcstombs_chk.c: Likewise.
21117         * dirent/dirent.h: Likewise.
21118         * dlfcn/dlfcn.h: Likewise.
21119         * elf/neededtest4.c: Likewise.
21120         * grp/grp.h: Likewise.
21121         * gshadow/gshadow.h: Likewise.
21122         * iconv/gconv.h: Likewise.
21123         * iconv/gconv_int.h: Likewise.
21124         * iconv/gconv_simple.c: Likewise.
21125         * iconv/iconv.h: Likewise.
21126         * iconv/loop.c: Likewise.
21127         * iconv/skeleton.c: Likewise.
21128         * include/aio.h: Likewise.
21129         * include/aliases.h: Likewise.
21130         * include/argz.h: Likewise.
21131         * include/arpa/inet.h: Likewise.
21132         * include/assert.h: Likewise.
21133         * include/dirent.h: Likewise.
21134         * include/dlfcn.h: Likewise.
21135         * include/execinfo.h: Likewise.
21136         * include/fcntl.h: Likewise.
21137         * include/fenv.h: Likewise.
21138         * include/glob.h: Likewise.
21139         * include/grp.h: Likewise.
21140         * include/libintl.h: Likewise.
21141         * include/mntent.h: Likewise.
21142         * include/netdb.h: Likewise.
21143         * include/pwd.h: Likewise.
21144         * include/rpc/netdb.h: Likewise.
21145         * include/sched.h: Likewise.
21146         * include/search.h: Likewise.
21147         * include/shadow.h: Likewise.
21148         * include/signal.h: Likewise.
21149         * include/stdio.h: Likewise.
21150         * include/stdlib.h: Likewise.
21151         * include/string.h: Likewise.
21152         * include/sys/socket.h: Likewise.
21153         * include/sys/stat.h: Likewise.
21154         * include/sys/statfs.h: Likewise.
21155         * include/sys/statvfs.h: Likewise.
21156         * include/sys/syslog.h: Likewise.
21157         * include/sys/time.h: Likewise.
21158         * include/sys/uio.h: Likewise.
21159         * include/time.h: Likewise.
21160         * include/unistd.h: Likewise.
21161         * include/utmp.h: Likewise.
21162         * include/wchar.h: Likewise.
21163         * include/wctype.h: Likewise.
21164         * inet/aliases.h: Likewise.
21165         * inet/arpa/inet.h: Likewise.
21166         * inet/netinet/ether.h: Likewise.
21167         * inet/netinet/in.h: Likewise.
21168         * intl/libintl.h: Likewise.
21169         * io/bits/fcntl2.h: Likewise.
21170         * io/fcntl.h: Likewise.
21171         * io/ftw.h: Likewise.
21172         * io/sys/poll.h: Likewise.
21173         * io/sys/stat.h: Likewise.
21174         * io/sys/statfs.h: Likewise.
21175         * io/sys/statvfs.h: Likewise.
21176         * io/utime.h: Likewise.
21177         * libio/bits/stdio.h: Likewise.
21178         * libio/bits/stdio2.h: Likewise.
21179         * libio/libio.h: Likewise.
21180         * libio/libioP.h: Likewise.
21181         * libio/stdio.h: Likewise.
21182         * locale/lc-ctype.c: Likewise.
21183         * locale/locale.h: Likewise.
21184         * login/utmp.h: Likewise.
21185         * malloc/arena.c: Likewise.
21186         * malloc/malloc.c: Likewise.
21187         * malloc/malloc.h: Likewise.
21188         * malloc/mcheck.c: Likewise.
21189         * malloc/mtrace.c: Likewise.
21190         * math/bits/mathcalls.h: Likewise.
21191         * math/fenv.h: Likewise.
21192         * math/math_private.h: Likewise.
21193         * misc/bits/error.h: Likewise.
21194         * misc/bits/syslog.h: Likewise.
21195         * misc/err.h: Likewise.
21196         * misc/error.h: Likewise.
21197         * misc/fstab.h: Likewise.
21198         * misc/mntent.h: Likewise.
21199         * misc/regexp.h: Likewise.
21200         * misc/search.h: Likewise.
21201         * misc/sgtty.h: Likewise.
21202         * misc/sys/mman.h: Likewise.
21203         * misc/sys/syslog.h: Likewise.
21204         * misc/sys/uio.h: Likewise.
21205         * misc/sys/xattr.h: Likewise.
21206         * misc/ttyent.h: Likewise.
21207         * nis/rpcsvc/ypclnt.h: Likewise.
21208         * nss/nss.h: Likewise.
21209         * posix/bits/unistd.h: Likewise.
21210         * posix/fnmatch.h: Likewise.
21211         * posix/glob.h: Likewise.
21212         * posix/sched.h: Likewise.
21213         * posix/spawn.h: Likewise.
21214         * posix/sys/wait.h: Likewise.
21215         * posix/unistd.h: Likewise.
21216         * posix/wordexp.h: Likewise.
21217         * pwd/pwd.h: Likewise.
21218         * resolv/netdb.h: Likewise.
21219         * resource/sys/resource.h: Likewise.
21220         * rt/aio.h: Likewise.
21221         * rt/bits/mqueue2.h: Likewise.
21222         * rt/mqueue.h: Likewise.
21223         * shadow/shadow.h: Likewise.
21224         * signal/signal.h: Likewise.
21225         * socket/send.c: Likewise.
21226         * socket/sendto.c: Likewise.
21227         * socket/sys/socket.h: Likewise.
21228         * stdio-common/printf.h: Likewise.
21229         * stdlib/bits/stdlib.h: Likewise.
21230         * stdlib/fmtmsg.h: Likewise.
21231         * stdlib/monetary.h: Likewise.
21232         * stdlib/stdlib.h: Likewise.
21233         * stdlib/ucontext.h: Likewise.
21234         * streams/stropts.h: Likewise.
21235         * string/argz.h: Likewise.
21236         * string/bits/string2.h: Likewise.
21237         * string/string.h: Likewise.
21238         * string/strings.h: Likewise.
21239         * sunrpc/rpc/auth.h: Likewise.
21240         * sunrpc/rpc/auth_des.h: Likewise.
21241         * sunrpc/rpc/clnt.h: Likewise.
21242         * sunrpc/rpc/netdb.h: Likewise.
21243         * sunrpc/rpc/pmap_clnt.h: Likewise.
21244         * sunrpc/rpc/xdr.h: Likewise.
21245         * sysdeps/generic/inttypes.h: Likewise.
21246         * sysdeps/generic/net/if.h: Likewise.
21247         * sysdeps/generic/sys/swap.h: Likewise.
21248         * sysdeps/gnu/net/if.h: Likewise.
21249         * sysdeps/gnu/utmpx.h: Likewise.
21250         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21251         * sysdeps/i386/i486/bits/string.h: Likewise.
21252         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21253         * sysdeps/s390/bits/string.h: Likewise.
21254         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21255         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21256         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21257         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21258         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21259         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21260         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21261         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21262         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21263         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21264         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21265         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21266         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21267         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21268         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21269         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21270         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21272         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21274         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21275         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21276         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21277         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21278         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21279         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21280         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21281         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21282         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21283         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21284         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21285         * sysvipc/sys/ipc.h: Likewise.
21286         * sysvipc/sys/msg.h: Likewise.
21287         * sysvipc/sys/sem.h: Likewise.
21288         * sysvipc/sys/shm.h: Likewise.
21289         * termios/termios.h: Likewise.
21290         * time/sys/time.h: Likewise.
21291         * time/time.h: Likewise.
21292         * wcsmbs/bits/wchar2.h: Likewise.
21293         * wcsmbs/uchar.h: Likewise.
21294         * wcsmbs/wchar.h: Likewise.
21295         * wctype/wctype.h: Likewise.
21297         [BZ #13551]
21298         * Makeconfig: Remove all but ELF support including AIX support.
21299         * Makerules: Likewise.
21300         * config.h.in: Likewise.
21301         * config.make.in: Likewise.
21302         * configure: Likewise.
21303         * configure.in: Likewise.
21304         * csu/Makefile: Likewise.
21305         * csu/version.c: Likewise.
21306         * debug/Makefile: Likewise.
21307         * dlfcn/Makefile: Likewise.
21308         * elf/Makefile: Likewise.
21309         * extra-lib.mk: Likewise.
21310         * iconv/Makefile: Likewise.
21311         * include/libc-symbols.h: Likewise.
21312         * include/shlib-compat.h: Likewise.
21313         * resolv/Makefile: Likewise.
21314         * resolv/res_libc.c: Likewise.
21315         * rt/Makefile: Likewise.
21316         * sysdeps/i386/asm-syntax.h: Likewise.
21317         * sysdeps/i386/sysdep.h: Likewise.
21318         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21319         * sysdeps/mach/sysdep.h: Likewise.
21320         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21321         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21322         * sysdeps/s390/asm-syntax.h: Likewise.
21323         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21324         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21325         * sysdeps/sh/sysdep.h: Likewise.
21326         * sysdeps/unix/sparc/sysdep.h: Likewise.
21327         * sysdeps/wordsize-32/divdi3.c: Likewise.
21328         * sysdeps/x86_64/sysdep.h: Likewise.
21330         * argp/Versions: Remove _argp_unlock_xxx.
21332         [BZ #13559]
21333         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21334         * abilist/libBrokenLocale.abilist: Likewise.
21335         * abilist/libanl.abilist: Likewise.
21336         * abilist/libc.abilist: Likewise.
21337         * abilist/libcrypt.abilist: Likewise.
21338         * abilist/libdl.abilist: Likewise.
21339         * abilist/libm.abilist: Likewise.
21340         * abilist/libnsl.abilist: Likewise.
21341         * abilist/libpthread.abilist: Likewise.
21342         * abilist/libresolv.abilist: Likewise.
21343         * abilist/librt.abilist: Likewise.
21344         * abilist/libthread_db.abilist: Likewise.
21345         * abilist/libutil.abilist: Likewise.
21346         * abilist/libnss_db.abilist: New file.
21348         * scripts/abilist.awk: Add support for indirect functions.
21350         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21352         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21354         * shlib-versions: Remove entries for ports architectures.
21356         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21357         files in ports.
21358         * elf/stackguard-macros.h: Remove support for IA-64.
21359         * elf/tst-auditmod1.c: Likewise.
21360         * sysdeps/generic/ldsodefs.h: Likewise.
21362         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21363         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21364         configure files.
21366         [BZ #13552]
21367         * configure.in: Remove --enable-omitfp support.
21368         * FAQ.in: Adjust.
21369         * config.make.in: Likewise.
21370         * Makeconfig: Likewise.
21371         * manual/install.texi: Likewise.
21373         In case anyone cares, the IA-64 architecture could move to ports.
21374         * sysdeps/ia64/*: Removed.
21375         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21376         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21378         [BZ #13555]
21379         * configure.in: Remove entries for unsupported architectures.
21381         [BZ #13533]
21382         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21383         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21384         routines.
21385         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21386         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21387         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21388         fall back to using wcrtomb.
21389         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21390         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21391         renaming.
21392         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21393         * wcsmbs/tst-c16c32-1.c: New file.
21395         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21396         local variable.
21398         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21400         * elf/tst-unique3.cc: Add explicit declaration of gets.
21401         * elf/tst-unique3lib.cc: Likewise.
21402         * elf/tst-unique3lib2.cc: Likewise.
21403         * elf/tst-unique4.cc: Likewise.
21405         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21407 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21409         [BZ #13566]
21410         * assert/assert.h (static_assert): Don't define for C++.
21411         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21412         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21414 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21416         * iconv/loop.c (single loop): Fix assertion in storing of
21417         remaining bytes.
21419         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21421 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21423         * posix/getconf.c: Update copyright year.
21424         * nss/getent.c: Likewise.
21425         * nss/makedb.c: Likewise.
21426         * iconv/iconvconfig.c: Likewise.
21427         * iconv/iconv_prog.c: Likewise.
21428         * elf/ldconfig.c: Likewise.
21429         * elf/pldd.c: Likewise.
21430         * elf/sotruss.ksh: Likewise.
21431         * catgets/gencat.c: Likewise.
21432         * csu/version.c: Likewise.
21433         * elf/ldd.bash.in: Likewise.
21434         * elf/sprof.c (print_version): Likewise.
21435         * locale/programs/locale.c: Likewise.
21436         * locale/programs/localedef.c: Likewise.
21437         * login/programs/pt_chown.c: Likewise.
21438         * nscd/nscd.c (print_version): Likewise.
21439         * debug/xtrace.sh: Likewise.
21440         * malloc/memusage.sh: Likewise.
21441         * malloc/mtrace.pl: Likewise.
21442         * debug/catchsegv.sh: Likewise.
21444 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21446         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21447         pure attribute.
21449 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21451         [BZ #13533]
21452         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21453         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21454         transformations.
21455         * iconv/gconv_int.h: Likewise.
21456         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21457         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21458         from libc for GLIBC_2.16.
21459         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21460         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21461         * wcsmbs/uchar.h: Really define mbstate_t.
21462         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21463         * wcsmbs/c16rtomb.c: New file.
21464         * wcsmbs/mbrtoc16.c: New file.
21465         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21466         for C/POSIX locale.
21467         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21468         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21470         * wcsmbs/wchar.h: Add missing __restrict.
21472 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21474         [BZ #13532]
21475         * time/Makefile (routines): Add timespec_get.
21476         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21477         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21478         timespec for ISO C11.
21479         * time/timespec_get.c: New file.
21480         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21481         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21483         [BZ #13531]
21484         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21485         * stdlib/stdlib.h: Declare aligned_alloc.
21486         * Versions.def: Add GLIBC_2.16 for libc.
21487         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21489         [BZ 13527]
21490         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21491         ISO C11.
21493         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21494         code.
21496         [BZ #13528]
21497         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21499         [BZ #13529]
21500         * assert/assert.h (static_assert): Define.
21502         * version.h: Update for 2.16 development version.
21504         [BZ #13526]
21505         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21506         _ISOC11_SOURCE.
21508         * version.h (RELEASE): Bump for 2.15 release.
21509         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21511         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21512         Patch by Marek Polacek <mpolacek@redhat.com>.
21514         * bits/byteswap.h: Protect long long constants with __extension__.
21515         * sysdeps/i386/bits/byteswap.h: Likewise.
21516         * sysdeps/ia64/bits/byteswap.h: Likewise.
21517         * sysdeps/s390/bits/byteswap.h: Likewise.
21518         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21520 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21522         [BZ #13540]
21523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21524         destination buffer.
21525         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21527 2011-12-23  Marek Polacek  <polacek@redhat.com>
21529         * elf/dl-addr.c (determine_info): Add inline keyword.
21530         * elf/tst-auditmod4b.c (check_avx): Likewise.
21531         * elf/tst-auditmod6b.c (check_avx): Likewise.
21532         * elf/tst-auditmod6c.c (check_avx): Likewise.
21533         * elf/tst-auditmod7b.c (check_avx): Likewise.
21535 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21537         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21538         !__SSE_MATH__.
21540 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21542         [BZ #13540]
21543         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21544         processing for last bytes.
21546 2011-08-06  Bruno Haible  <bruno@clisp.org>
21548         [BZ #13061]
21549         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21550         U+0385, not to U+1FEE.
21552         [BZ #13062]
21553         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21554         entry for U+00A5 U+0301.
21556 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21558         [BZ #13166]
21559         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21560         buffer for the output is too small.
21562         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21563         optimization.
21565         [BZ #13185]
21566         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21567         SSE flags if possible.
21569 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21571         [BZ #13540]
21572         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21573         processing for last bytes.
21575 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21577         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21578         (syscall-list-default-options, syscall-list-default-condition)
21579         (syscall-list-includes): Define.
21580         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21581         list of ABIs and options and #if conditions for each ABI.  Do not
21582         handle common syscalls between ABIs specially.
21583         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21584         Remove.
21585         (syscall-list-variants, syscall-list-32bit-options)
21586         (syscall-list-32bit-condition, syscall-list-64bit-options)
21587         (syscall-list-64bit-condition): Define.
21588         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21589         (syscall-list-variants, syscall-list-32bit-options)
21590         (syscall-list-32bit-condition, syscall-list-64bit-options)
21591         (syscall-list-64bit-condition): Define.
21592         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21593         Remove.
21594         (syscall-list-variants, syscall-list-32bit-options)
21595         (syscall-list-32bit-condition, syscall-list-64bit-options)
21596         (syscall-list-64bit-condition): Define.
21597         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21598         Remove.
21599         (syscall-list-variants, syscall-list-32bit-options)
21600         (syscall-list-32bit-condition, syscall-list-64bit-options)
21601         (syscall-list-64bit-condition): Define.
21603 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21605         * locale/iso-639.def: Add brx entry.
21607         [BZ #13328]
21608         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21609         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21611         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21612         __feraiseexcept_renamed.
21614 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21616         [BZ #13538]
21617         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21618         EPOLLET with unsigned values.
21619         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21620         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21622         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21623         to large cancellation.
21624         * math/s_cacoshf.c: Likewise.
21625         * math/s_cacoshl.c: Likewise.
21627 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21629         [BZ #13305]
21630         [BZ #12786]
21631         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21632         * math/s_cacoshf.c: Likewise.
21633         * math/s_cacoshl.c: Likewise.
21635 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21637         [BZ #13439]
21638         * iconv/gconv.h: Define __GCONV_SWAP.
21639         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21640         * iconvdata/utf-16.c: Likewise.
21641         * iconvdata/utf-32.c: Likewise.
21643 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21645         [BZ #13524]
21646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21647         numerator after shifting it by one limb.
21649 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21651         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21652         under [__USE_EXTERN_INLINES].
21654 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21656         [BZ #13446]
21657         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21659 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21661         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21662         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21663         optimized code.
21664         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21665         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21666         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21667         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21668         for strncasecmp/strncasecmp_l compilation.
21669         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21670         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21672 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21674         [BZ #13484]
21675         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21676         of __asm__.
21678 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21680         [BZ #13506]
21681         * time/tzfile.c (__tzfile_read): Check values from file header.
21683 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21685         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21686         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21687         * powerpc/powerpc32/dl-start.S: Likewise.
21688         * powerpc/powerpc32/elf/start.S: Likewise.
21689         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21690         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21691         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21692         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21693         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21694         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21695         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21696         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21697         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21698         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21699         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21700         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21701         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21702         * powerpc/powerpc32/memset.S: Likewise.
21703         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21704         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21705         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21706         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21707         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21708         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21709         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21710         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21711         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21712         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21713         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21714         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21715         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21717 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21719         * math/libm-test.inc: Added more nearbyint tests.
21720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21721         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21722         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21725 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21727         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21728         FD_CLOEXEC.
21730 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21732         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21733         Add wcscpy-ssse3 wcscpy-c.
21734         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21735         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21736         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21737         * sysdeps/x86_64/wcschr.S: New file.
21738         * sysdeps/x86_64/wcsrchr.S: New file.
21739         * string/test-strcmp.c: Remove checking of wcscmp function for
21740         wrong alignments.
21741         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21742         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21743         wcsrchr-sse2 wcsrchr-c.
21744         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21745         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21746         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21747         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21748         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21749         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21750         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21751         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21752         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21753         * wcsmbc/wcschr.c (WCSCHR): New macro.
21755 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21757         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21758         * wcsmbs/test-wcsrchr.c: New file.
21759         * string/test-strrchr.c: Add wcsrchr support.
21760         (WIDE): New macro.
21761         * wcsmbs/test-wcscpy.c: New file.
21762         * string/test-strcpy.c: Add wcscpy support.
21763         (WIDE): New macro.
21765 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21768         the inner loop.
21770 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21772         [BZ #13472]
21773         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21775 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21777         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21778         Minor optimizations.
21780         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21781         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21782         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21784 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21786         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21787         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21788         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21789         for gcc to avoid warnings.
21790         * inet/Makefile (tests): Add tst-checks.
21791         * inet/tst-checks.c: New file.
21793         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21794         warning.
21796         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21797         __wmemcmp_sse2.
21799         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21800         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21802         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21804 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21806         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21807         problem.
21809         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21811 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21813         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21814         conditional on GCC version.
21815         (__arch_compare_and_exchange_val_8_acq)
21816         (__arch_compare_and_exchange_val_16_acq)
21817         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21818         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21819         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21821 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21823         * sysdeps/sh/backtrace.c: New file.
21825 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21827         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21828         parenthesis.
21830 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21832         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21833         falling back to utime.
21835 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21837         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21838         expectations for float.
21840 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21842         * locale/weight.h (findidx): Add parameter len.
21843         * locale/weightwc.h (findidx): Likewise.
21844         * posix/fnmatch_loop.c (FCT): Adjust caller.
21845         * posix/regcomp.c (build_equiv_class): Likewise.
21846         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21847         * posix/regexec.c (check_node_accept_bytes): Likewise.
21848         * string/strcoll_l.c (STRCOLL): Likewise.
21849         * string/strxfrm_l.c (STRXFRM): Likewise.
21851 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21853         * Makefile.in: Remove CVSOPT handling.
21854         * configure.in: Remove use of AC_REVISION.
21855         * iconvdata/Makefile (distribute): No need to filter out CVS.
21856         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21857         handling.
21859 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21862         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21863         [USE_AS_STRNCASECMP_L]: Likewise.
21864         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21865         NO_TLS_DIRECT_SEG_REFS.
21866         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21867         Fix argument offsets for non-PIC.
21868         [USE_AS_STRNCASECMP_L]: Likewise.
21869         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21870         NO_TLS_DIRECT_SEG_REFS.
21872 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21874         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21875         O_CLOEXEC.
21876         * locale/loadlocale.c (_nl_load_locale): Likewise.
21878 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21880         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21881         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21882         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21883         (SYSCALL_GETTIME): Set errno on error.
21885         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21886         count references to noai6ai_cached.
21888 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21890         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21892         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21893         FD_CLOEXEC for /proc/self/maps.
21895         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21896         FD_CLOEXEC for /proc/meminfo.
21898         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21899         gai.conf.
21901         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21902         FD_CLOEXEC for given file.
21904         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21906         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21907         FD_CLOEXEC for /etc/hosts.
21908         (_gethtent): Likewise.
21910         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21912         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21913         cancellation and set FD_CLOEXEC for /etc/netgroup.
21915         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21916         reading /etc/publickey.
21918         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21919         allow cancellation when reading /etc/group.
21921         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21922         cancellation.
21923         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21925         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21926         when using data file.
21928         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21930         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21931         (write_nis_obj): Use "c" and "e" in fopen.
21933         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21935         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21937         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21939         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21941         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21942         locale.alias.
21944         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21946         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21948         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21950         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21951         file parsing and set FD_CLOEXEC.
21953 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21955         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21957 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21959         * malloc/arena.c (arena_get2): Don't call reused_arena when
21960         _int_new_arena failed.
21962 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21964         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21965         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21966         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21967         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21968         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21969         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21970         to compile strcasecmp and strncasecmp.
21971         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21972         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21976 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21978         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21979         locale-defines.sym to gen-as-const-headers.
21980         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21981         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21982         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21983         to compile strcasecmp and strncasecmp.
21984         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21985         strcasecmp_l and strncasecmp_l.
21986         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21987         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21988         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21989         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21990         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21991         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21992         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21993         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21994         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21995         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21996         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21998 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22000         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22001         result of SYSDEP_GETTIME_CPU to retval.
22002         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22003         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22005         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22006         variable.
22008         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22009         mantissa words.
22010         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22012         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22013         from unused variable.
22015         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22016         DWARF definitions.
22017         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22018         for assembling.
22020         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22021         over namespaces.
22023         * sunrpc/rpc_prot.c (rejected): Fix case value.
22025         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22026         unsigned long long int to avoid warnings in shift.
22028         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22029         of use of trans.
22030         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22031         variable tmp.
22033         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22034         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22035         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22037         * nis/nis_table.c (nis_list): Use variable of correct type for
22038         result of __follow_path call.
22040 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22042         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22043         of math functions ceil, trunc, floor, round, and sqrt, when
22044         avaliable on the platform.
22045         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22046         name clash.
22047         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22048         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22049         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22051 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22053         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22054         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22056 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22058         * include/unistd.h: Fix __readlink return type.
22059         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22061 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22063         * stdlib/ucontext.h: Undo last change for makecontext.
22065 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22067         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22069         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22070         * setjmp/setjmp.h: Mark functions as non-leaf.
22071         * setjmp/bits/setjmp2.h: Likewise.
22072         * stdlib/ucontext.h: Likewise.
22074 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22076         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22077         (reused_arena): Don't check arena limit.
22078         (arena_get2): Atomically check arena limit.
22080 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22082         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22083         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22085         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22086         instructions.
22088 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22090         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22091         handler when locking.
22093         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22094         Fix size of allocated buffer.
22096 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22098         [BZ #10103]
22099         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22100         declarations for long double functions.
22101         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22103         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22105 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22107         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22108         installed.
22110         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22111         is disabled.
22113 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22115         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22117 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22119         * include/alloca.h (stackinfo_alloca_round): Define.
22120         (extend_alloca): Use it.
22121         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22122         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22123         here.
22125         * scripts/check-local-headers.sh: Ignore libaudit.h.
22127         * nscd/Makefile (extra-objs): Make recursively expanded.
22129 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22131         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22132         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22134         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22135         * posix/tst-rfc3484-2.c: Likewise.
22136         * posix/tst-rfc3484-3.c: Likewise.
22138         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22139         process_vm_writev.
22140         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22141         process_vm_writev.
22142         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22143         process_vm_writev from libc using GLIBC_2.15 version.
22145         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22147 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22149         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22150         stack usage.
22152 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22154         [BZ #13367]
22155         * nss/getent.c (initgroups_keys): Show error message in case no group
22156         names are given.
22158         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22159         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22160         __bump_nl_timestamp.
22161         * nscd/connections (nscd_init): When host database is served open
22162         netlink socket and request notification about configuration changes.
22163         (main_loop_poll): Track netlink file descriptor and bump timestamp
22164         in case data becomes available.
22165         (main_loop_epoll): Likewise.
22166         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22167         (database_pers_head): Add extra_data fileds.
22168         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22169         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22170         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22171         Adjust caller.
22172         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22173         in6ai data, call __free_in6ai.
22174         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22175         Add -DHAVE_NETLINK.
22176         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22177         interface information.  Reuse previous data if netlink timestamp
22178         is not changed.
22179         (__bump_nl_timestamp): New function.
22180         (__free_in6ai): New function.
22182 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22184         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22185         close_not_cancel_no_status here.
22186         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22188 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22190         [BZ #13276]
22191         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22192         return value.
22194         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22195         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22196         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22198 2011-07-03  Andreas Jaeger  <aj@suse.de>
22200         [BZ #10709]
22201         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22202         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22203         * math/libm-test.inc (sin_test): Add test case.
22205 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22207         [BZ #13337]
22208         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22209         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22211         * elf/chroot_canon.c (chroot_canon): Cleanups.
22213         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22215         [BZ #13335]
22216         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22217         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22219         * string/test-strchr.c: Make usable for strchrnul testing.
22220         * string/test-strchrnul.c: New file.
22221         * string/Makefile (strop-tests): Add strchrnul.
22223         * po/it.po: Update from translation team.
22224         * po/es.po: Likewise.
22226 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22228         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22229         the three constants needed as parameters.  Drop the others.
22230         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22231         __m128i_strloadu_tolower.
22232         Create and initialize variable zero and use it in all the places
22233         where _mm_setzero_si128 was used.
22235         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22236         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22237         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22238         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22239         anymore.
22240         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22241         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22242         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22243         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22244         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22245         __mpranred, __mptan.
22246         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22247         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22248         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22249         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22250         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22251         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22252         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22253         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22254         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22256 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22258         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22259         redefine if SHARED.
22260         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22263         wide char related routines to wcsmbs subdir.
22265 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22267         [BZ #13344]
22268         * misc/sys/cdefs.h (__THROWNL): Define.
22269         * posix/unistd.h: Use __THREADNL instead of __THREAD
22270         for memory synchronization functions.
22272 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22274         [BZ #13349]
22275         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22276         doesn't exist.
22277         * manual/stdio.texi (Obstack Streams): Node removed.
22279 2011-10-26  Andreas Schwab  <schwab@redhat.com>
22281         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22282         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22283         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22285         * math/math_private.h (math_force_eval): Allow non-addressable
22286         arguments.
22287         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22289 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22291         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22292         file is not needed.
22294         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22295         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22297         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22299         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22300         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22301         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22302         Add AVX variants.
22303         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22304         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22305         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22306         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22307         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22308         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22309         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22310         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22311         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22312         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22313         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22314         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22315         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22316         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22317         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22318         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22319         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22320         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22321         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22323         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22324         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22326         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22327         place.  Use VEX encoding when compiling for AVX.
22329 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22331         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22332         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22334         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22336 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22338         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22339         useless if() expression.
22340         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22341         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22342         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22345         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22346         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22347         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22348         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22349         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22350         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22351         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22352         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22353         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22354         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22355         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22356         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22357         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22358         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22360         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22362 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22364         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22365         condition.
22366         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22368 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22370         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22371         .text section.  Avoid duplicate constants.
22372         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22374         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22375         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22378         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22379         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22380         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22381         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22382         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22383         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22384         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22385         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22386         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22387         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22388         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22389         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22390         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22392         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22393         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22394         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22395         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22396         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22397         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22398         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22399         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22400         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22401         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22402         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22403         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22404         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22405         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22406         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22407         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22408         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22409         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22410         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22411         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22412         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22413         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22414         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22415         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22416         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22418 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22420         * sysdeps/x86_64/dla.h: Move to ...
22421         * sysdeps/x86_64/fpu/dla.h: ...here.
22422         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22423         situations.  Use __builtin_fma only for gcc 4.6 and up.
22425         * config.make.in: Add have-mfma4 entry.
22426         * configure.in: Substitute libc_cv_cc_fma4.
22427         * math/Makefile (dbl-only-routines): Add sincostab.
22428         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22429         Use __sincostab not sincos.
22430         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22431         name is a macro.
22432         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22436         using __copysign.
22437         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22438         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22439         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22440         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22441         and __inv.
22442         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22443         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22444         __copysign.
22445         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22446         define aliases when function name is a macro.
22447         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22448         sysdeps/ieee754/dbl-64/sincos.tbl.
22449         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22450         fma4-enabled routines.
22451         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22452         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22453         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22454         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22455         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22456         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22458         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22459         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22460         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22461         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22462         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22463         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22464         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22465         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22466         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22467         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22468         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22469         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22470         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22471         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22472         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22473         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22474         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22475         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22476         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22477         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22478         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22479         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22480         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22482         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22483         rename.
22484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22485         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22493 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22495         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22497 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22501         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22502         prediction.
22503         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22505         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22506         Remove unused variable magic_bits.
22507         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22509         * string/strnlen.c: Define and use STRNLEN macro.
22510         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22511         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22512         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22513         * wcsmbs/wcslen.c: Define and use WCSLEN.
22514         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22515         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22516         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22517         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22518         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22519         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22520         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22522 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22525         strnlen-sse2-no-bsf.
22526         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22528         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22529         Add strnlen support.
22530         (USE_AS_STRNLEN): New macro.
22531         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22532         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22533         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22534         * sysdeps/x86_64/wcslen.S: New file.
22536 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22538         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22539         XMM-moves are used for copying on small sizes.
22541 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22543         * wcsmbs/Makefile (strop-tests): Add wcschr.
22544         * wcsmbs/test-wcschr.c: New file.
22545         * string/test-strchr.c: Update.
22546         Add wcschr support.
22547         (WIDE): New macro.
22549 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22551         * wcsmbs/Makefile (strop-tests): Add wcslen.
22552         * wcsmbs/test-wcslen.c: New file.
22553         * string/test-strlen.c: Update.
22554         Add wcslen support.
22555         (WIDE): New macro.
22557 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22559         * po/it.po: Update from translation team.
22561 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22563         * sysdeps/x86_64/wcscmp.S: Update.
22564         Fix wrong comparison semantics.
22565         wcscmp shall use signed comparison not unsigned.
22566         Don't use substraction to avoid overflow bug.
22567         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22568         * wcsmbc/wcscmp.c: Likewise.
22569         * string/test-strcmp.c: Likewise.
22570         Add new tests to check cases with negative values.
22572 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22574         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22575         * sysdeps/x86_64/dla.h: ...here.  New file.
22576         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22578         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22581         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22583         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22586 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22589         __ynl_finite aliases.
22591 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22595         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22596         define DLA_FMA.
22597         [DLA_FMA] (EMULV): Use DLA_FMA.
22598         [DLA_FMA] (MUL12): Use EMULV.
22599         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22600         that are not needed.
22601         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22603         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22604         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22607         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22609 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22611         * math/s_nan.c: Undef __nan.
22612         * math/s_nanf.c: Undef __nanf.
22613         * math/s_nanl.c: Undef __nanl.
22614         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22615         "math_private.h".
22617 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22619         * math/s_catan.c: Add branch predictions.
22620         * math/s_catanf.c: Likewise.
22621         * math/s_catanh.c: Likewise.
22622         * math/s_catanhf.c: Likewise.
22623         * math/s_catanhl.c: Likewise.
22624         * math/s_catanl.c: Likewise.
22625         * math/s_cexp.c: Likewise.
22626         * math/s_cexpf.c: Likewise.
22627         * math/s_cexpl.c: Likewise.
22628         * math/s_clog.c: Likewise.
22629         * math/s_clog10.c: Likewise.
22630         * math/s_clog10f.c: Likewise.
22631         * math/s_clog10l.c: Likewise.
22632         * math/s_clogf.c: Likewise.
22633         * math/s_clogl.c: Likewise.
22634         * math/s_csqrt.c: Likewise.
22635         * math/s_csqrtf.c: Likewise.
22636         * math/s_csqrtl.c: Likewise.
22637         * math/s_ctanf.c: Likewise.
22638         * math/s_ctanh.c: Likewise.
22639         * math/s_ctanhf.c: Likewise.
22640         * math/s_ctanhl.c: Likewise.
22641         * math/s_ctanl.c: Likewise.
22643         * math/math_private.h: Define __nan, __nanf, __nanl.
22644         * math/s_cacosh.c: Include <math_private.h>.
22645         * math/s_cacoshl.c: Likewise.
22646         * math/s_casinh.c: Likewise.
22647         * math/s_casinhf.c: Likewise.
22648         * math/s_casinhl.c: Likewise.
22649         * math/s_ccos.c: Rely entire on ccosh.
22650         * math/s_ccosf.c: Rely entire on ccoshf.
22651         * math/s_ccosl.c: Rely entirely on ccoshl.
22652         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22653         Remove tests for FE_INVALID.
22654         * math/s_ccoshf.c: Likewise.
22655         * math/s_ccoshl.c: Likewise.
22656         * math/s_csin.c: Likewise.
22657         * math/s_csinf.c: Likewise.
22658         * math/s_csinh.c Likewise.
22659         * math/s_csinhf.c: Likewise.
22660         * math/s_csinhl.c: Likewise.
22661         * math/s_csinl.c: Likewise.
22662         * math/s_ctan.c: Likewise.
22663         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22664         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22665         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22667 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22670         compilation problems.
22672         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22673         __builtin_expect.
22675 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22677         * sysdeps/i386/configure.in: Test for -mfma4 option.
22678         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22679         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22680         COMMON_CPUID_INDEX_80000001.
22681         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22682         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22683         use it if FMA3 is not supported.
22684         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22686         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22687         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22689 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22691         [BZ #12892]
22692         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22693         it would create a cycle with a link time dependency.
22695 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22697         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22698         instruction.
22699         * string/Makefile (strop-tests): Add rawmemchr.
22700         * string/test-rawmemchr.c: New file.
22702         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22703         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22704         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22705         when compiling str{,n}casecmp and when AVX is available.  Hook up
22706         new optimized code in initializers.
22708 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22710         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22711         __feraiseexcept instead of feraiseexcept.
22713 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22715         * math/math_private.h: Define defaults for libc_fetestexcept and
22716         libc_feupdateenv.
22717         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22718         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22719         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22720         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22721         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22722         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22723         libc_fetestexcept and libc_feupdateenv.
22725         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22726         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22727         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22728         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22729         libc_feholdexcept_setround.
22731         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22732         Add s_nearbyint-c and s_nearbyintf-c.
22733         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22734         nearbyintf inlines.
22735         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22736         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22737         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22738         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22740         * math/math_private.h: Define defaults for libc_fegetround,
22741         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22742         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22743         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22744         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22745         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22746         standard functions.
22747         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22748         Remove comments and hacks for old compiler versions.
22749         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22750         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22751         libc_feholdexceptl.
22753 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22755         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22756         (__feraiseexcept_renamed): Add __NTH.
22757         (feraiseexcept): Add __NTH.  Rename local variables to fix
22758         namespace violations.
22760 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22762         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22764         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22766         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22767         recently added interfaces.
22768         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22770         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22771         about macro parameter expansion.
22773         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22774         __NO_MATH_INLINES is defined.  Cleanups.
22776         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22777         and __floorf is target has SSE4.1.
22778         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22779         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22780         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22781         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22783         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22784         name.
22785         (floorf): Likewise.
22787         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22789 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22791         * misc/sys/cdefs.h: Fix last change.
22793         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22794         database lookup.
22796 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22798         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22800         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22801         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22806         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22807         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22808         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22809         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22810         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22811         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22812         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22813         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22814         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22815         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22816         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22817         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22818         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22819         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22820         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22821         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22823         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22824         ceil, ceilf, floor, floorf.
22826         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22827         Perform IRELATIVE relocations last.
22829         * elf/do-rel.h: Add another parameter nrelative, replacing the
22830         local variable with the same name.  Change name of the function
22831         to end in Rel or Rela (uppercase).
22832         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22833         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22834         elf_dynamic_do_##reloc function.
22836 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22838         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22839         is sufficient, at least on modern CPUs.
22841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22843         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22844         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22846         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22847         __expl_finite.
22848         * math/bits/math-finite.h: Add entries for exp.
22849         * math/e_expl.c: Add __*_finite alias.
22850         * sysdeps/i386/fpu/e_exp.S: Likewise.
22851         * sysdeps/i386/fpu/e_expf.S: Likewise.
22852         * sysdeps/i386/fpu/e_expl.c: Likewise.
22853         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22854         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22855         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22857         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22858         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22859         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22861         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22862         is sufficient, at least on modern CPUs.
22864         * ctype/ctype-info.c (__ctype_init): Define.
22865         * include/ctype.h (__ctype_init): Declare.
22866         (__ctype_b_loc): The variable is always initialized.
22867         (__ctype_toupper_loc): Likewise.
22868         (__ctype_tolower_loc): Likewise.
22869         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22870         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22872 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22874         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22876         * configure.in: Also look in $cxxmachine/include for C++ system
22877         headers.
22879 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22881         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22882         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22883         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22884         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22885         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22886         (USE_AS_WMEMCMP): New macro.
22887         Fixing indents.
22888         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22889         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22890         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22891         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22893         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22894         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22895         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22896         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22897         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22898         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22899         (USE_AS_WMEMCMP): New macro.
22900         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22901         * sysdeps/string/test-memcmp.c: Update.
22902         Fix simple_wmemcmp.
22903         Add new tests.
22904         * wcsmbs/wmemcmp.c: Update.
22905         (WMEMCMP): New macro.
22906         Fix overflow bug.
22908 2011-10-12  Andreas Jaeger  <aj@suse.de>
22910         [BZ #13268]
22911         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22913 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22915         * libio/iofwide.c (do_length): Avoid warning.
22917         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22919 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22921         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22923         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22924         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22925         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22926         * sysdeps/i386/i686/fpu/e_log.S: New file.
22927         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22928         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22930         * ctype/ctype.h: Add support for inlined isXXX functions when
22931         compiling C++ code.
22933 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22935         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22937         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22939 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22941         [BZ #13291]
22942         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22944 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22946         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22947         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22948         feraiseexcept.
22950         * sysdeps/x86_64/memrchr.S: Check for zero size.
22952         * string/stratcliff.c: Add memrchr tests.
22954 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22956         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22957         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22958         rawmemchr-sse2 rawmemchr-sse2-bsf.
22959         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22960         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22961         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22962         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22963         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22964         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22965         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22966         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22967         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22968         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22969         * string/memrchr.c (MEMRCHR): New macro.
22971 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22973         Add integration with gcc's -ffinite-math-only and optimize wrapper
22974         functions in libm.
22975         * Versions.def: Define GLIBC_2.15 version for libm.
22976         * math/Makefile (headers): Add bits/math-finite.h.
22977         * math/bits/math-finite.h: New file.
22978         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22979         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22980         * math/e_acoshl.c: Add __*_finite alias.
22981         * math/e_acosl.c: Likewise.
22982         * math/e_asinl.c: Likewise.
22983         * math/e_atan2l.c: Likewise.
22984         * math/e_atanhl.c: Likewise.
22985         * math/e_coshl.c: Likewise.
22986         * math/e_exp10.c: Likewise.
22987         * math/e_exp10f.c: Likewise.
22988         * math/e_exp10l.c: Likewise.
22989         * math/e_exp2l.c: Likewise.
22990         * math/e_fmodl.c: Likewise.
22991         * math/e_gammal_r.c: Likewise.
22992         * math/e_hypotl.c: Likewise.
22993         * math/e_j0l.c: Likewise.
22994         * math/e_j1l.c: Likewise.
22995         * math/e_jnl.c: Likewise.
22996         * math/e_lgammal_r.c: Likewise.
22997         * math/e_log10l.c: Likewise.
22998         * math/e_log2l.c: Likewise.
22999         * math/e_logl.c: Likewise.
23000         * math/e_powl.c: Likewise.
23001         * math/e_sinhl.c: Likewise.
23002         * math/e_sqrtl.c: Likewise.
23003         * math/e_scalb.c: Completely rewritten and optimized.
23004         * math/e_scalbf.c: Likewise.
23005         * math/e_scalbl.c: Likewise.
23006         * math/w_acos.c: Likewise.
23007         * math/w_acosf.c: Likewise.
23008         * math/w_acosl.c: Likewise.
23009         * math/w_acosh.c: Likewise.
23010         * math/w_acoshf.c: Likewise.
23011         * math/w_acoshl.c: Likewise.
23012         * math/w_asin.c: Likewise.
23013         * math/w_asinf.c: Likewise.
23014         * math/w_asinl.c: Likewise.
23015         * math/w_atan2.c: Likewise.
23016         * math/w_atan2f.c: Likewise.
23017         * math/w_atan2l.c: Likewise.
23018         * math/w_atanh.c: Likewise.
23019         * math/w_atanhf.c: Likewise.
23020         * math/w_atanhl.c: Likewise.
23021         * math/w_exp10.c: Likewise.
23022         * math/w_exp10f.c: Likewise.
23023         * math/w_exp10l.c: Likewise.
23024         * math/w_fmod.c: Likewise.
23025         * math/w_fmodf.c: Likewise.
23026         * math/w_fmodl.c: Likewise.
23027         * math/w_j0.c: Likewise.
23028         * math/w_j0f.c: Likewise.
23029         * math/w_j0l.c: Likewise.
23030         * math/w_j1.c: Likewise.
23031         * math/w_j1f.c: Likewise.
23032         * math/w_j1l.c: Likewise.
23033         * math/w_jn.c: Likewise.
23034         * math/w_jnf.c: Likewise.
23035         * math/w_log.c: Likewise.
23036         * math/w_logf.c: Likewise.
23037         * math/w_logl.c: Likewise.
23038         * math/w_log10.c: Likewise.
23039         * math/w_log10f.c: Likewise.
23040         * math/w_log10l.c: Likewise.
23041         * math/w_log2.c: Likewise.
23042         * math/w_log2f.c: Likewise.
23043         * math/w_log2l.c: Likewise.
23044         * math/w_pow.c: Likewise.
23045         * math/w_powf.c: Likewise.
23046         * math/w_powl.c: Likewise.
23047         * math/w_remainder.c: Likewise.
23048         * math/w_remainderf.c: Likewise.
23049         * math/w_remainderl.c: Likewise.
23050         * math/w_scalb.c: Likewise.
23051         * math/w_scalbf.c: Likewise.
23052         * math/w_scalbl.c: Likewise.
23053         * math/w_sqrt.c: Likewise.
23054         * math/w_sqrtf.c: Likewise.
23055         * math/w_sqrtl.c: Likewise.
23056         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23057         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23058         used.
23059         * math/math_private.h: Declare __kernel_standard_f.
23060         * math/w_cosh.c: Remove cruft and optimize a bit.
23061         * math/w_coshf.c: Likewise.
23062         * math/w_coshl.c: Likewise.
23063         * math/w_exp2.c: Likewise.
23064         * math/w_exp2f.c: Likewise.
23065         * math/w_exp2l.c: Likewise.
23066         * math/w_hypot.c: Likewise.
23067         * math/w_hypotf.c: Likewise.
23068         * math/w_hypotl.c: Likewise.
23069         * math/w_lgamma.c: Likewise.
23070         * math/w_lgamma_r.c: Likewise.
23071         * math/w_lgammaf.c: Likewise.
23072         * math/w_lgammaf_r.c: Likewise.
23073         * math/w_lgammal.c: Likewise.
23074         * math/w_lgammal_r.c: Likewise.
23075         * math/w_sinh.c: Likewise.
23076         * math/w_sinhf.c: Likewise.
23077         * math/w_sinhl.c: Likewise.
23078         * math/w_tgamma.c: Likewise.
23079         * math/w_tgammaf.c: Likewise.
23080         * math/w_tgammal.c: Likewise.
23081         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23083         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23084         Minor optimizations.  Pretty printing.  Remove cruft.
23085         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23086         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23087         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23088         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23089         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23090         * sysdeps/i386/fpu/e_asin.S: Likewise.
23091         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23092         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23093         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23094         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23095         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23096         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23097         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23098         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23099         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23100         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23101         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23102         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23103         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23104         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23105         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23106         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23107         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23108         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23109         * sysdeps/i386/fpu/e_log.S: Likewise.
23110         * sysdeps/i386/fpu/e_log10.S: Likewise.
23111         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23112         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23113         * sysdeps/i386/fpu/e_log2.S: Likewise.
23114         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23115         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23116         * sysdeps/i386/fpu/e_logf.S: Likewise.
23117         * sysdeps/i386/fpu/e_logl.S: Likewise.
23118         * sysdeps/i386/fpu/e_pow.S: Likewise.
23119         * sysdeps/i386/fpu/e_powf.S: Likewise.
23120         * sysdeps/i386/fpu/e_powl.S: Likewise.
23121         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23122         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23123         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23124         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23125         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23126         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23127         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23128         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23129         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23130         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23131         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23132         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23133         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23134         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23135         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23136         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23137         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23138         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23140         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23141         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23142         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23143         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23144         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23146         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23147         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23148         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23149         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23150         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23151         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23152         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23153         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23154         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23155         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23156         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23157         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23158         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23159         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23160         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23161         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23162         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23163         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23164         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23165         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23166         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23167         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23168         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23169         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23170         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23171         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23172         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23173         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23174         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23175         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23176         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23177         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23178         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23179         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23180         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23181         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23182         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23183         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23184         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23185         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23186         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23187         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23188         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23189         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23190         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23191         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23192         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23193         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23194         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23195         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23197         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23198         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23199         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23200         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23201         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23203         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23204         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23205         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23206         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23207         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23208         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23209         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23210         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23211         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23212         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23213         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23214         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23215         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23216         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23217         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23218         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23219         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23220         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23221         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23222         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23223         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23224         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23225         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23226         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23227         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23228         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23229         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23230         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23231         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23232         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23233         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23234         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23235         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23236         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23237         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23238         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23239         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23240         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23241         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23242         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23243         (__isnanf): Likewise.
23244         (__isinf_ns): Likewise.
23245         (__isinf_nsf): Likewise.
23246         (__finite): Likewise.
23247         (__finitef): Likewise.
23248         (__ieee754_sqrt): Define as macro.
23249         (__ieee754_sqrtf): Define as macro.
23250         (__ieee754_sqrtl): Define as macro.
23251         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23252         inlined copy.
23253         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23254         __FINITE_MATH_ONLY__ consistent.
23255         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23257 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23259         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23260         of rawmemchr.
23262         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23264 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23266         * po/ja.po: Update from translation team.
23268 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23270         * locale/programs/locarchive.c (prepare_address_space): New function.
23271         (create_archive, enlarge_archive, open_archive): Use it.
23273         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23274         inside [SHARED], where it is used.
23276         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23278         * nss/getent.c (netgroup_keys): Remove unused variable.
23279         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23281 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
23283         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23284         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23286         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23287         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23288         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23289         * math/Makefile (libm-calls): Add s_isinf_ns.
23290         * math/divtc3.c: Use __isinf_nsl instead of isinf.
23291         * math/multc3.c: Likewise.
23292         * math/s_casin.c: Likewise.
23293         * math/s_casinf.c: Likewise.
23294         * math/s_casinl.c: Likewise.
23295         * math/s_ccos.c: Likewise.
23296         * math/s_ccosf.c: Likewise.
23297         * math/s_ccosl.c: Likewise.
23298         * math/s_ctan.c: Likewise.
23299         * math/s_ctanf.c: Likewise.
23300         * math/s_ctanh.c: Likewise.
23301         * math/s_ctanhf.c: Likewise.
23302         * math/s_ctanhl.c: Likewise.
23303         * math/s_ctanl.c: Likewise.
23304         * math/w_fmod.c: Likewise.
23305         * math/w_fmodf.c: Likewise.
23306         * math/w_fmodl.c: Likewise.
23307         * math/w_remainder.c: Likewise.
23308         * math/w_remainderf.c: Likewise.
23309         * math/w_remainderl.c: Likewise.
23310         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23311         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23312         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23314         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23315         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23316         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23317         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23319         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23320         of the number.
23321         * stdio-common/printf_fphex.c: Likewise.
23322         * stdio-common/printf_size.c: Likewise.
23324         * math/e_exp10.c: Include math_private.h using <...> not "...".
23325         * math/e_exp10f.c: Likewise.
23326         * math/e_exp10l.c: Likewise.
23327         * math/e_exp2l.c: Likewise.
23328         * math/e_j0l.c: Likewise.
23329         * math/e_j1l.c: Likewise.
23330         * math/e_jnl.c: Likewise.
23331         * math/e_lgammal_r.c: Likewise.
23332         * math/e_rem_pio2l.c: Likewise.
23333         * math/e_scalb.c: Likewise.
23334         * math/e_scalbf.c: Likewise.
23335         * math/e_scalbl.c: Likewise.
23336         * math/k_cosl.c: Likewise.
23337         * math/k_sinl.c: Likewise.
23338         * math/k_tanl.c: Likewise.
23339         * math/s_cacoshf.c: Likewise.
23340         * math/s_catan.c: Likewise.
23341         * math/s_catanf.c: Likewise.
23342         * math/s_catanh.c: Likewise.
23343         * math/s_catanhf.c: Likewise.
23344         * math/s_catanhl.c: Likewise.
23345         * math/s_catanl.c: Likewise.
23346         * math/s_ccosh.c: Likewise.
23347         * math/s_ccoshf.c: Likewise.
23348         * math/s_ccoshl.c: Likewise.
23349         * math/s_cexp.c: Likewise.
23350         * math/s_cexpf.c: Likewise.
23351         * math/s_cexpl.c: Likewise.
23352         * math/s_clog.c: Likewise.
23353         * math/s_clog10.c: Likewise.
23354         * math/s_clog10f.c: Likewise.
23355         * math/s_clog10l.c: Likewise.
23356         * math/s_clogf.c: Likewise.
23357         * math/s_clogl.c: Likewise.
23358         * math/s_csin.c: Likewise.
23359         * math/s_csinf.c: Likewise.
23360         * math/s_csinh.c: Likewise.
23361         * math/s_csinhf.c: Likewise.
23362         * math/s_csinhl.c: Likewise.
23363         * math/s_csinl.c: Likewise.
23364         * math/s_csqrt.c: Likewise.
23365         * math/s_csqrtf.c: Likewise.
23366         * math/s_csqrtl.c: Likewise.
23367         * math/s_ctan.c: Likewise.
23368         * math/s_ctanf.c: Likewise.
23369         * math/s_ctanh.c: Likewise.
23370         * math/s_ctanhf.c: Likewise.
23371         * math/s_ctanhl.c: Likewise.
23372         * math/s_ctanl.c: Likewise.
23373         * math/s_ldexp.c: Likewise.
23374         * math/s_ldexpf.c: Likewise.
23375         * math/s_ldexpl.c: Likewise.
23376         * math/s_significand.c: Likewise.
23377         * math/s_significandf.c: Likewise.
23378         * math/s_significandl.c: Likewise.
23379         * math/w_acos.c: Likewise.
23380         * math/w_acosf.c: Likewise.
23381         * math/w_acosh.c: Likewise.
23382         * math/w_acoshf.c: Likewise.
23383         * math/w_acoshl.c: Likewise.
23384         * math/w_acosl.c: Likewise.
23385         * math/w_asin.c: Likewise.
23386         * math/w_asinf.c: Likewise.
23387         * math/w_asinl.c: Likewise.
23388         * math/w_atan2.c: Likewise.
23389         * math/w_atan2f.c: Likewise.
23390         * math/w_atan2l.c: Likewise.
23391         * math/w_atanh.c: Likewise.
23392         * math/w_atanhf.c: Likewise.
23393         * math/w_atanhl.c: Likewise.
23394         * math/w_cosh.c: Likewise.
23395         * math/w_coshf.c: Likewise.
23396         * math/w_coshl.c: Likewise.
23397         * math/w_dremf.c: Likewise.
23398         * math/w_exp10.c: Likewise.
23399         * math/w_exp10f.c: Likewise.
23400         * math/w_exp10l.c: Likewise.
23401         * math/w_exp2.c: Likewise.
23402         * math/w_exp2f.c: Likewise.
23403         * math/w_fmod.c: Likewise.
23404         * math/w_fmodf.c: Likewise.
23405         * math/w_fmodl.c: Likewise.
23406         * math/w_hypot.c: Likewise.
23407         * math/w_hypotf.c: Likewise.
23408         * math/w_hypotl.c: Likewise.
23409         * math/w_j0.c: Likewise.
23410         * math/w_j0f.c: Likewise.
23411         * math/w_j0l.c: Likewise.
23412         * math/w_j1.c: Likewise.
23413         * math/w_j1f.c: Likewise.
23414         * math/w_j1l.c: Likewise.
23415         * math/w_jn.c: Likewise.
23416         * math/w_jnf.c: Likewise.
23417         * math/w_jnl.c: Likewise.
23418         * math/w_lgamma.c: Likewise.
23419         * math/w_lgamma_r.c: Likewise.
23420         * math/w_lgammaf.c: Likewise.
23421         * math/w_lgammaf_r.c: Likewise.
23422         * math/w_lgammal.c: Likewise.
23423         * math/w_lgammal_r.c: Likewise.
23424         * math/w_log.c: Likewise.
23425         * math/w_log10.c: Likewise.
23426         * math/w_log10f.c: Likewise.
23427         * math/w_log10l.c: Likewise.
23428         * math/w_log2.c: Likewise.
23429         * math/w_log2f.c: Likewise.
23430         * math/w_log2l.c: Likewise.
23431         * math/w_logf.c: Likewise.
23432         * math/w_logl.c: Likewise.
23433         * math/w_pow.c: Likewise.
23434         * math/w_powf.c: Likewise.
23435         * math/w_powl.c: Likewise.
23436         * math/w_remainder.c: Likewise.
23437         * math/w_remainderf.c: Likewise.
23438         * math/w_remainderl.c: Likewise.
23439         * math/w_scalb.c: Likewise.
23440         * math/w_scalbf.c: Likewise.
23441         * math/w_scalbl.c: Likewise.
23442         * math/w_sinh.c: Likewise.
23443         * math/w_sinhf.c: Likewise.
23444         * math/w_sinhl.c: Likewise.
23445         * math/w_sqrt.c: Likewise.
23446         * math/w_sqrtf.c: Likewise.
23447         * math/w_sqrtl.c: Likewise.
23448         * math/w_tgamma.c: Likewise.
23449         * math/w_tgammaf.c: Likewise.
23450         * math/w_tgammal.c: Likewise.
23452         * po/ja.po: Update from translation team.
23454 2011-09-29  Andreas Jaeger  <aj@suse.de>
23456         [BZ #13179]
23457         * sunrpc/netname.c (netname2host): Fix logic.
23459         [BZ #6779]
23460         [BZ #6783]
23461         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23462         correctly.
23463         * math/w_remainder.c (__remainder): Likewise.
23464         * math/w_remainderf.c (__remainderf): Likewise.
23465         * math/libm-test.inc (remainder_test): Add test cases.
23467 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23469         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23470         sdiv_qrnnd.
23472 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23474         * string/test-memcmp.c: Avoid unncessary #defines.
23475         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23477 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23479         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23480         Use new sse2 version for core i3 - i7 as it's faster
23481         than sse42 version.
23482         (bit_Prefer_PMINUB_for_stringop): New.
23483         * sysdeps/x86_64/rawmemchr.S: Update.
23484         Replace with faster SSE2 version.
23485         * sysdeps/x86_64/memrchr.S: New file.
23486         * sysdeps/x86_64/memchr.S: Update.
23487         Replace with faster SSE2 version.
23489 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23491         * elf/dl-load.c (lose): Add cast to avoid warning.
23493 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23495         * po/ca.po: Update from translation team.
23497         * inet/getnetgrent_r.c: Hook up nscd.
23498         * nscd/Makefile (routines): Add nscd_netgroup.
23499         (nscd-modules): Add netgroupcache.
23500         (CFLAGS-netgroupcache.c): Define.
23501         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23502         (cache_search): Add const to second parameter.
23503         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23504         INNETGR.
23505         (dbs): Add netgrdb entry.
23506         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23507         (verify_persistent_db): Handle netgrdb.
23508         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23509         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23510         GETFDNETGR.
23511         (netgroup_response_header): Define.
23512         (innetgroup_response_header): Define.
23513         (datahead): Add netgroup_response_header and innetgroup_response_header
23514         elements.
23515         * nscd/nscd.conf: Add entries for netgroup cache.
23516         * nscd/nscd.h (dbtype): Add netgrdb.
23517         (_PATH_NSCD_NETGROUP_DB): Define.
23518         (netgroup_iov_disabled): Declare.
23519         (xmalloc, xcalloc, xrealloc): Move declarations here.
23520         (cache_search): Adjust prototype.
23521         Add netgroup-related prototypes.
23522         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23523         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23524         (__nscd_innetgr): Declare.
23525         * nscd/selinux.c (perms): Use access_vector_t as element type and
23526         add netgroup-related initializers.
23527         * nscd/netgroupcache.c: New file.
23528         * nscd/nscd_netgroup.c: New file.
23529         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23530         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23531         For four parameters use innetgr.
23532         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23533         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23534         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23535         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23537         * nscd/connections.c (register_traced_file): Don't register file
23538         for disabled databases.
23540 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23542         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23544         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23545         from tree and freeing node.
23547 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23549         * nss/nsswitch.c (__nss_database_lookup): Handle
23550         nss_parse_service_list out of memory case.
23552 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23554         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23555         out of memory case.
23557 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23559         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23560         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23561         pass it down.
23562         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23563         elf_machine_rela, elf_machine_lazy_rel.
23564         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23565         (ELF_DYNAMIC_DO_REL): Likewise.
23566         (ELF_DYNAMIC_DO_RELA): Likewise.
23567         (ELF_DYNAMIC_RELOCATE): Likewise.
23568         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23569         to ELF_DYNAMIC_DO_REL.
23570         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23571         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23572         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23573         elf_machine_rela.
23574         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23575         skip_ifunc, don't call ifunc function if non-zero.
23576         (elf_machine_rela): Likewise.
23577         (elf_machine_lazy_rel): Likewise.
23578         (elf_machine_lazy_rela): Likewise.
23579         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23580         (elf_machine_lazy_rel): Likewise.
23581         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23582         Likewise.
23583         (elf_machine_lazy_rel): Likewise.
23584         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23585         Likewise.
23586         (elf_machine_lazy_rel): Likewise.
23587         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23588         (elf_machine_lazy_rel): Likewise.
23589         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23590         (elf_machine_lazy_rel): Likewise.
23591         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23592         (elf_machine_lazy_rel): Likewise.
23593         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23594         (elf_machine_lazy_rel): Likewise.
23595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23596         (elf_machine_lazy_rel): Likewise.
23597         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23598         (elf_machine_lazy_rel): Likewise.
23600 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23602         * nss/nss_files/files-init.c (_nss_files_init): Use static
23603         initialization for all the *_traced_file variables.
23605 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23607         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23609 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23611         [BZ #13226]
23612         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23614 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23617         Reread the line before reparsing it.
23619 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23621         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23623 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23624             Maxim Kuvyrkov  <maxim@codesourcery.com>
23625             Joseph Myers  <joseph@codesourcery.com>
23627         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23628         if needed for __stack_chk_guard.
23630 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23632         * sysdeps/posix/spawni.c (script_execute): Always define it.
23633         It will be optimized away if unused.
23634         (maybe_script_execute): New function.
23635         (__spawni): Call it.
23637         * Makerules: Don't include tls.make.
23638         (config-tls): Always set to thread.
23639         * tls.make.c: File removed.
23641 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23643         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23644         * config.make.in (CPPFLAGS-config): New substituted variable.
23646 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23648         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23650         [BZ #13192]
23651         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23652         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23654 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23656         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23657         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23658         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23659         (CALL_FAIL): Likewise.
23660         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23661         (CALL_FAIL): Macro removed.
23662         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23664 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23666         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23667         for __FINITE_MATH_ONLY__ == 1.
23669 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23671         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23672         __ieee754_sqrt instead of sqrt.
23673         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23674         __ieee754_sqrtf instead of sqrtf.
23675         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23676         __floorf instead of floorf.
23677         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23678         __floorf, __truncf instead of floorf, truncf.
23680 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23682         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23684         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23685         __extern_always_inline.
23686         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23687         32-bit.
23689 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23691         * elf/rtld.c (dl_main): Also relocate in dependency order when
23692         doing symbol dependency testing.
23694 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23697         Always define `refsym'.
23699 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23701         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23702         (__FD_ELT): Renamed from __FDELT.
23703         * misc/bits/select2.h (__FD_ELT): Likewise.
23704         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23705         __FD_MASK instead of __FDELT, __FDMASK.
23706         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23707         Likewise.
23708         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23709         Likewise.
23711         * elf/Makefile (gen-ldd): Fix pattern.
23713         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23714         (init_tls): Likewise.
23716 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23718         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23720 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23722         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23723         `struct cmsghdr *' instead of `void *'.
23724         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23725         Likewise.
23727 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23729         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23730         if non-absolute.
23731         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23732         ldd_rewrite_script.
23734 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23736         * configure.in: Remove --with-tls option.
23737         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23738         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23739         out in case it is missing.
23740         * sysdeps/ia64/elf/configure.in: Likewise.
23741         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23742         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23743         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23744         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23745         * sysdeps/sh/elf/configure.in: Likewise.
23746         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23747         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23748         * sysdeps/x86_64/elf/configure.in: Likewise.
23749         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23750         * sysdeps/mach/hurd/tls.h: Likewise.
23752         [BZ #13067]
23753         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23755         [BZ #13090]
23756         * configure.in: Fix use of AC_INIT.
23758         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23760 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23762         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23763         __set_errno.
23764         * malloc/hooks.c: Likewise.
23766         [BZ #11929]
23767         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23768         variables statically.
23769         (narenas): Initialize.
23770         (list_lock): Initialize.
23771         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23772         initializtion of main_arena and list_lock.  Small cleanups.
23773         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23774         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23775         Add initializers to main_arena and mp_.
23776         (malloc_state): Remove pagesize member.  Change all users to use
23777         GLRO(dl_pagesize).
23779         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23780         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23781         is always initialized.
23783         * malloc/malloc.c: Removed unused configurations and dead code.
23784         * malloc/arena.c: Likewise.
23785         * malloc/hooks.c: Likewise.
23786         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23788         * include/tls.h: Removed.  USE___THREAD must always be defined.
23789         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23790         * elf/dl-libc.c: Likewise.
23791         * elf/dl-tsd.c: Likewise.
23792         * include/errno.h: Likewise.
23793         * include/netdb.h: Likewise.
23794         * include/resolv.h: Likewise.
23795         * inet/herrno-loc.c: Likewise.
23796         * inet/herrno.c: Likewise.
23797         * malloc/arena.c: Likewise.
23798         * malloc/hooks.c: Likewise.
23799         * malloc/malloc.c: Likewise.
23800         * resolv/res-state.c: Likewise.
23801         * resolv/res_libc.c: Likewise.
23802         * sysdeps/i386/dl-machine.h: Likewise.
23803         * sysdeps/ia64/dl-machine.h: Likewise.
23804         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23805         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23806         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23807         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23808         * sysdeps/sh/dl-machine.h: Likewise.
23809         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23810         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23811         * sysdeps/unix/i386/sysdep.S: Likewise.
23812         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23813         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23815         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23817         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23818         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23819         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23822         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23823         * sysdeps/x86_64/dl-machine.h: Likewise.
23824         * tls.make.c: Likewise.
23826         * configure.in: Remove --with-__thread option.  Make tests for
23827         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23828         tls_model attribute fail if no support is available.  Remove
23829         USE_IN_LIBIO.
23830         * Makeconfig: Adjust for dropped configure option.  All features are
23831         now mandatory.
23832         * Makerules: Likewise.
23833         * Versions.def: Likewise.
23834         * argp/argp-fmtstream.c: Likewise.
23835         * argp/argp-fmtstream.h: Likewise.
23836         * argp/argp-help.c: Likewise.
23837         * assert/assert.c: Likewise.
23838         * config.h.in: Likewise.
23839         * config.make.in: Likewise.
23840         * configure: Likewise.
23841         * configure.in: Likewise.
23842         * csu/Versions: Likewise.
23843         * csu/init.c: Likewise.
23844         * elf/tst-audit2.c: Likewise.
23845         * elf/tst-tls10.c: Likewise.
23846         * elf/tst-tls10.h: Likewise.
23847         * elf/tst-tls11.c: Likewise.
23848         * elf/tst-tls12.c: Likewise.
23849         * elf/tst-tls14.c: Likewise.
23850         * elf/tst-tlsmod11.c: Likewise.
23851         * elf/tst-tlsmod12.c: Likewise.
23852         * elf/tst-tlsmod13.c: Likewise.
23853         * elf/tst-tlsmod13a.c: Likewise.
23854         * elf/tst-tlsmod14a.c: Likewise.
23855         * elf/tst-tlsmod15b.c: Likewise.
23856         * elf/tst-tlsmod16a.c: Likewise.
23857         * elf/tst-tlsmod16b.c: Likewise.
23858         * elf/tst-tlsmod7.c: Likewise.
23859         * elf/tst-tlsmod8.c: Likewise.
23860         * elf/tst-tlsmod9.c: Likewise.
23861         * gmon/gmon.c: Likewise.
23862         * grp/fgetgrent_r.c: Likewise.
23863         * grp/putgrent.c: Likewise.
23864         * hurd/fopenport.c: Likewise.
23865         * include/libc-symbols.h: Likewise.
23866         * include/tls.h: Likewise.
23867         * intl/gettextP.h: Likewise.
23868         * intl/loadinfo.h: Likewise.
23869         * locale/global-locale.c: Likewise.
23870         * locale/localeinfo.h: Likewise.
23871         * mach/devstream.c: Likewise.
23872         * malloc/arena.c: Likewise.
23873         * malloc/set-freeres.c: Likewise.
23874         * misc/err.c: Likewise.
23875         * misc/getttyent.c: Likewise.
23876         * misc/mntent_r.c: Likewise.
23877         * posix/getopt.c: Likewise.
23878         * posix/wordexp.c: Likewise.
23879         * pwd/fgetpwent_r.c: Likewise.
23880         * resolv/Versions: Likewise.
23881         * resolv/res_hconf.c: Likewise.
23882         * shadow/fgetspent_r.c: Likewise.
23883         * shadow/putspent.c: Likewise.
23884         * stdio-common/printf_fphex.c: Likewise.
23885         * stdio-common/tmpfile.c: Likewise.
23886         * stdlib/abort.c: Likewise.
23887         * stdlib/fmtmsg.c: Likewise.
23888         * sunrpc/auth_unix.c: Likewise.
23889         * sunrpc/clnt_perr.c: Likewise.
23890         * sunrpc/clnt_tcp.c: Likewise.
23891         * sunrpc/clnt_udp.c: Likewise.
23892         * sunrpc/clnt_unix.c: Likewise.
23893         * sunrpc/openchild.c: Likewise.
23894         * sunrpc/svc_simple.c: Likewise.
23895         * sunrpc/svc_tcp.c: Likewise.
23896         * sunrpc/svc_udp.c: Likewise.
23897         * sunrpc/svc_unix.c: Likewise.
23898         * sunrpc/xdr.c: Likewise.
23899         * sunrpc/xdr_array.c: Likewise.
23900         * sunrpc/xdr_rec.c: Likewise.
23901         * sunrpc/xdr_ref.c: Likewise.
23902         * sunrpc/xdr_stdio.c: Likewise.
23904 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23906         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23908 2011-07-03  Andreas Jaeger  <aj@suse.de>
23910         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23911         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23912         regenerate with gen-libm-tests.pl.
23914 2010-05-12  Petr Baudis  <pasky@suse.cz>
23916         [BZ #11589]
23917         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23918         around j0() zero points by switching to j1().
23919         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23920         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23922         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23924 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23926         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23927         instead of 0.
23928         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23929         instead of 0.
23930         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23931         Patch in part by Pavel Roskin <proski@gnu.org>.
23933         [BZ #13138]
23934         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23935         realloc.
23936         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23937         Free memory block if necessary.
23939         [BZ #12847]
23940         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23941         be NULL.  Don't lock in this case.
23943 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23945         * elf/elf.h (ELFOSABI_GNU): New macro.
23946         (ELFOSABI_LINUX): Define to that.
23948 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23950         * string/strncat.c (strncat): Undef the symbol in case it has been
23951         defined in bits/string.h.
23953 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23955         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23957         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23958         link map.
23960 2011-08-17  Andreas Jaeger  <aj@suse.de>
23962         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23964 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23965             Ian Lance Taylor  <iant@google.com>
23967         * math/libm-test.inc (lround_test): New testcase.
23968         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23970 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23972         * Makefile: Remove support for automatic cvs check-ins.
23973         * Makerules: Likewise.
23974         * config.make.in: Likewise.
23975         * configure.in: Likewise.
23976         * intl/Makefile: Likewise.
23977         * locale/Makefile: Likewise.
23978         * po/Makefile: Likewise.
23979         * posix/Makefile: Likewise.
23980         * sysdeps/gnu/Makefile: Likewise.
23981         * sysdeps/mach/hurd/Makefile: Likewise.
23982         * sysdeps/sparc/sparc32/Makefile: Likewise.
23984         [BZ #13118]
23985         * posix/Makefile (bug-regex32-ENV): Define.
23986         Patch by John Stanley <jpsinthemix@verizon.net>.
23988         * misc/Makefile (headers): Add bits/select2.h.
23989         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23990         * misc/bits/select2.h: New file.
23991         * include/bits/select2.h: New file.
23992         * debug/Makefile (routines): Add fdelt_chk.
23993         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23994         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23995         FD_ISSET.
23996         * debug/fdelt_chk.c: New file.
23998         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23999         * wcsmbs/test-wmemcmp.c: Likewise.
24000         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24001         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24003 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24005         * string/Makefile (strop-tests): Add memcmp.
24006         * string/test-wmemcmp.c: New file.
24007         * string/test-memcmp.c: Add wmemcmp support.
24009 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24011         [BZ #13153]
24012         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24013         2011-07-19 change.
24015         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24016         garbage value in a __mach_port_mod_refs call in the cases of the
24017         task-self and thread-self ports.
24019 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24021         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24023 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24025         * elf/dl-load.c (lose): Check for non-null L.
24027 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24029         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24031         * elf/dl-libc.c (dlerror_run): Pass back error code from
24032         dl_catch_error.
24034         [BZ #13123]
24035         * elf/dl-load.c (lose): Free l_origin if it is valid.
24037         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24038         names.
24039         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24040         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24041         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24042         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24043         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24044         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24046 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24048         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24049         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24050         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24051         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24052         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24053         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24054         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24055         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24056         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24057         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24059 2011-08-15  Alan Modra  <amodra@gmail.com>
24061         [BZ #13092]
24062         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24063         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24064         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24065         ppc_mcount to static-only-routines.
24066         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24067         __mcount_internal.
24068         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24069         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24071 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24073         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24074         for finite and infinity parameters.
24076 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24078         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24079         and add nop instructions for throughput optimization.
24080         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24082 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24084         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24085         aligned copy for power7 with vector-scalar instructions.
24086         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24088 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24091         AVX check.
24093 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24095         [BZ #13144]
24096         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24097         last change.
24099 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24101         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24102         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24103         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24104         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24105         clock_gettime.
24107 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24109         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24110         Forgot to demangle the pointer.
24112         * sysdeps/i386/sysdep.h: Define atom_text_section.
24113         * sysdeps/x86_64/sysdep.h: Likewise.
24114         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24115         section with atom_text_section.
24116         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24117         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24118         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24119         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24120         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24122         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24123         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24124         already be defined.  Change to take two parameters and don't assign
24125         result to variable.  Adjust all users.
24126         Define INTERNAL_GETTIME if not already defined.
24127         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24128         call.
24129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24130         HAVE_CLOCK_GETTIME_VSYSCALL.
24131         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24133         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24134         gettimeofday vsyscall, just use time.
24136 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24138         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24139         <errno.h>.
24141 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24143         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24144         syscall on x86-64.
24145         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24146         syscall.
24147         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24148         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24149         syscall if possible.
24151 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24153         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24154         e_ident.  Don't pass to find_mapsXX.
24155         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24157 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24160         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24161         * sysdeps/x86_64/multiarch/strchr.S: Update.
24162         Check bit_slow_BSF bit.
24163         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24164         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24165         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24167 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24169         [BZ #13134]
24170         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24171         before glibc 2.15.
24172         (tryshell): Define.
24173         (__spawni): Change last parameter to be flag.  Test
24174         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24175         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24176         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24177         * posix/spawni.c: Likewise.
24178         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24179         * posix/spawnp.c: Likewise.  Change normal version to use
24180         SPAWN_XFLAGS_USE_PATH.
24181         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24182         SPAWN_XFLAGS_TRY_SHELL.
24184         [BZ #13150]
24185         * posix/glob.h: Remove gcc 1.x support.
24187         [BZ #13068]
24188         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24190 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24192         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24193         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24194         strrchr-sse2-bsf
24195         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24196         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24197         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24198         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24199         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24200         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24202 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24204         * sysdeps/x86_64/wcscmp.S: New file.
24206         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24207         wcscmp-c wcscmp-sse2
24208         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24209         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24210         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24211         * wcsmbs/wcscmp.c: Allow renaming.
24213 2011-09-05  David S. Miller  <davem@davemloft.net>
24215         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24216         stack slot, rather than the struct return pointer slot.
24217         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24218         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24220         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24222 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24224         * po/ja.po: Update from translation team.
24226         [BZ #13144]
24227         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24228         kernel in 64-bit binaries.
24230 2011-09-01  David S. Miller  <davem@davemloft.net>
24232         * elf/elf.h (HWCAP_SPARC_*): Move to..
24233         * sysdeps/sparc/sysdep.h: this new file and add new values.
24234         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24235         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24236         _DL_HWCAP_COUNT to 24.
24237         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24238         entries.
24239         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24240         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24241         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24242         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24243         instead of magic constants.
24244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24246 2011-08-31  David S. Miller  <davem@davemloft.net>
24248         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24250         Reimplement to do errno handling inline.
24251         (SYSCALL_ERROR_HANDLER): New macro.
24252         (__SYSCALL_STRING): Do not do errno handling in asm.
24253         (__CLONE_SYSCALL_STRING): Delete.
24254         (__INTERNAL_SYSCALL_STRING): Delete.
24255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24256         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24257         (PSEUDO): Reimplement to do errno handling inline.
24258         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24259         (SYSCALL_ERROR_HANDLER): New macro.
24260         (__SYSCALL_STRING): Do not do errno handling in asm.
24261         (__CLONE_SYSCALL_STRING): Delete.
24262         (__INTERNAL_SYSCALL_STRING): Delete.
24263         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24264         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24265         i386.
24266         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24267         (inline_syscall*): Add 'err' argument.
24268         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24269         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24270         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24271         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24273         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24274         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24276 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24278         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24280 2011-08-29  Jiri Olsa <jolsa@redhat.com>
24282         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24283         directive.
24285 2011-08-24  David S. Miller  <davem@davemloft.net>
24287         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24289 2011-08-24  Andreas Schwab  <schwab@redhat.com>
24291         * elf/Makefile: Add rules to build and run unload8 test.
24292         * elf/unload8.c: New file.
24293         * elf/unload8mod1.c: New file.
24294         * elf/unload8mod1x.c: New file.
24295         * elf/unload8mod2.c: New file.
24296         * elf/unload8mod3.c: New file.
24298         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24299         it wasn't used.
24301 2011-08-23  David S. Miller  <davem@davemloft.net>
24303         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24304         subtract stack bias.
24305         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24306         %sp not %fp in calculations.
24307         (_JMPBUF_UNWINDS_ADJ): Likewise.
24309         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24310         (aio_suspend): Call it to force an exception region around the
24311         AIO_MISC_WAIT() invocation.
24313 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24315         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24316         backslash.
24318 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24320         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24321         protection macro.
24322         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24323         and <dl-machine.h>.
24324         (Elf64_FuncDesc): Remove.
24326 2011-08-22  David S. Miller  <davem@davemloft.net>
24328         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24329         sigaltstack check, add missing cfi directives.
24330         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24331         missing cfi directives, and sigaltstack handling.
24333 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24335         [BZ #11724]
24336         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24337         object is seen twice.
24338         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24340         * elf/Makefile (distribute): Add tst-initorder2.c.
24341         (tests): Add tst-initorder2.
24342         (modules-names): Add tst-initorder2a tst-initorder2b
24343         tst-initorder2c tst-initorder2d.  Add rules to build them.
24344         ($(objpfx)tst-initorder2.out): New rule.
24345         * elf/tst-initorder2.c: New file.
24346         * elf/tst-initorder2.exp: New file.
24348 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24350         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24352         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24353         dependencies back to end of function.
24355         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24356         $(elfobjdir)/ld.so.
24358 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24361         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24362         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24363         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24364         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24365         of __vdso_gettimeofday.
24366         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24367         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24368         attribute_hidden.
24369         (_libc_vdso_platform_setup): Remove initialization of
24370         __vdso_gettimeofday and __vdso_time.
24372 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24374         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24375         and fgetc_unlocked.
24376         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24377         getc_unlocked.
24379         * elf/dl-open.c (add_to_global): Report additions to the global scope
24380         for LD_DEBUG=scopes.
24381         (dl_open_worker): Also print scope of newly loaded dependencies.
24382         (_dl_show_scope): Indicate if there is no scope.
24384         [BZ #13114]
24385         * stdio-common/Makefile (tests): Add bug24.
24386         * stdio-common/bug24.c: New file.
24388 2011-08-19  Andreas Jaeger  <aj@suse.de>
24390         [BZ #13114]
24391         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24392         non-existant file when using close-on-exec mode.
24394 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24397         the very first instruction.
24399         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24400         the CFI state in the end.
24401         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24402         inclusion of dl-trampoline.h.
24403         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24405 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24407         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24408         expectations for long double.
24410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24411         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24413 2011-08-14  David S. Miller  <davem@davemloft.net>
24415         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24416         artificual limit depends upon the system page size.
24418 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24420         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24421         * resolv/Makefile: Define CFLAGS-libresolv.
24423 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24425         * nss/makedb.c (compute_tables): Make variables used in nested
24426         function static.
24428 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24430         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24431         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24432         if buffer was too small.
24434         * elf/pldd.c (main): Attach to all threads in the process.
24435         Rewrite /proc handling to use *at functions.
24437 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24439         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24440         specifies first scope to show.
24441         (dl_open_worker): Update callers.  Move printing scope of new
24442         object to before the relocation.
24443         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24444         * sysdeps/generic/ldsodefs.h: Update declaration.
24446         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24447         string for the scope number.
24449 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24451         * nscd/servicescache.c (cache_addserv): Make sure written is always
24452         initialized.
24454 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24456         * sysdeps/i386/i486/bits/atomic.h
24457         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24458         statement expression, so as to suppress "set but not used" warning.
24459         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24461         * string/strncat.c (STRNCAT): Use prototype definition.
24463         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24464         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24465         -Iprograms here.
24466         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24467         (localedef-modules): Add localedef.
24468         (locale-modules): Add locale.
24470         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24471         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24472         to avoid a warning.
24474 2011-08-14  David S. Miller  <davem@davemloft.net>
24476         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24477         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24479 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24481         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24482         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24483         * elf/rtld.c (dl_main): Set l_name of vDSO.
24484         Call _dl_show_scope when DL_DEBUG_SCOPES.
24485         (process_dl_debug): Recognize scopes flag and also set it for all.
24486         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24487         Declare _dl_show_scope.
24489         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24490         (do_dlopen): Pass caller_dlopen to dl_open.
24491         (__libc_dlopen_mode): Initialize caller_dlopen.
24493         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24494         of libc.  Make tolower call locale-independent.  Optimize a bit by
24495         using isdigit instead of isalnum.
24496         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24498 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24500         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24501         was a dependency or dynamically loaded.
24503 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24505         * intl/l10nflist.c: Allow architecture-specific pop function.
24506         * sysdeps/x86_64/l10nflist.c: New file.
24508         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24509         classification.
24511 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24513         * include/dirent.h: Add libc_hidden_proto for scandirat and
24514         scandirat64.  Don't declare __scandirat64.
24515         * dirent/scandirat.c: Add libc_hidden_def.
24516         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24517         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24519 2011-08-10  David S. Miller  <davem@davemloft.net>
24521         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24522         enum.
24523         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24524         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24525         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24527 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24529         * Versions.def [libc]: Add GLIBC_2.15.
24530         * dirent/Makefile (routines): Add scandirat and scandirat64.
24531         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24532         GLIBC_2.15.
24533         * dirent/dirent.h: Declare scandirat and scandirat64.
24534         * dirent/scandirat.c: New file.
24535         * dirent/scandirat64.c: New file.
24536         * sysdeps/wordsize-64/scandirat.c: New file.
24537         * sysdeps/wordsize-64/scandirat64.c: New file.
24538         * dirent/opendir.c: Define opendirat.
24539         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24540         using scandirat.
24541         * dirent/scandir64.c: Adjust for scandir.c change.
24542         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24543         __scandirat64, and __scandir_cancel_handler.
24544         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24545         additional parameter and use openat instead of open (outside of ld.so).
24546         Add new __opendir as wrapper around __opendirat.
24547         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24548         here without requiring old scandirat implementation.
24550 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24552         * dirent/scandir.c (cancel_handler): Renamed to
24553         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24554         defined.  Adjust users.
24555         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24556         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24558 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24560         * string/test-string.h (IMPL): Use __STRING to expand name and then
24561         stringify it.
24563         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24564         of cleanups.
24566 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24568         * string/Makefile: Update.
24569         (strop-tests): Append strncat.
24570         * string/test-wcscmp.c: New file.
24571         New comprehensive test for wcscmp.
24572         * string/test-strcmp.c: Update.
24573         (WIDE): New define.
24575 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24577         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24578         line.
24580 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24583         encoding to ACE if AI_IDN.
24585 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24587         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24588         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24590 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24592         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24593         Fix overflow bug in strncat.
24594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24596         * string/test-strncat.c: Update.
24597         Add new tests for checking overflow bugs.
24599 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24602         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24603         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24604         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24605         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24606         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24607         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24608         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24609         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24612         (USE_AS_STRCAT): Define.
24613         Add strcat and strncat support.
24614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24616 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24618         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24619         __n bigger than INT_MAX+1.
24620         (__strncmp_g): Likewise.
24622 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24624         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24625         * libio/stido.h: Likewise.
24627         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24628         (AF_NFC): Define.
24629         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24630         (AF_NFC): Define.
24632         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24634         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24635         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24636         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24638         [BZ #13021]
24639         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24640         installed.
24642         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24643         typo.
24644         (_dl_x86_64_save_sse): Likewise.
24646 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24649         OSXSAVE.
24650         (_dl_x86_64_save_sse): Likewise.
24652         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24654         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24656 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24658         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24659         change.
24660         (_dl_x86_64_save_sse): Use correct AVX check.
24662 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24664         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24665         bug in strncpy/strncat.
24666         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24668 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24670         * string/tester.c (test_strcat): Add tests for different alignments
24671         of source and destination.
24672         (test_strncat): Likewise.
24674 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24676         [BZ #12852]
24677         * posix/glob.c (glob): Check passed in values before using them in
24678         expressions to avoid some overflows.
24679         (glob_in_dir): Likewise.
24681         [BZ #13007]
24682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24683         check for AVX enablement so that we don't crash with old kernels and
24684         new hardware.
24685         * elf/tst-audit4.c: Add same checks here.
24686         * elf/tst-audit6.c: Likewise.
24688         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24690 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24692         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24694 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24696         * po/cs.po: Update from translation team.
24697         * po/bg.po: Likewise.
24699 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24701         * misc/sys/cdefs.h: Add support for const attribute.
24702         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24703         to gnu_dev_{major,minor,makedev} functions.
24705 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24707         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24709 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24711         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24712         strlen results.
24714 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24717         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24718         register in order to avoid conflicts with the soft frame pointer
24719         being held in r11 when necessary.
24720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24721         (INTERNAL_VSYSCALL_NCS): Likewise.
24723 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24725         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24726         * elf/dl-fini.c (_dl_fini): Adjust caller.
24727         * elf/dl-close.c (_dl_close_worker): Likewise.
24728         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24730 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24732         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24733         "aux_cache->nlibs < 0".
24735         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24736         in the reload-count case.
24738 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24741         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24742         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24743         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24744         * sysdeps/x86_64/multiarch/strcat.S: New file.
24745         * sysdeps/x86_64/multiarch/strncat.S: New file.
24746         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24747         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24748         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24749         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24751         (USE_AS_STRCAT): Define.
24752         Add strcat and strncat support.
24753         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24755         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24756         * string/strncat.c: Update.
24757         (USE_AS_STRNCAT): Define.
24758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24759         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24760         and i7.
24761         * sysdeps/x86_64/multiarch/init-arch.h
24762         (bit_Prefer_PMINUB_for_stringop): New.
24763         (index_Prefer_PMINUB_for_stringop): Likewise.
24764         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24765         bit_Prefer_PMINUB_for_stringop.
24767 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24769         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24770         buffer64.
24771         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24772         of casting of buffer.
24773         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24774         buffer32 and buffer64.
24775         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24776         writes instead of casting of buffer.
24777         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24778         buffer32.
24779         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24780         casting of buffer.
24782 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24784         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24786 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24788         * nscd/nscd.c (termination_handler): Don't do anything for a database
24789         if it has not yet been initialized.
24791 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24793         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24795 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24797         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24799 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24801         * po/nl.po: Update from translation team.
24802         * po/sv.po: Likewise.
24804 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24806         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24807         now disallowed by GCC.
24809         * configure.in (use-default-link): Default to yes if a test -shared
24810         link meets our qualifications.
24811         * configure: Regenerated.
24813         * config.make.in (output-format): New variable.
24814         * configure.in: Check for ld --print-output-format support.
24815         * configure: Regenerated.
24816         * Makerules ($(common-objpfx)format.lds)
24817         [$(output-format) != unknown]: Just use $(output-format),
24818         instead of the linker-script munging.
24820 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24822         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24823         of $(common-objpfx)shlib.lds.
24824         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24826         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24827         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24829         * configure.in (-z relro check): Adjust test code to add a large
24830         writable data section after it.
24831         * configure: Regenerated.
24833 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24835         * configure.in (-z relro check): Fix test code to make the variable
24836         truly const.
24837         * configure: Regenerated.
24839 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24841         * nscd/nscd.h (struct traced_file): Define.
24842         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24843         elements.  Add traced_files.
24844         (inotify_fd): Declare.
24845         (register_traced_file): Declare.
24846         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24847         (inotify_fd): Export.
24848         (resolv_conf_descr): Remove.
24849         (nscd_init): Move inotify descriptor creation to main.
24850         Don't register files for notification here.
24851         (register_traced_file): New function.
24852         (invalidate_cache): Don't use reset_res to determine whether to call
24853         res_init, go through the list of registered files.
24854         (main_loop_poll): The inotify descriptors are now stored in the
24855         structures for the traced files.
24856         (main_loop_epoll): Likewise
24857         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24858         to __nss_disable_nscd.
24859         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24860         for a database anymore.  Check the records for all the registered
24861         files instead.
24862         * nss/Makefile (libnss_files-routines): Add files-init.
24863         (libnss_db-routines): Add db-init.
24864         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24865         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24866         * nss/nss_db/db-init.c: New file.
24867         * nss/nss_files/files-init.c: New file.
24868         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24869         __nss_lookup_function.
24870         (__nss_lookup_function): Call nss_load_library.
24871         (nss_load_all_libraries): New function.
24872         (__nss_disable_nscd): Take parameter with callback function for files
24873         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24874         used for the cached services.
24875         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24876         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24877         options for features to all the files in nscd.
24879         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24881 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24883         * csu/elf-init.c (__libc_csu_init): Comment typo.
24885 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24887         * po/pl.po: Update from translation team.
24888         * po/ja.po: Likewise.
24889         * po/ru.po: Likewise.
24890         * po/ko.po: Likewise.
24891         * po/fr.po: Likewise.
24893 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24895         * configure.in (.ctors/.dtors header and trailer check):
24896         Use an empirical test on a built program.
24897         * configure: Regenerated.
24899         * configure.in (-z relro check): Use an empirical test on a built DSO.
24900         Detect, but do not require, on ia64.
24901         * configure: Regenerated.
24903         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24904         Update tests that use readelf to use $READELF instead.
24905         * configure: Regenerated.
24907 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24909         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24910         if the result is not used.
24912 2011-07-05  Andreas Jaeger  <aj@suse.de>
24914         [BZ#9696]
24915         * stdlib/tst-strtod.c: Add testcase.
24917 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24919         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24920         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24921         The latter has a higher limit.  Take additional parameter to pass to
24922         the new function.
24923         (__pathconf): Pass file to __statfs_link_max.
24924         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24925         __statfs_link_max.
24926         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24927         __statfs_link_max.
24929         [BZ #12868]
24930         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24931         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24932         Handle Lustre.
24933         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24934         (__statfs_filesize_max): Likewise.
24935         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24937 2011-07-05  Andreas Jaeger  <aj@suse.de>
24939         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24941 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24943         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24944         `status' variable.
24945         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24946         Likewise.
24948 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24950         * Makefile (strop-tests): Add strncat.
24951         * string/test-strncat.c: New file.
24953 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24955         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24957 2011-06-21  Andreas Jaeger  <aj@suse.de>
24959         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24960         Copy rule from iconvdata/Makefile.
24962 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24964         [BZ #12922]
24965         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24966         but no long options are defined, just return 'W'.
24968 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24970         [BZ #9696]
24971         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24973 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24975         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24976         netgroups to read.
24977         (innetgr): Likewise.
24979 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24981         * config.make.in (install_root): Default to $(DESTDIR).
24983 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24985         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24987 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24989         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24991         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24992         containing directory rather than embedding absolute directory names.
24994         * scripts/check-local-headers.sh: Rewritten using awk.
24995         Match by word, not by line.  Print error messages for matches.
24996         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24998         * Makerules [shlib-lds-flags empty]:
24999         ($(common-objpfx)libc_pic.opts): New target.
25000         ($(common-objpfx)libc_pic.os.clean): New target.
25001         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25003         * config.make.in (OBJCOPY): New variable.
25004         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25005         * configure: Regenerated.
25007         * config.make.in (use-default-link): New variable.
25008         * configure.in (use_default_link): Grok --with-default-link to set it.
25009         * configure: Regenerated.
25010         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25011         (shlib-lds, shlib-lds-flags): Define to empty.
25013         * Makerules (shlib-lds): New variable.
25014         (shlib-lds-flags): New variable.
25015         (build-shlib, build-moduile, build-module-asneeded): Use it.
25016         ($(common-objpfx)libc.so): Use $(shlib-lds).
25017         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25018         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25020         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25021         DT_FLAGS/DT_FLAGS_1 with zero flags.
25023         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25024         linker script munging.
25026 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25028         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25029         as 128-bit value.
25030         * crypt/sha512.c (sha512_process_block): Perform total addition using
25031         128-bit if possible.
25032         (__sha512_finish_ctx): Likewise.
25033         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25034         as 64-bit value.
25035         * crypt/sha256.c (SWAP64): Define.
25036         (sha256_process_block): Perform total addition using 64-bit if
25037         possible.
25038         (__sha256_finish_ctx): Likewise.
25040 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25042         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25043         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25044         * nscd/hstcache.c (cache_addhst): Likewise.
25045         * nscd/grpcache.c (cache_addgr): Likewise.
25046         * nscd/aicache.c (addhstaiX): Likewise
25047         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25049 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25051         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25052         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25053         * nscd/hstcache.c (cache_addhst): Likewise.
25054         * nscd/grpcache.c (cache_addgr): Likewise.
25055         * nscd/aicache.c (addhstaiX): Likewise
25057 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25059         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25060         domain only when needed.
25062 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25065         is always restored.
25067 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25069         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25070         are re-adding the entry.
25071         * nscd/servicescache.c (cache_addserv): Likewise.
25073 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25075         * sysdeps/generic/dl-irel.h: fix protection against multiple
25076         inclusions.
25077         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25079 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25081         [BZ #12935]
25082         * malloc/memusage.sh: Fix quoting in message.
25083         * debug/xtrace.sh: Likewise.
25085         * configure.in: Remove support for --experimental-malloc option, make
25086         it the default.
25087         * config.make.in: Likewise.
25088         * malloc/Makefile: Likewise.
25090 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25092         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25093         two-byte characters.
25095 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25097         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25098         AC_CACHE_CHECK invocation.
25099         * configure: Regenerated.
25101         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25103 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25105         [BZ #12350]
25106         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25107         bit from old_res_options.
25109         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25111         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25112         value type for setfct.
25114 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25117         __gettimeofday instead of gettimeofday.
25119 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25121         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25123 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25125         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25127         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25128         info.
25130 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25133         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25134         strcpy-sse2-unaligned strncpy-sse2-unaligned
25135         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25136         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25137         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25138         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25139         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25140         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25141         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25142         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25143         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25144         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25145         (STRCPY): Support SSE2 and SSSE3 versions.
25147 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25149         [BZ #12874]
25150         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25151         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25152         kernels which artificially limit size of requests.
25154 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25156         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25157         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25158         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25159         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25160         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25161         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25162         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25163         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25164         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25165         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25166         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25167         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25168         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25169         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25170         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25172         Enable unaligned load optimization for Intel Core i3, i5 and i7
25173         processors.
25174         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25175         Define.
25176         (index_Fast_Unaligned_Load): Define.
25177         (HAS_FAST_UNALIGNED_LOAD): Define.
25179 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25181         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25183 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25185         [BZ #12907]
25186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25187         until it is clear that the information is realy needed.
25188         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25190 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25194 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25197         /sys/devices/system/cpu/online if it is usable.
25199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25200         reading the information from the /proc filesystem to once a second.
25202 2011-06-21  Andreas Jaeger  <aj@suse.de>
25204         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25205         NULL after inclusion of kernel headers.
25207 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25209         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25210         calls to internal_setent.
25212         [BZ #12885]
25213         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25214         addresses using gethostbyname4_r ignore IPv4 addresses.
25216         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25217         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25219         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25221 2011-06-20  David S. Miller  <davem@davemloft.net>
25223         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25224         inclusions.
25225         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25227         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25228         (elf_irel): Use it.
25229         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25230         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25231         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25232         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25233         * sysdeps/x86_64/dl-irel.h: Likewise.
25235         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25236         * elf/dl-sym.c: Likewise.
25238 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25240         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25241         need to dereference resplen2.
25243 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25245         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25247 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25249         * Makeconfig: Define vardbdir and inst_vardbdir.
25250         * nss/Makefile: Add rules to install db-Makefile.
25252         * nss/nss_db/db-XXX.c: Cleanup.
25254         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25255         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25256         GLIBC_PRIVATE.
25257         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25258         * nss/makedb.c: Implement -g option to specify that value strings
25259         are generated and should not be added to table iterated over for
25260         get*ent calls.
25261         * nss/nss_db/db-initgroups.c: New file.
25263         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25264         interface.
25266         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25267         (internal_getgrouplist): Adjust to name change.
25268         Update use_initgroups_entry if this is not the first call.
25269         * nss/databases.def: Add initgroups entry.
25271         * nss/makedb.c (compute_tables): Check result of multiple hash table
25272         sizes to minimize maximum chain length.
25274 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25276         * Versions.def: Add entry for libnss_db.
25277         * shlib-versions: Likewise.
25278         * nss/Makefile: Add rules to build libnss_db.
25279         * nss/Versions: Add libnss_db information.  Organize libnss_files
25280         entries better.
25281         * nss/db-Makefile: Add gshadow support.  Change rules for the new
25282         makedb progra.  Some minor improvements to generate smaller files.
25283         * nss/nss_db/nss_db.h: Move NSS database header data structures to
25284         here from...
25285         * nss/makedb.c: ...here.
25286         Improve database format to be smaller and require less memory at
25287         runtime.
25288         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
25289         db anymore.
25290         * nss/nss_db/db-netgrp.c: Likewise.
25291         * nss/nss_db/db-open.c: Likewise.
25292         * nss/nss_files/flies-XXX.x: Adjust comments.
25293         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25294         * nss/nss_files/files-grp.c: Likewise.
25295         * nss/nss_files/files-hosts.c: Likewise.
25296         * nss/nss_files/files-network.c: Likewise.
25297         * nss/nss_files/files-proto.c: Likewise.
25298         * nss/nss_files/files-pwd.c: Likewise.
25299         * nss/nss_files/files-rpc.c: Likewise.
25300         * nss/nss_files/files-service.c: Likewise.
25301         * nss/nss_files/files-sgrp.c: Likewise.
25302         * nss/nss_files/files-spwd.c: Likewise.
25303         * nss/nss_db/db-alias.c: Removed.
25304         * nss/nss_db/dummy-db.h: Removed.
25306 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25308         * nss/makedb.c: Rewritten to not use database library.
25309         * nss/Makefile: Update to build new makedb program.
25311 2011-06-14  Andreas Jaeger  <aj@suse.de>
25313         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25314         memset declaration.
25316 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25319         tmpbuf.
25321 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25323         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25324         * elf/Makefile ($(objpfx)ld.so): Likewise.
25326         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25327         Don't list ld.so twice in dependencies.
25329         * posix/bug-regex31.c: Include <stdlib.h>.
25331         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25333         * nis/nss_compat/compat-spwd.c
25334         (getspent_next_nss_netgr): Remove unused variable.
25335         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25337         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25338         nonmembers" output to use the right array.
25340         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25342         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25344         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25345         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25346         * catgets/gencat.c (read_input_file): Likewise.
25347         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25349         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25350         variable definition inside #if's controlling its use.
25352         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25354         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25356         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25358         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25359         unreachable code.
25361         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25363         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25364         * configure: Regenerated.
25366         * Makerules: Revert last change.
25367         * elf/Makefile: Likewise.
25369 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25371         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25372         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25373         (reloc-link): Likewise.
25375 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25377         * elf/Makefile: Add rules to build pldd.
25378         * elf/pldd.c: New file.
25379         * elf/pldd-xx.c: New file.
25381 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25383         * version.h: Update for 2.15 development version.
25385 2011-06-07  David S. Miller  <davem@davemloft.net>
25387         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25388         ifuncs.
25389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25390         elf_machine_lazy_rel): Likewise.
25391         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25392         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25393         elf_machine_lazy_rel): Likewise.
25394         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25395         dl_hwcap via passed in argument.
25396         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25397         Likewise.
25399 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25401         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25403 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25405         [BZ #12849]
25406         * manual/fdl-1.1.texi: New file, verbatim from:
25407         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25408         * manual/lgpl-2.1.texi: New file, verbatim from:
25409         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25410         * manual/Makefile (licenses): New variable, list those new file names.
25411         (texis): Use it.
25412         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25414         * manual/fdl.texi: File removed.
25415         * manual/lesser.texi: File removed.
25416         * manual/libc.texinfo (Copying, Documentation License):
25417         Use new @include file names, put @appendix directive before @include.
25419 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25421         [BZ #12841]
25422         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25423         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25424         (mq_open): Add __NTH.
25426 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25429         Assume Intel Core i3/i5/i7 processor if AVX is available.
25431 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25433         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25434         typo.
25436 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25438         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25439         memory.  Use alloca_account.  Fix memory leak when retrying.
25441 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25443         * version.h (RELEASE): Bump for 2.14 release.
25444         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25446         * config.make.in (RANLIB): Remove entry.
25448 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25450         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25451         (libc.pot): Work around missing support for .ksh extension in xgettext.
25453         [BZ #12684]
25454         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25455         if both request failed.
25456         (send_dg): In case of server errors clear resplen or *resplen2.
25458         [BZ #12454]
25459         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25460         when there are multiple maps.
25461         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25462         (_dl_fini): Remove test here.
25464         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25466 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25468         [BZ #12350]
25469         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25470         bit from old_res_options.
25471         (gaih_inet): Likewise.
25473         [BZ #11099]
25474         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25475         as signed.
25477         * resolv/res_init.c (res_setoptions): Make the code more compact.
25479         [BZ #11558]
25480         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25481         set RES_USEVC.
25483         [BZ #11634]
25484         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25486         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25488         [BZ #11781]
25489         * malloc/malloc.h: Declare malloc hook variables as volatile.
25491         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25492         in last patch.
25494         [BZ #11799]
25495         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25496         raise in the comment.
25497         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25499         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25501 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25503         [BZ #12811]
25504         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25505         grow the buffers more if it already has to be sufficient.
25506         (build_wcs_upper_buffer): Likewise.
25507         * posix/regexec.c (check_matching): Likewise.
25508         (clean_state_log_if_needed): Likewise.
25509         (extend_buffers): Don't enlarge buffers beyond size of the input
25510         buffer.
25511         Patches mostly by Emil Wojak <emil@wojak.eu>.
25512         * posix/bug-regex32.c: New file.
25513         * posix/Makefile (tests): Add bug-regex32.
25515         * locale/findlocale.c (_nl_find_locale): Return right away if
25516         _nl_explode_name failed.
25517         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25519         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25521         * debug/xtrace.sh: Unify messages.
25522         * malloc/memusage.sh: Likewise.
25524         [BZ #12813]
25525         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25526         time symbol from vDSO.  Substitute with vsyscall if not available.
25527         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25528         __vdso_time.
25530         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25531         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25532         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25533         Add sendmmsg and internal_sendmmsg.
25534         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25535         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25536         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25538         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25539         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25542 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25544         [BZ #12813]
25545         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25546         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25547         available.
25548         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25549         __vdso_getcpu.
25551         [BZ #12814]
25552         * iconvdata/Makefile (tests): Add bug-iconv9.
25553         * iconvdata/bug-iconv9.c: New file.
25555 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25557         [BZ #12814]
25558         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25560 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25562         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25563         (struct user_regs_struct): Change intcs field back to cs.
25565 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25567         * po/ja.po: Update from translation team.
25569 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25571         [BZ #12795]
25572         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25573         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25575 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25577         * stdlib/longlong.h: Update from GCC.
25579 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25581         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25582         parameter name.
25583         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25584         Add parameter name.
25585         (__sysconf): Pass it down.
25587 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25589         [BZ #12671]
25590         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25591         some situations.
25592         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25593         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25594         add in in __libc_use_alloca calls.  Adjust callers.
25595         (glob): Use malloc in some situations.
25597         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25598         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25599         pltexit.
25601 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25603         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25604         and CLOCK_BOOTTIME_ALARM.
25606         [BZ #12782]
25607         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25608         is returned.
25610         * string/_strerror.c (__strerror_r): Print negative errors as signed
25611         numbers.
25613         [BZ #12777]
25614         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25615         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25616         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25618         * configure.in: Fix typo in redirection and correct removal of test
25619         files in two cases.
25621         [BZ #12788]
25622         * locale/setlocale.c (new_composite_name): Fix test to check for
25623         identical name of all categories.
25625         [BZ #12792]
25626         * libio/filedoalloc.c (local_isatty): New function.
25627         (_IO_file_doallocate): Use local_isatty.
25628         * stdio-common/perror.c (perror): In case a new stream is used
25629         forward the stream error.
25630         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25631         error flag.
25633 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25635         [BZ #11869]
25636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25637         alloca.
25638         * include/alloca.h (extend_alloca_account): Define.
25640         [BZ #11857]
25641         * posix/regex.h: Fix comments with documentation of user-accessible
25642         fields after compilation and describe correct free'ing of pattern
25643         after re_compile_pattern.
25644         Patch by Reuben Thomas <rrt@sc3d.org>.
25646 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25648         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25649         and -mno-altivec to prevent the compiler from using Altivec and/or
25650         VSX instructions when the corresponding registers are not available.
25652 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25654         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25656 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25658         * libio/freopen.c (freopen): Use __dup2, not dup2.
25659         * libio/freopen64.c (freopen64): Likewise.
25661 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25663         [BZ #12775]
25664         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25665         * math/Makefile (tests): Add test-powl.
25666         (CFLAGS-test-powl.c): Define.
25667         * math/test-powl.c: New file.
25669 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25671         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25673 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25675         [BZ #11837]
25676         * iconvdata/gb18030.c: Update to GB18020-2005.
25678 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25680         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25681         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25682         Patch by Aharon Robbins <arnold@skeeve.com>.
25684         [BZ #11892]
25685         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25686         on the stack.
25688         [BZ #11895]
25689         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25690         through underflows.
25692         [BZ #12766]
25693         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25694         point to strings before performing equality test for error_one_per_line
25695         mode.
25697         [BZ #11697]
25698         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25700         [BZ #11820]
25701         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25702         (struct user_fpregs_struct): Avoid __uint*_t types.
25704         [BZ #6420]
25705         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25706         symbol info.  Use it instead of calling _dl_addr locally.
25707         (lock_and_info): New function.
25708         (tr_freehook): Call lock_and_info and pass symbol info as additional
25709         parameter to tr_where.
25710         (tr_mallochook): Likewise.
25711         (tr_reallochook): Likewise.
25712         (tr_memalignhook): Likewise.
25714         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25715         used and couldn't be at all thread-safe.
25717 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25719         * libio/freopen.c (freopen): Don't close old file descriptor
25720         before the new one is opened.  Instead dup the new file descriptor
25721         to the old one after the new stream is created.
25722         * libio/freopen64.c (freopen64): Likewise.
25723         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25724         * libio/fileops.c (_IO_new_file_close_it): Handle new
25725         _IO_FLAGS2_NOCLOSE flag.
25726         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25727         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25728         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25729         _IO_FLAGS2_NOCLOSE flag.
25730         * include/unistd.h: Add hidden_proto for dup3.
25731         Define __have_dup3.
25732         * io/dup3.c: Define hidden symbol.
25733         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25735         [BZ #7101]
25736         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25737         when an incomplete long option is used.
25738         * posix/tst-getopt_long1.c: New file.
25739         * posix/Makefile (tests): Add tst-getopt_long1.
25741         [BZ #10138]
25742         * scripts/config.guess: Update from autoconf-2.68.
25743         * scripts/config.sub: Likewise.
25745         [BZ #10157]
25746         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25747         tests into ...
25748         (has_cpuclock): ...this.  New function.
25749         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25750         macro here based on has_cpuclock code.
25752         [BZ #10149]
25753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25754         First byte (not low byte) is now always NUL.
25755         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25758         Use non-cancelable interfaces.
25760         [BZ #9809]
25761         * locale/iso-639.def: Add entry for Sorani.
25763         [BZ #11901]
25764         * include/stdlib.h: Move include protection to the right place.
25765         Define abort_msg_s.  Declare __abort_msg with it.
25766         * stdlib/abort.c (__abort_msg): Adjust type.
25767         * assert/assert.c (__assert_fail_base): New function.  Majority
25768         of code from __assert_fail.  Allocate memory for __abort_msg with
25769         mmap.
25770         (__assert_fail): Now call __assert_fail_base.
25771         * assert/assert-perr.c: Remove bulk of implementation.  Use
25772         __assert_fail_base.
25773         * include/assert.hL Declare __assert_fail_base.
25774         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25775         mmap.
25776         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25778 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25780         [BZ #11952]
25781         [BZ #12453]
25782         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25783         until all modules are registered in the DTV.
25784         * elf/Makefile: Add rules to build and run tst-tls19.
25785         * elf/tst-tls19.c: New file.
25786         * elf/tst-tls19mod1.c: New file.
25787         * elf/tst-tls19mod2.c: New file.
25788         * elf/tst-tls19mod3.c: New file.
25789         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25791         [BZ #12083]
25792         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25793         correctly.
25795         [BZ #12601]
25796         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25797         two-byte sequence errors.
25798         * iconvdata/Makefile (tests): Add bug-iconv8.
25799         * iconvdata/bug-iconv8.c: New file.
25801         [BZ #12626]
25802         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25803         buf2 definition.
25805         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25807         [BZ #12432]
25808         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25809         (dummy_getcfa): New function.
25810         (init): Get _Unwind_GetCFA address, use dummy if not found.
25811         (backtrace_helper): In recursion check, also check whether CFA changes.
25812         (__backtrace): Completely initialize arg.
25814         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25815         storing incomplete byte sequence in state object.  Avoid testing for
25816         guaranteed too small input if we know there is enough data available.
25818 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25820         * Makeconfig (+link-pie): Indent.
25821         * Rules (binaries-pie): Define if $(have-fpie) and
25822         $(build-shared).
25823         (binaries-shared): Also filter out $(binaries-pie).
25824         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25825         * nscd/Makefile (others-pie): Add nscd.
25826         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25827         ($(objpfx)nscd): Remove command override.
25828         * login/Makefile (others-pie): Add pt_chown.
25829         ($(objpfx)pt_chown): Remove command override.
25830         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25831         remove command overrides.
25833 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25835         * libio/tst_putwc.c: Fix error messages.
25837         [BZ #12724]
25838         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25839         currently writing and seek to current position when not.
25840         * libio/Makefile (tests): Add bug-fclose1.
25841         * libio/bug-fclose1.c: New file.
25843 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25845         [BZ #12511]
25846         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25847         don't set DF_1_NODELETE here.
25848         (do_lookup_x): When entering new entry test for copy relocation
25849         and if necessary set DF_1_NODELETE flag.
25850         * elf/tst-unique4.cc: New file.
25851         * elf/tst-unique4.h: New file.
25852         * elf/tst-unique4lib.cc: New file.
25853         * elf/Makefile: Add rules to build and run tst-unique4.
25854         Patch by Piotr Bury <pbury@goahead.com>.
25856 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25858         [BZ #12052]
25859         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25861         [BZ #12625]
25862         * misc/mntent_r.c (addmntent): Flush the stream after the output
25864         [BZ #12393]
25865         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25866         (is_trusted_path_normalize): Skip initial colon.  Append slash
25867         to empty buffer.  Duplicate is_trusted_path code but allow
25868         constructed patch to be prefix.
25869         (is_dst): Allow $ORIGIN followed by /.
25870         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25871         Correct testing of result of is_trusted_path_normalize
25872         (decompose_rpath): Fix warning.
25874 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25876         [BZ #11257]
25877         * grp/initgroups.c (internal_getgrouplist): When we found the service
25878         list through the initgroups entry in nsswitch.conf do not always
25879         continue on a successful lookup.  Don't always use the
25880         __nss_group_database value if it is set.
25881         * nss/nsswitch.conf (initgroups): Change action for successful db
25882         lookup to continue for compatibility.
25884 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25886         [BZ #11532]
25887         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25888         and CP774 modules.
25889         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25890         and CP774 modules.
25891         * iconvdata/tst-tables.sh: Likewise.
25892         * iconvdata/cp770.c: New file.
25893         * iconvdata/cp771.c: New file.
25894         * iconvdata/cp772.c: New file.
25895         * iconvdata/cp773.c: New file.
25896         * iconvdata/cp774.c: New file.
25897         * iconvdata/testdata/CP770: New file.
25898         * iconvdata/testdata/CP770..UTF8: New file.
25899         * iconvdata/testdata/CP771: New file.
25900         * iconvdata/testdata/CP771..UTF8: New file.
25901         * iconvdata/testdata/CP772: New file.
25902         * iconvdata/testdata/CP772..UTF8: New file.
25903         * iconvdata/testdata/CP773: New file.
25904         * iconvdata/testdata/CP773..UTF8: New file.
25905         * iconvdata/testdata/CP774: New file.
25906         * iconvdata/testdata/CP774..UTF8: New file.
25908         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25909         END CHARMAP line.
25910         * iconvdata/gen-8bit-gap.sh: Likewise.
25911         * iconvdata/gen-8bit.sh: Likewise.
25913         * locale/iso-639.def: Add ary entry.
25915         [BZ #11258]
25916         * locale/C-translit.h.in: Add U20A1 transliteration.
25918         [BZ #12178]
25919         * locale/iso-639.def: Add wae entry.
25920         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25922         [BZ #12545]
25923         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25924         for n.
25926         [BZ #12711]
25927         * locale/C-translit.h.in: Add entry for U20B9.
25928         Patch by pravin.d.s@gmail.com.
25930 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25932         [BZ #12713]
25933         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25934         ENAMETOOLONG use generic getcwd.
25935         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25936         in rtld.  Use *stat64.
25937         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25938         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25939         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25940         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25941         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25942         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25943         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25944         __fstatat64 macros.
25945         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25946         * dirent/rewinddir.c: Add libc_hidden_def.
25947         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25948         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25950         * include/dirent.h (__alloc_dir): Add flags parameter.
25951         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25952         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25953         __alloc_dir.
25954         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25955         from fdopendir if O_CLOEXEC is already set.
25957 2011-03-15  Alan Modra  <amodra@gmail.com>
25959         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25960         l_tls_firstbyte_offset non-zero.  Save padding offset in
25961         l_tls_firstbyte_offset for later use.
25962         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25963         freeing static tls block.
25965 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25967         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25968         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25969         being defined by the kernel headers.
25971 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25973         [BZ #12734]
25974         * resolv/resolv.h: Define RES_NOTLDQUERY.
25975         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25976         no-tld-query and set RES_NOTLDQUERY.
25977         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25978         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25979         modern BIND to search name as TLD unless forbidden.
25981 2011-05-07  Petr Baudis  <pasky@suse.cz>
25982             Ulrich Drepper  <drepper@gmail.com>
25984         [BZ #12393]
25985         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25986         (is_trusted_path): ...to here.
25987         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25988         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25989         using is_trusted_path_normalize() in setuid scripts.
25991 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25993         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25994         __BEGIN/__END_DECLS.
25996 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25998         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25999         NSS_STATUS_NOTFOUND if no record was found.
26001 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26003         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26004         (headers-not-in-tirpc): Remove rpc/netdb.h
26005         * resolv/netdb.h: Revert last change.
26007 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26009         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26010         circular dependency between libgcc.a and libc.a.
26012 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26014         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26015         * nis/Makefile: Don't install rpcsvc/*.
26016         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26017         instead of <rpc/types.h>.
26018         (MAXHOSTNAMELEN): Define.
26020 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26022         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26024 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26026         [BZ #12714]
26027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26028         gethostbyname4_r when IPv6 results are possible.
26030 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26032         [BZ #12723]
26033         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26034         _PC_PIPE_BUF handling.
26036 2011-04-30  Bruno Haible  <bruno@clisp.org>
26038         [BZ #12717]
26039         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26040         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26041         to 'int'.
26042         * inet/getnameinfo.c (getnameinfo): Likewise.
26044 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26046         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26047         to groups setting in database lookup.
26048         * nss/nsswitch.conf: Add initgroups entry.
26050 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26052         [BZ #12685]
26053         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26054         mode string.
26055         Patch by Eric Blake <eblake@redhat.com>.
26057 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26059         * sunrpc/Makefile (need-export-routines): Add svc_run.
26060         (routines): Remove svc_run.
26061         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26062         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26063         * sunrpc/svc_run.c (svc_run): Likewise.
26064         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26066 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26068         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26069         problem in reallocation in last patch.
26071 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26073         * sunrpc/Makefile: Move inclusion of Rules.
26075 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26077         * nss/nss_files/files-initgroups.c: New file.
26078         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26079         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26080         _nss_files_initgroups_dyn.
26082 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26084         * elf/elf.h (R_ARM_IRELATIVE): Define.
26086 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26088         * po/ru.po: Update from translation team.
26090 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26092         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26093         dependencies.
26095 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26097         [BZ #12653]
26098         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26099         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26100         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26102         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26104 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26106         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26107         differing bytes.
26108         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26109         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26110         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26112 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26114         [BZ #12420]
26115         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26116         storing it.
26117         * stdlib/bug-getcontext.c: New file.
26118         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26120 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26122         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26123         instructions into .machine "z9-109".
26124         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26125         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26127 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26129         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26130         between environment variables and auxiliary vector.
26132 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26134         * Makefile: Add rules to build linkobj/libc.so.
26135         * include/libc-symbols.h: Define libc_hidden_nolink.
26136         * include/rpc/auth.h: Mark functions which are to be hidden.
26137         * include/rpc/auth_des.h: Likewise.
26138         * include/rpc/auth_unix.h: Likewise.
26139         * include/rpc/clnt.h: Likewise.
26140         * include/rpc/des_crypt.h: Likewise.
26141         * include/rpc/key_prot.h: Likewise.
26142         * include/rpc/pmap_clnt.h: Likewise.
26143         * include/rpc/pmap_prot.h: Likewise.
26144         * include/rpc/pmap_rmt.h: Likewise.
26145         * include/rpc/rpc_msg.h: Likewise.
26146         * include/rpc/svc.h: Likewise.
26147         * include/rpc/svc_auth.h: Likewise.
26148         * include/rpc/xdr.h: Likewise.
26149         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26150         * nss/Makefile: Likewise.
26151         * sunrpc/Makefile: Don't install headers.  Build library with normal
26152         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26153         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26154         for the compat linking library.  Remove use of INTDEF/INTUSE.
26155         * sunrpc/auth_none.c: Likewise.
26156         * sunrpc/auth_unix.c: Likewise.
26157         * sunrpc/authdes_prot.c: Likewise.
26158         * sunrpc/authuxprot.c: Likewise.
26159         * sunrpc/clnt_gen.c: Likewise.
26160         * sunrpc/clnt_perr.c: Likewise.
26161         * sunrpc/clnt_raw.c: Likewise.
26162         * sunrpc/clnt_simp.c: Likewise.
26163         * sunrpc/clnt_tcp.c: Likewise.
26164         * sunrpc/clnt_udp.c: Likewise.
26165         * sunrpc/clnt_unix.c: Likewise.
26166         * sunrpc/des_crypt.c: Likewise.
26167         * sunrpc/des_soft.c: Likewise.
26168         * sunrpc/get_myaddr.c: Likewise.
26169         * sunrpc/key_call.c: Likewise.
26170         * sunrpc/key_prot.c: Likewise.
26171         * sunrpc/netname.c: Likewise.
26172         * sunrpc/pm_getmaps.c: Likewise.
26173         * sunrpc/pm_getport.c: Likewise.
26174         * sunrpc/pmap_clnt.c: Likewise.
26175         * sunrpc/pmap_prot.c: Likewise.
26176         * sunrpc/pmap_prot2.c: Likewise.
26177         * sunrpc/pmap_rmt.c: Likewise.
26178         * sunrpc/publickey.c: Likewise.
26179         * sunrpc/rpc_cmsg.c: Likewise.
26180         * sunrpc/rpc_common.c: Likewise.
26181         * sunrpc/rpc_dtable.c: Likewise.
26182         * sunrpc/rpc_prot.c: Likewise.
26183         * sunrpc/rpc_thread.c: Likewise.
26184         * sunrpc/rtime.c: Likewise.
26185         * sunrpc/svc.c: Likewise.
26186         * sunrpc/svc_auth.c: Likewise.
26187         * sunrpc/svc_authux.c: Likewise.
26188         * sunrpc/svc_raw.c: Likewise.
26189         * sunrpc/svc_run.c: Likewise.
26190         * sunrpc/svc_simple.c: Likewise.
26191         * sunrpc/svc_tcp.c: Likewise.
26192         * sunrpc/svc_udp.c: Likewise.
26193         * sunrpc/svc_unix.c: Likewise.
26194         * sunrpc/svcauth_des.c: Likewise.
26195         * sunrpc/xcrypt.c: Likewise.
26196         * sunrpc/xdr.c: Likewise.
26197         * sunrpc/xdr_array.c: Likewise.
26198         * sunrpc/xdr_float.c: Likewise.
26199         * sunrpc/xdr_intXX_t.c: Likewise.
26200         * sunrpc/xdr_mem.c: Likewise.
26201         * sunrpc/xdr_rec.c: Likewise.
26202         * sunrpc/xdr_ref.c: Likewise.
26203         * sunrpc/xdr_sizeof.c: Likewise.
26204         * sunrpc/xdr_stdio.c: Likewise.
26206 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26208         [BZ #12650]
26209         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26210         * sysdeps/ia64/dl-tls.h: Likewise.
26211         * sysdeps/powerpc/dl-tls.h: Likewise.
26212         * sysdeps/s390/dl-tls.h: Likewise.
26213         * sysdeps/sh/dl-tls.h: Likewise.
26214         * sysdeps/sparc/dl-tls.h: Likewise.
26215         * sysdeps/x86_64/dl-tls.h: Likewise.
26216         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26218 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26220         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26221         rpath element also skip the following colon.
26222         (expand_dynamic_string_token): Add is_path parameter and pass
26223         down to DL_DST_REQUIRED and _dl_dst_substitute.
26224         (decompose_rpath): Call expand_dynamic_string_token with
26225         non-zero is_path.  Ignore empty rpaths.
26226         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26227         with zero is_path.
26229 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26232         Make cancelable.
26234 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26236         [BZ #12655]
26237         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26238         Patch by Filipe David Manana <fdmanana@apache.org>.
26240 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26242         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26243         Maintain aligned stack.
26244         (CHECK_RSP): Remove unused macro.
26246 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26248         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26249         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26251 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26253         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26255         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26257 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26259         [BZ #12518]
26260         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26261         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26262         * sysdeps/x86_64/memmove.c: New file.
26263         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26264         (memcpy): Renamed to ...
26265         (__new_memcpy): This.
26266         (memcpy): Provide GLIBC_2_14 memcpy.
26267         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26268         (memcpy): Provide GLIBC_2_2_5 memcpy.
26270 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26272         [BZ #12631]
26273         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26275 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26277         * misc/syncfs.c: New file.
26278         * misc/Makefile (routines): Add syncfs.
26279         * posix/unistd.h: Declare syncfs.
26280         * sysdeps/unix/syscalls.list: Add syncfs.
26282 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26284         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26285         open_by_handle_at.
26286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26291         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26294 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26296         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26297         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26298         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26300         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26302         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26304         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26305         sync_file_range.c with -fexceptions.
26306         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26307         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26308         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26309         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26310         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26311         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26313         sync_file_range as cancellation point
26314         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26315         now a wrapper around __call_sync_file_range with cancellation handling.
26316         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26317         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26318         function name to __call_sync_file_range.
26319         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26320         Add call_sync_file_range.
26322 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26325         bits/timex.h.
26327 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26329         * iconv/iconv.h: Fix typo in comment.
26330         * io/fcntl.h: Likewise.
26331         * libio/stdio.h: Likewise.
26332         * posix/spawn.h: Likewise.
26333         * posix/unistd.h: Likewise.
26334         * stdlib/stdlib.h: Likewise.
26335         * time/time.h: Likewise.
26336         * wcsmbs/wchar.h: Likewise.
26338         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26339         open_by_handle): Add.
26340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26341         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26342         Augment a few comments.
26343         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26345         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26347         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26348         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26349         open_by_handle.
26351         * io/fcntl.h (AT_EMPTY_PATH): Define.
26353 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26355         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26356         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26357         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26358         to...
26359         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26360         * Versions.def: Add GLIBC_2.14.
26361         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26362         Export.
26364 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26366         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26367         round counter.
26368         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26370 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26372         [BZ #12597]
26373         * string/test-strncmp.c (do_page_test): New function.
26374         (check2): Likewise.
26375         (test_main): Call check2.
26376         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26378 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26380         [BZ #12587]
26381         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26382         Handle cache information in CPU leaf 4.
26383         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26385 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26387         [BZ #12583]
26388         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26389         character representation.
26390         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26392 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26394         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26395         END(__isnan) to END(__isnanf) to match function entry point/label
26396         EALIGN(__isnanf,...).
26398 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26400         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26402 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26404         [BZ #12510]
26405         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26406         copy from the symbol referenced in the relocation to initialize the
26407         used variable.
26408         Patch by Piotr Bury <pbury@goahead.com>.
26409         * elf/Makefile: Add rules to build and tst-unique3.
26410         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26411         * elf/tst-unique3.cc: New file.
26412         * elf/tst-unique3.h: New file.
26413         * elf/tst-unique3lib.cc: New file.
26414         * elf/tst-unique3lib2.cc: New file.
26416         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26418 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26420         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26421         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26422         to _start.
26424 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26426         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26427         to-be-loaded object along a path to loader is ld.so.
26429 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26430             Ulrich Drepper  <drepper@gmail.com>
26432         * sysdeps/x86_64/memset.S: After aligning destination, code
26433         branches to different locations depending on the value of
26434         misalignment, when multiarch is enabled. Fix this.
26436 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26438         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26439         Set _x86_64_preferred_memory_instruction for AMD processsors.
26440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26441         Set bit_Prefer_SSE_for_memop for AMD processors.
26443 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26445         * libio/fmemopen.c (fmemopen): Optimize a bit.
26447 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26449         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26451 2011-03-03  Roland McGrath  <roland@redhat.com>
26453         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26455 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26457         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26458         __bzero_ultra1 instead of __memset_ultra1.
26460 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26461             Ulrich Drepper  <drepper@gmail.com>
26463         [BZ #12509]
26464         * include/link.h (struct link_map): Add l_orig_initfini.
26465         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26466         returning unsuccessfully.
26467         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26468         close of a file loaded at startup, restore the original l_initfini
26469         list.
26470         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26471         list, store the pointer.
26472         * elf/Makefile ($(objpfx)noload-mem): New rule.
26473         (noload-ENV): Define.
26474         (tests): Add $(objpfx)noload-mem.
26475         * elf/noload.c: Include <memcheck.h>.
26476         (main): Call mtrace.  Close all opened handles.
26478 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26480         [BZ #12454]
26481         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26482         dependencies are missing.
26484 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26486         Fix __if_freereq crash: Unlike the generic version which uses free,
26487         Hurd needs munmap.
26488         * sysdeps/mach/hurd/ifreq.h: New file.
26490 2011-01-27  Petr Baudis  <pasky@suse.cz>
26491             Ulrich Drepper  <drepper@gmail.com>
26493         [BZ 12445]#
26494         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26495         to extend_alloca().
26496         * stdio-common/bug23.c: New file.
26497         * stdio-common/Makefile (tests): Add bug23.
26499 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26500             Ulrich Drepper  <drepper@gmail.com>
26502         [BZ #12489]
26503         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26504         before performing relro protection.  At old place add assertion
26505         to make sure nothing changed.
26507 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26508             Glauber de Oliveira Costa  <glommer@gmail.com>
26510         * elf/elf.h: Add new ARM TLS relocs.
26512 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26515         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26516         cast from r3.
26517         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26518         'tests' variable.
26519         * sysdeps/wordsize-64/tst-writev.c: New file.
26521 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26523         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26524         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26525         insns in _dl_start to prevent a TOC reference before relocs are
26526         resolved.
26528 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26530         [BZ #12469]
26531         * Makeconfig: Remove RANLIB definition.
26532         * Makerules: Don't use RANLIB.
26533         * aclocal.m4: Remove ranlib test.
26534         * configure.in: No need to check for ranlib.
26535         * elf/rtld-Rules: Don't use RANLIB.
26537 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26539         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26540         protection macro.
26541         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26542         inclusion protection macro.
26544         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26545         SIGRTMIN and SIGRTMAX and print information in that case only when
26546         SIGRTMIN is defined.
26548 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26550         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26551         arginfo fn returning -1.
26553         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26554         and thousands string is zero terminated.
26556 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26559         sysdeps/unix/sysv/linux/bits/socket.h.
26561 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26563         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26564         (__CPU_COUNT): Remove old macros.
26565         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26566         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26567         (__CPU_ALLOC, __CPU_FREE): Add macros.
26568         (__sched_cpualloc, __sched_cpufree): Add declarations.
26570 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26572         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26573         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26574         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26575         (readdhstai): Return value of addhstaiX call.
26576         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26577         (addgrbyX): Return value returned by cache_addgr.
26578         (readdgrbyname): Return value returned by addgrbyX.
26579         (readdgrbygid): Likewise.
26580         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26581         (addpwbyX): Return value returned by cache_addpw.
26582         (readdpwbyname): Return value returned by addhstbyX.
26583         (readdpwbyuid): Likewise.
26584         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26585         (addservbyX): Return value returned by cache_addserv.
26586         (readdservbyname): Return value returned by addservbyX:
26587         (readdservbyport): Likewise.
26588         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26589         (addhstbyX): Return value returned by cache_addhst.
26590         (readdhstbyname): Return value returned by addhstbyX.
26591         (readdhstbyaddr): Likewise.
26592         (readdhstbynamev6): Likewise.
26593         (readdhstbyaddrv6): Likewise.
26594         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26595         (readdinitgroups): Return value returned by addinitgroupsX.
26596         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26597         (prune_cache): Keep track of timeout value of re-added entries.
26598         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26599         * nscd/nscd.h: Adjust prototypes of readd* functions.
26601 2011-02-04  Roland McGrath  <roland@redhat.com>
26603         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26604         (nis_stats): Likewise.
26605         * nis/nis_modify.c (nis_modify): Likewise.
26606         * nis/nis_remove.c (nis_remove): Likewise.
26607         * nis/nis_add.c (nis_add): Likewise.
26609         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26611         * posix/fnmatch_loop.c: Add some consts.
26613         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26615 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26617         [BZ #12460]
26618         * config.make.in (config-cflags-novzeroupper): Define.
26619         * configure.in: Substitute libc_cv_cc_novzeroupper.
26620         * elf/Makefile (AVX-CFLAGS): Define.
26621         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26622         (CFLAGS-tst-auditmod4a.c): Likewise.
26623         (CFLAGS-tst-auditmod4b.c): Likewise.
26624         (CFLAGS-tst-auditmod6b.c): Likewise.
26625         (CFLAGS-tst-auditmod6c.c): Likewise.
26626         (CFLAGS-tst-auditmod7b.c): Likewise.
26627         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26629 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26631         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26632         function to the callback.
26633         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26635 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26637         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26638         of errno.
26640 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26642         [BZ #11724]
26643         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26644         of constructors.
26645         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26646         of destructors.
26647         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26649         [BZ #11724]
26650         * elf/Makefile: Add rules to build and run new test.
26651         * elf/tst-initorder.c: New file.
26652         * elf/tst-initorder.exp: New file.
26653         * elf/tst-initordera1.c: New file.
26654         * elf/tst-initordera2.c: New file.
26655         * elf/tst-initordera3.c: New file.
26656         * elf/tst-initordera4.c: New file.
26657         * elf/tst-initorderb1.c: New file.
26658         * elf/tst-initorderb2.c: New file.
26659         * elf/tst-order-a1.c: New file.
26660         * elf/tst-order-a2.c: New file.
26661         * elf/tst-order-a3.c: New file.
26662         * elf/tst-order-a4.c: New file.
26663         * elf/tst-order-b1.c: New file.
26664         * elf/tst-order-b2.c: New file.
26665         * elf/tst-order-main.c: New file.
26666         New test case by George Gensure <werkt0@gmail.com>.
26668 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26671         decoding ACE if AI_CANONIDN.
26673 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26675         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26677 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26679         * version.h (RELEASE): Bump for 2.13 release.
26680         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26682         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26684         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26685         MADV_NOHUGEPAGE.
26686         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26687         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26688         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26689         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26691         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26693         * posix/getconf.c: Update copyright year.
26694         * catgets/gencat.c: Likewise.
26695         * csu/version.c: Likewise.
26696         * debug/catchsegv.sh: Likewise.
26697         * debug/xtrace.sh: Likewise.
26698         * elf/ldconfig.c: Likewise.
26699         * elf/ldd.bash.in: Likewise.
26700         * elf/sprof.c (print_version): Likewise.
26701         * iconv/iconv_prog.c: Likewise.
26702         * iconv/iconvconfig.c: Likewise.
26703         * locale/programs/locale.c: Likewise.
26704         * locale/programs/localedef.c: Likewise.
26705         * malloc/memusage.sh: Likewise.
26706         * malloc/mtrace.pl: Likewise.
26707         * nscd/nscd.c (print_version): Likewise.
26708         * nss/getent.c: Likewise.
26710         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26711         PF_CAIF, and PF_ALG.
26712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26714 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26716         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26717         (modules-names): Use them.
26718         (ifunc-test-modules, ifunc-pie-tests): Define.
26719         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26720         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26721         (test-extras): Likewise.
26722         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26723         $(compile-command.c).
26724         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26725         (all-built-dso): Define.
26726         (check-textrel.out, check-execstack.out): Depend on it.
26728         * configure.in: Don't override --enable-multi-arch.
26730 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26732         [BZ #6812]
26733         * nscd/hstcache.c (tryagain): Define.
26734         (cache_addhst): Return tryagain not notfound for temporary errors.
26735         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26736         failed.
26738 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26740         [BZ #10563]
26741         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26742         to make the syscall.
26743         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26745         [BZ #12378]
26746         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26747         and fall back to matching as normal character if the string ends before
26748         the matching ']' is found.  This is what POSIX requires.
26749         * posix/testfnm.c: Adjust test result.
26750         * posix/globtest.sh: Adjust test result.  Add new test.
26751         * posix/tst-fnmatch.input: Likewise.
26752         * posix/tst-fnmatch2.c: Add new test.
26754 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26756         * elf/Makefile (check-execstack): Revert last change.  Depend on
26757         check-execstack.h.
26758         (check-execstack.h): New target.
26759         (generated): Add check-execstack.h.
26760         * elf/check-execstack.c: Include "check-execstack.h".
26761         (main): Revert last change.
26762         (handle_file): Return zero if GNU_STACK is absent and
26763         DEFAULT_STACK_PERMS doesn't include PF_X.
26765 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26767         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26768         in child fails because the descriptor is already closed.
26769         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26770         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26771         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26773         [BZ #12397]
26774         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26775         syscall.
26777         [BZ #10484]
26778         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26779         temporary buffer used to handle multi lookups locally.
26780         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26782 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26784         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26785         loader is ld.so.
26787 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26789         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26790         alignment for SSE2.
26792 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26794         [BZ #12394]
26795         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26796         characters.  When rounding increased number of integer digits recompute
26797         number of groups.
26798         * stdio-common/tst-grouping.c: New file.
26799         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26801 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26803         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26804         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26806         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26807         void.
26808         * bits/select.h: Likewise.
26810 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26812         * po/ja.po: Update from translation team.
26814 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26816         [BZ #11155]
26817         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26818         implementation just like for lxstat, fxstatat, et al.
26820 2010-12-27  Jim Meyering  <meyering@redhat.com>
26822         [BZ #12348]
26823         * posix/regexec.c (build_trtable): Return failure indication upon
26824         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26826 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26828         [BZ #12201]
26829         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26830         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26831         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26832         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26834         [BZ #12207]
26835         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26837         [BZ #12204]
26838         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26839         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26841 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26843         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26844         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26845         script has SORT_BY_INIT_PRIORITY.
26846         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26847         NO_CTORS_DTORS_SECTIONS is defined.
26848         * elf/soinit.c: Likewise.
26849         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26850         NO_CTORS_DTORS_SECTIONS is defined.
26851         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26852         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26853         * sysdeps/sh/init-first.c: Likewise.
26854         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26856 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26858         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26859         always use the slow path.
26861 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26863         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26864         similar rule which adds the sysdep directories to the header search in
26865         order to pick up the correct platform stackinfo.h.
26866         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26867         perform test if it is, otherwise return successfully without testing.
26868         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26869         DEFAULT_STACK_PERMS define in stackinfo.h.
26870         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26871         defined in stackinfo.h.
26872         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26873         DEFAULT_STACK_PERMS defined in stackinfo.h.
26874         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26875         * sysdeps/ia64/stackinfo.h: Likewise.
26876         * sysdeps/s390/stackinfo.h: Likewise.
26877         * sysdeps/sh/stackinfo.h: Likewise.
26878         * sysdeps/sparc/stackinfo.h: Likewise.
26879         * sysdeps/x86_64/stackinfo.h: Likewise.
26880         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26881         PF_X for powerpc64.  Retain PF_X for powerpc32.
26883 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26885         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26886         accurately.
26887         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26888         GETDENTS_64BIT_ALIGNED.
26890 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26892         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26894 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26896         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26897         _GNU_SOURCE.
26899         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26900         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26901         Remove __restrict.
26902         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26903         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26905 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26907         [BZ #11655]
26908         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26909         are initialized.
26911 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26913         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26915 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26917         * po/it.po: Update from translation team.
26919 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26921         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26922         unused codes.
26924 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26926         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26928 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26930         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26931         specially.
26932         (gaih_getanswer_slice): Likewise.
26934 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26938 2010-05-31  Petr Baudis  <pasky@suse.cz>
26940         [BZ #11149]
26941         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26942         silently even in the chroot mode.
26944 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26946         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26947         last patch a bit.  Pretty printing
26949 2010-05-31  Petr Baudis <pasky@suse.cz>
26951         [BZ #10085]
26952         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26953         initialization of skip_initgroups_dyn.
26955 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26957         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26958         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26960 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26962         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26964 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26966         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26967         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26968         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26969         ($(objpfx)tst-fnmatch-mem): New rule.
26970         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26971         * posix/tst-fnmatch.c (main): Call mtrace.
26973 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26976         Support Intel processor model 6 and model 0x2c.
26978 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26980         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26981           signed comparison.
26983 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26985         [BZ #12205]
26986         * string/test-strncasecmp.c (check_result): New function.
26987         (do_one_test): Use it.
26988         (check1): New function.
26989         (test_main): Use it.
26990         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26991         Support strcasecmp and strncasecmp.
26993 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26995         [BZ #12194]
26996         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26997         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26999 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27001         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27002         IFUNC support.
27003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27004         memset-x86-64.
27005         * sysdeps/x86_64/multiarch/bzero.S: New file.
27006         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27007         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27008         * sysdeps/x86_64/multiarch/memset.S: New file.
27009         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27011         Set bit_Prefer_SSE_for_memop for Intel processors.
27012         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27013         Define.
27014         (index_Prefer_SSE_for_memop): Define.
27015         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27017 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27019         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27020         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27022 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27024         [BZ #12191]
27025         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27026         (__x86_64_raw_data_cache_size_half): Likewise.
27027         (__x86_64_raw_shared_cache_size): Likewise.
27028         (__x86_64_raw_shared_cache_size_half): Likewise.
27030         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27031         (__x86_64_raw_data_cache_size_half): Likewise.
27032         (__x86_64_raw_shared_cache_size): Likewise.
27033         (__x86_64_raw_shared_cache_size_half): Likewise.
27034         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27035         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27036         and __x86_64_raw_shared_cache_size_half.  Round
27037         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27038         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27039         to multiple of 256 bytes.
27041 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27043         [BZ #12167]
27044         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27045         of inacessible symlinks.  Verify result of symlink before returning it.
27046         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27047         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27049 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27051         * math/math.h (isinf): Fix typo in comment.
27053 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27055         * po/da.po: Update from translation team.
27057 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27059         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27060         is added to the list.
27062 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27063             Ulrich Drepper  <drepper@gmail.com>
27065         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27066         the global list here.  Move code to...
27067         (_dl_add_to_namespace_list): ...here.  New function.
27068         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27069         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27070         * elf/dl-load.c (lose): Don't remove the element from the list.
27071         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27072         (_dl_map_object): Likewise.
27074 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27076         [BZ #12159]
27077         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27078         into all bytes of SSE register.
27079         Patch by Richard Li <richardpku@gmail.com>.
27081 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27083         [BZ #12140]
27084         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27085         perturbing.
27087 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27089         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27090         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27091         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27092         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27094         submachine.
27095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27097 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27099         * include/dlfcn.h (__RTLD_SECURE): Define.
27100         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27101         mode & __RTLD_SECURE instead.
27102         (open_path): Rename preloaded parameter to secure.
27103         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27104         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27105         * elf/dl-deps.c (openaux): Likewise.
27106         * elf/rtld.c (struct map_args): Remove is_preloaded.
27107         (map_doit): Don't use it.
27108         (dl_main): Likewise.
27109         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27110         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27112 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27114         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27115         (sysd-rules-targets): Remove duplicates.
27116         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27117         rtld-%.$o dependency.
27119 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27121         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27122         _dl_map_object do it.
27124 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27126         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27127         fast fma builtins, define the macros in the C99 standard.
27128         (FP_FAST_FMAF): Likewise.
27129         (FP_FAST_FMAL): Likewise.
27130         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27132         * bits/mathdef.h: Update copyright year.
27133         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27135 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27137         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27138         builtins, define the macros in the C99 standard.
27139         (FP_FAST_FMAF): Likewise.
27140         (FP_FAST_FMAL): Likewise.
27141         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27142         multiply/add.
27143         (FP_FAST_FMAF): Likewise.
27145 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27147         [BZ #3268]
27148         * math/libm-test.inc (fma_test): Some new testcases.
27149         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27150         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27151         y and infinite z.  Do multiplication by C already in long double.
27152         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27153         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27154         y and infinite z.  Do bitwise or of inexact bit into u.d.
27155         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27156         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27157         * sysdeps/i386/fpu/s_fma.S: Removed.
27158         * sysdeps/i386/fpu/s_fmal.S: Removed.
27160 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27162         [BZ #3268]
27163         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27165         computation is not scheduled after fetestexcept.  Fix value
27166         of minimum denormal long double.
27168 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27170         [BZ #3268]
27171         * math/libm-test.inc (fma_test): Add some more tests.
27172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27173         correctly.
27175 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27177         * scripts/data/localplt-s390-linux-gnu.data: New file.
27178         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27180 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27182         [BZ #3268]
27183         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27184         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27185         instead of dbl-64.
27186         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27187         inlines.
27188         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27190         if one of x and y is very large and the other is subnormal.
27191         * sysdeps/s390/fpu/s_fmaf.c: New file.
27192         * sysdeps/s390/fpu/s_fma.c: New file.
27193         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27194         * sysdeps/powerpc/fpu/s_fma.S: New file.
27195         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27196         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27197         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27199 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27201         [BZ #3268]
27202         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27203         fma tests.
27204         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27205         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27206         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27207         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27208         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27209         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27210         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27212 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27214         [BZ #12078]
27215         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27216         * posix/bug-regex31.input: Add test case.
27218 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27220         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27221         * posix/bug-regex31.input: New file.
27223         [BZ #12078]
27224         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27225         (parse_sub_exp): Fix last change, use postorder.
27227         * posix/bug-regex31.c: New file.
27228         * posix/Makefile: Add rules to build and run bug-regex31.
27230         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27232         [BZ #12078]
27233         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27235         [BZ #12108]
27236         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27237         to have entries in sys_siglist.
27239         [BZ #12093]
27240         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27241         be NULL.
27243 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27245         [BZ #3268]
27246         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27247         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27248         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27249         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27250         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27251         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27252         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27253         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27254         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27255         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27256         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27257         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27258         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27259         * math/ftestexcept.c (fetestexcept): Likewise.
27260         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27261         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27262         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27263         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27264         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27265         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27266         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27268 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27270         [BZ #12107]
27271         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27272         newline.
27274 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27276         * string/bug-strstr1.c: New file.
27277         * string/Makefile: Add rules to build and run bug-strstr1.
27279 2010-10-05  Eric Blake  <eblake@redhat.com>
27281         [BZ #12092]
27282         * string/str-two-way.h (two_way_long_needle): Always clear memory
27283         when skipping input due to the shift table.
27285 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
27287         [BZ #12005]
27288         * malloc/mcheck.c: Handle large requests.
27290         [BZ #12077]
27291         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27292         for strncmp and strncasecmp.
27293         * string/stratcliff.c: Add tests for strcmp and strncmp.
27294         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27296 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27298         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27299         __set_fpscr.
27301 2010-09-30  Andreas Jaeger  <aj@suse.de>
27303         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27304         (CGROUP_SUPER_MAGIC): Define.
27305         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27306         Handle btrfs and cgroup file systems.
27307         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27308         Likewise.
27310 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27312         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27313         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27315 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27317         [BZ #12067]
27318         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27319         trying to locate the ELF header.
27321 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27323         [BZ #11611]
27324         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27325         Mask out sign-bit copies when constructing f_fsid.
27327 2010-09-24  Petr Baudis <pasky@suse.cz>
27329         * debug/stack_chk_fail_local.c: Add missing licence exception.
27330         * debug/warning-nop.c: Likewise.
27332 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27334         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27335         implementing getdents64 using getdents syscall, set d_type if
27336         __ASSUME_GETDENTS32_D_TYPE.
27338 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27340         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27341         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27343 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27345         [BZ #12037]
27346         * posix/unistd.h: Undo change of feature selection for ftruncate from
27347         2010-01-11.
27349 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27351         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27352         detection.
27354 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27356         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27357         fanotify_mark.
27358         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27360 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27362         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27363         variables after CHECK_SP call.
27364         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27366 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27367             Ulrich Drepper  <drepper@redhat.com>
27369         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27370         re-relocationg ld.so.
27371         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27372         _dl_init_paths call.
27373         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27374         here anymore.
27376 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27378         * resolv/res_init.c (__res_vinit): Count the default server we added.
27380 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27381             Ulrich Drepper  <drepper@redhat.com>
27383         [BZ #11968]
27384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27385         (____longjmp_chk): Use %ebx for saving value across system call.
27386         Add unwind info.
27388 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27390         * manual/Makefile: Don't mix pattern rules with normal rules.
27392 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27394         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27395         operation.
27396         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27397         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27398         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27399         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27400         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27401         Likewise.
27403 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27405         [BZ #11979]
27406         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27407         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27409 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27411         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27412         * sysdeps/x86_64/addmul_1.S: Likewise.
27413         * sysdeps/x86_64/lshift.S: Likewise.
27414         * sysdeps/x86_64/mul_1.S: Likewise.
27415         * sysdeps/x86_64/rshift.S: Likewise.
27416         * sysdeps/x86_64/sub_n.S: Likewise.
27417         * sysdeps/x86_64/submul_1.S: Likewise.
27419 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27421         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27422         Define __sched_param instead of SCHED_* and sched_param when
27423         <bits/sched.h> is included with __need_schedparam defined.
27424         * bits/sched.h [__need_schedparam]
27425         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27426         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27427         (__defined_schedparam): Define to 1.
27428         (__sched_param): New structure, identical to sched_param.
27429         (__need_schedparam): Undefine.
27431 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27433         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27434         (epoll_create1): Declare.
27436         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27438 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27440         [BZ #7066]
27441         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27442         shifting retval into place.
27444 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27446         * nis/rpcsvc/nis.h: Update copyright notice.
27447         * nis/rpcsvc/nis.x: Likewise.
27448         * nis/rpcsvc/nis_callback.h: Likewise.
27449         * nis/rpcsvc/nis_callback.x: Likewise.
27450         * nis/rpcsvc/nis_object.x: Likewise.
27451         * nis/rpcsvc/nis_tags.h: Likewise.
27452         * nis/rpcsvc/yp.h: Likewise.
27453         * nis/rpcsvc/yp.x: Likewise.
27454         * nis/rpcsvc/ypupd.h: Likewise.
27455         * nis/yp_xdr.c: Likewise.
27456         * nis/ypupdate_xdr.c: Likewise.
27458         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27459         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27460         (pmap_getport): Use __libc_rpc_getport.
27461         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27462         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27463         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27465 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27468         fanotify_mark.
27470 2010-08-27  Roland McGrath  <roland@redhat.com>
27472         * sysdeps/i386/i686/multiarch/Makefile
27473         (CFLAGS-varshift.c): New variable.
27475 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27477         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27478         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27480         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27482         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27484 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27486         * sysdeps/x86_64/strlen.S: Unroll the loop.
27487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27488         strlen-sse2 strlen-sse2-bsf.
27489         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27490         __strlen_no_bsf if bit_Slow_BSF is set.
27491         (__strlen_sse42): Removed.
27492         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27493         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27495 2010-08-25  Roland McGrath  <roland@redhat.com>
27497         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27498         * sysdeps/x86_64/multiarch/varshift.c: New file.
27499         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27500         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27501         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27502         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27504 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27507         strlen-sse2 strlen-sse2-bsf.
27508         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27509         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27510         (__strlen_sse2): Removed.
27511         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27512         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27514         bit_Slow_BSF for Atom.
27515         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27516         (index_Slow_BSF): Define.
27517         (HAS_SLOW_BSF): Define.
27519 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27521         [BZ #10851]
27522         * resolv/res_init.c (__res_vinit): When no server address at all
27523         is given default to loopback.
27525 2010-08-24  Roland McGrath  <roland@redhat.com>
27527         * configure.in: Remove config-name.h generation.
27528         * configure: Regenerated.
27529         * config-name.in: File removed.
27530         * scripts/config-uname.sh: New file.
27531         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27532         ($(objdir)config-name.h): New target.
27534         * sunrpc/rpc_parse.h: Avoid nested comment.
27536 2010-08-24  Richard Henderson  <rth@redhat.com>
27537             Ulrich Drepper  <drepper@redhat.com>
27538             H.J. Lu  <hongjiu.lu@intel.com>
27540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27542         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27543         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27544         _mm_alignr_epi8 with _mm_loadu_si128.
27545         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27546         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27547         (__m128i_shift_right): Removed.
27548         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27549         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27550         * sysdeps/x86_64/multiarch/varshift.h: New file.
27551         * sysdeps/x86_64/multiarch/varshift.S: New file.
27553 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27555         * configure.in: Move assembler checks to before sysdep dir checking.
27557 2010-08-20  Petr Baudis  <pasky@suse.cz>
27559         * LICENSES: Sync the sunrpc license.
27561 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27563         * sunrpc/auth_des.c: Update copyright notice once again.
27564         * sunrpc/auth_none.c: Likewise.
27565         * sunrpc/auth_unix.c: Likewise.
27566         * sunrpc/authdes_prot.c: Likewise.
27567         * sunrpc/authuxprot.c: Likewise.
27568         * sunrpc/bindrsvprt.c: Likewise.
27569         * sunrpc/clnt_gen.c: Likewise.
27570         * sunrpc/clnt_perr.c: Likewise.
27571         * sunrpc/clnt_raw.c: Likewise.
27572         * sunrpc/clnt_simp.c: Likewise.
27573         * sunrpc/clnt_tcp.c: Likewise.
27574         * sunrpc/clnt_udp.c: Likewise.
27575         * sunrpc/clnt_unix.c: Likewise.
27576         * sunrpc/des_crypt.c: Likewise.
27577         * sunrpc/des_soft.c: Likewise.
27578         * sunrpc/get_myaddr.c: Likewise.
27579         * sunrpc/getrpcport.c: Likewise.
27580         * sunrpc/key_call.c: Likewise.
27581         * sunrpc/key_prot.c: Likewise.
27582         * sunrpc/openchild.c: Likewise.
27583         * sunrpc/pm_getmaps.c: Likewise.
27584         * sunrpc/pm_getport.c: Likewise.
27585         * sunrpc/pmap_clnt.c: Likewise.
27586         * sunrpc/pmap_prot.c: Likewise.
27587         * sunrpc/pmap_prot2.c: Likewise.
27588         * sunrpc/pmap_rmt.c: Likewise.
27589         * sunrpc/rpc/auth.h: Likewise.
27590         * sunrpc/rpc/auth_unix.h: Likewise.
27591         * sunrpc/rpc/clnt.h: Likewise.
27592         * sunrpc/rpc/des_crypt.h: Likewise.
27593         * sunrpc/rpc/key_prot.h: Likewise.
27594         * sunrpc/rpc/netdb.h: Likewise.
27595         * sunrpc/rpc/pmap_clnt.h: Likewise.
27596         * sunrpc/rpc/pmap_prot.h: Likewise.
27597         * sunrpc/rpc/pmap_rmt.h: Likewise.
27598         * sunrpc/rpc/rpc.h: Likewise.
27599         * sunrpc/rpc/rpc_des.h: Likewise.
27600         * sunrpc/rpc/rpc_msg.h: Likewise.
27601         * sunrpc/rpc/svc.h: Likewise.
27602         * sunrpc/rpc/svc_auth.h: Likewise.
27603         * sunrpc/rpc/types.h: Likewise.
27604         * sunrpc/rpc/xdr.h: Likewise.
27605         * sunrpc/rpc_clntout.c: Likewise.
27606         * sunrpc/rpc_cmsg.c: Likewise.
27607         * sunrpc/rpc_common.c: Likewise.
27608         * sunrpc/rpc_cout.c: Likewise.
27609         * sunrpc/rpc_dtable.c: Likewise.
27610         * sunrpc/rpc_hout.c: Likewise.
27611         * sunrpc/rpc_main.c: Likewise.
27612         * sunrpc/rpc_parse.c: Likewise.
27613         * sunrpc/rpc_parse.h: Likewise.
27614         * sunrpc/rpc_prot.c: Likewise.
27615         * sunrpc/rpc_sample.c: Likewise.
27616         * sunrpc/rpc_scan.c: Likewise.
27617         * sunrpc/rpc_scan.h: Likewise.
27618         * sunrpc/rpc_svcout.c: Likewise.
27619         * sunrpc/rpc_tblout.c: Likewise.
27620         * sunrpc/rpc_util.c: Likewise.
27621         * sunrpc/rpc_util.h: Likewise.
27622         * sunrpc/rpcinfo.c: Likewise.
27623         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27624         * sunrpc/rpcsvc/key_prot.x: Likewise.
27625         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27626         * sunrpc/rpcsvc/mount.x: Likewise.
27627         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27628         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27629         * sunrpc/rpcsvc/rex.x: Likewise.
27630         * sunrpc/rpcsvc/rstat.x: Likewise.
27631         * sunrpc/rpcsvc/rusers.x: Likewise.
27632         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27633         * sunrpc/rpcsvc/spray.x: Likewise.
27634         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27635         * sunrpc/rtime.c: Likewise.
27636         * sunrpc/svc.c: Likewise.
27637         * sunrpc/svc_auth.c: Likewise.
27638         * sunrpc/svc_authux.c: Likewise.
27639         * sunrpc/svc_raw.c: Likewise.
27640         * sunrpc/svc_run.c: Likewise.
27641         * sunrpc/svc_simple.c: Likewise.
27642         * sunrpc/svc_tcp.c: Likewise.
27643         * sunrpc/svc_udp.c: Likewise.
27644         * sunrpc/svc_unix.c: Likewise.
27645         * sunrpc/svcauth_des.c: Likewise.
27646         * sunrpc/xcrypt.c: Likewise.
27647         * sunrpc/xdr.c: Likewise.
27648         * sunrpc/xdr_array.c: Likewise.
27649         * sunrpc/xdr_float.c: Likewise.
27650         * sunrpc/xdr_mem.c: Likewise.
27651         * sunrpc/xdr_rec.c: Likewise.
27652         * sunrpc/xdr_ref.c: Likewise.
27653         * sunrpc/xdr_sizeof.c: Likewise.
27654         * sunrpc/xdr_stdio.c: Likewise.
27656         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27657         handling.
27659 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27661         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27663 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27665         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27666         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27667         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27668         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27669         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27670         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27671         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27672         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27674         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27675         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27676         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27677         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27678         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27680 2010-07-26  Anton Blanchard  <anton@samba.org>
27682         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27683         * malloc/arena.c (heap_trim): Likewise.
27685 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27687         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27688         here.  Not...
27689         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27690         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27692 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27694         * sysdeps/i386/elf/Makefile: New file.
27696 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27698         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27699         from fanotify_init.
27700         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27701         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27703 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27705         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27706         of strncasecmp_l.
27707         * sysdeps/multiarch/strcmp.S: Likewise.
27709 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27711         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27712         strncase_l-nonascii.
27713         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27714         Add strncase_l-ssse3.
27715         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27716         * sysdeps/x86_64/strcmp.S: Likewise.
27717         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27718         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27719         * sysdeps/x86_64/strncase.S: New file.
27720         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27721         * sysdeps/x86_64/strncase_l.S: New file.
27722         * string/Makefile (strop-tests): Add strncasecmp.
27723         * string/test-strncasecmp.c: New file.
27725         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27726         warning.
27728         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27729         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27731 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27733         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27735 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27737         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27738         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27739         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27741 2010-05-01  Alan Modra  <amodra@gmail.com>
27743         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27744         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27745         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27746         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27747         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27748         tidying.  Don't tail-call __sigjmp_save for static lib.
27749         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27750         save location.
27751         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27752         (CALL_MCOUNT): Add eh info, and nop after bl.
27753         (TAIL_CALL_SYSCALL_ERROR): New macro.
27754         (PSEUDO_RET): Use it.
27755         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27756         Correct save location of integer regs and cr.
27757         (_dl_profile_resolve): Correct cr save location.  Delete nops
27758         after bl when SHARED.  Reduce cfi size a little by better
27759         placement of cfi directives.
27760         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27761         make a stack frame.  Instead use parm save area as a temp.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27763         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27765         Don't make a stack frame for parent, use parm save area.
27766         Increase child stack frame to 112 bytes.  Don't save unused reg,
27767         and adjust reg usage.  Set up cfi on error recovery and
27768         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27770         (__makecontext): Add dummy nop after jump to exit.
27771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27772         Use correct parm save area and cr save, reduce stack frame.
27773         Correct cfi for possible PSEUDO_RET frame setup.
27774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27775         Branch to local label emitted by PSEUDO_RET rather than
27776         __syscall_error.
27778 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27780         [BZ #11904]
27781         * locale/programs/locale.c (print_assignment): New function.
27782         (show_locale_vars): Use it.
27784 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27786         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27787         field.
27788         (struct statfs64): Likewise.
27789         (_STATFS_F_FLAGS): Define.
27790         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27791         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27792         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27793         (ST_VALID): Define locally.
27794         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27795         __statvfs_getflags, use the provided value.
27796         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27797         __ASSUME_STATFS_F_FLAGS.
27799         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27801         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27802         Add sys/fanotify.h.
27803         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27804         fanotify_mask for GLIBC_2.13.
27805         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27806         fanotify_init and fanotify_mark.
27807         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27808         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27810         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27811         Add prlimit.
27812         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27813         prlimit64 for GLIBC_2.13.
27814         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27815         prlimit64.
27816         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27817         syscall.
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27820         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27821         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27822         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27823         add prlimit alias.
27824         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27826         [BZ #11903]
27827         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27828         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27830         * nss/Makefile: Add rules to build and run tst-nss-test1.
27831         * shlib-versions: Add entry for libnss_test1.
27832         * nss/nss_test1.c: New file.
27833         * nss/tst-nss-test1.c: New file.
27835         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27836         (__nss_configure_lookup): Set appropriate entry in
27837         __nss_configure_lookup to true.
27838         * nss/nsswitch.h: Define enum with indeces of databases in
27839         databases and __nss_database_custom arrays.  Declare
27840         __nss_database_custom.
27841         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27842         to avoid using nscd when custom rules are installed.
27843         * nss/getXXbyYY_r.c: Likewise.
27844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27846         * nss/nss_files/files-parse.c: Whitespace fixes.
27848 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27850         [BZ #11883]
27851         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27852         * posix/fnmatch_loop.c: Likewise.
27854 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27856         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27857         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27858         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27859         * Versions.def [GLIBC_2.13]: Add.
27861 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27863         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27864         Also fail if tpwd after pwuid call is NULL.
27866 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27868         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27869         when converting to ms.
27871 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27873         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27874         EOPNOTSUPP errors with ENOTTY.
27875         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27876         EOPNOTSUPP errors with ENOTTY.
27878 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27880         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27881         Add strcasecmp_l-ssse3.
27882         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27883         strcasecmp.
27884         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27885         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27886         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27888 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27890         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27892         * string/Makefile (strop-tests): Add strcasecmp.
27893         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27894         strcasecmp_l-nonascii.
27895         (gen-as-const-headers): Add locale-defines.sym.
27896         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27897         * sysdeps/x86_64/strcasecmp.S: New file.
27898         * sysdeps/x86_64/strcasecmp_l.S: New file.
27899         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27900         * sysdeps/x86_64/locale-defines.sym: New file.
27901         * string/test-strcasecmp.c: New file.
27903         * string/test-strcasestr.c: Test both ends of the range of characters.
27904         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27906 2010-07-29  Roland McGrath  <roland@redhat.com>
27908         [BZ #11856]
27909         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27911 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27913         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27914         for ld.so.
27916 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27918         * manual/memory.texi (Malloc Tunable Parameters): Document
27919         M_PERTURB.
27921 2010-07-26  Roland McGrath  <roland@redhat.com>
27923         [BZ #11840]
27924         * configure.in (-fgnu89-inline check): Set and substitute
27925         gnu89_inline, not libc_cv_gnu89_inline.
27926         * configure: Regenerated.
27927         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27929 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27931         * string/test-strnlen.c: New file.
27932         * string/Makefile (strop-tests): Add strnlen.
27933         * string/tester.c (test_strnlen): Add a few more test cases.
27934         * string/tst-strlen.c: Better error reporting.
27936         * sysdeps/x86_64/strnlen.S: New file.
27938 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27940         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27941         lower-latency instructions.
27943 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27945         * string/test-strcasestr.c: New file.
27946         * string/test-strstr.c: New file.
27947         * string/Makefile (strop-tests): Add strstr and strcasestr.
27948         * string/str-two-way.h: Don't undefine MAX.
27949         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27951 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27954         strcasestr-nonascii.
27955         (CFLAGS-strcasestr-nonascii.c): Define.
27956         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27957         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27958         Remove unused attribute.
27960 2010-07-20  Roland McGrath  <roland@redhat.com>
27962         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27963         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27964         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27965         like LD_HWCAP_MASK can disable hwcaps.
27967 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27969         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27971 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27973         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27974         call in strcasestr.
27975         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27976         __strcasestr_sse42_nonascii.
27977         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27978         strcasestr-nonascii.c.
27979         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27981 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27983         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27984         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27985         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27986         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27988 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27990         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27991         fcntl.
27993 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27995         [BZ #11577]
27996         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27997         dl_signal_cerror.
27999 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28001         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28002         _PC_PIPE_BUF using F_GETPIPE_SZ.
28004 2010-07-05  Roland McGrath  <roland@redhat.com>
28006         * manual/arith.texi (Rounding Functions): Fix rint description
28007         implicit in round description.
28009 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28011         * elf/Makefile: Fix linking for a few tests to make recent linker
28012         happy.
28014 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28016         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28017         $(common-objpfx)libc_nonshared.a.
28019 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28021         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28022         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28023         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28024         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28025         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28026         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28027         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28028         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28043         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28044         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28045         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28046         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28047         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28048         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28049         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28050         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28051         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28052         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28053         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28054         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28070 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28072         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28073         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28074         * string/memmove.c (memmove): Renamed to ...
28075         (MEMMOVE): ...this.  Default to memmove.
28076         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28077         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28078         (END_CHK): Define.
28079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28080         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28081         mempcpy-ssse3-back memmove-ssse3-back.
28082         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28083         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28084         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28085         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28086         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28087         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28088         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28089         * sysdeps/x86_64/multiarch/memmove.c: New file.
28090         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28091         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28092         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28093         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28094         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28096         Define.
28097         (index_Fast_Copy_Backward): Define.
28098         (HAS_ARCH_FEATURE): Define.
28099         (HAS_FAST_REP_STRING): Define.
28100         (HAS_FAST_COPY_BACKWARD): Define.
28102 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28104         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28105         Restore proper fallback handling.
28107 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28109         [BZ #11701]
28110         * posix/group_member.c (__group_member): Correct checking loop.
28112         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28113         OOM in getpwuid_r correctly.  Return error number when the caller
28114         should return, otherwise -1.
28115         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28116         call returning > 0 value.
28117         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28119 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28121         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28122         libc_nonshared.a from targets in modules-names.
28124 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28126         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28127         requires it.
28129 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28131         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28132         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28133         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28134         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28136 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28138         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28140 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28142         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28143         and F_GETPIPE_SZ.
28144         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28145         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28148         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28149         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28151 2010-06-14  Roland McGrath  <roland@redhat.com>
28153         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28155 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28157         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28158         __REDIRECT followed by __THROW.
28159         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28160         * posix/getopt.h (getopt): Likewise.
28162 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28164         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28165         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28166         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28167         in AT_FLAGS.
28168         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28169         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28171 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28173         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28175 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28177         [BZ #11640]
28178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28179         Properly check family and model.
28181 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28183         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28185 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28187         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28189 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28191         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28192         symbol reference.
28194 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28196         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28197         symbol reference.
28199 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28201         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28202         and internal_recvmmsg.
28203         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28204         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28205         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28206         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28208         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28209         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28210         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28212 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28214         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28216 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28218         POWER7 optimizations.
28219         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28220         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28222 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28224         * version.h: Update for 2.13 development version.
28226 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28228         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28229         exceptions.  Return 0.
28231 2010-05-07  Roland McGrath  <roland@redhat.com>
28233         * elf/ldconfig.c (main): Add a const.
28235 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28237         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28238         (args_options): Add no-idn option.
28239         (ahosts_keys_int): Add idn_flags to ai_flags.
28240         (parse_option): Handle 'i' option to clear idn_flags.
28242         * malloc/malloc.c (_int_free): Possible race in the most recently
28243         added check.  Only act on the data if no current modification
28244         happened.
28246 See ChangeLog.17 for earlier changes.