Maintain runtime of each benchmark at ~10 seconds
[glibc.git] / ChangeLog
blob07ec4d05e2bc0cd7a355ea57f33c66f5d6ed4101
1 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
4         in CPPFLAGS.
5         ($(objpfx)bench-%.c): Remove *-ITER.
6         * benchtests/bench-modf.c: Remove definition of ITER.
7         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8         (main): Loop for DURATION seconds instead of fixed number of
9         iterations.
10         * scripts/bench.pl: Don't expect iterations in parameters.
12 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14         * io/fchdir.c (__fchdir): Renamed from fchdir.
15         (fchdir): Define as weak alias.
17 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20         (ERRNO_EDOM): Likewise.
21         (ERRNO_ERANGE): Likewise.
22         (noErrnoTests): New variable.
23         (init_max_error): Set errno to 0.
24         (test_single_errno): New function.
25         (test_errno): Likewise.
26         (check_float_internal): Call test_errno.  Set errno to 0.
27         (check_complex): Refer to errno tests in comment.
28         (check_int): Call test_errno.  Set errno to 0.
29         (check_long): Likewise.
30         (check_bool): Likewise.
31         (check_longlong): Likewise.
32         (cos_test): Use ERRNO_* flags for errno tests instead of
33         check_int.
34         (expm1_test): Likewise.
35         (fmod_test): Likewise.
36         (ilogb_test): Likewise.
37         (lgamma_test): Likewise.
38         (pow_test): Likewise.
39         (remainder_test): Likewise.
40         (sin_test): Likewise.
41         (tan_test): Likewise.
42         (yn_test): Likewise.
43         (initialize): Set errno to 0.
44         (main): Print number of errno tests.
45         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47 2013-04-29  Andreas Jaeger  <aj@suse.de>
49         [BZ #15084]
50         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51         and RES_USEVC.
53         [BZ #15085]
54         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56         unimplemented.
58         [BZ #15380]
59         * stdlib/random.c (__initstate): Return NULL if
60         __initstate fails.
62         [BZ #15086]
63         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65         RES_SNGLKUPREOP.
67 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
73         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
74         of individual tests.
75         (casin_test): Likewise.
76         (casinh_test): Likewise.
78 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
80         [BZ #15409]
81         * math/s_catan.c (__catan): Handle arguments with large real or
82         imaginary part separately without squaring.
83         * math/s_catanf.c (__catanf): Likewise.
84         * math/s_catanh.c (__catanh): Likewise.
85         * math/s_catanhf.c (__catanhf): Likewise.
86         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
87         and redefine.
88         (__catanhl): Handle arguments with large real or imaginary part
89         separately without squaring.
90         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
91         and redefine.
92         (__catanl): Handle arguments with large real or imaginary part
93         separately without squaring.
94         * math/libm-test.inc (catan_test): Add more tests.
95         (catanh_test): Likewise.
96         * sysdeps/i386/fpu/libm-test-ulps: Update.
97         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
99 2013-04-27  Andreas Jaeger  <aj@suse.de>
101         [BZ #15007]
102         * stdlib/stdlib.h: Update guards for qecvt.
103         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
104         <stdlib.h>.
106 2013-04-27  Allan McRae  <allan@archlinux.org>
108         * sysdeps/i386/fpu/libm-test-ulps: Update.
110 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
112         [BZ #15406]
113         * math/s_catan.c: Include <float.h>.
114         (__catan): Ensure underflow exception occurs for underflowed
115         result.
116         * math/s_catanf.c: Include <float.h>.
117         (__catanf): Ensure underflow exception occurs for underflowed
118         result.
119         * math/s_catanh.c: Include <float.h>.
120         (__catanh): Ensure underflow exception occurs for underflowed
121         result.
122         * math/s_catanhf.c: Include <float.h>.
123         (__catanhf): Ensure underflow exception occurs for underflowed
124         result.
125         * math/s_catanhl.c: Include <float.h>.
126         (__catanhl): Ensure underflow exception occurs for underflowed
127         result.
128         * math/s_catanl.c: Include <float.h>.
129         (__catanl): Ensure underflow exception occurs for underflowed
130         result.
131         * math/libm-test.inc (catan_test): Add more tests.
132         (catanh_test): Likewise.
134         [BZ #15405]
135         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
136         underflowed result.
137         * math/s_ccoshf.c (__ccoshf): Likewise.
138         * math/s_ccoshl.c (__ccoshl): Likewise.
139         * math/s_csin.c (__csin): Likewise.
140         * math/s_csinf.c (__csinf): Likewise.
141         * math/s_csinh.c (__csinh): Likewise.
142         * math/s_csinhf.c (__csinhf): Likewise.
143         * math/s_csinhl.c (__csinhl): Likewise.
144         * math/s_csinl.c (__csinl): Likewise.
145         * math/libm-test.inc (ccos_test): Add more tests.
146         (ccosh_test): Likewise.
147         (csin_test): Likewise.
148         (csinh_test): Likewise.
150 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
152         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
153         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
154         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
155         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
156         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
157         powerpc/power5+/fpu folders.
158         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
161 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
165 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
167         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
168         additions to variable.
169         [$(config-machine) = x86_64] (modules-names): Likewise.
170         ($(objpfx)tst-audit3): Remove dependency.
171         ($(objpfx)tst-audit3.out): Likewise.
172         ($(objpfx)tst-audit4): Likewise.
173         ($(objpfx)tst-audit4.out): Likewise.
174         ($(objpfx)tst-audit5): Likewise.
175         ($(objpfx)tst-audit5.out): Likewise.
176         ($(objpfx)tst-audit6): Likewise.
177         ($(objpfx)tst-audit6.out): Likewise.
178         ($(objpfx)tst-audit7): Likewise.
179         ($(objpfx)tst-audit7.out): Likewise.
180         (tst-audit3-ENV): Remove variable.
181         (tst-audit4-ENV): Likewise.
182         (tst-audit5-ENV): Likewise.
183         (tst-audit6-ENV): Likewise.
184         (tst-audit7-ENV): Likewise.
185         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
186         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
187         addition to variable.
188         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
189         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
190         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
191         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
192         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
193         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
194         tst-audit3, tst-audit4 and tst-audit5.
195         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
196         tst-audit6 and tst-audit7.
197         [$(subdir) = elf] (modules-names): Add audit modules for those
198         tests.
199         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
200         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
201         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
202         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
203         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
204         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
205         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
206         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
207         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
208         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
209         [$(subdir) = elf] (tst-audit3-ENV): New variable.
210         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
211         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
212         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
213         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
214         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
215         Likewise.
216         [$(subdir) = elf && $(config-cflags-avx) = yes]
217         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
218         [$(subdir) = elf && $(config-cflags-avx) = yes]
219         (CFLAGS-tst-auditmod4a.c): Likewise.
220         [$(subdir) = elf && $(config-cflags-avx) = yes]
221         (CFLAGS-tst-auditmod4b.c): Likewise.
222         [$(subdir) = elf && $(config-cflags-avx) = yes]
223         (CFLAGS-tst-auditmod6b.c): Likewise.
224         [$(subdir) = elf && $(config-cflags-avx) = yes]
225         (CFLAGS-tst-auditmod6c.c): Likewise.
226         [$(subdir) = elf && $(config-cflags-avx) = yes]
227         (CFLAGS-tst-auditmod7b.c): Likewise.
228         * elf/tst-audit3.c: Move to ...
229         * sysdeps/x86_64/tst-audit3.c: ... here.
230         * elf/tst-audit4.c: Move to ...
231         * sysdeps/x86_64/tst-audit4.c: ... here.
232         * elf/tst-audit5.c: Move to ...
233         * sysdeps/x86_64/tst-audit5.c: ... here.
234         * elf/tst-audit6.c: Move to ...
235         * sysdeps/x86_64/tst-audit6.c: ... here.
236         * elf/tst-audit7.c: Move to ...
237         * sysdeps/x86_64/tst-audit7.c: ... here.
238         * elf/tst-auditmod3a.c: Move to ...
239         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
240         * elf/tst-auditmod3b.c: Move to ...
241         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
242         * elf/tst-auditmod4a.c: Move to ...
243         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
244         * elf/tst-auditmod4b.c: Move to ...
245         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
246         * elf/tst-auditmod5a.c: Move to ...
247         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
248         * elf/tst-auditmod5b.c: Move to ...
249         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
250         * elf/tst-auditmod6a.c: Move to ...
251         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
252         * elf/tst-auditmod6b.c: Move to ...
253         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
254         * elf/tst-auditmod6c.c: Move to ...
255         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
256         * elf/tst-auditmod7a.c: Move to ...
257         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
258         * elf/tst-auditmod7b.c: Move to ...
259         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
261 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
263         [BZ #15366]
264         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
265         define unconditionally.
266         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
267         define unconditionally.
268         (INT8_C, INT16_C, etc.): Likewise.
270 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
272         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
273         __ehdr_start with hidden visibility.
275         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
277 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
279         * math/libm-test.inc (cos_test): Use accurate hex constants.
280         (sincost_test): Likewise.
282 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
284         * math/libm-test.inc (catan_test): Add more tests.
285         (catanh_test): Likewise.
287         * math/s_catanf.c (__catanf): Use suffixed floating-point
288         constants.
289         * math/s_catanhf.c (__catanhf): Likewise.
290         * math/s_catanhl.c (__catanhl): Likewise.
291         * math/s_catanl.c (__catanl): Likewise.
293         [BZ #15394]
294         * math/s_catan.c (__catan): Calculate imaginary part of result
295         with log1p not log unless computing log of number close to 0.
296         * math/s_catanf.c (__catanf): Likewise.
297         * math/s_catanl.c (__catanl): Likewise.
298         * math/s_catanh.c (__catanh): Calculate real part of result with
299         log1p not log unless computing log of number close to 0.
300         * math/s_catanhf.c (__catanhf): Likewise.
301         * math/s_catanhl.c (__catanhl): Likewise.
302         * math/libm-test.inc (catan_test): Add more tests.
303         (catanh_test): Likewise.
304         * sysdeps/i386/fpu/libm-test-ulps: Update.
305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
307 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
309         * benchtests/Makefile: Mention files in which fast and slow
310         paths of math functions are implemented.
312 2013-04-23  Roland McGrath  <roland@hack.frob.com>
314         * sysdeps/posix/timespec_get.c: New file.
316 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
318         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
319         POWER.
320         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
321         for POWER.
322         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
323         powerpc/power5/fpu folders.
324         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
325         * benchtests/Makefile: Add modf testcase.
326         * benchtests/bench-modf.c: New file: Benchmark test for mo
328 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
330         [BZ #14888]
331         * time/Makefile (tests): Add tst-strptime-whitespace.
332         * time/strptime_l.c (get_number): Use ISSPACE.
333         (__strptime_internal): Likewise.
334         * time/tst-strptime-whitespace.c: New test case.
336 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
338         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
339         member.
340         (_nss_files_init): Set it here.
342 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
344         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
345         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
346         unsigned.
348 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
350         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
352 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
355         size just once.
357 2013-04-21  David S. Miller  <davem@davemloft.net>
359         * po/ru.po: Update Russion translation from translation project.
361 2013-04-17  Adam Conrad  <adconrad@0c3.net>
363         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
364         and setfsgid.
366 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
368         * configure.in: Remove i386 configure warning. Remove i386 case.
369         * configure: Regenerate.
370         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
371         Add example to error message.
372         * sysdeps/i386/configure: Regenerate.
374 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
376         * benchtests/Makefile (bench): Add cos, tan, slowcos and
377         slowtan.
378         * benchtests/cos-inputs: New file.
379         * benchtests/slowcos-inputs: New file.
380         * benchtests/slowcos.c: New file.
381         * benchtests/slowtan-inputs: New file.
382         * benchtests/slowtan.c: New file.
383         * benchtests/tan-inputs: New file.
385 2013-04-16  Roland McGrath  <roland@hack.frob.com>
387         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
388         considered kosher.
390 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
392         * benchtests/Makefile: Include cppflags-iterator.mk to add
393         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
395         * Makefile.in (bench-clean): New target.
396         * benchtests/Makefile (bench-clean): Likewise.
398 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
400         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
402 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
404         * stdio-common/tstdiomisc.c: Fix coding-style violation.
406 2013-04-15  Andreas Schwab  <schwab@suse.de>
408         * nscd/grpcache.c (cache_addgr): Properly check for short write.
409         * nscd/initgrcache.c (addinitgroupsX): Likewise.
410         * nscd/pwdcache.c (cache_addpw): Likewise.
411         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
412         more than recsize.
414 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
416         * benchtests/Makefile (bench): Write all output to
417         bench-out.tmp together.
419 2013-04-15  Andreas Schwab  <schwab@suse.de>
421         * nscd/nscd.c (main): Don't fork again after closing files.
423 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
425         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
427         * benchtests/Rules (bench-deps): Collect dependencies into a
428         single variable.  Add Makefile to dependencies.
429         ($(objpfx)bench-%.c): Depend on bench-deps.
431 2013-04-12  Roland McGrath  <roland@hack.frob.com>
432             Xavier Roche  <roche+kml2@exalead.com>
434         [BZ #15361]
435         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
436         just that it's a file descriptor.
437         * manual/llio.texi (Synchronizing AIO Operations): Update description
438         for EBADF error from aio_fsync.
440 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
442         * Rules (bench): Move target definition...
443         * benchtests/Makefile: ... here.
445 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
447         * math/libm-test.inc (cos_test): Fix PI/2 test.
448         (sincos_test): Likewise.
449         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
450         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
452 2013-04-11  Andreas Schwab  <schwab@suse.de>
454         [BZ #13988]
455         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
456         accept exponent character only when digits were seen.
457         * stdio-common/Makefile (tests): Add bug26.
458         * stdio-common/bug26.c: New file.
460         [BZ #14293]
461         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
462         non-freeable.
464 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
466         * Makeconfig (rtld-prefix): Define built linker prefix.
467         * Rules (run-bench): Use it.
468         * math/Makefile (run-regen-ulps): Likewise.
470         * Rules (bench): Remove eval.
472 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
473             Roland McGrath  <roland@hack.frob.com>
474             Ondrej Bilka  <neleai@seznam.cz>
476         [BZ #15346]
477         * time/getdate.c: Include ctype.h and alloca.h.
478         (__getdate_r): Trim leading and trailing spaces of input.
479         * time/tst-getdate.c (tests): Add tests with leading and
480         trailing spaces.
482 2013-04-08  Roland McGrath  <roland@hack.frob.com>
484         [BZ #14280]
485         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
486         when computing value.
488 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
490         * math/README.libm-test (How can I generate "libm-test-ulps"?):
491         Use testrun.sh to run libm tests.
493         [BZ #15309]
494         * elf/dl-open.c (dl_open_worker): memset all of seen array.
496 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
498         [BZ #15264]
499         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
501 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
503         * Makefile.in (regen-ulps): New target.
504         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
505         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
506         [ifneq (no,$(PERL)] (regen-ulps): New target.
507         [ifeq (no,$(PERL)] (regen-ulps): New target.
508         * math/libm-test.inc (ulps_file_name): Define.
509         (output_dir): New variable.
510         (options): Add "output-dir" option.
511         (parse_opt): Handle 'o' case.
512         (main): If output_dir is non-NULL use it as a prefix
513         otherwise use "".
514         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
516 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
518         [BZ #10060, #10062]
519         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
520         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
521         fail configure if __sync_val_compare_and_swap is not inlined.
522         * sysdeps/i386/configure: Regenerate.
523         * configure.in: Build for i686 when configured for i386.
524         * configure: Regenerate.
525         * README: Remove i386 reference.
527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
529         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
530         * sysdeps/s390/s390-64/sysdep.h: Likewise.
532 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
534         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
535         (lmsnanval): New variables.
536         (F): Add conversion tests.
537         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
538         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
540         * stdio-common/tstdiomisc.c (F): Properly collect individual
541         tests' results.
543         [BZ #14686, #15336]
544         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
545         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
546         Instead, use input NaN values or generate a qNaN by arithmetic
547         operation.  Also fix bugs to comply with the standard.
548         * math/libm-test.inc (remainder_test): Add more tests.
550         [BZ #15335, #15342]
551         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
553         input NaN values or generate a qNaN by arithmetic operation.
555         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
556         unreachable code.
558         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
559         definitions.
561 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
563         [BZ #14478]
564         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
565         underflowed result.
566         * math/s_cexpf.c (__cexpf): Likewise.
567         * math/s_cexpl.c (__cexpl): Likewise.
568         * math/libm-test.inc (cexp_test): Add more tests.
570 2013-04-03  Andreas Schwab  <schwab@suse.de>
572         [BZ #15330]
573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
574         order arrays from heap if bigger than alloca cutoff.
576 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
578         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
579         (SNAN_TESTS_double): Refer to GCC PR56831.
580         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
581         GCC PR56828.
583 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
585         * Rules (bench): Move bench.out after the run is complete.
587         * Rules (bench): Echo currently running benchmark.
589         * benchtests/Makefile (bench): Add atan and slowatan.
590         * benchtests/atan-inputs: New file.
591         * benchtests/slowatan-inputs: New file.
592         * benchtests/slowatan.c: New file.
594         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
595         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
596         its value.
598         [BZ #15305]
599         * sysdeps/unix/sysv/linux/kernel-features.h
600         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
601         __ASSUME_XFS_RESTRICTED_CHOWN.
602         * sysdeps/unix/sysv/linux/pathconf.c
603         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
604         Save and restore errno.
606 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
608         [BZ #15327]
609         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
610         arguments using __kernel_casinh.
611         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
612         arguments using __kernel_casinhf.
613         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
614         arguments using __kernel_casinhl.
615         * math/libm-test.inc (cacosh_test): Add more tests.
616         * sysdeps/i386/fpu/libm-test-ulps: Update.
617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
621         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
624         * bench/Makefile (bench): Add sin and slowsin.
625         * benchtests/sin-inputs: New file.
626         * benchtests/slowsin-inputs: New file.
627         * benchtests/slowsin.c: New file.
629         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
630         (bench): Add slowexp and slowpow.
631         (exp-ITER): Increase iterations.
632         (pow-ITER): Likewise.
633         * benchtests/exp-inputs: Change input.
634         * benchtests/pow-inputs: Likewise.
635         * benchtests/slowexp-inputs: New file.
636         * benchtests/slowexp.c: New file.
637         * benchtests/slowpow-inputs: New file.
638         * benchtests/slowpow.c: New file.
640 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
642         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
643         instructions.
644         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
645         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
646         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
647         * benchtests/Makefile: Add rint benchtest.
648         * benchtests/rint-inputs: Input for rint benchtest.
650 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
652         * Versions.def (libm): Add GLIBC_2.18.
653         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
654         hidden libm prototypes.
655         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
656         * math/Makefile (libm-calls): Add s_issignaling.
657         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
658         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
659         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
660         declaration.
661         * math/math.h [__USE_GNU] (issignaling): New macro.
662         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
663         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
664         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
665         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
667         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
668         * manual/arith.texi (issignaling): New section.
669         * manual/libm-err-tab.pl (@all_functions): Update comment.
670         * math/gen-libm-test.pl (parse_args): Apply special handling for
671         issignaling.
672         * math/libm-test.inc (print_float, issignaling_test): New
673         functions.
674         (check_float_internal): Add issignaling checks.
675         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
676         default definition.
677         * sysdeps/powerpc/math-tests.h: New file.
678         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
679         tests.
680         * math/test-snan.c (TEST_FUNC): Likewise.
682 2013-03-30  David S. Miller  <davem@davemloft.net>
684         * po/de.po: Update from translation team.
686 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
688         [BZ #10357]
689         * math/k_casinh.c (__kernel_casinh): Handle arguments with
690         imaginary part less than 1.0 and real part less than 0.5
691         specially.
692         * math/k_casinhf.c (__kernel_casinhf): Likewise.
693         * math/k_casinhl.c (__kernel_casinhl): Likewise.
694         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
695         (cacos_test): Add more tests.
696         (casin_test): Likewise.
697         (casinh_test): Likewise.
698         * sysdeps/i386/fpu/libm-test-ulps: Update.
699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
701 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
703         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
704         ONE with its value.
706         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
707         (__pow_mp): Replace ONE and MONE with their values.
708         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
710         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
711         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
712         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
713         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
715         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
717         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
718         (__pow_mp): Replace ZERO and MZERO with their values.
719         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
720         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
721         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
723         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
724         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
725         (__sqr): Likewise.
727         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
729         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
731 2013-03-28  Roland McGrath  <roland@hack.frob.com>
733         * include/stdlib.h [!SHARED] (__call_tls_dtors):
734         Declare with __attribute__ ((weak)).
735         * stdlib/exit.c (__libc_atexit) [!SHARED]:
736         Call __call_tls_dtors only if it's not NULL.
738 2013-03-28  Roland McGrath  <roland@hack.frob.com>
740         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
741         didn't do it already, then set _dl_phdr and _dl_phnum based on the
742         magic __ehdr_start linker symbol if it's defined.
743         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
744         them up here if it was already done.
746         * elf/dl-support.c (_dl_phdr): Make pointer to const.
747         (_dl_aux_init): Use const in cast when setting it.
748         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
749         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
750         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
752         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
753         Declare them here.
754         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
755         * csu/libc-tls.c: Nor here.
756         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
758         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
759         (__libc_message): Never call vsyslog.
761 2013-03-28  Alan Modra  <amodra@gmail.com>
763         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
764         Define as empty.
765         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
766         Likewise.
768 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
770         [BZ #15214]
771         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
772         underflow.
773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
775 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
777         [BZ #15304]
778         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
779         Don't add gid passed as argument.
781         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
783 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
785         [BZ #15307]
786         * math/k_casinh.c (__kernel_casinh): Handle arguments with
787         imaginary part between 1.0 and 1.5 and real part less than 0.5
788         specially.
789         * math/k_casinhf.c (__kernel_casinhf): Likewise.
790         * math/k_casinhl.c (__kernel_casinhl): Likewise.
791         * math/libm-test.inc (cacos_test): Add more tests.
792         (casin_test): Likewise.
793         (casinh_test): Likewise.
794         * sysdeps/i386/fpu/libm-test-ulps: Update.
795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
797 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
799         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
800         constants.
801         (norm): Likewise.
802         (denorm): Likewise.
803         (__dbl_mp): Likewise.
804         (add_magnitudes): Likewise.
805         (sub_magnitudes): Likewise.
806         (__add): Likewise.
807         (__sub): Likewise.
808         (__mul): Likewise.
809         (__sqr): Likewise.
810         (__inv): Likewise.
811         (__dvd): Likewise.
813         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
814         commented code.
815         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
816         (__dubcos): Likewise.
817         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
818         (__ieee754_acos): Likewise.
819         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
820         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
821         (__exp1): Likewise.
822         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
824         (log1): Likewise.
825         (my_log2): Likewise.
826         (checkint): Likewise.
827         * sysdeps/ieee754/dbl-64/e_remainder.c
828         (__ieee754_remainder): Likewise.
829         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
830         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
831         (bsloww): Likewise.
832         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
834         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
835         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
836         MANTISSA_STORE_T to store computations on mantissa.  Use
837         macros for rounding and division.
838         (denorm): Likewise.
839         (__dbl_mp): Likewise.
840         (add_magnitudes): Likewise.
841         (sub_magnitudes): Likewise.
842         (__mul): Likewise.
843         (__sqr): Likewise.
844         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
845         powers of two in terms of TWOPOW macro.
846         (mp_no): Make type of mantissa as MANTISSA_T.
847         [!RADIXI]: Define RADIXI.
848         [!TWO52]: Define TWO52.
849         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
851 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
854         llroundl symbol when building for PPC32.
856 2013-03-24  Mark H Weaver  <mhw@netris.org>
858         * manual/arith.texi (Normalization Functions): Fix prototypes for
859         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
861 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863         [BZ #13889]
864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
865         high value to check if expl overflow.
866         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
867         to check for underflow and overflow.
868         * math/libm-test.inc: Add exp test.
870 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
872         [BZ #11120]
873         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
874         with NOT_IN_libc.
876 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
878         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
879         symbol.
881 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
883         * math/gen-libm-test.pl (parse_args, special_functions): Properly
884         wrap blocks consisting of several statements.
886         * sysdeps/generic/math-tests.h: New file.
887         * sysdeps/i386/fpu/math-tests.h: Likewise.
888         * math/test-snan.c: Include it.
889         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
891 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
893         [BZ #15285]
894         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
895         (__ieee754_j0l): Do not improve calculations using cos of twice
896         input for inputs above LDBL_MAX / 2.0L.
897         (__ieee754_y0l): Likewise.
898         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
899         (__ieee754_j1l): Do not improve calculations using cos of twice
900         input for inputs above LDBL_MAX / 2.0L.
901         (__ieee754_y1l): Likewise.
902         * math/libm-test.inc (j0_test): Add another test.
903         (j1_test): Likewise.
904         (y0_test): Likewise.
905         (y1_test): Likewise.
906         * sysdeps/i386/fpu/libm-test-ulps: Update.
908 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
910         * Rules ($(objpfx)bench-%.c): Include code from a C source
911         file.
913 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
915         [BZ #15287]
916         * math/k_casinh.c (__kernel_casinh): Handle arguments with
917         imaginary part 1.0 and real part less than 0.5 specially.
918         * math/k_casinhf.c (__kernel_casinhf): Likewise.
919         * math/k_casinhl.c (__kernel_casinhl): Likewise.
920         * math/libm-test.inc (cacos_test): Add more tests.
921         (casin_test): Likewise.
922         (casinh_test): Likewise.
923         * sysdeps/i386/fpu/libm-test-ulps: Update.
924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
926 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
928         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
929         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
931 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
933         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
934         * config.make.in (config-cflags-sse4): Remove variable.
935         (config-cflags-avx): Likewise.
936         (config-cflags-sse2avx): Likewise.
937         (config-cflags-novzeroupper): Likewise.
938         (config-asflags-i686): Likewise.
939         (have-mfma4): Likewise.
940         (have-as-vis3): Likewise.
941         (MIG): Likewise.
942         * configure.in (MIG): Do not AC_SUBST.
943         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
944         (libc_cv_cc_sse4): Do not AC_SUBST.
945         (libc_cv_cc_avx): Likewise.
946         (libc_cv_cc_sse2avx): Likewise.
947         (libc_cv_cc_novzeroupper): Likewise.
948         (libc_cv_cc_fma4): Likewise.
949         (libc_cv_as_i686): Likewise.
950         (libc_cv_sparc_as_vis3): Likewise.
951         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
952         LIBC_CONFIG_VAR.
953         (config-asflags-i686): Likewise.
954         (config-cflags-avx): Likewise.
955         (config-cflags-sse2avx): Likewise.
956         (have-mfma4): Likewise.
957         (config-cflags-novzeroupper): Likewise.
958         * sysdeps/mach/configure.in (MIG): Likewise.
959         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
960         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
961         LIBC_CONFIG_VAR.
962         (config-cflags-avx): Likewise.
963         (config-cflags-sse2avx): Likewise.
964         (have-mfma4): Likewise.
965         (config-cflags-novzeroupper): Likewise.
966         * configure: Regenerated.
967         * sysdeps/i386/configure: Likewise.
968         * sysdeps/mach/configure: Likewise.
969         * sysdeps/sparc/configure: Likewise.
970         * sysdeps/x86_64/configure: Likewise.
972 2013-03-20  Roland McGrath  <roland@hack.frob.com>
974         [BZ #14812]
975         * locale/programs/localedef.c (options): Put N_ translation marker
976         on argument names, not just descriptions.
978 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
980         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
982 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
984         [BZ #14176]
985         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
987 2013-03-19  Roland McGrath  <roland@hack.frob.com>
989         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
990         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
991         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
992         [!BEFORE_ABORT] (before_abort): New function.
993         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
994         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
995         (writev_for_fatal): New function.
996         (WRITEV_FOR_FATAL): New macro; call that.
997         (backtrace_and_maps): New function.
998         (BEFORE_ABORT): New macro; call that.
999         (struct str_list): Type removed.
1000         (__libc_message, __libc_fatal): Functions removed.
1001         Include <sysdeps/posix/libc_fatal.c> instead.
1003 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1005         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1006         constants.
1007         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1008         double constants.
1010 2013-03-19  Andreas Schwab  <schwab@suse.de>
1012         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1013         * sysdeps/gnu/configure: Regenerate.
1015         * configure.in: Substitute libc_cv_rtlddir.
1016         * configure: Regenerate.
1017         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1018         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1019         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1020         * elf/Makefile (install-others, CFLAGS-interp.c)
1021         (ldso_install, common-ldd-rewrite): Likewise.
1022         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1023         $(inst_slibdir)/$(rtld-installed-name).
1024         * scripts/rellns-sh: Add -p option.
1025         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1026         for source.
1028 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1030         * manual/nptl.texi: Renamed to ...
1031         * manual/threads.texi: ... this.
1032         * manual/Makefile (chapters): Update.
1034 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1036         [BZ #14812]
1037         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1038         on argument names, not just descriptions.
1039         * malloc/memusagestat.c (options): Likewise.
1040         * nss/getent.c (options): Likewise.
1042 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1044         [BZ #14812]
1045         * iconv/iconv_prog.c (options): Put N_ translation marker
1046         on argument names, not just descriptions.
1047         * iconv/iconvconfig.c (options): Likewise.
1049 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1051         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1052         implementation which is faster on all x86_64 architectures.
1053         Tested on AMD, Intel Nehalem, SNB, IVB.
1054         * sysdeps/x86_64/strnlen.S: Likewise.
1056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1057         Remove all multiarch strlen and strnlen versions.
1058         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1059         Remove strlen and strnlen related parts.
1061         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1062         Inline strlen part.
1063         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1065         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1066         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1067         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1068         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1069         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1070         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1072 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1074         * manual/memory.texi (Malloc Tunable Parameters):
1075         Sort parameters alphabetically. Add comments for missing entries.
1077 2013-03-17  David S. Miller  <davem@davemloft.net>
1079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1081 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1083         [BZ #15283]
1084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1085         for arguments at most half maximum finite value.
1086         * math/libm-test.inc (j0_test): Add more tests.
1087         (j1_test): Likewise.
1088         (y0_test): Likewise.
1089         (y1_test): Likewise.
1090         * sysdeps/i386/fpu/libm-test-ulps: Update.
1091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1093         [BZ #14155]
1094         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1095         1 / x and functions P and Q for arguments above 0x1p256L.
1096         (__ieee754_y0l): Likewise.
1097         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1098         (__ieee754_y1l): Likewise.
1099         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1100         (j1_test): Likewise.
1101         (y0_test): Likewise.
1102         (y1_test): Likewise.
1104 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1106         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1107         variable.
1109 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1111         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1112         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1113         zero since it's initialized to EXEC_PAGESIZE.
1115         * sysdeps/unix/sysv/linux/ldsodefs.h
1116         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1117         * sysdeps/generic/ldsodefs.h: ... here.
1119 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1121         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1123         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1124         math/test-snan.c.
1125         * math/test-snan.c: Renamed from
1126         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1127         * math/Makefile (tests): Add test-snan.
1128         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1129         test-powerpc-snan.
1131         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1132         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1133         functions.
1134         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1135         __builtin_nan family of functions.
1136         * math/libm-test.inc (initialize): Initialize qnan_value with
1137         __builtin_nan family of functions.
1138         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1139         Remove variables.
1140         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1141         Remove functions.
1142         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1143         storage class.  Initialize qNaN_var and sNaN_var with
1144         __builtin_nan and __builtin_nans families of functions,
1145         respectively.
1147         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1148         (sqrt_test): Remove duplicate test with qNaN input.
1149         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1150         (round_test, signbit_test, significand_test): Note missing +/-Inf
1151         as well as qNaN tests.
1153         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1154         qNaN_var.  Fix a few strings, too.
1155         * math/libm-test.inc (nan_value): Rename to qnan_value.
1156         * math/gen-libm-test.pl (%beautify): Adjust to that.
1157         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1158         * math/test-misc.c (main): Likewise.
1159         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1160         to __qnan_bytes, and __qnan_union, respectively.
1161         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1162         Likewise.
1163         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1164         and lqnanval, respectively.
1165         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1166         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1167         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1168         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1170         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1171         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1172         doubles.
1174         * math/test-misc.c (main): Fix copy'n'pastos.
1175         * misc/tst-efgcvt.c (special): Likewise.
1177         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1178         Remove declarations.
1180 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1182         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1183         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1184         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1185         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1187 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1189         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1190         macro to return vdso values correctly in IFUNC implementations.
1191         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1192         Optimization by using IFUNC.
1194 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1195             Richard Henderson  <rth@redhat.com>
1196             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1198         * Makefile.in (bench): New target.
1199         * NEWS: Mention the benchmark framework.
1200         * Rules (bench): Likewise.
1201         (binaries-bench): Generate binaries for functions to
1202         benchmark.
1203         * benchtests/Makefile: New makefile for benchmark tests.
1204         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1205         programs.
1206         * benchtests/exp-inputs: New input file for EXP function.
1207         * benchtests/pow-inputs: New input file for POW function.
1208         * scripts/bench.pl: New script to generate source files for
1209         benchmark programs.
1211 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1213         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1214         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1215         computations on mantissa.  Use macros for rounding and
1216         division.
1217         (denorm): Likewise.
1218         (__dbl_mp): Likewise.
1219         (add_magnitudes): Likewise.
1220         (sub_magnitudes): Likewise.
1221         (__mul): Likewise.
1222         (__sqr): Likewise.
1223         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1224         powers of two in terms of TWOPOW macro.
1225         (mp_no): Make type of mantissa as MANTISSA_T.
1226         [!RADIXI]: Define RADIXI.
1227         [!TWO52]: Define TWO52.
1228         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1230         * manual/nptl.texi (cindex): Modify threads to pthreads.
1232 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1234         * sysdeps/x86_64/preconfigure: Regenerated.
1236 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1238         [BZ #14155]
1239         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1240         0x1p28 and above.
1241         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1242         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1243         0x1p28 and above.
1244         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1245         * math/libm-test.inc (j0_test): Do not allow one spurious
1246         underflow exception.
1247         (y1_test): Likewise.
1249 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1251         * manual/Makefile (chapters): Add nptl.
1252         * manual/debug.texi (Debugging Support): Add link to Threads
1253         chapter.
1254         * manual/nptl.texi: New file.
1256         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1258 2013-03-14  Petr Baudis  <pasky@ucw.cz>
1260         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1261         for non-NULL pointer before the memory validity test. Pointed
1262         out by Holger Brunck <holger.brunck@keymile.com>.
1264 2013-03-13  Andreas Schwab  <schwab@suse.de>
1266         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1267         instead of .os.
1269 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
1271         * timezone/zic.c: Update from tzcode 2013b.
1273 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1275         * manual/install.texi (Configuring and compiling):
1276         Mention i686 and i586.
1277         * INSTALL: Regenerate.
1279 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1281         * sysdeps/init_array/elf-init.c: New file.
1282         * csu/elf-init.c
1283         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1284         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1286         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1287         __gmon_start__ as global, but as static with a .preinit_array pointer.
1288         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1289         * sysdeps/init_array/crti.S: New file, empty except for comments.
1290         * sysdeps/init_array/crtn.S: Likewise.
1292 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1294         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1295         definining bcopy.
1296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1297         Remove Prefer_SSE_for_memop.
1298         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1299         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1300         HAS_PREFER_SSE_FOR_MEMOP.
1301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1302         memset-x86-64.
1303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1304         Remove bzero, memset ifunc support.
1305         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1306         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1307         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1308         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1310 2013-03-11  Andreas Schwab  <schwab@suse.de>
1312         [BZ #15234]
1313         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1314         by SHLIB_COMPAT.
1315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1316         (GLIBC_2.16): Remove pthread_atfork.
1318 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1320         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1321         (ptestcases.h): Likewise.
1323 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1325         * Makeconfig ($(common-objpfx)config.status): Depend on
1326         sysdeps/*/preconfigure{,.in} too.
1328 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1330         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1331         (__free_hook): Use void * instead of __malloc_ptr_t.
1332         (__malloc_hook): Likewise.
1333         (__realloc_hook): Likewise.
1334         (__memalign_hook): Likewise.
1335         (__after_morecore_hook): Likewise.
1336         * malloc/arena.c (save_malloc_hook): Likewise.
1337         (save_free_hook): Likewise.
1338         * malloc/hooks.c (malloc_hook_ini): Likewise.
1339         (realloc_hook_ini): Likewise.
1340         (memalign_hook_ini): Likewise.
1341         * malloc/malloc.c (malloc_hook_ini): Likewise.
1342         (realloc_hook_ini): Likewise.
1343         (memalign_hook_ini): Likewise.
1344         (__free_hook): Likewise.
1345         (__malloc_hook): Likewise.
1346         (__realloc_hook): Likewise.
1347         (__memalign_hook): Likewise.
1348         (__libc_malloc): Likewise.
1349         (__libc_free): Likewise.
1350         (__libc_realloc): Likewise.
1351         (__libc_memalign): Likewise.
1352         (__libc_valloc): Likewise.
1353         (__libc_pvalloc): Likewise.
1354         (__libc_calloc): Likewise.
1355         (__posix_memalign): Likewise.
1356         * malloc/morecore.c (__sbrk): Likewise.
1357         (__default_morecore): Likewise.
1359         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1361         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1362         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1363         __malloc_ptrdiff_t.
1365         * malloc/malloc.h (__malloc_size_t): Remove macro.
1366         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1367         __malloc_size_t.
1368         (old_memalign_hook): Likewise.
1369         (old_realloc_hook): Likewise.
1370         (struct hdr): Likewise.
1371         (flood): Likewise.
1372         (mallochook): Likewise.
1373         (memalignhook): Likewise.
1374         (reallochook): Likewise.
1375         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1376         (tr_old_realloc_hook): Likewise.
1377         (tr_old_memalign_hook): Likewise.
1378         (tr_mallochook): Likewise.
1379         (tr_reallochook): Likewise.
1380         (tr_memalignhook): Likewise.
1382 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1385         default_ldbl_pack and using as default implementation.
1386         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1387         implementation.
1388         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1389         redundant definition.
1390         (ldbl_insert_mantissa): Likewise.
1391         (ldbl_canonicalize): Likewise.
1392         (ldbl_nearbyint): Likewise.
1393         (ldbl_pack): Rename to ldbl_pack_ppc.
1394         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1395         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1396         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1398 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1401         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1402         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1403         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1404         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1405         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1406         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1407         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1409 2013-03-07  Andreas Jaeger  <aj@suse.de>
1411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1412         bits/mman-linux.h.
1414 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1416         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1417         Include mpa.h and declare __MPEXP.
1418         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1419         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1420         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1421         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1422         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1423         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1424         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1426         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1427         (__slowpow): Use long double EXPL and LOGL functions to
1428         compute POW.
1429         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1430         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1431         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1432         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1433         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1434         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1437         intermediate variable to calculate exponent.
1438         (__sqr): Likewise.
1439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1440         Likewise.
1441         (__sqr): Likewise.
1443         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1444         [!NO__SQR]: Define __sqr.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1446         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1447         sysdeps/ieee754/dbl-64/mpa.c.
1448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1450         [BZ #12723]
1451         * posix/Makefile (tests): Add tst-pathconf.
1452         * posix/tst-pathconf.c: New test case.
1453         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1454         _PC_PIPE_BUF.
1455         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1457 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1459         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1461 2013-03-06  Andreas Jaeger  <aj@suse.de>
1463         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1464         definition via __MAP_ANONYMOUS.
1466         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1467         it's not part of Linux headers.
1469         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1470         (MAP_HUGE_MASK): Define.
1472         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1473         Define.
1474         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1476         Define.
1477         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1478         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1479         Define.
1480         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1482         Define.
1483         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1485         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1486         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1487         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1488         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1489         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1490         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1492         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1493         Handle f2fs.
1495         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1496         Handle f2fs and efivarfs.
1498         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1499         f2fs.
1501         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1502         (EFIVARFS_MAGIC): Add.
1503         (F2FS_LINK_MAX): Add.
1505 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1507         * stdio-common/vfprintf.c: Replace __builtin_expect with
1508         __glibc_unlikely.
1510 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1512         [BZ #13550]
1513         * sysdeps/generic/bp-sym.h: Remove file.
1514         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1515         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1516         <bp-sym.h> and <bp-asm.h>.
1517         (__longjmp): Don't use BP_SYM.
1518         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1519         and <bp-asm.h>.
1520         (memcpy): Don't use BP_SYM.
1521         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1522         <bp-sym.h> and <bp-asm.h>.
1523         (memcpy): Don't use BP_SYM.
1524         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1525         <bp-asm.h>.
1526         (memcpy): Don't use BP_SYM.
1527         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1528         <bp-asm.h>.
1529         (memset): Don't use BP_SYM.
1530         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1531         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1532         (__bzero): Don't use BP_SYM.
1533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1535         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1536         <bp-sym.h> and <bp-asm.h>.
1537         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1538         pointers.
1539         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1540         <bp-sym.h> and <bp-asm.h>.
1541         (memcpy): Don't use BP_SYM.
1542         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1543         <bp-sym.h> and <bp-asm.h>.
1544         (memset): Don't use BP_SYM.
1545         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1546         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1547         (__bzero): Don't use BP_SYM.
1548         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1549         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1550         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1551         <bp-sym.h> and <bp-asm.h>.
1552         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1553         pointers.
1554         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1555         <bp-sym.h> and <bp-asm.h>.
1556         (memcpy): Don't use BP_SYM.
1557         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1558         <bp-sym.h> and <bp-asm.h>.
1559         (memset): Don't use BP_SYM.
1560         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1561         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1562         (__bzero): Don't use BP_SYM.
1563         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1564         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1565         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1566         <bp-sym.h> and <bp-asm.h>.
1567         (__memchr): Don't use BP_SYM.
1568         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1569         <bp-sym.h> and <bp-asm.h>.
1570         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1571         pointers.
1572         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1573         <bp-sym.h> and <bp-asm.h>.
1574         (memcpy): Don't use BP_SYM.
1575         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1576         <bp-sym.h> and <bp-asm.h>.
1577         (__mempcpy): Don't use BP_SYM.
1578         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1579         <bp-sym.h> and <bp-asm.h>.
1580         (__memrchr): Don't use BP_SYM.
1581         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1582         <bp-sym.h> and <bp-asm.h>.
1583         (memset): Don't use BP_SYM.
1584         (__bzero): Likewise.
1585         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1586         <bp-sym.h> and <bp-asm.h>.
1587         (__rawmemchr): Don't use BP_SYM.
1588         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1589         <bp-sym.h> and <bp-asm.h>.
1590         (__STRCMP): Don't use BP_SYM.
1591         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1592         <bp-sym.h> and <bp-asm.h>.
1593         (strchr): Don't use BP_SYM.
1594         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1595         <bp-sym.h> and <bp-asm.h>.
1596         (__strchrnul): Don't use BP_SYM.
1597         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1598         <bp-sym.h> and <bp-asm.h>.
1599         (strlen): Don't use BP_SYM.
1600         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1601         <bp-sym.h> and <bp-asm.h>.
1602         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1603         pointers.
1604         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1605         <bp-sym.h> and <bp-asm.h>.
1606         (__strnlen): Don't use BP_SYM.
1607         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1608         <bp-sym.h> and <bp-asm.h>.
1609         (__GI__setjmp): Don't use BP_SYM.
1610         (_setjmp): Likewise.
1611         (__sigsetjmp): Likewise.
1612         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1613         (L(start_addresses)): Don't use BP_SYM.
1614         (_start): Likewise.
1615         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1616         <bp-asm.h>.
1617         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1618         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1619         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1620         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1621         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1622         <bp-asm.h>.
1623         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1624         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1625         about bounded pointers.
1626         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1627         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1628         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1629         <bp-asm.h>.
1630         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1631         about bounded pointers.  Remove GKM FIXME comments.
1632         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1633         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1634         <bp-asm.h>.
1635         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1636         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1637         Remove GKM FIXME comments.
1638         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1639         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1640         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1641         <bp-asm.h>.
1642         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1643         about bounded pointers.  Remove GKM FIXME comment.
1644         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1645         and <bp-asm.h>.
1646         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1647         pointers.
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1649         <bp-sym.h> and <bp-asm.h>.
1650         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1652         <bp-sym.h> and <bp-asm.h>.
1653         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1654         comment.
1656 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1658         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1659         call free(NULL).
1661 2013-03-05  David S. Miller  <davem@davemloft.net>
1663         * po/es.po: Update from translation team.
1665 2013-03-05  Andreas Jaeger  <aj@suse.de>
1667         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1668         <bits/mman-linux.h>.
1669         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1670         is fine.
1671         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1672         <bits/mman-linux.h> to end of file.
1673         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1674         is fine.
1675         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1676         <bits/mman-linux.h> to end of file.
1677         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1678         is fine.
1679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1680         <bits/mman-linux.h> to end of file.
1682         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1683         (MCL_CURRENT, MCL_FUTURE): Define here.
1685 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1687         [BZ #15232]
1688         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1689         attribute_hidden.
1690         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1692 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1694         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1695         fourth parameter needed for rt_sigprocmask syscall.
1696         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1697         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1698         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1699         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1700         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1701         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1703 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1705         [BZ #13550]
1706         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1707         comment about bounded pointers.
1708         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1709         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1711 2013-03-04  Andreas Jaeger  <aj@suse.de>
1713         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1714         common definitions.
1716         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1717         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1718         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1719         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1720         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1721         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1723 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1725         [BZ #15055]
1726         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1727         __ieee754_sqrl instead of __sqrl.
1729 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1731         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1732         * sysdeps/powerpc/fpu_control.h: ... here.
1733         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1734         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1735         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1736         * sysdeps/powerpc/bits/mathinline.h: ... here.
1738 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1740         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1741         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1742         to just [NEED_DL_SYSINFO_DSO].
1743         * elf/dl-support.c: Likewise.
1744         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1745         * elf/rtld.c (dl_main): Likewise.
1746         * elf/setup-vdso.h (setup_vdso): Likewise.
1747         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1748         * sysdeps/unix/sysv/linux/dl-sysdep.c
1749         (_dl_discover_osversion): Likewise.
1751 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1753         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1754         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1756 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1758         * NEWS: Mention libm performance improvements and non-x86 PI
1759         futex support.
1761         * csu/libc-start.c (__pthread_initialize_minimal): Change
1762         function arguments.
1763         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1765 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1767         [BZ #13550]
1768         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1769         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1770         <bp-sym.h> and <bp-asm.h>.
1771         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1772         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1773         and <bp-asm.h>.
1774         (memcpy): Don't use BP_SYM.
1775         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1776         <bp-asm.h>.
1777         (__mpn_add_n): Don't use BP_SYM.
1778         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1779         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1780         and <bp-asm.h>.
1781         (__mpn_addmul_1): Don't use BP_SYM.
1782         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1783         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1784         <bp-sym.h>.
1785         (_setjmp): Don't use BP_SYM.
1786         (__novmx_setjmp): Likewise.
1787         (__GI__setjmp): Likewise.
1788         (__vmx_setjmp): Likewise.
1789         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1790         <bp-sym.h>.
1791         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1792         (__bzero): Don't use BP_SYM.
1793         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1794         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1795         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1796         <bp-sym.h> and <bp-asm.h>.
1797         (memcpy): Don't use BP_SYM.
1798         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1799         <bp-sym.h> and <bp-asm.h>.
1800         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1801         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1802         <bp-sym.h> and <bp-asm.h>.
1803         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1804         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1805         <bp-asm.h>.
1806         (__mpn_lshift): Don't use BP_SYM.
1807         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1808         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1809         <bp-asm.h>.
1810         (memset): Don't use BP_SYM.
1811         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1812         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1813         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1814         <bp-asm.h>.
1815         (__mpn_mul_1): Don't use BP_SYM.
1816         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1818         <bp-sym.h> and <bp-asm.h>.
1819         (memcmp): Don't use BP_SYM.
1820         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1821         <bp-sym.h> and <bp-asm.h>.
1822         (memcpy): Don't use BP_SYM.
1823         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1824         <bp-sym.h> and <bp-asm.h>.
1825         (memset): Don't use BP_SYM.
1826         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1827         <bp-sym.h> and <bp-asm.h>.
1828         (strncmp): Don't use BP_SYM.
1829         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1830         <bp-sym.h> and <bp-asm.h>.
1831         (memcpy): Don't use BP_SYM.
1832         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1833         <bp-sym.h> and <bp-asm.h>.
1834         (memset): Don't use BP_SYM.
1835         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1836         <bp-sym.h> and <bp-asm.h>.
1837         (__memchr): Don't use BP_SYM.
1838         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1839         <bp-sym.h> and <bp-asm.h>.
1840         (memcmp): Don't use BP_SYM.
1841         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1842         <bp-sym.h> and <bp-asm.h>.
1843         (memcpy): Don't use BP_SYM.
1844         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1845         <bp-sym.h> and <bp-asm.h>.
1846         (__mempcpy): Don't use BP_SYM.
1847         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1848         <bp-sym.h> and <bp-asm.h>.
1849         (__memrchr): Don't use BP_SYM.
1850         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1851         <bp-sym.h> and <bp-asm.h>.
1852         (memset): Don't use BP_SYM.
1853         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1854         <bp-sym.h> and <bp-asm.h>.
1855         (__rawmemchr): Don't use BP_SYM.
1856         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1857         <bp-sym.h> and <bp-asm.h>.
1858         (__STRCMP): Don't use BP_SYM.
1859         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1860         <bp-sym.h> and <bp-asm.h>.
1861         (strchr): Don't use BP_SYM.
1862         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1863         <bp-sym.h> and <bp-asm.h>.
1864         (__strchrnul): Don't use BP_SYM.
1865         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1866         <bp-sym.h> and <bp-asm.h>.
1867         (strlen): Don't use BP_SYM.
1868         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1869         <bp-sym.h> and <bp-asm.h>.
1870         (strncmp): Don't use BP_SYM.
1871         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1872         <bp-sym.h> and <bp-asm.h>.
1873         (__strnlen): Don't use BP_SYM.
1874         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1875         <bp-asm.h>.
1876         (__mpn_rshift): Don't use BP_SYM.
1877         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1879         <bp-sym.h> and <bp-asm.h>.
1880         (__sigsetjmp): Don't use BP_SYM.
1881         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1882         (L(start_addresses)): Don't use BP_SYM.
1883         (_start): Likewise.
1884         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1885         <bp-asm.h>.
1886         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1887         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1888         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1889         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1890         <bp-asm.h>.
1891         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1892         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1893         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1894         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1895         <bp-asm.h>.
1896         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1897         comments.
1898         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1899         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1900         <bp-asm.h>.
1901         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1902         FIXME comments.
1903         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1904         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1905         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1906         <bp-asm.h>.
1907         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1908         comment.
1909         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1910         and <bp-asm.h>.
1911         (strncmp): Don't use BP_SYM,
1912         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1913         <bp-asm.h>.
1914         (__mpn_sub_n): Don't use BP_SYM.
1915         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1916         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1917         and <bp-asm.h>.
1918         (__mpn_submul_1): Don't use BP_SYM.
1919         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1921         <bp-sym.h> and <bp-asm.h>.
1922         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1924         <bp-sym.h> and <bp-asm.h>.
1925         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1926         comment.
1928 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1931         Use ZK to minimize writes to Z.
1932         (sub_magnitudes): Simplify code a bit.
1933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1934         Use ZK to minimize writes to Z.
1935         (sub_magnitudes): Simplify code a bit.
1937 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1939         * csu/gmon-start.c: Add special exception to license text.
1941 2013-02-27  Richard Henderson  <rth@redhat.com>
1943         * scripts/config.guess: Update from config.git.
1944         * scripts/config.sub: Likewise.
1946 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1948         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1950         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1952         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1954         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1956         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1958 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1960         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1961         [$(build-shared = yes].
1963 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1965         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1966         (__mul): Reduce iterations for calculating mantissa.
1968         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1969         MPTWO.
1970         (__mpranred): Likewise.
1972         [BZ #15160]
1973         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1974         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1976 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1978         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1979         Define __attribute__.
1981 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1983         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1984         unused.
1985         * posix/regex_internal.h (__attribute): Remove.
1986         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1987         (re_string_context_at): Likewise.
1988         (bitset_not): Use __attribute__ and mark function as possibly
1989         unused.
1990         (bitset_merge): Likewise.
1991         (bitset_mask): Likewise.
1992         (re_string_char_size_at): Likewise.
1993         (re_string_wchar_at): Likewise.
1994         (re_string_elem_size_at): Likewise.
1996 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1998         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1999         code.
2000         (cc32): Likewise.
2002         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2003         (__acr): Likewise.
2004         (__cpy): Likewise.
2005         (norm): Likewise.
2006         (denorm): Likewise.
2007         (__dbl_mp): Likewise.
2008         (add_magnitudes): Likewise.
2009         (sub_magnitudes): Likewise.
2010         (__mul): Likewise.
2011         (__inv): Likewise.
2013         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2014         style.
2016         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2017         style.
2019         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2020         code.
2022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2023         up changes with default code.
2024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2025         Likewise.
2027 2013-02-24  Allan McRae  <allan@archlinux.org>
2029         * manual/socket.texi (The Internet Namespace): Order menu items
2030         to match that in the file.
2032         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2033         node listing of the info page menu.
2035 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2037         [BZ #13550]
2038         * sysdeps/i386/bp-asm.h: Remove file.
2039         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2040         (PARMS): Do not use macros from bp-asm.h.
2041         (S1): Likewise.
2042         (S2): Likewise.
2043         (SIZE): Likewise.
2044         (__mpn_add_n): Do not use BP_SYM
2045         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2046         "bp-asm.h".
2047         (PARMS): Do not use macros from bp-asm.h.
2048         (S1): Likewise.
2049         (SIZE): Likewise.
2050         (__mpn_addmul_1): Do not use BP_SYM
2051         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2052         "bp-asm.h".
2053         (PARMS): Do not use macros from bp-asm.h.
2054         (SIGMSK): Likewise.
2055         (_setjmp): Likewise.  Do not use BP_SYM.
2056         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2057         "bp-asm.h".
2058         (PARMS): Do not use macros from bp-asm.h.
2059         (SIGMSK): Likewise.
2060         (setjmp): Likewise.  Do not use BP_SYM.
2061         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2062         "bp-asm.h".
2063         (PARMS): Do not use macros from bp-asm.h.
2064         (__frexp): Do not use BP_SYM.
2065         (frexp): Likewise.
2066         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2067         "bp-asm.h".
2068         (PARMS): Do not use macros from bp-asm.h.
2069         (__frexpf): Do not use BP_SYM.
2070         (frexpf): Likewise.
2071         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2072         "bp-asm.h".
2073         (PARMS): Do not use macros from bp-asm.h.
2074         (__frexpl): Do not use BP_SYM.
2075         (frexpl): Likewise.
2076         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2077         "bp-asm.h".
2078         (PARMS): Do not use macros from bp-asm.h.
2079         (__remquo): Do not use BP_SYM.
2080         (remquo): Likewise.
2081         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2082         "bp-asm.h".
2083         (PARMS): Do not use macros from bp-asm.h.
2084         (__remquof): Do not use BP_SYM.
2085         (remquof): Likewise.
2086         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2087         "bp-asm.h".
2088         (PARMS): Do not use macros from bp-asm.h.
2089         (__remquol): Do not use BP_SYM.
2090         (remquol): Likewise.
2091         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2092         "bp-asm.h".
2093         (PARMS): Do not use macros from bp-asm.h.
2094         (DEST): Likewise.
2095         (SRC): Likewise.
2096         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2097         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2098         "bp-asm.h".
2099         (PARMS): Do not use macros from bp-asm.h.
2100         (strlen): Do not use BP_SYM.
2101         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2102         "bp-asm.h".
2103         (PARMS): Do not use macros from bp-asm.h.
2104         (S1): Likewise.
2105         (S2): Likewise.
2106         (SIZE): Likewise.
2107         (__mpn_add_n): Do not use BP_SYM.
2108         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2109         "bp-asm.h".
2110         (PARMS): Do not use macros from bp-asm.h.
2111         (S1): Likewise.
2112         (SIZE): Likewise.
2113         (__mpn_addmul_1): Do not use BP_SYM.
2114         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2115         weak_alias.
2116         (bzero): Likewise.
2117         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2118         "bp-asm.h".
2119         (PARMS): Do not use macros from bp-asm.h.
2120         (S): Likewise.
2121         (SIZE): Likewise.
2122         (__mpn_lshift): Do not use BP_SYM.
2123         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2124         "bp-asm.h".
2125         (PARMS): Do not use macros from bp-asm.h.
2126         (DEST): Likewise.
2127         (SRC): Likewise.
2128         (LEN): Likewise.
2129         (memcpy): Likewise.  Do not use BP_SYM.
2130         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2131         libc_hidden_def and weak_alias.
2132         (mempcpy): Do not use BP_SYM in weak_alias.
2133         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2134         "bp-asm.h".
2135         (PARMS): Do not use macros from bp-asm.h.
2136         (DEST): Likewise.
2137         (LEN): Likewise.
2138         [!BZERO_P] (CHR): Likewise.
2139         (memset): Likewise.  Do not use BP_SYM.
2140         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2141         "bp-asm.h".
2142         (PARMS): Do not use macros from bp-asm.h.
2143         (S1): Likewise.
2144         (SIZE): Likewise.
2145         (__mpn_mul_1): Do not use BP_SYM.
2146         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2147         "bp-asm.h".
2148         (PARMS): Do not use macros from bp-asm.h.
2149         (S): Likewise.
2150         (SIZE): Likewise.
2151         (__mpn_rshift): Do not use BP_SYM.
2152         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2153         "bp-asm.h".
2154         (PARMS): Do not use macros from bp-asm.h.
2155         (STR): Likewise.
2156         (CHR): Likewise.
2157         (strchr): Likewise.  Do not use BP_SYM.
2158         (index): Do not use BP_SYM in weak_alias.
2159         * sysdeps/i386/i586/strcpy.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         (SRC): Likewise.
2164         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2165         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2166         "bp-asm.h".
2167         (PARMS): Do not use macros from bp-asm.h.
2168         (strlen): Do not use BP_SYM.
2169         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2170         "bp-asm.h".
2171         (PARMS): Do not use macros from bp-asm.h.
2172         (S1): Likewise.
2173         (S2): Likewise.
2174         (SIZE): Likewise.
2175         (__mpn_sub_n): Do not use BP_SYM.
2176         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2177         "bp-asm.h".
2178         (PARMS): Do not use macros from bp-asm.h.
2179         (S1): Likewise.
2180         (SIZE): Likewise.
2181         (__mpn_submul_1): Do not use BP_SYM.
2182         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2183         "bp-asm.h".
2184         (PARMS): Do not use macros from bp-asm.h.
2185         (S1): Likewise.
2186         (S2): Likewise.
2187         (SIZE): Likewise.
2188         (__mpn_add_n): Do not use BP_SYM.
2189         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2190         weak_alias.
2191         (bzero): Likewise.
2192         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2193         "bp-asm.h".
2194         (PARMS): Do not use macros from bp-asm.h.
2195         (BLK2): Likewise.
2196         (LEN): Likewise.
2197         (memcmp): Do not use BP_SYM.
2198         (bcmp): Do not use BP_SYM in weak_alias.
2199         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2200         "bp-asm.h".
2201         (PARMS): Do not use macros from bp-asm.h.
2202         (DEST): Likewise.
2203         (SRC): Likewise.
2204         (LEN): Likewise.
2205         (memcpy): Likewise.  Do not use BP_SYM.
2206         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2207         "bp-asm.h".
2208         (PARMS): Do not use macros from bp-asm.h.
2209         (DEST): Likewise.
2210         (SRC): Likewise.
2211         (LEN): Likewise.
2212         (memmove): Likewise.  Do not use BP_SYM.
2213         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2214         "bp-asm.h".
2215         (PARMS): Do not use macros from bp-asm.h.
2216         (DEST): Likewise.
2217         (SRC): Likewise.
2218         (LEN): Likewise.
2219         (__mempcpy): Likewise.  Do not use BP_SYM.
2220         (mempcpy): Do not use BP_SYM in weak_alias.
2221         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2222         "bp-asm.h".
2223         (PARMS): Do not use macros from bp-asm.h.
2224         (DEST): Likewise.
2225         (LEN): Likewise.
2226         [!BZERO_P] (CHR): Likewise.
2227         (memset): Likewise.  Do not use BP_SYM.
2228         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2229         "bp-asm.h".
2230         (PARMS): Do not use macros from bp-asm.h.
2231         (STR2): Likewise.
2232         (strcmp): Do not use BP_SYM.
2233         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2234         "bp-asm.h".
2235         (PARMS): Do not use macros from bp-asm.h.
2236         (STR): Likewise.
2237         (DELIM): Likewise.
2238         [USE_AS_STRTOK_R] (SAVE): Likewise.
2239         (FUNCTION): Likewise.  Do not use BP_SYM.
2240         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2241         aliases.
2242         (strtok_r): Likewise.
2243         (__GI___strtok_r): Likewise.
2244         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2245         (PARMS): Do not use macros from bp-asm.h.
2246         (S): Likewise.
2247         (SIZE): Likewise.
2248         (__mpn_lshift): Do not use BP_SYM.
2249         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2250         (PARMS): Do not use macros from bp-asm.h.
2251         (STR): Likewise.
2252         (CHR): Likewise.
2253         (__memchr): Do not use BP_SYM.
2254         (memchr): Do not use BP_SYM in weak_alias.
2255         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2256         (PARMS): Do not use macros from bp-asm.h.
2257         (BLK2): Likewise.
2258         (LEN): Likewise.
2259         (memcmp): Do not use BP_SYM.
2260         (bcmp): Do not use BP_SYM in weak_alias.
2261         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2262         (PARMS): Do not use macros from bp-asm.h.
2263         (S1): Likewise.
2264         (SIZE): Likewise.
2265         (__mpn_mul_1): Do not use BP_SYM.
2266         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2267         "bp-asm.h".
2268         (PARMS): Do not use macros from bp-asm.h.
2269         (STR): Likewise.
2270         (CHR): Likewise.
2271         (__rawmemchr): Do not use BP_SYM.
2272         (rawmemchr): Do not use BP_SYM in weak_alias.
2273         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2274         (PARMS): Do not use macros from bp-asm.h.
2275         (S): Likewise.
2276         (SIZE): Likewise.
2277         (__mpn_rshift): Do not use BP_SYM.
2278         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2279         (PARMS): Do not use macros from bp-asm.h.
2280         (SIGMSK): Likewise.
2281         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2282         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2283         (_start): Do not use BP_SYM.
2284         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2285         (PARMS): Do not use macros from bp-asm.h.
2286         (DEST): Likewise.
2287         (SRC): Likewise.
2288         (__stpcpy): Likewise.  Do not use BP_SYM.
2289         (stpcpy): Do not use BP_SYM in weak_alias.
2290         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2291         "bp-asm.h".
2292         (PARMS): Do not use macros from bp-asm.h.
2293         (DEST): Likewise.
2294         (SRC): Likewise.
2295         (LEN): Likewise.
2296         (__stpncpy): Likewise.  Do not use BP_SYM.
2297         (stpncpy): Do not use BP_SYM in weak_alias.
2298         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2299         (PARMS): Do not use macros from bp-asm.h.
2300         (STR): Likewise.
2301         (CHR): Likewise.
2302         (strchr): Likewise.  Do not use BP_SYM.
2303         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2304         "bp-asm.h".
2305         (PARMS): Do not use macros from bp-asm.h.
2306         (STR): Likewise.
2307         (CHR): Likewise.
2308         (__strchrnul): Likewise.  Do not use BP_SYM.
2309         (strchrnul): Do not use BP_SYM in weak_alias.
2310         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2311         "bp-asm.h".
2312         (PARMS): Do not use macros from bp-asm.h.
2313         (STOP): Likewise.
2314         (strcspn): Do not use BP_SYM.
2315         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2316         "bp-asm.h".
2317         (PARMS): Do not use macros from bp-asm.h.
2318         (STR): Likewise.
2319         (STOP): Likewise.
2320         (strpbrk): Likewise.  Do not use BP_SYM.
2321         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2322         "bp-asm.h".
2323         (PARMS): Do not use macros from bp-asm.h.
2324         (STR): Likewise.
2325         (CHR): Likewise.
2326         (strrchr): Likewise.  Do not use BP_SYM.
2327         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2328         (PARMS): Do not use macros from bp-asm.h.
2329         (SKIP): Likewise.
2330         (strspn): Do not use BP_SYM.
2331         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2332         (PARMS): Do not use macros from bp-asm.h.
2333         (STR): Likewise.
2334         (DELIM): Likewise.
2335         (SAVE): Likewise.
2336         (FUNCTION): Likewise.  Do not use BP_SYM.
2337         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2338         aliases.
2339         (strtok_r): Likewise.
2340         (__GI___strtok_r): Likewise.
2341         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2342         (PARMS): Do not use macros from bp-asm.h.
2343         (S1): Likewise.
2344         (S2): Likewise.
2345         (SIZE): Likewise.
2346         (__mpn_sub_n): Do not use BP_SYM.
2347         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2348         "bp-asm.h".
2349         (PARMS): Do not use macros from bp-asm.h.
2350         (S1): Likewise.
2351         (SIZE): Likewise.
2352         (__mpn_submul_1): Do not use BP_SYM.
2353         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2354         <bp-sym.h>.
2355         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2356         and <bp-asm.h>.
2357         (PARMS): Do not use macros from bp-asm.h.
2358         (FLAGS): Likewise.
2359         (PTID): Likewise.
2360         (TLS): Likewise.
2361         (CTID): Likewise.
2362         (__clone): Do not use BP_SYM.
2363         (clone): Do not use BP_SYM in weak_alias.
2364         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2365         and <bp-asm.h>.
2366         (PARMS): Do not use macros from bp-asm.h.
2367         (LEN): Likewise.
2368         (__mmap64): Do not use BP_SYM.
2369         (mmap64): Do not use BP_SYM in weak_alias.
2370         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2371         <bp-sym.h> and <bp-asm.h>.
2372         (PARMS): Do not use macros from bp-asm.h.
2373         (__posix_fadvise64_l64): Do not use BP_SYM.
2374         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2375         (PARMS): Do not use macros from bp-asm.h.
2376         (NSOPS): Likewise.
2377         (semtimedop): Do not use BP_SYM.
2378         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2379         and <bp-asm.h>.
2381 2013-02-21  Allan McRae  <allan@archlinux.org>
2383         * manual/message.texi (Charset conversion in gettext):
2384         Move @end statement to beginning of line.
2386 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2389         static.
2390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2391         Likewise.
2393         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2394         (denorm): Likewise.
2395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2398 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2400         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2401         tail-call to the resolved function if pltexit isn't needed.
2403 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2406         or Y being zero as being unlikely.
2407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2408         Likewise.
2410 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2412         * manual/nss.texi (System Databases and Name Service Switch):
2413         Remove frobnicate @pxref.
2415 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2417         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2418         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2420 2013-02-20  Petr Machata  <pmachata@redhat.com>
2422         * elf/elf.h (R_ARM_TARGET1): New macro.
2423         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2424         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2425         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2426         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2427         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2428         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2429         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2430         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2431         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2432         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2433         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2434         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2435         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2436         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2437         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2438         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2439         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2440         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2441         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2442         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2443         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2444         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2445         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2446         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2447         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2448         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2449         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2450         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2451         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2452         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2453         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2454         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2455         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2456         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2457         (R_ARM_THM_GOT_BREL12): Likewise.
2458         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2459         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2460         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2461         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2462         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2463         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2464         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2465         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2466         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2468 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2470         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2471         __attribute_used__ to __attribute__ ((unused)).
2473 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2475         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2476         powerpc mpa.c.
2477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2478         comment formatting.
2479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2481 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2483         [BZ #13550]
2484         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2485         Remove macro.
2486         (ENTER): Remove both macro definitions.
2487         (LEAVE): Likewise.
2488         (CHECK_BOUNDS_LOW): Likewise.
2489         (CHECK_BOUNDS_HIGH): Likewise.
2490         (CHECK_BOUNDS_BOTH): Likewise.
2491         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2492         (RETURN_BOUNDED_POINTER): Likewise.
2493         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2494         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2495         (POP_ERRNO_LOCATION_RETURN): Likewise.
2496         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2497         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2498         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2499         macros.
2500         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2501         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2502         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2503         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2504         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2505         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2506         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2507         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2508         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2509         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2510         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2511         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2512         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2513         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2514         removed macros.
2515         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2516         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2517         macros.
2518         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2519         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2520         * sysdeps/i386/i586/memset.S (memset): Likewise.
2521         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2522         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2523         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2524         macros.
2525         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2526         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2527         Change uses of L(2) to L(out).
2528         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2529         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2530         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2531         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2532         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2533         removed macros.
2534         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2535         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2536         macros.
2537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2538         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2539         (RETURN): Do not use macro LEAVE.
2540         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2541         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2542         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2543         * sysdeps/i386/i686/memset.S (memset): Likewise.
2544         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2545         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2546         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2547         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2548         Likewise.
2549         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2550         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2551         L(1_2) and L(1_3) into L(1).
2552         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2553         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2554         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2555         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2556         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2557         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2558         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2559         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2560         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2561         macros.
2562         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2563         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2564         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2565         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2566         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2567         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2568         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2569         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2570         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2571         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2572         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2573         * sysdeps/i386/strspn.S (strspn): Likewise.
2574         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2575         conditional code.
2576         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2577         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2578         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2579         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2580         L(1_3) into L(1_1).
2581         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2582         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2583         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2584         macros.
2585         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2587 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2589         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2590         macro.
2592 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2594         * math/atest-exp.c (exp_mpn): Remove ROUND.
2595         * math/atest-exp2.c (exp_mpn): Likewise.
2596         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2598         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2599         * stdlib/tst-tls-atexit-lib.c: Likewise.
2600         * stdlib/tst-tls-atexit.c: Likewise.
2602 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2604         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2605         and __attribute_alloc_size__.
2607 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2609         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2610         __attribute_alloc_size__.
2611         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2612         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2614 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2616         * include/programs/xmalloc.h: New file.
2617         * catgets/gencat.c: Include it.
2618         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2619         * elf/pldd.c: Likewise.
2620         * iconv/iconv_charmap.c: Likewise.
2621         * iconv/iconvconfig.c: Likewise.
2622         * iconv/strtab.c: Likewise.
2623         * locale/programs/locale.c: Likewise.
2624         * locale/programs/localedef.h: Likewise.
2625         * locale/programs/simple-hash.c: Likewise.
2626         * nscd/nscd.h: Likewise.
2627         * nss/makedb.c: Likewise.
2628         * sysdeps/generic/ldconfig.h: Likewise.
2630 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2632         * Versions.def: Add GLIBC_2.18.
2633         * include/link.h (struct link_map): New member l_tls_dtor_count.
2634         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2635         (__call_tls_dtors): Likewise.
2636         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2637         __cxa_thread_atexit_impl.
2638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2639         Likewise.
2640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2641         Likewise.
2642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2643         Likewise.
2644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2645         Likewise.
2646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2648         Likewise.
2649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2650         Likewise.
2651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2653         Likewise.
2654         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2655         (tests): Add test case tst-tls-atexit.
2656         (modules-names): Add shared library for tst-tls-atexit.
2657         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2658         (GLIBC_PRIVATE): Add __call_tls_dtors.
2659         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2660         for libstdc++.
2661         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2662         * stdlib/tst-tls-atexit.c: New test case.
2663         * stdlib/tst-tls-atexit-lib.c: New test case.
2665         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2667         * elf/Versions (ld): Add _dl_find_dso_for_object.
2668         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2669         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2670         (dl_open_worker): Use _dl_find_dso_for_object.
2671         * elf/dl-sym.c (do_sym): Likewise.
2672         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2674 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2676         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2677         Syntactic changes only.
2678         (_dl_runtime_profile): Do a tail-call to the resolved function.
2680 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2682         [BZ #13550]
2683         * sysdeps/x86_64/bp-asm.h: Remove file.
2684         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2685         <bp-sym.h> and <bp-asm.h>.
2686         (__clone): Do not use BP_SYM.
2687         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2688         <bp-sym.h> and <bp-asm.h>.
2689         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2690         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2691         "bp-asm.h".
2692         (_setjmp): Do not use BP_SYM.
2693         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2694         "bp-asm.h".
2695         (setjmp): Do not use BP_SYM.
2696         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2697         libc_hidden_def.
2698         (mempcpy): Do not use BP_SYM in weak_alias.
2699         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2700         "bp-asm.h".
2701         (strchr): Do not use BP_SYM.
2702         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2703         "bp-asm.h".
2704         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2705         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2706         (_start): Do not use BP_SYM.
2707         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2708         "bp-asm.h".
2709         (strcat): Do not use BP_SYM.
2710         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2711         "bp-asm.h".
2712         (STRCMP): Do not use BP_SYM.
2713         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2714         "bp-asm.h".
2715         (STRCPY): Do not use BP_SYM.
2716         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2717         "bp-asm.h".
2718         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2719         "bp-asm.h".
2720         (FUNCTION): Do not use BP_SYM.
2721         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2722         weak_alias.
2723         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2725 2013-02-17  Andreas Jaeger  <aj@suse.de>
2727         * time/Versions: Sort entries.
2728         * string/Versions: Likewise.
2729         * resolv/Versions: Likewise.
2730         * posix/Versions: Likewise.
2731         * iconv/Versions: Likewise.
2732         * elf/Versions: Likewise.
2733         * wcsmbs/Versions: Likewise.
2735 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2737         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2738         loop termination condition.
2740         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2741         variable to calculate EZ.
2742         (__sqr): Likewise.
2744         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2745         the lower precision input.
2747 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2749         [BZ #13550]
2750         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2751         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2752         (run-via-rtld-prefix): Do not handle %-bp tests.
2753         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2754         (all-object-suffixes): Remove .ob.
2755         (bppfx): Remove variable.
2756         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2757         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2758         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2759         [$(build-bounded) = yes] (libtype.ob): Likewise.
2760         * Makerules (elide-routines.ob): Remove variable.
2761         (do-tests-clean): Do not handle *-bp.out.
2762         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2763         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2764         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2765         (tests): Do not include $(tests-bp.out).
2766         (xtests): Do not include $(xtests-bp.out).
2767         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2768         [$(build-bounded) = yes] ($(addprefix
2769         $(objpfx),$(binaries-bounded))): Remove rule.
2770         ($(objpfx)%-bp.out): Remove rule.
2771         * config.make.in (build-bounded): Remove variable.
2772         * crypt/Makefile [$(build-bounded) = yes]
2773         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2774         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2775         append to variable.
2776         [$(build-bounded) = yes] (install-lib): Likewise.
2777         [$(build-bounded) = yes] (generated): Likewise.
2778         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2779         Remove rule.
2780         * intl/Makefile [$(build-bounded) = yes]
2781         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2782         * math/Makefile [$(build-bounded) = yes]
2783         ($(tests:%=$(objpfx)%-bp): Likewise.
2784         * misc/Makefile [$(build-bounded) = yes]
2785         ($(objpfx)tst-tsearch-bp): Likewise.
2786         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2787         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2788         Remove dependency.
2789         * string/Makefile (o-objects.ob): Remove variable.
2790         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2791         (CFLAGS-.ob): Remove variable.
2792         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2793         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2794         both definitions of variable.
2795         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2796         (ASFLAGS-.ob): Remove variable.
2798 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2800         [BZ #13550]
2801         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2802         Remove __BOUNDED_POINTERS__ from condition.
2803         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2804         * string/bits/string2.h [!__NO_STRING_INLINES &&
2805         !__BOUNDED_POINTERS__]: Likewise.
2806         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2807         Likewise.
2808         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2809         Remove conditional code.
2810         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2811         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2812         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2813         condition.
2815         [BZ #13550]
2816         * csu/libc-start.c: Do not include <bp-sym.h>.
2817         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2818         * elf/dl-open.c: Do not include <bp-sym.h>.
2819         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2820         * math/fegetenv.c: Do not include <bp-sym.h>.
2821         (fegetenv): Do not use BP_SYM in versioned symbols.
2822         * nptl/sysdeps/pthread/bits/libc-lockP.h
2823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2824         <bp-sym.h>.
2825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2826         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2828         (__pthread_mutex_destroy): Likewise.
2829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2830         (__pthread_mutex_lock): Likewise.
2831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2832         (__pthread_mutex_trylock): Likewise.
2833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2834         (__pthread_mutex_unlock): Likewise.
2835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2836         (__pthread_mutexattr_init): Likewise.
2837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2838         (__pthread_mutexattr_destroy): Likewise.
2839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2840         (__pthread_mutexattr_settype): Likewise.
2841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2842         (__pthread_rwlock_init): Likewise.
2843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2844         (__pthread_rwlock_destroy): Likewise.
2845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2846         (__pthread_rwlock_rdlock): Likewise.
2847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2848         (__pthread_rwlock_tryrdlock): Likewise.
2849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2850         (__pthread_rwlock_wrlock): Likewise.
2851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2852         (__pthread_rwlock_trywrlock): Likewise.
2853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2854         (__pthread_rwlock_unlock): Likewise.
2855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2856         (__pthread_key_create): Likewise.
2857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2858         (__pthread_setspecific): Likewise.
2859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2860         (__pthread_getspecific): Likewise.
2861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2862         Likewise.
2863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2864         (_pthread_cleanup_push_defer): Likewise.
2865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2866         (_pthread_cleanup_pop_restore): Likewise.
2867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2868         (pthread_setcancelstate): Likewise.
2869         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2870         <bp-sym.h>.
2871         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2872         (memchr): Do not use BP_SYM in weak_alias.
2873         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2874         (fegetenv): Do not use BP_SYM in versioned symbols.
2875         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2876         (fesetenv): Do not use BP_SYM in versioned symbols.
2877         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2878         (feupdateenv): Do not use BP_SYM in versioned symbols.
2879         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2880         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2881         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2882         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2883         (open64): Do not use BP_SYM in weak_alias.
2884         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2885         (fegetenv): Do not use BP_SYM in versioned symbols.
2886         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2887         (fesetenv): Do not use BP_SYM in versioned symbols.
2888         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2889         (feupdateenv): Do not use BP_SYM in versioned symbols.
2890         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2891         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2892         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2893         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2894         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2895         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2896         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2897         <bp-sym.h>.
2898         (__libc_start_main): Do not use BP_SYM.
2900 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2903         redundant return line.
2904         (norm): Likewise.
2905         (denorm): Likewise.
2906         (dbl_mp): Likewise.
2907         (sub_magnitudes): Likewise.
2908         (__add): Likewise.
2909         (__sub): Likewise.
2910         (__mul): Likewise.
2911         (__inv): Likewise.
2912         (__dvd): Likewise.
2913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2914         (norm): Likewise.
2915         (denorm): Likewise.
2916         (dbl_mp): Likewise.
2917         (sub_magnitudes): Likewise.
2918         (__add): Likewise.
2919         (__sub): Likewise.
2920         (__mul): Likewise.
2921         (__inv): Likewise.
2922         (__dvd): Likewise.
2924         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2925         instead of __mul.
2926         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2927         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2928         (cc32): Likewise.
2930         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2931         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2933         of __mul for squares.
2934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2935         function
2936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2937         Likewise.
2938         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2939         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2941 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2943         [BZ #13550]
2944         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2945         code.
2946         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2947         prototype or function definition.  Rename ubp_* variables and
2948         parameters.  Remove argv definitions conditional on
2949         [__BOUNDED_POINTERS__].
2950         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2951         * elf/dl-runtime.c (_dl_fixup): Likewise.
2952         * include/set-hooks.h (RUN_HOOK): Likewise.
2953         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2954         definition.
2955         * string/strcpy.c (strcpy): Do not use __unbounded.
2956         * sysdeps/generic/frame.h (struct layout): Likewise.
2957         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2958         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2959         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2960         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2961         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2962         (__backtrace): Likewise.
2963         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2964         use __ptrvalue.
2965         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2966         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2967         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2968         Likewise.
2969         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2970         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2971         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2972         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2973         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2974         Do not use __unbounded.
2975         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2976         Rename __unboundedrlimits parameter to rlimits in prototype.
2977         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2978         Do not use __unbounded.
2979         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2980         not use __ptrvalue.
2981         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2982         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2983         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2984         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2985         __ptrvalue or __unbounded.
2986         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2987         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2988         use __unbounded.
2989         (__new_msgctl): Do not use __ptrvalue.
2990         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2991         __unbounded.
2992         (__libc_msgrcv): Do not use __ptrvalue.
2993         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2994         startup_info): Do not use __unbounded.
2995         (__libc_start_main): Likewise.  Rename ubp_* variables and
2996         parameters.  Remove argv definitions conditional on
2997         [__BOUNDED_POINTERS__].
2998         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2999         __ptrvalue.
3000         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3001         use __unbounded.
3002         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3003         or __ptrvalue.
3004         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3005         use __unbounded.
3006         (__new_shmctl): Do not use __ptrvalue.
3007         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3008         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3012         (__libc_sigaction): Likewise.
3013         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3014         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3018 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3020         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3022         * string/mempcpy.c: Implement by calling memcpy.
3024 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3029         evaluation.
3031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3032         values in the mantissa.
3034         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3035         minimize writes to Z.
3036         (sub_magnitudes): Simplify code a bit.
3038 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3040         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3041         from the message.  The linker prefixes all warnings with that already.
3043 2013-02-12  Andreas Schwab  <schwab@suse.de>
3045         [BZ #15078]
3046         * posix/regexec.c (extend_buffers): Add parameter min_len.
3047         (check_matching): Pass minimum needed length.
3048         (clean_state_log_if_needed): Likewise.
3049         (get_subexp): Likewise.
3050         * posix/Makefile (tests): Add bug-regex34.
3051         (bug-regex34-ENV): Define.
3052         * posix/bug-regex34.c: New file.
3054         [BZ #11561]
3055         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3056         elements compare against the byte sequence of it, not its name.
3057         * posix/Makefile (tests): Add bug-regex35.
3058         (bug-regex35-ENV): Define.
3059         * posix/bug-regex35.c: New file.
3061 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3063         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3064         comment.
3065         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3066         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3067         (CHECK_EOL): Add undef.
3069 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3071         * bits/stdlib-bsearch.h: New file.
3072         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3073         * stdlib/stdlib.h: Likewise.
3075 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3077         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3078         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3079         declaration.
3080         * manual/search.texi (Array Search Function): Add missing const in
3081         lfind prototype.
3082         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3083         declaration to use rlim_t.
3084         (Basic Scheduling Functions): Remove erroneous const from
3085         sched_getparam prototype.  Remove erroneous * from
3086         sched_get_priority_max and sched_get_priority_min prototypes.
3087         (Resource Usage): Fix summary @comment on vtimes to refer to
3088         sys/vtimes.h rather than vtimes.h.
3089         Add missing *s in vtimes prototype.
3090         (Limits on Resources): Fix ulimit prototype to return long int.
3091         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3092         prototypes to use long int rather than double.
3093         (BSD Random): Fix initstate and setstate to use char *, not void *.
3094         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3095         prototype to make second argument 'struct aiocb64 *const[]'.
3096         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3097         (Status of AIO Operations): Remove erroneous const in aio_return and
3098         aio_return64 prototypes.
3099         (Synchronizing I/O): Fix sync prototype to return void.
3100         * manual/startup.texi (Suboptions): Remove an erroneous const in
3101         getsubopt prototype.
3102         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3103         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3104         use size_t rather than int.
3105         (Scanning All Users): Likewise for getpwent_r.
3106         (Setting Groups): Add missing const to setgroups prototype.
3107         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3108         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3109         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3110         'const void *' rather than 'const char *'.
3111         (Host Address Functions): Likewise for inet_ntop.
3112         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3113         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3114         ssize_t for return value.
3115         (Sending Data): Likewise for send, sendto, sendmsg.
3116         (Socket Option Functions): Add a missing const in setsockopt prototype.
3117         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3118         use wchar_t for the argument.
3119         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3120         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3121         take no arguments.
3122         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3123         double/float/long double for second argument.
3124         Fix return types of significand, significandf, significandl.
3125         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3126         argument in fchmod prototype.
3127         (File Owner): Use uid_t and gid_t in fchown prototype.
3128         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3129         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3130         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3131         use 'const struct dirent **' as argument types to CMP function pointer
3132         argument.
3133         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3134         (File Times): Fix summary magic @comment for struct utimbuf and utime
3135         to refer to utime.h, not time.h.
3136         * manual/string.texi (Argz Functions): Add missing const in
3137         argz_extract and argz_next prototypes.
3138         (Finding Tokens in a String): Likewise for basename.
3139         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3140         (Copying and Concatenation): Fix typo in wmemmove prototype.
3141         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3142         (Signal Stack): Remove erroneous const in sigstack prototype.
3143         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3144         prototype.
3145         (Simple Calendar Time): Likewise for stime.
3146         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3147         prototype.
3148         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3149         say sys/sysctl.h instead.
3150         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3151         and vsyslog prototypes.
3153 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3155         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3156         Remove.
3158 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3160         * misc/sys/mman.h: Fix typo in mremap comment.
3162 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3164         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3165         the '\0' terminator.
3167 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3169         [BZ #13550]
3170         * debug/segfault.c: Don't include <bp-checks.h>.
3171         * sysdeps/generic/bp-checks.h: Remove file.
3172         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3173         (__GETDENTS): Don't use CHECK_N.
3174         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3175         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3176         (__getgroups): Don't use CHECK_N.
3177         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3178         (setgroups): Don't use CHECK_N.
3179         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3180         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3181         (__libc_msgrcv): Don't use CHECK_N.
3182         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3183         (__libc_msgsnd): Don't use CHECK_N.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3185         <bp-checks.h>.
3186         (__libc_pread): Don't use CHECK_N.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3188         include <bp-checks.h>.
3189         (__libc_pread64): Don't use CHECK_N.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3191         include <bp-checks.h>.
3192         (__libc_pwrite): Don't use CHECK_N.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3194         include <bp-checks.h>.
3195         (__libc_pwrite64): Don't use CHECK_N.
3196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3197         <bp-checks.h>.
3198         (__libc_pread): Don't use CHECK_N.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3200         include <bp-checks.h>.
3201         (__libc_pread64): Don't use CHECK_N.
3202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3203         include <bp-checks.h>.
3204         (__libc_pwrite): Don't use CHECK_N.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3206         include <bp-checks.h>.
3207         (__libc_pwrite64): Don't use CHECK_N.
3208         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3209         (do_pread): Don't use CHECK_N.
3210         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3211         (do_pread64): Don't use CHECK_N.
3212         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3213         (do_pwrite): Don't use CHECK_N.
3214         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3215         (do_pwrite64): Don't use CHECK_N.
3216         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3217         (__libc_readv): Don't use CHECK_N.
3218         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3219         (semop): Don't use CHECK_N.
3220         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3221         <bp-checks.h>.
3222         (semtimedop): Don't use CHECK_N.
3223         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3224         (__libc_pread): Don't use CHECK_N.
3225         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3226         <bp-checks.h>.
3227         (__libc_pread64): Don't use CHECK_N.
3228         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3229         <bp-checks.h>.
3230         (__libc_pwrite): Don't use CHECK_N.
3231         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3232         <bp-checks.h>.
3233         (__libc_pwrite64): Don't use CHECK_N.
3234         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3235         <bp-checks.h>.
3236         (__libc_msgrcv): Don't use CHECK_N.
3237         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3238         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3239         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3240         (__libc_writev): Don't use CHECK_N.
3242 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3244         * string/strcpy.c: Removed unused variable.
3246         * Makeconfig (+sysdep-includes): Define with := rather than =.
3247         Use an existing include/ subdir of each sysdeps dir before it.
3249 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3251         * nscd/connection.c (register_traced_file): Comment function.
3252         [HAVE_INOTIFY] (union __inev): Define.
3253         [HAVE_INOTIFY] (inotify_check_files): New function.
3254         [HAVE_INOTIFY] (clear_db_cache): Likewise.
3255         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3256         clear_db_cache.
3257         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3259 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3261         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3262         loaded if not already and that a failure is permanent.
3264 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3266         [BZ #15006]
3267         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3268         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3270 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3272         [BZ #13550]
3273         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3274         (CHECK_1_NULL_OK): Likewise.
3275         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3276         (__fxstat): Do not use CHECK_1.
3277         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3278         <bp-checks.h>.
3279         (___fxstat64): Do not use CHECK_1.
3280         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3281         <bp-checks.h>.
3282         (__fxstatat): Do not use CHECK_1.
3283         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3284         <bp-checks.h>.
3285         (__fxstatat64): Do not use CHECK_1.
3286         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3287         <bp-checks.h>.
3288         (__fxstat): Do not use CHECK_1.
3289         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3290         <bp-checks.h>.
3291         (__fxstatat): Do not use CHECK_1.
3292         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3293         <bp-checks.h>.
3294         (__getresgid): Do not use CHECK_1.
3295         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3296         <bp-checks.h>.
3297         (__getresuid): Do not use CHECK_1.
3298         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3299         <bp-checks.h>.
3300         (__lxstat): Do not use CHECK_1.
3301         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3302         <bp-checks.h>.
3303         (__old_msgctl): Do not use CHECK_1.
3304         (__new_msgctl): Likewise.
3305         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3306         <bp-checks.h>.
3307         (__new_setrlimit): Do not use CHECK_1.
3308         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3309         <bp-checks.h>.
3310         (__old_shmctl): Do not use CHECK_1.
3311         (__new_shmctl): Likewise.
3312         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3313         <bp-checks.h>.
3314         (__xstat): Do not use CHECK_1.
3315         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3316         (__lxstat): Do not use CHECK_1.
3317         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3318         <bp-checks.h>.
3319         (___lxstat64): Do not use CHECK_1.
3320         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3321         (__old_msgctl): Do not use CHECK_1.
3322         (__new_msgctl): Likewise.
3323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3324         <bp-checks.h>.
3325         (__gettimeofday): Do not use CHECK_1.
3326         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3327         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3328         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3329         <bp-checks.h>.
3330         (__gettimeofday): Do not use CHECK_1.
3331         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3332         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3333         (__new_shmctl): Do not use CHECK_1.
3334         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3335         <bp-checks.h>.
3336         (do_sigtimedwait): Do not use CHECK_1.
3337         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3338         <bp-checks.h>.
3339         (do_sigwaitinfo): Do not use CHECK_1.
3340         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3341         <bp-checks.h>.
3342         (msgctl): Do not use CHECK_1.
3343         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3344         <bp-checks.h>.
3345         (shmctl): Do not use CHECK_1.
3346         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3347         (ustat): Do not use CHECK_1.
3348         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3349         <bp-checks.h>.
3350         (__fxstat): Do not use CHECK_1.
3351         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3352         <bp-checks.h>.
3353         (__fxstatat): Do not use CHECK_1.
3354         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3355         <bp-checks.h>.
3356         (__lxstat): Do not use CHECK_1.
3357         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3358         <bp-checks.h>.
3359         (__xstat): Do not use CHECK_1.
3360         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3361         (__xstat): Do not use CHECK_1.
3362         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3363         (___xstat64): Do not use CHECK_1.
3365         [BZ #13550]
3366         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3367         definitions.
3368         (CHECK_BOUNDS_HIGH): Likewise.
3369         * string/strcpy.c: Do not include <bp-checks.h>.
3370         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3372 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3374         * nscd/nscd-client.h (__nscd_drop_map_ref):
3375         Add __attribute__ ((unused)).
3376         * nis/nss-nisplus.h (niserr2nss): Likewise.
3378         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3379         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3381         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3382         Remove inline keyword.
3383         * include/rounding-mode.h (round_away): Likewise.
3384         * libio/wfileops.c (adjust_wide_data): Likewise.
3385         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3386         (__m128i_strloadu_tolower): Likewise.
3387         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3388         (__m128i_strloadu_tolower): Likewise.
3389         * time/mktime.c (ydhms_diff): Likewise.
3390         * locale/elem-hash.h (elem_hash): Likewise.
3391         * locale/setlocale.c (setdata): Likewise.
3392         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3393         (re_string_wchar_at): Likewise.
3394         (bitset_not, bitset_merge, bitset_mask): Likewise.
3395         [!(__GNUC__ > 3)] (inline): Remove macro.
3396         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3397         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3398         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3399         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3400         * string/memcmp.c (memcmp_bytes): Likewise.
3401         * locale/programs/locarchive.c (compute_hashval): Likewise.
3402         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3403         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3404         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3405         * nss/getent.c (print_rpc, print_protocols): Likewise.
3406         (print_passwd, print_group, print_aliases): Likewise.
3407         * nis/nss-nisplus.h (niserr2nss): Likewise.
3408         * nscd/connections.c (restart_p): Likewise.
3409         Change return type to bool.
3411 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3413         * Makeconfig (all-Depend-files): Add existing
3414         $(sorted-subdirs:=/Depend) files.
3415         (all-subdirs): Remove nss.
3416         * sysdeps/unix/inet/Subdirs: Add it here instead.
3417         * hesiod/Depend: New file.
3419         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3420         instead of calling alloca.
3422         * io/lseek.c (__lseek): Rename to __libc_lseek.
3423         Define __lseek as an alias.
3425         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3427 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3429         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3430         else clause and remove check for non-standard endianness.
3432 2013-02-04  David S. Miller  <davem@davemloft.net>
3434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3436 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3438         [BZ #13550]
3439         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3440         (__ubp_memchr): Remove prototype.
3441         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3442         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3443         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3444         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3445         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3446         Remove alias.
3447         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3448         (__ubp_memchr): Likewise.
3449         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3450         (__ubp_memchr): Likewise.
3451         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3452         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3453         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3454         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3455         CHECK_STRING.
3456         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3457         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3458         (__getcwd): Do not use CHECK_STRING.
3459         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3460         <bp-checks.h>.
3461         (__real_chown): Do not use CHECK_STRING.
3462         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3463         <bp-checks.h>.
3464         (fchownat): Do not use CHECK_STRING.
3465         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3466         CHECK_STRING.
3467         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3468         <bp-checks.h>.
3469         (__lchown): Do not use CHECK_STRING.
3470         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3471         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3472         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3473         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3475         include <bp-checks.h>.
3476         (truncate64): Do not use CHECK_STRING.
3477         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3478         <bp-checks.h>.
3479         (__real_chown): Do not use CHECK_STRING.
3480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3481         <bp-checks.h>.
3482         (__lchown): Do not use CHECK_STRING.
3483         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3484         <bp-checks.h>.
3485         (__chown): Do not use CHECK_STRING.
3486         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3487         <bp-checks.h>.
3488         (truncate64): Do not use CHECK_STRING.
3489         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3490         Likewise.
3491         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3492         (__xmknod): Do not use CHECK_STRING.
3493         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3494         <bp-checks.h>.
3495         (__xmknodat): Do not use CHECK_STRING.
3496         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3497         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3499 2013-02-04  Andreas Schwab  <schwab@suse.de>
3501         [BZ #14142]
3502         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3503         * include/netdb.h: Likewise for h_errno.
3504         * elf/tst-stackguard1.c: Include <tls.h>.
3506 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3508         * elf/link.h (struct link_map): Extend the l_addr comment.
3509         * include/link.h (struct link_map): Likewise.
3511 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3513         [BZ #13550]
3514         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3515         (BOUNDED_1): Remove macro.
3516         * debug/backtrace.c: Don't include <bp-checks.h>.
3517         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3518         (__backtrace): Likewise.
3519         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3520         <bp-checks.h>.
3521         (__backtrace): Don't use BOUNDED_1.
3522         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3523         <bp-checks.h>.
3524         (__backtrace): Don't use BOUNDED_1.
3525         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3526         (__backtrace): Don't use BOUNDED_1.
3527         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3528         (shmat): Don't use BOUNDED_N.
3530 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #13550]
3533         * sysdeps/generic/bp-start.h: Remove file.
3534         * csu/libc-start.c: Don't include <bp-start.h>.
3535         (LIBC_START_MAIN): Set up __environ directly instead of using
3536         INIT_ARGV_and_ENVIRON.
3537         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3538         <bp-start.h>.
3540         [BZ #13550]
3541         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3542         definitions.
3543         (CHECK_FCNTL): Likewise.
3544         (CHECK_N_PAGES): Likewise.
3546         [BZ #13550]
3547         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3548         definitions.
3549         (CHECK_SIGSET_NULL_OK): Likewise.
3550         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3551         <bp-checks.h>.
3552         (sigpending): Don't use CHECK_SIGSET.
3553         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3554         <bp-checks.h>.
3555         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3556         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3557         <bp-checks.h>.
3558         (do_sigsuspend): Don't use CHECK_SIGSET.
3559         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3560         use CHECK_SIGSET.
3561         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3562         (do_sigwait): Don't use CHECK_SIGSET.
3563         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3564         use CHECK_SIGSET.
3565         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3566         include <bp-checks.h>.
3567         (sigpending): Don't use CHECK_SIGSET.
3568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3569         include <bp-checks.h>.
3570         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3571         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3572         <bp-checks.h>.
3573         (sigpending): Don't use CHECK_SIGSET.
3574         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3575         <bp-checks.h>.
3576         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3578         [BZ #13550]
3579         * sysdeps/generic/bp-semctl.h: Remove file.
3580         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3581         <bp-checks.h> and <bp-semctl.h>.
3582         (__old_semctl): Don't use CHECK_SEMCTL.
3583         (__new_semctl): Likewise.
3584         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3585         and <bp-semctl.h>.
3586         (__old_semctl): Don't use CHECK_SEMCTL.
3587         (__new_semctl): Likewise.
3588         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3589         <bp-checks.h> and <bp-semctl.h>.
3590         (__old_semctl): Don't use CHECK_SEMCTL.
3591         (__new_semctl): Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3593         <bp-checks.h> and <bp-semctl.h>.
3594         (semctl): Don't use CHECK_SEMCTL.
3596         [BZ #13550]
3597         * Makerules (elide-bp-thunks): Remove variable.
3598         (elide-routines.oS): Don't use $(elide-bp-thunks).
3599         (elide-routines.os): Likewise.
3600         (elide-routines.o): Likewise.
3601         (elide-routines.op): Likewise.
3602         (elide-routines.og): Likewise.
3603         (objects): Don't use $(bp-thunks).
3604         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3605         include.
3606         (common-generated): Do not add s-proto-bp.d.
3607         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3608         (int): Likewise.
3609         (typ): Likewise.
3610         Do not generate makefile rules for bounded-pointer thunks.
3611         * sysdeps/generic/bp-thunks.h: Remove file.
3612         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3613         * sysdeps/unix/s-proto-bp.S: Likewise.
3615         [BZ #15062]
3616         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3617         parts of result separately when argument is not close to line from
3618         -i to i and one part of argument is small.
3619         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3620         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3621         * math/libm-test.inc (cacos_test): Add more tests.
3622         (casin_test): Likewise.
3623         (casinh_test): Likewise.
3624         * sysdeps/i386/fpu/libm-test-ulps: Update.
3625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627 2013-01-31  David S. Miller  <davem@davemloft.net>
3629         * po/de.po: Update from translation team.
3631 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3633         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3635 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3637         * configure.in (_AC_PROG_CC_C89): New definition.
3638         * configure: Regenerate.
3640         * configure.in (AC_PROG_CPP): New definition.
3641         * configure: Regenerate.
3643 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3645         * debug/tst-backtrace.h: New file.
3646         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3647         (ret): Remove variable.
3648         (x): Likewise.
3649         (FAIL): Remove macro.
3650         (NO_INLINE): Likewise.
3651         (fn1): Use match function instead of strstr.
3652         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3653         (ret): Remove variable.
3654         (x): Likewise.
3655         (FAIL): Remove macro.
3656         (NO_INLINE): Likewise.
3657         (fn): Use match function instead of strstr.
3658         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3659         (ret): Remove variable.
3660         (x): Likewise.
3661         (FAIL): Remove macro.
3662         (NO_INLINE): Likewise.
3663         (handle_signal): Use match function instead of strstr.
3664         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3665         (ret): Remove variable.
3666         (x): Likewise.
3667         (FAIL): Remove macro.
3668         (NO_INLINE): Likewise.
3669         (handle_signal): Use match function instead of strstr.
3671 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3673         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3675 2013-01-23  David S. Miller  <davem@davemloft.net>
3677         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3678         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3679         argument of CAS if possible.
3680         * sysdeps/sparc/sparc64/bits/atomic.h
3681         (__arch_compare_and_exchange_val_32_acq): Likewise.
3682         (__arch_compare_and_exchange_val_64_acq): Likewise.
3684 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3686         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3687         * sysdeps/posix/ulimit.c: ... this.
3688         Include <limits.h>.
3689         * sysdeps/unix/bsd/ulimit.c: Remove file.
3691 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3693         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3694         (LDFLAGS-tst-array5): Likewise.
3696 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3698         [BZ #15036]
3699         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3700         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3701         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3702         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3704 2013-01-21  David S. Miller  <davem@davemloft.net>
3706         * sysdeps/sparc/backtrace.c: New file.
3707         * sysdeps/sparc/sparc32/backtrace.h: New file.
3708         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3709         * sysdeps/sparc/sparc64/backtrace.h: New file.
3710         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3711         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3712         -funwind-tables.
3714 2013-01-21  Andreas Schwab  <schwab@suse.de>
3716         [BZ #15020]
3717         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3718         closed its stdout.
3720 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3723         "mpa2.h".
3724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3726 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3727             Mark Mitchell  <mark@codesourcery.com>
3728             Tom de Vries  <tom@codesourcery.com>
3729             Paul Pluzhnikov  <ppluzhnikov@google.com>
3731         * debug/tst-backtrace2.c: New file.
3732         * debug/tst-backtrace3.c: Likewise.
3733         * debug/tst-backtrace4.c: Likewise.
3734         * debug/tst-backtrace5.c: Likewise.
3735         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3736         (CFLAGS-tst-backtrace3.c): Likewise.
3737         (CFLAGS-tst-backtrace4.c): Likewise.
3738         (CFLAGS-tst-backtrace5.c): Likewise.
3739         (LDFLAGS-tst-backtrace2): Likewise.
3740         (LDFLAGS-tst-backtrace3): Likewise.
3741         (LDFLAGS-tst-backtrace4): Likewise.
3742         (LDFLAGS-tst-backtrace5): Likewise.
3743         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3744         tst-backtrace4 and tst-backtrace5.
3746 2013-01-18  Anton Blanchard  <anton@samba.org>
3747             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3749         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3750         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3751         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3752         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3754         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3755         "+r" and remove output regs list as redundant.  Add explicit inline
3756         asm to specify register of return val to work around compiler codegen
3757         bug.  Remove (int) cast on return value.  Add return type parameter to
3758         use in macro so that this macro does not truncate return value for
3759         64-bit values.
3760         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3761         pass to INTERNAL_VSYSCALL_NCS.
3762         (INLINE_VSYSCALL): Add 'long int' as return type to
3763         INTERNAL_VSYSCALL_NCS macro invocation.
3764         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3765         INTERNAL_VSYSCALL_NCS macro invocation.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3768 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770         [BZ #14496]
3771         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3772         Fix application of SIMD FP exception mask.
3774         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3775         mp_no from a power of two.
3776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3777         __mpexp_twomm1.  Use __pow_mp.
3779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3780         multiplication.
3782 2013-01-17  David S. Miller  <davem@davemloft.net>
3784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3786 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3788         [BZ #15023]
3789         * include/complex.h: Condition contents on [!_COMPLEX_H].
3790         (__kernel_casinhf): New prototype.
3791         (__kernel_casinh): Likewise.
3792         (__kernel_casinhl): Likewise.
3793         * math/Makefile (libm_calls): Add k_casinh.
3794         * math/k_casinh.c: New file.
3795         * math/k_casinhf.c: Likewise.
3796         * math/k_casinhl.c: Likewise.
3797         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3798         finite nonzero arguments.
3799         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3800         finite nonzero arguments.
3801         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3802         finite nonzero arguments.
3803         * math/s_casinh.c: Do not include <float.h>.
3804         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3805         * math/s_casinhf.c: Do not include <float.h>.
3806         (__casinhf): Move code for finite nonzero arguments to
3807         k_casinhf.c.
3808         * math/s_casinhl.c: Do not include <float.h>.
3809         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3810         redefine.
3811         (__casinhl): Move code for finite nonzero arguments to
3812         k_casinhl.c.
3813         * math/libm-test.inc (cacos_test): Add more tests.
3814         * sysdeps/i386/fpu/libm-test-ulps: Update.
3815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3817 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3819         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3820         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3821         [!HAVE_MREMAP]: Remove [defined linux] case.
3822         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3824 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3826         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3828 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3830         * elf/elf.h (R_386_SIZE32): New relocation.
3831         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3832         R_386_SIZE32.
3833         (elf_machine_rela): Likewise.
3834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3835         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3837 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3839         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3840         (FP_FAST_FMA): Do not define.
3841         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3842         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3843         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3844         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3845         !_SOFT_FLOAT]: Likewise.
3846         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3847         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3848         value.
3849         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3850         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3851         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3852         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3853         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3854         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3855         file.
3857 2013-01-16  Andreas Schwab  <schwab@suse.de>
3859         [BZ #14327]
3860         * include/stdlib.h (__mktemp): Add declaration.
3861         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3862         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3864 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3866         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3867         definitions.
3868         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3869         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3870         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3871         definitions here.
3872         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3873         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3874         definitions.
3875         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3876         and ONE.
3877         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3878         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3879         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3880         definitions.
3881         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3882         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3883         definitions.
3884         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3886         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3888 2013-01-15  David S. Miller  <davem@davemloft.net>
3890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3891         trunc{,f} to libm-sysdep_routes.
3892         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3894         file.
3895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3897         file.
3898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3899         file.
3900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3902         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3903         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3904         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3905         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3906         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3907         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3910         nearbyint{,f} to libm-sysdep_routes.
3911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3913         New file.
3914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3915         file.
3916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3917         New file.
3918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3919         file.
3920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3922         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3923         file.
3924         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3925         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3926         file.
3927         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3928         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3929         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3931         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3932         libc_feholdexcept and libc_fesetenv.
3934 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3936         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3938 2013-01-14  David S. Miller  <davem@davemloft.net>
3940         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3941         (SPARC_ASM_VIS2_IFUNC): Likewise.
3942         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3944         use of 'siam' instruction.
3945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3946         Likewise.
3947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3948         Likewise.
3949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3950         Likewise.
3951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3956         file.
3957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3958         file.
3959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3960         file.
3961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3962         file.
3963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3968         new VIS2 routines.
3969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3972         Likewise.
3973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3978         routines to libm-sysdep_routines.
3979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3982         fdim/fdimf to libm-sysdep_routines.
3983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3984         file.
3985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3987         file.
3988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3991         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3992         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3993         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3994         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3996 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3998         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3999         to optimize copies.
4001         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4006         local variable MPTWO.
4007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4008         Likewise.
4010 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4012         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4013         GLOB_NOESCAPE.
4015 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4017         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4019 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4021         * manual/pattern.texi (glob_t): Document gl_flags.
4022         (glob64_t): Likewise.
4024 2013-01-11  David S. Miller  <davem@davemloft.net>
4026         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4027         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4028         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4029         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4030         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4031         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4032         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4033         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4034         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4035         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4036         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4037         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4038         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4040         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4041         sparc V9 rather than using V8 code.
4042         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4043         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4045         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4046         Move to...
4047         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4048         Here.
4050 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4052         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4053         not in the main loop.
4054         * configure: Regenerated.
4056 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4058         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4059         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4060         to just #else.
4061         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4062         [!__GLIBC_HAVE_LONG_LONG] case.
4063         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4064         condition to just #else.
4065         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4066         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4067         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4068         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4069         unconditional.
4070         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4071         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4072         #elif condition to just #else.
4073         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4074         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4075         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4076         #elif condition to just #else.
4078 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4080         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4081         (EF_MIPS_ARCH_64): Fix value.
4082         (EF_MIPS_ARCH_32R2): New.
4083         (EF_MIPS_ARCH_64R2): New.
4085 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4087         * Makeconfig (+link-pie-before-libc): New.
4088         (+link-pie-after-libc): Likewise.
4089         (+link-pie-tests): Likewise.
4090         (+link-pie): Rewritten.
4091         (link-before-libc): Remove $(config-LDFLAGS).
4092         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4093         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4094         (config-LDFLAGS): Renamed to ...
4095         (rtld-LDFLAGS): This.
4096         (rtld-tests-LDFLAGS): New macro.
4097         (link-libc-rpath-link): Likewise.
4098         (link-libc-tests-rpath-link): Likewise.
4099         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4100         (link-libc): Prepand $(link-libc-rpath-link).
4101         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4102         (test-program-prefix): New macro.
4103         (test-via-rtld-prefix): Likewise.
4104         (test-program-cmd): Likewise.
4105         (host-test-program-cmd): Likewise.
4106         * Makefile ($(common-objpfx)testrun.sh): Replace
4107         $(run-program-prefix) with $(test-program-prefix).
4108         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4109         $(rtld-LDFLAGS).
4110         ($(common-objpfx)shlib.lds): Likewise.
4111         (build-module-helper): Likewise.
4112         ($(common-objpfx)format.lds): Likewise.
4113         * Rules (binaries-pie-tests): New.
4114         (binaries-pie-notests): Likewise.
4115         (binaries-pie): Rewritten.
4116         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4117         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4118         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4119         (make-test-out): Replace $(host-built-program-cmd) with
4120         $(host-test-program-cmd).
4121         * config.make.in (build-hardcoded-path-in-tests): New variable.
4122         * configure.in (--enable-hardcoded-path-in-tests): New configure
4123         option.
4124         (hardcoded_path_in_tests): New AC_SUBST.
4125         * configure: Regenerated.
4126         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4127         $(built-program-cmd) with $(test-program-cmd).
4128         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4129         (test_program_cmd): This.
4130         * elf/Makefile ($(objpfx)order.out): Run test with
4131         $(test-program-prefix).
4132         ($(objpfx)order2.out): Likewise.
4133         ($(objpfx)tst-initorder.out): Likewise.
4134         ($(objpfx)tst-initorder2.out): Likewise.
4135         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4136         $(test-program-cmd).
4137         ($(objpfx)tst-array1-static.out): Likewise.
4138         ($(objpfx)tst-array2.out): Likewise.
4139         ($(objpfx)tst-array3.out): Likewise.
4140         ($(objpfx)tst-array4.out): Likewise.
4141         ($(objpfx)tst-array5.out): Likewise.
4142         ($(objpfx)tst-array5-static.out): Likewise.
4143         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4144         $(test-program-cmd).
4145         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4146         $(run-program-prefix) with $(test-program-prefix).
4147         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4148         (test_program_prefix): This.
4149         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4150         $(run-program-prefix) with $(test-program-prefix).
4151         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4152         (test_program_prefix): This.
4153         * iconvdata/tst-tables.sh: Likewise.
4154         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4155         $(run-program-prefix) with $(test-program-prefix).
4156         ($(objpfx)tst-translit.out): Likewise.
4157         ($(objpfx)tst-gettext2.out): Likewise.
4158         ($(objpfx)tst-gettext4.out): Likewise.
4159         ($(objpfx)tst-gettext6.out): Likewise.
4160         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4161         (test_program_prefix): This.
4162         * intl/tst-gettext2.sh: Likewise.
4163         * intl/tst-gettext4.sh  Likewise.
4164         * intl/tst-gettext6.sh: Likewise.
4165         * intl/tst-translit.sh: Likewise.
4166         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4167         with $(test-program-cmd).
4168         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4169         $(run-program-prefix) with $(test-program-prefix).
4170         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4171         (test_program_prefix): This.
4172         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4173         $(run-program-prefix) with $(test-program-prefix).
4174         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4175         (test_program_prefix): This.
4176         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4177         * posix/Makefile ($(objpfx)globtest.out): Replace
4178         $(run-via-rtld-prefix) and $(test-wrapper) with
4179         $(test-program-prefix) and $(test-via-rtld-prefix).
4180         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4181         $(test-program-prefix).
4182         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4183         $(host-test-program-cmd).
4184         (tst-spawn-ARGS): Likewise.
4185         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4186         $(test-program-prefix).
4187         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4188         (test_via_rtld_prefix): This.
4189         (test_wrapper): Renamed to ...
4190         (test_program_prefix): This.
4191         (run_program_prefix): Replaced by test_program_prefix.
4192         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4193         (test_program_prefix): This.
4194         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4195         with $(host-test-program-cmd).
4196         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4197         $(run-program-prefix) with $(test-program-prefix).
4198         ($(objpfx)tst-printf.out): Likewise.
4199         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4200         $(test-program-cmd).
4201         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4202         (test_program_prefix): This.
4203         * stdio-common/tst-unbputc.sh: Likewise.
4204         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4205         $(run-program-prefix) with $(test-program-prefix).
4206         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4207         (test_program_prefix): This.
4208         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4209         $(built-program-cmd) with $(test-program-cmd).
4211 2013-01-11  Andreas Jaeger  <aj@suse.de>
4213         [BZ #15003]
4214         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4215         value. Sync with Linux 3.7.
4217 2013-01-10  David S. Miller  <davem@davemloft.net>
4219         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4220         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4221         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4223 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4225         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4226         never set.
4227         * configure: Regenerated.
4229 2013-01-10  David S. Miller  <davem@davemloft.net>
4231         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4232         sparc V9 rather than using V8 code.
4233         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4234         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4236 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4238         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4239         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4240         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4241         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4242         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4243         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4244         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4245         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4246         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4247         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4248         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4249         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4250         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4251         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4252         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4253         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4254         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4255         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4256         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4257         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4258         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4259         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4260         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4261         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4262         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4263         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4264         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4266 2013-01-10  David S. Miller  <davem@davemloft.net>
4268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4270 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4272         * posix/Makefile (tests-static): New variable.
4273         (tests): Add $(tests-static).
4274         (tst-exec-static-ARGS): New variable.
4275         (tst-spawn-static-ARGS): Likewise.
4276         * posix/tst-exec-static.c: New file.
4277         * posix/tst-spawn-static.c: Likewise.
4278         * posix/tst-exec.c: Support run directly.
4279         * posix/tst-spawn.c: Likewise.
4281 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4283         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4284         long.
4285         * math/bits/mathcalls.h (llrint): Likewise.
4286         (llround): Likewise.
4287         * stdlib/stdlib.h (struct drand48_data): Likewise.
4288         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4289         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4290         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4291         Likewise.
4292         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4293         Likewise.
4294         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4295         (elf_greg_t): Likewise.
4296         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4297         (__jmp_buf): Likewise.
4298         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4299         definitions.
4300         (llrint): Likewise, for all definitions.
4301         (llrintl): Likewise.
4303         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4304         Remove [__GNUC__] condition.
4305         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4306         condition to just [__USE_ISOC99].
4307         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4309 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4311         [BZ #14200]
4312         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4313         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4314         defined.
4315         (_POSIX_V6_ILP32_OFF32): Likewise.
4316         (_XBS5_ILP32_OFF32): Likewise.
4317         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4318         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4320 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4322         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4325         doubles __mpexp_twomm1.  Adjust usage.
4326         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4327         Remove.
4329 2013-01-10  Andreas Schwab  <schwab@suse.de>
4331         [BZ #14964]
4332         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4333         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4335 2013-01-09  David S. Miller  <davem@davemloft.net>
4337         [BZ #15003]
4338         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4339         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4340         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4341         TCP_FASTOPEN): Define.
4342         (tcp_repair_opt): New structure.
4343         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4344         enum values.
4345         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4346         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4347         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4348         (tcp_cookie_transactions): New structure.
4350 2013-01-09  Anton Blanchard  <anton@samba.org>
4352         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4353         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4355         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4357 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4359         * include/features.h (__USE_ANSI): Remove.
4361 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4363         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4365         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4367 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4369         * sysdeps/s390/fpu/libm-test-ulps: Update.
4371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4373         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4374         (__acr): Likewise.
4375         (__cpy): Likewise.
4376         (norm): Likewise.
4377         (denorm): Likewise.
4378         (__mp_dbl): Likewise.
4379         (__dbl_mp): Likewise.
4380         (add_magnitudes): Likewise.
4381         (sub_magnitudes): Likewise.
4382         (__add): Likewise.
4383         (__sub): Likewise.
4384         (__mul): Likewise.
4385         (__inv): Likewise.
4386         (__dvd): Likewise.
4387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4388         (__acr): Likewise.
4389         (__cpy): Likewise.
4390         (norm): Likewise.
4391         (denorm): Likewise.
4392         (__mp_dbl): Likewise.
4393         (__dbl_mp): Likewise.
4394         (add_magnitudes): Likewise.
4395         (sub_magnitudes): Likewise.
4396         (__add): Likewise.
4397         (__sub): Likewise.
4398         (__mul): Likewise.
4399         (__inv): Likewise.
4400         (__dvd): Likewise.
4401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4402         (__acr): Likewise.
4403         (__cpy): Likewise.
4404         (norm): Likewise.
4405         (denorm): Likewise.
4406         (__mp_dbl): Likewise.
4407         (__dbl_mp): Likewise.
4408         (add_magnitudes): Likewise.
4409         (sub_magnitudes): Likewise.
4410         (__add): Likewise.
4411         (__sub): Likewise.
4412         (__mul): Likewise.
4413         (__inv): Likewise.
4414         (__dvd): Likewise.
4416 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4418         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4419         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4420         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4421         2 && __USE_EXTERN_INLINES]: Likewise.
4423 2013-01-08  Andreas Jaeger  <aj@suse.de>
4425         [BZ# 14985]
4426         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4427         Remove.
4428         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4429         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4431 2013-01-07  Anton Blanchard  <anton@samba.org>
4433         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4434         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4435         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4436         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4437         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4438         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4439         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4440         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4443         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4444         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4445         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4446         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4447         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4448         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4449         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4450         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4451         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4452         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4453         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4454         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4455         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4456         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4457         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4458         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4459         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4460         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4462         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4463         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4465         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4466         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4467         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4468         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4469         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4471         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4472         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4473         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4474         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4475         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4477 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4479         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4480         (__MALLOC_PMT): Likewise.
4481         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4482         [__GNUC__], only on [_LIBC].
4483         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4484         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4485         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4486         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4487         forward declaration.
4488         (realloc_hook_ini): Likewise.
4489         (memalign_hook_ini): Likewise.
4490         (__libc_memalign): Do not use __MALLOC_PMT in variable
4491         declaration.
4492         (__libc_valloc): Likewise.
4493         (__libc_pvalloc): Likewise.
4494         (__libc_calloc): Likewise.
4495         (__posix_memalign): Likewise.
4497         [BZ #14996]
4498         * math/s_casinh.c: Include <float.h>.
4499         (__casinh): Do not do computation with squaring and square root
4500         for large arguments.
4501         * math/s_casinhf.c: Include <float.h>.
4502         (__casinhf): Do not do computation with squaring and square root
4503         for large arguments.
4504         * math/s_casinhl.c: Include <float.h>.
4505         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4506         (__casinhl): Do not do computation with squaring and square root
4507         for large arguments.
4508         * math/libm-test.inc (casin_test): Add more tests.
4509         (casinh_test): Likewise.
4510         * sysdeps/i386/fpu/libm-test-ulps: Update.
4511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4513 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4515         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4516         (__x86_64_raw_data_cache_size): Likewise.
4517         (__x86_64_data_cache_size_half): Likewise.
4518         (__x86_64_raw_data_cache_size_half): Likewise.
4519         (__x86_64_shared_cache_size): Likewise.
4520         (__x86_64_raw_shared_cache_size): Likewise.
4521         (__x86_64_shared_cache_size_half): Likewise.
4522         (__x86_64_raw_shared_cache_size_half): Likewise.
4523         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4524         to ...
4525         (__x86_data_cache_size): This.
4526         (__x86_64_raw_data_cache_size): Renamed to ...
4527         (__x86_raw_data_cache_size): This.
4528         (__x86_64_data_cache_size_half): Renamed to ...
4529         (__x86_data_cache_size_half): This.
4530         (__x86_64_raw_data_cache_size_half): Renamed to ...
4531         (__x86_raw_data_cache_size_half): This.
4532         (__x86_64_shared_cache_size): Renamed to ...
4533         (__x86_shared_cache_size): This.
4534         (__x86_64_raw_shared_cache_size): Renamed to ...
4535         (__x86_raw_shared_cache_size): This.
4536         (__x86_64_shared_cache_size_half): Renamed to ...
4537         (__x86_shared_cache_size_half): This.
4538         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4539         (__x86_raw_shared_cache_size_half): This.
4540         * sysdeps/x86_64/memcpy.S: Updated.
4541         * sysdeps/x86_64/memset.S: Likewise.
4542         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4546 2013-01-04  David S. Miller  <davem@davemloft.net>
4548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4550 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4552         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4553         1 to avoid redefinition warning.
4554         (__USE_GNU): Don't define.
4555         (init_signaling_nan): Protoize.
4557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4559 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4561         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4563         (__cpymn): Likewise.
4564         (norm): Remove commented code.
4565         (denorm): Likewise.
4566         (__mp_dbl): Likewise.
4567         (__inv): Likewise.
4568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4569         (__cpymn): Likewise.
4570         (norm): Remove commented code.
4571         (denorm): Likewise.
4572         (__mp_dbl): Likewise.
4573         (__inv): Likewise.
4575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4576         mp_no value for 1.0 and 2.0.
4577         (norm): Use RADIXI instead of radixi.d.
4578         (denorm): Likewise.
4579         (__mul): Use 0.0 instead of zero.d.
4580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4581         mp_no value for 1.0 and 2.0.
4582         (norm): Use RADIXI instead of radixi.d.
4583         (denorm): Likewise.
4584         (__mul): Use 0.0 instead of zero.d.
4586 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4588         [BZ #14994]
4589         * math/s_casinh.c (__casinh): Reduce finite argument to first
4590         quadrant then set signs of results at the end.
4591         * math/s_casinhf.c (__casinhf): Likewise.
4592         * math/s_casinhl.c (__casinhl): Likewise.
4593         * math/libm-test.inc (casin_test): Add more tests.
4594         (casinh_test): Likewise.
4595         * sysdeps/i386/fpu/libm-test-ulps: Update.
4596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4598 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4600         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4602         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4604         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4605         declarations.
4606         (denorm): Likewise.
4607         (__mp_dbl): Likewise.
4608         (__inv): Likewise.
4610         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4611         and adjust the header comment.
4613         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4614         variable name from declaration.
4616 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4619         Initialize COMMON_CPUID_INDEX_7 element.
4620         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4621         (CPUID_RTM): Likewise.
4622         (HAS_RTM): Likewise.
4623         (COMMON_CPUID_INDEX_7): New enum.
4625 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4627         [BZ #14981]
4628         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4629         size is zero, record memory as freed.
4631 2013-01-03  Andreas Jaeger  <aj@suse.de>
4633         * po/ia.po: Add new Interlingua translation.
4635 2012-01-03  Allan McRae  <allan@archlinux.org>
4637         * locale/programs/localedef.c: Fix description of '--posix' flag.
4639 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4641         * NEWS: Update dates in second copyright notice.
4642         * README: Update copyright dates in example.
4643         * manual/libc.texinfo: Update copyright dates.
4644         * scripts/test-installation.pl: Update copyright date in --version
4645         output.
4647         * hurd/ctty-input.c: Fix copyright notice formatting.
4648         * hurd/ctty-output.c: Likewise.
4649         * hurd/dtable.c: Likewise.
4650         * hurd/hurd-raise.c: Likewise.
4651         * hurd/hurdprio.c: Likewise.
4652         * hurd/msgportdemux.c: Likewise.
4653         * misc/sys/file.h: Likewise.
4654         * misc/sys/ioctl.h: Likewise.
4655         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4656         * sysdeps/mach/hurd/chdir.c: Likewise.
4657         * sysdeps/mach/hurd/fchdir.c: Likewise.
4658         * sysdeps/mach/hurd/rename.c: Likewise.
4659         * sysdeps/mach/hurd/rmdir.c: Likewise.
4660         * sysdeps/mach/hurd/seekdir.c: Likewise.
4661         * sysdeps/mach/hurd/setsid.c: Likewise.
4662         * sysdeps/posix/wait3.c: Likewise.
4664         * All files with FSF copyright notices: Update copyright dates
4665         using scripts/update-copyrights.
4666         * intl/plural.c: Regenerated.
4667         * locale/programs/charmap-kw.h: Likewise.
4668         * locale/programs/locfile-kw.h: Likewise.
4670 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4672         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4673         four values.
4675         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4676         calculation loop and add branch prediction.
4678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4679         check access beyond bounds of m1np.
4681         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4682         MPTWO.
4683         (__inv): Remove local variable MPTWO to use the global
4684         constant.
4685         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4687         variable MPTWO.
4688         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4689         MP3HALFS static const.
4691 2013-01-01  David S. Miller  <davem@davemloft.net>
4693         * po/ca.po: Update from translation team.
4695 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4697         * scripts/update-copyrights: New file.
4698         * Makeconfig: Reformat copyright notice.
4699         * ctype/ctype.h: Likewise.
4700         * debug/swprintf_chk.c: Likewise.
4701         * elf/dl-cache.c: Likewise.
4702         * elf/dl-debug.c: Likewise.
4703         * elf/dl-object.c: Likewise.
4704         * grp/initgroups.c: Likewise.
4705         * hurd/Makefile: Likewise.
4706         * hurd/hurd/signal.h: Likewise.
4707         * hurd/hurdfault.c: Likewise.
4708         * hurd/hurdioctl.c: Likewise.
4709         * hurd/hurdlookup.c: Likewise.
4710         * hurd/intr-msg.c: Likewise.
4711         * iconv/gconv_open.c: Likewise.
4712         * libio/swprintf.c: Likewise.
4713         * locale/lc-ctype.c: Likewise.
4714         * locale/nl_langinfo.c: Likewise.
4715         * mach/Machrules: Likewise.
4716         * mach/Makefile: Likewise.
4717         * malloc/obstack.h: Likewise.
4718         * manual/Makefile: Likewise.
4719         * manual/tsort.awk: Likewise.
4720         * misc/bits/stab.def: Likewise.
4721         * nis/nis_print_group_entry.c: Likewise.
4722         * nis/nis_table.c: Likewise.
4723         * nis/nss_compat/compat-pwd.c: Likewise.
4724         * nis/nss_compat/compat-spwd.c: Likewise.
4725         * po/Makefile: Likewise.
4726         * posix/fnmatch.c: Likewise.
4727         * posix/regex.h: Likewise.
4728         * resolv/Makefile: Likewise.
4729         * resolv/nss_dns/dns-network.c: Likewise.
4730         * resolv/res_hconf.c: Likewise.
4731         * scripts/gen-sorted.awk: Likewise.
4732         * soft-fp/soft-fp.h: Likewise.
4733         * stdio-common/printf.h: Likewise.
4734         * stdlib/monetary.h: Likewise.
4735         * stdlib/random.c: Likewise.
4736         * stdlib/random_r.c: Likewise.
4737         * sysdeps/generic/Makefile: Likewise.
4738         * sysdeps/gnu/Makefile: Likewise.
4739         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4741         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4743         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4746         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4747         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4749         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4750         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4751         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4752         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4753         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4754         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4755         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4757         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4759         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4760         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4761         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4762         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4763         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4764         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4765         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4766         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4767         * sysdeps/mach/hurd/errnos.awk: Likewise.
4768         * sysdeps/mach/hurd/fork.c: Likewise.
4769         * sysdeps/mach/hurd/getcwd.c: Likewise.
4770         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4771         * sysdeps/mach/hurd/mmap.c: Likewise.
4772         * sysdeps/mach/hurd/utimes.c: Likewise.
4773         * sysdeps/mach/hurd/xmknod.c: Likewise.
4774         * sysdeps/posix/profil.c: Likewise.
4775         * sysdeps/posix/readdir_r.c: Likewise.
4776         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4777         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4778         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4779         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4781         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4783         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4785         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4786         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4787         * sysdeps/pthread/lio_listio.c: Likewise.
4788         * sysdeps/sparc/dl-procinfo.h: Likewise.
4789         * sysdeps/unix/i386/sysdep.S: Likewise.
4790         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4791         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4792         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4793         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4795         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4796         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4797         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4798         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4799         * sysdeps/wordsize-32/divdi3.c: Likewise.
4800         * time/sys/time.h: Likewise.
4801         * wcsmbs/Makefile: Likewise.
4803 2013-01-01  David S. Miller  <davem@davemloft.net>
4805         * po/fr.po: Update from translation team.
4807         * catgets/gencat.c: Update copyright year.
4808         * csu/version.c: Likewise.
4809         * debug/catchsegv.sh: Likewise.
4810         * debug/pcprofiledump.c: Likewise.
4811         * debug/xtrace.sh: Likewise.
4812         * elf/ldconfig.c: Likewise.
4813         * elf/ldd.bash.in: Likewise.
4814         * elf/pldd.c: Likewise.
4815         * elf/sotruss.ksh: Likewise.
4816         * elf/sprof.c: Likewise.
4817         * iconv/iconv_prog.c: Likewise.
4818         * iconv/iconvconfig.c: Likewise.
4819         * locale/programs/locale.c: Likewise.
4820         * locale/programs/localedef.c: Likewise.
4821         * login/programs/pt_chown.c: Likewise.
4822         * malloc/memusage.sh: Likewise.
4823         * malloc/memusagestat.c: Likewise.
4824         * malloc/mtrace.pl: Likewise.
4825         * nscd/nscd.c: Likewise.
4826         * nss/getent.c: Likewise.
4827         * nss/makedb.c: Likewise.
4828         * posix/getconf.c: Likewise.
4830 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4832         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4833         numbers.
4835 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4837         * math/bits/mathcalls.h (modf): Use __nonnull.
4839 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4841         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4842         (split): Use macro CN instead of the bare value.
4843         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4844         could be used.
4845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4846         instead of the bare value.
4847         (power1): Likewise.
4849 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4852         __ATAN_TWOM.
4853         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4855         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4856         their values.
4857         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4858         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4859         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4860         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4862 2012-12-28  Andreas Jaeger  <aj@suse.de>
4864         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4865         values are from Linux 3.7.
4867         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4868         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4870 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4872         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4873         TRUE case.
4875         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4876         (norm): Likewise.
4877         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4878         variables with preprocessor constants.
4879         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4880         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4883 2012-12-27  Bruno Haible  <bruno@clisp.org>
4885         [BZ #14317]
4886         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4887         only if needed.
4889 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4892         and use variable directly.
4893         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4895         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4896         MPONE.
4897         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4898         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4899         variable MPONE.
4900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4902         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4903         include directive.  Remove local variable MPONE.
4904         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4905         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4906         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4908 2012-12-25  David S. Miller  <davem@davemloft.net>
4910         * version.h (RELEASE): Set to "development".
4911         (VERSION): Set to "2.17.90".
4912         * NEWS: Add 2.18 section.
4914 2012-12-21  David S. Miller  <davem@davemloft.net>
4916         * po/hr.po: Update from translation team.
4918 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4920         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4922 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4924         * NEWS:  Mention new memcpy for MIPS.
4926 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4928         * manual/contrib.texi (Contributors): Spelling correction.
4930 2012-12-15  David S. Miller  <davem@davemloft.net>
4932         * po/ru.po: Update from translation team.
4934 2012-12-13  David S. Miller  <davem@davemloft.net>
4936         * NEWS: Mention IFUNC testsuite enhancements.
4938         * po/pl.po: Update from translation team.
4939         * po/bg.po: Likewise.
4941         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4942         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4944 2012-12-11  David S. Miller  <davem@davemloft.net>
4946         * po/sv.po: Update from translation team.
4948         * po/vi.po: Update from translation team.
4950         * po/cs.po: Update from translation team.
4952         * po/de.po: Update from translation team.
4953         * po/eo.po: Likewise.
4954         * po/nl.po: Likewise.
4956 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4958         [BZ #14246]
4959         * manual/argp.texi (Argp Helper Functions): Move node to follow
4960         Argp Parsing State.
4962         [BZ #14872]
4963         * manual/conf.texi (Limits on File System Capacity): Mention if
4964         terminating null is included in the max size.
4966 2012-12-10  Andreas Jaeger  <aj@suse.de>
4968         * po/cs.po: Update from translation team.
4970 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4972         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4973         void pointer and cast to uintptr_t.
4974         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4975         path.
4976         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4977         * sysdeps/s390/s390-64/memset.S: Likewise.
4979 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4981         [BZ #14833]
4982         * menual/message.texi (Message Translation): Fix typos.
4983         (Helper programs for gettext): Likewise.
4985 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4987         [BZ #14898]
4988         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4989         Change to -1.
4991 2012-12-07  David S. Miller  <davem@davemloft.net>
4993         * po/libc.pot: Update.
4995 2012-12-07  Richard Henderson  <rth@redhat.com>
4997         [BZ #10114]
4998         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4999         normal/normal case to before the switch.
5000         (_FP_DIV): Likewise.
5002 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5003             Mike Frysinger  <vapier@gentoo.org>
5005         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5006         check for __NR_fadvise64_64.
5008 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5010         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5011         0, not just to plain "0" as a statement.
5012         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5013         with cw.
5015 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5017         * NEWS: Use sourceware.org in Bugzilla URL.
5019 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5022         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5024         * stdio-common/tst-put-error.c (do_test): Add newline to the
5025         padded test to ensure flush.
5027 2012-12-05  Jeff Law  <law@redhat.com>
5029         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5031 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5033         * README: Don't refer to ports add-on as distributed separately.
5034         Mention AArch64 in list of systems supported in the ports add-on.
5036         * LICENSES: Add more non-FSF copyright and license notices.
5038         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5039         ((unused)).
5041         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5043         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5044         10000 as width of padded output.
5046 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5048         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5050         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5051         variable LX with __attribute__ ((unused)).
5052         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5053         Likewise.
5054         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5057         with __attribute__ ((unused)).
5059 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5061         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5063 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5065         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5066         (CFLAGS-nldbl-acos.c): New variable.
5067         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5068         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5069         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5070         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5071         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5072         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5073         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5074         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5075         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5076         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5077         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5078         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5079         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5080         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5081         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5082         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5083         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5084         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5085         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5086         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5087         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5088         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5089         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5090         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5091         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5092         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5093         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5094         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5095         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5096         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5097         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5098         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5099         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5100         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5101         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5102         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5103         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5104         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5105         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5106         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5107         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5108         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5109         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5110         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5111         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5112         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5113         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5114         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5115         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5116         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5117         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5118         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5119         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5120         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5121         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5122         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5123         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5124         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5125         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5126         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5127         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5128         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5129         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5130         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5131         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5132         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5133         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5134         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5135         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5136         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5137         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5138         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5139         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5140         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5141         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5142         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5143         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5144         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5145         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5146         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5147         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5148         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5149         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5150         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5151         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5152         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5153         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5154         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5155         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5156         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5157         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5158         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5159         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5160         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5161         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5162         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5163         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5166         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5168         [BZ #14914]
5169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5170         whole low double instead of just low 47 bits when splitting values
5171         into two parts.
5173 2012-12-03  Allan McRae  <allan@archlinux.org>
5175         * manual/stdio.texi (Predefined Printf Handlers): Remove
5176         @hsep and @vsep usage.
5178 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5180         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5181         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5183 2012-12-03  Jeff Law  <law@redhat.com>
5185         * time/sys/time.h (settimeofday): Do not mark TV argument
5186         as __nonnull.
5188 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5190         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5191         when currently writing and seek to current position when not.
5192         * libio/Makefile (tests): Remove bug-fclose1.
5193         * libio/bug-fclose1.c: Delete.
5195 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5197         * manual/arith.texi (feenableexcept): Fix typo.
5198         (fedisableexcept): Likewise.
5200 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5202         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5203         second, differently-typed declaration, rather than a cast.
5205 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5207         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5208         * include/rpc/svc.h: ... here.
5210 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5212         [BZ #13013]
5213         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5214         depending n and resplen2 to catch cases where answer
5215         equals answerp2.
5217 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5219         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5220         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5222 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5226 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5228         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5230 2012-11-28  Jeff Law  <law@redhat.com>
5232         [BZ #13761]
5233         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5234         dataset_temporary.  Track alloca usage into alloca_used.
5235         If dataset is large allocate and release it via malloc/free.
5237 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5239         [BZ #14197]
5240         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5242 2012-11-28  David S. Miller  <davem@davemloft.net>
5244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5246 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5248         [BZ #14803]
5249         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5250         of pi/2 rounded to nearest to 64 bits.
5251         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5252         nearest to 64 bits.
5253         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5254         bits.
5256 2012-11-28  Jeff Law <law@redhat.com>
5257             Martin Osvald <mosvald@redhat.com>
5259         [BZ #14889]
5260         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5261         * sunrpc/svc.c: Include time.h.
5262         (__svc_accept_failed): New function.
5263         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5264         any reason other than EINTR, call __svc_accept_failed.
5265         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5266         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5268 2012-11-28  Andreas Schwab  <schwab@suse.de>
5270         * scripts/abilist.awk: Also handle indirect functions in .opd
5271         section.
5273 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5275         [BZ #13881]
5276         * sysdeps/x86/fpu/powl_helper.c: New file.
5277         * sysdeps/x86/fpu/Makefile: Likewise.
5278         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5279         (p3): New object.
5280         (__ieee754_powl): Use __powl_helper for finite arguments except
5281         integer exponents below 8.
5282         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5283         (p3): New object.
5284         (__ieee754_powl): Use __powl_helper for finite arguments except
5285         integer exponents below 8.
5286         * math/libm-test.inc (pow_test): Add more tests and enable some
5287         previously disabled tests.
5288         * sysdeps/i386/fpu/libm-test-ulps: Update.
5289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5292             Carlos O'Donell  <carlos_odonell@mentor.com>
5294         * nss/makedb.c (is_prime): Assert that input is odd and greater
5295         than 4.  Note that fact in a comment too.
5296         (next_prime): Add 4 to input.
5298 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5300         [BZ #11741]
5301         * libio/Makefile (tests): Add test case tst-fwrite-error.
5302         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5303         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5304         * libio/tst-fwrite-error.c: New test case.
5306 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5308         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5309         before casting to void *.
5310         * include/libc-internal.h (__pointer_type): New macro.
5311         (__integer_if_pointer_type_sub): Likewise.
5312         (__integer_if_pointer_type): Likewise.
5313         (cast_to_integer): Likewise.
5314         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5315         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5316         before casting to atomic64_t.
5317         (atomic_exchange_acq): Likewise.
5318         (__arch_exchange_and_add_body): Likewise.
5319         (__arch_add_body): Likewise.
5320         (atomic_add_negative): Likewise.
5321         (atomic_add_zero): Likewise.
5323 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5325         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5326         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5327         (add_fdes): Likewise.
5328         (linear_search_fdes): Likewise.
5329         (binary_search_unencoded_fdes): Likewise.
5331 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5333         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5335 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5337         * configure.in: Autodetect C++ header directories.
5338         * configure: Regenerated.
5340 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5342         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5344 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5348 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5350         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5351         LDBL_MANT_DIG == 106]: Disable some tests.
5352         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5353         Likewise.
5354         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5355         Likewise.
5357         [BZ #14871]
5358         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5359         input for small inputs.  Return +/- pi/2 for large inputs.
5360         * math/libm-test.inc (atan_test): Add more tests.
5362         * sysdeps/generic/unwind-dw2-fde-glibc.c
5363         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5364         __attribute__ ((unused)).
5366         [BZ #14645]
5367         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5368         x * y if x and y are nonzero and z is zero.
5370         [BZ #14811]
5371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5372         nonzero exponents with absolute value below 0x1p-117 to +/-
5373         0x1p-117.
5375         [BZ #14869]
5376         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5377         up arguments below 2**-450, not just those below 2**-500.
5378         * math/libm-test.inc (hypot_test): Add another test.
5380         [BZ #14868]
5381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5382         Return a+b for ratio over 2**120, not 2**60.
5383         * math/libm-test.inc (hypot_test): Add another test.
5385         * math/libm-test.inc (clog_test): Use
5386         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5387         (clog10_test): Likewise.
5389         [BZ #6778]
5390         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5392 2012-11-22  Andreas Schwab  <schwab@suse.de>
5394         * sysdeps/i386/fpu/libm-test-ulps: Update.
5396 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5398         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5399         printf output with newline.
5401 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5403         [BZ #14865]
5404         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5405         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5406         -z nodlopen, -z initfirst and -z execstack support.
5407         * configure: Regenerated.
5409         * elf/elf.h (DF_1_NODIRECT): New macro.
5410         (DF_1_IGNMULDEF): Likewise.
5411         (DF_1_NOKSYMS): Likewise.
5412         (DF_1_NOHDR): Likewise.
5413         (DF_1_EDITED): Likewise.
5414         (DF_1_NORELOC): Likewise.
5415         (DF_1_SYMINTPOSE): Likewise.
5416         (DF_1_GLOBAUDIT): Likewise.
5417         (DF_1_SINGLETON): Likewise.
5418         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5419         DT_1_SUPPORTED_MASK bits.
5420         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5422 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5424         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5426 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5428         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5429         macro.
5431         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5432         (sendmmsg): Move declarations...
5433         * socket/sys/socket.h: ... here.
5434         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5435         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5436         include it from...
5437         * socket/recvmmsg.c: ... this new file.
5438         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5439         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5440         definition of __sendmmsg hidden.
5441         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5442         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5443         Move ENOSYS stub into and include it from...
5444         * socket/sendmmsg.c: ... this new file.
5445         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5446         (sysdep_routines): Move recvmmsg and sendmmsg...
5447         * socket/Makefile (routines): ... here.
5448         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5449         (GLIBC_PRIVATE): Add __sendmmsg.
5450         * include/sys/socket.h (__sendmmsg): Add declarations.
5451         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5452         sendmmsg.
5454 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5457         variable I1 with __attribute__ ((unused)).
5458         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5460 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5462         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5463         DUMMY variables with __attribute__ ((unused)).
5465         * bits/byteswap.h: Include <bits/types.h>.
5466         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5468 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5470         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5471         string_t.  Do not manually set errno.
5472         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5473         length with __strnlen.  Make sure to both set errno and return it on
5474         failure.
5476 2012-11-19  David S. Miller  <davem@davemloft.net>
5478         With help from Joseph Myers.
5479         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5480         very large arguments properly.
5481         * math/libm-test.inc (atan_test): New tests.
5482         (atan2_test): New tests.
5483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5486 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5488         [BZ #14856]
5489         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5490         Define to 3.
5492         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5493         [POSIX] (EADDRNOTAVAIL): Likewise.
5494         [POSIX] (EAFNOSUPPORT): Likewise.
5495         [POSIX] (EALREADY): Likewise.
5496         [POSIX] (ECONNABORTED): Likewise.
5497         [POSIX] (ECONNREFUSED): Likewise.
5498         [POSIX] (ECONNRESET): Likewise.
5499         [POSIX] (EDESTADDRREQ): Likewise.
5500         [POSIX] (EDQUOT): Likewise.
5501         [POSIX] (EHOSTUNREACH): Likewise.
5502         [POSIX] (EIDRM): Likewise.
5503         [POSIX] (EISCONN): Likewise.
5504         [POSIX] (ELOOP): Likewise.
5505         [POSIX] (EMULTIHOP): Likewise.
5506         [POSIX] (ENETDOWN): Likewise.
5507         [POSIX] (ENETUNREACH): Likewise.
5508         [POSIX] (ENOBUFS): Likewise.
5509         [POSIX] (ENODATA): Likewise.
5510         [POSIX] (ENOLINK): Likewise.
5511         [POSIX] (ENOMSG): Likewise.
5512         [POSIX] (ENOPROTOOPT): Likewise.
5513         [POSIX] (ENOSR): Likewise.
5514         [POSIX] (ENOSTR): Likewise.
5515         [POSIX] (ENOTCONN): Likewise.
5516         [POSIX] (ENOTSOCK): Likewise.
5517         [POSIX] (EOPNOTSUPP): Likewise.
5518         [POSIX] (EOVERFLOW): Likewise.
5519         [POSIX] (EPROTO): Likewise.
5520         [POSIX] (EPROTONOSUPPORT): Likewise.
5521         [POSIX] (EPROTOTYPE): Likewise.
5522         [POSIX] (ESTALE): Likewise.
5523         [POSIX] (ETIME): Likewise.
5524         [POSIX] (ETXTBSY): Likewise.
5525         [POSIX] (EWOULDBLOCK): Likewise.
5526         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5527         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5528         [POSIX] (SEEK_CUR): Likewise.
5529         [POSIX] (SEEK_END): Likewise.
5530         [POSIX || UNIX98] (mode_t): Do not require.
5531         [POSIX] (off_t): Likewise.
5532         [POSIX] (pid_t): Likewise.
5533         [POSIX] (sys/stat.h): Do not allow header.
5534         [POSIX] (unistd.h): Likewise.
5535         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5536         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5537         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5538         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5539         require.
5540         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5541         sigevent): Specify elements.
5542         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5543         entry.
5544         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5545         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5547         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5548         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5549         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5550         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5551         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5552         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5553         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5554         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5555         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5556         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5557         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5558         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5559         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5560         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5561         Likewise.
5562         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5563         Likewise.
5564         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5565         Likewise.
5566         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5567         Likewise.
5568         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5569         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5570         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5571         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5572         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5573         Specify lower bound on value.
5574         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5575         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5576         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5577         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5578         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5579         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5580         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5581         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5582         value.
5583         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5584         as optional.
5585         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5586         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5587         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5588         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5589         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5590         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5591         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5592         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5593         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5594         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5595         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5596         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5597         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5598         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5599         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5600         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5601         entry.
5602         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5603         optional.
5604         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5605         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5606         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5607         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5608         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5609         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5610         Likewise.
5611         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5612         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5613         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5614         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5615         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5616         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5617         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5618         as optional.
5619         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5620         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5621         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5622         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5623         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5624         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5625         specify as optional.
5626         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5627         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5628         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5629         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5630         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5631         [XPG3] (NL_LANGMAX): Likewise.
5632         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5633         [POSIX || XPG3] (NL_NMAX): Likewise.
5634         [POSIX || XPG3] (NL_SETMAX): Likewise.
5635         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5636         [XPG3] (NZERO): Likewise.
5637         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5638         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5639         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5640         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5641         (REG_ERANGE): Expect.
5642         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5643         optional-constant.
5644         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5645         Use (void) in prototype.
5646         [POSIX] (*_t): Allow.
5647         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5648         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5649         (WRDE_BADVAL): Expect.
5651         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5652         expect.
5653         [XPG3 || XPG4] (O_RSYNC): Likewise.
5654         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5655         Likewise.
5656         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5657         [XPG3 || XPG4] (sigqueue): Likewise.
5658         [XPG3 || XPG4] (sigtimedwait): Likewise.
5659         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5660         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5661         [XPG3 || XPG4] (vsnprintf): Likewise.
5662         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5663         Likewise.
5664         [XPG3 || XPG4] (blksize_t): Likewise.
5665         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5666         Likewise.
5667         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5668         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5669         [XPG3 || XPG4] (struct itimerspec): Likewise.
5670         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5671         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5672         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5673         [XPG3 || XPG4] (clockid_t): Likewise.
5674         [XPG3 || XPG4] (timer_t): Likewise.
5675         [XPG3 || XPG4] (clock_getres): Likewise.
5676         [XPG3 || XPG4] (clock_gettime): Likewise.
5677         [XPG3 || XPG4] (clock_settime): Likewise.
5678         [XPG3 || XPG4] (nanosleep): Likewise.
5679         [XPG3 || XPG4] (timer_create): Likewise.
5680         [XPG3 || XPG4] (timer_delete): Likewise.
5681         [XPG3 || XPG4] (timer_gettime): Likewise.
5682         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5683         [XPG3 || XPG4] (timer_settime): Likewise.
5684         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5685         [XPG3 || XPG4] (getlogin_r): Likewise.
5686         [XPG3 || XPG4] (pread): Likewise.
5687         [XPG3 || XPG4] (pthread_atfork): Likewise.
5688         [XPG3 || XPG4] (pwrite): Likewise.
5690         [BZ #14835]
5691         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5692         <bits/siginfo.h>.
5694 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5696         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5697         finalizing MALLSTREAM.
5699         * sysdeps/mach/hurd/syncfs.c: New file.
5701 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5703         [BZ #14719]
5704         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5705         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5706         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5707         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5708         (_nss_dns_gethostbyname4_r): Likewise.
5709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5710         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5712 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5714         [BZ #13763]
5715         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5717 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5719         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5720         * elf/cache.c (print_entry): Print ",AArch64" for
5721         FLAG_AARCH64_LIB64
5723         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5724         * elf/cache.c (print_entry): Print ",hard-float" for
5725         FLAG_ARM_LIBHF.
5727 2012-11-18  David S. Miller  <davem@davemloft.net>
5729         With help from Joseph Myers.
5730         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5731         cutoff to 2**-13.
5732         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5733         cutoff to 2**-25.
5734         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5735         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5736         small.
5737         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5738         * math/libm-test.inc (y0_test): New tests.
5739         (y1_test): New tests.
5740         * sysdeps/i386/fpu/libm-test-ulps: Update.
5741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5744 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5746         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5747         64-bit targets.
5748         * configure: Regenerated.
5750 2012-11-17  David S. Miller  <davem@davemloft.net>
5752         [BZ #14811]
5753         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5754         nonzero exponents with absolute value below 0x1p-128 to +/-
5755         0x1p-128.
5757 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5759         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5761         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5763         * posix/getconf-speclist.c: New file.
5764         * posix/posix-envs.def: Likewise.
5765         * posix/confstr.c (START_ENV_GROUP): New macro.
5766         (END_ENV_GROUP): Likewise.
5767         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5768         (KNOWN_PRESENT_ENV_STRING): Likewise.
5769         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5770         (UNKNOWN_ENVIRONMENT): Likewise.
5771         (confstr): Include posix-envs.def instead of handling
5772         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5773         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5774         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5775         (END_ENV_GROUP): Likewise.
5776         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5777         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5778         (UNKNOWN_ENVIRONMENT): Likewise.
5779         (__sysconf): Include posix-envs.def instead of handling associated
5780         cases directly here.
5781         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5782         preprocessing getconf-speclist.c rather than running getconf or
5783         generating empty file.
5785 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5787         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5789 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5791         [BZ #14672]
5792         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5794 2012-11-16  David S. Miller  <davem@davemloft.net>
5796         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5797         smaller than LDBL_EPSILON/2.0L, just return xm1.
5799 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5801         * elf/tst-array1.c (init): Set constructor priority to 1000.
5802         (fini): Set destructor priority to 1000.
5803         * elf/tst-array2dep.c: Likewise.
5805 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5807         [BZ #11741]
5808         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5809         (_IO_new_file_xsputn): Also return EOF if none of the input
5810         data was written when overflow failed.
5811         * libio/iopadn.c (_IO_padn): Likewise.
5812         * libio/iowpadn.c (_IO_wpadn): Likewise.
5813         * stdio-common/tst-put-error.c: Add copyright notice.
5814         (do_test): Add case for printing padded string.
5815         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5816         _IO_padn returned error.
5817         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5818         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5819         return EOF.
5821 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5823         * libio/libioP.h: Add comment note that the references to C++
5824         bits are now obsolete.
5826 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5828         * math/libm-test.inc (check_complex): Use asprintf.
5830 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5832         * debug/pcprofiledump.c (print_version): Update copyright year.
5833         * malloc/memusagestat.c (print_version): Likewise.
5835 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5837         [BZ #14831]
5838         * elf/Makefile (tests): Add tst-audit8.
5839         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5840         ($(objpfx)tst-audit8.out): New target.
5841         (tst-audit8-ENV): New variable.
5842         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5843         audit if l_reloc_result is NULL.
5844         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5845         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5846         * elf/tst-audit8.c: New file.
5848 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5850         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5851         * misc/Makefile (CFLAGS-select.c): Define.
5852         * posix/Makefile (CFLAGS-pause.c): Define.
5854 2012-11-13  David S. Miller  <davem@davemloft.net>
5856         * crypt/Makefile: Move test targets after toplevel Rules
5857         inclusion.  Grab any necessary sysdep routines when linking.
5858         * crypt/md5.c (md5_process_block): Remove define, we will always
5859         name it __md5_process_block.
5860         (md5_finish_ctx): Update md5_process_block call.
5861         (md5_stream): Likewise.
5862         (md5_process_bytes): Likewise.
5863         (md5_process_block): Rename to __md5_process_block and move to ...
5864         * crypt/md5-block.c: ... here.
5865         * crypt/sha256.c (sha256_process_block): Move to ...
5866         * crypt/sha256-block.c: ... here.
5867         * crypt/sha512.c (sha512_process_block): Move to ...
5868         * crypt/sha512-block.c: ... here.
5869         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5870         path.
5871         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5872         * sysdeps/sparc/sparc64/multiarch/Makefile
5873         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5874         crypt subdir.
5875         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5876         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5877         multiarch changes.
5878         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5879         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5880         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5881         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5882         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5883         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5884         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5885         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5886         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5887         file.
5888         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5889         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5890         file.
5891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5893 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5895         * timezone/tzselect.ksh: Update from tzcode git revision
5896         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5897         * timezone/zdump.c: Likewise.
5898         * timezone/zic.c: Likewise.
5899         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5900         in TZVERSION setting, not $(PKGVERSION).
5901         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5902         REPORT_BUGS_TO settings.
5904         [BZ #14838]
5905         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5906         macro.
5908 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5910         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5911         detection to immediately after _FP_ROUND().
5912         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5913         bits are 0.
5915 2012-11-11  David S. Miller  <davem@davemloft.net>
5917         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5918         inttypes.h
5919         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5920         __close rather than their public counterparts.
5922 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5924         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5925         file.
5926         [UNIX98] (sem_timedwait): Do not expect.
5927         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5928         [XPG4 || UNIX98] (sockatmark): Do not expect.
5929         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5930         (clock_getcpuclockid): Do not expect.
5931         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5932         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5933         Do not expect.
5934         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5935         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5936         [UNIX98] (vwscanf): Likewise.
5937         [UNIX98] (vswscanf): Likewise.
5939 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5941         * timezone/version.h: Remove file.
5942         * timezone/README: Do not refer to version.h.
5943         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5944         $(objpfx)version.h.
5945         ($(objpfx)zdump.o): Likewise.
5946         ($(objpfx)version.h): New target.
5948         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5949         2012i.
5950         * timezone/README: Don't mention modification to tzselect.ksh.
5951         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5952         work on unmodified tzselect.ksh.  Substitute version numbers in
5953         tzselect.ksh.
5955         * Makefile (format-me): Remove.
5956         (INSTALL): Adjust indentation.  Use commands directly instead of
5957         using $(format-me).
5959         * aclocal.m4 (ACX_PKGVERSION): New macro.
5960         (ACX_BUGURL): Likewise.
5961         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5962         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5963         (REPORT_BUGS_TO): Likewise.
5964         * configure: Regenerated.
5965         * config.h.in (PKGVERSION): New macro.
5966         (REPORT_BUGS_TO): Likewise.
5967         * config.make.in (PKGVERSION): New variable.
5968         (PKGVERSION_TEXI): Likewise.
5969         (REPORT_BUGS_TO): Likewise.
5970         (REPORT_BUGS_TEXI): Likewise.
5971         * Makefile (format-me): Use -I$(common-objpfx)manual.
5972         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5973         ($(common-objpfx)manual/%): New target.
5974         (manual/%): Remove target.
5975         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5976         (print_version): Use PKGVERSION.
5977         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5978         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5979         and REPORT_BUGS_TO.
5980         ($(objpfx)xtrace): Likewise.
5981         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5982         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5983         (print_version): Use PKGVERSION.
5984         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5985         (do_version): Use PKGVERSION.
5986         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5987         REPORT_BUGS_TO.
5988         (common-ldd-rewrite): Likewise.
5989         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5990         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5991         (print_version): Use PKGVERSION.
5992         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5993         * elf/pldd.c (argp_program_bug_address): Remove variable.
5994         (more_help): New function.
5995         (argp): Use more_help.
5996         (print_version): Use PKGVERSION.
5997         * elf/sln.c (main): Use PKGVERSION.
5998         (usage): Use REPORT_BUGS_TO.
5999         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6000         (top level): Use PKGVERSION.
6001         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6002         (print_version): Use PKGVERSION.
6003         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6004         (print_version): Use PKGVERSION.
6005         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6006         (print_version): Use PKGVERSION.
6007         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6008         (print_version): Use PKGVERSION.
6009         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6010         (print_version): Use PKGVERSION.
6011         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6012         (print_version): Use PKGVERSION.
6013         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6014         and BUGURL.
6015         ($(objpfx)memusage): Likewise.
6016         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6017         (do_version): Use PKGVERSION.
6018         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6019         (print_version): Use PKGVERSION.
6020         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6021         ($PKGVERSION): New variable.
6022         ($REPORT_BUGS_TO): Likewise.
6023         (usage): Use $REPORT_BUGS_TO.
6024         (top level): Use $PKGVERSION.
6025         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6026         ($(objpfx)pkgvers.texi): New rule.
6027         ($(objpfx)stamp-pkgvers): Likewise.
6028         * manual/install.texi: Include pkgvers.texi.
6029         (--with-pkgversion): Document new configure option.
6030         (--with-bugurl): Likewise.
6031         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6032         than necessarily for this particular distribution.  Use
6033         REPORT_BUGS_TO for where to report bugs.
6034         * INSTALL: Regenerated.
6035         * manual/libc.texinfo: Include pkgvers.texi.
6036         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6037         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6038         (print_version): Use PKGVERSION.
6039         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6040         (print_version): Use PKGVERSION.
6041         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6042         (print_version): Use PKGVERSION.
6043         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6044         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6045         macro.
6046         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6047         (print_version): Use PKGVERSION.
6048         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6049         (print_version): Use PKGVERSION.
6050         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6051         and PKGVERSION.
6053         * timezone/checktab.awk: Update from tzcode 2012i.
6054         * timezone/ialloc.c: Likewise.
6055         * timezone/private.h: Likewise.
6056         * timezone/scheck.c: Likewise.
6057         * timezone/tzfile.h: Likewise.
6058         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6059         (TZVERSION): Hardcode tzcode version number.
6060         * timezone/zdump.c: Update from tzcode 2012i.
6061         * timezone/zic.c: Likewise.
6062         * timezone/version.h: New file.
6063         * timezone/README: Describe version.h.  Update upstream location.
6065         [BZ #14824]
6066         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6067         (mktemp): Enable declaration.
6068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6072         Likewise.
6073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6074         Likewise.
6075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6076         Likewise.
6077         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6078         Likewise.
6079         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6080         Likewise.
6081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6082         Likewise.
6084         [BZ #14821]
6085         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6086         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6087         for copies of such integer values.
6088         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6089         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6091 2012-11-09  Andreas Jaeger  <aj@suse.de>
6093         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6094         definitions and declarations that are provided by
6095         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6097 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6099         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6100         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6101         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6102         definition.
6104 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6106         * elf/elf.h: Update comment before AArch64 relocations.
6108 2012-11-07  David S. Miller  <davem@davemloft.net>
6110         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6111         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6112         (__start_context): Declare.
6113         (__makecontext_ret): Delete.
6114         (__makecontext): Hook up __start_context instead of
6115         __makecontext_ret.
6116         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6117         (sysdep_routines): Add __start_context when in stdlib.
6119 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6121         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6122         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6123         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6124         hardcoded "nm".
6125         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6126         (READELF): New variable.  Use it instead of hardcoded "readelf".
6128 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6130         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6131         * sysdeps/x86/Makefile: Here.
6132         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6133         * sysdeps/x86/tst-xmmymm.sh: This.
6135 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6137         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6138         expectations.
6139         [UNIX98] (pthread_barrier_t): Do not expect.
6140         [UNIX98] (pthread_barrierattr_t): Likewise.
6141         [UNIX98] (pthread_spinlock_t): Likewise.
6142         [UNIX98] (pthread_barrier_destroy): Likewise.
6143         [UNIX98] (pthread_barrier_init): Likewise.
6144         [UNIX98] (pthread_barrier_wait): Likewise.
6145         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6146         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6147         [UNIX98] (pthread_barrierattr_init): Likewise.
6148         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6149         [UNIX98] (pthread_getcpuclockid): Likewise.
6150         [UNIX98] (pthread_mutex_timedlock): Likewise.
6151         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6152         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6153         [UNIX98] (pthread_sigmask): Likewise.
6154         [UNIX98] (pthread_spin_destroy): Likewise.
6155         [UNIX98] (pthread_spin_init): Likewise.
6156         [UNIX98] (pthread_spin_lock): Likewise.
6157         [UNIX98] (pthread_spin_trylock): Likewise.
6158         [UNIX98] (pthread_spin_unlock): Likewise.
6159         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6160         Do not expect.
6161         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6162         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6163         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6164         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6165         [XPG3 || XPG4] (pthread_key_t): Likewise.
6166         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6167         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6168         [XPG3 || XPG4] (pthread_once_t): Likewise.
6169         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6170         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6171         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6172         [XPG3 || XPG4] (pthread_t): Likewise.
6174         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6175         not expect.
6176         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6178         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6179         Change function return type to int.
6181         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6182         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6183         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6184         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6185         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6186         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6187         [!POSIX] (posix_madvise): Likewise.
6188         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6189         && !UNIX98].
6190         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6191         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6192         (mode_t): Likewise.
6193         (posix_mem_offset): Likewise.
6194         (posix_typed_mem_get_info): Likewise.
6195         (posix_typed_mem_open): Likewise.
6197         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6198         Change condition to [XOPEN2K8].
6200         * conform/conformtest.pl: Preprocess allow-header data with -x c
6201         instead of from stdin.
6202         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6203         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6204         [C99-based standards] (cerfc): Likewise.
6205         [C99-based standards] (cexp2): Likewise.
6206         [C99-based standards] (cexpm1): Likewise.
6207         [C99-based standards] (clog10): Likewise.
6208         [C99-based standards] (clog1p): Likewise.
6209         [C99-based standards] (clog2): Likewise.
6210         [C99-based standards] (clgamma): Likewise.
6211         [C99-based standards] (ctgamma): Likewise.
6212         [C99-based standards] (cerff): Likewise.
6213         [C99-based standards] (cerfcf): Likewise.
6214         [C99-based standards] (cexp2f): Likewise.
6215         [C99-based standards] (cexpm1f): Likewise.
6216         [C99-based standards] (clog10f): Likewise.
6217         [C99-based standards] (clog1pf): Likewise.
6218         [C99-based standards] (clog2f): Likewise.
6219         [C99-based standards] (clgammaf): Likewise.
6220         [C99-based standards] (ctgammaf): Likewise.
6221         [C99-based standards] (cerfl): Likewise.
6222         [C99-based standards] (cerfcl): Likewise.
6223         [C99-based standards] (cexp2l): Likewise.
6224         [C99-based standards] (cexpm1l): Likewise.
6225         [C99-based standards] (clog10l): Likewise.
6226         [C99-based standards] (clog1pl): Likewise.
6227         [C99-based standards] (clog2l): Likewise.
6228         [C99-based standards] (clgammal): Likewise.
6229         [C99-based standards] (ctgammal): Likewise.
6230         * conform/data/inttypes.h-data [C99-based standards]: Include
6231         stdint.h-data.  Remove all expectations for stdint.h contents.
6232         [C99-based standards] (PRI*): Do not allow.
6233         [C99-based standards] (SCN*): Likewise.
6234         [C99-based standards] (*_t): Likewise.
6235         [C99-based-standards] (PRId8): Expect macro.
6236         [C99-based-standards] (PRIi8): Likewise.
6237         [C99-based-standards] (PRIo8): Likewise.
6238         [C99-based-standards] (PRIu8): Likewise.
6239         [C99-based-standards] (PRIx8): Likewise.
6240         [C99-based-standards] (PRIX8): Likewise.
6241         [C99-based-standards] (SCNd8): Likewise.
6242         [C99-based-standards] (SCNi8): Likewise.
6243         [C99-based-standards] (SCNo8): Likewise.
6244         [C99-based-standards] (SCNu8): Likewise.
6245         [C99-based-standards] (SCNx8): Likewise.
6246         [C99-based-standards] (PRIdLEAST8): Likewise.
6247         [C99-based-standards] (PRIiLEAST8): Likewise.
6248         [C99-based-standards] (PRIoLEAST8): Likewise.
6249         [C99-based-standards] (PRIuLEAST8): Likewise.
6250         [C99-based-standards] (PRIxLEAST8): Likewise.
6251         [C99-based-standards] (PRIXLEAST8): Likewise.
6252         [C99-based-standards] (SCNdLEAST8): Likewise.
6253         [C99-based-standards] (SCNiLEAST8): Likewise.
6254         [C99-based-standards] (SCNoLEAST8): Likewise.
6255         [C99-based-standards] (SCNuLEAST8): Likewise.
6256         [C99-based-standards] (SCNxLEAST8): Likewise.
6257         [C99-based-standards] (PRIdFAST8): Likewise.
6258         [C99-based-standards] (PRIiFAST8): Likewise.
6259         [C99-based-standards] (PRIoFAST8): Likewise.
6260         [C99-based-standards] (PRIuFAST8): Likewise.
6261         [C99-based-standards] (PRIxFAST8): Likewise.
6262         [C99-based-standards] (PRIXFAST8): Likewise.
6263         [C99-based-standards] (SCNdFAST8): Likewise.
6264         [C99-based-standards] (SCNiFAST8): Likewise.
6265         [C99-based-standards] (SCNoFAST8): Likewise.
6266         [C99-based-standards] (SCNuFAST8): Likewise.
6267         [C99-based-standards] (SCNxFAST8): Likewise.
6268         [C99-based-standards] (PRId16): Likewise.
6269         [C99-based-standards] (PRIi16): Likewise.
6270         [C99-based-standards] (PRIo16): Likewise.
6271         [C99-based-standards] (PRIu16): Likewise.
6272         [C99-based-standards] (PRIx16): Likewise.
6273         [C99-based-standards] (PRIX16): Likewise.
6274         [C99-based-standards] (SCNd16): Likewise.
6275         [C99-based-standards] (SCNi16): Likewise.
6276         [C99-based-standards] (SCNo16): Likewise.
6277         [C99-based-standards] (SCNu16): Likewise.
6278         [C99-based-standards] (SCNx16): Likewise.
6279         [C99-based-standards] (PRIdLEAST16): Likewise.
6280         [C99-based-standards] (PRIiLEAST16): Likewise.
6281         [C99-based-standards] (PRIoLEAST16): Likewise.
6282         [C99-based-standards] (PRIuLEAST16): Likewise.
6283         [C99-based-standards] (PRIxLEAST16): Likewise.
6284         [C99-based-standards] (PRIXLEAST16): Likewise.
6285         [C99-based-standards] (SCNdLEAST16): Likewise.
6286         [C99-based-standards] (SCNiLEAST16): Likewise.
6287         [C99-based-standards] (SCNoLEAST16): Likewise.
6288         [C99-based-standards] (SCNuLEAST16): Likewise.
6289         [C99-based-standards] (SCNxLEAST16): Likewise.
6290         [C99-based-standards] (PRIdFAST16): Likewise.
6291         [C99-based-standards] (PRIiFAST16): Likewise.
6292         [C99-based-standards] (PRIoFAST16): Likewise.
6293         [C99-based-standards] (PRIuFAST16): Likewise.
6294         [C99-based-standards] (PRIxFAST16): Likewise.
6295         [C99-based-standards] (PRIXFAST16): Likewise.
6296         [C99-based-standards] (SCNdFAST16): Likewise.
6297         [C99-based-standards] (SCNiFAST16): Likewise.
6298         [C99-based-standards] (SCNoFAST16): Likewise.
6299         [C99-based-standards] (SCNuFAST16): Likewise.
6300         [C99-based-standards] (SCNxFAST16): Likewise.
6301         [C99-based-standards] (PRId32): Likewise.
6302         [C99-based-standards] (PRIi32): Likewise.
6303         [C99-based-standards] (PRIo32): Likewise.
6304         [C99-based-standards] (PRIu32): Likewise.
6305         [C99-based-standards] (PRIx32): Likewise.
6306         [C99-based-standards] (PRIX32): Likewise.
6307         [C99-based-standards] (SCNd32): Likewise.
6308         [C99-based-standards] (SCNi32): Likewise.
6309         [C99-based-standards] (SCNo32): Likewise.
6310         [C99-based-standards] (SCNu32): Likewise.
6311         [C99-based-standards] (SCNx32): Likewise.
6312         [C99-based-standards] (PRIdLEAST32): Likewise.
6313         [C99-based-standards] (PRIiLEAST32): Likewise.
6314         [C99-based-standards] (PRIoLEAST32): Likewise.
6315         [C99-based-standards] (PRIuLEAST32): Likewise.
6316         [C99-based-standards] (PRIxLEAST32): Likewise.
6317         [C99-based-standards] (PRIXLEAST32): Likewise.
6318         [C99-based-standards] (SCNdLEAST32): Likewise.
6319         [C99-based-standards] (SCNiLEAST32): Likewise.
6320         [C99-based-standards] (SCNoLEAST32): Likewise.
6321         [C99-based-standards] (SCNuLEAST32): Likewise.
6322         [C99-based-standards] (SCNxLEAST32): Likewise.
6323         [C99-based-standards] (PRIdFAST32): Likewise.
6324         [C99-based-standards] (PRIiFAST32): Likewise.
6325         [C99-based-standards] (PRIoFAST32): Likewise.
6326         [C99-based-standards] (PRIuFAST32): Likewise.
6327         [C99-based-standards] (PRIxFAST32): Likewise.
6328         [C99-based-standards] (PRIXFAST32): Likewise.
6329         [C99-based-standards] (SCNdFAST32): Likewise.
6330         [C99-based-standards] (SCNiFAST32): Likewise.
6331         [C99-based-standards] (SCNoFAST32): Likewise.
6332         [C99-based-standards] (SCNuFAST32): Likewise.
6333         [C99-based-standards] (SCNxFAST32): Likewise.
6334         [C99-based-standards] (PRId64): Likewise.
6335         [C99-based-standards] (PRIi64): Likewise.
6336         [C99-based-standards] (PRIo64): Likewise.
6337         [C99-based-standards] (PRIu64): Likewise.
6338         [C99-based-standards] (PRIx64): Likewise.
6339         [C99-based-standards] (PRIX64): Likewise.
6340         [C99-based-standards] (SCNd64): Likewise.
6341         [C99-based-standards] (SCNi64): Likewise.
6342         [C99-based-standards] (SCNo64): Likewise.
6343         [C99-based-standards] (SCNu64): Likewise.
6344         [C99-based-standards] (SCNx64): Likewise.
6345         [C99-based-standards] (PRIdLEAST64): Likewise.
6346         [C99-based-standards] (PRIiLEAST64): Likewise.
6347         [C99-based-standards] (PRIoLEAST64): Likewise.
6348         [C99-based-standards] (PRIuLEAST64): Likewise.
6349         [C99-based-standards] (PRIxLEAST64): Likewise.
6350         [C99-based-standards] (PRIXLEAST64): Likewise.
6351         [C99-based-standards] (SCNdLEAST64): Likewise.
6352         [C99-based-standards] (SCNiLEAST64): Likewise.
6353         [C99-based-standards] (SCNoLEAST64): Likewise.
6354         [C99-based-standards] (SCNuLEAST64): Likewise.
6355         [C99-based-standards] (SCNxLEAST64): Likewise.
6356         [C99-based-standards] (PRIdFAST64): Likewise.
6357         [C99-based-standards] (PRIiFAST64): Likewise.
6358         [C99-based-standards] (PRIoFAST64): Likewise.
6359         [C99-based-standards] (PRIuFAST64): Likewise.
6360         [C99-based-standards] (PRIxFAST64): Likewise.
6361         [C99-based-standards] (PRIXFAST64): Likewise.
6362         [C99-based-standards] (SCNdFAST64): Likewise.
6363         [C99-based-standards] (SCNiFAST64): Likewise.
6364         [C99-based-standards] (SCNoFAST64): Likewise.
6365         [C99-based-standards] (SCNuFAST64): Likewise.
6366         [C99-based-standards] (SCNxFAST64): Likewise.
6367         [C99-based-standards] (PRIdMAX): Likewise.
6368         [C99-based-standards] (PRIiMAX): Likewise.
6369         [C99-based-standards] (PRIoMAX): Likewise.
6370         [C99-based-standards] (PRIuMAX): Likewise.
6371         [C99-based-standards] (PRIxMAX): Likewise.
6372         [C99-based-standards] (PRIXMAX): Likewise.
6373         [C99-based-standards] (SCNdMAX): Likewise.
6374         [C99-based-standards] (SCNiMAX): Likewise.
6375         [C99-based-standards] (SCNoMAX): Likewise.
6376         [C99-based-standards] (SCNuMAX): Likewise.
6377         [C99-based-standards] (SCNxMAX): Likewise.
6378         [C99-based-standards] (PRIdPTR): Likewise.
6379         [C99-based-standards] (PRIiPTR): Likewise.
6380         [C99-based-standards] (PRIoPTR): Likewise.
6381         [C99-based-standards] (PRIuPTR): Likewise.
6382         [C99-based-standards] (PRIxPTR): Likewise.
6383         [C99-based-standards] (PRIXPTR): Likewise.
6384         [C99-based-standards] (SCNdPTR): Likewise.
6385         [C99-based-standards] (SCNiPTR): Likewise.
6386         [C99-based-standards] (SCNoPTR): Likewise.
6387         [C99-based-standards] (SCNuPTR): Likewise.
6388         [C99-based-standards] (SCNxPTR): Likewise.
6389         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6390         allow.
6391         * conform/data/stdint.h-data: Update comments to clarify
6392         requirements.
6393         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6394         type.
6395         [C99-based standards] (INT8_MAX): Likewise.
6396         [C99-based standards] (INT16_MIN): Likewise.
6397         [C99-based standards] (INT16_MAX): Likewise.
6398         [C99-based standards] (INT32_MIN): Likewise.
6399         [C99-based standards] (INT32_MAX): Likewise.
6400         [C99-based standards] (INT64_MIN): Likewise.
6401         [C99-based standards] (INT64_MAX): Likewise.
6402         [C99-based standards] (UINT8_MAX): Likewise.
6403         [C99-based standards] (UINT16_MAX): Likewise.
6404         [C99-based standards] (UINT32_MAX): Likewise.
6405         [C99-based standards] (UINT64_MAX): Likewise.
6406         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6407         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6408         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6409         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6410         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6411         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6412         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6413         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6414         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6415         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6416         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6417         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6418         [C99-based standards] (INT_FAST8_MIN): Likewise.
6419         [C99-based standards] (INT_FAST8_MAX): Likewise.
6420         [C99-based standards] (INT_FAST16_MIN): Likewise.
6421         [C99-based standards] (INT_FAST16_MAX): Likewise.
6422         [C99-based standards] (INT_FAST32_MIN): Likewise.
6423         [C99-based standards] (INT_FAST32_MAX): Likewise.
6424         [C99-based standards] (INT_FAST64_MIN): Likewise.
6425         [C99-based standards] (INT_FAST64_MAX): Likewise.
6426         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6427         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6428         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6429         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6430         [C99-based standards] (INTPTR_MIN): Likewise.
6431         [C99-based standards] (INTPTR_MAX): Likewise.
6432         [C99-based standards] (UINTPTR_MAX): Likewise.
6433         [C99-based standards] (INTMAX_MIN): Likewise.
6434         [C99-based standards] (INTMAX_MAX): Likewise.
6435         [C99-based standards] (UINTMAX_MAX): Likewise.
6436         [C99-based standards] (PTRDIFF_MIN): Likewise.
6437         [C99-based standards] (PTRDIFF_MAX): Likewise.
6438         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6439         [C99-based standards] (SIZE_MAX): Likewise.
6440         [C99-based standards] (WCHAR_MAX): Likewise.
6441         [C99-based standards] (WINT_MAX): Likewise.
6442         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6443         constraint on value.
6444         [C99-based standards] (WCHAR_MIN): Likewise.
6445         [C99-based standards] (WINT_MIN): Likewise.
6446         [C99-based standards] (*_t): Allow.
6447         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6448         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6449         Include math.h-data and complex.h-data.  Remove all expectations
6450         of math.h and complex.h contents.
6451         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6452         at end of line.
6453         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6454         (struct tm): Expect tag.
6455         [C99-based-standards] (wcstof): Expect function.
6456         [C99-based-standards] (wcstold): Likewise.
6457         [C99-based-standards] (wcstoll): Likewise.
6458         [C99-based-standards] (wcstoull): Likewise.
6459         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6460         macro-int-constant.  Specify type.
6461         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6462         constraint on value.
6463         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6464         Specify type.
6465         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6466         Specify value.
6467         [ISO C standards]: Do not allow headers.
6468         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6469         wcs[abcdefghijklmnopqrstuvwxyz]*.
6470         [ISO C standards] (*_t): Do not allow.
6471         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6472         Expect function.
6473         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6474         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6475         Specify type.
6476         [ISO C standards]: Do not allow headers.
6477         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6478         is[abcdefghijklmnopqrstuvwxyz]*.
6479         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6480         to[abcdefghijklmnopqrstuvwxyz]*.
6481         [ISO C standards] (*_t): Do not allow.
6482         * conform/data/stdalign.h-data: New file.
6483         * conform/data/stdbool.h-data: Likewise.
6484         * conform/data/stdnoreturn.h-data: Likewise.
6486 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6488         [BZ #14815]
6489         * manual/filesys.texi (Directory Entries): Typo fix.
6490         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6492 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6494         * elf/elf.h (EM_AARCH64): New macro.
6495         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6496         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6497         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6498         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6499         (R_AARCH64_TLSDESC): Likewise.
6500         (NT_ARM_TLS): Likewise.
6501         (NT_ARM_HW_BREAK): Likewise.
6502         (NT_ARM_HW_WATCH): Likewise.
6504 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6506         [BZ #14811]
6507         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6508         (__ieee754_powl): Saturate nonzero exponents with absolute value
6509         below 0x1p-79 to +/- 0x1p-79.
6510         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6511         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6512         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6513         nonzero exponents with absolute value below 0x1p-32 to +/-
6514         0x1p-32.
6515         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6516         (__ieee754_powl): Saturate nonzero exponents with absolute value
6517         below 0x1p-79 to +/- 0x1p-79.
6518         * math/libm-test.inc (pow_test): Add more tests.
6520 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6522         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6523         _dl_s390_cap_flags with kernel. Increase string length.
6524         (_dl_s390_platforms): Add z196 and zEC12.
6526 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6528         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6529         Change XOPEN21K to XOPEN2K.
6531 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6533         * string/memmove.c: Use memcpy when possible.
6535 2012-11-06  Andreas Jaeger  <aj@suse.de>
6537         * po/eo.po: Update from translation team.
6539 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #14793]
6542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6543         exponent and small x and y exponents, scale x or y up.  Increase
6544         by 2 the exponent used in scaling up.
6545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6547         * math/libm-test.inc (fma_test): Add more tests.
6548         (fma_test_towardzero): Likewise.
6549         (fma_test_downward): Likewise.
6550         (fma_test_upward): Likewise.
6552 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6554         [BZ #14805]
6555         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6556         fenv_t *.
6558         [BZ #14801]
6559         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6560         namespace for names of struct fields.
6561         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6562         fenv_t fields.
6563         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6564         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6566 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6568         [BZ #3665]
6569         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6571 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6573         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6574         PTR_DEMANGLE.
6576         [BZ #5246]
6577         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6578         PTR_DEMANGLE.
6580 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6582         [BZ #14797]
6583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6584         definitely overflow as x * y not x * y + z.
6585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6587         * math/libm-test.inc (fma_test): Add more tests.
6588         (fma_test_towardzero): Likewise.
6589         (fma_test_downward): Likewise.
6590         (fma_test_upward): Likewise.
6592 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6594         [BZ #157]
6596         * include/stub-tag.h: Remove file.
6597         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6598         '#include' of it.
6599         * manual/maint.texi (Porting): Don't reference it.
6600         * Makerules ($(objpfx)stubs): Likewise.
6601         * dirent/closedir.c: Don't include <stub-tag.h>.
6602         * dirent/dirfd.c: Likewise.
6603         * dirent/fdopendir.c: Likewise.
6604         * dirent/getdents.c: Likewise.
6605         * dirent/getdents64.c: Likewise.
6606         * dirent/opendir.c: Likewise.
6607         * dirent/readdir.c: Likewise.
6608         * dirent/readdir64.c: Likewise.
6609         * dirent/readdir64_r.c: Likewise.
6610         * dirent/readdir_r.c: Likewise.
6611         * dirent/rewinddir.c: Likewise.
6612         * dirent/seekdir.c: Likewise.
6613         * dirent/telldir.c: Likewise.
6614         * gmon/profil.c: Likewise.
6615         * grp/setgroups.c: Likewise.
6616         * inet/if_index.c: Likewise.
6617         * io/access.c: Likewise.
6618         * io/chdir.c: Likewise.
6619         * io/chmod.c: Likewise.
6620         * io/chown.c: Likewise.
6621         * io/close.c: Likewise.
6622         * io/dup.c: Likewise.
6623         * io/dup2.c: Likewise.
6624         * io/dup3.c: Likewise.
6625         * io/euidaccess.c: Likewise.
6626         * io/faccessat.c: Likewise.
6627         * io/fchdir.c: Likewise.
6628         * io/fchmod.c: Likewise.
6629         * io/fchmodat.c: Likewise.
6630         * io/fchown.c: Likewise.
6631         * io/fchownat.c: Likewise.
6632         * io/fcntl.c: Likewise.
6633         * io/flock.c: Likewise.
6634         * io/fstatfs.c: Likewise.
6635         * io/fstatfs64.c: Likewise.
6636         * io/fstatvfs.c: Likewise.
6637         * io/fstatvfs64.c: Likewise.
6638         * io/futimens.c: Likewise.
6639         * io/fxstat.c: Likewise.
6640         * io/fxstat64.c: Likewise.
6641         * io/fxstatat.c: Likewise.
6642         * io/fxstatat64.c: Likewise.
6643         * io/getcwd.c: Likewise.
6644         * io/isatty.c: Likewise.
6645         * io/lchmod.c: Likewise.
6646         * io/lchown.c: Likewise.
6647         * io/link.c: Likewise.
6648         * io/linkat.c: Likewise.
6649         * io/lseek.c: Likewise.
6650         * io/lseek64.c: Likewise.
6651         * io/lxstat64.c: Likewise.
6652         * io/mkdir.c: Likewise.
6653         * io/mkdirat.c: Likewise.
6654         * io/mkfifo.c: Likewise.
6655         * io/mkfifoat.c: Likewise.
6656         * io/open.c: Likewise.
6657         * io/open64.c: Likewise.
6658         * io/openat.c: Likewise.
6659         * io/openat64.c: Likewise.
6660         * io/pipe.c: Likewise.
6661         * io/pipe2.c: Likewise.
6662         * io/poll.c: Likewise.
6663         * io/posix_fadvise.c: Likewise.
6664         * io/posix_fadvise64.c: Likewise.
6665         * io/posix_fallocate.c: Likewise.
6666         * io/posix_fallocate64.c: Likewise.
6667         * io/read.c: Likewise.
6668         * io/readlink.c: Likewise.
6669         * io/readlinkat.c: Likewise.
6670         * io/rmdir.c: Likewise.
6671         * io/sendfile.c: Likewise.
6672         * io/sendfile64.c: Likewise.
6673         * io/statfs.c: Likewise.
6674         * io/statfs64.c: Likewise.
6675         * io/statvfs.c: Likewise.
6676         * io/statvfs64.c: Likewise.
6677         * io/symlink.c: Likewise.
6678         * io/symlinkat.c: Likewise.
6679         * io/ttyname.c: Likewise.
6680         * io/ttyname_r.c: Likewise.
6681         * io/umask.c: Likewise.
6682         * io/unlink.c: Likewise.
6683         * io/unlinkat.c: Likewise.
6684         * io/utime.c: Likewise.
6685         * io/utimensat.c: Likewise.
6686         * io/write.c: Likewise.
6687         * io/xmknod.c: Likewise.
6688         * io/xmknodat.c: Likewise.
6689         * io/xstat.c: Likewise.
6690         * io/xstat64.c: Likewise.
6691         * login/getpt.c: Likewise.
6692         * login/grantpt.c: Likewise.
6693         * login/unlockpt.c: Likewise.
6694         * math/e_acoshl.c: Likewise.
6695         * math/e_acosl.c: Likewise.
6696         * math/e_asinl.c: Likewise.
6697         * math/e_atan2l.c: Likewise.
6698         * math/e_atanhl.c: Likewise.
6699         * math/e_coshl.c: Likewise.
6700         * math/e_expl.c: Likewise.
6701         * math/e_fmodl.c: Likewise.
6702         * math/e_gammal_r.c: Likewise.
6703         * math/e_hypotl.c: Likewise.
6704         * math/e_j0l.c: Likewise.
6705         * math/e_j1l.c: Likewise.
6706         * math/e_jnl.c: Likewise.
6707         * math/e_lgammal_r.c: Likewise.
6708         * math/e_log10l.c: Likewise.
6709         * math/e_log2l.c: Likewise.
6710         * math/e_logl.c: Likewise.
6711         * math/e_powl.c: Likewise.
6712         * math/e_rem_pio2l.c: Likewise.
6713         * math/e_sinhl.c: Likewise.
6714         * math/e_sqrtl.c: Likewise.
6715         * math/fclrexcpt.c: Likewise.
6716         * math/fedisblxcpt.c: Likewise.
6717         * math/feenablxcpt.c: Likewise.
6718         * math/fegetenv.c: Likewise.
6719         * math/fegetexcept.c: Likewise.
6720         * math/fegetround.c: Likewise.
6721         * math/feholdexcpt.c: Likewise.
6722         * math/fesetenv.c: Likewise.
6723         * math/fesetround.c: Likewise.
6724         * math/feupdateenv.c: Likewise.
6725         * math/fgetexcptflg.c: Likewise.
6726         * math/fraiseexcpt.c: Likewise.
6727         * math/fsetexcptflg.c: Likewise.
6728         * math/ftestexcept.c: Likewise.
6729         * math/k_cosl.c: Likewise.
6730         * math/k_rem_pio2l.c: Likewise.
6731         * math/k_sinl.c: Likewise.
6732         * math/k_tanl.c: Likewise.
6733         * math/s_asinhl.c: Likewise.
6734         * math/s_atanl.c: Likewise.
6735         * math/s_cbrtl.c: Likewise.
6736         * math/s_erfl.c: Likewise.
6737         * math/s_expm1l.c: Likewise.
6738         * math/s_log1pl.c: Likewise.
6739         * math/s_tanhl.c: Likewise.
6740         * misc/acct.c: Likewise.
6741         * misc/brk.c: Likewise.
6742         * misc/chflags.c: Likewise.
6743         * misc/chroot.c: Likewise.
6744         * misc/fchflags.c: Likewise.
6745         * misc/fgetxattr.c: Likewise.
6746         * misc/flistxattr.c: Likewise.
6747         * misc/fremovexattr.c: Likewise.
6748         * misc/fsetxattr.c: Likewise.
6749         * misc/fsync.c: Likewise.
6750         * misc/ftruncate.c: Likewise.
6751         * misc/futimes.c: Likewise.
6752         * misc/futimesat.c: Likewise.
6753         * misc/getdomain.c: Likewise.
6754         * misc/getdtsz.c: Likewise.
6755         * misc/gethostid.c: Likewise.
6756         * misc/gethostname.c: Likewise.
6757         * misc/getloadavg.c: Likewise.
6758         * misc/getpagesize.c: Likewise.
6759         * misc/getsysstats.c: Likewise.
6760         * misc/getxattr.c: Likewise.
6761         * misc/gtty.c: Likewise.
6762         * misc/ioctl.c: Likewise.
6763         * misc/lgetxattr.c: Likewise.
6764         * misc/listxattr.c: Likewise.
6765         * misc/llistxattr.c: Likewise.
6766         * misc/lremovexattr.c: Likewise.
6767         * misc/lsetxattr.c: Likewise.
6768         * misc/lutimes.c: Likewise.
6769         * misc/madvise.c: Likewise.
6770         * misc/mincore.c: Likewise.
6771         * misc/mlock.c: Likewise.
6772         * misc/mlockall.c: Likewise.
6773         * misc/mmap.c: Likewise.
6774         * misc/mprotect.c: Likewise.
6775         * misc/msync.c: Likewise.
6776         * misc/munlock.c: Likewise.
6777         * misc/munlockall.c: Likewise.
6778         * misc/munmap.c: Likewise.
6779         * misc/preadv.c: Likewise.
6780         * misc/preadv64.c: Likewise.
6781         * misc/ptrace.c: Likewise.
6782         * misc/pwritev.c: Likewise.
6783         * misc/pwritev64.c: Likewise.
6784         * misc/readv.c: Likewise.
6785         * misc/reboot.c: Likewise.
6786         * misc/remap_file_pages.c: Likewise.
6787         * misc/removexattr.c: Likewise.
6788         * misc/revoke.c: Likewise.
6789         * misc/select.c: Likewise.
6790         * misc/setdomain.c: Likewise.
6791         * misc/setegid.c: Likewise.
6792         * misc/seteuid.c: Likewise.
6793         * misc/sethostid.c: Likewise.
6794         * misc/sethostname.c: Likewise.
6795         * misc/setregid.c: Likewise.
6796         * misc/setreuid.c: Likewise.
6797         * misc/setxattr.c: Likewise.
6798         * misc/sstk.c: Likewise.
6799         * misc/stty.c: Likewise.
6800         * misc/swapoff.c: Likewise.
6801         * misc/swapon.c: Likewise.
6802         * misc/sync.c: Likewise.
6803         * misc/syncfs.c: Likewise.
6804         * misc/syscall.c: Likewise.
6805         * misc/truncate.c: Likewise.
6806         * misc/ualarm.c: Likewise.
6807         * misc/usleep.c: Likewise.
6808         * misc/ustat.c: Likewise.
6809         * misc/utimes.c: Likewise.
6810         * misc/vhangup.c: Likewise.
6811         * misc/writev.c: Likewise.
6812         * posix/_exit.c: Likewise.
6813         * posix/alarm.c: Likewise.
6814         * posix/execve.c: Likewise.
6815         * posix/fexecve.c: Likewise.
6816         * posix/fork.c: Likewise.
6817         * posix/fpathconf.c: Likewise.
6818         * posix/getaddrinfo.c: Likewise.
6819         * posix/getegid.c: Likewise.
6820         * posix/geteuid.c: Likewise.
6821         * posix/getgid.c: Likewise.
6822         * posix/getgroups.c: Likewise.
6823         * posix/getlogin.c: Likewise.
6824         * posix/getlogin_r.c: Likewise.
6825         * posix/getpgid.c: Likewise.
6826         * posix/getpid.c: Likewise.
6827         * posix/getppid.c: Likewise.
6828         * posix/getresgid.c: Likewise.
6829         * posix/getresuid.c: Likewise.
6830         * posix/getsid.c: Likewise.
6831         * posix/getuid.c: Likewise.
6832         * posix/glob64.c: Likewise.
6833         * posix/nanosleep.c: Likewise.
6834         * posix/pathconf.c: Likewise.
6835         * posix/pause.c: Likewise.
6836         * posix/posix_madvise.c: Likewise.
6837         * posix/pread.c: Likewise.
6838         * posix/pread64.c: Likewise.
6839         * posix/pwrite.c: Likewise.
6840         * posix/pwrite64.c: Likewise.
6841         * posix/sched_getaffinity.c: Likewise.
6842         * posix/sched_getp.c: Likewise.
6843         * posix/sched_gets.c: Likewise.
6844         * posix/sched_primax.c: Likewise.
6845         * posix/sched_primin.c: Likewise.
6846         * posix/sched_rr_gi.c: Likewise.
6847         * posix/sched_setaffinity.c: Likewise.
6848         * posix/sched_setp.c: Likewise.
6849         * posix/sched_sets.c: Likewise.
6850         * posix/sched_yield.c: Likewise.
6851         * posix/setgid.c: Likewise.
6852         * posix/setlogin.c: Likewise.
6853         * posix/setpgid.c: Likewise.
6854         * posix/setresgid.c: Likewise.
6855         * posix/setresuid.c: Likewise.
6856         * posix/setsid.c: Likewise.
6857         * posix/setuid.c: Likewise.
6858         * posix/sleep.c: Likewise.
6859         * posix/spawni.c: Likewise.
6860         * posix/sysconf.c: Likewise.
6861         * posix/times.c: Likewise.
6862         * posix/wait.c: Likewise.
6863         * posix/wait3.c: Likewise.
6864         * posix/wait4.c: Likewise.
6865         * posix/waitpid.c: Likewise.
6866         * resolv/gai_sigqueue.c: Likewise.
6867         * resource/getpriority.c: Likewise.
6868         * resource/getrlimit.c: Likewise.
6869         * resource/getrusage.c: Likewise.
6870         * resource/nice.c: Likewise.
6871         * resource/setpriority.c: Likewise.
6872         * resource/setrlimit.c: Likewise.
6873         * resource/ulimit.c: Likewise.
6874         * rt/aio_cancel.c: Likewise.
6875         * rt/aio_fsync.c: Likewise.
6876         * rt/aio_read.c: Likewise.
6877         * rt/aio_sigqueue.c: Likewise.
6878         * rt/aio_suspend.c: Likewise.
6879         * rt/aio_write.c: Likewise.
6880         * rt/clock_getres.c: Likewise.
6881         * rt/clock_gettime.c: Likewise.
6882         * rt/clock_nanosleep.c: Likewise.
6883         * rt/clock_settime.c: Likewise.
6884         * rt/lio_listio.c: Likewise.
6885         * rt/mq_close.c: Likewise.
6886         * rt/mq_getattr.c: Likewise.
6887         * rt/mq_notify.c: Likewise.
6888         * rt/mq_open.c: Likewise.
6889         * rt/mq_receive.c: Likewise.
6890         * rt/mq_send.c: Likewise.
6891         * rt/mq_setattr.c: Likewise.
6892         * rt/mq_timedreceive.c: Likewise.
6893         * rt/mq_timedsend.c: Likewise.
6894         * rt/mq_unlink.c: Likewise.
6895         * rt/shm_open.c: Likewise.
6896         * rt/shm_unlink.c: Likewise.
6897         * rt/timer_create.c: Likewise.
6898         * rt/timer_delete.c: Likewise.
6899         * rt/timer_getoverr.c: Likewise.
6900         * rt/timer_gettime.c: Likewise.
6901         * rt/timer_settime.c: Likewise.
6902         * setjmp/__longjmp.c: Likewise.
6903         * setjmp/setjmp.c: Likewise.
6904         * signal/kill.c: Likewise.
6905         * signal/killpg.c: Likewise.
6906         * signal/raise.c: Likewise.
6907         * signal/sigaction.c: Likewise.
6908         * signal/sigaltstack.c: Likewise.
6909         * signal/sigblock.c: Likewise.
6910         * signal/sigignore.c: Likewise.
6911         * signal/sigintr.c: Likewise.
6912         * signal/signal.c: Likewise.
6913         * signal/sigpause.c: Likewise.
6914         * signal/sigpending.c: Likewise.
6915         * signal/sigqueue.c: Likewise.
6916         * signal/sigreturn.c: Likewise.
6917         * signal/sigset.c: Likewise.
6918         * signal/sigsetmask.c: Likewise.
6919         * signal/sigstack.c: Likewise.
6920         * signal/sigsuspend.c: Likewise.
6921         * signal/sigtimedwait.c: Likewise.
6922         * signal/sigvec.c: Likewise.
6923         * signal/sigwait.c: Likewise.
6924         * signal/sigwaitinfo.c: Likewise.
6925         * signal/sysv_signal.c: Likewise.
6926         * socket/accept.c: Likewise.
6927         * socket/accept4.c: Likewise.
6928         * socket/bind.c: Likewise.
6929         * socket/connect.c: Likewise.
6930         * socket/getpeername.c: Likewise.
6931         * socket/getsockname.c: Likewise.
6932         * socket/getsockopt.c: Likewise.
6933         * socket/isfdtype.c: Likewise.
6934         * socket/listen.c: Likewise.
6935         * socket/recv.c: Likewise.
6936         * socket/recvfrom.c: Likewise.
6937         * socket/recvmsg.c: Likewise.
6938         * socket/send.c: Likewise.
6939         * socket/sendmsg.c: Likewise.
6940         * socket/sendto.c: Likewise.
6941         * socket/setsockopt.c: Likewise.
6942         * socket/shutdown.c: Likewise.
6943         * socket/sockatmark.c: Likewise.
6944         * socket/socket.c: Likewise.
6945         * socket/socketpair.c: Likewise.
6946         * stdio-common/ctermid.c: Likewise.
6947         * stdio-common/cuserid.c: Likewise.
6948         * stdio-common/remove.c: Likewise.
6949         * stdio-common/rename.c: Likewise.
6950         * stdio-common/renameat.c: Likewise.
6951         * stdio-common/tempname.c: Likewise.
6952         * stdlib/getcontext.c: Likewise.
6953         * stdlib/makecontext.c: Likewise.
6954         * stdlib/setcontext.c: Likewise.
6955         * stdlib/swapcontext.c: Likewise.
6956         * stdlib/system.c: Likewise.
6957         * streams/fattach.c: Likewise.
6958         * streams/fdetach.c: Likewise.
6959         * streams/getmsg.c: Likewise.
6960         * streams/getpmsg.c: Likewise.
6961         * streams/putmsg.c: Likewise.
6962         * streams/putpmsg.c: Likewise.
6963         * sysdeps/unix/bsd/getpt.c: Likewise.
6964         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6965         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6966         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6968         Likewise.
6969         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6970         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6971         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6972         * sysvipc/msgctl.c: Likewise.
6973         * sysvipc/msgget.c: Likewise.
6974         * sysvipc/msgrcv.c: Likewise.
6975         * sysvipc/msgsnd.c: Likewise.
6976         * sysvipc/semctl.c: Likewise.
6977         * sysvipc/semget.c: Likewise.
6978         * sysvipc/semop.c: Likewise.
6979         * sysvipc/semtimedop.c: Likewise.
6980         * sysvipc/shmat.c: Likewise.
6981         * sysvipc/shmctl.c: Likewise.
6982         * sysvipc/shmdt.c: Likewise.
6983         * sysvipc/shmget.c: Likewise.
6984         * termios/tcdrain.c: Likewise.
6985         * termios/tcflow.c: Likewise.
6986         * termios/tcflush.c: Likewise.
6987         * termios/tcgetattr.c: Likewise.
6988         * termios/tcgetpgrp.c: Likewise.
6989         * termios/tcsendbrk.c: Likewise.
6990         * termios/tcsetattr.c: Likewise.
6991         * termios/tcsetpgrp.c: Likewise.
6992         * time/adjtime.c: Likewise.
6993         * time/clock.c: Likewise.
6994         * time/getitimer.c: Likewise.
6995         * time/gettimeofday.c: Likewise.
6996         * time/setitimer.c: Likewise.
6997         * time/settimeofday.c: Likewise.
6998         * time/stime.c: Likewise.
6999         * time/time.c: Likewise.
7001 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7003         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7004         /usr/old/bin.
7006         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7007         instead of spaces.
7008         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7010 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7012         [BZ #14796]
7013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7014         FE_TONEAREST before applying Dekker multiplication and Knuth
7015         addition.  Clear inexact exceptions and check for exact zero
7016         results afterwards.
7017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7018         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7020         * math/libm-test.inc (fma_test): Add more tests.
7021         (fma_test_towardzero): Likewise.
7022         (fma_test_downward): Likewise.
7023         (fma_test_upward): Likewise.
7024         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7025         function.
7026         (libc_fesetround): New macro.
7027         (libc_fesetroundf): Likewise.
7028         (libc_fesetroundl): Likewise.
7029         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7030         function.
7031         (libc_fesetround_387): Likewise.
7032         (libc_fesetroundf): New macro.
7033         (libc_fesetround): Likewise.
7034         (libc_fesetroundl): Likewise.
7035         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7036         function.
7037         (libc_fesetroundf): New macro.
7038         (libc_fesetround): Likewise.
7039         (libc_fesetroundl): Likewise.
7040         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7041         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7042         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7043         libm_hidden_ver.
7044         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7045         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7046         libm_hidden_def.
7047         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7048         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7049         libm_hidden_ver.
7050         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7051         libm_hidden_def.
7053         [BZ #3439]
7054         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7055         integer constant usable in #if and use that to give value to enum
7056         constant.
7057         (FE_DIVBYZERO): Likewise.
7058         (FE_UNDERFLOW): Likewise.
7059         (FE_OVERFLOW): Likewise.
7060         (FE_INVALID): Likewise.
7061         (FE_INVALID_SNAN): Likewise.
7062         (FE_INVALID_ISI): Likewise.
7063         (FE_INVALID_IDI): Likewise.
7064         (FE_INVALID_ZDZ): Likewise.
7065         (FE_INVALID_IMZ): Likewise.
7066         (FE_INVALID_COMPARE): Likewise.
7067         (FE_INVALID_SOFTWARE): Likewise.
7068         (FE_INVALID_SQRT): Likewise.
7069         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7070         (FE_TONEAREST): Likewise.
7071         (FE_TOWARDZERO): Likewise.
7072         (FE_UPWARD): Likewise.
7073         (FE_DOWNWARD): Likewise.
7074         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7075         (FE_DIVBYZERO): Likewise.
7076         (FE_OVERFLOW): Likewise.
7077         (FE_UNDERFLOW): Likewise.
7078         (FE_INEXACT): Likewise.
7079         (FE_TONEAREST): Likewise.
7080         (FE_DOWNWARD): Likewise.
7081         (FE_UPWARD): Likewise.
7082         (FE_TOWARDZERO): Likewise.
7083         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7084         (FE_UNDERFLOW): Likewise.
7085         (FE_OVERFLOW): Likewise.
7086         (FE_DIVBYZERO): Likewise.
7087         (FE_INVALID): Likewise.
7088         (FE_TONEAREST): Likewise.
7089         (FE_TOWARDZERO): Likewise.
7090         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7091         (FE_OVERFLOW): Likewise.
7092         (FE_UNDERFLOW): Likewise.
7093         (FE_DIVBYZERO): Likewise.
7094         (FE_INEXACT): Likewise.
7095         (FE_TONEAREST): Likewise.
7096         (FE_TOWARDZERO): Likewise.
7097         (FE_UPWARD): Likewise.
7098         (FE_DOWNWARD): Likewise.
7099         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7100         (FE_DIVBYZERO): Likewise.
7101         (FE_OVERFLOW): Likewise.
7102         (FE_UNDERFLOW): Likewise.
7103         (FE_INEXACT): Likewise.
7104         (FE_TONEAREST): Likewise.
7105         (FE_DOWNWARD): Likewise.
7106         (FE_UPWARD): Likewise.
7107         (FE_TOWARDZERO): Likewise.
7109 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7111         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7113 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7115         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7116         commands.  Quote $PWD.
7117         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7118         -x" by "export".
7119         (remove_newlines): Remove.
7121 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7123         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7124         * stdlib/stdlib.h (atof): Moved to ...
7125         * include/bits/stdlib-float.h: Here.  New file.
7126         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7127         * stdlib/bits/stdlib-float.h: New file.
7128         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7129         -mno-sse -mno-mmx.
7130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7131         <xmmintrin.h>.
7133 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7135         * conform/conformtest.pl (@headers): Add fenv.h.
7136         * conform/data/fenv.h-data: New file.
7137         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7138         include of <math/fenv.h>.
7140         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7141         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7142         && !UNIX98].  Enables tests for XOPEN2K8.
7143         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7144         POSIX2008]: Likewise.
7146         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7147         (struct rusage): Do not expect type or its members.
7149         [BZ #3439]
7150         * math/math.h (FP_NAN): Define macro to integer constant usable in
7151         #if and use that to give value to enum constant.
7152         (FP_INFINITE): Likewise.
7153         (FP_ZERO): Likewise.
7154         (FP_SUBNORMAL): Likewise.
7155         (FP_NORMAL): Likewise.
7157 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7159         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7160         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7161         arguments.
7163 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7165         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7166         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7167         autoconf-time if not.
7168         * configure.in: Remove AC_PREREQ.
7170 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7172         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7173         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7174         of the internal implementation.
7176 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7178         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7179         except include of <misc/sys/syslog.h>.
7181 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7184         function returns with a NULL context exit with zero.
7186 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7188         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7190 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7192         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7193         (run_program_cmd): This.
7194         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7195         (tst_langinfo): New variable.  Use it.
7197 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7199         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7200         floating point opcodes.
7202 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7204         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7205         variable.
7207         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7209         * sysdeps/mach/hurd/powerpc: Remove directory.
7210         * sysdeps/mach/powerpc: Likewise.
7212 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7214         * scripts/check-local-headers.sh: Ignore c++ headers.
7216 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7218         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7219         __libc_cleanup_region_start argument.
7221 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7223         [BZ #14784]
7224         [BZ #14785]
7225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7226         x * y using scaling, not as x * y + z.
7227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7229         * math/libm-test.inc (fma_test): Add more tests.
7230         (fma_test_towardzero): Likewise.
7231         (fma_test_downward): Likewise.
7232         (fma_test_upward): Likewise.
7234 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7236         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7238 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7240         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7241         New variable.
7243 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7245         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7247 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7250         Fix sort order.
7251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7252         Likewise.
7254 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7257         Fix the order of the list for glibc 2.17.
7258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7259         Likewise.
7261 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7265 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7267         [BZ #14610]
7268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7269         for low part of x being zero before using __atanl (y).
7270         * math/libm-test.inc (atan2_test): Add another test.
7272         * manual/install.texi (Configuring and compiling): Document
7273         general use of test-wrapper and test-wrapper-env.
7274         * INSTALL: Regenerated.
7276         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7277         (__fma): Do not extract and scale down low bits on after-rounding
7278         systems when result rounded to normal precision would have normal
7279         exponent.
7280         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7281         (__fmal): Do not extract and scale down low bits on after-rounding
7282         systems when result rounded to normal precision would have normal
7283         exponent.
7284         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7285         (__fmal): Do not extract and scale down low bits on after-rounding
7286         systems when result rounded to normal precision would have normal
7287         exponent.
7288         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7289         macro.
7290         (fma_test): Add more tests.
7291         (fma_test_towardzero): Likewise.
7292         (fma_test_downward): Likewise.
7293         (fma_test_upward): Likewise.
7295 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7297         * sysdeps/i386/tininess.h: Renamed to ...
7298         * sysdeps/x86/tininess.h: This.
7299         * sysdeps/x86_64/tininess.h: Removed.
7301 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7303         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7304         input.  Use $(build-program-cmd).
7305         ($(objpfx)tst-array1-static.out): Likewise.
7306         ($(objpfx)tst-array2.out): Likewise.
7307         ($(objpfx)tst-array3.out): Likewise.
7308         ($(objpfx)tst-array4.out): Likewise.
7309         ($(objpfx)tst-array5.out): Likewise.
7310         ($(objpfx)tst-array5-static.out): Likewise.
7312 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7314         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7315         if defined.
7317         * nss/nsswitch.h (nss_interface_function): Provide new
7318         macro for use with NSS functions.
7319         * grp/initgroups.c: Use new macro.
7320         * nss/getXXbyYY.c: Likewise.
7321         * nss/getXXbyYY_r.c: Likewise.
7322         * nss/getXXent.c: Likewise.
7323         * nss/getXXent_r.c: Likewise.
7324         * sysdeps/posix/getaddrinfo.c: Likewise.
7326 2012-10-30  Andreas Jaeger  <aj@suse.de>
7328         * po/ru.po: Update Russion translation from translation project.
7330 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7332         [BZ #14152]
7333         [BZ #14783]
7334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7335         result and shift together with sticky bit instead of replicating
7336         round-to-nearest rounding.
7337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7339         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7340         missing underflow exceptions.
7341         (fma_test_towardzero): Add more tests.
7342         (fma_test_downward): Likewise.
7343         (fma_test_upward): Likewise.
7345         [BZ #14047]
7346         * sysdeps/generic/tininess.h: New file.
7347         * sysdeps/i386/tininess.h: Likewise.
7348         * sysdeps/sh/tininess.h: Likewise.
7349         * sysdeps/x86_64/tininess.h: Likewise.
7350         * stdlib/tst-strtod-underflow.c: Likewise.
7351         * stdlib/tst-tininess.c: Likewise.
7352         * stdlib/strtod_l.c: Include <tininess.h>.
7353         (round_and_return): Do not set errno for exact underflow cases.
7354         Force an underflow exception when setting errno for underflow.
7355         Determine underflow based on rounding to normal precision if
7356         TININESS_AFTER_ROUNDING.
7357         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7358         ERANGE for exact underflow cases.
7359         * stdlib/Makefile (tests): Add tst-tininess and
7360         tst-strtod-underflow.
7361         ($(objpfx)tst-tininess): Use $(link-libm).
7362         ($(objpfx)tst-strtod-underflow): Likewise.
7364 2012-10-30  Andreas Jaeger  <aj@suse.de>
7366         [BZ#14767]
7367         * elf/Makefile (tests): Remove conditional for have-initfini-array
7368         since this is now always required and the variable does not exist
7369         anymore.
7370         (tests-static): Likewise.
7371         (modules-names): Likewise.
7373         * po/eo.po: Add Esperanto translation from translation project.
7375         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7376         merged with constructor/destructor.
7377         (init_array): Likewise.
7378         * elf/tst-array2dep.c (fini_array): Likewise.
7379         (init_array): Likewise.
7381 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7383         * manual/message.texi: Delete @cartouche tags.
7385 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7387         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7388         EOPNOTSUPP.
7389         * sysdeps/mach/hurd/fsync.c: Likewise.
7391         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7392         [_POSIX_REALTIME_SIGNALS]: Change condition to
7393         [_POSIX_REALTIME_SIGNALS > 0].
7395 2012-10-27  Andreas Jaeger  <aj@suse.de>
7397         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7398         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7400         [__WORDSIZE != 64]: Likewise.
7402 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7404         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7405         *  iconvdata/tst-tables.sh: Likewise.
7407 2012-10-25  David S. Miller  <davem@davemloft.net>
7409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7410         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7411         of strtoull.
7413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7414         ifunc-impl-list.c
7415         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7416         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7417         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7418         file.
7420 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7423         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7424         __getdirentries.
7426 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7427             Jim Blandy  <jimb@codesourcery.com>
7429         * scripts/cross-test-ssh.sh: New file.
7430         * manual/install.texi (Configuring and compiling): Document use of
7431         cross-test-ssh.sh.
7432         * INSTALL: Regenerated.
7434 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7436         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7437         EOPNOTSUPP.
7439 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7441         * Makeconfig (run-program-prefix): Fix comment.
7443 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7444             Jim Blandy  <jimb@codesourcery.com>
7446         * Makeconfig (test-wrapper): New variable,
7447         (test-wrapper-env): Likewise.
7448         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7449         (run-built-tests): Define to yes.
7450         (run-program-prefix): Use $(test-wrapper).
7451         (built-program-cmd): Likewise.
7452         * Rules (make-test-out): Use $(test-wrapper-env) and
7453         $(host-built-program-cmd).
7454         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7455         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7456         tst-pathopt.sh.
7457         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7458         $(test-wrapper-env) to tst-rtld-load-self.sh.
7459         ($(objpfx)order2.out): Use $(test-wrapper).
7460         ($(objpfx)tst-initorder.out): Likewise.
7461         ($(objpfx)tst-initorder2.out): Likewise.
7462         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7463         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7464         (test_wrapper_env): New variable.  Use it to run ld.so.
7465         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7466         Use it to run ld.so.
7467         (test_wrapper_env): Likewise.
7468         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7469         $(test-wrapper) to run-iconv-test.sh.
7470         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7471         (ICONV): Use $test_wrapper.
7472         * posix/Makefile ($(objpfx)globtest.out): Pass
7473         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7474         globtest.sh, not $(run-program-prefix).
7475         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7476         (test_wrapper): Likewise.
7477         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7478         set together with run_via_rtld_prefix.
7479         (run_program_prefix): Define in terms of test_wrapper and
7480         run_via_rtld_prefix.
7482 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7484         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7485         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7486         Targets removed.
7488         [BZ #14743]
7489         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7490         Declare __clock_getres, __clock_gettime, __clock_settime,
7491         __clock_nanosleep, and __clock_getcpuclockid.
7492         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7493         Remove librt_hidden_def (clock_gettime).
7494         * sysdeps/unix/clock_gettime.c: Likewise.
7495         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7496         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7497         * rt/clock_getres.c: Define __clock_getres as an alias.
7498         * sysdeps/posix/clock_getres.c: Likewise.
7499         * rt/clock_settime.c: Define __clock_settime as an alias.
7500         * sysdeps/unix/clock_settime.c: Likewise.
7501         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7502         * sysdeps/unix/clock_nanosleep.c: Likewise.
7503         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7504         * rt/clock-compat.c: New file.
7505         * rt/Makefile (librt-routines): Add clock-compat and move
7506         $(clock-routines) to ...
7507         (routines): ... here, new variable.
7508         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7509         Don't add get_clockfreq here.
7510         * rt/Versions (libc: GLIBC_2.17): New version set.
7511         Add clock_* symbols here.
7512         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7513         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7514         (GLIBC_2.17): Add clock_* symbols.
7515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7519         Likewise.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7521         Likewise.
7522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7526         * NEWS: Mention the move.
7528         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7529         Use __open, __read, __close rather than their public counterparts.
7530         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7531         (__get_clockfreq_via_cpuinfo): Likewise.
7532         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7533         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7535         * config.h.in (HAVE_IFUNC): New #undef.
7536         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7537         was successful.
7538         * configure: Regenerated.
7540 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7542         * configure.in: Move READELF check to start of file.
7543         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7544         libc_cv_asm_gnu_indirect_function in the process.
7545         * configure: Regenerated.
7547 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7549         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7550         send the output to /dev/null.
7551         (libc_cv_cc_with_libunwind): Likewise.
7552         (libc_cv_as_noexecstack): Likewise.
7553         * configure: Regenerate.
7555 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7557         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7559         * posix/globtest.sh (TMPDIR): Do not set.
7560         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7561         (testout): Likewise.
7563 2012-10-24  Andreas Jaeger  <aj@suse.de>
7565         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7566         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7567         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7568         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7569         posix_fadvise64, posix_fallocate64.
7571         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7572         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7573         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7574         Likewise.
7575         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7576         Likewise.
7577         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7580         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7581         <bits/fcntl-linux.h>.
7582         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7585         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7586         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7587         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7588         [__WORDSIZE != 64]: Likewise.
7590 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7592         * Makeconfig (run-built-tests): New variable.
7593         * Rules [$(cross-compiling) = yes]: Change condition to
7594         [$(run-built-tests) = no].
7595         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7596         to [$(run-built-tests) = yes].
7597         * elf/Makefile [$(cross-compiling) = no]: Likewise
7598         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7599         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7600         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7601         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7602         * io/Makefile [$(cross-compiling) = no]: Likewise.
7603         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7604         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7605         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7606         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7607         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7608         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7609         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7610         * string/Makefile [$(cross-compiling) = no]: Likewise.
7612         * posix/Makefile ($(objpfx)globtest.out): Pass
7613         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7614         $(rtld-installed-name).
7615         * posix/globtest.sh (elf_objpfx): Remove variable.
7616         (rtld_installed_name): Likewise.
7617         (library_path): Likewise.
7618         (run_program_prefix): New variable.  Use for running globtest
7619         binary.
7621 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7622             Joseph Myers  <joseph@codesourcery.com>
7624         * Makeconfig (host-built-program-cmd): New variable.
7625         * elf/Makefile (tst-stackguard1-ARGS): Use
7626         $(host-built-program-cmd).
7627         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7628         (tst-spawn-ARGS): Likewise.
7629         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7631 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7632             Jim Blandy  <jimb@codesourcery.com>
7634         * Makeconfig (run-via-rtld-prefix): New variable.
7635         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7636         (built-program-cmd): Likewise.
7638 2012-10-22  Andreas Jaeger  <aj@suse.de>
7640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7641         __O_RSYNC if it exists, otherwise to O_SYNC.
7643 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7644             Joseph Myers  <joseph@codesourcery.com>
7646         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7647         /dev/null.
7648         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7649         from /dev/null
7650         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7651         /dev/null.
7653 2012-10-22  Andreas Jaeger  <aj@suse.de>
7655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7656         Define always.
7657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7660         bits/fcntl-linux.h.
7662         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7663         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7665         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7666         to __O_LARGEFILE.
7667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7668         to __O_LARGEFILE.
7670 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7671             Joseph Myers  <joseph@codesourcery.com>
7673         * config.make.in (NM): New variable.
7675 2012-10-21  Andreas Jaeger  <aj@suse.de>
7677         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7678         definitions and declarations that are provided by
7679         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7681 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7683         [BZ #14683]
7684         * elf/Makefile (tests-static): Add tst-leaks1-static.
7685         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7686         ($(objpfx)tst-leaks1-static): New rule.
7687         ($(objpfx)tst-leaks1-static-mem): Likewise.
7688         (tst-leaks1-static-ENV): New macro.
7689         * elf/dl-open.c (dl_open_worker): Check the main application
7690         only if SHARED is defined.
7691         * elf/tst-leaks1-static.c: New file.
7693 2012-10-20  Andreas Jaeger  <aj@suse.de>
7695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7696         generic values for Linux.
7697         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7698         and declarations that are provided by <bits/fcntl-linux.h> and
7699         include <bits/fcntl-linux.h>.
7700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7703 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7705         * io/fcntl.h: Move include of <bits/types.h> to the top and
7706         include it unconditionally.
7708 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7710         * wcsmbs/Makefile (tests-ifunc): New variable.
7711         (tests): Add $(tests-ifunc).
7712         * wcsmbs/test-wcschr-ifunc.c: New file.
7713         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7714         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7715         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7716         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7717         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7719         * string/Makefile (tests-ifunc): New variable.
7720         (tests): Add $(tests-ifunc).
7721         * string/test-memccpy.c (TEST_NAME): New macro.
7722         * string/test-memchr.c (TEST_NAME): Likewise.
7723         * string/test-memcmp.c (TEST_NAME): Likewise.
7724         * string/test-memcpy.c (TEST_NAME): Likewise.
7725         * string/test-memmem.c (TEST_NAME): Likewise.
7726         * string/test-memmove.c (TEST_NAME): Likewise.
7727         * string/test-memset.c (TEST_NAME): Likewise.
7728         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7729         * string/test-stpcpy.c (TEST_NAME): Likewise.
7730         * string/test-stpncpy.c (TEST_NAME): Likewise.
7731         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7732         * string/test-strcasestr.c (TEST_NAME): Likewise.
7733         * string/test-strcat.c (TEST_NAME): Likewise.
7734         * string/test-strchr.c (TEST_NAME): Likewise.
7735         * string/test-strcmp.c(TEST_NAME): Likewise.
7736         * string/test-strcpy.c (TEST_NAME): Likewise.
7737         * string/test-strcspn.c (TEST_NAME): Likewise.
7738         * string/test-strlen.c (TEST_NAME): Likewise.
7739         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7740         * string/test-strncmp.c (TEST_NAME): Likewise.
7741         * string/test-strncpy.c (TEST_NAME): Likewise.
7742         * string/test-strnlen.c (TEST_NAME): Likewise.
7743         * string/test-strpbrk.c (TEST_NAME): Likewise.
7744         * string/test-strrchr.c (TEST_NAME): Likewise.
7745         * string/test-strspn.c (TEST_NAME): Likewise.
7746         * string/test-strstr.c (TEST_NAME): Likewise.
7747         * string/test-bcopy-ifunc.c: New file.
7748         * string/test-bzero-ifunc.c: Likewise.
7749         * string/test-memccpy-ifunc.c: Likewise.
7750         * string/test-memchr-ifunc.c: Likewise.
7751         * string/test-memcmp-ifunc.c: Likewise.
7752         * string/test-memcpy-ifunc.c: Likewise.
7753         * string/test-memmem-ifunc.c: Likewise.
7754         * string/test-memmove-ifunc.c: Likewise.
7755         * string/test-mempcpy-ifunc.c: Likewise.
7756         * string/test-memset-ifunc.c: Likewise.
7757         * string/test-rawmemchr-ifunc.c: Likewise.
7758         * string/test-stpcpy-ifunc.c: Likewise.
7759         * string/test-stpncpy-ifunc.c: Likewise.
7760         * string/test-strcasecmp-ifunc.c: Likewise.
7761         * string/test-strcasestr-ifunc.c: Likewise.
7762         * string/test-strcat-ifunc.c: Likewise.
7763         * string/test-strchr-ifunc.c: Likewise.
7764         * string/test-strchrnul-ifunc.c: Likewise.
7765         * string/test-strcmp-ifunc.c: Likewise.
7766         * string/test-strcpy-ifunc.c: Likewise.
7767         * string/test-strcspn-ifunc.c: Likewise.
7768         * string/test-strlen-ifunc.c: Likewise.
7769         * string/test-strncasecmp-ifunc.c: Likewise.
7770         * string/test-strncat-ifunc.c: Likewise.
7771         * string/test-strncmp-ifunc.c: Likewise.
7772         * string/test-strncpy-ifunc.c: Likewise.
7773         * string/test-strnlen-ifunc.c: Likewise.
7774         * string/test-strpbrk-ifunc.c: Likewise.
7775         * string/test-strrchr-ifunc.c: Likewise.
7776         * string/test-strspn-ifunc.c: Likewise.
7777         * string/test-strstr-ifunc.c: Likewise.
7779         * debug/Makefile (tests-ifunc): New variable.
7780         (tests): Add $(tests-ifunc).
7781         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7782         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7783         * debug/test-stpcpy_chk-ifunc.c: New file.
7784         * debug/test-strcpy_chk-ifunc.c: Likewise.
7786 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7788         [BZ #13601]
7789         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7790         header is not read in.
7792 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7794         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7795         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7796         directly.  Pass built executable to script as
7797         $(built-program-cmd).
7798         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7799         $testprogram without using LD_LIBRARY_PATH and $ldso.
7801         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7802         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7803         $(rtld-installed-name).
7804         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7805         (rtld_installed_name): Likewise.
7806         (library_path): Likewise.
7807         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7808         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7809         $(run-program-prefix) to tst-tables.sh.
7810         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7811         it to run tst-table-from and tst-table-to.
7812         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7813         Pass it to tst-table.sh.
7814         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7815         $(run-program-prefix) to tst-gettext.sh.
7816         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7817         tst-translit.sh.
7818         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7819         tst-gettext2.sh.
7820         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7821         to run tst-gettext.
7822         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7823         to run tst-gettext2.
7824         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7825         to run tst-translit.
7826         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7827         $(run-program-prefix) to tst-mtrace.sh.
7828         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7829         to run tst-mtrace.
7830         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7831         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7832         $(rtld-installed-name).
7833         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7834         (rtld_installed_name): Likewise.
7835         (run_program_prefix): New variable.  Use it to run wordexp-test.
7837         * Makeconfig (ARCH): Remove all definitions.
7838         (machine): Likewise.
7839         [ARCH]: Remove conditional code.
7840         [!objdir]: Give error.
7841         [!objdir] (objpfx): Remove.
7842         [!objdir] (common-objpfx): Likewise.
7843         [!objdir] (common-objdir): Likewise.
7844         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7845         AC_CONFIG_FILES call.
7846         * configure: Regenerated.
7848         [BZ #13888]
7849         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7850         or TMPDIR.
7851         (testout): Likewise.
7853         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7854         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7855         $(rtld-installed-name).
7856         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7857         (rtld_installed_name): Likwise.
7858         (runit): Remove function.
7859         (run_getconf): New variable,  Use it for running getconf binary.
7861 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7863         [BZ #14716]
7864         * string/test-memmem.c (check_result): New function.
7865         (do_one_test): Use it.
7866         (check1): New function.
7867         (test_main): Use it.
7869 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7871         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7873 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7875         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7876         (_G_LSEEK64): Likewise.
7877         (_G_MMAP64): Likewise.
7878         (_G_FSTAT64): Likewise.
7879         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7880         (_G_LSEEK64): Likewise.
7881         (_G_MMAP64): Likewise.
7882         (_G_FSTAT64): Likewise.
7883         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7884         unconditional.  Call __mmap64 directly.
7885         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7886         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7887         __lseek64 directly.
7888         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7889         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7890         __mmap64 directly.
7891         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7892         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7893         __lseek64 directly.
7894         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7895         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7896         __lseek64 directly.
7897         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7898         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7899         __lseek64 directly.
7900         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7901         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7902         __fxstat64 directly.
7903         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7904         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7905         unconditional.
7906         (freopen64) [!_G_OPEN64]: Remove conditional code.
7907         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7908         unconditional.
7909         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7910         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7911         unconditional.
7912         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7913         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7914         unconditional.
7915         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7916         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7917         unconditional.
7918         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7919         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7920         unconditional.
7921         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7922         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7923         unconditional.
7924         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7925         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7926         unconditional.
7927         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7929 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7931         [BZ #12140]
7932         * manual/memory.texi (Malloc Tunable Parameters): Add note
7933         about free list pointers overwriting some perturb bytes.
7934         Wording suggested by Roland McGrath.
7936 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7938         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7939         (lgamma_test): Likewise.
7940         (tgamma_test): Likewise.
7942 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7944         [BZ #14700]
7945         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7946         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7948 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7950         * NEWS: Mention BZ #14716.
7951         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7952         when removing AVAILABLE1_USES_J macro.
7954 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7956         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7957         (__bswap_64): __uint64_t for unsigned 64-bit int.
7959 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7961         * include/string.h (memmem): Declare libc hidden alias.
7962         * string/memmem.c (memmem): Define libc hidden alias.
7963         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7964         __read, __close instead of open, read, close.
7966 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7969         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7970         global and hidden.
7971         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7972         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7973         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7974         Likewise.
7975         (__rawmemchr_sse2): Likewise.
7976         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7977         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7978         (__strchr_sse2): Likewise.
7979         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7980         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7981         (__strcasecmp_sse2): Likewise.
7982         (__strncasecmp_sse2): Likewise.
7983         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7984         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7985         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7986         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7987         (__strrchr_sse2): Likewise.
7988         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7989         ifunc-impl-list.c.
7990         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7991         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7992         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7993         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7994         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7998         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7999         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8000         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8001         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8002         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8003         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8004         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8005         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8006         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8007         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8008         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8009         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8010         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8011         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8012         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8013         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8014         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8015         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8016         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8017         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8018         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8019         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8021         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8022         global and hidden.
8023         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8024         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8025         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8026         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8027         Likewise.
8028         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8029         Likewise.
8030         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8031         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8032         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8033         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8034         ifunc-impl-list.c.
8035         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8036         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8037         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8038         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8039         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8040         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8041         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8042         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8043         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8044         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8045         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8046         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8047         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8048         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8049         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8050         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8051         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8052         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8053         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8054         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8055         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8056         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8057         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8058         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8059         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8060         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8061         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8062         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8063         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8064         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8065         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8066         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8067         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8068         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8069         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8070         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8071         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8072         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8073         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8074         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8075         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8077         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8078         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8079         * include/ifunc-impl-list.h: New file.
8080         * misc/ifunc-impl-list.c: Likewise.
8081         * misc/Makefile (routines): Add ifunc-impl-list.
8082         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8083         * string/test-string.h: Include <ifunc-impl-list.h>.
8084         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8085         impl_array): New variables.
8086         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8087         are defined.
8088         (test_init): Call __libc_ifunc_impl_list to initialize
8089         func_list if TEST_IFUNC and TEST_NAME are defined.
8091         * string/Makefile (strop-tests): Add bcopy and bzero.
8092         * string/test-bcopy.c: New file.
8093         * string/test-bzero.c: Likewise.
8094         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8095         defined.
8096         * string/test-memset.c: Support bzero test if TEST_BZERO is
8097         defined.
8098         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8099         __libc_memmove.
8100         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8101         __libc_memset.
8102         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8103         of memset.
8105 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8107         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8108         * configure: Regenerated.
8110         * Makeconfig (+link-static-before-libc): Don't include
8111         $(link-static-libc).
8113         * libio/libio.h (_IO_pos_t): Remove.
8115 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8117         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8118         McGrath.
8120 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8122         * crypt/crypt-entry.c: Include fips-private.h.
8123         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8124         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8125         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8126         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8128 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8130         * crypt/crypt-private.h: Include stdbool.h.
8131         (_ufc_setup_salt_r): Return bool.
8132         * crypt/crypt-entry.c: Include errno.h.
8133         (__crypt_r): Return NULL with EINVAL for bad salt.
8134         * crypt/crypt_util.c (bad_for_salt): New.
8135         (_ufc_setup_salt_r): Check that salt is long enough and within
8136         the specified alphabet.
8137         * crypt/badsalttest.c: New file.
8138         * crypt/Makefile (tests): Add it.
8139         ($(objpfx)badsalttest): New.
8141 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8143         * NEWS: Add entry for BZ #14602.
8145 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8147         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8148         type-generic.
8149         * math/libm-test.inc: Update comment listing what functions and
8150         macros are tested.
8151         (isgreater_test): New function.
8152         (isgreaterequal_test): Likewise.
8153         (isless_test): Likewise.
8154         (islessequal_test): Likewise.
8155         (islessgreater_test): Likewise.
8156         (isunordered_test): Likewise.
8157         (main): Call the new functions.
8159 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8161         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8162         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8163         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8164         * sysdeps/i386/configure: Regenerated.
8165         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8166         * sysdeps/mach/configure: Regenerated.
8167         * sysdeps/mach/hurd/configure: Regenerated.
8168         * sysdeps/powerpc/configure: Regenerated.
8169         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8170         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8171         * sysdeps/s390/s390-32/configure: Regenerated.
8172         * sysdeps/s390/s390-64/configure: Regenerated.
8173         * sysdeps/sh/configure: Regenerated.
8174         * sysdeps/sparc/configure: Regenerated.
8175         * sysdeps/unix/sysv/linux/configure: Regenerated.
8176         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8177         * sysdeps/x86_64/configure: Regenerated.
8179         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8180         defined.  Don't check if MAP is NULL.
8182 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8184         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8185         (_G_stat64): Likewise.
8186         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8187         (_G_stat64): Likewise.
8188         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8189         instead of struct _G_stat64.
8190         * libio/fileops.c (mmap_remap_check): Likewise.
8191         (decide_maybe_mmap): Likewise.
8192         (_IO_new_file_seekoff): Likewise.
8193         (_IO_file_stat): Likewise.
8194         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8195         _G_off64_t.
8196         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8197         instead of struct _G_stat64.
8198         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8200 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8202         [BZ #14602]
8203         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8204         Replace with ...
8205         (CHECK_EOL): New macro.
8206         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8207         CHECK_EOL.
8208         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8209         Replace with CHECK_EOL.
8210         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8211         Replace with CHECK_EOL.
8213 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8215         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8216         type-generic.
8217         * math/libm-test.inc: Update comment listing what functions and
8218         macros are tested.
8219         (finite_test): New function.
8220         (isinf_test): Likewise.
8221         (isnan_test): Likewise.
8222         (fpclassify_test): Test subnormal input.
8223         (isfinite_test): Likewise.
8224         (isnormal_test): Likewise.
8225         (main): Call the new functions.
8227 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8229         [BZ #14660]
8230         * Makerules (%.dynsym): Force C locale when running
8231         $(OBJDUMP) --dynamic-syms.
8233 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8235         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8236         <stdint.h>.
8238 2012-10-06  David S. Miller  <davem@davemloft.net>
8240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8241         upper 32-bits of the length value in %o2 since we use branch-on-register
8242         tests which consider the entire 64-bit register.
8244 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8246         * string/test-strstr.c (check2): Add a test for page boundary.
8248 2012-10-05  David S. Miller  <davem@davemloft.net>
8250         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8251         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8252         file.
8253         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8254         sysdep_routines.
8255         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8256         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8257         and bzero when HWCAP_SPARC_CRYPTO is present.
8259 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
8261         [BZ #14602]
8262         * string/test-strstr.c (check2): New function.
8263         (test_main): Call check2.
8265         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8266         and bug-strchr1.
8267         * string/bug-strcasestr1.c (do_test): Moved to ...
8268         * string/test-strcasestr.c (check1): Here.  New function.
8269         (do_one_test): Break out result checking code into ...
8270         (check_result): This.  New function.
8271         (do_one_test): Call check_result.
8272         (test_main): Call check1.
8273         * string/bug-strchr1.c (do_test): Moved to ...
8274         * string/test-strchr.c (check1): Here.  New function.
8275         (do_one_test): Break out result checking code into ...
8276         (check_result): This.  New function.
8277         (do_one_test): Call check_result.
8278         (test_main): Call check1.
8279         * string/bug-strstr1.c (main): Moved to ...
8280         * string/test-strstr.c (check1): Here.  New function.
8281         (do_one_test): Break out result checking code into ...
8282         (check_result): This.  New function.
8283         (do_one_test): Call check_result.
8284         (test_main): Call check1.
8285         * string/bug-strcasestr1.c: Removed.
8286         * string/bug-strchr1.c: Likewise.
8287         * string/bug-strstr1.c: Likewise.
8289         * elf/Makefile (dl-routines): Add hwcaps.
8290         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8291         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8292         (_dl_important_hwcaps): Moved to ...
8293         * elf/dl-hwcaps.c: Here.  New file.
8294         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8296         [BZ #14557]
8297         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8298         if IS_IN_rtld isn't defined.
8300         * elf/dl-support.c (_dl_sysinfo_map): New.
8301         Include "get-dynamic-info.h" and "setup-vdso.h".
8302         (_dl_non_dynamic_init): Call setup_vdso.
8303         * elf/dynamic-link.h: Don't include <assert.h>.
8304         (elf_get_dynamic_info): Moved to ...
8305         * elf/get-dynamic-info.h: Here.  New file.
8306         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8307         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8308         * elf/setup-vdso.h: Here.  New file.
8309         * elf/rtld.c: Include "setup-vdso.h".
8310         (dl_main): Call setup_vdso.
8312 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8314         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8315         creal in comment listing functions tested.  List finite, isinf,
8316         isnan, isless, islessequal, isgreater, isgreaterequal,
8317         islessgreater, isunordered, lgamma_r and pow10 as functions and
8318         macros not tested.  Mention which functions not tested are aliases
8319         for other functions.  Fix typo.  Note that signs of NaNs are not
8320         tested.
8322         * scripts/config.guess: Update from config.git.
8323         * scripts/config.sub: Likewise.
8325 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8327         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8328         * misc/madvise.c (madvise): Renamed to __madvise.
8329         Make madvise a weak alias.
8330         * include/sys/mman.h: Declare __madvise.
8331         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8332         * sysdeps/unix/syscalls.list
8333         (madvise): Make __madvise the strong name, and madvise a weak alias.
8334         * sysdeps/unix/sysv/linux/syscalls.list
8335         (madvise, mmap): Remove redundant entries.
8336         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8337         * malloc/malloc.c (mtrim): Likewise.
8338         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8340 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8342         * sysdeps/mach/hurd/dl-cache.c: File removed.
8343         * config.h.in (USE_LDCONFIG): New #undef.
8344         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8345         * configure: Regenerated.
8346         * elf/Makefile (dl-routines): Add dl-cache only under
8347         [$(use-ldconfig) = yes].
8348         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8349         cache on [USE_LDCONFIG].
8350         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8351         [USE_LDCONFIG].
8352         * elf/rtld.c (dl_main): Likewise.
8354 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8356         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8357         _SC_LEVEL4_CACHE_LINESIZE.
8359 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8361         * sysdeps/unix/bsd/confstr.h: File removed.
8363 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8365         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8366         sys/sdt-config.h.
8368 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8370         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8371         Make 'mapoff' field ElfW(Off) rather than off_t.
8373 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8375         * nscd/Makefile: Remove nscd-cflags and all its users.
8376         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8377         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8379         [BZ #10631]
8380         * malloc.c (malloc_printerr): Clarify error message.
8382 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8384         [BZ #14648]
8385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8386         Set bit_FMA_Usable if FMA is supported.
8387         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8388         macro.
8389         (bit_FMA4_Usable): Updated.
8390         (index_FMA_Usable): New macro.
8391         (CPUID_FMA): Likewise
8392         (HAS_FMA): Defined with bit_FMA_Usable.
8394 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8396         * bits/types.h (__swblk_t): Type removed.
8397         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8398         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8399         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8400         (__SWBLK_T_TYPE): Likewise.
8401         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8402         (__SWBLK_T_TYPE): Likewise.
8403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8404         (__SWBLK_T_TYPE): Likewise.
8405         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8406         (__SWBLK_T_TYPE): Likewise.
8408 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8409             Honza Horak <hhorak@redhat.com>
8411         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8412         (xdr_mapname): Use YPMAXMAP as maxsize.
8413         (xdr_peername): Use YPMAXPEER as maxsize.
8414         (xdr_keydat): Use YPAXRECORD as maxsize.
8415         (xdr_valdat): Use YPMAXRECORD as maxsize.
8417 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8419         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8421         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8422         * csu/init-first.c: ... here.
8423         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8424         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8425         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8426         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8427         * sysdeps/i386/init-first.c: File removed.
8428         * sysdeps/sh/init-first.c: File removed.
8430 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8432         [BZ #14645]
8433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8434         if x * y might underflow to zero and z is zero.
8435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8437         * math/libm-test.inc (min_subnorm_value): New variable.
8438         (fma_test): Add more tests.
8439         (fma_test_towardzero): Likewise.
8440         (fma_test_downward): Likewise
8441         (fma_test_upward): Likewise.
8442         (initialize): Set min_subnorm_value.
8444 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8446         [BZ #14638]
8447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8448         0 + 0.
8449         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8450         mode for addition resulting in exact zero.
8451         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8453         exact 0 + 0.
8454         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8456         * math/libm-test.inc (fma_test): Add more tests.
8457         (fma_test_towardzero): New function.
8458         (fma_test_downward): Likewise.
8459         (fma_test_upward): Likewise.
8460         (main): Call the new functions.
8462 2012-09-28  David S. Miller  <davem@davemloft.net>
8464         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8466 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8468         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8469         instead of SIGALRM.
8471         * sysdeps/gnu/_G_config.h: Moved to ...
8472         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8473         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8474         * sysdeps/generic/_G_config.h: ... here.
8476         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8478         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8480         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8481         Conditionalize target on [libnss_test1.so-version].
8483         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8485         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8486         (elfobjdir): Move out of conditionals.
8488         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8489         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8490         (__nss_lookup_function): Conditionalize label remove_from_tree on
8491         [!DO_STATIC_NSS || SHARED], matching its only use.
8493 2012-09-28  David S. Miller  <davem@davemloft.net>
8495         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8496         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8497         file.
8498         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8499         sysdep_routines.
8500         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8501         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8502         when HWCAP_SPARC_CRYPTO is present.
8504 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8506         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8508 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8510         [BZ #6530]
8511         * stdio-common/vfprintf.c (process_string_arg): Revert
8512         2000-07-22 change.
8514 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8516         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8517         for testcase.
8518         * stdio-common/tst-sprintf.c: Include <locale.h>
8519         (main): Test sprintf's handling of incomplete multibyte
8520         characters.
8522 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8524         * elf/dl-runtime.c (VERSYMIDX): Removed.
8525         * elf/dl-version.c (VERSYMIDX): Likewise.
8526         * elf/do-rel.h (VERSYMIDX): Likewise.
8527         (VALIDX): Likewise.
8528         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8529         * elf/rtld.c (VALIDX): Likewise.
8530         (ADDRIDX): Likewise.
8531         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8532         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8533         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8534         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8535         (VALIDX): Likewise.
8536         (ADDRIDX): Likewise.
8538 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8540         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8542 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8544         [BZ #11438]
8545         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8546         to global scope.
8547         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8548         addresses are in the same scope as 192.0.2/24.
8549         * posix/gai.conf: Document new scope table defaults.
8551 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8553         [BZ #5298]
8554         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8555         for ftell.  Compute offsets from write pointers instead.
8556         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8558 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8560         [BZ #14543]
8561         * libio/Makefile (tests): New test case tst-fseek.
8562         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8563         combination works in wide mode.
8564         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8565         state when the external buffer state changes.
8567 2012-09-27  David S. Miller  <davem@davemloft.net>
8569         [BZ #14376]
8570         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8571         pass reloc->r_addend in as the 'high' argument to
8572         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8576 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8578         * rt/tst-aio2.c: Include <pthread.h>.
8579         * rt/tst-aio3.c: Likewise.
8581 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8583         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8585 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8587         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8588         contents on [SHARED].
8590 2012-09-26  Marek Polacek  <polacek@redhat.com>
8592         [BZ #14530]
8593         [BZ #13741]
8594         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8595         for C++ and GCC <4.3 as well as for non GCC compilers.
8597 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8601 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8603         * Makefile.in (all, install): Declare with .PHONY.
8604         Reported by Michael Hope <michael.hope@linaro.org>.
8606 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8608         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8609         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8610         system header.
8611         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8612         Likewise.
8613         (sydep_routines): Add the new and the internal functions.
8614         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8615         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8617         (GLIBC_2.17): Add the new function.
8618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8619         (GLIBC_2.17): Likewise.
8620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8621         (GLIBC_2.17): Likewise.
8622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8623         (GLIBC_2.17): Likewise.
8624         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8626 2012-09-25  Alan Modra  <amodra@gmail.com>
8628         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8629         Add release barrier before setting once_control to say
8630         initialisation is done.  Add hints on lwarx.  Use macro in
8631         place of isync.
8632         (clear_once_control): Add release barrier.
8634 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8636         [BZ #13629]
8637         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8638         specially.
8639         * math/s_clog10.c (__clog10): Likewise.
8640         * math/s_clog10f.c (__clog10f): Likewise.
8641         * math/s_clog10l.c (__clog10l): Likewise.
8642         * math/s_clogf.c (__clogf): Likewise.
8643         * math/s_clogl.c (__clogl): Likewise.
8644         * math/Makefile (libm-calls): Add x2y2m1.
8645         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8646         (__x2y2m1): Likewise.
8647         (__x2y2m1l): Likewise.
8648         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8649         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8650         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8651         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8652         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8653         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8654         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8655         * sysdeps/i386/fpu/libm-test-ulps: Update.
8656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658         [BZ #14621]
8659         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8660         int as type of variable DEPTH.
8661         (glob): Use size_t instead of int as type of variables NEWCOUNT
8662         and OLD_PATHC.
8664 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8666         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8667         Add s_sincosf-sse2.
8668         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8669         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8670         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8671         macros for using routine as __sincosf_ia32.
8672         Use macro for function declaration and weak_alias.
8673         * sysdeps/i386/fpu/libm-test-ulps: Update.
8675         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8678         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8679         subnormal argument.
8680         * math/s_cexpf.c (__cexpf): Likewise.
8681         * math/s_csinf.c (__csinf): Likewise.
8682         * math/s_csinhf.c (__csinhf): Likewise.
8683         * math/s_ctanf.c (__ctanf): Likewise.
8684         * math/s_ctanhf.c (__ctanhf): Likewise.
8685         * math/s_ccosh.c (__ccoshf): Likewise.
8686         * math/s_cexp.c (__cexpl): Likewise.
8687         * math/s_csin.c (__csin): Likewise.
8688         * math/s_csinh.c (__csinh): Likewise.
8689         * math/s_ctan.c (__ctan): Likewise.
8690         * math/s_ctanh.c (ctanh): Likewise.
8691         * math/s_ccoshl.c (__ccoshl): Likewise.
8692         * math/s_cexpl.c (__cexpl): Likewise.
8693         * math/s_csinl.c (__csinl): Likewise.
8694         * math/s_csinhl.c (__csinhl): Likewise.
8695         * math/s_ctanl.c (__ctanl): Likewise.
8696         * math/s_ctanhl.c (__ctanhl): Likewise.
8698 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8700         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8701         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8702         (_IO_off_t): Define to __off_t, not _G_off_t.
8703         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8704         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8705         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8706         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8707         type of __dummy and __dummy2 fields.
8708         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8709         (_G_ssize_t): Likewise.
8710         (_G_off_t): Likewise.
8711         (_G_pid_t): Likewise.
8712         (_G_uid_t): Likewise.
8713         (_G_wchar_t): Likewise.
8714         (_G_wint_t): Likewise.
8715         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8716         (_G_ssize_t): Likewise.
8717         (_G_off_t): Likewise.
8718         (_G_pid_t): Likewise.
8719         (_G_uid_t): Likewise.
8720         (_G_wchar_t): Likewise.
8721         (_G_wint_t): Likewise.
8722         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8723         (_G_ssize_t): Likewise.
8724         (_G_off_t): Likewise.
8725         (_G_pid_t): Likewise.
8726         (_G_uid_t): Likewise.
8727         (_G_wchar_t): Likewise.
8728         (_G_wint_t): Likewise.
8730 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8732         * malloc/arena.c: Include malloc-sysdep.h.
8733         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8734         is sufficient to shrink the heap or an unmap is needed.
8735         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8736         new function check_may_shrink_heap.
8737         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8738         new function check_may_shrink_heap.
8740 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8742         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8743         comments.
8745 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8747         * catgets/test-gencat.sh: Add "set -e".
8748         * elf/tst-pathopt.sh: Likewise.
8749         * grp/tst_fgetgrent.sh: Likewise.
8750         * iconvdata/run-iconv-test.sh: Likewise.
8751         * intl/tst-gettext.sh: Likewise.
8752         * intl/tst-gettext2.sh: Likewise.
8753         * intl/tst-gettext4.sh: Likewise.
8754         * intl/tst-gettext6.sh: Likewise.
8755         * intl/tst-translit.sh: Likewise.
8756         * io/ftwtest-sh: Likewise.
8757         * libio/test-freopen.sh: Likewise.
8758         * malloc/tst-mtrace.sh: Likewise.
8759         * posix/globtest.sh: Likewise.
8760         * posix/tst-getconf.sh: Likewise.
8761         * posix/wordexp-tst.sh: Likewise.
8762         * stdio-common/tst-printf.sh: Likewise.
8763         * stdio-common/tst-unbputc.sh: Likewise.
8764         * stdlib/tst-fmtmsg.sh: Likewise.
8765         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8766         * catgets/Makefile: Do not specify -e option when running
8767         testsuite shell scripts.
8768         * elf/Makefile: Likewise.
8769         * grp/Makefile: Likewise.
8770         * iconvdata/Makefile: Likewise.
8771         * intl/Makefile: Likewise.
8772         * io/Makefile: Likewise.
8773         * libio/Makefile: Likewise.
8774         * malloc/Makefile: Likewise.
8775         * posix/Makefile: Likewise.
8776         * stdio-common/Makefile: Likewise.
8777         * stdlib/Makefile: Likewise.
8778         * sysdeps/x86_64/Makefile: Likewise.
8780         * io/ftwtest-sh: Add copyright header.
8781         * posix/globtest.sh: Likewise.
8782         * posix/tst-getconf.sh: Likewise.
8783         * posix/wordexp-tst.sh: Likewise.
8784         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8786 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8788         [BZ #13679]
8789         * Makeconfig (+link): Defined as $(+link-static) if
8790         $(build-shared) isn't yes.
8791         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8792         isn't yes.
8793         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8795         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8797         [BZ #14562]
8798         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8799         new chunk size with MALLOC_ALIGN_MASK.
8801 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8803         [BZ #5044]
8804         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8805         <rounding-mode.h>.
8806         (__printf_fphex): Determine rounding using get_rounding_mode and
8807         round_away.
8808         * stdio-common/tst-printf-round.c (struct hex_test): New
8809         structure.
8810         (hex_tests): New variable.
8811         (test_hex_in_one_mode): New function.
8812         (do_test): Also run tests for hex float output.
8814 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8816         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8817         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8818         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8819         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8820         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8821         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8822         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8823         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8825 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8827         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8828         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8829         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8830         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8832 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8834         [BZ #14579]
8835         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8836         mode only.
8837         * elf/tst-rtld-load-self.sh: New test.
8838         * elf/Makefile: Run it.
8840 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8842         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8843         (tst-writev-ENV): Remove.
8844         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8846 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8848         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8850 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8852         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8853         unconditional.
8854         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8855         Likewise.
8856         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8857         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8858         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8859         Likewise.
8861 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8863         [BZ #14587]
8864         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8865         * config.make.in (have-cpp-asm-debuginfo): Removed.
8866         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8867         * configure: Regenerated.
8869 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8871         [BZ #5044]
8872         * stdio-common/printf_fp.c: Include <stdbool.h> and
8873         <rounding-mode.h>.
8874         (___printf_fp): Determine rounding using get_rounding_mode and
8875         round_away.
8876         * stdio-common/tst-printf-round.c: New file.
8877         * stdio-common/Makefile (tests): Add tst-printf-round.
8878         (link-libm): New variable.
8879         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8881 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8883         [BZ #14576]
8884         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8885         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8886         Likewise.
8887         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8888         Likewise.
8890 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8892         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8893         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8894         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8895         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8897 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8899         [BZ #14518]
8900         * include/rounding-mode.h: New file.
8901         * sysdeps/generic/get-rounding-mode.h: Likewise.
8902         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8903         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8904         (MAX_VALUE): New macro.
8905         (MIN_VALUE): Likewise.
8906         (overflow_value): New function.
8907         (underflow_value): Likewise.
8908         (round_and_return): Use overflow_value and underflow_value to
8909         determine return values in overflow and underflow cases.  Use
8910         round_away to determine rounding depending on rounding mode.
8911         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8912         determine return values in overflow and underflow cases.
8913         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8914         (struct test_results): New structure.
8915         (struct test): Use struct test_results to store expected results
8916         for all rounding modes.
8917         (TEST): Include expected results for all rounding modes.
8918         (test_in_one_mode): New function.
8919         (do_test): Use test_in_one_mode to compute and check results.
8920         Check results for all rounding modes.
8921         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8922         $(link-libm).
8924 2012-12-09  Allan McRae  <allan@archlinux.org>
8926         * sysdeps/i386/fpu/libm-test-ulps: Update
8928 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8930         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8931         (_G_int32_t): Likewise.
8932         (_G_uint16_t): Likewise.
8933         (_G_uint32_t): Likewise.
8934         (_G_HAVE_BOOL): Likewise.
8935         (_G_HAVE_ATEXIT): Likewise.
8936         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8937         (_G_HAVE_IO_FILE_OPEN): Likewise.
8938         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8939         (_G_int32_t): Likewise.
8940         (_G_uint16_t): Likewise.
8941         (_G_uint32_t): Likewise.
8942         (_G_HAVE_BOOL): Likewise.
8943         (_G_HAVE_ATEXIT): Likewise.
8944         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8945         (_G_HAVE_IO_FILE_OPEN): Likewise.
8946         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8947         (_G_int32_t): Likewise.
8948         (_G_uint16_t): Likewise.
8949         (_G_uint32_t): Likewise.
8950         (_G_HAVE_BOOL): Likewise.
8951         (_G_HAVE_ATEXIT): Likewise.
8952         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8953         (_G_HAVE_IO_FILE_OPEN): Likewise.
8955 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8957         * csu/libc-tls.c: Update copyright years.
8959 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8961         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8962         [!_G_USING_THUNKS]: Remove conditional code.
8963         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8964         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8966         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8967         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8968         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8969         (_G_VTABLE_LABEL_PREFIX): Likewise.
8970         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8971         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8972         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8973         (_G_VTABLE_LABEL_PREFIX): Likewise.
8974         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8975         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8976         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8977         (_G_VTABLE_LABEL_PREFIX): Likewise.
8978         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8980 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8982         * libio/Makefile: Include ../Makeconfig before tests.
8983         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8984         only if $(build-shared) is yes.
8986         * iconv/gconv_db.c: Update copyright years.
8988 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8990         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8991         unwind info if defined PIC. Fix special cases description.
8992         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8994         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8995         DP_HI_MASK entry.
8996         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8998 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9000         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9002         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9003         is NULL.
9005         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9006         (LDLIBS-tst-chk4): This.
9007         (LDFLAGS-tst-chk5): Renamed to ...
9008         (LDLIBS-tst-chk5): This.
9009         (LDFLAGS-tst-chk6): Renamed to ...
9010         (LDLIBS-tst-chk6): This.
9011         (LDFLAGS-tst-lfschk4): Renamed to ...
9012         (LDLIBS-tst-lfschk4): This.
9013         (LDFLAGS-tst-lfschk5): Renamed to ...
9014         (LDLIBS-tst-lfschk5): This.
9015         (LDFLAGS-tst-lfschk6): Renamed to ...
9016         (LDLIBS-tst-lfschk6): This.
9018         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9019         on $(common-objpfx)soversions.mk.
9021 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9023         [BZ #10014]
9024         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9025         example host name.
9027 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9029         * malloc/arena.c (arena_get_retry): New function that gets
9030         another arena for the caller to try its request on.
9031         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9032         current arena cannot fulfill the request.
9033         (__libc_memalign): Likewise.
9034         (__libc_memalign): Likewise.
9035         (__libc_pvalloc): Likewise.
9036         (__libc_calloc): Likewise.
9038 2012-09-05  John Tobey  <john.tobey@gmail.com>
9040         [BZ #13542]
9041         * manual/arith.texi (Operations on Complex): Fix description
9042         of carg branch cut.
9044 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9046         [BZ #10014]
9047         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9048         host name.
9050         [BZ #10038]
9051         * manual/memory.texi (Memory): Make order of menu items match
9052         order of sections.
9054 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9056         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9057         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9058         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9060 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9062         * csu/libc-tls.c (static_dtv): Renamed to ...
9063         (_dl_static_dtv): This.  Make it global.
9064         (_dl_initial_dtv): Removed.
9065         (__libc_setup_tls): Updated.
9066         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9067         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9068         DL_INITIAL_DTV.
9070 2012-09-06  Petr Machata  <pmachata@redhat.com>
9072         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9073         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9074         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9075         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9077 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9079         [BZ #14545]
9080         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9081         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9082         freeing dtv[-1].
9084 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9086         [BZ #14544]
9087         * Makeconfig (link-static-before-libc): Replace $(+prector)
9088         with $(+prectorT).
9089         (link-static-after-libc): Replace $(+postctor) with
9090         $(+postctorT).
9091         (link-bounded): Replace $(+prector)/$(+postctor) with
9092         $(+prectorT)/$(+postctorT).
9093         (+prectorT): New macro.
9094         (+postctorT): Likewise.
9096 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9098         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9099         (round_str): Handle values above the maximum for IBM long double
9100         as inexact.
9101         * stdlib/tst-strtod-round.c (tests): Regenerated.
9103 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9105         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9106         assembler flag.
9107         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9108         zarch_nohighgprs around the zarch optimized routines.
9109         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9110         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9112         for zarch.
9114 2012-09-05  David S. Miller  <davem@davemloft.net>
9116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9118         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9119         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9120         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9121         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9122         entries.
9124 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9126         * malloc/arena.c: Fold copyright years.
9127         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9131         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9133 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9135         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9137 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9139         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9140         change internal state upon failure.
9142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9144         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9145         * malloc/memusage.c (mmap): Likewise.
9146         (mmap64, mremap): Likewise.  Adjust name in comment.
9148 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9150         * libio/fileops.c: Fix typos in comments.
9151         * libio/oldfileops.c: Likewise.
9152         * libio/wfileops.c: Likewise.
9154 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9156         [BZ #1349]
9157         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9158         (tst-malloc-usable-ENV): Set environment for test case.
9159         * malloc/hooks.c (malloc_check_get_size): New function to get
9160         requested size.
9161         * malloc/malloc.c (musable): Use malloc_check_get_size.
9162         * malloc/tst-malloc-usable.c: New test case.
9164 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9166         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9168 2012-09-05  Allan McRae  <allan@archlinux.org>
9170         [BZ #13966]
9171         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9172         determine header location.
9173         * configure: Regenerated.
9175 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9177         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9178         float format.
9179         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9180         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9181         format.
9182         (test): Regenerate.
9184 2012-09-04  David S. Miller  <davem@davemloft.net>
9186         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9187         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9188         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9190 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9192         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9193         failures.
9195         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9197 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9199         [BZ #9914]
9200         * libio/iogetdelim.c: Include <limits.h>.
9201         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9202         + len + 1 would overflow.
9204 2012-09-03  Andreas Jaeger  <aj@suse.de>
9206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9207         * sysdeps/i386/fpu/libm-test-ulps: Update.
9209 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9211         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9212         Add s_sinf-sse2, s_conf-sse2.
9214         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9215         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9216         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9217         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9219         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9220         for using routine as __sinf_ia32.
9221         Use macro for function declaration and weak_alias.
9222         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9223         for using routine as __cosf_ia32.
9224         Use macro for function declaration and weak_alias.
9226         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9227         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9229         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9230         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9233         * math/libm-test.inc (cos_test): Add more test cases.
9234         (sin_test): Likewise.
9235         (sincos_test): Likewise.
9237 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9239         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9240         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9241         hidden.
9242         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9244 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9246         [BZ #14538]
9247         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9248         first element of the GOT.
9249         (elf_machine_load_address): Return the difference between
9250         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9252 2012-09-01  Allan McRae  <allan@archlinux.org>
9254         [BZ #13412]
9255         * configure.in (AWK): Require gawk version 3.0 or later.
9256         * configure: Regenerated.
9258 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
9260         * sysdeps/unix/sysv/linux/kernel-features.h
9261         (__ASSUME_POSIX_CPU_TIMERS): Remove.
9262         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9263         [__NR_clock_getres]: Make code unconditional.
9264         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9265         (clock_getcpuclockid): Remove code left unreachable by removal of
9266         conditionals.
9267         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9268         code unconditional.
9269         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9270         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9271         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9272         Make code unconditional.
9273         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9274         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9275         * sysdeps/unix/sysv/linux/clock_settime.c
9276         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9277         conditional code.
9278         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9279         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9281 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9283         [BZ #14476]
9284         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9285         scripts/test-installation.pl.
9287         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9288         and $ld_so_version if it is set.
9290 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9292         [BZ #14516]
9293         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9294         failure if reading from procfs failed.
9295         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9297 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9299         * sysdeps/unix/sysv/linux/kernel-features.h
9300         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9301         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9302         Remove conditional code.
9303         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9304         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9305         Remove conditional code.
9306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9307         * sysdeps/unix/sysv/linux/i386/fxstat.c
9308         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9310         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9311         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9312         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9313         * sysdeps/unix/sysv/linux/i386/lxstat.c
9314         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9316         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9317         Remove conditional code.
9318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9319         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9320         Remove conditional code.
9321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9322         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9323         <kernel-features.h>.
9324         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9325         Remove.
9326         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9327         Remove conditional code.
9328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9329         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9330         Remove conditional.
9332 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9334         [BZ #5400]
9335         * NEWS: Add fixed bug number.
9337 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #14519]
9340         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9341         underflowing exponent in case of negative sign.
9342         * stdlib/tst-strtod-round-data: Add more tests.
9343         * stdlib/tst-strtod-round.c (tests): Regenerated.
9345         [BZ #3479]
9346         * stdlib/strtod_l.c (NDIG): Remove.
9347         (HEXNDIG): Likewise.
9348         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9349         smallest representable value.
9350         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9351         lie within an exact representation of 1/2 ulp of the result.
9352         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9353         unconditionally.
9354         (TENS_P9_IDX): Define unconditionally.
9355         (TENS_P9_SIZE): Likewise.
9356         (TENS_P10_IDX): Likewise.
9357         (TENS_P10_SIZE): Likewise.
9358         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9359         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9360         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9361         entries for 10^2^13 and 10^2^14.
9362         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9363         (TENS_P13_IDX): Define.
9364         (TENS_P13_SIZE): Likewise.
9365         (TENS_P14_IDX): Likewise.
9366         (TENS_P14_SIZE): Likewise.
9367         (_fpioconst_pow10): Change array size to
9368         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9369         unconditional.
9370         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9371         1024]: Add entries for 10^2^13 and 10^2^14.
9372         [LAST_POW10 > _LAST_POW10]: Remove #error.
9373         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9374         (_fpioconst_pow10): Change array size to
9375         FPIOCONST_POW10_ARRAY_SIZE.
9376         * stdlib/gen-fpioconst.c: New file.
9377         * stdlib/gen-tst-strtod-round.c: Likewise.
9378         * stdlib/tst-strtod-round-data: Likewise.
9379         * stdlib/tst-strtod-round.c: Likewise.
9380         * stdlib/Makefile (tests): Add tst-strtod-round.
9382         [BZ #14459]
9383         * stdlib/strtod_l.c: Include <stdint.h>.
9384         (NDEBUG): Do not define.
9385         (round_and_return): Change EXPONENT parameter to type intmax_t.
9386         Rearrange calculations to avoid internal overflow possibilities.
9387         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9388         Rearrange calculations to avoid internal overflow possibilities.
9389         Assert that number fits inside MPNSIZE limbs.
9390         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9391         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9392         calculations and add assertions to avoid internal overflow
9393         possibilities.  Add casts to avoid signed/unsigned operations.
9394         * stdlib/tst-strtod-overflow.c: New file.
9395         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9397 2012-08-25  Marek Polacek  <polacek@redhat.com>
9399         * time/time.h: Fix some typos in comments.
9401 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9403         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9404         * posix/tst-rfc3484-2.c: Likewise.
9405         * posix/tst-rfc3484-3.c: Likewise.
9407 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9409         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9410         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9412 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9414         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9415         #include of fxstatat64.c.
9417 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9419         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9420         * shadow/getspent_r.c: Likewise.
9421         * shadow/getspnam.c: Likewise.
9422         * shadow/getspnam_r.c: Likewise.
9423         * gshadow/getsgent.c: Likewise.
9424         * gshadow/getsgent_r.c: Likewise.
9425         * gshadow/getsgnam.c: Likewise.
9426         * gshadow/getsgnam_r.c: Likewise.
9427         * inet/getnetbyad.c: Likewise.
9428         * inet/getnetbyad_r.c: Likewise.
9429         * inet/getnetbynm.c: Likewise.
9430         * inet/getnetbynm_r.c: Likewise.
9431         * inet/getnetent.c: Likewise.
9432         * inet/getnetent_r.c: Likewise.
9433         * inet/getproto.c: Likewise.
9434         * inet/getproto_r.c: Likewise.
9435         * inet/getprtent.c: Likewise.
9436         * inet/getprtent_r.c: Likewise.
9437         * inet/getprtname.c: Likewise.
9438         * inet/getprtname_r.c: Likewise.
9439         * inet/getrpcbyname.c: Likewise.
9440         * inet/getrpcbyname_r.c: Likewise.
9441         * inet/getrpcbynumber.c: Likewise.
9442         * inet/getrpcbynumber_r.c: Likewise.
9443         * inet/getrpcent.c: Likewise.
9444         * inet/getrpcent_r.c: Likewise.
9445         * inet/getaliasent.c: Likewise.
9446         * inet/getaliasent_r.c: Likewise.
9447         * inet/getaliasname.c: Likewise.
9448         * inet/getaliasname_r.c: Likewise.
9449         * nscd/getgrgid_r.c: Likewise.
9450         * nscd/getgrnam_r.c: Likewise.
9451         * nscd/gethstbyad_r.c: Likewise.
9452         * nscd/gethstbynm3_r.c: Likewise.
9453         * nscd/getpwnam_r.c: Likewise.
9454         * nscd/getpwuid_r.c: Likewise.
9455         * nscd/getsrvbynm_r.c: Likewise.
9456         * nscd/getsrvbypt_r.c: Likewise.
9457         * nscd/gai.c: Likewise.
9459         * configure.in (build_nscd): New substituted variable, set
9460         by --disable-build-nscd and defaults to $use_nscd.
9461         * configure: Regenerated.
9462         * config.make.in (build-nscd): New substituted variable.
9463         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9464         Change conditional to require [$(build-nscd) = yes] as well.
9465         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9467         [BZ# 13696]
9468         * configure.in (use_nscd): New substituted variable, set by
9469         --disable-nscd.  If enabled, define USE_NSCD.
9470         * configure: Regenerated.
9471         * config.h.in: Add USE_NSCD.
9472         * config.make.in (use-nscd): New substituted variable.
9473         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9474         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9475         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9476         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9477         (CFLAGS-getgrnam_r.c): Likewise.
9478         (CFLAGS-initgroups.c): Likewise.
9479         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9480         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9481         Variables removed.
9482         * inet/getnetgrent_r.c
9483         (nscd_setnetgrent): New function, broken out of ...
9484         (setnetgrent): ... here.  Call it.
9485         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9486         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9487         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9488         * nscd/Makefile (routines, aux): Move definitions after include of
9489         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9490         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9491         Conditionalize on [USE_NSCD].
9492         (is_nscd, nscd_init_cb): Likewise.
9493         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9494         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9495         * nss/nss_db/db-init.c: Likewise.
9496         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9497         [USE_NSCD].
9498         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9499         (make_request): Use it.
9500         (cache_valid_p): New function.
9501         (__check_pf): Use it.
9502         * NEWS: Add item for --disable-nscd.
9504 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9506         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9507         to support sed >= 4.2.1-20-ga9bf076.
9508         * configure: Regenerated.
9510 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9512         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9513         Conditionalize whole body on [IREL].
9515 2012-08-22  Jeff Law <law@redhat.com>
9517         [BZ #14505]
9518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9519         if the family is PF_UNSPEC.
9521 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9523         * Makerules (lib-version): Rename from V.
9524         (install-lib-nosubdir): Change V to lib-version.
9526 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9528         [BZ #14252]
9529         * powerpc32/power6/wcschr.c: New file.
9530         * powerpc32/power6/wcscpy.c: New file.
9531         * powerpc32/power6/wcsrchr.c: New file.
9532         * powerpc64/power6/wcschr.c: New file.
9533         * powerpc64/power6/wcscpy.c: New file.
9534         * powerpc64/power6/wcsrchr.c: New file.
9536 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9538         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9539         (two_way_short_needle): Use it.
9540         * string/strstr.c (AVAILABLE1_USES_J): Define.
9541         * string/strcasestr.c: Likewise.
9543         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9544         array references.
9545         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9547         [BZ #11607]
9548         * NEWS: Add an entry.
9549         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9550         define their defaults.
9551         (two_way_short_needle): Detect end-of-string on-the-fly.
9552         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9553         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9554         * string/bug-strcasestr1.c: New test.
9555         * string/Makefile: Run it.
9557 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9559         [BZ #11607]
9560         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9561         the first character.
9563 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9565         * csu/elf-init.c (__libc_csu_irel): Function removed.
9566         * csu/libc-start.c (apply_irel): New function.
9567         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9569 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9571         * sysdeps/unix/sysv/linux/kernel-features.h
9572         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9573         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9574         <kernel-features.h>.
9575         [__NR_fadvise64_64]: Make code unconditional.
9576         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9577         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9578         !__NR_fadvise64_64)]: Likewise.
9579         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9580         !__NR_fadvise64_64))]: Likewise.
9581         [__NR_fadvise64]: Make code unconditional.
9582         [!__NR_fadvise64]: Remove conditional code.
9583         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9584         <kernel-features.h>.
9585         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9586         unconditional.
9587         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9588         conditional code.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9590         not include <kernel-features.h>.
9591         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9592         unconditional.
9593         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9594         conditional code.
9595         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9596         include <kernel-features.h>.
9597         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9598         unconditional.
9599         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9600         conditional code.
9602 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9605         slight instruction rearrangements per scrollpipe analysis.
9606         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9608 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9610         * manual/syslog.texi (syslog; vsyslog, closelog):
9611         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9612         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9614         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9615         DSOCAPS to match condition on defining it.
9617 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9619         * sysdeps/unix/sysv/linux/kernel-features.h
9620         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9622         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9623         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9625         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9626         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9628         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9629         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9631         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9632         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9634         * sysdeps/unix/sysv/linux/kernel-features.h
9635         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9636         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9637         unconditional.
9638         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9639         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9640         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9641         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9642         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9643         Make code unconditional.
9644         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9645         (__mmap64) [!__NR_mmap2]: Likewise.
9646         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9647         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9648         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9649         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9650         [__NR_mmap2]: Make code unconditional.
9651         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9652         (__mmap64) [!__NR_mmap2]: Likewise.
9654 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9656         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9658 2012-08-18  Andreas Jaeger  <aj@suse.de>
9660         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9662 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9664         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9665         * include/unistd.h (__have_sock_cloexec): Likewise.
9666         (__have_pipe2): Likewise.
9667         (__have_dup3): Likewise.
9669 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9671         [BZ #9685]
9672         * include/unistd.h (__have_pipe2): Change define into an extern int.
9673         (__have_dup3): Likewise.
9674         * socket/have_sock_cloexec.c: Include fcntl.h.
9675         (__have_pipe2): New variable.
9676         (__have_dup3): Likewise.
9678 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9680         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9682 2012-08-17  Marek Polacek  <polacek@redhat.com>
9684         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9685         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9687 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9689         * configure.in: Add AC_SUBST for sysheaders.
9690         * configure: Regenerated.
9691         * config.make.in (sysheaders): New substituted variable.
9693         * sysdeps/unix/mkfifo.c: Moved ...
9694         * sysdeps/posix/mkfifo.c: ... here.
9695         * sysdeps/unix/mkfifoat.c: Moved ...
9696         * sysdeps/posix/mkfifoat.c: ... here.
9698         * sysdeps/unix/utime.c: Moved ...
9699         * sysdeps/posix/utime.c: ... here.
9701         * sysdeps/unix/time.c: Moved ...
9702         * sysdeps/posix/time.c: ... here.
9703         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9704         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9706         * sysdeps/unix/nice.c: Moved ...
9707         * sysdeps/posix/nice.c: ... here.
9709         * sysdeps/unix/alarm.c: Moved ...
9710         * sysdeps/posix/alarm.c: ... here.
9712         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9714 2012-08-17  Jeff Law <law@redhat.com>
9716         * intl/Makefile (codeset_mo): New variable.
9717         ($(codeset_mo)): New target.
9718         (tst-codeset.out): Depend on that.  Remove explicit rule.
9719         (tst-gettext3.out, tst-gettext5.out): Likewise.
9720         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9721         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9722         * intl/tst-codeset.sh: Remove.
9723         * intl/tst-gettext3.sh: Likewise.
9724         * intl/tst-gettext5.sh: Likewise.
9726 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9728         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9729         * sysdeps/unix/syscalls.list: ... here.
9731         * sysdeps/posix/getaddrinfo.c
9732         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9733         (gaiconf_init, gaiconf_reload): Use them.
9734         [!_STATBUF_ST_NSEC]
9735         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9736         Define using time_t rather than struct timespec.
9738         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9739         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9740         Macros removed.
9741         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9742         [!NO_THREADS].
9743         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9744         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9745         Likewise.
9747         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9748         __libc_cleanup_push argument.
9750         * bits/param.h: New file.
9751         * misc/sys/param.h: New file.
9752         * include/sys/param.h: New file.
9753         * misc/Makefile (headers): Add bits/param.h.
9754         * sysdeps/generic/sys/param.h: File removed.
9755         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9756         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9757         * sysdeps/mach/hurd/bits/param.h: New file.
9758         * sysdeps/mach/hurd/sys/param.h: File removed.
9760         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9761         last change.
9763         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9764         [_IO_MTSAFE_IO].
9765         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9766         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9767         New macros.
9769         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9770         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9771         rather than -D_IO_MTSAFE_IO conditionally.
9772         * stdio-common/Makefile (CPPFLAGS): Likewise.
9773         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9774         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9775         Use $(libio-mtsafe).
9776         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9777         of -D_IO_MTSAFE_IO.
9778         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9779         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9780         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9781         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9782         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9783         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9784         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9785         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9786         (CFLAGS-fread_u_chk.c): Likewise.
9787         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9788         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9789         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9790         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9791         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9792         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9793         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9794         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9795         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9797         * libio/Makefile: Test [$(libc-reentrant) = yes]
9798         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9800         * Makeconfig
9801         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9802         * sysdeps/pthread/configure: File removed.
9803         * sysdeps/pthread/Makeconfig: New file.
9804         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9805         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9807 2012-08-16  Gary Benson  <gbenson@redhat.com>
9809         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9810         unmapping the first object in a namespace.
9812 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9814         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9815         (__internal_setnetgrent): ... this.  Add internal_function to
9816         definition.  Add libc_hidden_def.
9817         (setnetgrent): Update caller.
9818         (internal_endnetgrent): Renamed to ...
9819         (__internal_endnetgrent): ... this.  Add internal_function to
9820         definition.  Add libc_hidden_def.
9821         (endnetgrent): Update caller.
9822         (internal_getnetgrent_r): Renamed to ...
9823         (__internal_getnetgrent_r): ... this.  Add internal_function to
9824         definition.  Add libc_hidden_def.
9825         (__getnetgrent_r): Update caller.
9826         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9828 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9830         * stdlib/longlong.h: Update from GCC.
9832 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9834         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9835         on _QL, which is set by umul_ppmm but never used.
9836         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9837         variables, which are set by GMP macros but never used.
9838         * stdio-common/_itowa.c (_itowa): Likewise.
9839         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9840         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9842 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9844         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9845         struct La_sh_regs is not constant.
9846         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9847         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9848         and struct La_sparc64_regs are not constant.
9850 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9852         * sysdeps/unix/sysv/linux/kernel-features.h
9853         (__ASSUME_POSIX_TIMERS): Remove.
9854         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9855         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9856         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9857         Make code unconditional.
9858         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9859         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9860         Make code unconditional.
9861         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9862         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9863         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9864         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9865         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9866         Make code unconditional.
9867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9868         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9869         (__libc_missing_posix_timers): Remove.
9871 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9873         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9874         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9876         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9878         * elf/dl-sym.c: Include <stdlib.h>.
9880         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9881         constants, which avoids warnings in 32-bit builds.
9883         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9884         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9886         * misc/lseek.c: File moved to ...
9887         * io/lseek.c: ... here.
9889         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9891         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9892         shifting LEN more than 31 bits at once.
9894 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9896         [BZ #14195]
9897         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9898         segmentation fault for a case of two empty input strings.
9899         * string/test-strncasecmp.c (check1): Renamed to...
9900         (bz12205): ...this.
9901         (bz14195): Add new testcase for two empty input strings and N > 0.
9902         (test_main): Call new testcase, adapt for renamed function.
9904 2012-08-15  Andreas Jaeger  <aj@suse.de>
9906         [BZ #14090]
9907         * crypt/md5test2.c: New test, based on test supplied by Serge
9908         Belyshev <belyshev@depni.sinp.msu.ru>.
9909         * crypt/Makefile (xtests): Add md5test-giant..
9910         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9912 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9914         [BZ #14090]
9915         * crypt/md5.c (md5_process_block): Don't assume the buffer
9916         length is less than 2**32.
9917         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9918         length is less than 2**64.
9920 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9922         * string/str-two-way.h: Include <sys/param.h>.
9923         (MAX): Macro removed.
9925         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9926         Move #define and #undef of memmove to just before and after
9927         including <string.h>.
9929         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9930         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9931         and after including <string.h>.  Move declarations of
9932         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9933         to before #include "string/memmove.c".
9935         * include/dirent.h: Declare __getdirentries.
9937         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9938         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9940 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9942         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9943         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9944         * sysdeps/i386/configure: Regenerated.
9945         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9946         STABS_CURRENT_FILE, and STABS_FUN.
9947         (END): Remove call to STABS_FUN_END.
9948         (STABS_CURRENT_FILE1): Delete.
9949         (STABS_CURRENT_FILE): Likewise.
9950         (STABS_FUN): Likewise.
9951         (STABS_FUN_END): Likewise.
9952         (STABS_FUN2): Likewise.
9953         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9954         * sysdeps/x86_64/configure: Regenerated.
9956 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9958         * elf/dl-open.c: Include <atomic.h>.
9959         * elf/dl-lookup.c: Likewise.
9961 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9963         * sysdeps/unix/sysv/linux/kernel-features.h
9964         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9965         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9966         unconditionally.
9967         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9968         unconditionally.
9969         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9970         condition on __ASSUME_CLONE_THREAD_FLAGS.
9972 2012-08-14  Andreas Jaeger  <aj@suse.de>
9974         * sysdeps/i386/fpu/libm-test-ulps: Update.
9976 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9978         * include/atomic.h (atomic_exchange_and_add): Split into ...
9979         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9980         New atomic macros.
9982 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9986 2012-08-13  Jeff Law <law@redhat.com>
9988         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9989         null byte in the output string.
9991 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9993         * sysdeps/unix/sysv/linux/kernel-features.h
9994         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9995         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9996         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9997         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9998         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9999         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10000         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10002 2012-08-09  Jeff Law <law@redhat.com>
10004         [BZ #13939]
10005         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10006         When avoid_arena is set, don't retry in the that arena.  Pick the
10007         next one, whatever it might be.
10008         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10009         (arena_lock): Pass in new parameter to arena_get2.
10010         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10011         arena_get2.
10012         (__libc_malloc): Unify retrying after main arena failure with
10013         __libc_memalign version.
10014         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10016 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10018         [BZ #14166]
10019         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10020         to __redirect_strstr.
10021         (__strstr_sse42): Use typeof __redirect_strstr.
10022         (__strstr_ia32): Likewise.
10023         (__libc_strstr): New prototype.
10024         (strstr): Renamed to ...
10025         (__libc_strstr): This.
10026         (strstr): New strong alias of __libc_strstr.
10027         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10028         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10029         __redirect_time.
10030         Include <time.h>.
10031         (__libc_time): New prototype.
10032         (time_ifunc): Replace time with __libc_time.
10033         (time): New strong alias and hidden definition of __libc_time.
10034         (__GI_time): Remove strong alias.
10035         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10036         Include <stddef.h>.
10037         (memmove): Redefined to __redirect_memmove.
10038         (__memmove_sse2): Use typeof __redirect_memmove.
10039         (__memmove_ssse3): Likewise.
10040         (__memmove_ssse3_back): Likewise.
10041         (__libc_memmove): New prototype.
10042         (memmove): Renamed to ...
10043         (__libc_memmove): This.
10044         (memmove): New strong alias of __libc_memmove.
10046 2012-08-08  Mark Salter  <msalter@redhat.com>
10048         * elf/elf.h
10049         (R_MN10300_TLS_GD): Define.
10050         (R_MN10300_TLS_LD): Likewise.
10051         (R_MN10300_TLS_LDO): Likewise.
10052         (R_MN10300_TLS_GOTIE): Likewise.
10053         (R_MN10300_TLS_IE): Likewise.
10054         (R_MN10300_TLS_LE): Likewise.
10055         (R_MN10300_TLS_DTPMOD): Likewise.
10056         (R_MN10300_TLS_DTPOFF): Likewise.
10057         (R_MN10300_TLS_TPOFF): Likewise.
10058         (R_MN10300_SYM_DIFF): Likewise.
10059         (R_MN10300_ALIGN): Likewise.
10060         (R_MN10300_NUM): Update.
10062 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10064         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10065         Remove.
10067 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10069         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10071         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10072         sysdeps/unix -> sysdeps/posix move.
10073         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10075 2012-08-07      Allan McRae     <allan@archlinux.org>
10077         [BZ #14303]
10078         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10079         (SUNOS_CPP): Likewise.
10080         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10081         not found.
10082         (open_input): Call CPP using execvp.
10084 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10086         * sysdeps/unix/sysv/linux/kernel-features.h
10087         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10088         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10089         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10090         (__ASSUME_WAITID_SYSCALL): Likewise.
10091         * sysdeps/unix/sysv/linux/dl-execstack.c
10092         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10093         code unconditional.
10094         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10095         conditional code.
10096         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10097         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10098         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10099         code.
10100         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10101         unconditional.
10102         [__ASSUME_WAITID_SYSCALL]: Likewise.
10103         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10105 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10107         * sysdeps/unix/closedir.c: Renamed to ...
10108         * sysdeps/posix/closedir.c: ... here.
10109         * sysdeps/unix/dirfd.c: Renamed to ...
10110         * sysdeps/posix/dirfd.c: ... here.
10111         * sysdeps/unix/dirstream.h: Renamed to ...
10112         * sysdeps/posix/dirstream.h: ... here.
10113         * sysdeps/unix/fdopendir.c: Renamed to ...
10114         * sysdeps/posix/fdopendir.c: ... here.
10115         * sysdeps/unix/opendir.c: Renamed to ...
10116         * sysdeps/posix/opendir.c: ... here.
10117         * sysdeps/unix/readdir.c: Renamed to ...
10118         * sysdeps/posix/readdir.c: ... here.
10119         * sysdeps/unix/readdir_r.c: Renamed to ...
10120         * sysdeps/posix/readdir_r.c: ... here.
10121         * sysdeps/unix/rewinddir.c: Renamed to ...
10122         * sysdeps/posix/rewinddir.c: ... here.
10123         * sysdeps/unix/seekdir.c: Renamed to ...
10124         * sysdeps/posix/seekdir.c: ... here.
10125         * sysdeps/unix/telldir.c: Renamed to ...
10126         * sysdeps/posix/telldir.c: ... here.
10127         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10128         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10129         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10130         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10132         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10133         * bits/fcntl.h: ... here.
10135         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10136         not 0.
10137         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10138         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10139         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10140         (struct flock): Move l_start, l_len to the beginning.
10141         Use __pid_t for l_pid.
10142         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10143         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10144         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10145         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10146         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10147         [__USE_LARGEFILE64] (struct flock64): New type.
10148         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10150         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10151         * bits/dirent.h: ... here.
10153         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10154         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10156 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10158         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10159         Change from 2.6.0 to 2.6.16.
10160         * sysdeps/unix/sysv/linux/configure: Regenerated.
10161         * sysdeps/unix/sysv/linux/kernel-features.h
10162         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10163         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10164         version.
10165         (__ASSUME_UTIMES): Likewise.
10166         (__ASSUME_CLONE_STOPPED): Remove.
10167         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10168         architectures, not kernel version.
10169         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10170         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10171         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10172         (__ASSUME_WAITID_SYSCALL): Likewise.
10173         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10174         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10175         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10176         refer to older versions.
10178 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10180         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10181         Define alphasort64 as an alias.
10182         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10183         Define versionsort64 as an alias.
10184         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10185         Define scandir64 as an alias.
10186         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10187         Define scandirat64 as an alias.
10188         * dirent/alphasort64.c (alphasort64):
10189         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10190         * dirent/versionsort64.c: Likewise.
10191         * dirent/scandir64.c: Likewise.
10192         * dirent/scandirat64.c: Likewise.
10193         * sysdeps/wordsize-64/alphasort.c: File removed.
10194         * sysdeps/wordsize-64/alphasort64.c: File removed.
10195         * sysdeps/wordsize-64/scandir.c: File removed.
10196         * sysdeps/wordsize-64/scandir64.c: File removed.
10197         * sysdeps/wordsize-64/scandirat.c: File removed.
10198         * sysdeps/wordsize-64/scandirat64.c: File removed.
10199         * sysdeps/wordsize-64/versionsort.c: File removed.
10200         * sysdeps/wordsize-64/versionsort64.c: File removed.
10201         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10202         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10203         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10204         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10205         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10206         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10207         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10208         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10210         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10212         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10213         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10214         [defined __arch64__ || defined __sparcv9]
10215         (__INO_T_MATCHES_INO64_T): New macro.
10216         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10217         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10218         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10219         * sysdeps/unix/sysv/linux/bits/dirent.h
10220         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10221         (_DIRENT_MATCHES_DIRENT64): New macro.
10223         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10224         Define lockf64 as an alias.
10225         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10226         Define fseeko64 as an alias.
10227         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10228         Define ftello64 as an alias.
10229         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10230         Define _IO_fgetpos64 and fgetpos64 as aliases.
10231         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10232         Define _IO_fsetpos64 and fsetpos64 as aliases.
10233         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10234         Conditionalize body on this.
10235         * libio/fseeko64.c: Likewise.
10236         * libio/ftello64.c: Likewise.
10237         * libio/iofgetpos64.c: Likewise.
10238         * libio/iofsetpos64.c: Likewise.
10239         * sysdeps/wordsize-64/lockf.c: File removed.
10240         * sysdeps/wordsize-64/lockf64.c: File removed.
10241         * sysdeps/wordsize-64/fseeko.c: File removed.
10242         * sysdeps/wordsize-64/fseeko64.c: File removed.
10243         * sysdeps/wordsize-64/ftello.c: File removed.
10244         * sysdeps/wordsize-64/ftello64.c: File removed.
10245         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10246         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10247         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10248         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10249         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10251         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10252         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10253         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10254         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10255         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10256         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10257         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10258         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10260         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10262         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10264         [defined __arch64__ || defined __sparcv9]
10265         (__OFF_T_MATCHES_OFF64_T): New macro.
10266         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10267         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10269         (__OFF_T_MATCHES_OFF64_T): New macro.
10271 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10273         * stdlib/secure-getenv.c (__secure_getenv): Replace
10274         GLIBC_2_16 with GLIBC_2_17.
10276 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10278         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10279         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10281 2012-08-03  David S. Miller  <davem@davemloft.net>
10283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10285 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10288         Remove.
10289         (__ASSUME_CORRECT_SI_PID): Likewise.
10290         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10291         (__ASSUME_TMPFS_NAME): Likewise.
10292         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10293         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10294         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10295         (HAVE_AUX_SECURE): Make definition unconditional.
10296         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10297         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10299 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10301         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10302         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10303         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10304         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10305         __eloop_threshold instead of SYMLOOP_MAX.
10307         * sysdeps/generic/eloop-threshold.h: New file.
10308         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10309         of MAXSYMLINKS.
10310         * elf/chroot_canon.c (chroot_canon): Likewise.
10312 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10314         [BZ #13717]
10315         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10316         Change to 2.6.0 everywhere.
10317         * sysdeps/unix/sysv/linux/configure: Regenerated.
10318         * sysdeps/unix/sysv/linux/kernel-features.h
10319         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10320         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10321         kernel versions.
10322         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10323         (__ASSUME_FUTEX_REQUEUE): Remove.
10324         (__ASSUME_STATFS64): Define unconditionally.
10325         (__ASSUME_AT_SECURE): Likewise.
10326         (__ASSUME_CORRECT_SI_PID): Likewise.
10327         (__ASSUME_TGKILL): Define without depending on kernel version for
10328         i386.
10329         (__ASSUME_UTIMES): Likewise.
10330         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10331         kernel version.
10332         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10333         (__ASSUME_TMPFS_NAME): Likewise.
10334         * README: Update reference to Linux kernel versions.
10336 2012-08-02  Marek Polacek  <polacek@redhat.com>
10338         [BZ# 14150]
10339         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10340         libc_cv_asm_type_prefix with %.
10341         * configure: Regenerated.
10342         * include/libc-symbols.h: Remove comment about
10343         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10344         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10345         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10346         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10347         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10348         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10349         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10350         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10351         * elf/tst-unique2mod1.c: Likewise.
10352         * elf/tst-unique1mod2.c: Likewise.
10353         * elf/tst-unique1mod1.c: Likewise.
10354         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10355         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10356         Replace ASM_TYPE_DIRECTIVE with .type.
10357         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10358         * sysdeps/i386/sysdep.h: Likewise.
10359         * sysdeps/x86_64/sysdep.h: Likewise.
10360         * sysdeps/sh/sysdep.h: Likewise.
10361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10362         Do not define ASM_TYPE_DIRECTIVE.
10363         * sysdeps/powerpc/sysdep.h: Likewise.
10364         * sysdeps/powerpc/powerpc32/sysdep.h:
10365         Replace ASM_TYPE_DIRECTIVE with .type.
10366         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10367         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10368         * sysdeps/i386/fpu/e_powf.S: Likewise.
10369         * sysdeps/i386/fpu/e_expl.S: Likewise.
10370         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10371         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10372         * sysdeps/i386/fpu/e_pow.S: Likewise.
10373         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10374         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10375         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10376         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10377         * sysdeps/i386/fpu/e_log2.S: Likewise.
10378         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10379         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10380         * sysdeps/i386/fpu/e_powl.S: Likewise.
10381         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10382         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10383         * sysdeps/i386/fpu/e_logl.S: Likewise.
10384         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10385         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10386         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10387         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10388         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10389         * sysdeps/i386/fpu/e_log.S: Likewise.
10390         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10391         * sysdeps/i386/fpu/e_logf.S: Likewise.
10392         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10393         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10394         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10395         * sysdeps/i386/fpu/e_log10.S: Likewise.
10396         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10397         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10398         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10399         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10400         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10401         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10402         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10403         * sysdeps/i386/i686/strtok.S: Likewise.
10404         * sysdeps/i386/i386-mcount.S: Likewise.
10405         * sysdeps/i386/strtok.S: Likewise.
10406         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10407         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10408         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10409         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10410         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10411         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10412         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10413         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10414         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10415         * sysdeps/x86_64/_mcount.S: Likewise.
10416         * sysdeps/x86_64/strtok.S: Likewise.
10417         * sysdeps/sh/_mcount.S: Likewise.
10419 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10421         * libio/iofopen.c: Include <fcntl.h>.
10422         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10423         (_IO_fopen64, fopen64): Define as aliases.
10424         * libio/iofopen64.c: Include <fcntl.h>.
10425         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10426         Conditionalize body on this.
10427         * sysdeps/wordsize-64/iofopen.c: File removed.
10428         * sysdeps/wordsize-64/iofopen64.c: File removed.
10430 2012-08-01  Marek Polacek  <polacek@redhat.com>
10432         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10433         Use dlfcn directly instead of a variable.
10434         (binfmt-subdir): Do not define.
10435         (dlfcn): Likewise.
10437 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10440         Remove all definitions.
10441         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10442         <kernel-features.h>.
10443         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10444         (miss_F_GETOWN_EX): Remove all definitions.
10445         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10446         macro definition.
10447         [!__ASSUME_FCNTL64]: Remove conditional code.
10448         [__ASSUME_FCNTL64]: Make code unconditional.
10449         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10450         <kernel-features.h>.
10451         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10452         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10453         (lockf64) [__NR_fcntl64]: Make code unconditional.
10454         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10456         * sysdeps/unix/sysv/linux/kernel-features.h
10457         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10458         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10459         Make code unconditional.
10460         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10461         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10463         [__NR_vfork]: Make code unconditional.
10464         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10465         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10467         [__NR_vfork]: Make code unconditional.
10468         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10469         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10471 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10473         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10474         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10476         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10477         Define mkstemp64 as an alias.
10478         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10479         Define mkstemps64 as an alias.
10480         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10481         Define mkostemp64 as an alias.
10482         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10483         Define mkostemps64 as an alias.
10484         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10485         Conditionalize body on this.
10486         * misc/mkostemp64.c: Likewise.
10487         * misc/mkostemps64.c: Likewise.
10488         * misc/mkstemps64.c: Likewise.
10489         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10490         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10491         * sysdeps/wordsize-64/mkostemp.c: File removed.
10492         * sysdeps/wordsize-64/mkstemp.c: File removed.
10493         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10494         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10495         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10496         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10498         [BZ #14138]
10499         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10500         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10501         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10502         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10504         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10505         compat_symbol macros from <shlib-compat.h> rather than the underlying
10506         default_symbol_version and symbol_version macros, so that DEFAULT
10507         lines in shlib-versions are respected.
10508         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10510 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10512         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10513         Declare with warn_unused_result.
10514         (setgid, setregid, setegid, setresgid): Likewise.
10515         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10516         Likewise.
10517         * WUR-REPORT: Remove set*id functions.
10519 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10521         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10523 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10525         * include/sys/socket.h (__libc_accept, __libc_accept4):
10526         Add attribute_hidden.
10527         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10529         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10530         use of PTR_MANGLE.
10531         * inet/getnetgrent_r.c (setup): Likewise.
10533         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10535 2012-07-31  David S. Miller  <davem@davemloft.net>
10537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10539 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10541         [BZ #13629]
10542         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10543         value between 1.0 and 2.0 and smaller part has absolute value less
10544         than 1.0.
10545         * math/s_clog10.c (__clog10): Likewise.
10546         * math/s_clog10f.c (__clog10f): Likewise.
10547         * math/s_clog10l.c (__clog10l): Likewise.
10548         * math/s_clogf.c (__clogf): Likewise.
10549         * math/s_clogl.c (__clogl): Likewise.
10550         * math/libm-test.inc (clog_test): Add more tests.
10551         (clog10_test): Likewise.
10552         * sysdeps/i386/fpu/libm-test-ulps: Update.
10553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10555 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10557         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10558         Exit with zero in case no suitable GID is found, and write a
10559         message to standard error.
10561 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10563         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10564         rather than to 1.
10565         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10566         (MAXPATHLEN): Removed.
10567         (NOGROUP, NODEV): New macros.
10568         (setbit, clrbit, isset, isclr): New macros.
10569         (howmany, roundup, powerof2): New macros.
10570         (DEV_BSIZE): New macro.
10572         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10573         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10575         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10576         definition on [!__NO_LONG_DOUBLE_MATH].
10578         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10579         PTR_MANGLE and PTR_DEMANGLE.
10581         * socket/accept4.c (accept4): Rename to __libc_accept4.
10582         Define accept4 as a weak alias.
10584         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10585         on [_DIRENT_HAVE_D_TYPE].
10586         * io/ftw.c (ftw_dir): Likewise.
10588         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10590         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10592         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10593         Use the BSD numbers rather than the arbitrary ones we had.
10594         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10595         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10596         (SIGXCPU, SIGXFSZ): New macros.
10597         (_NSIG): Now 32.
10599         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10600         initializer on [_LIBC_REENTRANT].
10602         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10603         definitions inside [_POSIX_MAPPED_FILES].
10605         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10607         * dirent/opendir.c: Include <fcntl.h>.
10609         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10610         (__libc_getspecific): Likewise.
10611         (__libc_key_create): Likewise.
10613         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10614         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10615         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10616         (tmpfile64): Define as alias.
10617         * sysdeps/wordsize-64/tmpfile.c: File removed.
10618         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10619         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10620         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10622         * stdio-common/vfscanf.c: Include <stdbool.h>.
10623         * nss/makedb.c: Likewise.
10624         * stdio-common/_i18n_number.h: Likewise.
10625         * argp/argp-help.c: Likewise.
10626         * posix/wordexp.c: Likewise.
10627         * sysdeps/posix/spawni.c: Likewise.
10628         * nss/nss_files/files-initgroups.c: Likewise.
10629         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10630         * nss/nss_files/files-initgroups.c: Likewise.
10631         * nss/nss_db/db-netgrp.c: Likewise.
10632         * nss/nss_db/db-initgroups.c: Likewise.
10633         * io/fchmodat.c: Include <sys/stat.h>.
10635         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10636         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10638         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10639         [HAVE_MMAP].
10641         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10642         Add multiple inclusion protection.
10644 2012-07-27  David S. Miller  <davem@davemloft.net>
10646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10648 2012-07-27  Gary Benson  <gbenson@redhat.com>
10650         [BZ #14298]
10651         * elf/rtld.c: Include <stap-probe.h>.
10652         (dl_main): Added static probes "init_start" and "init_complete".
10653         * elf/dl-load.c: Include <stap-probe.h>.
10654         (lose): Take new parameter "nsid".
10655         Added static probe "map_failed".
10656         (_dl_map_object_from_fd): Pass namespace id to lose.
10657         Added static probe "map_start".
10658         (open_verify): Pass namespace id to lose.
10659         * elf/dl-open.c: Include <stap-probe.h>.
10660         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10661         and "reloc_complete".
10662         * elf/dl-close.c: Include <stap-probe.h>.
10663         (_dl_close_worker): Added static probes "unmap_start" and
10664         "unmap_complete".
10665         * elf/rtld-debugger-interface.txt: New file documenting the above.
10667 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10669         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10670         rather than a string variable.
10671         * sunrpc/rpc_main.c (h_output): Likewise.
10672         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10674 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10676         * inet/check_native.c: New file.
10678 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10680         [BZ #13629]
10681         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10682         if larger part has absolute value 1.0.
10683         * math/s_clog10.c (__clog10): Likewise.
10684         * math/s_clog10f.c (__clog10f): Likewise.
10685         * math/s_clog10l.c (__clog10l): Likewise.
10686         * math/s_clogf.c (__clogf): Likewise.
10687         * math/s_clogl.c (__clogl): Likewise.
10688         * math/libm-test.inc (clog_test): Add more tests.
10689         (clog10_test): Likewise.
10690         * sysdeps/i386/fpu/libm-test-ulps: Update.
10691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10693         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10694         (pltexit): Likewise.
10695         (La_regs): Likewise.
10696         (La_retval): Likewise.
10697         (int_retval): Likewise.
10698         Update #error for removed macros to refer only to definitions in
10699         tst-audit.h.
10700         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10701         macro.
10702         (pltexit): Likewise.
10703         (La_regs): Likewise.
10704         (La_retval): Likewise.
10705         (int_retval): Likewise.
10706         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10707         macro.
10708         (pltexit): Likewise.
10709         (La_regs): Likewise.
10710         (La_retval): Likewise.
10711         (int_retval): Likewise.
10712         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10713         macro.
10714         (pltexit): Likewise.
10715         (La_regs): Likewise.
10716         (La_retval): Likewise.
10717         (int_retval): Likewise.
10718         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10719         macro.
10720         (pltexit): Likewise.
10721         (La_regs): Likewise.
10722         (La_retval): Likewise.
10723         (int_retval): Likewise.
10724         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10725         macro.
10726         (pltexit): Likewise.
10727         (La_regs): Likewise.
10728         (La_retval): Likewise.
10729         (int_retval): Likewise.
10730         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10731         macro.
10732         (pltexit): Likewise.
10733         (La_regs): Likewise.
10734         (La_retval): Likewise.
10735         (int_retval): Likewise.
10736         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10737         macro definitions in tst-audit.h.
10738         * sysdeps/i386/tst-audit.h: New file.
10739         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10740         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10741         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10742         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10743         * sysdeps/sh/tst-audit.h: Likewise.
10744         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10745         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10746         * sysdeps/x86_64/tst-audit.h: Likewise.
10748 2012-07-26  Andreas Jaeger  <aj@suse.de>
10750         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10751         ptrace.
10753         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10754         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10755         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10756         PTRACE_O_MASK.
10757         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10758         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10759         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10761         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10762         value.
10764         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10765         _sigsys.
10766         (si_call_addr, si_syscall, si_arch): Define new macro.
10767         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10768         _sigsys.
10769         (si_call_addr, si_syscall, si_arch): Define new marcro.
10770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10771         _sigsys.
10772         (si_call_addr, si_syscall, si_arch): Define new macro.
10773         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10774         _sigsys.
10775         (si_call_addr, si_syscall, si_arch): Define new macro.
10777 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10779         [BZ #13717]
10780         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10781         Change to 2.4.21 where previously 2.4.1.
10782         * sysdeps/unix/sysv/linux/configure: Regenerated.
10783         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10784         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10785         Linux kernel version.
10786         (__ASSUME_STD_AUXV): Remove.
10787         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10788         kernel version.
10789         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10790         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10791         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10792         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10793         (__ASSUME_NETLINK_SUPPORT): Likewise.
10794         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10795         (__no_netlink_support): Remove conditional definition.
10796         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10797         Remove.
10798         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10799         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10800         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10801         (if_nameindex_ioctl): Remove.
10802         (if_nameindex_netlink): Do not handle __no_netlink_support.
10803         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10804         code.
10805         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10806         Remove conditional code.
10807         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10808         code.
10809         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10810         unconditional.
10811         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10812         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10813         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10814         Remove.
10815         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10816         [!__ASSUME_STD_AUXV]: Remove conditional code.
10817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10818         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10819         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10821         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10822         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10823         code.
10824         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10826         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10827         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10828         conditional code.
10829         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10831         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10832         code.
10833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10834         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10835         conditional code.
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10837         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10838         code unconditional.
10839         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10840         conditional code.
10841         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10842         unconditional.
10843         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10844         conditional code.
10845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10846         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10847         unconditional.
10848         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10849         conditional code.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10851         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10852         code unconditional.
10853         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10854         conditional code.
10855         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10856         unconditional.
10857         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10858         conditional code.
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10860         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10861         code unconditional.
10862         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10863         conditional code.
10864         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10865         unconditional.
10866         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10867         conditional code.
10869 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10871         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10872         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10873         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10874         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10875         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10876         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10877         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10878         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10879         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10880         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10881         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10882         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10883         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10884         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10885         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10886         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10887         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10888         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10889         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10891         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10892         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10895 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10897         * Versions.def: Add GLIBC_2.17.
10898         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10899         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10900         Introduce __libc_secure_getenv.
10901         * stdlib/Versions (2.17): Add secure_getenv
10902         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10903         * stdlib/secure-getenv.c: Rename __secure_getenv to
10904         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10905         symbol __secure_getenv for GLIBC_2.0.
10906         * stdlib/tst-secure-getenv.c: New.
10907         * stdlib/Makefile (tests): Add testcase.
10908         * manual/startup.texi (Environment Access): Document
10909         secure_getenv.
10910         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10911         __libc_secure_getenv.
10912         * inet/ruserpass.c (ruserpass): Likewise.
10913         * malloc/mtrace.c (mtrace): Likewise.
10914         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10915         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10916         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10917         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10918         HAVE_SECURE_GETENV.
10919         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10920         __secure_getenv to __libc_secure_getenv.
10921         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10923         Likewise.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10925         Likewise.
10926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10928         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10934 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10936         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10937         (struct La_i86_retval): Likewise.
10938         (struct La_x86_64_regs): Likewise.
10939         (struct La_x86_64_retval): Likewise.
10940         (struct La_x32_regs): Likewise.
10941         (struct La_x32_retval): Likewise.
10942         (struct La_ppc32_regs): Likewise.
10943         (struct La_ppc32_retval): Likewise.
10944         (struct La_ppc64_regs): Likewise.
10945         (struct La_ppc64_retval): Likewise.
10946         (struct La_sh_regs): Likewise.
10947         (struct La_sh_retval): Likewise.
10948         (struct La_s390_32_regs): Likewise.
10949         (struct La_s390_32_retval): Likewise.
10950         (struct La_s390_64_regs): Likewise.
10951         (struct La_s390_64_retval): Likewise.
10952         (struct La_sparc32_regs): Likewise.
10953         (struct La_sparc32_retval): Likewise.
10954         (struct La_sparc64_regs): Likewise.
10955         (struct La_sparc64_retval): Likewise.
10956         (struct audit_ifaces): Remove architecture-specific pltenter and
10957         pltexit members.
10958         * sysdeps/i386/ldsodefs.h: New file.
10959         * sysdeps/powerpc/ldsodefs.h: Likewise.
10960         * sysdeps/s390/ldsodefs.h: Likewise.
10961         * sysdeps/sh/ldsodefs.h: Likewise.
10962         * sysdeps/sparc/ldsodefs.h: Likewise.
10963         * sysdeps/x86_64/ldsodefs.h: Likewise.
10965 2012-07-25  Marek Polacek  <polacek@redhat.com>
10967         [BZ #6808]
10968         * math/libm-test.inc (yn_test): Add another test.
10969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10970         to ERANGE when the result is +-Inf.
10971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10972         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10973         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10974         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10976 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10978         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10979         equal to 0.
10980         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10981         clock_t.
10982         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10984 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10986         * configure.in <sysdeps resolving>: Correct printing
10987         Implies_before.
10988         * configure: Regenerate.
10990 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10992         * math/w_ilogb.c: Include <limits.h>.
10993         * math/w_ilogbl.c: Likewise.
10995 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10997         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10998         va_copy.  Document allowing for unavailable va_copy only as
10999         pre-C99 compatibility.
11000         * manual/string.texi (Copying and Concatenation): Use va_copy
11001         instead of __va_copy in concat example.
11003 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11005         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11006         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11007         it if not null.
11009         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11010         with O_NOLINK passed to __file_name_lookup.
11012         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11013         with O_NOLINK passed to __file_name_lookup.
11015         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11016         negative N or less than NGIDS.
11018         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11019         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11020         enough.  Use memcpy instead of strncpy.
11022 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11024         * elf/Makefile (check-data): Remove.
11025         (localplt.data): New vpath directive.
11026         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11027         instead of $(check-data).
11028         * scripts/data/localplt-generic.data: Move to ...
11029         * sysdeps/generic/localplt.data: ... here.
11030         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11031         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11032         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11034         ... here.
11035         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11037         ... here.
11038         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11040         ... here.
11041         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11043         ... here.
11044         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11046         ... here.
11047         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11049         ... here.
11051 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11053         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11054         PPC32 and PPC64 files.
11055         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11056         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11058 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11060         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11061         __makecontext_ret to ...
11062         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11063         ... here and call exit if uc_link is NULL.  New file.
11064         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11065         __makecontext_ret.S.
11066         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11067         __makecontext_ret to ...
11068         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11069         ... here and call exit if uc_link is NULL.  New file.
11070         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11071         __makecontext_ret.S.
11073 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11075         * elf/elf.h (R_390_IRELATIVE): New definition.
11076         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11077         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11078         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11079         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11080         (elf_machine_lazy_rel): Likewise.
11081         * sysdeps/s390/dl-irel.h: New file.
11082         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11083         * sysdeps/s390/s390-64/memset.S: New asm code.
11084         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11085         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11086         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11087         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11088         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11089         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11090         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11091         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11092         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11093         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11094         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11095         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11096         * sysdeps/s390/s390-32/memset.S: New asm code.
11097         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11099 2012-07-17  Marek Polacek  <polacek@redhat.com>
11101         [BZ #14349]
11102         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11103         * sysdeps/s390/s390-64/configure.in: Likewise.
11104         * sysdeps/sparc/configure.in: Likewise.
11105         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11106         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11107         * sysdeps/i386/configure.in: Likewise.
11108         * sysdeps/x86_64/configure.in: Likewise.
11109         * sysdeps/sh/configure.in: Likewise.
11110         * sysdeps/s390/s390-32/configure: Regenerated.
11111         * sysdeps/s390/s390-64/configure: Likewise.
11112         * sysdeps/x86_64/configure: Likewise.
11113         * sysdeps/sh/configure: Likewise.
11114         * sysdeps/powerpc/powerpc64/configure: Likewise.
11115         * sysdeps/powerpc/powerpc32/configure: Likewise.
11116         * sysdeps/sparc/configure: Likwise.
11117         * sysdeps/i386/configure: Likewise.
11119         * elf/dl-open.c: Comment fixes.
11121 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11123         * Makefile [CXX] (check-data): Remove.
11124         [CXX] (c++-types.data): New vpath directive.
11125         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11126         vpath.  Do not allow for C++ type data being missing.
11127         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11128         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11129         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11130         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11131         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11132         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11133         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11135         ... here.
11136         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11138         ... here.
11139         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11141         ... here.
11142         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11144         ... here.
11145         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11147         ... here.
11148         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11150         ... here.
11151         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11153         ... here.
11154         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11157         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11158         definitions to architecture-specific files.
11159         (TLS_IE): Likewise.
11160         (TLS_LD): Likewise.
11161         (TLS_GD): Likewise.
11162         * sysdeps/i386/tls-macros.h: New file.
11163         * sysdeps/powerpc/tls-macros.h: Likewise.
11164         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11165         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11166         * sysdeps/sh/tls-macros.h: Likewise.
11167         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11168         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11169         * sysdeps/x86_64/tls-macros.h: Likewise.
11171 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11173         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11174         zero value for regular exit case.
11176         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11177         (__start_context): Preserve zero value for regular exit case.
11179 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11180             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11182         * manual/setjmp.texi (setcontext): Clarify normal process
11183         termination when uc_link is the null pointer.
11184         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11185         exit call.
11187 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11189         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11190         preprocessor.  Test for each exception mask separately.
11192 2012-07-16  Andreas Jaeger  <aj@suse.de>
11194         * po/ru.po: Update from translation team.
11196 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11198         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11199         equal to 0.
11200         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11201         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11202         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11203         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11206 2012-07-13  Andreas Jaeger  <aj@suse.de>
11208         * po/fr.po: Update from translation team.
11210 2012-07-12  Marek Polacek  <polacek@redhat.com>
11212         [BZ #14173]
11213         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11214         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11215         loop condition.
11217 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #13717]
11220         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11221         Change to 2.4.1 where previously 2.4.0.
11222         * sysdeps/unix/sysv/linux/configure: Regenerated.
11223         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11224         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11225         version.
11226         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11227         (__ASSUME_AT_CLKTCK): Remove.
11228         (__ASSUME_AT_PAGESIZE): Likewise.
11229         (__ASSUME_AT_XID): Likewise.
11230         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11231         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11232         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11233         unconditionally.
11234         (HAVE_AUX_PAGESIZE): Likewise.
11235         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11236         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11237         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11239 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11241         [BZ #14307]
11242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11243         the temporary buffer used to invoke __gethostbyname2_r,
11244         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11245         host_data / struct gaih_addrtuple.
11246         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11247         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11248         header file nss/nsswitch.h.
11249         * nss/nsswitch.h (global scope): Add definition of implementation
11250         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11251         resolv/nss_dns/dns-host.c).
11253 2012-07-11  Andreas Jaeger  <aj@suse.de>
11255         * po/fr.po: Update from translation team.
11257         * po/sv.po: Update from translation team
11258         * po/fr.po: Another update from translation team.
11260 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11263         for subnormals or multiply small sinh result by itself.
11264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11267 2012-07-11  David S. Miller  <davem@davemloft.net>
11269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11271 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11273         [BZ #14347]
11274         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11275         (INTERNAL_MARK): Shift it here.
11277 2012-07-10  Marek Polacek  <polacek@redhat.com>
11279         [BZ #14151]
11280         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11281         libc_cv_asm_global_directive with .globl.
11282         * configure: Regenerated.
11283         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11284         with .globl.
11285         * sysdeps/i386/configure: Regenerated.
11286         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11287         with .globl.
11288         * sysdeps/x86_64/configure: Regenerated.
11289         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11290         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11291         * elf/tst-unique2mod2.c: Likewise.
11292         * elf/tst-unique2mod1.c: Likewise.
11293         * elf/tst-unique1mod2.c: Likewise.
11294         * elf/tst-unique1mod1.c: Likewise.
11295         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11296         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11297         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11298         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11299         * sysdeps/mach/sysdep.h: Likewise.
11300         * sysdeps/i386/sysdep.h: Likewise.
11301         * sysdeps/i386/i386-mcount.S: Likewise.
11302         * sysdeps/x86_64/_mcount.S: Likewise.
11303         * sysdeps/x86_64/sysdep.h: Likewise.
11304         * sysdeps/sh/_mcount.S: Likewise.
11305         * sysdeps/sh/sysdep.h: Likewise.
11306         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11307         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11308         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11309         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11310         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11311         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11312         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11313         * locale/localeinfo.h: Likewise.
11314         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11315         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11317 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11319         [BZ #14336]
11320         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11321         system".
11322         * manual/message.texi (The Uniforum approach): Likewise.
11323         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11324         (glibc iconv Implementation): Likewise.
11326 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11328         [BZ #14337]
11329         * math/s_clog.c (__clog): Avoid scaling a value down where that
11330         could result in underflow.
11331         * math/s_clog10.c (__clog10): Likewise.
11332         * math/s_clog10f.c (__clog10f): Likewise.
11333         * math/s_clog10l.c (__clog10l): Likewise.
11334         * math/s_clogf.c (__clogf): Likewise.
11335         * math/s_clogl.c (__clogl): Likewise.
11336         * math/libm-test.inc (clog_test): Add more tests.
11337         (clog10_test): Likewise.
11338         * sysdeps/i386/fpu/libm-test-ulps: Update.
11339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11341 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11343         [BZ #14283]
11344         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11345         by 7 not 8 to examine high bit of fractional part.
11347         [BZ #14042]
11348         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11349         for call to __mcount_internal.
11350         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11351         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11352         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11354 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11356         [BZ #14154]
11357         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11358         approximation for values within 0x1p-13f of an odd multiple of
11359         pi/4.
11360         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11361         exception.  Add more tests.
11362         * sysdeps/i386/fpu/libm-test-ulps: Update.
11364         [BZ #6778]
11365         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11366         inputs and return -1 for them.  Do not check for +Inf in case not
11367         reachable for +Inf.
11368         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11369         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11370         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11371         and return -1 for them.  Do not check for +Inf in case not
11372         reachable for +Inf.
11373         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11374         define.
11375         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11376         and return -1 for them.  Do not check for +Inf in case not
11377         reachable for +Inf.
11378         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11379         spurious underflow.
11380         * sysdeps/i386/fpu/libm-test-ulps: Update.
11381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11383 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11385         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11387 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11389         [BZ #14157]
11390         [BZ #14331]
11391         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11392         could result in spurious underflow.  Scale down values above
11393         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11394         * math/s_csqrtf.c (__csqrtf): Likewise.
11395         * math/s_csqrtl.c (__csqrtl): Likewise.
11396         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11397         spurious underflow.
11398         * sysdeps/i386/fpu/libm-test-ulps: Update.
11399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11401 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11403         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11404         xopen-msg.sed.
11405         * catgets/xopen-msg.awk: New file.
11406         * catgets/xopen-msg.sed: Removed.
11408         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11409         po2text.sed.
11410         * intl/po2test.awk: New file.
11411         * intl/po2test.sed: Removed.
11413 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11415         [BZ #14328]
11416         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11417         or multiply small sinh result by itself.
11418         * math/s_ctanf.c (__ctanf): Likewise.
11419         * math/s_ctanh.c (__ctanh): Likewise.
11420         * math/s_ctanhf.c (__ctanhf): Likewise.
11421         * math/s_ctanhl.c (__ctanhl): Likewise.
11422         * math/s_ctanl.c (__ctanl): Likewise.
11423         * math/libm-test.inc (ctan_test_tonearest): New function.
11424         (ctan_test_towardzero): Likewise.
11425         (ctan_test_downward): Likewise.
11426         (ctan_test_upward): Likewise.
11427         (ctanh_test_tonearest): Likewise.
11428         (ctanh_test_towardzero): Likewise.
11429         (ctanh_test_downward): Likewise.
11430         (ctanh_test_upward): Likewise.
11431         (main): Call these new functions.
11432         * sysdeps/i386/fpu/libm-test-ulps: Update.
11433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11437         * .gitignore: Delete /ports entry.
11439 2012-07-03  Andreas Jaeger  <aj@suse.de>
11441         * po/bg.po: Update from translation team.
11442         * po/cs.po: Likewise.
11443         * po/de.po: Likewise.
11444         * po/hr.po: Likewise.
11445         * po/nl.pl: Likewise.
11446         * po/pl.po: Likewise.
11447         * po/vi.po: Likewise.
11449 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11451         * Makeconfig [!+link] (+link-before-libc): New variable.
11452         [!+link] (+link-after-libc): Likewise.
11453         [!+link] (+link-tests): Likewise.
11454         [!+link] (+link): Define in terms of $(+link-before-libc) and
11455         $(+link-after-libc).
11456         [!+link-static] (+link-static-before-libc): New variable.
11457         [!+link-static] (+link-static-after-libc): Likewise.
11458         [!+link-static] (+link-static-tests): Likewise.
11459         [!+link-static] (+link-static): Define in terms of
11460         $(+link-static-before-libc) and $(+link-static-after-libc).
11461         [build-shared] (link-libc-before-gnulib): New variable.
11462         [build-shared] (link-libc-tests): Likewise.
11463         [build-shared] (link-libc): Define in terms of
11464         $(link-libc-before-gnulib).
11465         [!build-shared] (link-libc-tests): New variable.
11466         (link-libc-static-tests): New variable.
11467         [!gnulib] (gnulib-arch): New variable.
11468         [!gnulib] (gnulib-tests): Likewise.
11469         [!gnulib] (static-gnulib-arch): Likewise.
11470         [!gnulib] (static-gnulib-tests): Likewise.
11471         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11472         Define with "=" instead of ":=".
11473         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11474         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11475         * Rules (binaries-all-notests): New variable.
11476         (binaries-all-tests): Likewise.
11477         (binaries-static-notests): Likewise.
11478         (binaries-static-tests): Likewise.
11479         (binaries-all): Define using $(binaries-all-notests) and
11480         $(binaries-all-tests).
11481         (binaries-static): Define using $(binaries-static-notests) and
11482         $(binaries-static-tests).
11483         (binaries-shared-tests): New variable.
11484         (binaries-shared-notests): Likewise.
11485         (binaries-shared): Remove variable.
11486         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11487         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11488         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11489         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11490         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11491         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11492         * elf/Makefile (sln-modules): New variable.
11493         (extra-objs): Add $(sln-modules:=.o).
11494         (ldconfig-modules): Add static-stubs.
11495         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11496         * elf/static-stubs.c: New file.
11498         [BZ #14283]
11499         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11500         by 7 not 8 to examine high bit of fractional part.  Use volatile
11501         variables when splitting into final array of floats if
11502         __FLT_EVAL_METHOD__ != 0.
11503         * math/libm-test.inc (cos_test): Add another test.
11504         (sin_test): Likewise.
11505         * sysdeps/i386/fpu/libm-test-ulps: Update.
11507         [BZ #14273]
11508         * math/libm-test.inc (cosh_test): Add more tests.
11510         * version.h (RELEASE): Set to "development".
11511         (VERSION): Set to "2.16.90".
11513 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11515         * NEWS: Update copyright. Remove last-updated date.
11516         Mention math library bug fixes and timezone data changes.
11517         * README: Mention GNU/Hurd, x32, and HPPA support status.
11519 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11521         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11523 2012-06-27  Andreas Jaeger  <aj@suse.de>
11525         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11527 2012-06-25  Andreas Jaeger  <aj@suse.de>
11529         * sysdeps/s390/fpu/libm-test-ulps: Update.
11531 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11532             Thomas Schwinge  <thomas@codesourcery.com>
11534         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11535         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11537         fanotify_mark.
11539 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11541         * sysdeps/mach/start.c: Remove file.
11542         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11543         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11544         * sysdeps/sh/init-first.c: Likewise.
11546         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11547         registers for frame unwinding purposes, add CFI directives.
11548         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11549         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11550         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11551         Likewise.
11553         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11554         __fortify_fail returning.
11555         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11557         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11558         sysdeps/sh/____longjmp_chk.S.
11559         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11560         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11561         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11562         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11564         * sysdeps/sh/abort-instr.h: New file.
11565         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11566         process in case exit returns.
11568         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11569         initialize the GOT register before use.
11571         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11572         calculation of ARGC > 4.
11574         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11575         meaningful names to some local labels.
11577 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11578             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11580         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11581         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11582         (__arch_compare_and_exchange_val_16_acq): Likewise.
11583         (__arch_compare_and_exchange_val_32_acq): Likewise.
11584         (atomic_exchange_and_add): Fix gUSA sequence.
11585         (atomic_add): Likewise.
11586         (atomic_add_negative): Likewise.
11587         (atomic_add_zero): Likewise.
11588         (atomic_bit_test_set): Likewise.
11590 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11592         [BZ #13579]
11593         * include/link.h (struct link_map): Add l_free_initfini.
11594         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11595         l_initfini.
11596         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11597         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11598         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11599         set.
11601 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11603         * configure.in: Use AC_LANG_SOURCE.
11604         * configure: Regenerate.
11606 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11608         * configure.in (libc_cv_localstatedir): New substituted variable.
11609         * configure: Regenerated.
11610         * config.make.in (localstatedir): New variable, substituted from
11611         libc_cv_localstatedir.
11612         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11613         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11614         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11615         * sysdeps/gnu/configure: Regenerated.
11617 2012-06-21  Jeff Law  <law@redhat.com>
11619         [BZ #14277]
11620         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11621         free.  Simplify list management for _LIBC case.
11623 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11625         [BZ #14273]
11626         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11627         Clear sign bit of 64-bit integer value before comparing against
11628         overflow value.
11630         * sysdeps/mach/configure: Regenerated.
11632 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11634         [BZ #14278]
11635         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11637 2012-06-21  Jeff Law  <law@redhat.com>
11639         [BZ #13882]
11640         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11641         uint16_t for elements in the "seen" array to avoid char overflows.
11642         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11643         * elf/dl-open.c (dl_open_worker): Likewise.
11645 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11647         * scripts/list-sources.sh: Scan PORTS for translations.
11648         * po/libc.pot: Regenerated.
11650 2012-06-21  Andreas Jaeger  <aj@suse.de>
11652         [BZ #12194]
11653         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11654         warning.
11655         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11656         * bits/byteswap-16.h (__bswap_16): Likewise.
11657         * bits/byteswap.h (__bswap_constant_16): Likewise.
11659 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11661         [BZ #14117]
11662         * sysdeps/i386/fpu_control.h: Removed.
11663         * sysdeps/x86_64/fpu_control.h: Moved to ...
11664         * sysdeps/x86/fpu_control.h: Here.
11666         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11667         (_FPU_SETCW): Likewise.
11669 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11671         [BZ #14117]
11672         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11673         * sysdeps/x86/fpu/bits/mathinline.h: This.
11674         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11676         [BZ #14050]
11677         [BZ #14117]
11678         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11679         functions if __x86_64__ is defined.
11681 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11683         * string/endian.h: Add !__ASSEMBLER__ condition for including
11684         conversion interfaces.
11686 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11688         [BZ #14241]
11689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11690         of ABS(x) in calculating zero to negative powers other than odd
11691         integers.
11692         * math/libm-test.inc (pow_test): Add more tests.
11694 2012-06-15  Andreas Jaeger  <aj@suse.de>
11696         * manual/contrib.texi (Contributors): Update entry of Liubov
11697         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11698         Machado Filho.
11700 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11702         * string/string.h: Add __wur to GNU version of strerror_r.
11704 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11706         [BZ #14229]
11707         * string/Makefile (tests): Add tst-strtok_r.
11708         * string/tst-strtok_r.c: New file.
11709         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11710         RAX_LP/RDX_LP on SAVE_PTR.
11712 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11714         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11716 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11718         * libm_test.inc (csqrt_test): Allow more spurious underflow
11719         exceptions.
11720         (j0_test): Likewise.
11721         (j1_test): Likewise.
11722         (y0_test): Likewise.
11723         (y1_test): Likewise.
11725 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11727         * po/Makefile (libc.pot): Use UTF-8 charset.
11729 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11731         [BZ #14210]
11732         Suppress sign-conversion warning from FD_SET.
11733         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11734         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11735         not unsigned long int.
11736         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11738 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11740         [BZ #14050]
11741         [BZ #14117]
11742         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11743         __extern_always_inline instead of __extern_inline.
11744         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11745         (__signbit): Likewise.
11746         (__signbitl): Support C++ namespace.
11747         (lrintf): New inline function.
11748         (lrint): Likewise.
11749         (llrintf): Likewise.
11750         (llrint): Likewise.
11751         (fmaxf): Likewise.
11752         (fmax): Likewise.
11753         (fminf): Likewise.
11754         (fmin): Likewise.
11755         (rint): Likewise.
11756         (rintf): Likewise.
11757         (ceil): Likewise.
11758         (ceilf): Likewise.
11759         (floor): Likewise.
11760         (floorf): Likewise.
11761         (nearbyint): Likewise.
11762         (nearbyintf): Likewise.
11764 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11766         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11767         non-default versions.
11769 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11771         [BZ #14218]
11772         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11774 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11776         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11777         (FE_UPWARD, FE_DOWNWARD): Don't define.
11778         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11779         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11781         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11782         reading it.
11783         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11784         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11786 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11788         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11790         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11791         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11793 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11795         [BZ #14117]
11796         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11797         * sysdeps/i386/fpu/Implies: New file.
11798         * sysdeps/x86_64/fpu/Implies: Likewise.
11799         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11800         * sysdeps/x86/fpu/bits/fenv.h: This.
11802         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11803         __SSE_MATH__.
11805 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11807         [BZ #14134]
11808         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11809         character 0xffff that matches the last element of the
11810         conversion table.
11812 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11814         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11815         fmodl commit.
11817 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11819         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11820         values higher than 25.6283.
11822 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11824         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11825         subnormal exponent extraction and add some __builtin_expect.
11826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11827         Fix for subnormal mantissa calculation.
11829 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11831         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11832         cpu2 is -1 and errno is not ENOSYS.
11834 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11836         [BZ #14117]
11837         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11838         * sysdeps/x86/bits/string.h: This.
11839         * sysdeps/x86_64/bits/string.h: Removed.
11841         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11842         if not compiling for x86-64, but compiling for >= i486.
11844         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11845         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11847         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11848         New macro from Linux kernel 3.4.0.
11849         (FP_XSTATE_MAGIC2): Likewise.
11850         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11851         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11852         (struct _fpx_sw_bytes): New struct.
11853         (struct _xsave_hdr): Likewise.
11854         (struct _ymmh_state): Likewise.
11855         (struct _xstate): Likewise.
11857         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11858         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11859         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11860         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11861         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11862         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11864         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11865         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11866         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11867         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11868         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11869         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11871 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11873         [BZ #13743]
11874         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11875         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11876         (sysdep_headers): Include sys/platform/ppc.h.
11877         * sysdeps/powerpc/test-gettimebase.c: Test for
11878         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11879         * manual/Makefile (appendices): Include platform.texi.
11880         * manual/contrib.texi (Contributors): Update @node pointers.
11881         * manual/maint.texi (Maintenance): Likewise.
11882         (Platform): New node.
11883         * manual/platform.texi: New file.  Document the new features.
11885 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11886             Jakub Jelinek  <jakub@redhat.com>
11888         [BZ #14188]
11889         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11890         where __builtin_expect is unavailable.
11892 2012-06-03  David S. Miller  <davem@davemloft.net>
11894         * stdlib/longlong.h: Updated from GCC.
11896 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11898         [BZ #14042]
11899         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11900         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11901         __mcount_internal.
11902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11903         (GLIBC_2.16): Likewise.
11905 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11907         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11909 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11912         (default-abi): New variable.
11913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11914         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11915         variable.
11916         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11917         Likewise.
11918         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11919         Likewise.
11920         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11921         Likewise.
11923         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11924         definition.  Document in comment.
11926 2012-06-01  David S. Miller  <davem@davemloft.net>
11928         * stdlib/longlong.h: Updated from GCC.
11930 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11932         [BZ #14117]
11933         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11934         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11935         sys/debugreg.h sys/io.h here.
11936         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11937         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11938         sys/io.h.
11939         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11940         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11941         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11942         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11943         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11944         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11947         Define only if __x86_64__ is defined.
11949 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11951         [BZ #14048]
11952         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11953         Use int64_t for variable i.
11954         * math/libm-test.inc (fmod_test): Add more tests.
11956         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11957         z computation is not scheduled after fetestexcept.
11958         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11959         Use math_force_eval instead of asm to ensure calculation scheduled
11960         before exception test.
11961         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11962         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11964 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11966         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11967         computation is not scheduled after fetestexcept.
11969 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11971         [BZ #14117]
11972         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11973         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11975 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11977         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11978         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11980 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11982         [BZ #14117]
11983         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11984         <bits/wordsize.h>.
11985         (__WCHAR_MIN): Support __WORDSIZE == 64.
11986         (__WCHAR_MAX): Likewise.
11988         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11989         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11991         [BZ #14183]
11992         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11993         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11995         [BZ #14117]
11996         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11997         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11999         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12000         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12002         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12003         Defined to 1 if __x86_64__ isn't defined.
12004         (_STAT_VER_LINUX_OLD): New.
12005         (st_atime): Remove duplicate.
12006         (st_mtime): Likewise.
12007         (st_ctime): Likewise.
12009 2012-05-31  David S. Miller  <davem@davemloft.net>
12011         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12012         entries.
12014 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12016         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12017         gen-libm-test.pl.
12019         [BZ #14132]
12020         * elf/dl-reloc.c: Include <_itoa.h>.
12021         (_dl_reloc_bad_type): Remove use of INTUSE.
12022         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12023         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12024         * stdio-common/psiginfo.c (psiginfo): Likewise.
12025         * stdio-common/psignal.c (psignal): Likewise.
12026         * string/strsignal.c (strsignal): Likewise.
12027         * include/signal.h (_sys_siglist): Declare hidden proto.
12028         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12029         INTVARDEF with libc_hidden_data_def.
12030         * stdio-common/itoa-udigits.c: Likewise.
12031         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12032         (_itoa_lower_digits_internal): Remove declaration.
12033         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12034         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12035         (_sys_sigabbrev_internal): Remove aliases.
12036         (_sys_siglist): Define hidden alias.
12038 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12040         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12041         bits/sysctl.h.
12043 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12045         [BZ #14117]
12046         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12047         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12049         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12050         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12051         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12052         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12053         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12054         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12056         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12057         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12058         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12060         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12061         with __addr.
12062         (insw): Likewise.
12063         (insl): Likewise.
12064         (outsb): Likewise.
12065         (outsw): Likewise.
12066         (outsl): Likewise.
12068         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12069         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12070         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12072         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12073         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12074         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12075         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12076         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12077         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12079         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12080         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12082         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12083         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12085         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12086         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12087         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12089         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12090         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12091         to ...
12092         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12094         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12095         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12096         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12098         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12099         for x86-64.
12100         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12102 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12104         * math/math.h (M_El): Use two more decimal places.
12105         (M_LOG2El): Likewise.
12106         (M_LOG10El): Likewise.
12107         (M_LN2l): Likewise.
12108         (M_LN10l): Likewise.
12109         (M_PIl): Likewise.
12110         (M_PI_2l): Likewise.
12111         (M_PI_4l): Likewise.
12112         (M_1_PIl): Likewise.
12113         (M_2_PIl): Likewise.
12114         (M_2_SQRTPIl): Likewise.
12115         (M_SQRT2l): Likewise.
12116         (M_SQRT1_2l): Likewise.
12118 2012-05-31  David S. Miller  <davem@davemloft.net>
12120         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12121         values between float registers.
12122         * sysdeps/sparc/sparc64/memset.S: Likewise.
12123         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12125 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12127         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12128         -D_FORTIFY_SOURCE=1.
12129         (CPPFLAGS-tst-longjmp_chk.c): Define.
12130         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12131         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12132         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12133         CFLAGS-tst-wchar-h.c.
12135 2012-05-31  Marek Polacek  <polacek@redhat.com>
12137         [BZ #14132]
12138         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12139         __endmntent_internal): Remove declaration.
12140         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12141         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12142         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12144 2012-05-30  David S. Miller  <davem@davemloft.net>
12146         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12147         (___Q_simulate_exceptions): Use real FP ops rather than writing
12148         into the %fsr.
12149         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12150         Likewise.
12152 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12154         [BZ #14117]
12155         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12156         * sysdeps/x86/bits/xtitypes.h: This.
12158         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12159         * sysdeps/x86/bits/wordsize.h: This.
12161         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12162         * sysdeps/x86/bits/huge_vall.h: This.
12164         * sysdeps/i386/bits/select.h: Removed.
12165         * sysdeps/x86_64/bits/select.h: Renamed to ...
12166         * sysdeps/x86/bits/select.h: This.
12168         * sysdeps/i386/bits/setjmp.h: Removed.
12169         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12170         * sysdeps/x86/bits/setjmp.h: This.
12172         * sysdeps/i386/bits/mathdef.h: Removed.
12173         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12174         * sysdeps/x86/bits/mathdef.h: This.
12176 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12178         [BZ #14132]
12179         * include/sys/socket.h (__connect_internal)
12180         (__libc_sa_len_internal): Remove declaration.
12181         (__connect, __libc_sa_len): Declare hidden_proto.
12182         (SA_LEN): Remove use of INTUSE.
12183         * socket/connect.c: Add libc_hidden_def.
12184         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12185         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12186         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12187         alias.
12188         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12189         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12190         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12191         of adding _internal alias.
12193 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12195         [BZ #14117]
12196         * sysdeps/i386/bits/link.h: Removed.
12197         * sysdeps/i386/bits/linkmap.h: Likewise.
12198         * sysdeps/x86_64/bits/link.h: Renamed to ...
12199         * sysdeps/x86/bits/link.h: This.
12200         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12201         * sysdeps/x86/bits/linkmap.h: This.
12203         * sysdeps/i386/bits/endian.h: Removed.
12204         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12205         * sysdeps/x86/bits/endian.h: This.
12207         * sysdeps/i386/bits/byteswap.h: Removed.
12208         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12209         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12210         * sysdeps/x86/bits/byteswap.h: This.
12211         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12212         * sysdeps/x86/bits/byteswap-16.h: This.
12213         * sysdeps/i386/Implies: Add x86.
12214         * sysdeps/x86_64/Implies: Likewise.
12216 2012-05-30  David S. Miller  <davem@davemloft.net>
12218         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12219         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12220         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12221         (FP_TRAPPING_EXCEPTIONS): Define.
12222         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12223         (FP_TRAPPING_EXCEPTIONS): Define.
12224         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12225         subnormals only when inexact has been signalled or underflow
12226         exceptions are enabled.
12227         (_FP_PACK_CANONICAL): Likewise.
12229 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12231         [BZ #14183]
12232         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12233         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12235 2012-05-30  Richard Henderson  <rth@twiddle.net>
12237         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12238         with #ifndef NOT_IN_libc.
12240         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12241         marked to avoid plt entry.
12243 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12245         [BZ #14112]
12246         * Makeconfig (default-abi): New macro.
12247         (abi-includes): Likewise.
12248         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12249         $(abi-$(default-abi)-lib-soname) for soname if defined.
12250         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12251         abi-variants.
12252         * Makefile (installed-stubs): Likewise.
12253         * include/stubs-biarch.h: Removed.
12254         * scripts/lib-names.awk: Only handle one library at a time.
12255         * scripts/soversions.awk: Remove WORDSIZE support.
12256         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12257         entries.
12258         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12259         Removed.
12260         (syscall-list-default-condition): Likewise.
12261         (syscall-list-default-condition): Likewise.
12262         (syscall-list-includes): Likewise.
12263         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12264         syscall-list-* with abi-*.  Handle undefined abi-variants.
12265         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12266         * sysdeps/unix/sysv/linux/i386/Implies: New file.
12267         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12268         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12269         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12270         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12271         Removed.
12272         (syscall-list-32-options): Likewise.
12273         (syscall-list-32-condition): Likewise.
12274         (syscall-list-64-options): Likewise.
12275         (syscall-list-64-condition): Likewise.
12276         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12277         macro.
12278         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12279         Renamed to ...
12280         (abi-*): This.
12281         (abi-64-ld-soname): New macro.
12282         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12283         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12284         Renamed to ...
12285         (abi-*): This.
12286         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12287         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12289 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12291         * sysdeps/unix/sysv/linux/kernel-features.h
12292         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12293         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12294         include <kernel-features.h>.
12295         [!__NR_ftruncate64]: Remove conditional code.
12296         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12297         [__NR_ftruncate64]: Make code unconditional.
12298         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12299         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12300         include <kernel-features.h>.
12301         [!__NR_ftruncate64]: Remove conditional code.
12302         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12303         [__NR_ftruncate64]: Make code unconditional.
12304         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12306         include <kernel-features.h>.
12307         [!__NR_ftruncate64]: Remove conditional code.
12308         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12309         [__NR_ftruncate64]: Make code unconditional.
12310         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12312         include <kernel-features.h>.
12313         [!__NR_ftruncate64]: Remove conditional code.
12314         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12315         [__NR_ftruncate64]: Make code unconditional.
12316         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12318         * configure.in (libc_cv_fpie): Weaken to a compile test using
12319         LIBC_TRY_CC_OPTION.
12320         * configure: Regenerated.
12322 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12328         Refreshed.
12329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12335         Refreshed.
12337 2012-05-27  David S. Miller  <davem@davemloft.net>
12339         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12340         (___Q_zero): New.
12341         (__Q_simulate_exceptions): Return void.  Change to simulate
12342         exceptions by writing into the %fsr.
12343         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12344         (__Qp_handle_exceptions): Likewise.
12345         (numbers): Delete.
12346         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12347         __Qp_handle_exceptions.
12348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12349         __Qp_handle_exceptions.
12350         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12351         as unused and give dummy FP_RND_NEAREST initializer.
12352         (FP_INHIBIT_RESULTS): Define.
12353         (___Q_simulate_exceptions): Update declaration.
12354         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12355         formatting.
12356         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12357         as unused and give dummy FP_RND_NEAREST initializer.
12358         (__Qp_handle_exceptions): Update declaration.
12359         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12360         formatting.
12362 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12364         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12365         the temporary FPU control word.
12366         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12367         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12368         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12369         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12370         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12371         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12372         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12373         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12374         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12375         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12376         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12378 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12380         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12381         fields.
12383 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12385         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12386         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12387         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12388         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12389         Likewise.
12390         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12391         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12392         Likewise.
12394 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12396         * po/h.po: Update from translation team.
12398 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12400         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12402         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12403         handling of denormals.
12404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12405         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12406         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12407         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12408         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12410         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12411         Likewise.
12413 2012-05-26  Marek Polacek  <polacek@redhat.com>
12415         [BZ #14152]
12416         * math/libm-test.inc (fma_test): Don't always expect underflow
12417         exception.
12419 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12421         [BZ #12416]
12422         * elf/tst-execstack.c: Include stackinfo.h.
12423         (do_test): Adjust test case to ensure that pthread_getattr_np
12424         behaviour remains the same after marking stack executable.
12426 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12428         * sysdeps/unix/sysv/linux/kernel-features.h
12429         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12430         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12431         kernel-features.h.
12432         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12433         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12434         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12435         kernel-features.h.
12436         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12437         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12439 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12441         * configure.in: Define the default includes to being none.
12442         * configure: Regenerated.
12444 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12446         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12447         * sysdeps/x86_64/setjmp.S: Likewise.
12448         * sysdeps/i386/bsd-setjmp.S: Likewise.
12449         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12450         * sysdeps/i386/setjmp.S: Likewise.
12451         * sysdeps/i386/__longjmp.S: Likewise.
12452         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12453         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12455         * include/stap-probe.h: New file.
12456         * configure.in: Handle --enable-systemtap.
12457         * configure: Regenerated.
12458         * config.h.in (USE_STAP_PROBE): New #undef.
12459         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12460         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12461         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12463 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12465         [BZ #13717]
12466         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12467         to 2.4.0 where earlier.
12468         * sysdeps/unix/sysv/linux/configure: Regenerated.
12469         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12470         <kernel-features.h>.
12471         [__ASSUME_32BITUIDS]: Make code unconditional.
12472         [!__ASSUME_32BITUIDS]: Remove conditional code.
12473         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12474         <kernel-features.h>.
12475         [__ASSUME_32BITUIDS]: Make code unconditional.
12476         [!__ASSUME_32BITUIDS]: Remove conditional code.
12477         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12478         [__ASSUME_32BITUIDS]: Make code unconditional.
12479         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12480         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12481         <kernel-features.h>.
12482         [__ASSUME_32BITUIDS]: Make code unconditional.
12483         [!__ASSUME_32BITUIDS]: Remove conditional code.
12484         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12485         <kernel-features.h>.
12486         [__ASSUME_32BITUIDS]: Make code unconditional.
12487         [!__ASSUME_32BITUIDS]: Remove conditional code.
12488         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12489         <kernel-features.h>.
12490         [__ASSUME_32BITUIDS]: Make code unconditional.
12491         [!__ASSUME_32BITUIDS]: Remove conditional code.
12492         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12493         <kernel-features.h>.
12494         [__ASSUME_32BITUIDS]: Make code unconditional.
12495         [!__ASSUME_32BITUIDS]: Remove conditional code.
12496         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12497         <kernel-features.h>.
12498         [__ASSUME_32BITUIDS]: Make code unconditional.
12499         [!__ASSUME_32BITUIDS]: Remove conditional code.
12500         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12501         <kernel-features.h>.
12502         [__ASSUME_32BITUIDS]: Make code unconditional.
12503         [!__ASSUME_32BITUIDS]: Remove conditional code.
12504         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12505         <kernel-features.h>.
12506         [__ASSUME_32BITUIDS]: Make code unconditional.
12507         [!__ASSUME_32BITUIDS]: Remove conditional code.
12508         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12509         <kernel-features.h>.
12510         [__ASSUME_32BITUIDS]: Make code unconditional.
12511         [!__ASSUME_32BITUIDS]: Remove conditional code.
12512         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12513         <kernel-features.h>.
12514         [__ASSUME_32BITUIDS]: Make code unconditional.
12515         [!__ASSUME_32BITUIDS]: Remove conditional code.
12516         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12517         <kernel-features.h>.
12518         [__ASSUME_32BITUIDS]: Make code unconditional.
12519         [!__ASSUME_32BITUIDS]: Remove conditional code.
12520         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12521         <kernel-features.h>.
12522         [__NR_setresgid] (__setresgid): Do not declare.
12523         [__ASSUME_32BITUIDS]: Make code unconditional.
12524         [!__ASSUME_32BITUIDS]: Remove conditional code.
12525         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12526         <kernel-features.h>.
12527         [__NR_setresuid] (__setresuid): Do not declare.
12528         [__ASSUME_32BITUIDS]: Make code unconditional.
12529         [!__ASSUME_32BITUIDS]: Remove conditional code.
12530         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
12547         <kernel-features.h>.
12548         [__ASSUME_32BITUIDS]: Make code unconditional.
12549         [!__ASSUME_32BITUIDS]: Remove conditional code.
12550         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12551         <kernel-features.h>.
12552         [__ASSUME_32BITUIDS]: Make code unconditional.
12553         [!__ASSUME_32BITUIDS]: Remove conditional code.
12554         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12555         <kernel-features.h>.
12556         [__ASSUME_32BITUIDS]: Make code unconditional.
12557         [!__ASSUME_32BITUIDS]: Remove conditional code.
12558         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12559         <kernel-features.h>.
12560         [__ASSUME_32BITUIDS]: Make code unconditional.
12561         [!__ASSUME_32BITUIDS]: Remove conditional code.
12562         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12563         <kernel-features.h>.
12564         [__ASSUME_32BITUIDS]: Make code unconditional.
12565         [!__ASSUME_32BITUIDS]: Remove conditional code.
12566         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12567         <kernel-features.h>.
12568         [__ASSUME_32BITUIDS]: Make code unconditional.
12569         [!__ASSUME_32BITUIDS]: Remove conditional code.
12570         * sysdeps/unix/sysv/linux/kernel-features.h
12571         (__ASSUME_SETRESUID_SYSCALL): Remove.
12572         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12573         (__ASSUME_32BITUIDS): Likewise.
12574         (__ASSUME_LDT_WORKS): Likewise.
12575         (__ASSUME_O_DIRECTORY): Likewise.
12576         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12577         architecture but not kernel version.
12578         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12579         (__ASSUME_MMAP2_SYSCALL): Likewise.
12580         (__ASSUME_STAT64_SYSCALL): Likewise.
12581         (__ASSUME_IPC64): Likewise.
12582         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12583         <kernel-features.h>.
12584         [__ASSUME_32BITUIDS]: Make code unconditional.
12585         [!__ASSUME_32BITUIDS]: Remove conditional code.
12586         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12587         <kernel-features.h>.
12588         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12589         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12590         132096]: Remove conditional code.
12591         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12592         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
12597         <kernel-features.h>.
12598         [__ASSUME_32BITUIDS]: Make code unconditional.
12599         [!__ASSUME_32BITUIDS]: Remove conditional code.
12600         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12601         <kernel-features.h>.
12602         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12603         unconditional.
12604         (__setresgid): Do not declare.
12605         [__ASSUME_32BITUIDS]: Make code unconditional.
12606         [!__ASSUME_32BITUIDS]: Remove conditional code.
12607         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12608         <kernel-features.h>.
12609         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12610         unconditional.
12611         (__setresuid): Do not declare.
12612         [__ASSUME_32BITUIDS]: Make code unconditional.
12613         [!__ASSUME_32BITUIDS]: Remove conditional code.
12614         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12615         <kernel-features.h>.
12616         [__ASSUME_32BITUIDS]: Make code unconditional.
12617         [!__ASSUME_32BITUIDS]: Remove conditional code.
12618         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12619         <kernel-features.h>.
12620         [__ASSUME_32BITUIDS]: Make code unconditional.
12621         [!__ASSUME_32BITUIDS]: Remove conditional code.
12623 2012-05-25  Richard Henderson  <rth@twiddle.net>
12625         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12626         dl_hwcap to ifunc resolver.
12627         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12628         elf_ifunc_invoke.
12629         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12630         dl_hwcap to ifunc resolver.
12631         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12633 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12635         [BZ #14153]
12636         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12637         for |x| <= 2**-26, not 2**-57.
12638         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12639         exception.
12641 2012-05-24  Jeff Law  <law@redhat.com>
12643         * stdio-common/Makefile (tests): Add bug25.
12644         * stdio-common/bug25.c: New test.
12646 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12648         [BZ #13576]
12649         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12650         multiple of MALLOC_ALIGNMENT in size.
12651         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12653 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12655         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12656         Require >= 256.
12657         (FILENAME_MAX): Use macro-int-constant.
12658         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12659         (_IOFBF): Use macro-int-constant.
12660         (_IOLBF): Likewise.
12661         (_IONBF): Likewise.
12662         (SEEK_CUR): Likewise.
12663         (SEEK_END): Likewise.
12664         (SEEK_SET): Likewise.
12665         (TMP_MAX): Likewise.
12666         (EOF): Use macro-int-constant.  Require < 0.
12667         (NULL): Use macro-constant.  Require == 0.
12668         (stdin): Require type to be FILE *.
12669         (stdout): Likewise.
12670         (stderr): Likewise.
12671         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12672         macro-int-constant.
12673         (EXIT_SUCCESS): Likewise.
12674         (NULL): Use macro-constant.  Require == 0.
12675         (RAND_MAX): Use macro-int-constant.
12676         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12677         [C99-based standards] (strtof): Require function.
12678         [C99-based standards] (strtold): Likewise.
12679         [C99-based standards] (strtoll): Likewise.
12680         [C99-based standards] (strtoull): Likewise.
12681         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12682         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12683         [ISO || ISO99 || ISO11] (math.h): Likewise.
12684         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12685         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12688 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12690         [BZ #14132]
12691         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12692         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12693         * intl/dgettext.c (DCGETTEXT): Likewise.
12694         * intl/gettext.c (DCGETTEXT): Likewise.
12695         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12696         * posix/regex_internal.h (gettext): Likewise.
12697         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12698         Remove declaration.
12699         * include/argz.h (__argz_count_internal)
12700         (__argz_stringify_internal): Remove declaration.
12701         (__argz_count, __argz_stringify): Declare hidden proto.
12702         * intl/dcgettext.c: Remove use of INTDEF.
12703         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12704         * string/argz-stringify.c: Likewise.
12705         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12706         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12707         Declare hidden proto.
12708         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12709         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12710         Declare hidden proto.
12711         * include/stdio.h (__asprintf_internal): Don't declare.
12712         (__asprintf): Don't define as macro.  Declare hidden proto.
12713         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12714         (__fsetlocking): Declare hidden proto.
12715         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12716         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12717         hidden proto.
12718         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12719         (_IO_setlinebuf): Remove use of INTUSE.
12720         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12721         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12722         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12723         Remove declaration.
12724         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12725         (_IO_do_flush): Remove use of INTUSE.
12726         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12727         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12728         (_IO_adjust_column, _IO_least_wmarker)
12729         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12730         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12731         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12732         (_IO_default_doallocate, _IO_wdefault_doallocate)
12733         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12734         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12735         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12736         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12737         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12738         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12739         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12740         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12741         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12742         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12743         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12744         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12745         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12746         proto.
12747         (_IO_flush_all_internal, _IO_adjust_column_internal)
12748         (_IO_default_uflow_internal, _IO_default_finish_internal)
12749         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12750         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12751         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12752         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12753         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12754         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12755         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12756         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12757         (_IO_file_close_internal, _IO_file_close_it_internal)
12758         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12759         (_IO_file_init_internal, _IO_file_attach_internal)
12760         (_IO_file_fopen_internal, _IO_file_read_internal)
12761         (_IO_file_sync_internal, _IO_file_seek_internal)
12762         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12763         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12764         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12765         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12766         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12767         (_IO_list_all_internal, _IO_link_in_internal)
12768         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12769         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12770         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12771         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12772         (_IO_do_write_internal, _IO_padn_internal)
12773         (_IO_getline_info_internal, _IO_getline_internal)
12774         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12775         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12776         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12777         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12778         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12779         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12780         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12781         with libc_hidden_ver, remove use of INTUSE.
12782         * libio/genops.c: Likewise.
12783         * libio/freopen.c: Likewise.
12784         * libio/freopen64.c: Likewise.
12785         * libio/iofclose.c: Likewise.
12786         * libio/iofdopen.c: Likewise.
12787         * libio/iofflush.c: Likewise.
12788         * libio/iofflush_u.c: Likewise.
12789         * libio/iofgets.c: Likewise.
12790         * libio/iofgets_u.c: Likewise.
12791         * libio/iofopen.c: Likewise.
12792         * libio/iofopncook.c: Likewise.
12793         * libio/iofread.c: Likewise.
12794         * libio/iofread_u.c: Likewise.
12795         * libio/ioftell.c: Likewise.
12796         * libio/iofwrite.c: Likewise.
12797         * libio/iogetline.c: Likewise.
12798         * libio/iogets.c: Likewise.
12799         * libio/iogetwline.c: Likewise.
12800         * libio/iopadn.c: Likewise.
12801         * libio/iopopen.c: Likewise.
12802         * libio/ioseekoff.c: Likewise.
12803         * libio/ioseekpos.c: Likewise.
12804         * libio/iosetbuffer.c: Likewise.
12805         * libio/iosetvbuf.c: Likewise.
12806         * libio/ioungetc.c: Likewise.
12807         * libio/ioungetwc.c: Likewise.
12808         * libio/iovdprintf.c: Likewise.
12809         * libio/iovsprintf.c: Likewise.
12810         * libio/iovsscanf.c: Likewise.
12811         * libio/memstream.c: Likewise.
12812         * libio/obprintf.c: Likewise.
12813         * libio/oldfileops.c: Likewise.
12814         * libio/oldiofclose.c: Likewise.
12815         * libio/oldiofdopen.c: Likewise.
12816         * libio/oldiofopen.c: Likewise.
12817         * libio/oldiopopen.c: Likewise.
12818         * libio/oldstdfiles.c: Likewise.
12819         * libio/putc.c: Likewise.
12820         * libio/setbuf.c: Likewise.
12821         * libio/setlinebuf.c: Likewise.
12822         * libio/stdfiles.c: Likewise.
12823         * libio/strops.c: Likewise.
12824         * libio/vasprintf.c: Likewise.
12825         * libio/vscanf.c: Likewise.
12826         * libio/vsnprintf.c: Likewise.
12827         * libio/vswprintf.c: Likewise.
12828         * libio/wfiledoalloc.c: Likewise.
12829         * libio/wfileops.c: Likewise.
12830         * libio/wgenops.c: Likewise.
12831         * libio/wmemstream.c: Likewise.
12832         * libio/wstrops.c: Likewise.
12833         * libio/__fpurge.c: Likewise.
12834         * libio/__fsetlocking.c: Likewise.
12835         * assert/assert.c: Likewise.
12836         * debug/fgets_chk.c: Likewise.
12837         * debug/fgets_u_chk.c: Likewise.
12838         * debug/fread_chk.c: Likewise.
12839         * debug/fread_u_chk.c: Likewise.
12840         * debug/gets_chk.c: Likewise.
12841         * debug/obprintf_chk.c: Likewise.
12842         * debug/vasprintf_chk.c: Likewise.
12843         * debug/vdprintf_chk.c: Likewise.
12844         * debug/vsnprintf_chk.c: Likewise.
12845         * debug/vsprintf_chk.c: Likewise.
12846         * malloc/mtrace.c: Likewise.
12847         * misc/error.c: Likewise.
12848         * misc/syslog.c: Likewise.
12849         * stdio-common/asprintf.c: Likewise.
12850         * stdio-common/fxprintf.c: Likewise.
12851         * stdio-common/getw.c: Likewise.
12852         * stdio-common/isoc99_fscanf.c: Likewise.
12853         * stdio-common/isoc99_scanf.c: Likewise.
12854         * stdio-common/isoc99_vfscanf.c: Likewise.
12855         * stdio-common/isoc99_vscanf.c: Likewise.
12856         * stdio-common/isoc99_vsscanf.c: Likewise.
12857         * stdio-common/printf-prs.c: Likewise.
12858         * stdio-common/printf_fp.c: Likewise.
12859         * stdio-common/printf_fphex.c: Likewise.
12860         * stdio-common/printf_size.c: Likewise.
12861         * stdio-common/putw.c: Likewise.
12862         * stdio-common/scanf.c: Likewise.
12863         * stdio-common/sprintf.c: Likewise.
12864         * stdio-common/tmpfile.c: Likewise.
12865         * stdio-common/vfprintf.c: Likewise.
12866         * stdio-common/vfscanf.c: Likewise.
12867         * stdlib/strfmon_l.c: Likewise.
12868         * sunrpc/openchild.c: Likewise.
12869         * sunrpc/xdr_stdio.c: Likewise.
12870         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12871         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12873 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12875         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12877         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12878         in the third column, to generate for the shared library an IFUNC
12879         that uses _dl_vdso_vsym.
12880         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12881         * Makeconfig (object-suffixes-noshared): New variable.
12883         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12884         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12885         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12886         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12888         [BZ #14132]
12889         * include/sys/time.h (__gettimeofday): Remove macro.
12890         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12891         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12892         Remove INTDEF.
12893         (__gettimeofday): Add libc_hidden_def.
12894         (gettimeofday): Add libc_hidden_weak.
12895         * sysdeps/mach/gettimeofday.c: Likewise.
12896         * sysdeps/posix/gettimeofday.c: Likewise.
12897         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12898         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12899         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12900         (__gettimeofday_internal): Remove strong_alias.
12901         (__gettimeofday): Add libc_hidden_def.
12902         (gettimeofday): Add libc_hidden_weak.
12903         * sysdeps/unix/syscalls.list (gettimeofday):
12904         Remove __gettimeofday_internal alias.
12906 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12907             H.J. Lu  <hongjiu.lu@intel.com>
12909         [BZ #12495]
12910         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12911         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12912         (largebin_index_32_big): New.
12913         (largebin_index): Use it for 16-byte alignment.
12914         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12915         correction with front_misalign.
12917 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12921         Likewise.
12922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12923         Likewise.
12924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12925         Likewise.
12926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12927         Likewise.
12928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12929         Likewise.
12930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12931         Likewise.
12932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12933         Likewise.
12934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12935         Likewise.
12936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12937         Likewise.
12938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12939         Likewise.
12940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12941         Likewise.
12942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12943         Likewise.
12945         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12946         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12948 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12950         [BZ #10846]
12951         [BZ #14036]
12952         * math/libm-test.inc (exp_test): Add test from bug 14036.
12953         (pow_test): Add test from bug 10846.
12955         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12956         and other flags.
12957         (special_function): Do not include flags in test name.
12958         (parse_args): Likewise.
12959         * sysdeps/i386/fpu/libm-test-ulps: Update.
12960         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12961         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12962         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12965         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12966         exceptions.
12967         * math/libm-test.inc ("Philosophy"): Update comment about
12968         exception testing.
12969         (UNDERFLOW_EXCEPTION): New macro.
12970         (UNDERFLOW_EXCEPTION_OK): Likewise.
12971         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12972         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12973         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12974         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12975         (INVALID_EXCEPTION_OK): Update value.
12976         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12977         (OVERFLOW_EXCEPTION_OK): Likewise.
12978         (IGNORE_ZERO_INF_SIGN): Likewise.
12979         (test_exceptions): Handle underflow exceptions.
12980         (acos_test): Update for underflow exception expectations.
12981         (cexp_test): Likewise.
12982         (clog_test): Likewise.
12983         (clog10_test): Likewise.
12984         (csqrt_test): Likewise.
12985         (ctan_test): Likewise.
12986         (ctanh_test): Likewise.
12987         (exp_test): Likewise.
12988         (exp10_test): Likewise.
12989         (exp2_test): Likewise.
12990         (expm1_test): Likewise.
12991         (fma_test): Likewise.
12992         (j0_test): Likewise.
12993         (jn_test): Likewise.
12994         (nexttoward_test): Likewise.
12995         (pow_test): Likewise.
12996         (scalbn_test): Likewise.
12997         (scalbln_test): Likewise.
12998         (tan_test): Likewise.
12999         (y1_test): Likewise.
13000         * sysdeps/i386/fpu/libm-test-ulps: Update.
13001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13003 2012-05-23  David S. Miller  <davem@davemloft.net>
13005         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13006         (__libc_sigaction): Remove unused local variables.
13008 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13010         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13012 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13014         mktime: avoid signed integer overflow
13015         * time/mktime.c (__mktime_internal): Do not mishandle the case
13016         where diff == INT_MIN.
13018         mktime: simplify computation of average
13019         * time/mktime.c (ranged_convert): Use new time_t_avg function
13020         instead of rolling our own (probably-slower) code.
13022         mktime: do not assume signed right shift propagates sign bit
13023         * time/mktime.c (isdst_differ): New static function.
13024         (__mktime_internal): No need to normalize tm_isdst now.
13025         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13026         tm_isdst values.
13028         mktime: merge another wrapv change from gnulib
13029         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13030         from some compilers.
13032         mktime: remove incorrect attempt at unusual arithmetics
13033         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13034         The code didn't really work on such machines anyway.
13035         (TYPE_MINIMUM): Assume two's complement.
13036         (twos_complement_arithmetic): Verify that long_int and time_t
13037         are two's complement (or unsigned, in the latter case).
13039         mktime: check signed shifts on long_int and time_t, too
13040         * time/mktime.c (SHR): Check that shifts work as desired
13041         on the types long_int and time_t too, as SHR is used on
13042         such types.
13044         mktime: do not assume 'long' is wide enough
13045         * time/mktime.c (verify): Move decl up.
13046         (long_int): New type.
13047         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13048         to remove assumption in the code that 'long' is wide enough to
13049         store year values.  This assumption is not true on x32 and on
13050         some non-glibc platforms.
13052         mktime: merge wrapv change from gnulib
13053         * time/mktime.c (WRAPV): New macro.
13054         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13055         (guess_time_tm, __mktime_internal): Do not assume that signed
13056         integer overflow wraps around; modern compilers generate code
13057         where this assumption is no longer valid.
13059 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13061         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13062         Replace "jmp L(pseudo_end)" with "ret".
13063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13064         Likewise.
13066 2012-05-23  Andreas Jaeger  <aj@suse.de>
13068         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13069         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13071 2012-05-23  Andreas Jaeger  <aj@suse.de>
13072             Maximilian Attems  <max@stro.at>
13074         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13075         New macros.
13077 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13080         code so that pseudo_end is just ret and the stack pointer is
13081         correct also for static library in error case.
13083 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13085         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13086         move to syscalls.list.
13087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13092         * manual/install.texi (Running make install): Do not mention Linux
13093         kernel version for which pt_chown is not needed.
13094         (Linux): Do not mention problems with nscd with 2.0 kernels.
13095         * INSTALL: Regenerated.
13097 2012-05-23  Andreas Jaeger  <aj@suse.de>
13099         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13100         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13101         macro.
13102         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13103         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13104         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13105         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13106         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13107         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13110         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13112         * sysdeps/unix/sysv/linux/bits/in.h
13113         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13115 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13117         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13118         (PREPARE_VERSION): Just use assert instead, it will be elided
13119         under [NDEBUG] anyway.
13121 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13123         * sysdeps/unix/sysv/linux/Makefile: Include
13124         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13125         (sysdep_routines): Remove sysctl.
13126         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13127         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13128         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13129         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13130         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13132 2012-05-22  Andreas Jaeger  <aj@suse.de>
13134         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13135         that pseudo_end is just ret and the stack pointer is correct also
13136         for static library in error case.
13138 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13140         [BZ #14122]
13141         * nss/nsswitch.c (defconfig_entries): New variable.
13142         (__nss_database_lookup): Don't leak defconfig entries.
13143         (nss_parse_service_list): Don't leak on error paths.
13144         (free_database_entries): New function.
13145         (free_defconfig): New function.
13146         (free_mem): Move common code to free_database_entries.
13148 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13150         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13151         Add arch_prctl.
13152         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13154         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13155         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13156         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13157         New macro.
13158         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13159         (INTERNAL_SYSCALL_TYPES): Likewise.
13160         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13161         (LOAD_REGS_TYPES_[1-6]): Likewise.
13162         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13163         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13165 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13167         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13168         copysignl for GLIBC_2_0.
13169         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13170         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13172         logbl for GLIBC_2_0.
13173         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13174         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13176 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13178         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13179         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13181         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13182         Use "neg %eax".
13184         * time/mktime.c: Update copyright years.
13186 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13188         mktime: merge comment-quoting-style change from gnulib
13189         * time/mktime.c: Quote 'like this' in comments.
13190         The GNU coding standards suggest that we no longer quote `like this',
13191         as "`" and "'" are typically rendered asymmetrically nowadays.
13192         The typical gnulib style is to quote 'like this' when quoting
13193         code, and "like this" when quoting English.
13195         * time/mktime.c (compile-command): Add "-I.".
13197         mktime: merge mktime-internal.h change from gnulib
13198         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13200         mktime: merge time_r change from gnulib
13201         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13203         mktime: merge DEBUG change from gnulib
13204         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13205         case system <time.h> has a #define.
13207         mktime: merge <sys/types.h> change from gnulib
13208         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13209         since <time.t> is now guaranteed to define time_t.
13211         mktime: merge HAVE_CONFIG_H change from gnulib
13212         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13214 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13217         Use "neg %eax".
13219         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13220         __rlim_t cast.
13221         (struct rusage): Use anonymous union to pad each field to
13222         __syscall_slong_t.
13224 2012-05-21  David S. Miller  <davem@davemloft.net>
13226         * Makefules (o-iterator): Remove .s cases.
13227         (compile-command.s): Delete.
13228         (COMPILE.s): Delete.
13229         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13231 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13233         * configure.in (libc_cv_predef_stack_protector): Only consider
13234         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13235         * configure: Regenerated.
13237 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13240         New macro.  Use R*LP on int and pointer.
13241         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13242         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13243         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13244         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13246         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13247         [__WORDSIZE_TIME64_COMPAT32] instead of
13248         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13249         (struct utmp): Likewise.
13250         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13251         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13252         Renamed to ...
13253         (__WORDSIZE_TIME64_COMPAT32): This.
13254         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13255         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13256         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13257         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13258         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13259         (__WORDSIZE_TIME64_COMPAT32): New macro.
13261 2012-05-21  Andreas Jaeger  <aj@suse.de>
13263         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13264         only if [SHARED]. Add prototype for __wcschr_ia32.
13266 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13268         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13269         of %rbp unmolested in the jmp_buf while mangling the low bits.
13270         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13271         unmolested high bits of %rbp while demangling the low bits.
13272         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13274 2012-05-21  Andreas Jaeger  <aj@suse.de>
13276         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13277         * sunrpc/svc_simple.c: Use it for registerrpc.
13278         * sunrpc/xcrypt.c: Use it for passwd2des.
13280         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13282 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13284         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13285         Don't define if [__SYSCALL_WORDSIZE != 32].
13286         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13287         New macro.
13289 2012-05-21  Bruno Haible  <bruno@clisp.org>
13290             Andreas Jaeger  <aj@suse.de>
13292         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13293         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13294         inptr and inend for must_buffer_ch.
13295         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13296         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13297         * stdio-common/Makefile (tests): Remove bug15.
13298         (bug15-ENV): Remove macro.
13299         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13300         anymore.
13302 2012-05-19  Andreas Jaeger  <aj@suse.de>
13303             Roland McGrath  <roland@hack.frob.com>
13305         * manual/contrib.texi: Completely rewritten. It contains now an
13306         alphabetical list of contributors and their contributions.
13308 2012-05-21  Richard Henderson  <rth@twiddle.net>
13310         * misc/getauxval.c (__getauxval): Use unsigned long int.
13311         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13312         (getauxval): Use unsigned long int.
13314 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13316         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13318 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13320         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13321         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13322         __alignof__ (long double).
13324 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13328 2012-05-20  Richard Henderson  <rth@twiddle.net>
13330         * misc/getauxval.c: New file.
13331         * misc/sys/auxv.h: New file.
13332         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13333         (routines): Add getauxval.
13334         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13335         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13336         * elf/dl-sysdep.c (_dl_auxv): Remove.
13337         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13338         * elf/dl-support.c (_dl_auxv): New variable.
13339         (_dl_aux_init): Initialize it.
13340         * manual/startup.texi (Auxiliary Vector): New node.
13341         * sysdeps/generic/bits/hwcap.h: New file.
13342         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13343         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13344         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13345         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13346         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13347         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13349         Update.
13350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13353         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13359 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13363 2012-05-19  David S. Miller  <davem@davemloft.net>
13365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13367 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13369         [BZ #14123]
13370         * math/s_ccosh.c: Include <float.h>
13371         (__ccosh): Avoid internal overflow calculating sinh and cosh
13372         values before multiplying by sin and cos values.
13373         * math/s_ccoshf.c: Likewise.
13374         * math/s_ccoshl.c: Likewise.
13375         * math/s_csin.c: Likewise.
13376         * math/s_csinf.c: Likewise.
13377         * math/s_csinl.c: Likewise.
13378         * math/s_csinh.c: Likewise.
13379         * math/s_csinhf.c: Likewise.
13380         * math/s_csinhl.c: Likewise.
13381         * math/libm-test.inc (ccos_test): Add more tests.
13382         (ccosh_test): Likewise.
13383         (csin_test): Likewise.
13384         (csinh_test): Likewise.
13385         * sysdeps/i386/fpu/libm-test-ulps: Update.
13386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13388 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13390         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13391         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13393         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13395 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13397         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13398         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13399         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13400         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13401         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13402         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13403         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13404         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13405         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13406         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13407         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13408         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13409         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13410         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13411         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13412         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13413         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13414         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13415         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13416         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13417         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13418         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13419         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13420         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13421         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13422         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13423         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13424         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13425         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13426         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13427         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13429 2012-05-18  Andreas Jaeger  <aj@suse.de>
13431         * csu/.gitignore: Delete.
13433 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13435         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13436         (timex): Use __syscall_slong_t.
13438 2012-05-18  Andreas Jaeger  <aj@suse.de>
13439             Carlos O'Donell  <carlos_odonell@mentor.com>
13441         * manual/install.texi (Configuring and compiling): Update
13442         description about files modified in the source directory.
13443         * INSTALL: Regenerated.
13445 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13447         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13448         value.  Use "or" to set return value to -1.
13449         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13450         negate return value.
13452 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13454         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13455         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13456         failure if the compiler has Graphite support disabled.
13457         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13458         Likewise.
13459         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13460         CFLAGS-memmove.c): Likewise.
13461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13462         Likewise.
13464 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13466         * sysdeps/x86_64/x32/_itoa.h: New file.
13468         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13469         getdents system call only if kernel and user dirents have the
13470         same d_ino and d_off.
13472         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13473         LLONG_MAX != LONG_MAX.
13474         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13475         (_fitoa_word): Likewise.
13477         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13478         years.
13479         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13480         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13481         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13483         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13484         include <bits/wordsize.h>.  Check __x86_64__ instead of
13485         __WORDSIZE.
13486         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13487         if __x86_64__ is defined.  Use anonymous union on fpstate.
13489         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13490         anonymous union.
13492 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13494         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13495         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13496         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13497         Refer to _rtld_local_ro instead of _rtld_global_ro.
13498         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13499         Likewise.
13500         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13501         Likewise.
13502         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13503         Likewise.
13504         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13505         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13506         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13508         * sysdeps/powerpc/powerpc32/dl-machine.c
13509         (__elf_machine_runtime_setup) [PROF]: Don't reference
13510         _dl_prof_resolve.
13512 2012-05-18  Andreas Jaeger  <aj@suse.de>
13514         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13515         function only available for GCCs before 3.4 since GCC 3.4
13516         introduced a builtin.
13517         (lrint): Likewise.
13518         (llrintf): Likewise.
13519         (llrint): Likewise.
13520         (fmaxf): Likewise.
13521         (fmax): Likewise.
13522         (fminf): Likewise.
13523         (fmin): Likewise.
13524         (rint): Likewise.
13525         (rintf): Likewise.
13526         (nearbyint): Likewise.
13527         (nearbyintf): Likewise.
13528         (ceil): Likewise.
13529         (ceilf): Likewise.
13530         (floor): Likewise.
13531         (floorf): Likewise.
13533 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13535         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13536         on both fields and cast pointer to __syscall_ulong_t.
13538         * bits/types.h (__fsword_t): New type.
13539         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13540         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13542         (__FSWORD_T_TYPE): Likewise.
13543         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13544         (__FSWORD_T_TYPE): Likewise.
13545         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13546         (__FSWORD_T_TYPE): Likewise.
13547         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13548         (__FSWORD_T_TYPE): Likewise.
13549         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13550         __SWORD_TYPE with __fsword_t.
13551         (statfs64): Likewise.
13553 2012-05-17  David S. Miller  <davem@davemloft.net>
13555         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13557 2012-05-17  Andreas Jaeger  <aj@suse.de>
13559         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13560         warning.
13562 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13564         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13566 2012-05-17  Andreas Jaeger  <aj@suse.de>
13568         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13569         when it is used.
13571 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13573         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13575 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13577         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13578         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13580 2012-05-17  Andreas Jaeger  <aj@suse.de>
13581             Carlos O'Donell  <carlos_odonell@mentor.com>
13583         [BZ #14059]
13584         * sysdeps/x86_64/multiarch/init-arch.h
13585         (bit_YMM_Usable): Rename to...
13586         (bit_AVX_Usable): ... this.
13587         (bit_FMA4_Usable): New macro.
13588         (bit_XMM_state): New macro.
13589         (bit_YMM_state): New macro.
13590         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13591         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13592         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13593         (CPUID_OSXSAVE): New macro.
13594         (CPUID_AVX): New macro.
13595         (CPUID_FMA4): New macro.
13596         (index_YMM_Usable): Rename to...
13597         (index_AVX_Usable): ... this.
13598         (HAS_AVX): Use HAS_ARCH_FEATURE.
13599         (HAS_FMA4): Likewise.
13600         (HAS_YMM_USABLE): Remove.
13601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13602         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13603         are present.
13604         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13605         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13606         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13607         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13608         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13610 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13612         * math/libm-test.c: Support platforms without multiple rounding modes.
13613         * math/bug-nextafter.c: Support platforms without FP exceptions.
13614         * math/bug-nexttoward.c: Likewise.
13615         * math/test-fenv.c: Likewise.
13616         * math/test-misc.c: Likewise.
13617         * stdlib/bug-getcontext.c: Likewise.
13619 2012-05-17  Andreas Jaeger  <aj@suse.de>
13621         * manual/examples/search.c (critter_cmp): Change signature to
13622         avoid warnings.
13623         * manual/string.texi (Collation Functions): Likewise.
13625 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13627         * bits/types.h: Fold copyright years.
13628         * bits/typesizes.h: Likewise.
13629         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13632         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13633         * time/time.h: Likewise.
13635 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13637         [BZ #208]
13638         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13639         in instead of returning them.  Return void.
13640         (__libc_mallinfo): Accumulate over all arenas.
13641         (__malloc_stats): Adjust for change in int_mallinfo interface.
13643 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13645         [BZ #10375]
13646         * configure.in (NM): Add AC_CHECK_TOOL for it.
13647         (libc_extra_cflags): New substituted variable.
13648         Check for -fstack-protector being used implicitly.
13649         * configure: Regenerated.
13650         * config.make.in (config-extra-cflags): New variable,
13651         gets @libc_extra_cflags@.
13652         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13654         [BZ #10375]
13655         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13656         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13657         * configure: Regenerated.
13658         * config.make.in (CPPUNDEFS): New substituted variable.
13659         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13660         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13661         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13663 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13665         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13666         (mq_attr): Use __syscall_slong_t.
13668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13670         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13671         Check __x86_64__ instead of __WORDSIZE.
13672         (_STAT_VER_LINUX): Likewise.
13673         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13674         __syscall_ulong_t and __syscall_slong_t.
13675         (stat64): Likewise.
13677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13679         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13681 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13683         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13685 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13687         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13688         __syscall_ulong_t.
13690         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13691         include <bits/wordsize.h>.  Check __x86_64__ instead of
13692         __WORDSIZE.
13693         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13694         defined.
13695         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13697         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13698         include <bits/wordsize.h>.  Check __x86_64__ instead of
13699         __WORDSIZE.
13700         (user_regs_struct): Use "__extension__ unsigned long long"
13701         instead of "unsigned long" if __x86_64__ is defined.
13702         (user): Likewise.  Pad after pointer field if __ILP32__ is
13703         defined.
13705 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13707         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13708         versions 5 to 9.
13709         * configure: Regenerated.
13710         * manual/install.texi (texinfo): Increase version requirement to
13711         4.5 or later.
13712         * INSTALL: Regenerated.
13714         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13718         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13720         * sysdeps/x86_64/x32/ffs.c: New file.
13722         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13723         __syscall_ulong_t.
13724         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13725         defined.  Use __syscall_ulong_t.
13726         (shminfo): Use __syscall_ulong_t.
13727         (shm_info): Likewise.
13729         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13730         __syscall_ulong_t.
13732         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13733         <bits/wordsize.h>.
13734         (msgqnum_t): Use __syscall_ulong_t.
13735         (msglen_t): Likewise.
13736         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13737         __syscall_ulong_t.
13739         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13740         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13742         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13744         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13745         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13747         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13748         __syscall_slong_t.
13750         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13751         include <bits/wordsize.h>.  Check __x86_64__ instead of
13752         __WORDSIZE.
13754         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13755         "unsigned long long int" if __x86_64__ is defined.
13756         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13758         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13759         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13760         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13762         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13763         <stdint.h>.
13764         (GET_PC): Cast to uintptr_t first.
13765         (GET_FRAME): Likewise.
13766         (GET_STACK): Likewise.
13768         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13769         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13770         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13771         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13772         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13773         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13774         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13775         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13776         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13777         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13778         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13779         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13780         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13781         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13782         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13783         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13784         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13785         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13787         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13789         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13790         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13791         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13792         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13793         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13794         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13795         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13796         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13798 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13800         * Makerules (+depfiles): Also collect depfiles from .oS in
13801         $(extra-objs).
13802         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13803         .oS, $(libnldbl-routines)).
13805         * Makerules (native-compile-mkdep-flags): Define.
13806         * sunrpc/Makefile (extra-objs): Add $(addprefix
13807         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13808         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13809         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13810         calling $(make-target-directory).
13812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13814         * bits/types.h (__snseconds_t): Removed.
13815         * time/time.h (struct timespec): Replace __snseconds_t with
13816         __syscall_slong_t.
13817         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13818         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13819         Likewise.
13820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13821         (__SNSECONDS_T_TYPE): Likewise.
13822         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13823         (__SNSECONDS_T_TYPE): Likewise.
13824         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13825         (__SNSECONDS_T_TYPE): Likewise.
13827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13829         * sysdeps/mach/hurd/bits/typesizes.h
13830         (__SYSCALL_SLONG_TYPE): New macro.
13831         (__SYSCALL_ULONG_TYPE): Likewise.
13833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13835         * bits/types.h (__syscall_slong_t): New type.
13836         (__syscall_ulong_t): Likewise.
13838         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13839         (__SYSCALL_ULONG_TYPE): Likewise.
13840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13841         (__SYSCALL_SLONG_TYPE): Likewise.
13842         (__SYSCALL_ULONG_TYPE): Likewise.
13843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13844         (__SYSCALL_SLONG_TYPE): Likewise.
13845         (__SYSCALL_ULONG_TYPE): Likewise.
13846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13847         (__SYSCALL_SLONG_TYPE): Likewise.
13848         (__SYSCALL_ULONG_TYPE): Likewise.
13850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13852         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13853         Add sigaltstack-offsets.sym.
13854         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13855         <sigaltstack-offsets.h>.
13856         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13857         longjmp_msg pointer.
13858         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13859         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13860         signal stack.
13861         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13863 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13865         * elf/stackguard-macros.h: Remove file.
13866         * sysdeps/generic/stackguard-macros.h: New file.
13867         * sysdeps/i386/stackguard-macros.h: Likewise.
13868         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13869         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13870         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13871         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13872         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13873         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13874         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13875         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13876         <elf/stackguard-macros.h>.
13878         [BZ #14109]
13879         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13880         __aligned__ in attribute.
13881         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13882         (gregset_t): Likewise.
13884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13886         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13887         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13888         * sysdeps/x86_64/x32/Implies-after: New file.
13890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13892         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13893         and access return value for _dl_profile_fixup.  Use R10_LP to
13894         load frame size.
13896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13898         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13902         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13903         * sysdeps/x86_64/x32/sysdep.h: New file.
13905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13907         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13908         * sysdeps/x86_64/setjmp.S: Likewise.
13910 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13912         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13913         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13914         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13915         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13916         remove unused global constant.
13918 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13920         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13921         include of <not-cancel.h>.
13923 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13925         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13927 2012-05-15  Jeff Law  <law@redhat.com>
13928             Andreas Jaeger  <aj@suse.de>
13930         [BZ #13594]
13931         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13932         out from...
13933         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13934         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13935         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13936         code changing __hst_map_handle.map.
13938 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13940         * configure.in (sysnames): Look for Implies-before and Implies-after
13941         files.
13942         * configure: Regenerated.
13944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13946         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13947         8-byte data alignment with LP_SIZE alignment.
13949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13951         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13952         into R10_LP.
13954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13956         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13960         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13961         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13962         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13963         Likewise.
13964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13968         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13969         (stackinfo_sub_sp): Likewise.
13971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13974         RAX_LP.
13976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13978         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13979         into R*_LP.
13981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13983         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13984         sizes into R*_LP.
13986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13988         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13992         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13993         into R11_LP and load __x86_64_shared_cache_size_half into
13994         R8_LP.
13996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13998         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13999         R8_LP.
14001 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14004         logb for POWER7.
14005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14006         logbf for POWER7.
14007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14008         logbl for POWER7.
14009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14010         powerpc32/power7/fpu/s_logb.c via #include.
14011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14012         powerpc32/power7/fpu/s_logbf.c via #include.
14013         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14014         powerpc32/power7/fpu/s_logbl.c via #include.
14016 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14018         * README.libm: Remove file.
14020 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14022         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14023         count for x32.  Use R*_LP and omit operand-size suffix.
14025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14027         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14028         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14029         * sysdeps/x86_64/x32/shlib-versions: New file.
14031 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14033         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14034         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14035         Use _dl_fatal_printf instead.
14037 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14039         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14040         set if not set by the user.  Do not allow for being unset.
14041         * sysdeps/unix/sysv/linux/configure: Regenerated.
14043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14045         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14046         the `q' suffix from lea and replace .quad with ASM_ADDR.
14048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14051         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14052         instead of $17.
14053         (PTR_DEMANGLE): Likewise.
14055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14057         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14058         (LP_OP): Likewise.
14059         (ASM_ADDR): Likewise.
14060         (RAX_LP): Likewise.
14061         (RBP_LP): Likewise.
14062         (RBX_LP): Likewise.
14063         (RCX_LP): Likewise.
14064         (RDI_LP): Likewise.
14065         (RSI_LP): Likewise.
14066         (RSP_LP): Likewise.
14067         (R8_LP): Likewise.
14068         (R9_LP): Likewise.
14069         (R10_LP): Likewise.
14070         (R10_LP): Likewise.
14071         (R11_LP): Likewise.
14072         (R12_LP): Likewise.
14073         (R13_LP): Likewise.
14074         (R14_LP): Likewise.
14075         (R15_LP): Likewise.
14077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14079         * sysdeps/x86_64/x32/dl-machine.h: New file.
14081 2012-05-14  Andreas Jaeger  <aj@suse.de>
14083         * manual/Makefile (subdir): Remove export of subdir.
14084         (all): Remove target.
14085         (.PHONY): Remove all from list.
14086         (mkinstalldirs): Remove.
14087         (.PHONY): Remove installdirs from list.
14088         ($(inst_infodir)/libc.info): Use make-target-directory.
14089         (installdirs): Remove.
14090         (subdir_%): Remove.
14091         (glibc-targets): Remove.
14092         (lib): Remove.
14093         (stubs): Remove.
14094         ($(objpfx)stubs ../po/manual.pot): Remove.
14095         ($(objpfx)stamp%): Remove.
14096         (make-target-directory): Remove.
14097         (subdir_install): Remove.
14098         (routines): Remove.
14099         (aux): Remove.
14100         (sources): Remove.
14101         (objects): Remove.
14102         (headers): Remove.
14104         [BZ #13750]
14105         * manual/.gitignore: Remove, it's not needed anymore.
14106         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14107         all files in it.
14108         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14109         directory.
14110         (texis): Renamed to $(objpfx)texis.
14111         (texis-path): New, contains path to generated files.
14112         (chapters.%): Use texis-path for complete path, add extra argument
14113         libc-texinfo.sh.
14114         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14115         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14116         (summary,texi, stamp-summary): Use complete path of
14117         files. Generate files in build dir.
14118         (dir-add.texi): Build in build dir.
14119         (libm-err.texi,stamp-libm-err): Likewise.
14120         (version.texi, stamp-version): Likewise.
14121         (.%c.texi): Likewise.
14122         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14123         (mostlyclean): Remove target.
14124         (realclean): Remove target.
14125         (generated): Add new variable with contents from mostlyclean and
14126         realclean, remove entries duplicated in common-mostlyclean, add
14127         stamp-libm-err and stamp-version.
14128         (generated-dirs): Add libc directory.
14129         ($(inst_infodir)/libc.info): Install files from build dir.
14131         * manual/install.texi (Configuring and compiling): Adjust since
14132         the info files are not part of the tar ball anymore.
14134 2012-05-14  Andreas Jaeger  <aj@suse.de>
14136         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14137         variable.
14139 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14141         [BZ #13717]
14142         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14143         to 2.2.0 where earlier.
14144         * sysdeps/unix/sysv/linux/configure: Regenerated.
14145         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14146         Remove conditional code.
14147         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14148         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14149         Remove conditional code.
14150         [!__NR_lchown]: Likewise.
14151         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14152         [__NR_lchown]: Likewise.
14153         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14154         comment referencing __ASSUME_LCHOWN_SYSCALL.
14155         * sysdeps/unix/sysv/linux/i386/sigaction.c
14156         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14157         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14158         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14159         Remove conditional code.
14160         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14161         (__protocol_available): Remove #if 0 code.
14162         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14163         conditional code.
14164         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14165         * sysdeps/unix/sysv/linux/kernel-features.h
14166         (__ASSUME_GETCWD_SYSCALL): Don't define.
14167         (__ASSUME_REALTIME_SIGNALS): Likewise.
14168         (__ASSUME_PREAD_SYSCALL): Likewise.
14169         (__ASSUME_PWRITE_SYSCALL): Likewise.
14170         (__ASSUME_POLL_SYSCALL): Likewise.
14171         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14172         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14173         non-SPARC.
14174         (__ASSUME_SIOCGIFNAME): Don't define.
14175         (__ASSUME_MSG_NOSIGNAL): Likewise.
14176         (__ASSUME_SENDFILE): Define unconditionally.
14177         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14178         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14179         conditional code.
14180         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14181         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14182         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14183         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14184         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14185         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14186         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14188         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14189         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14191         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14194         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14195         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14200         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14201         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14203         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14206         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14207         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14211         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14212         Remove conditional code.
14213         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14214         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14215         Remove conditional code.
14216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14217         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14218         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14219         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14220         Remove conditional code.
14221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14222         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14223         Remove conditional code.
14224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14225         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14226         Remove conditional code.
14227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14228         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14229         Remove conditional code.
14230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14231         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14232         Remove conditional code.
14233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14234         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14237         * sysdeps/unix/sysv/linux/sigaction.c
14238         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14239         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14240         * sysdeps/unix/sysv/linux/sigpending.c
14241         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14242         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14243         * sysdeps/unix/sysv/linux/sigprocmask.c
14244         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14245         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14246         * sysdeps/unix/sysv/linux/sigsuspend.c
14247         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14248         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14249         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14250         (__libc_missing_rt_sigs): Remove.
14251         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14252         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14253         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14254         Remove conditional code.
14255         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14256         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14257         return 1.
14258         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14259         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14260         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14261         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14263 2012-05-14  Andreas Jaeger  <aj@suse.de>
14265         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14266         it's not used in glibc.
14267         (__coshm1): Likewise.
14268         (__acosh1p): Likewise.
14269         (__sgn): Likewise.
14271         * manual/string.texi (Copying and Concatenation): Add missing
14272         variable in concat example.
14273         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14277         [BZ #14103]
14278         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14279         __builtin_clzl with __builtin_clzll.
14281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14283         [BZ #14104]
14284         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14285         libc_freeres_ptr.
14287 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14289         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14290         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14291         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14292         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14294 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14296         * NEWS: Update ia64 info.
14298 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14300         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14301         used as bcopy.
14303 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14305         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14306         * sysdeps/unix/syscalls.list (dup3): Likewise.
14307         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14308         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14310 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14312         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14313         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14315 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14317         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14318         thread pointer.
14319         (TLS_IE): Use mov/add instead of movq/addq to load thread
14320         pointer.
14321         (TLS_GD_PREFIX): New.
14322         (TLS_GD): Use it.
14324 2012-05-11  David S. Miller  <davem@davemloft.net>
14326         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14327         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14328         (_FPU_SETCW): Likewise.
14330 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14332         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14333         is 32-byte aligned.
14335 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14337         [BZ #11837]
14338         * iconvdata/gb18030.c: Update tables.
14339         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14340         characters specially.
14341         (BODY for TO_LOOP): Add encoding of missing ranges.
14343 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14345         [BZ #13673]
14346         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14347         * sysdeps/mach/hurd/dup3.c: Likewise.
14348         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14349         * sysdeps/powerpc/memmove.c:: Likewise.
14351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14353         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14354         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14358         * elf/elf.h (R_X86_64_RELATIVE64): New.
14359         (R_X86_64_NUM): Updated.
14360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14361         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14362         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14363         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14364         tst-quad1pie tst-quad2pie
14365         (modules-names): Add tst-quadmod1 tst-quadmod2.
14366         ($(objpfx)tst-quad1): New dependency.
14367         ($(objpfx)tst-quad2): Likewise.
14368         ($(objpfx)tst-quad1pie): Likewise.
14369         ($(objpfx)tst-quad2pie): Likewise.
14370         * sysdeps/x86_64/tst-quad1.c: New file.
14371         * sysdeps/x86_64/tst-quad1pie.c: New file.
14372         * sysdeps/x86_64/tst-quad2.c: Likewise.
14373         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14374         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14375         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14376         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14377         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14381         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14382         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14383         * streams/stropts.h (t_scalar_t): Define type.
14385         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14386         (_PATH_PRESERVE): Set to "/var/lib".
14387         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14389         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14390         instead of int.
14392         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14393         if __dir_mkfile succeeded.
14395         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14396         checking for _hurd_dtablesize.  Unlock it right after having
14397         finished _hurd_dtable allocation.
14399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14401         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14402         * sysdeps/mach/hurd/configure: Regenerated.
14403         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14404         special-casing to...
14405         * sysdeps/gnu/configure.in: ... this new file.
14406         * sysdeps/unix/sysv/linux/configure: Regenerated.
14407         * sysdeps/gnu/configure: New generated file.
14409         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14410         for Linux: use nsec instead of usec, as well as:
14411         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14412         members of type struct timespec.
14413         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14414         New macros.
14415         (struct stat64): Likewise.
14416         (_STATBUF_ST_NSEC): New macro.
14417         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14419         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14420         __strtoul_internal rather than strtoul.
14422 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14424         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14425         and reject them.
14427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14429         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14430         which preserves existing values.
14431         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14433 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14435         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14436         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14437         greater than FD_SETSIZE.
14439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14441         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14442         allocated, call __vm_protect to finish enabling the existing space, and
14443         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14444         allocate the remainder.
14446 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14448         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14449         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14453         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14454         sysdeps/mach/hurd/readlink.c.
14456         * posix/tst-sysconf.c (posix_options): Only use
14457         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14458         _POSIX_SYNCHRONIZED_IO when they are defined
14459         * sysdeps/mach/hurd/bits/posix_opt.h:
14460         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14461         (_XOPEN_REALTIME): Undefine macro.
14462         (_XOPEN_REALTIME_THREADS): Undefine macro.
14463         (_XOPEN_SHM): Undefine macro.
14464         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14465         macro to -1.
14466         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14467         macro to -1.
14468         (_POSIX_ASYNC_IO): Undefine macro.
14469         (_POSIX_PRIORITIZED_IO): Undefine macro.
14470         (_POSIX_SPIN_LOCKS): Define macro to -1.
14472         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14473         SA_NODEFER, SA_RESETHAND.
14474         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14475         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14476         F_DUPFD_CLOEXEC.
14478 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14480         * elf/Makefile (pldd-modules): Define unconditionally.
14482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14484         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14488         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14489         Return ENOENT when name is empty.
14490         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14494         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14496         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14500         Fix mlock in all cases except non-readable pages.
14501         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14502         instead of VM_PROT_ALL as parameter to __vm_wire function.
14504         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14505         (__mkdir): When path is `/', just fail with EEXIST.
14506         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14510         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14511         <sys/uio.h> (for writev).
14512         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14513         and <sys/param.h> (for MIN).
14515 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14517         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14518         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14519         if interrupted.
14521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14523         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14524         Depend on against $(link-rpcuserlibs).
14526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14528         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14529         (__libc_stack_end): Do not use attribute_relro.
14530         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14531         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14532         to libthread-provided value.
14533         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14534         attribute_relro.
14536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14538         [BZ #3748]
14539         * bits/libc-lock.h (__libc_once_get): New macro.
14540         * sysdeps/mach/bits/libc-lock.h: Likewise.
14541         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14543         instead of using implementation details.
14545         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14546         * libio/freopen.c: Likewise.
14547         * libio/freopen64.c: Likewise.
14548         * misc/syslog.c: Likewise.
14549         * nscd/connections.c: Likewise.
14550         * nscd/netgroupcache.c: Likewise.
14551         * sysdeps/posix/getcwd.c: Likewise.
14553 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14555         * math/w_ilogbf.c: Add #include <limits.h>.
14557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14559         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14560         path instead of returning without unlocking.
14562         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14563         immediate-write ioctls.
14564         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14568         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14569         __builtin_frame_address instead of making assumptions about the
14570         location of the return address relative to DATA.  Force early load of
14571         the return address.
14572         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14573         __builtin_frame_address.
14575         dup3 for GNU Hurd.
14576         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14577         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14578         implement dup3 and do some further code clean-ups.
14579         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14580         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14584         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14586         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14587         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14588         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14589         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14590         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14591         d->port.lock.
14593         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14594         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14595         when handler == SIG_ERR, not when handler != SIG_ERR.
14597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14599         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14600         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14601         definitions.
14603         accept4 for GNU Hurd.
14604         * include/sys/socket.h (__libc_accept4): New prototype.
14605         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14606         to implement __libc_accept4.
14607         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14608         __libc_accept4.
14609         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14611         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14612         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14613         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14614         signal-defines.sym.
14616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14618         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14622         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14623         assertion on O_CLOEXEC flag.
14624         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14625         * hurd/intern-fd.c: Likewise.
14626         * hurd/port2fd.c: Likewise.
14628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14630         [BZ #3906]
14631         * bits/in.h (IPV6_PKTINFO): Define new macro.
14632         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14634 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14636         [BZ #13954]
14637         [BZ #13955]
14638         [BZ #13956]
14639         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14640         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14641         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14642         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14644         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14645         * math/libm-test.inc (logb_test) : Additional logb tests.
14647 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14648             Andreas Jaeger  <aj@suse.de>
14650         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14651         * configure: Regenerated.
14652         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14653         * config.make.in (link-obsolete-rpc): New substituted variable.
14654         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14655         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14656         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14657         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14658         so that libc.a contains the symbols.
14659         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14660         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14661         * sunrpc/auth_none.c: Likewise.
14662         * sunrpc/auth_unix.c: Likewise.
14663         * sunrpc/authdes_prot.c: Likewise.
14664         * sunrpc/authuxprot.c: Likewise.
14665         * sunrpc/clnt_gen.c: Likewise.
14666         * sunrpc/clnt_perr.c: Likewise.
14667         * sunrpc/clnt_raw.c: Likewise.
14668         * sunrpc/clnt_simp.c: Likewise.
14669         * sunrpc/clnt_tcp.c: Likewise.
14670         * sunrpc/clnt_udp.c: Likewise.
14671         * sunrpc/clnt_unix.c: Likewise.
14672         * sunrpc/des_crypt.c: Likewise.
14673         * sunrpc/des_soft.c: Likewise.
14674         * sunrpc/get_myaddr.c: Likewise.
14675         * sunrpc/key_call.c: Likewise.
14676         * sunrpc/key_prot.c: Likewise.
14677         * sunrpc/netname.c: Likewise.
14678         * sunrpc/pm_getmaps.c: Likewise.
14679         * sunrpc/pm_getport.c: Likewise.
14680         * sunrpc/pmap_clnt.c: Likewise.
14681         * sunrpc/pmap_prot.c: Likewise.
14682         * sunrpc/pmap_prot2.c: Likewise.
14683         * sunrpc/pmap_rmt.c: Likewise.
14684         * sunrpc/publickey.c: Likewise.
14685         * sunrpc/rpc_cmsg.c: Likewise.
14686         * sunrpc/rpc_common.c: Likewise.
14687         * sunrpc/rpc_dtable.c: Likewise.
14688         * sunrpc/rpc_prot.c: Likewise.
14689         * sunrpc/rpc_thread.c: Likewise.
14690         * sunrpc/rtime.c: Likewise.
14691         * sunrpc/svc.c: Likewise.
14692         * sunrpc/svc_auth.c: Likewise.
14693         * sunrpc/svc_raw.c: Likewise.
14694         * sunrpc/svc_run.c: Likewise.
14695         * sunrpc/svc_tcp.c: Likewise.
14696         * sunrpc/svc_udp.c: Likewise.
14697         * sunrpc/svc_unix.c: Likewise.
14698         * sunrpc/svcauth_des.c: Likewise.
14699         * sunrpc/xcrypt.c: Likewise.
14700         * sunrpc/xdr.c: Likewise.
14701         * sunrpc/xdr_array.c: Likewise.
14702         * sunrpc/xdr_float.c: Likewise.
14703         * sunrpc/xdr_intXX_t.c: Likewise.
14704         * sunrpc/xdr_mem.c: Likewise.
14705         * sunrpc/xdr_rec.c: Likewise.
14706         * sunrpc/xdr_ref.c: Likewise.
14707         * sunrpc/xdr_sizeof.c: Likewise.
14708         * sunrpc/xdr_stdio.c: Likewise.
14710 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14713         change.  Update copyright years.
14715 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14717         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14719 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14720             Joseph Myers  <joseph@codesourcery.com>
14721             Paul Pluzhnikov  <ppluzhnikov@google.com>
14723         [BZ #14012]
14724         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14725         requiring rpcgen.
14726         [cross-compiling] (extra-libs): Likewise.
14727         [cross-compiling] (extra-libs-others): Likewise.
14728         [cross-compiling] (librpcsvc-routines): Likewise.
14729         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14730         [cross-compiling] (omit-deps): Likewise.
14731         (sunrpc-CPPFLAGS): New variable.
14732         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14733         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14734         (cross-rpcgen-objs): New variable.
14735         (extra-objs): Append $(cross-rpcgen-objs).
14736         ($(cross-rpcgen-objs)): New rule.
14737         ($(objpfx)cross-rpcgen): Likewise.
14738         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14739         comment.
14740         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14741         ($(objpfx)x%.stmp): Likewise.
14742         * sunrpc/proto.h [IS_IN_build] (_): Define.
14743         [IS_IN_build] (_libc_intl_domainname): Likewise.
14745 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14748         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14749         and R_X86_64_TPOFF64.
14751 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14753         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14754         sysdeps/unix/sysv/syscalls.list.
14755         (stime): Likewise.
14756         (utime): Likewise.
14757         * sysdeps/unix/sysv/syscalls.list: Remove file.
14759 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14761         [BZ #3440]
14762         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14763         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14764         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14765         (__LC_IDENTIFICATION): Make these macros useful in #if
14766         expressions, as required by C99.
14768 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14770         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14771         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14772         after this.
14774 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14776         * stdlib/longlong.h: Updated from GCC.
14778 2012-05-09  Andreas Jaeger  <aj@suse.de>
14780         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14781         default is first entry.
14782         (run_mode): Set type.
14783         (main): Remove informal message about syslog.
14784         (options): Fix typo.
14786         [BZ #14053]
14787         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14788         to asm.
14789         (lrint): Likewise.
14790         (llrintf): Likewise.
14791         (llrint): Likewise.
14792         (rint): Likewise.
14793         (rintf): Likewise.
14794         (nearbyint): Likewise.
14795         (nearbyintf): Likewise.
14797 2012-05-09  Andreas Jaeger  <aj@suse.de>
14798             Pedro Alves  <palves@redhat.com>
14800         * nscd/nscd.c (run_mode): Use enum.
14801         (main): Cleanup coding style issue.
14803 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14804             Andreas Jaeger  <aj@suse.de>
14806         * nscd/nscd.c (go_background): Replaced with...
14807         (run_mode): ... this.
14808         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14809         (options): Add -F --foreground.
14810         (main): Implement it.
14811         (parse_opt): Parse it.
14813 2012-05-09  Andreas Jaeger  <aj@suse.de>
14815         [BZ #14083]
14816         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14817         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14818         -Wconversion warning.
14819         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14820         Likewise.
14822 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14824         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14825         == 0.
14826         (LC_ALL): Use macro-int-constant.
14827         (LC_COLLATE): Likewise.
14828         (LC_CTYPE): Likewise.
14829         (LC_MESSAGES): Likewise.
14830         (LC_MONETARY): Likewise.
14831         (LC_NUMERIC): Likewise.
14832         (LC_TIME): Likewise.
14833         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14834         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14835         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14836         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14837         Specify type.
14838         [C99-based standards] (float_t): Expect type.
14839         [C99-based standards] (double_t): Expect type.
14840         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14841         type.
14842         [C99-based standards] (HUGE_VALL): Likewise.
14843         [C99-based standards] (INFINITY): Likewise.
14844         [C99-based standards] (NAN): Likewise.
14845         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14846         [C99-based standards] (FP_NAN): Likewise.
14847         [C99-based standards] (FP_NORMAL): Likewise.
14848         [C99-based standards] (FP_SUBNORMAL): Likewise.
14849         [C99-based standards] (FP_ZERO): Likewise.
14850         [C99-based standards] (FP_FAST_FMA): Use
14851         optional-macro-int-constant.  Specify type.  Require == 1.
14852         [C99-based standards] (FP_FAST_FMAF): Likewise.
14853         [C99-based standards] (FP_FAST_FMAL): Likewise.
14854         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14855         [C99-based standards] (FP_ILOGBNAN): Likewise.
14856         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14857         Specify type.
14858         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14859         [C99-based standards] (math_errhandling): Specify type.
14860         [ISO99 || ISO11] (signgam): Do not allow.
14861         [non-C99-based standards] (copysignf): Do not allow.
14862         [non-C99-based standards] (exp2f): Likewise.
14863         [non-C99-based standards] (log2f): Likewise.
14864         [non-C99-based standards] (modff): Allow.
14865         [non-C99-based standards] (erff): Do not allow.
14866         [non-C99-based standards] (erfcf): Likewise.
14867         [non-C99-based standards] (gammaf): Likewise.
14868         [non-C99-based standards] (hypotf): Likewise.
14869         [non-C99-based standards] (j0f): Likewise.
14870         [non-C99-based standards] (j1f): Likewise.
14871         [non-C99-based standards] (jnf): Likewise.
14872         [non-C99-based standards] (lgammaf): Likewise.
14873         [non-C99-based standards] (tgammaf): Likewise.
14874         [non-C99-based standards] (y0f): Likewise.
14875         [non-C99-based standards] (y1f): Likewise.
14876         [non-C99-based standards] (ynf): Likewise.
14877         [non-C99-based standards] (isnanf): Likewise.
14878         [non-C99-based standards] (acoshf): Likewise.
14879         [non-C99-based standards] (asinhf): Likewise.
14880         [non-C99-based standards] (atanhf): Likewise.
14881         [non-C99-based standards] (cbrtf): Likewise.
14882         [non-C99-based standards] (expm1f): Likewise.
14883         [non-C99-based standards] (ilogbf): Likewise.
14884         [non-C99-based standards] (log1pf): Likewise.
14885         [non-C99-based standards] (logbf): Likewise.
14886         [non-C99-based standards] (nextafterf): Likewise.
14887         [non-C99-based standards] (remainderf): Likewise.
14888         [non-C99-based standards] (rintf): Likewise.
14889         [non-C99-based standards] (scalbf): Likewise.
14890         [non-C99-based standards] (copysignl): Likewise.
14891         [non-C99-based standards] (exp2l): Likewise.
14892         [non-C99-based standards] (log2l): Likewise.
14893         [non-C99-based standards] (modfl): Allow.
14894         [non-C99-based standards] (erfl): Do not allow.
14895         [non-C99-based standards] (erfcl): Likewise.
14896         [non-C99-based standards] (gammal): Likewise.
14897         [non-C99-based standards] (hypotl): Likewise.
14898         [non-C99-based standards] (j0l): Likewise.
14899         [non-C99-based standards] (j1l): Likewise.
14900         [non-C99-based standards] (jnl): Likewise.
14901         [non-C99-based standards] (lgammal): Likewise.
14902         [non-C99-based standards] (tgammal): Likewise.
14903         [non-C99-based standards] (y0l): Likewise.
14904         [non-C99-based standards] (y1l): Likewise.
14905         [non-C99-based standards] (ynl): Likewise.
14906         [non-C99-based standards] (isnanl): Likewise.
14907         [non-C99-based standards] (acoshl): Likewise.
14908         [non-C99-based standards] (asinhl): Likewise.
14909         [non-C99-based standards] (atanhl): Likewise.
14910         [non-C99-based standards] (cbrtl): Likewise.
14911         [non-C99-based standards] (expm1l): Likewise.
14912         [non-C99-based standards] (ilogbl): Likewise.
14913         [non-C99-based standards] (log1pl): Likewise.
14914         [non-C99-based standards] (logbl): Likewise.
14915         [non-C99-based standards] (nextafterl): Likewise.
14916         [non-C99-based standards] (remainderl): Likewise.
14917         [non-C99-based standards] (rintl): Likewise.
14918         [non-C99-based standards] (scalbl): Likewise.
14919         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14920         [non-C99-based standards] (FP_*): Do not allow.
14921         [C99-based standards] (FP_*): Change to
14922         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14923         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14924         allow.
14925         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14926         (SIG_ERR): Likewise.
14927         [X/Open-based standards] (SIG_HOLD): Likewise.
14928         (SIG_IGN): Likewise.
14929         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14930         positive value.
14931         (SIGFPE): Likewise.
14932         (SIGILL): Likewise.
14933         (SIGINT): Likewise.
14934         (SIGSEGV): Likewise.
14935         (SIGTER): Likewise.
14936         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14937         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14938         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14939         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14940         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14941         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14942         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14943         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14944         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14945         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14946         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14947         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14948         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14949         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14950         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14951         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14952         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14953         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14954         [X/Open-based standards] (SIGTRAP): Likewise.
14955         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14956         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14957         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14958         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14959         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14960         allow.
14962 2012-05-08  Ian Wienand  <ianw@vmware.com>
14964         [BZ #14080]
14965         * time/tzset.c (__tzset_parse_tz): Update default rules for
14966         daylight time changes in the Energy Policy Act of 2005.
14968 2012-05-09  Andreas Jaeger  <aj@suse.de>
14970         [BZ #13983]
14971         * elf/ldconfig.c (parse_conf): Change string to make clear that
14972         ldconfig only issued a warning if ld.so.conf does not exist.
14974 2012-05-08  David S. Miller  <davem@davemloft.net>
14976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14977         movxtod instead of popping the value on the stack.
14979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14981 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14983         * config.h.in: Add HAVE_ARM_PCS_VFP.
14985 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14987         [BZ #13979]
14988         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14989         checking but the checks are disabled for any reason.
14991 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14993         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14994         and ELF64_R_TYPE with ELFW(R_TYPE).
14996 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14998         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14999         (ulimit): Likewise.
15001         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15002         (settimeofday): Likewise.
15004 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15006         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15007         a struct th_u2 inside the union, and move tu_block/tu_code into
15008         a new th_u3 union of tu_block/tu_code inside of that.  Move
15009         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15010         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15011         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15012         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15013         (th_stuff): Change to th_u1.tu_stuff.
15014         (th_data): Define.
15015         (th_msg): Change to th_u1.th_u2.tu_data.
15017 2012-05-07  David S. Miller  <davem@davemloft.net>
15019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15021         [BZ #14074]
15022         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15023         (SETUP_PIC_REG): Use it.
15024         (SETUP_PIC_REG_LEAF): Use it.
15026 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15028         [BZ #13885]
15029         [BZ #13923]
15030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15031         USE_AS_EXPM1L.
15032         (EXPL_FINITE): Likewise.
15033         (FLDLOG): Likewise.
15034         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15035         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15036         e_expl.S.
15037         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15038         USE_AS_EXPM1L.
15039         (EXPL_FINITE): Likewise.
15040         (FLDLOG): Likewise.
15041         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15042         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15043         e_expl.S.
15044         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15045         test of -max_value argument for long double.
15046         * sysdeps/i386/fpu/libm-test-ulps: Update.
15047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15049 2012-05-06  David S. Miller  <davem@davemloft.net>
15051         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15052         quad soft-float symbols whose references which are compiler
15053         generated.
15054         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15056 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15058         [BZ #13884]
15059         [BZ #13914]
15060         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15061         USE_AS_EXP10L.
15062         (EXPL_FINITE): Likewise.
15063         (FLDLOG): Likewise.
15064         (c0): Likewise.
15065         (c1): Likewise.
15066         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15067         Adjust comments for base varying.
15068         (__expl_finite): Change alias to EXPL_FINITE.
15069         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15070         e_expl.S.
15071         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15072         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15073         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15074         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15076         USE_AS_EXP10L.
15077         (EXPL_FINITE): Likewise.
15078         (FLDLOG): Likewise.
15079         (c0): Likewise.
15080         (c1): Likewise.
15081         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15082         Adjust comments for base varying.
15083         (__expl_finite): Change alias to EXPL_FINITE.
15084         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15085         tests for bugs.
15086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15088         [BZ #14064]
15089         * math/libm-test.inc (check_float_internal): Correct ulp
15090         calculation for subnormal expected results.
15092 2012-05-06  Andreas Jaeger  <aj@suse.de>
15094         * Makeconfig (+math-flags): New, set to -frounding-math.
15095         (+cflags): Add +math-flags so that all of glibc gets compiled with
15096         it.
15098         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15100 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15102         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15103         Disable one test.
15105         [BZ #13787]
15106         [BZ #13922]
15107         [BZ #14036]
15108         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15109         (__ieee754_expl): Allow for and saturate large arguments.
15110         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15111         (u_threshold): Likewise.
15112         (__exp): Call __ieee754_exp before checking for overflow and
15113         underflow.
15114         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15115         (u_threshold): Likewise.
15116         (__expf): Call __ieee754_expf before checking for overflow and
15117         underflow.
15118         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15119         (u_threshold): Likewise.
15120         (__expl): Call __ieee754_expl before checking for overflow and
15121         underflow.
15122         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15123         (__ieee754_expl): Allow for and saturate large arguments.
15124         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15125         missing overflow exception on overflow.
15126         (expm1_test): Do not allow missing overflow exception on overflow.
15128         * sysdeps/i386/fpu/e_expl.c: Move to ...
15129         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15130         rather than using inline asm.
15131         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15132         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15133         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15135         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15136         (nice): Likewise.
15137         (poll): Likewise.
15138         (signal): Likewise.
15139         (time): Likewise.
15140         (times): Likewise.
15142 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15144         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15145         sysdeps/unix/common/syscalls.list.
15146         (fchmod): Likewise.
15147         (fchown): Likewise.
15148         (ftruncate): Likewise.
15149         (getrusage): Likewise.
15150         (gettimeofday): Likewise.
15151         (setpgid): Likewise.
15152         (setregid): Likewise.
15153         (setreuid): Likewise.
15154         (sigaction): Likewise.
15155         (truncate): Likewise.
15156         (vhangup): Likewise.
15157         * sysdeps/unix/common/syscalls.list: Remove file.
15158         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15159         * sysdeps/unix/sysv/linux/Implies: Likewise.
15161 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15163         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15165         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15166         Moved to ...
15167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15168         Here.
15169         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15170         to ...
15171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15172         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15173         to ...
15174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15175         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15176         to ...
15177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15178         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15179         to ...
15180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15181         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15182         to ...
15183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15184         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15185         to ...
15186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15187         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15188         to ...
15189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15190         Here.
15191         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15192         to ...
15193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15194         Here.
15195         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15196         to ...
15197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15198         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15199         Moved to ...
15200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15201         Here.
15202         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15203         to ...
15204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15206 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15208         * sysdeps/unix/common/bits/dirent.h: Remove file.
15209         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15211         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15212         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15213         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15214         * sysdeps/unix/bsd/isatty.c: Likewise.
15215         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15216         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15217         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15219 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15221         [BZ #13563]
15222         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15223         long double comparison inaccuracies.
15224         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15227 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15229         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15230         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15232 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15234         [BZ #14049]
15235         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15236         nonzero digits before rounding a hex value.
15237         * stdlib/tst-strtod.c (tests): Add another test.
15239 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15241         * sysdeps/s390/fpu/libm-test-ulps: Update.
15243 2012-05-03  Andreas Jaeger  <aj@suse.de>
15245         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15246         does not get optimized out.
15247         (malloc_opt_barrier): New.
15249 2012-05-03  Andreas Jaeger  <aj@suse.de>
15250             Roland McGrath  <roland@hack.frob.com>
15252         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15253         intermediate file deletion.
15254         (generated): Add .symlist files.
15256 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
15258         [BZ #13775]
15259         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15260         Redirect under this condition.
15261         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15262         [__USE_GNU] (__dprintf_chk): Not under this condition.
15263         [__USE_GNU] (__vdprintf_chk): Likewise.
15264         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15265         under this condition.
15266         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15267         [__USE_XOPEN2K8] (dprintf): Define under this condition.
15268         [__USE_XOPEN2K8] (vdprintf): Likewise.
15269         [__USE_GNU] (__dprintf_chk): Not under this condition.
15270         [__USE_GNU] (__vdprintf_chk): Likewise.
15271         [__USE_GNU] (dprintf): Likewise.
15272         [__USE_GNU] (vdprintf): Likewise.
15274 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15276         * elf/Makefile (common-generated): Set this instead of generated for
15277         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15278         $(all-built-dso)-derived lists.
15280 2012-05-03  Andreas Jaeger  <aj@suse.de>
15282         * sysdeps/i386/fpu/libm-test-ulps: Update.
15284         * FAQ: Removed.
15285         * FAQ.in: Likewise.
15286         * scripts/gen-FAQ.pl: Likewise.
15287         * manual/install.texi (Installation): Point to online location of
15288         FAQ.
15289         * Makefile (files-for-dist): Remove FAQ.
15290         (FAQ): Remove.
15292 2012-05-02  Allan McRae  <allan@archlinux.org>
15294         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15295         (LDFLAGS-reldepmod5.so): Likewise.
15296         (LDFLAGS-reldep6mod1.so): Likewise.
15297         (LDFLAGS-reldep6mod4.so): Likewise.
15298         (LDFLAGS-reldep8mod3.so): Likewise.
15299         (LDFLAGS-unload4mod1.so): Likewise.
15300         (LDFLAGS-unload4mod2.so): Likewise.
15301         (LDFLAGS-tst-initorder): Likewise.
15302         (LDFLAGS-tst-initordera2.so): Likewise.
15303         (LDFLAGS-tst-initordera3.so): Likewise.
15304         (LDFLAGS-tst-initordera4.so): Likewise.
15305         (LDFLAGS-tst-initorderb2.so): Likewise.
15306         (LDFLAGS-noload): Likewise.
15307         (LDFLAGS-next): Likewise.
15308         (LDFLAGS-order2mod1.so): Likewise.
15309         (LDFLAGS-order2mod2.so): Likewise.
15310         (LDFLAGS-tst-initorder2): Likewise.
15311         (LDFLAGS-tst-initorder2a.so): Likewise.
15312         (LDFLAGS-tst-initorder2b.so): Likewise.
15313         (LDFLAGS-tst-initorder2c.so): Likewise.
15314         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15316 2012-05-02  David S. Miller  <davem@davemloft.net>
15318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15320 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15322         [BZ #14055]
15323         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15325 2012-05-02  Andreas Jaeger  <aj@suse.de>
15327         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15328         since we manipulate rounding mode.
15329         (CPPFLAGS-test-idouble.c): Likewise.
15330         (CPPFLAGS-test-ifloat.c): Likewise.
15331         (CFLAGS-test-ldouble.c): Likewise.
15332         (CFLAGS-test-double.c): Likewise.
15333         (CFLAGS-test-float.c): Likewise.
15334         (CFLAGS-test-misc.c): Likewise.
15335         (CFLAGS-test-test-fenv.c): Likewise.
15337 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15339         [BZ #2550]
15340         [BZ #2570]
15341         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15342         comparisons to determine direction to adjust input.
15344 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15346         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15347         output to the target.
15349         * scripts/localplt.awk: New file.
15350         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15351         (check-localplt-CFLAGS): Variable removed.
15352         ($(all-built-dso:=.jmprel)): New static pattern rule.
15353         (generated): Add those targets.
15354         (localplt-built-dso): New variable.
15355         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15357         * elf/check-localplt.c: File removed.
15359         * scripts/check-execstack.awk: New file.
15360         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15361         (check-execstack-CFLAGS): Variable removed.
15362         ($(objpfx)check-execstack.h): Target removed.
15363         ($(objpfx)execstack-default): New target.
15364         (generated): Add that instead of check-execstack.h.
15365         ($(all-built-dso:=.phdr)): New static pattern rule.
15366         (generated): Add those targets.
15367         * elf/check-execstack.c: File removed.
15369         * scripts/check-textrel.awk: New file.
15370         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15371         (check-textrel-CFLAGS): Variable removed.
15372         (all-built-dso): Use := to define.o
15373         ($(all-built-dso:=.dyn)): New static pattern rule.
15374         (generated): Add those targets.
15375         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15376         * config.make.in (READELF): New substituted variable.
15377         * elf/check-textrel.c: File removed.
15379 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15381         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15382         allow.
15383         * conform/data/ctype.h-data [C99-based standards] (isblank):
15384         Expect function.
15385         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15386         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15388         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15389         Specify type.  Require positive value.
15390         (EILSEQ): Likewise.
15391         (ERANGE): Likewise.
15392         [ISO || POSIX] (EILSEQ): Do not expect.
15393         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15394         Specify type.  Require positive value.
15395         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15396         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15397         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15398         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15399         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15400         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15401         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15402         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15403         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15404         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15405         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15406         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15407         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15408         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15409         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15410         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15411         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15412         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15413         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15414         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15415         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15416         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15417         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15418         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15419         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15420         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15421         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15422         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15423         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15424         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15425         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15426         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15427         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15428         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15429         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15430         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15431         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15432         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15433         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15434         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15435         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15436         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15438         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15440         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15441         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15442         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15443         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15444         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15446         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15447         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15448         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15449         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15450         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15451         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15452         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15453         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15456         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15457         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15462         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15463         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15464         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15465         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15466         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15467         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15468         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15469         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15470         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15471         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15472         Require >= 2.
15473         (FLT_ROUNDS): Expect as macro, not constant.
15474         (FLT_MANT_DIG): Use macro-int-constant.
15475         (DBL_MANT_DIG): Likewise.
15476         (LDBL_MANT_DIG): Likewise.
15477         (FLT_DIG): Likewise.
15478         (DBL_DIG): Likewise.
15479         (LDBL_DIG): Likewise.
15480         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15481         (DBL_MIN_EXP): Likewise.
15482         (LDBL_MIN_EXP): Likewise.
15483         (FLT_MAX_EXP): Use macro-int-constant.
15484         (DBL_MAX_EXP): Likewise.
15485         (LDBL_MAX_EXP): Likewise.
15486         (FLT_MAX_10_EXP): Likewise.
15487         (DBL_MAX_10_EXP): Likewise.
15488         (LDBL_MAX_10_EXP): Likewise.
15489         (FLT_MAX): Use macro-constant.
15490         (DBL_MAX): Likewise.
15491         (LDBL_MAX): Likewise.
15492         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15493         (DBL_EPSILON): Likewise.
15494         (LDBL_EPSILON): Likewise.
15495         (FLT_MIN): Likewise.
15496         (DBL_MIN): Likewise.
15497         (LDBL_MIN): Likewise.
15498         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15499         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15500         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15501         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15502         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15503         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15504         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15505         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15506         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15507         [ISO11] (FLT_TRUE_MIN): Likewise.
15508         [ISO11] (LDBL_TRUE_MIN): Likewise.
15509         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15510         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15511         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15512         (SCHAR_MAX): Likewise.
15513         (UCHAR_MAX): Likewise.
15514         (CHAR_MIN): Likewise.
15515         (CHAR_MAX): Likewise.
15516         (MB_LEN_MAX): Use macro-int-constant.
15517         (SHRT_MIN): Use macro-int-constant.  Specify type.
15518         (SHRT_MAX): Likewise.
15519         (USHRT_MAX): Likewise.
15520         (INT_MAX): Likewise.
15521         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15522         bound negative.
15523         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15524         bound with "U".
15525         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15526         bound with "L".
15527         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15528         bound negative.  Suffix upper bound with "L".
15529         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15530         bound with "UL".
15531         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15532         Specify type.
15533         [C99-based standards] (LLONG_MAX): Likewise.
15534         [C99-based standards] (ULLONG_MAX): Likewise.
15535         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15536         == 0.
15537         [ISO11] (max_align_t): Require type.
15538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15540         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15541         from $CFLAGS, without defining away __attribute__ calls.
15542         (checknamespace): Use $CFLAGS_namespace.
15544         * conform/conformtest.pl (@keywords): Only include C99 keywords
15545         for standards based on C99 or C11.
15547         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15548         Disable tests.
15549         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15550         UNIX98]: Likewise.
15552         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15553         usability of symbols in #if.
15555         * conform/conformtest.pl: If macro or constant types start
15556         "promoted:", expect the symbol to be of the following type
15557         promoted by the integer promotions.
15559         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15560         in one place.  Also handle "macro-constant".
15562         * conform/conformtest.pl: Only accept expected macro values with
15563         "==".  Parse all "macro" lines in one place.
15564         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15566         * conform/conformtest.pl: Handle braced types on "constant" lines
15567         instead of handling "typed-constant".
15568         * conform/data/signal.h-data: Use "constant" instead of
15569         "typed-constant".
15571         * conform/conformtest.pl: Handle "optional-" at start of lines in
15572         one place rather than duplicating several cases.  Handle each
15573         format of "macro" line with initial "optional-".
15575         * conform/conformtest.pl: Only accept expected constant or
15576         optional-constant values with "==".  Parse all "constant" lines in
15577         one place.  Parse all "optional-constant" lines in one place.
15578         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15579         * conform/data/fmtmsg.h-data: Likewise.
15580         * conform/data/netinet/in.h-data: Likewise.
15581         * conform/data/tar.h-data: Likewise.
15582         * conform/data/limits.h-data: Use "==" form on "constant" and
15583         "optional-constant" lines.
15585         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15586         Use -std=c99 for XOPEN2K.
15587         (@knownproblems): Remove.
15588         (newtoken): Don't check %isknown.
15590         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15591         Do not expect macro.
15592         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15593         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15594         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15595         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15596         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15597         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15598         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15599         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15600         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15601         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15602         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15603         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15604         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15605         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15606         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15607         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15608         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15609         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15610         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15611         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15612         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15613         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15614         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15615         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15616         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15617         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15618         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15619         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15620         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15621         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15622         [XPG3] (acosh): Likewise.
15623         [XPG3] (asinh): Likewise.
15624         [XPG3] (atanh): Likewise.
15625         [XPG3] (cbrt): Likewise.
15626         [XPG3] (expm1): Likewise.
15627         [XPG3] (ilogb): Likewise.
15628         [XPG3] (log1p): Likewise.
15629         [XPG3] (logb): Likewise.
15630         [XPG3] (nextafter): Likewise.
15631         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15632         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15633         [XPG3] (remainder): Likewise.
15634         [XPG3] (rint): Likewise.
15635         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15636         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15637         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15638         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15639         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15640         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15641         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15642         [UNIX98 || XOPEN2K] (scalb): Expect.
15643         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15644         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15645         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15646         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15647         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15648         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15649         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15650         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15651         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15652         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15653         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15654         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15655         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15656         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15657         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15658         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15659         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15660         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15661         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15662         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15663         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15664         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15665         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15666         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15667         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15668         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15669         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15670         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15671         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15672         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15673         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15674         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15675         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15676         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15677         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15678         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15679         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15680         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15681         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15682         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15683         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15684         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15685         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15686         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15687         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15688         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15689         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15690         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15691         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15692         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15693         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15694         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15695         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15696         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15697         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15698         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15699         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15700         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15701         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15702         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15703         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15704         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15705         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15706         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15707         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15708         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15709         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15710         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15711         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15712         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15713         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15714         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15715         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15716         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15717         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15718         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15719         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15720         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15721         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15722         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15723         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15724         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15725         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15726         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15727         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15728         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15729         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15730         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15731         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15732         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15733         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15734         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15735         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15736         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15737         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15738         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15739         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15740         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15741         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15742         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15743         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15744         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15745         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15746         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15747         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15748         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15749         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15750         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15751         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15752         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15753         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15754         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15755         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15756         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15757         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15758         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15759         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15760         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15761         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15762         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15763         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15764         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15765         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15766         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15767         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15768         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15769         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15770         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15771         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15772         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15773         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15774         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15775         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15776         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15777         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15778         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15779         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15781         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15782         _XOPEN_SOURCE_EXTENDED for XPG4.
15784         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15786         * Makeconfig (localtime): Remove variable.
15787         (inst_localtime-file): Likewise.
15789 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15792         Update.
15793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15794         Update.
15795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15796         Update.
15797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15798         Update.
15799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15800         Update.
15801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15802         Update.
15803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15804         Update.
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15806         Update.
15807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15808         Update.
15810 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15812         [BZ #2550]
15813         [BZ #2570]
15814         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15815         comparisons to determine direction to adjust input.
15816         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15817         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15818         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15819         Likewise.
15820         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15821         Likewise.
15822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15823         Likewise.
15824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15826         Likewise.
15827         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15828         Likewise.
15829         * math/libm-test.inc (nexttoward_test): Add more tests.
15831 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15833         [BZ #14040]
15834         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15835         in version GLIBC_2.1, not GLIBC_2.0.
15836         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15837         Likewise.
15839 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15841         [BZ #13942]
15842         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15843         (1 - x) * (1 + x).
15844         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15845         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15846         * math/libm-test.inc (acos_test): Add more tests.
15847         (asin_test): Likewise.
15848         * sysdeps/i386/fpu/libm-test-ulps: Update.
15849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15851         [BZ #14034]
15852         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15853         of square root.
15854         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15855         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15856         * math/libm-test.inc (acos_test_tonearest): New function.
15857         (acos_test_towardzero): Likewise.
15858         (acos_test_downward): Likewise.
15859         (acos_test_upward): Likewise.
15860         (asin_test_tonearest): Likewise.
15861         (asin_test_towardzero): Likewise.
15862         (asin_test_downward): Likewise.
15863         (asin_test_upward): Likewise.
15864         (main): Call the new functions.
15865         * sysdeps/i386/fpu/libm-test-ulps: Update.
15866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15868         [BZ #13884]
15869         [BZ #13924]
15870         * math/e_exp10.c: Include <float.h>.
15871         (__ieee754_exp10): Handle underflow here rather than multiplying
15872         large negative argument by M_LN10.
15873         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15874         of __ieee754_expf.
15875         * math/e_exp10l.c: Include <float.h>.
15876         (__ieee754_exp10l): Handle underflow here rather than multiplying
15877         large negative argument by M_LN10l.
15878         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15879         spurious overflow exception on underflow.
15881 2012-04-29  Marek Polacek  <polacek@redhat.com>
15883         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15884         (__fortify_function): New macro.
15885         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15886         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15887         __extern_always_inline.
15888         * libio/bits/stdio2.h: Likewise.
15889         * libio/bits/stdio.h: Likewise.
15890         * string/string.h: Likewise.
15891         * string/bits/string3.h: Likewise.
15892         * include/stdio.h: Likewise.
15893         * stdlib/bits/stdlib.h: Likewise.
15894         * stdlib/stdlib.h: Likewise.
15895         * rt/bits/mqueue2.h: Likewise.
15896         * rt/mqueue.h: Likewise.
15897         * posix/bits/unistd.h: Likewise.
15898         * posix/unistd.h: Likewise.
15899         * io/bits/poll2.h: Likewise.
15900         * io/bits/fcntl2.h: Likewise.
15901         * io/fcntl.h: Likewise.
15902         * io/sys/poll.h: Likewise.
15903         * misc/bits/syslog.h: Likewise.
15904         * misc/bits/syslog-ldbl.h: Likewise.
15905         * misc/sys/syslog.h: Likewise.
15906         * socket/bits/socket2.h: Likewise.
15907         * socket/sys/socket.h: Likewise.
15908         * debug/tst-chk1.c: Likewise.
15909         * wcsmbs/bits/wchar2.h: Likewise.
15910         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15911         * wcsmbs/wchar.h: Likewise.
15913 2012-04-29  Andreas Jaeger  <aj@suse.de>
15915         * Makerules (tests): Remove enable-check-abi protection.
15916         (check-abi-warn): Remove.
15917         (check-abi-%): Remove check-abi-warn usage.
15919         * configure.in: Remove check-abi configure option.
15920         * configure: Regenerated.
15921         * config.make.in (enable-check-abi): Remove.
15923 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15925         [BZ #14033]
15926         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15927         double functions to double *_finite functions.
15929         [BZ #13941]
15930         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15931         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15932         LDBL_MIN_EXP.
15933         * stdio-common/Makefile (tests): Add tst-sprintf3.
15934         * stdio-common/tst-sprintf3.c: New file.
15936         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15937         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15939 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15941         * conform/conformtest.pl: Remove duplicate typed-constant
15942         handling.
15944 2012-04-28  David S. Miller  <davem@davemloft.net>
15946         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15947         (check-abi-%): Remove AWK script prerequisite and explicit
15948         abilist directory.
15949         (check-abi): Rewrite to just diff the symlist with the abilist.
15950         (config-tls, config-abi-config): Delete, no longer used.
15951         (update-abi-%): Remove AWK script and explicit abilist directory.
15952         (update-abi): Rewrite to simply compare and conditionally copy the
15953         symlist and the sysdep abilist file.  Remove update-abi-config
15954         checks.
15955         * abilist/ld.abilist: Remove.
15956         * abilist/libBrokenLocale.abilist: Remove.
15957         * abilist/libanl.abilist: Remove.
15958         * abilist/libcrypt.abilist: Remove.
15959         * abilist/libdl.abilist: Remove.
15960         * abilist/librt.abilist: Remove.
15961         * abilist/libthread_db.abilist: Remove.
15962         * abilist/libutil.abilist: Remove.
15963         * scripts/extract-abilist.awk: Remove.
15964         * scripts/merge-abilist.awk: Remove.
15965         * sysdeps/generic/libcidn.abilist: New file.
15966         * sysdeps/generic/libnss_compat.abilist: New file.
15967         * sysdeps/generic/libnss_db.abilist: New file.
15968         * sysdeps/generic/libnss_dns.abilist: New file.
15969         * sysdeps/generic/libnss_files.abilist: New file.
15970         * sysdeps/generic/libnss_hesiod.abilist: New file.
15971         * sysdeps/generic/libnss_nis.abilist: New file.
15972         * sysdeps/generic/libnss_nisplus.abilist: New file.
15973         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15974         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15975         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15976         file.
15977         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15978         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15979         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15980         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15981         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15982         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15983         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15984         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15985         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15986         file.
15987         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15988         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15989         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15990         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15991         file.
15992         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15993         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15994         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15995         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15996         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15997         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15998         file.
15999         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16000         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16001         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16002         file.
16003         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16005         New file.
16006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16007         New file.
16008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16009         New file.
16010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16011         New file.
16012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16013         New file.
16014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16015         New file.
16016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16017         New file.
16018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16019         New file.
16020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16021         New file.
16022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16023         New file.
16024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16025         New file.
16026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16027         New file.
16028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16029         New file.
16030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16031         file.
16032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16033         New file.
16034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16035         New file.
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16037         file.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16039         New file.
16040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16041         New file.
16042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16043         file.
16044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16045         New file.
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16047         New file.
16048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16049         New file.
16050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16051         New file.
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16053         New file.
16054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16055         New file.
16056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16058         file.
16059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16060         New file.
16061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16062         file.
16063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16064         file.
16065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16066         file.
16067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16068         file.
16069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16070         file.
16071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16072         New file.
16073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16074         file.
16075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16076         file.
16077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16078         New file.
16079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16080         file.
16081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16083         file.
16084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16085         New file.
16086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16087         file.
16088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16089         file.
16090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16091         file.
16092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16093         file.
16094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16095         file.
16096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16097         New file.
16098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16099         file.
16100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16101         file.
16102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16103         New file.
16104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16105         file.
16106         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16107         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16108         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16109         file.
16110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16111         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16112         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16113         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16114         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16115         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16116         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16117         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16118         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16119         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16122         file.
16123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16124         New file.
16125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16126         file.
16127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16128         file.
16129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16130         file.
16131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16132         file.
16133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16134         file.
16135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16136         New file.
16137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16138         New file.
16139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16140         file.
16141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16142         New file.
16143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16144         file.
16145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16147         file.
16148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16149         New file.
16150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16151         file.
16152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16153         file.
16154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16155         file.
16156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16157         file.
16158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16159         file.
16160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16161         New file.
16162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16163         New file.
16164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16165         file.
16166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16167         New file.
16168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16169         file.
16171 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16173         * conform/conformtest.pl: Fix typo in handling typed-constant from
16174         allow-header.
16176 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16178         * README: Cut down references to pre-2.6 Linux kernels and
16179         Linuxthreads.  Update lists of configurations in libc and ports
16180         and sort alphabetically.  Say "or newer" with Linux kernel version
16181         requirements.
16183         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16185 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16187         [BZ #887]
16188         * math/libm-test.inc (logb_test_downward): New test to expose
16189         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16190         rounding mode.
16192 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16194         [BZ #14027]
16195         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16196         to be done.
16197         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16198         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16200 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16202         * sysdeps/unix/i386/brk.S: Remove file.
16203         * sysdeps/unix/i386/dl-brk.S: Likewise.
16204         * sysdeps/unix/i386/pipe.S: Likewise.
16205         * sysdeps/unix/i386/sigreturn.S: Likewise.
16206         * sysdeps/unix/i386/syscall.S: Likewise.
16207         * sysdeps/unix/i386/vfork.S: Likewise.
16208         * sysdeps/unix/i386/wait.S: Likewise.
16210         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16211         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16213         * configure.in (arm*-none*): Do not allow without
16214         --enable-hacker-mode.
16215         (netbsd*): Remove case setting base_os.
16216         (386bsd*): Likewise.
16217         (freebsd*): Likewise.
16218         (bsdi*): Likewise.
16219         (osf*): Likewise.
16220         (sunos*): Likewise.
16221         (ultrix*): Likewise.
16222         (newsos*): Likewise.
16223         (dynix*): Likewise.
16224         (*bsd*): Likewise.
16225         (sysv*): Likewise.
16226         (isc*): Likewise.
16227         (esix*): Likewise.
16228         (sco*): Likewise.
16229         (minix*): Likewise.
16230         (irix4*): Likewise.
16231         (irix6*): Likewise.
16232         (solaris[2-9]*): Likewise.
16233         (none): Likewise.
16234         * configure: Regenerated.
16236 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16238         [BZ #11521]
16239         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16240         overflow or cancellation in calculating denominator.
16241         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16243         down expression to avoid unexpected rounding in newer GCCs.
16244         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16246 2012-04-26  David S. Miller  <davem@davemloft.net>
16248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16249         long-double compat symbols.
16250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16264 2012-04-25  David S. Miller  <davem@davemloft.net>
16266         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16267         HWCAP_* values only after the memory barriers have been defined.
16268         (atomic_full_barrier): Define.
16269         (atomic_read_barrier): Define.
16270         (atomic_write_barrier): Define.
16272 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16274         * shlib-versions: Add libgcc_s version information.
16275         * sysdeps/generic/libgcc_s.h: Remove.
16276         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16277         libgcc_s.h.
16278         * sysdeps/gnu/unwind-resume.c: Likewise.
16279         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16281 2012-04-25  David S. Miller  <davem@davemloft.net>
16283         * sysdeps/unix/sparc/brk.S: Delete.
16284         * sysdeps/unix/sparc/dl-brk.S: Delete.
16285         * sysdeps/unix/sparc/pipe.S: Delete.
16286         * sysdeps/unix/sparc/sysdep.S: Delete.
16287         * sysdeps/unix/sparc/sysdep.h: Delete.
16288         * sysdeps/unix/sparc/vfork.S: Delete.
16289         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16290         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16291         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16292         ret_ERRVAL, r0, r1, MOVE): Define.
16293         (JUMPTARGET): Remove.
16294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16295         sysdeps/unix/sparc/sysdep.h
16296         (ENTRY, END): Remove.
16297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16299 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16301         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16302         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16303         -DIS_IN_build.
16305         * timezone/README: Update upstream location and email address for
16306         tzcode and tzdata.
16307         * timezone/zdump.c: Update from tzcode 2012b.
16308         * timezone/zic.c: Likewise.
16310         * configure.in (libc_cv_as_needed): Remove test.
16311         * configure: Regenerated.
16312         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16313         conditional definition.
16314         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16315         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16316         * config.make.in (have-as-needed): Remove variable.
16318 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16319             Paul Pluzhnikov  <ppluzhnikov@google.com>
16321         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16322         strings correctly.
16324 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16326         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16327         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16328         * sysdeps/sh/strlen.S: Likewise.
16330 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16332         * sysdeps/unix/fork.S: Remove file.
16333         * sysdeps/unix/i386/fork.S: Likewise.
16334         * sysdeps/unix/sparc/fork.S: Likewise.
16336         * sysdeps/unix/system.c: Remove file.
16337         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16339         * sysdeps/unix/getegid.S: Remove file.
16340         * sysdeps/unix/geteuid.S: Likewise.
16342 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16344         * scripts/check-localplt.awk: New file.
16345         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16346         of diff.
16347         * scripts/data/localplt-generic.data: Add a comment.
16349         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16350         NODE when __dir_mkfile failed.
16351         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16352         Reported by Ludovic Courtès <ludo@gnu.org>.
16354 2012-04-24  Andreas Jaeger  <aj@suse.de>
16356         * Makerules (common-clean): Also remove gen-as-const-headers
16357         files.
16359 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16361         * Makerules (native-compile): Do not change working directory for
16362         build.  Use $(OUTPUT_OPTION) in command.
16363         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16365 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16367         [BZ #13886]
16368         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16369         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16370         * math/libm-test.inc (floor_test): Add more tests.
16371         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16375         * sysdeps/unix/getdents.c: Remove file.
16376         * sysdeps/unix/sysv/getdents.c: Likewise.
16377         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16379         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16380         sysdeps/unix/mman/syscalls.list.
16381         (mmap): Likewise.
16382         (mprotect): Likewise.
16383         (msync): Likewise.
16384         (munmap): Likewise.
16385         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16386         * sysdeps/unix/mman/syscalls.list: Remove.
16387         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16389         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16390         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16391         * configure: Regenerated.
16392         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16393         $(libgcc_s_suffix).
16394         * config.make.in (libgcc_s_suffix): Remove variable.
16396 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16398         * sysdeps/unix/sysv/gethostname.c: Move to ...
16399         * sysdeps/posix/gethostname.c: ... here.
16401         * sysdeps/unix/execve.S: Remove file.
16403         * sysdeps/unix/_exit.S: Remove file.
16405 2012-04-23  Andreas Jaeger  <aj@suse.de>
16407         [BZ #13739]
16408         * manual/Makefile: Remove make dist support, there's no
16409         need for a stand-alone documentation tar ball.
16410         (TEXI2DVI): Define always, it's not in Makeconfig.
16411         (dist): Removed.
16412         (tar-it): Removed.
16413         (edition): Removed.
16414         (glibc-doc-$(edition).tar): Removed
16415         (%.Z): Removed.
16416         (%.gz): Removed.
16417         (%.uu): Removed.
16418         (ETAGS): Remove, it's in Makeconfig.
16419         (move-if-change): Remove, it's in Makeconfig.
16421 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16423         [BZ #13970]
16424         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16425         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16426         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16427         (strtod_l, strtof_l, strtold_l): Remove __wur.
16428         It is not necessarily an error to ignore strtol's return value.
16429         One can reliably look at the stored endptr to decide whether
16430         the number had valid syntax.
16432 2012-04-21  Andreas Jaeger  <aj@suse.de>
16434         [BZ #13739]
16435         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16437 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16439         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16440         * sysdeps/unix/sysv/Versions: Remove file.
16442 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16444         [BZ #13927]
16445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16447 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16449         [BZ #7064]
16450         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16451         version from __vm86.
16453 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16455         * sysdeps/unix/common/lxstat.c: Remove file.
16456         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16458         * sysdeps/unix/sysv/Makefile: Remove file.
16460         * sysdeps/unix/sysv/direct.h: Remove file.
16462         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16463         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16464         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16465         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16466         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16467         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16468         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16470         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16472         * sysdeps/unix/xmknod.c: Remove file.
16473         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16475         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16477         * sysdeps/unix/sysv/i386/time.S: Remove file.
16479         * sysdeps/unix/fxstat.c: Remove file.
16480         * sysdeps/unix/xstat.c: Likewise.
16481         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16483         * sysdeps/unix/sysv/sigaction.c: Remove file.
16485         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16486         (sysdep_headers): Remove variable.
16487         [termio.h not in sysdep_headers] (generated): Likewise.
16488         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16489         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16490         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16491         * sysdeps/unix/sysv/tcflow.c: Likewise.
16492         * sysdeps/unix/sysv/tcflush.c: Likewise.
16493         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16494         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16495         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16496         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16497         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16499         * sysdeps/unix/siglist.c: Remove file.
16501         * sysdeps/unix/getppid.S: Remove file.
16503         * sysdeps/unix/mkdir.c: Remove file.
16504         * sysdeps/unix/rmdir.c: Likewise.
16506 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16508         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16509         ERR_MAX value.
16510         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16511         errlist-compat value.
16513 2012-04-18  David S. Miller  <davem@davemloft.net>
16515         * sysdeps/generic/memcopy.h (reg_char): Delete.
16516         * debug/strcat_chk.c: Use char, not reg_char.
16517         * debug/strcpy_chk.c: Likewise.
16518         * debug/strncat_chk.c: Likewise.
16519         * debug/strncpy_chk.c: Likewise.
16520         * string/memchr.c: Likewise.
16521         * string/memrchr.c: Likewise.
16522         * string/rawmemchr.c: Likewise.
16523         * string/strcat.c: Likewise.
16524         * string/strchr.c: Likewise.
16525         * string/strchrnul.c: Likewise.
16526         * string/strcmp.c: Likewise.
16527         * string/strcpy.c: Likewise.
16528         * string/strncat.c: Likewise.
16529         * string/strncmp.c: Likewise.
16530         * string/strncpy.c: Likewise.
16532 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16534         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16535         __builtin_memcopy is called when src and dest ranges are known to not
16536         overlap.
16538 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16540         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16541         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16542         fwd_align_merge macro call.
16543         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16544         bwd_align_merge macro call.
16545         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16547 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16549         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16550         bwd_align_merge macros.
16551         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16552         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16553         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16555 2012-04-18  David S. Miller  <davem@davemloft.net>
16557         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16559 2012-04-18  Andreas Jaeger  <aj@suse.de>
16561         [BZ# 6794]
16562         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16563         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16564         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16566         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16567         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16568         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16570         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16571         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16572         Adjust for changed ldbl-128 files.
16574         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16575         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16576         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16578 2012-04-17  David S. Miller  <davem@davemloft.net>
16580         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16582 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16584         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16585         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16586         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16587         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16588         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16589         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16591 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16593         [BZ #6794]
16594         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16595         * math/libm-test.inc: Add ilogb errno and exception tests.
16596         * math/w_ilogb.c: New file: ilogb wrapper.
16597         * math/w_ilogbf.c: New file: ilogbf wrapper.
16598         * math/w_ilogbl.c: New file: ilogbl wrapper.
16599         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16600         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16601         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16602         exception being thrown with 0.0 as argument.
16603         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16604         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16605         exception being thrown with 0.0 as argument.
16606         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16607         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16608         exception being thrown with 0.0 as argument.
16609         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16610         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16611         exception being thrown with 0.0 as argument.
16612         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16613         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16614         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16615         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16616         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16617         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16618         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16619         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16620         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16622 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16624         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16625         with altivec.
16627 2012-04-16  Marek Polacek  <polacek@redhat.com>
16629         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16631 2012-04-16  Marek Polacek  <polacek@redhat.com>
16633         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16634         operands of fdivp instruction.
16636 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16638         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16639         * elf/tst-auditmod3b.c: Likewise.
16640         * elf/tst-auditmod4b.c: Likewise.
16641         * elf/tst-auditmod5b.c: Likewise.
16642         * elf/tst-auditmod6b.c: Likewise.
16643         * elf/tst-auditmod6c.c: Likewise.
16644         * elf/tst-auditmod7b.c: Likewise.
16645         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16646         * sysdeps/x86_64/preconfigure.in: Likewise.
16647         * sysdeps/x86_64/preconfigure: Regenerated.
16649 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16651         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16652         __ILP32__.
16654 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16656         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16657         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16659 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16661         [BZ #13973]
16662         * locale/iso-639.def: Fix gl language name. Spotted by
16663         Yaron Shahrabani.
16665 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16667         [BZ #2074]
16668         * libio/libio.h (__io_write_fn): Update comment.
16670 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16672         [BZ #2074]
16673         * stdio.texi (Hook Functions): The user provided writer function
16674         is not allowed to return -1.
16676 2012-04-11  David S. Miller  <davem@davemloft.net>
16678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16680 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16682         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16683         Add a leading slash to rtkaio.
16685 2012-04-11  Jim Meyering  <meyering@redhat.com>
16687         [BZ #11959]
16688         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16689         It is not necessarily an error to ignore fwrite's return
16690         value.  One can reliably use ferror to test for errors after
16691         the fact.
16693 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16695         * bits/types.h (__snseconds_t): New type.
16696         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16698         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16700         (__SNSECONDS_T_TYPE): Likewise.
16701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16702         (__SNSECONDS_T_TYPE): Likewise.
16703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16704         (__SNSECONDS_T_TYPE): Likewise.
16706 2012-04-10  Andreas Jaeger  <aj@suse.de>
16708         [BZ #2636]
16709         * manual/time.texi (Processor Time): Return type of times is
16710         elapsed real time since an arbitrary point in the past.
16711         (CPU Time): Move CLK_TCK from here...
16712         (Processor Time): ...to here.  Correct description.
16713         * manual/conf.texi (Constants for Sysconf): Correct description of
16714         _SC_CLK_TCK.
16716 2012-04-10  David S. Miller  <davem@davemloft.net>
16718         [BZ #13967]
16719         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16720         where the is a gap between DT_REL(A) and DT_JMPREL.
16722 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16724         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16725         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16726         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16728 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16730         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16731         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16732         (dl_main): Handle --inhibit-cache.
16733         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16734         _dl_inhibit_cache.
16735         * elf/dl-load.c (_dl_map_object): Use it.
16736         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16738 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16740         [BZ #13872]
16741         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16742         (__ieee754_powl): Saturate large exponents rather than testing for
16743         overflow of y*log2(x).
16744         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16745         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16746         exceptions.
16748         [BZ #11521]
16749         * math/s_ctan.c: Include <float.h>.
16750         (__ctan): Avoid internal overflow or cancellation in calculating
16751         denominator.
16752         * math/s_ctanf.c: Likewise.
16753         * math/s_ctanl.c: Likewise.
16754         * math/s_ctanh.c: Likewise.
16755         * math/s_ctanhf.c: Likewise.
16756         * math/s_ctanhl.c: Likewise.
16757         * math/libm-test.inc (ctan_test): Add more tests.
16758         (ctanh_test): Likewise.
16759         * sysdeps/i386/fpu/libm-test-ulps: Update.
16760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16762 2012-04-09  Andreas Jaeger  <aj@suse.de>
16764         [BZ #6894]
16765         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16766         is an optional BSD extension.
16768         [BZ #10254]
16769         * manual/stdio.texi (Opening Streams): Document additional fopen
16770         parameters.
16772 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16774         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16775         %eax without telling the compiler.
16777 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16779         [BZ # 13963]
16780         * manual/install.texi: Use sourceware.org.
16782 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16784         [BZ #13873]
16785         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16786         (__ieee754_pow): Generate overflow and underflow using huge*huge
16787         and tiny*tiny rather than just returning constant infinity or zero
16788         for large exponents.
16789         * math/libm-test.inc (pow_test): Require overflow exceptions for
16790         applicable cases of large exponents.
16792         [BZ #706]
16793         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16794         (__ieee754_pow): Use iterative multiplication algorithm only for
16795         integer exponents with absolute value below 1024.  Check for odd
16796         integer exponents when using algorithm for real exponents.
16797         * math/libm-test.inc (pow_test): Add more tests.
16798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16800 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16802         [BZ #13705]
16803         * math/libm-test.inc (exp_test): Do not allow overflow exception
16804         on underflow test.
16806 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16808         [BZ #13705]
16809         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16810         instead of __kernel_standard_f.
16812 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16814         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16815         * sysdeps/x86_64/memset_chk.S: Likewise.
16817 2012-04-08  Andreas Jaeger  <aj@suse.de>
16819         [BZ #10153]
16820         * manual/startup.texi (Environment Access): Describe return value
16821         for putenv and setenv.
16823         [BZ #6895]
16824         * manual/filesys.texi (Directory Entries): Add description for
16825         DT_LNK.
16827         [BZ #6890]
16828         * manual/filesys.texi (Directory Entries): Clarify that it's file
16829         system not operating system in the description of DT_UNKNOWN.
16831         [BZ #6578]
16832         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16834 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16836         [BZ #6649]
16837         * manual/llio.texi (Opening and Closing Files): Add cross
16838         reference to explain mode argument.
16840 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16842         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16843         * sysdeps/x86_64/memset_chk.S: Likewise.
16845 2012-04-07  David S. Miller  <davem@davemloft.net>
16847         * elf/elf.h (R_SPARC_WDISP10): Define.
16848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16849         R_SPARC_SIZE32.
16850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16851         R_SPARC_SIZE64 and R_SPARC_H34.
16853 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16855         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16856         conditions and remove no longer applicable assertion.
16858 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16860         * bits/byteswap.h: Include <features.h>.
16861         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16862         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16864 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16866         * bits/byteswap.h (__bswap_16): Removed.
16867         Include <bits/byteswap-16.h> to get __bswap_16.
16868         * sysdeps/i386/bits/byteswap.h: Likewise.
16869         * sysdeps/s390/bits/byteswap.h: Likewise.
16870         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16871         * bits/byteswap-16.h: New file.
16872         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16873         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16874         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16875         * string/Makefile (headers): Add bits/byteswap-16.h.
16877 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16879         [BZ #13895]
16880         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16881         extra indirection.
16882         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16883         * nss/tst-nss-static.c: New.
16885 2012-04-06  Robert Millan  <rmh@gnu.org>
16887         [BZ #6486]
16888         * manual/llio.texi (File Position Primitive): lseek
16889         refers to WHENCE when it really means OFFSET.
16891 2012-04-06  Andreas Jaeger  <aj@suse.de>
16893         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16894         strncmp declarations.
16896         * abilist/libc.abilist: Add __poll and __ppoll.
16898 2012-04-05  David S. Miller  <davem@davemloft.net>
16900         * scripts/check-local-headers.sh: Accept a host triplet in the
16901         path matched by the exclude regexp.
16903         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16904         definition.
16905         * sysdeps/powerpc/powerpc32/dl-machine.h
16906         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16907         * sysdeps/s390/s390-32/dl-machine.h
16908         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16909         * sysdeps/sparc/sparc32/dl-machine.h
16910         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16911         * sysdeps/sparc/sparc64/dl-machine.h
16912         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16914         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16915         lazy binding.
16916         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16917         undefined symbol errors.
16919         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16920         DT_NEEDED entries.
16922 2012-04-05  Michael Matz  <matz@suse.de>
16924         [BZ #13592]
16925         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16927 2012-04-05  Andreas Jaeger  <aj@suse.de>
16929         [BZ #13908]
16930         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16931         comment.
16933 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16935         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16936         which ROUND is no valid rounding mode.
16938 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16940         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16941         read again.
16942         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16944 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16946         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16947         an exception using FPU order intentionally.
16949 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16951         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16952         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16953         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16954         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16956 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16958         [BZ #12340]
16959         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16960         EINVAL when BUFLEN is too smal.
16962 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16964         [BZ #13553]
16965         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16966         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16968 2012-04-03  Andreas Jaeger  <aj@suse.de>
16970         [BZ #13938]
16971         * manual/setjmp.texi (System V contexts): Fix sentence.
16973         [BZ #13926]
16974         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16975         New macro for this case.
16976         [!__GNUC__] (__bswap_64): New inline function for this case.
16977         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16978         * bits/byteswap.h: Likewise.
16979         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16980         ull, guard with __GLIBC_HAVE_LONG_LONG.
16982         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16983         __GLIBC_HAVE_LONG_LONG.
16985         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16986         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16990         [BZ #13691]
16991         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16992         inptr and inend, rather than using last_ch.
16994 2012-04-02  David S. Miller  <davem@davemloft.net>
16996         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16997         * stdio-common/printf-parse.h (read_int): Change return type to
16998         'int', return -1 on INT_MAX overflow.
16999         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17000         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17001         overflows INT_MAX.  Check for overflow of in-format-string precision
17002         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17003         SIZE_MAX not INT_MAX for integer overflow test.
17004         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17005         skip the construct in the format string but do not record anything.
17006         * stdio-common/bug22.c: Adjust to test both width/prevision
17007         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17008         explicitly for proper errno values.
17010 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17012         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17013         CHAR_MAX.
17014         * string/test-strcmp.c [! WIDE]: Likewise.
17015         * time/tst-mktime2.c: Likewise for INT_MAX.
17016         * string/test-string.h: #include <sys/param.h> for MIN.
17018         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17019         * sysdeps/i386/init-first.c (init): Likewise.
17020         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17021         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17022         * sysdeps/sh/init-first.c (init): Likewise.
17024 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17026         * po/ru.po: Update from translation team.
17027         * po/vi.po: Likewise.
17029 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17031         * resolv/nss_dns/dns-host.c: Merge copyright years.
17033 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17035         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17036         Optimize memcpy with prefetch if
17037         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17038         src, dst pointers have unequal 16 byte alignments.
17040 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17042         [BZ #13928]
17043         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17044         from a CNAME entry and return the minimum ttl for the query.
17045         (gaih_getanswer_slice): Likewise.
17047 2012-03-30  Jeff Law  <law@redhat.com>
17049         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17050         due to long keys.
17051         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17052         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17054         * resolv/nss_dns/dns-host.c: Update copyright year.
17056 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17058         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17059         requests to save a system call.  Fix check that all bytes are sent.
17061         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17062         comments for sendmmsg.
17064 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17066         [BZ #13691]
17067         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17068         with only 1 character between 0x0041 and 0x01b0.
17069         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17070         * wcsmbs/tst-mbsnrtowcs.c: New file.
17072 2012-03-29  David S. Miller  <davem@davemloft.net>
17074         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17075         small copies by hand.
17077 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17079         [BZ #13761]
17080         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17081         _nss_compat_initgroups_dyn): Fall back to malloc/free
17082         for large group memberships.
17084 2012-03-28  David S. Miller  <davem@davemloft.net>
17086         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17087         that branches into memcpy.
17088         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17089         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17090         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17091         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17092         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17093         bits.
17094         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17095         implementation too.
17096         * sysdeps/sparc/mempcpy.S: New file.
17098         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17099         the IFUNC routine in the libc case.
17100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17102         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17103         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17104         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17105         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17106         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17107         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17108         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17109         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17111         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17112         loop to 256 bytes instead of 64 bytes and fix test signedness.
17114         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17115         * sysdeps/sparc/sparc32/Makefile: rather than here...
17116         * sysdeps/sparc/sparc64/Makefile: and here.
17118 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17120         * malloc/mallocbug.c: Avoid warnings about unused variables.
17122 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17124         [BZ #13760]
17125         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17126         in the right place. Discard and retry query if response is
17127         larger than input buffer size.
17129 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17131         [BZ #369]
17132         [BZ #2678]
17133         [BZ #3866]
17134         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17135         x for large integer exponent.
17136         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17137         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17138         sign of result as needed afterwards.
17139         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17140         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17141         result for underflowing pow the same as for overflow.
17142         (__kernel_standard_l): Handle powl overflow and underflow here
17143         rather than calling __kernel_standard.
17144         * math/libm-test.inc (pow_test): Add more tests.
17146         [BZ #3868]
17147         [BZ #13879]
17148         [BZ #13910]
17149         [BZ #13911]
17150         [BZ #13912]
17151         [BZ #13913]
17152         [BZ #13915]
17153         [BZ #13916]
17154         [BZ #13917]
17155         [BZ #13918]
17156         [BZ #13919]
17157         [BZ #13920]
17158         [BZ #13921]
17159         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17160         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17161         (__kernel_standard_l): New function.
17162         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17163         __kernel_standard.
17164         * math/w_acosl.c (__acosl): Likewise.
17165         * math/w_asinl.c (__asinl): Likewise.
17166         * math/w_atan2l.c (__atan2l): Likewise.
17167         * math/w_atanhl.c (__atanhl): Likewise.
17168         * math/w_coshl.c (__coshl): Likewise.
17169         * math/w_exp10l.c (__exp10l): Likewise.
17170         * math/w_exp2l.c (__exp2l): Likewise.
17171         * math/w_fmodl.c (__fmodl): Likewise.
17172         * math/w_hypotl.c (__hypotl): Likewise.
17173         * math/w_j0l.c (__j0l, __y0l): Likewise.
17174         * math/w_j1l.c (__j1l, __y1l): Likewise.
17175         * math/w_jnl.c (__jnl, __ynl): Likewise.
17176         * math/w_lgammal.c (__lgammal): Likewise.
17177         * math/w_log10l.c (__log10l): Likewise.
17178         * math/w_log2l.c (__log2l): Likewise.
17179         * math/w_logl.c (__logl): Likewise.
17180         * math/w_powl.c (__powl): Likewise.
17181         * math/w_remainderl.c (__remainderl): Likewise.
17182         * math/w_scalbl.c (sysv_scalbl): Likewise.
17183         * math/w_sinhl.c (__sinhl): Likewise.
17184         * math/w_sqrtl.c (__sqrtl): Likewise.
17185         * math/w_tgammal.c (__tgammal): Likewise.
17186         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17187         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17188         * math/libm-test.inc (acos_test): Add more tests.
17189         (acosh_test): Likewise.
17190         (asin_test): Likewise.
17191         (atanh_test): Likewise.
17192         (exp_test): Likewise.
17193         (exp10_test): Likewise.
17194         (exp2_test): Likewise.
17195         (expm1_test): Likewise.
17196         (lgamma_test): Likewise.
17197         (log_test): Likewise.
17198         (log10_test): Likewise.
17199         (log1p_test): Likewise.
17200         (log2_test): Likewise.
17201         (pow_test): Do not allow some spurious overflow exceptions.
17202         (sqrt_test): Add more tests.
17203         (tgamma_test): Likewise.
17204         (y0_test): Likewise.
17205         (y1_test): Likewise.
17206         (yn_test): Likewise.
17208 2012-03-27  Anton Blanchard  <anton@samba.org>
17210         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17211         MAP_HUGETLB.
17212         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17213         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17214         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17216 2012-03-27  David S. Miller  <davem@davemloft.net>
17218         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17220         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17221         have-as-vis3 check.
17223 2012-03-27  Andreas Jaeger  <aj@suse.de>
17225         * sysdeps/x86_64/elf/configure.in: Moved to ...
17226         * sysdeps/x86_64/configure.in: ... here.
17227         * sysdeps/x86_64/elf/start.S: Moved to ...
17228         * sysdeps/x86_64/start.S: ... here.
17229         * sysdeps/x86_64/elf/configure: Delete.
17231         * sysdeps/x86_64/configure.in: Merge contents from
17232         sysdeps/i386/configure.in (without i686 check).
17234         * sysdeps/i386/elf/Versions: Merge into ...
17235         * sysdeps/i386/Versions: ... this.
17236         * sysdeps/i386/elf/Versions: Delete file.
17237         * sysdeps/i386/elf/start.S: Moved to ...
17238         * sysdeps/i386/start.S: ...here.
17239         * sysdeps/i386/elf/configure.in: Merge into...
17240         * sysdeps/i386/configure.in: ...here.
17241         * sysdeps/i386/elf/configure.in: Delete file.
17242         * sysdeps/i386/elf/configure: Delete file.
17244         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17245         * debug/backtracesyms.c: ... here.
17246         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17247         * debug/backtracesymsfd.c: ... here.
17248         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17249         * sysdeps/generic/ifunc-sel.h: ... here.
17251         * sysdeps/unix/i386/start.c: Delete file.
17252         * sysdeps/unix/sparc/start.c: Delete file.
17253         * sysdeps/unix/start.c: Delete file.
17255         * sysdeps/sh/elf/configure.in: Moved to ...
17256         * sysdeps/sh/configure.in: ... here.
17257         * sysdeps/sh/elf/start.S: Moved to ...
17258         * sysdeps/sh/start.S: ... here.
17259         * sysdeps/sh/elf/configure: Delete file.
17261         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17262         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17263         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17264         * sysdeps/powerpc/powerpc64/entry.h: ... here.
17265         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17266         * sysdeps/powerpc/powerpc64/start.S: here.
17267         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17268         * sysdeps/powerpc/powerpc64/Makefile: ... this.
17269         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17270         * sysdeps/powerpc/powerpc64/configure.in: ... this.
17271         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17273         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17274         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17275         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17276         * sysdeps/powerpc/powerpc32/start.S: ... here.
17277         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17278         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17279         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17281         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17282         * sysdeps/powerpc/ifunc-sel.h: ... here.
17283         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17284         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17286         * sysdeps/sparc/elf/configure.in: Moved to ...
17287         * sysdeps/sparc/configure.in: ... here.
17288         * sysdeps/sparc/elf/configure: Delete file.
17289         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17290         * sysdeps/sparc/sparc32/start.S: ... here.
17291         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17292         * sysdeps/sparc/sparc64/start.S: ... here.
17293         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17294         * sysdeps/sparc/sparc32/Makefile: ... this.
17295         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17296         * sysdeps/sparc/sparc64/Makefile: ... this.
17298         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17299         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17300         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17301         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17302         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17303         * sysdeps/s390/s390-32/setjmp.S: ... here.
17304         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17305         * sysdeps/s390/s390-32/configure.in: ... here.
17306         * sysdeps/s390/s390-32/elf/configure: Delete file.
17307         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17308         * sysdeps/s390/s390-32/start.S: ... here.
17310         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17311         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17312         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17313         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17314         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17315         * sysdeps/s390/s390-64/setjmp.S: ... here.
17316         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17317         * sysdeps/s390/s390-64/configure.in: ... here
17318         * sysdeps/s390/s390-64/elf/configure: Delete file.
17319         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17320         * sysdeps/s390/s390-64/start.S: ... here.
17321         * sysdeps/s390/s390-64/elf/configure: Delete.
17323         * configure.in: Remove support for elf directories in sysdeps.
17325         * configure: Regenerated.
17326         * sysdeps/i386/configure: Regenerated.
17327         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17328         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17329         * sysdeps/s390/s390-32/configure: Regenerated.
17330         * sysdeps/s390/s390-64/configure: Regenerated.
17331         * sysdeps/sh/configure: Regenerated.
17332         * sysdeps/sparc/configure: Regenerated.
17333         * sysdeps/x86_64/configure: Regenerated.
17335 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17339         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17340         denormal result into account.
17342 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17344         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17345         Reported by Allan McRae <allan@archlinux.org>.
17347 2012-03-23  Jeff Law  <law@redhat.com>
17349         * nss/getnssent.c (__nss_getent): Fix typo.
17351 2012-03-23  David S. Miller  <davem@davemloft.net>
17353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17355 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17357         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17358         to pad to uint64_t for each field.
17359         (dl_tls_index): Replace unsigned long with uint64_t.
17361 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17362         Paul Pluzhnikov  <ppluzhnikov@google.com>
17364         [BZ #6528]
17365         * grp/Makefile (otherlibs): Don't set it.
17366         * inet/Makefile (otherlibs): Likewise.
17367         * login/Makefile (otherlibs): Likewise.
17368         * nscd/Makefile (otherlibs): Likewise.
17369         * posix/Makefile (otherlibs): Likewise.
17370         * pwd/Makefile (otherlibs): Likewise.
17371         * rt/Makefile (otherlibs): Likewise.
17372         * sunrpc/Makefile (otherlibs): Likewise.
17373         * nss/Makefile (otherlibs): Likewise.
17374         Add libnss_files to routines and static-only-routines.
17375         ($(objpfx)getent): Remove rule.
17376         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17377         static-only-routines.
17379 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17381         [BZ #13892]
17382         * math/s_cexp.c: Include <float.h>.
17383         (__cexp): Handle exp result overflowing not necessarily
17384         overflowing both real and imaginary parts of result.
17385         * math/s_cexpf.c: Likewise.
17386         * math/s_cexpl.c: Likewise.
17387         * math/libm-test.inc (cexp_test): Add more tests.
17388         * sysdeps/i386/fpu/libm-test-ulps: Update.
17389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17391 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17393         * include/link.h (ELFW): New macro.
17394         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17395         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17397 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17399         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17400         with uint64_t.
17402 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17404         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17405         declaration.
17406         (struct La_x32_retval): Likewise.
17408 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17410         * sysdeps/x86_64/preconfigure.in: New file.
17411         * sysdeps/x86_64/preconfigure: New generated file.
17413 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17415         [BZ #13824]
17416         * math/e_exp2l.c: Include <float.h>.
17417         (__ieee754_exp2l): Handle overflow and underflow cases
17418         separately.  Only pass fractional part of argument to
17419         __ieee754_expl.
17420         * math/libm-test.inc (exp2_test): Add more tests.
17422         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17423         negating x to take absolute value.
17424         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17425         Likewise.
17426         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17427         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17428         Likewise.
17429         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17430         computing low part if x was negated.
17431         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17433 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17435         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17436         la_x32_gnu_pltexit.
17437         (pltexit): Cast int_retval to ptrdiff_t.
17438         * elf/tst-auditmod3b.c: Likewise.
17439         * elf/tst-auditmod4b.c: Likewise.
17440         * elf/tst-auditmod5b.c: Likewise.
17441         * elf/tst-auditmod6b.c: Likewise.
17442         * elf/tst-auditmod6c.c: Likewise.
17443         * elf/tst-auditmod7b.c: Likewise.
17445         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17446         and x32_gnu_pltexit.
17448         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17449         __ELF_NATIVE_CLASS.
17450         (La_x32_regs): New macro.
17451         (La_x32_retval): Likewise.
17452         (la_x32_gnu_pltenter): New function prototype.
17453         (la_x32_gnu_pltexit): Likewise.
17455 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17457         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17458         exponent.
17460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17462         * configure.in (libc_cv_cc_nofma): Check for option to disable
17463         generation of FMA instructions.
17464         * configure: Regenerate.
17465         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17466         * sysdeps/ieee754/dbl-64/Makefile: New file.
17467         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17468         Remove brandred-fma4.
17469         (CFLAGS-brandred-fma4.c): Remove.
17470         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17471         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17472         define.
17473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17474         define.
17476 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17478         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17479         LLONG_MAX != LONG_MAX.
17480         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17481         (_fitoa_word): Likewise.
17482         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17483         LLONG_MAX != LONG_MAX.
17484         * stdio-common/_itowa.h: Include <_itoa.h>.
17485         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17486         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17487         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17488         only if not defined.
17489         (_ITOA_WORD_TYPE): Likewise.
17490         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17491         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17493 2012-03-21  David S. Miller  <davem@davemloft.net>
17495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17497 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17499         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17500         of x86_64 when setting libc_cv_slibdir, libdir and
17501         libc_cv_localedir.
17502         * sysdeps/unix/sysv/linux/configure: Regenerated.
17504 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17506         * manual/lang.texi (Old Varargs): Remove section.
17507         (How Variadic): Update menu.
17508         (va_start): Do not mention varargs.h.
17510 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17511             Joseph Myers  <joseph@codesourcery.com>
17513         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17514         link test.
17515         * configure: Regenerated.
17517 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17519         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17520         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17521         conformtest.pl
17523 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17525         * NOTES: Remove.
17526         * Makefile (files-for-dist): Remove NOTES.
17527         (NOTES): Remove rule.
17528         * README: Don't refer to NOTES.
17529         * manual/creature.texi: Don't include macros.texi.
17530         * manual/intro.texi (creature.texi): Remove comment referring to
17531         NOTES.
17533         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17534         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17535         * configure: Regenerated.
17536         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17537         LIBC_TRY_CC_OPTION.
17538         (libc_cv_as_i686): Likewise.
17539         (libc_cv_cc_avx): Likewise.
17540         (libc_cv_cc_sse2avx): Likewise.
17541         (libc_cv_cc_fma4): Likewise.
17542         (libc_cv_cc_novzeroupper): Likewise.
17543         * sysdeps/i386/configure: Regenerated.
17545         [BZ #13883]
17546         * sysdeps/i386/fpu/s_cexp.S: Remove.
17547         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17548         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17549         * math/libm-test.inc (cexp_test): Add more tests.
17550         * sysdeps/i386/fpu/libm-test-ulps: Update.
17551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17553 2012-03-21  Allan McRae  <allan@archlinux.org>
17555         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17557 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17559         [BZ #13871]
17560         * math/w_exp2.c: Do not include <float.h>.
17561         (o_threshold, u_threshold): Remove.
17562         (__exp2): Calculate result before checking finiteness and calling
17563         __kernel_standard.
17564         * math/w_exp2f.c: Likewise.
17565         * math/w_exp2l.c: Likewise.
17566         * math/libm-test.inc (exp2_test): Require overflow exception for
17567         1e6 input.
17569         [BZ #3866]
17570         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17571         range of signed 64-bit integers before using fistpll.  Remove
17572         checks for whether integers fit in mantissa bits.
17573         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17574         the range of signed 32-bit integers before using fistpl.  Remove
17575         checks for whether integers fit in mantissa bits.
17576         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17577         (__ieee754_powl): Test for y outside the range of signed 64-bit
17578         integers before using fistpll.  Reduce 64-bit values to 63-bit
17579         ones as needed.
17580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17581         divide-by-zero is raised for zero to large negative powers.
17582         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17583         (__ieee754_powl): Test for y outside the range of signed 64-bit
17584         integers before using fistpll.  Reduce 64-bit values to 63-bit
17585         ones as needed.
17586         * math/libm-test.inc (pow_test): Add more tests.
17588 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17590         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17591         <stdio-common/_itoa.h>.
17592         * debug/segfault.c: Likewise.
17593         * elf/dl-cache.c: Likewise.
17594         * elf/dl-minimal.c: Likewise.
17595         * elf/dl-misc.c: Likewise.
17596         * elf/dl-sysdep.c: Likewise.
17597         * elf/dl-version.c: Likewise.
17598         * elf/rtld.c: Likewise.
17599         * hurd/hurdsock.c: Likewise.
17600         * hurd/lookup-retry.c: Likewise.
17601         * malloc/malloc.c: Likewise.
17602         * malloc/mtrace.c: Likewise.
17603         * nscd/nscd_getgr_r.c: Likewise.
17604         * nscd/nscd_getpw_r.c: Likewise.
17605         * nscd/nscd_getserv_r.c: Likewise.
17606         * posix/getopt_init.c: Likewise.
17607         * posix/wordexp.c: Likewise.
17608         * stdio-common/_itoa.c: Likewise.
17609         * stdio-common/printf_fphex.c: Likewise.
17610         * stdio-common/vfprintf.c: Likewise.
17611         * string/_strerror.c: Likewise.
17612         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17613         * sysdeps/i386/i686/hp-timing.h: Likewise.
17614         * sysdeps/mach/_strerror.c: Likewise.
17615         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17616         * sysdeps/mach/hurd/sethostid.c: Likewise.
17617         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17618         * sysdeps/mach/xpg-strerror.c: Likewise.
17619         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17621         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17622         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17623         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17624         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17625         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17626         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17627         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17628         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17629         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17630         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17631         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17632         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17633         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17634         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17635         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17636         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17637         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17638         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17639         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17641         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17643         * stdio-common/_itoa.h: Moved to ...
17644         * sysdeps/generic/_itoa.h: Here.
17646         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17648         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17649         instead of "_itoa.h" and "_itowa.h".
17650         * stdio-common/vfprintf.: Likewise.
17652 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17654         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17655         <bits/wordsize.h>.
17656         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17657         (__signbit): Likwise.
17658         (llrintf): Likwise.
17659         (llrint): Likwise.
17661 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17663         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17664         __WORDSIZE != 64.
17666 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17668         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17669         OVERFLOW_EXCEPTION_OK.
17670         * math/libm-test.inc ("Philosophy"): Update comment about
17671         exception testing.
17672         (OVERFLOW_EXCEPTION): Define.
17673         (OVERFLOW_EXCEPTION_OK): Likewise.
17674         (INVALID_EXCEPTION_OK): Renumber.
17675         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17676         (IGNORE_ZERO_INF_SIGN): Likewise.
17677         (test_exceptions): Handle FE_OVERFLOW.
17678         (exp10_test): Expect overflow exceptions.
17679         (exp2_test): Likewise.
17680         (expm1_test): Likewise.
17681         (nextafter_test): Likewise.
17682         (pow_test): Likewise.
17683         (scalbn_test): Likewise.
17684         (scalbln_test): Likewise.
17686 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17688         * sysdeps/x86_64/bits/atomic.h
17689         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17690         64bit integer.
17691         (atomic_exchange_acq): Likewise.
17692         (__arch_exchange_and_add_body): Likewise.
17693         (__arch_add_body): Likewise.
17694         (atomic_add_negative): Likewise.
17695         (atomic_add_zero): Likewise.
17697 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17699         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17700         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17704         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17705         Check __x86_64__ instead of __WORDSIZE.
17707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17709         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17711 2012-03-19  David S. Miller  <davem@davemloft.net>
17713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17715         * sysdeps/sparc/fpu/fenv_private.h: New file.
17716         * sysdeps/sparc/fpu/math_private.h: Use it.
17717         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17718         Remove.
17719         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17720         (libc_feholdexcept_setroundl): Remove.
17721         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17722         Remove.
17723         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17724         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17726 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17728         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17729         int64_t instead of long int.
17730         (INSERT_WORDS64): Likwise.
17732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17734         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17735         _Unwind_GetCFA return to _Unwind_Ptr first.
17737 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17739         [BZ #13629]
17740         * math/s_clog.c: Include <float.h>.
17741         (__clog): Scale large or subnormal inputs.
17742         * math/s_clogf.c: Likewise.
17743         * math/s_clogl.c: Likewise.
17744         * math/s_clog10.c: Include <float.h>.
17745         (M_LOG10_2): Define.
17746         (__clog10): Scale large or subnormal inputs.
17747         * math/s_clog10f.c: Likewise.
17748         * math/s_clog10l.c: Likewise.
17749         * math/libm-test.inc (clog_test): Add more tests.
17750         (clog10_test): Likewise.
17751         * sysdeps/i386/fpu/libm-test-ulps: Update.
17752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17754         [BZ #11451]
17755         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17756         x and y.
17757         * math/libm-test.inc (atan2_test): Add another test.
17759         * Makerules (common-objdir-compile): Remove.
17760         * sysdeps/unix/Makefile (config-generated): Do not add
17761         $(unix-generated) to variable.
17762         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17763         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17764         Remove rule.
17765         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17766         Likewise.
17767         [generic bits/local_lim.h] (before-compile): Do not append to
17768         variable.
17769         [generic bits/local_lim.h] (common-generated): Likewise.
17770         [generic sys/param.h] (before-compile): Do not append to variable.
17771         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17772         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17773         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17774         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17775         include.
17776         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17777         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17778         [generic sys/param.h] ($(addprefix
17779         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17780         [generic sys/param.h] (common-generated): Do not append to
17781         variable.
17782         [generic sys/param.h] (sysdep_headers): Likewise.
17783         [generic bits/errno.h] (before-compile): Do not append to
17784         variable.
17785         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17786         rule.
17787         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17788         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17789         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17790         [generic bits/errno.h] (common-generated): Do not append to
17791         variable.
17792         [generic bits/ioctls.h] (before-compile): Do not append to
17793         variable.
17794         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17795         rule.
17796         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17797         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17798         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17799         rule.
17800         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17801         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17802         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17803         [generic bits/ioctls.h] (common-generated): Do not append to
17804         variable.
17805         [generic sys/syscall.h] (syscall.h): Remove variable.
17806         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17807         rule.
17808         [generic sys/syscall.h] (before-compile): Do not append to
17809         variable.
17810         [generic sys/syscall.h] (common-generated): Likewise.
17811         * sysdeps/unix/errnos-tmpl.c: Remove file.
17812         * sysdeps/unix/errnos.awk: Likewise.
17813         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17814         * sysdeps/unix/ioctls.awk: Likewise.
17815         * sysdeps/unix/mk-local_lim.c: Likewise.
17816         * sysdeps/unix/snarf-ioctls: Likewise.
17818 2012-03-19  Richard Henderson  <rth@twiddle.net>
17820         * sysdeps/i386/fpu/fenv_private.h: New file.
17821         * sysdeps/i386/fpu/math_private.h: Use it.
17822         (math_opt_barrier, math_force_eval): Remove.
17823         (libc_feholdexcept_setround_53bit): Remove.
17824         (libc_feupdateenv_53bit): Remove.
17825         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17826         (math_opt_barrier, math_force_eval): Remove.
17827         (libc_feholdexcept): Remove.
17828         (libc_feholdexcept_setround): Remove.
17829         (libc_fetestexcept, libc_fesetenv): Remove.
17830         (libc_feupdateenv_test): Remove.
17831         (libc_feupdateenv, libc_feholdsetround): Remove.
17832         (libc_feresetround): Remove.
17834         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17835         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17837         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17838         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17839         (libc_feupdateenv_testl): New.
17840         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17841         (libc_feupdateenv_testf): New.
17842         (libc_feupdateenv): Use libc_feupdateenv_test.
17843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17844         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17846         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17847         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17848         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17849         (libc_feresetround_noex): New.
17850         (libc_feresetround_noexf): New.
17851         (libc_feresetround_noexl): New.
17852         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17853         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17854         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17855         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17856         SET_RESTORE_ROUND.
17857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17859         (__cos): Likewise.
17860         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17861         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17862         SET_RESTORE_ROUND_NOEX.
17863         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17864         SET_RESTORE_ROUND_NOEXF.
17865         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17866         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17867         (libc_feholdsetroundf): New.
17868         (libc_feresetround, libc_feresetroundf): New.
17870         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17871         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17872         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17874         * sysdeps/generic/math_private.h: Include <fenv.h>.
17875         (default_libc_feholdexcept): New.
17876         (default_libc_feholdexcept_setround): New.
17877         (default_libc_fesetenv, default_libc_feupdateenv): New.
17878         (libc_feholdexcept): Only define if undefined.
17879         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17880         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17881         (libc_feholdexcept_setroundl): Likewise.
17882         (libc_feholdexcept_setround_53bit): Likewise.
17883         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17884         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17885         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17886         (libc_feupdateenv_53bit): Likewise.
17887         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17888         (libc_feholdexcept): Convert from macro to inline function.
17889         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17890         (libc_fesetenv, libc_feupdateenv): Likewise.
17892         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17893         not previously defined.
17894         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17895         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17896         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17897         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17898         * sysdeps/ieee754/flt-32/math_private.h: New file.
17899         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17900         math_private.h below SET_FLOAT_WORD.
17901         (__isnan, __isinf_ns, __finite): Remove.
17902         (__isnanf, __isinf_nsf, __finitef): Remove.
17904 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17908 2012-03-17  David S. Miller  <davem@davemloft.net>
17910         [BZ #6471]
17911         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17912         for 2.16.
17914 2012-03-16  David S. Miller  <davem@davemloft.net>
17916         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17917         warnings.
17919         [BZ #6471]
17920         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17921         properly.
17922         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17923         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17924         sysdep_routines when subdir is sysvipc.
17925         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17926         __getshmlba helper.
17928         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17930 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17932         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17933         [__LP64__].
17935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17938         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17939         (__lround): Renamed to ...
17940         (__llround): This.  Replace long int with long long int.
17941         Define lround functions as aliases of llround functions.
17942         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17946         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17947         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17948         adresses to uintptr_t.  Replace "long int" and "unsigned long
17949         int" with "greg_t" on va_arg.
17951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17953         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17954         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17956         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17957         Move e_machine check before EI_CLASS check.  Handle x32
17958         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17959         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17960         SKIP_EM_IA_64 and include
17961         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17963         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17964         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17965         (add_system_dir): New macro.
17967         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17968         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17970 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17972         [BZ #2551]
17973         [BZ #2552]
17974         [BZ #2553]
17975         [BZ #2554]
17976         [BZ #2562]
17977         [BZ #2563]
17978         [BZ #2565]
17979         [BZ #2566]
17980         [BZ #2576]
17981         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17982         (y0): Likewise.
17983         * math/w_j0f.c (j0f): Likewise.
17984         (y0f): Likewise.
17985         * math/w_j0l.c (__j0l): Likewise.
17986         (__y0l): Likewise.
17987         * math/w_j1.c (j1): Likewise.
17988         (y1): Likewise.
17989         * math/w_j1f.c (j1f): Likewise.
17990         (y1f): Likewise.
17991         * math/w_j1l.c (__j1l): Likewise.
17992         (__y1l): Likewise.
17993         * math/w_jn.c (jn): Likewise.
17994         (yn): Likewise.
17995         * math/w_jnf.c (jnf): Likewise.
17996         (ynf): Likewise.
17997         * math/w_jnl.c (__jnl): Likewise.
17998         (__ynl): Likewise.
17999         * math/libm-test.inc (j0_test): Add more tests.
18000         (j1_test): Likewise.
18001         (jn_test): Likewise.  Add trailing semicolon to existing test.
18002         (y0_test): Likewise.
18003         (y1_test): Likewise.
18004         * sysdeps/i386/fpu/libm-test-ulps: Update.
18005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18007         [BZ #13851]
18008         [BZ #13854]
18009         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18010         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18011         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18012         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18013         (__tanl): Set errno for infinite argument.
18014         * sysdeps/i386/fpu/mptan.c: Remove.
18015         * sysdeps/i386/fpu/s_tan.S: Likewise.
18016         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18017         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18018         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18019         * math/libm-test.inc (tan_test): Add more tests and enable more
18020         tests for double and long double.
18021         * sysdeps/i386/fpu/libm-test-ulps: Update.
18022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18024 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18026         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18027         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18029 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18031         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18032         * configure.in: Use it for both main tree and add-ons.
18033         * configure: Regenerated.
18035 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18037         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18039 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18041         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18042         in comment.
18044         [BZ #13851]
18045         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18046         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18047         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18048         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18049         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18050         infinite argument.
18051         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18052         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18053         != 0 for prec == 2.
18054         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18055         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18056         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18057         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18058         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18059         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18060         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18061         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18062         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18063         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18064         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18065         * math/libm-test.inc (cos_test): Add more tests and enable more
18066         tests for long double.
18067         (sin_test): Likewise.
18068         (sincos_test): Likewise.
18069         * sysdeps/i386/fpu/libm-test-ulps: Update.
18070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18072 2012-03-16  David S. Miller  <davem@davemloft.net>
18074         * sysdeps/sparc/fpu/math_private.h: New file.
18076 2012-03-15  David S. Miller  <davem@davemloft.net>
18078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18079         file.
18080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18082         file.
18083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18089         sysdep routines.
18090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18092         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18093         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18095         * sysdeps/sparc/sparc-ifunc.h: New file.
18096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18097         sparc-ifunc.h
18098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18100         Likewise.
18101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18102         Likewise.
18103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18107         Likewise.
18108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18113         Likewise.
18114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18115         Likewise.
18116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18122         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18124         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18134         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18135         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18138         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18139         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18141 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18143         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18144         scaling.
18145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18147 2012-03-15  Andreas Jaeger  <aj@suse.de>
18149         [BZ #13852]
18150         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18151         ieee754/flt-32 implementation for sin, cos and sincos.
18152         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18153         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18154         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18155         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18156         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18157         ieee754/flt-32 implementation for tan.
18159         * math/libm-test.inc (cos_test): Enable some large input tests for
18160         float as well
18161         (sin_test): Likewise.
18162         (sincos_test): Likewise.
18163         (tan_test): Add tests for large input.
18165         * sysdeps/i386/fpu/libm-test-ulps: Update.
18167 2012-03-15  Andreas Jaeger  <aj@suse.de>
18169         [BZ #13658]
18170         * math/libm-test.inc (cos_test): Add more test cases.
18171         (sin_test): Likewise.
18172         (sincos_test): Likewise.
18174 2012-03-15  Andreas Jaeger  <aj@suse.de>
18176         [BZ #13837]
18177         * math/libm-test.inc (cos_test): Add a test case for large input
18178         value.
18179         (sin_test): Likewise.
18180         (sincos_test): Likewise.
18182 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18183         Joseph Myers  <joseph@codesourcery.com>
18185         [BZ #13658]
18186         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18187         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18188         * sysdeps/i386/fpu/branred.c: Likewise.
18189         * sysdeps/i386/fpu/dosincos.c: Likewise.
18190         * sysdeps/i386/fpu/mpa.c: Likewise.
18191         * sysdeps/i386/fpu/s_cos.S: Likewise.
18192         * sysdeps/i386/fpu/s_sin.S: Likewise.
18193         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18194         * sysdeps/i386/fpu/sincos32.c: Likewise.
18196         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18197         Define.
18198         (libc_feupdateenv_53bit): Define.
18199         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18200         Define.
18201         (libc_feupdateenv_53bit): Define.
18203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18204         53 bit (without extend i386 double precision).
18206         * math/libm-test.inc (sincos_test): Add tests for large input.
18207         (sin): Likewise.
18208         (cos): Likewise.
18210         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18212 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18216 2012-03-15  David S. Miller  <davem@davemloft.net>
18218         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18219         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18220         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18221         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18234         file.
18235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18237         file.
18238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18240         file.
18241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18243         file.
18244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18245         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18246         fmin/fmax sysdep routines.
18247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18249 2012-03-14  David S. Miller  <davem@davemloft.net>
18251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18255         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18263         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18271         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18272         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18273         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18275         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18277         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18278         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18279         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18280         routines.
18281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18282         file.
18283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18285         file.
18286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18288         file.
18289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18291         file.
18292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18294         file.
18295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18297         file.
18298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18299         file.
18300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18301         file.
18302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18303         file.
18304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18305         New file.
18306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18307         file.
18308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18309         file.
18310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18312         file.
18313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18315         file.
18316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18318         file.
18319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18321         VIS3 routines.
18323         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18324         New file.
18326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18328         * sysdeps/sparc/configure.in: New file.
18329         * sysdeps/sparc/configure: Generate.
18330         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18331         * configure: Regenerate.
18332         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18333         * config.make.in (have-as-vis3): New.
18334         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18335         available use -Av9d instead of -Av9a.
18336         * sysdeps/sparc/sparc64/Makefile: Likewise.
18337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18339         New file.
18340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18341         file.
18342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18343         New file.
18344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18345         file.
18346         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18347         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18348         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18349         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18352         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18353         fzeros/fnegs to load 0x80000000 into a float register instead of
18354         using the stack.
18355         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18357 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18360         bits/syscall.h.
18361         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18362         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18363         ($(inst_includedir)/bits/syscall.h): Remove rule.
18364         ($(objpfx)bits/syscall.d): Include instead of
18365         $(objpfx)syscall-list.d.
18366         (generated): Change syscall-list.h and syscall-list.d to
18367         bits/syscall.h and bits/syscall.d.
18369 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18371         [BZ #13846]
18372         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18374 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #13841]
18377         * math/s_csqrt.c: Include <float.h>.
18378         (__csqrt): Scale large or subnormal inputs.
18379         * math/s_csqrtf.c: Likewise.
18380         * math/s_csqrtl.c: Likewise.
18381         * math/libm-test.inc (csqrt_test): Add more tests.
18382         * sysdeps/i386/fpu/libm-test-ulps: Update.
18383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18385         [BZ #13840]
18386         * math/libm-test.inc (hypot_test): Add more tests.
18388 2012-03-13  David S. Miller  <davem@davemloft.net>
18390         [BZ #13840]
18391         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18392         double-precision for the calculation instead of scaling.
18394 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18396         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18397         manipulate bits before adding and subtracting TWO52[sx].
18398         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18399         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18400         Likewise.
18401         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18403 2012-03-13  David S. Miller  <davem@davemloft.net>
18405         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18406         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18408         rtld-global-offsets.h
18409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18411         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18412         large parameters.
18414         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18416         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18417         'err' in the ifdef scope in which it is actually used.
18419         * nss/nss_db/db-init.c: Include string.h
18421 2012-03-12  David S. Miller  <davem@davemloft.net>
18423         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18424         masking out of the most significant byte of random value used.
18425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18426         Fix coding style in previous change.
18428         * sysdeps/unix/sysv/linux/kernel-features.h
18429         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18430         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18431         expression.
18432         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18433         later.
18435 2012-03-11  David S. Miller  <davem@davemloft.net>
18437         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18438         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18439         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18440         for 'resultvar' otherwise things get truncated on 64-bit.
18442         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18443         Fix masking out of the most significant byte of random value used.
18445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18447 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18451 2012-03-09  David S. Miller  <davem@davemloft.net>
18453         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18454         variables with appropriate CPP guards.
18455         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18456         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18457         on resulting framesize and the management of the outregs buffer for pltexit.
18458         Preserve floating point return values across _dl_call_pltexit call.
18459         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18460         framesize and the management of the outregs buffer for pltexit.
18461         Preserve floating point return values across _dl_call_pltexit
18462         call.
18463         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18464         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18465         (print_exit): Fix format string for return register value.
18467 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18469         * sunrpc/Makefile (others): Add rpcgen.
18470         ($(objpfx)rpcgen): Remove special build rule and dependency on
18471         libc.
18472         * sunrpc/rpcgen.c: New file.
18474 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18476         [BZ #13673]
18477         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18478         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18479         * sysdeps/i386/crti.S: Likewise.
18480         * sysdeps/i386/crtn.S: Likewise.
18481         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18482         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18483         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18484         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18485         * sysdeps/sh/crti.S: Likewise.
18486         * sysdeps/sh/crtn.S: Likewise.
18487         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18489         [BZ #13673]
18490         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18491         with URL.
18492         * locale/programs/locfile-kw.gperf: Likewise.
18493         * locale/programs/charmap-kw.h: Regenerated.
18494         * locale/programs/locfile-kw.h: Likewise.
18496         [BZ #13673]
18497         * intl/plural.y: Replace FSF snail mail address with URL.
18498         * intl/plural.c: Regenerated.
18500 2012-03-09  Richard Henderson  <rth@twiddle.net>
18502         * include/math_private.h: Remove file.
18503         * math/math_private.h: Move file ...
18504         * sysdeps/generic/math_private.h: ... here.
18506         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18507         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18508         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18510         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18511         and <math_private.h>.
18512         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18513         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18514         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18515         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18516         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18517         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18518         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18520         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18521         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18523         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18524         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18525         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18526         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18527         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18528         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18529         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18530         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18531         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18532         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18533         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18534         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18536         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18537         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18538         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18539         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18540         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18542         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18543         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18544         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18545         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18546         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18547         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18548         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18549         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18550         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18552         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18554         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18555         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18556         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18557         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18558         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18559         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18560         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18561         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18562         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18563         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18564         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18565         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18566         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18567         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18568         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18569         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18570         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18571         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18573         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18575         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18576         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18577         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18578         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18579         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18580         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18581         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18582         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18583         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18586         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18587         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18591         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18592         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18593         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18594         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18595         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18596         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18597         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18598         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18599         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18600         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18601         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18602         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18603         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18604         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18605         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18606         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18607         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18608         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18609         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18610         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18612         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18613         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18614         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18615         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18616         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18617         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18618         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18619         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18620         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18621         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18622         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18623         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18624         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18625         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18626         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18627         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18628         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18629         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18630         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18631         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18632         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18633         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18634         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18635         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18636         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18637         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18638         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18639         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18640         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18641         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18642         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18643         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18644         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18645         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18646         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18647         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18648         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18649         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18650         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18651         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18653         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18654         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18655         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18656         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18657         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18658         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18659         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18660         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18661         * sysdeps/ieee754/k_standard.c: Likewise.
18662         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18663         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18664         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18665         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18666         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18667         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18668         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18669         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18670         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18674         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18675         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18676         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18677         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18678         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18679         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18680         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18681         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18682         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18683         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18684         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18685         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18686         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18687         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18688         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18689         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18690         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18691         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18692         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18693         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18694         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18695         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18696         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18697         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18698         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18699         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18700         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18701         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18702         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18705         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18708         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18709         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18710         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18711         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18713         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18714         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18715         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18716         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18717         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18718         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18719         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18720         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18721         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18722         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18723         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18724         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18725         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18729         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18730         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18731         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18732         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18733         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18735         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18736         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18738         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18739         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18740         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18741         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18742         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18744         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18750         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18753         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18754         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18755         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18756         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18761         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18762         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18763         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18764         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18765         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18767         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18768         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18769         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18770         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18771         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18772         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18773         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18774         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18775         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18776         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18777         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18778         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18779         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18780         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18782         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18784         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18789         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18794         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18797         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18802         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18806         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18807         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18808         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18809         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18810         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18811         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18812         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18814         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18815         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18818         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18819         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18820         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18821         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18822         * sysdeps/ieee754/s_lib_version.c: Likewise.
18823         * sysdeps/ieee754/s_matherr.c: Likewise.
18824         * sysdeps/ieee754/s_signgam.c: Likewise.
18825         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18826         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18827         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18828         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18829         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18830         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18831         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18832         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18833         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18834         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18835         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18836         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18837         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18838         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18839         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18840         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18841         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18842         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18843         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18847 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18849         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18850         * sunrpc/rpc_main.c: Likewise.
18851         * sunrpc/rpc_svcout.c: Likewise.
18853 2012-03-09  David S. Miller  <davem@davemloft.net>
18855         * include/math_private.h: New file.
18857 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18859         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18860         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18861         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18862         from <bits/socket_type.h>.
18863         (enum __socket_type): Don't define here.
18864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18866         bits/socket_type.h.
18868         [BZ #13566]
18869         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18870         checking __USE_GNU.
18872         * Makerules ($(inst_includedir)/%.h): New rule.
18873         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18874         (install-others): Remove variable setting.
18875         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18877 2012-03-08  Richard Henderson  <rth@twiddle.net>
18879         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18880         from macro to inline function; merge with the
18881         !__LIBC_INTERNAL_MATH_INLINES version.
18882         (__ieee754_sqrtf): Likewise.
18884         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18885         to inline function.
18886         (__rintf, __floor, __floorf): Likewise.
18888         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18889         macro to inline function.
18890         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18892         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18893         not <math/math_private.h>.
18895 2012-03-08  David S. Miller  <davem@davemloft.net>
18897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18898         copyright year.
18899         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18901 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18903         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18904         normalization.
18905         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18906         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18908 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18910         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18911         be defined individually, they must be defined as a block.  Define
18912         S for printing a string instead of hidint the different by using a
18913         macro for adding the 'l'.
18914         * stdio-common/tst-fphex-wide.c: Adjust.
18916 2012-03-07  Marek Polacek  <polacek@redhat.com>
18918         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18920 2012-03-08  Marek Polacek  <polacek@redhat.com>
18922         [BZ #13806]
18923         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18924         * stdio-common/tst-fphex.c: Define a few macros to make the
18925         test reusable.  Use them.
18926         * stdio-common/tst-fphex-wide.c: New file.
18928 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #6911]
18931         * manual/macros.texi (gnusystems): New macro.
18932         (nongnusystems): Likewise.
18933         (gnulinuxhurdsystems): Likewise.
18934         (gnuhurdsystems): Likewise..
18935         (gnulinuxsystems): Likewise.
18936         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18937         variants of the GNU system, not "GNU system".
18938         * manual/conf.texi: Likewise.
18939         * manual/errno.texi: Likewise.  Update example of errno macro
18940         expansion.
18941         * manual/filesys.texi: Likewise.
18942         (getumask): Document as specific to GNU/Hurd.
18943         * manual/install.texi: Likewise.  Reword some references to
18944         GNU/Linux.
18945         * manual/intro.texi: Likewise.
18946         * manual/io.texi: Likewise.
18947         (File Name Portability): Detail which constraints are inapplicable
18948         to all GNU systems and which are only inapplicable to GNU/Hurd.
18949         * manual/job.texi: Likewise.
18950         * manual/llio.texi: Likewise.
18951         (O_NOCTTY): Document as present on GNU/Linux.
18952         * manual/maint.texi: Likewise.
18953         * manual/memory.texi: Likewise.
18954         * manual/pattern.texi: Likewise.
18955         * manual/pipe.texi: Likewise.
18956         * manual/process.texi: Likewise.
18957         * manual/resource.texi: Likewise.
18958         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18959         child on GNU/Hurd.
18960         * manual/setjmp.texi: Likewise.
18961         * manual/signal.texi: Likewise.
18962         * manual/startup.texi: Likewise.
18963         * manual/stdio.texi: Likewise.
18964         * manual/terminal.texi: Likewise.
18965         (ONLCR): Document as POSIX.
18966         (OXTABS): Document availability on GNU/Linux as XTABS.
18967         (ONOEOT): Document availability separately from other bits.
18968         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18969         * manual/time.texi: Likewise.
18970         * manual/users.texi: Likewise.
18971         * INSTALL: Regenerated.
18972         * sysdeps/gnu/errlist.c: Regenerated.
18974         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18975         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18976         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18977         puts.
18978         * configure: Regenerated.
18980 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18982         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18983         default includes instead of AC_HEADER_CHECK.
18984         * sysdeps/i386/configure: Regenerated.
18986         [BZ #10716]
18987         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18988         * math/s_cacoshf.c (__cacoshf): Likewise.
18989         * math/s_cacoshl.c (__cacoshl): Likewise.
18990         * math/s_casinh.c (__casinh): Set signs of result from argument.
18991         * math/s_casinhf.c (__casinhf): Likewise.
18992         * math/s_casinhl.c (__casinhl): Likewise.
18993         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18994         (casinh_test): Add more tests.
18995         * sysdeps/i386/fpu/libm-test-ulps: Update.
18996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18998 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19000         * po/zh_TW.po: Update from translation team.
19002         * login/Makefile (distribute): Remove variable.
19003         * catgets/Makefile: Likewise.
19004         * mach/Makefile: Likewise.
19005         * malloc/Makefile: Likewise.
19006         * misc/Makefile: Likewise.
19007         * iconv/Makefile: Likewise.
19008         * nscd/Makefile: Likewise.
19009         * hurd/Makefile: Likewise.
19010         * manual/Makefile: Likewise.
19011         * locale/Makefile: Likewise.
19012         * intl/Makefile: Likewise.
19013         * conform/Makefile: Likewise.
19014         * nss/Makefile: Likewise.
19015         * time/Makefile: Likewise.
19016         * soft-fp/Makefile: Likewise.
19017         * dirent/Makefile: Likewise.
19018         * gmon/Makefile: Likewise.
19019         * po/Makefile: Likewise.
19020         * rt/Makefile: Likewise.
19021         * socket/Makefile: Likewise.
19022         * math/Makefile: Likewise.
19023         * signal/Makefile: Likewise.
19024         * debug/Makefile: Likewise.
19025         * elf/Makefile: Likewise.
19026         * timezone/Makefile: Likewise.
19027         * stdlib/Makefile: Likewise.
19028         * iconvdata/Makefile: Likewise.
19029         * sunrpc/Makefile: Likewise.
19030         * io/Makefile: Likewise.
19031         * argp/Makefile: Likewise.
19032         * inet/Makefile: Likewise.
19033         * hesiod/Makefile: Likewise.
19034         * grp/Makefile: Likewise.
19035         * csu/Makefile: Likewise.
19036         * wctype/Makefile: Likewise.
19037         * crypt/Makefile: Likewise.
19038         * libio/Makefile: Likewise.
19039         * string/Makefile: Likewise.
19040         * nis/Makefile: Likewise.
19041         * resolv/Makefile: Likewise.
19042         * stdio-common/Makefile: Likewise.
19043         * wcsmbs/Makefile: Likewise.
19044         * dlfcn/Makefile: Likewise.
19045         * posix/Makefile: Likewise.
19047         [BZ #6959]
19048         * timezone/Makefile: Don't install timezone files, just the programs
19049         and scripts.
19051 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19053         * nss/databases.def: Add missing gshadow entry.
19055         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19057 2012-03-06  Marek Polacek  <polacek@redhat.com>
19059         [BZ #13726]
19060         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19061         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19062         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19063         * stdio-common/tst-long-dbl-fphex.c: New file.
19065 2012-03-06  David S. Miller  <davem@davemloft.net>
19067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19068         (set_obp_int): New function.
19069         (get_obp_int): New function.
19070         (__get_clockfreq_via_dev_openprom): Likewise.
19071         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19072         Avoid unused variable warnings on 'val' and use builtin_expect.
19073         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19074         __builtin_expect.
19075         (INLINE_CLONE_SYSCALL): Likewise.
19077 2012-03-05  David S. Miller  <davem@davemloft.net>
19079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19081 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19085         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19086         only for |x| >= 40.
19087         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19089 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19091         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19092         Replace gettimeofday with __vdso_gettimeofday.
19094         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19095         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19096         __vdso_clock_gettime and __vdso_getcpu.
19098         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19099         time with __vdso_time.
19101 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19103         * manual/lang.texi (size_t): Note types to which size_t may be
19104         equivalent with the GNU C Library, but do not describe when
19105         differences between them are significant.
19107 2012-03-05  Andreas Jaeger  <aj@suse.de>
19109         * sysdeps/i386/fpu/libm-test-ulps: Update.
19111 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19113         [BZ #3976]
19114         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19115         (__ieee754_pow): Save and restore rounding mode and use
19116         round-to-nearest for main computations.
19117         * math/libm-test.inc (pow_test_tonearest): New function.
19118         (pow_test_towardzero): Likewise.
19119         (pow_test_downward): Likewise.
19120         (pow_test_upward): Likewise.
19121         (main): Call the new functions.
19122         * sysdeps/i386/fpu/libm-test-ulps: Update.
19123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19125         [BZ #3976]
19126         * math/libm-test.inc (cosh_test_tonearest): New function.
19127         (cosh_test_towardzero): Likewise.
19128         (cosh_test_downward): Likewise.
19129         (cosh_test_upward): Likewise.
19130         (sinh_test_tonearest): Likewise.
19131         (sinh_test_towardzero): Likewise.
19132         (sinh_test_downward): Likewise.
19133         (sinh_test_upward): Likewise.
19134         (main): Call the new functions.
19135         * sysdeps/i386/fpu/libm-test-ulps: Update.
19136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19138 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19140         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19141         default stack guard is set in last bytes.
19142         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19144 2012-03-05  Kees Cook  <keescook@chromium.org>
19146         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19148         [BZ #13656]
19149         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19150         possibly allocate from heap instead of stack.
19151         * stdio-common/bug-vfprintf-nargs.c: New file.
19152         * stdio-common/Makefile (tests): Add nargs overflow test.
19154 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19158 2012-03-03  Marek Polacek  <polacek@redhat.com>
19160         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19161         * math/math_private.h: Likewise.
19162         * stdlib/tst-strtod.c: Likewise.
19163         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19164         * sysdeps/x86_64/bits/atomic.h: Likewise.
19166 2012-03-02  David S. Miller  <davem@davemloft.net>
19168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19172         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19173         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19174         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19175         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19177 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19179         [BZ #13792]
19180         * manual/examples/README: New file, says the example source files
19181         can be used under GPL>=2.
19182         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19183         line containing just "*/".
19184         * manual/examples/add.c: Add copyright header (GPL>=2).
19185         * manual/examples/argp-ex1.c: Likewise.
19186         * manual/examples/argp-ex2.c: Likewise.
19187         * manual/examples/argp-ex3.c: Likewise.
19188         * manual/examples/argp-ex4.c: Likewise.
19189         * manual/examples/atexit.c: Likewise.
19190         * manual/examples/db.c: Likewise.
19191         * manual/examples/dir.c: Likewise.
19192         * manual/examples/dir2.c: Likewise.
19193         * manual/examples/execinfo.c: Likewise.
19194         * manual/examples/filecli.c: Likewise.
19195         * manual/examples/filesrv.c: Likewise.
19196         * manual/examples/fmtmsgexpl.c: Likewise.
19197         * manual/examples/genpass.c: Likewise.
19198         * manual/examples/inetcli.c: Likewise.
19199         * manual/examples/inetsrv.c: Likewise.
19200         * manual/examples/isockad.c: Likewise.
19201         * manual/examples/longopt.c: Likewise.
19202         * manual/examples/memopen.c: Likewise.
19203         * manual/examples/memstrm.c: Likewise.
19204         * manual/examples/mkfsock.c: Likewise.
19205         * manual/examples/mkisock.c: Likewise.
19206         * manual/examples/mygetpass.c: Likewise.
19207         * manual/examples/pipe.c: Likewise.
19208         * manual/examples/popen.c: Likewise.
19209         * manual/examples/rprintf.c: Likewise.
19210         * manual/examples/search.c: Likewise.
19211         * manual/examples/select.c: Likewise.
19212         * manual/examples/setjmp.c: Likewise.
19213         * manual/examples/sigh1.c: Likewise.
19214         * manual/examples/sigusr.c: Likewise.
19215         * manual/examples/stpcpy.c: Likewise.
19216         * manual/examples/strdupa.c: Likewise.
19217         * manual/examples/strftim.c: Likewise.
19218         * manual/examples/strncat.c: Likewise.
19219         * manual/examples/subopt.c: Likewise.
19220         * manual/examples/swapcontext.c: Likewise.
19221         * manual/examples/termios.c: Likewise.
19222         * manual/examples/testopt.c: Likewise.
19223         * manual/examples/testpass.c: Likewise.
19224         * manual/examples/timeval_subtract.c: Likewise.
19226         [BZ #13792]
19227         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19228         function to ...
19229         * manual/timeval_subtract.c.texi: ... here, new file.
19231 2012-03-02  David S. Miller  <davem@davemloft.net>
19233         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19235 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19237         [BZ #3976]
19238         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19239         (__sin): Save and restore rounding mode and use round-to-nearest
19240         for all computations.
19241         (__cos): Save and restore rounding mode and use round-to-nearest
19242         for all computations.
19243         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19244         <fenv.h>.
19245         (tan): Save and restore rounding mode and use round-to-nearest for
19246         all computations.
19247         * math/libm-test.inc (cos_test_tonearest): New function.
19248         (cos_test_towardzero): Likewise.
19249         (cos_test_downward): Likewise.
19250         (cos_test_upward): Likewise.
19251         (sin_test_tonearest): Likewise.
19252         (sin_test_towardzero): Likewise.
19253         (sin_test_downward): Likewise.
19254         (sin_test_upward): Likewise.
19255         (tan_test_tonearest): Likewise.
19256         (tan_test_towardzero): Likewise.
19257         (tan_test_downward): Likewise.
19258         (tan_test_upward): Likewise.
19259         (main): Call the new functions.
19260         * sysdeps/i386/fpu/libm-test-ulps: Update.
19261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19263         [BZ #10135]
19264         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19265         small n, then large n, before computing and testing k+n.
19266         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19268         Likewise.
19269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19270         Likewise.
19271         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19272         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19273         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19274         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19275         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19276         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19277         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19278         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19279         * math/libm-test.inc (scalbn_test): Add more tests.
19280         (scalbln_test): Likewise.
19282         * manual/filesys.texi (mode_t): Describe constraints on size and
19283         signedness, not exact equivalence to a particular type.
19284         (ino_t): Likewise.
19285         (ino64_t): Likewise.
19286         (dev_t): Likewise.
19287         (nlink_t): Likewise.
19288         (blkcnt_t): Likewise.
19289         (blkcnt64_t): Likewise.
19290         * manual/llio.texi (off_t): Likewise.
19292         [BZ #3976]
19293         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19294         (__ieee754_exp): Save and restore rounding mode and use
19295         round-to-nearest for all computations.
19296         * math/libm-test.inc (exp_test_tonearest): New function.
19297         (exp_test_towardzero): Likewise.
19298         (exp_test_downward): Likewise.
19299         (exp_test_upward): Likewise.
19300         (main): Call the new functions.
19301         * sysdeps/i386/fpu/libm-test-ulps: Update.
19302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19304 2012-03-01  Chris Demetriou  <cgd@google.com>
19306         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19307         have predictable order.
19309 2012-03-01  David S. Miller  <davem@davemloft.net>
19311         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19313         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19314         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19315         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19316         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19318         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19319         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19320         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19322         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19323         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19324         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19325         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19326         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19330         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19331         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19332         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19334         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19335         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19336         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19337         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19338         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19339         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19340         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19341         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19342         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19343         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19344         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19345         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19346         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19347         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19348         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19349         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19350         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19351         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19352         * sysdeps/sparc/elf/configure: Regenerated.
19354 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19356         * configure.in (AS, LD): Require binutils 2.20 or later.
19357         * configure: Regenerated.
19358         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19359         as required minimum version.
19360         * INSTALL: Regenerated.
19362         [BZ #2541]
19363         [BZ #4108]
19364         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19365         before squaring exponent.
19366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19367         bottom long double and 27 bits of top long double before squaring
19368         exponent.
19369         * math/libm-test.inc (erfc_test): Add more tests.
19370         * sysdeps/i386/fpu/libm-test-ulps: Update.
19371         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19374 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19376         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19377         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19378         containing bit-fields.
19379         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19380         * soft-fp/single.h (_FP_UNION_S): Likewise.
19381         * soft-fp/double.h (_FP_UNION_D): Likewise.
19383 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19385         [BZ #13786]
19386         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19387         not include ../strcmp.S.
19388         [USE_AS_STRNCASECMP_L]: Likewise.
19389         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19390         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19391         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19392         (__strncasecmp_l_ia32): Define as alias to
19393         __strncasecmp_l_nonascii.
19395         [BZ #5794]
19396         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19397         * sysdeps/i386/fpu/libm-test-ulps: Update.
19398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19400         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19403 2012-02-29  Jeff Law  <law@redhat.com>
19405         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19406         out of bounds read.
19408 2012-02-29  Marek Polacek  <polacek@redhat.com>
19410         [BZ #13706]
19411         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19412         * elf/Makefile: Add rules to run tst-unused-dep.out.
19414 2012-02-28  David S. Miller  <davem@davemloft.net>
19416         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19417         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19418         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19419         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19420         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19421         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19423 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19425         * math/libm-test.inc (llround_test): Move one test from
19426         lround_test.  Use TEST_f_L in moved test.
19427         (lround_test): Move misplaced test to llround_test.  Add testcase
19428         from bug 2561.
19430 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19432         * sysdeps/x86_64/fpu/e_expf.S: New file.
19433         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19435 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19437         [BZ #13637]
19438         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19439         of remain_len that may cause incomplete multi-byte character and
19440         false match.
19441         * posix/bug-regex33.c: New file.
19442         * posix/Makefile (tests): Add bug-regex33.
19444 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19446         * manual/macros.texi: New file.
19447         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19448         * manual/libc.texinfo: Include macros.texi.
19449         * manual/creatute.texi: Likewise.
19450         * manual/install.texi: Likewise.
19451         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19452         @glibcadj{} in references to the GNU C Library.
19453         * manual/charset.texi: Likewise.
19454         * manual/conf.texi: Likewise.
19455         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19456         when not using those macros.
19457         * manual/creature.texi: Likewise.
19458         * manual/crypt.texi: Likewise.
19459         * manual/errno.texi: Likewise.
19460         * manual/filesys.texi: Likewise.
19461         * manual/header.texi: Likewise.
19462         * manual/install.texi: Likewise.
19463         * manual/intro.texi: Likewise.
19464         * manual/io.texi: Likewise.
19465         * manual/job.texi: Likewise.
19466         * manual/lang.texi: Likewise.
19467         * manual/libc.texiinfo: Likewise.
19468         * manual/llio.texi: Likewise.
19469         * manual/locale.texi: Likewise.
19470         * manual/maint.texi: Likewise.
19471         * manual/math.texi: Likewise.
19472         * manual/memory.texi: Likewise.
19473         * manual/message.texi: Likewise.
19474         * manual/nss.texi: Likewise.
19475         * manual/pattern.texi: Likewise.
19476         * manual/process.texi: Likewise.
19477         * manual/resource.texi: Likewise.
19478         * manual/search.texi: Likewise.
19479         * manual/setjmp.texi: Likewise.
19480         * manual/signal.texi: Likewise.
19481         * manual/socket.texi: Likewise.
19482         * manual/startup.texi: Likewise.
19483         * manual/stdio.texi: Likewise.
19484         * manual/string.texi: Likewise.
19485         * manual/sysinfo.texi: Likewise.
19486         * manual/syslog.texi: Likewise.
19487         * manual/terminal.texi: Likewise.
19488         * manual/time.texi: Likewise.
19489         * manual/users.texi: Likewise.
19490         * INSTALL: Regenerated.
19491         * NOTES: Regenerated.
19492         * sysdeps/gnu/errlist.c: Regenerated.
19494 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19496         * include/dirent.h: Include <dirstream.h> before
19497         <dirent/dirent.h>.
19499 2012-02-28  David S. Miller  <davem@davemloft.net>
19501         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19502         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19503         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19504         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19506 2012-02-27  David S. Miller  <davem@davemloft.net>
19508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19510         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19511         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19514         frame pointer instead of stack pointer relative arg slot.
19515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19516         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19517         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19519 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19521         [BZ #3992]
19522         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19524 2012-02-27  David S. Miller  <davem@davemloft.net>
19526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19530         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19531         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19532         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19533         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19535 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19537         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19538         later.  Allow versions 5-9.
19539         * configure: Regenerated.
19540         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19541         required minimum version and 4.6 as recommended version.  Do not
19542         mention bugs in GCC 2.7 and 2.8.
19543         * INSTALL: Regenerated.
19545 2012-02-27  David S. Miller  <davem@davemloft.net>
19547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19551         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19552         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19553         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19554         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19556         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19557         manipulate bits before adding and subtracting TWO112[sx].
19558         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19560 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19562         [BZ #13775]
19563         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19564         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19565         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19566         being in POSIX, because they are in 1003.1-2008.
19568         * rt/tst-aio.c: Include <fcntl.h>.
19569         * rt/tst-aio7.c: Likewise.
19570         * rt/tst-aio64.c: Likewise.
19572         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19574 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19576         * manual/install.texi (--with-headers): Describe headers as
19577         interface headers, not private headers.
19578         (Specific advice for GNU/Linux systems): Describe use of headers
19579         from "make headers_install", not private headers from older
19580         kernels.
19581         * INSTALL: Regenerated.
19582         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19583         Change to 2.6.19.
19584         * sysdeps/unix/sysv/linux/configure: Regenerated.
19586         * manual/llio.texi (fclean): Remove documentation.
19588         * manual/Makefile (libc-texi-generated): New variable.  Include
19589         version.texi.
19590         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19591         $(libc-texi-generated), not duplicated list of files.
19592         (version.texi, stamp-version): New rules.
19593         (realclean): Remove $(libc-texi-generated), not individual files
19594         from that list.  Do not remove dir-add.texinfo.
19595         * manual/libc.texinfo: Comment out uses of edition numbers and
19596         references to printed manual.  Remove last-updated dates.
19597         (EDITION): Comment out.
19598         (ISBN): Likewise.
19599         (VERSION, UPDATED): Remove.
19600         (version.texi): Include.
19602 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19604         * sysdeps/posix/spawni.c: Include <signal.h>.
19605         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19606         * sysdeps/pthread/aio_fsync.c: Likewise.
19608 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19610         * conform/Makefile (tests): Run only when not cross-compiling and
19611         when fast-check is not defined.
19613         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19614         * conform/data/limits.h-data: Fixes for POSIX2008.
19615         * conform/run-conformtest.sh: Run all tests.
19616         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19617         headers.
19618         * include/bits/dlfcn.h: Likewise.
19619         * include/langinfo.h: Likewise.
19620         * include/monetary.h: Likewise.
19621         * include/sys/poll.h: Likewise.
19623         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19624         for __USE_GNU.
19625         * posix/spawn.h: Define __need_sigset_t.
19626         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19627         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19628         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19629         to get sigevent_t only.
19630         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19631         only for __USE_GNU.
19632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19633         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19634         process_vm_writev only for __USE_GNU.
19635         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19637         * conform/Makefile: For now ignore errors from run-conformtest.
19638         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19639         POSIX to avoid namespace pollution.  Don't prepend headers.
19640         * conform/data/aio.h-data: Fixes for POSIX testing.
19641         * conform/data/fcntl.h-data: Likewise.
19642         * conform/data/glob.h-data: Likewise.
19643         * conform/data/grp.h-data: Likewise.
19644         * conform/data/pthread.h-data: Likewise.
19645         * conform/data/pwd.h-data: Likewise.
19646         * conform/data/signal.h-data: Likewise.
19647         * conform/data/spawn.h-data: Likewise.
19648         * conform/data/stdio.h-data: Likewise.
19649         * conform/data/stdlib.h-data: Likewise.
19650         * conform/data/stropts.h-data: Likewise.
19651         * conform/data/sys/mman.h-data: Likewise.
19652         * conform/data/sys/stat.h-data: Likewise.
19653         * conform/data/sys/types.h-data: Likewise.
19654         * conform/data/sys/wait.h-data: Likewise.
19655         * conform/data/time.h-data: Likewise.
19656         * conform/data/unistd.h-data: Likewise.
19657         * conform/data/utime.h-data: Likewise.
19659         * io/sys/stat.h: fchmod was always in POSIX.
19660         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19661         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19662         * rt/aio.h: Define __need_timespec before including <time.h>.
19663         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19664         struct.  Add forward declaration of pthread_attr_t and use it in
19665         sigevent.
19666         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19667         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19668         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19669         always remove CLK_TCK definition.
19671 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19673         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19675 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19677         * conform/run-conformtest.sh: New file.
19678         * conform/Makefile: Run run-conformtest for tests.
19679         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19680         support.
19682         * conform/data/uchar.h-data: New file.
19683         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19684         * conform/data/arpa/inet.h-data: Likewise.
19685         * conform/data/assert.h-data: Likewise.
19686         * conform/data/complex.h-data: Likewise.
19687         * conform/data/cpio.h-data: Likewise.
19688         * conform/data/ctype.h-data: Likewise.
19689         * conform/data/dirent.h-data: Likewise.
19690         * conform/data/dlfcn.h-data: Likewise.
19691         * conform/data/errno.h-data: Likewise.
19692         * conform/data/fcntl.h-data: Likewise.
19693         * conform/data/float.h-data: Likewise.
19694         * conform/data/fmtmsg.h-data: Likewise.
19695         * conform/data/fnmatch.h-data: Likewise.
19696         * conform/data/ftw.h-data: Likewise.
19697         * conform/data/glob.h-data: Likewise.
19698         * conform/data/grp.h-data: Likewise.
19699         * conform/data/iconv.h-data: Likewise.
19700         * conform/data/inttypes.h-data: Likewise.
19701         * conform/data/langinfo.h-data: Likewise.
19702         * conform/data/libgen.h-data: Likewise.
19703         * conform/data/limits.h-data: Likewise.
19704         * conform/data/locale.h-data: Likewise.
19705         * conform/data/math.h-data: Likewise.
19706         * conform/data/monetary.h-data: Likewise.
19707         * conform/data/mqueue.h-data: Likewise.
19708         * conform/data/ndbm.h-data: Likewise.
19709         * conform/data/net/if.h-data: Likewise.
19710         * conform/data/netdb.h-data: Likewise.
19711         * conform/data/netinet/in.h-data: Likewise.
19712         * conform/data/nl_types.h-data: Likewise.
19713         * conform/data/poll.h-data: Likewise.
19714         * conform/data/pthread.h-data: Likewise.
19715         * conform/data/pwd.h-data: Likewise.
19716         * conform/data/regex.h-data: Likewise.
19717         * conform/data/sched.h-data: Likewise.
19718         * conform/data/search.h-data: Likewise.
19719         * conform/data/semaphore.h-data: Likewise.
19720         * conform/data/setjmp.h-data: Likewise.
19721         * conform/data/signal.h-data: Likewise.
19722         * conform/data/spawn.h-data: Likewise.
19723         * conform/data/stdarg.h-data: Likewise.
19724         * conform/data/stdio.h-data: Likewise.
19725         * conform/data/stdlib.h-data: Likewise.
19726         * conform/data/string.h-data: Likewise.
19727         * conform/data/strings.h-data: Likewise.
19728         * conform/data/stropts.h-data: Likewise.
19729         * conform/data/sys/ipc.h-data: Likewise.
19730         * conform/data/sys/mman.h-data: Likewise.
19731         * conform/data/sys/msg.h-data: Likewise.
19732         * conform/data/sys/resource.h-data: Likewise.
19733         * conform/data/sys/select.h-data: Likewise.
19734         * conform/data/sys/sem.h-data: Likewise.
19735         * conform/data/sys/shm.h-data: Likewise.
19736         * conform/data/sys/socket.h-data: Likewise.
19737         * conform/data/sys/stat.h-data: Likewise.
19738         * conform/data/sys/statvfs.h-data: Likewise.
19739         * conform/data/sys/time.h-data: Likewise.
19740         * conform/data/sys/timeb.h-data: Likewise.
19741         * conform/data/sys/times.h-data: Likewise.
19742         * conform/data/sys/types.h-data: Likewise.
19743         * conform/data/sys/uio.h-data: Likewise.
19744         * conform/data/sys/un.h-data: Likewise.
19745         * conform/data/sys/utsname.h-data: Likewise.
19746         * conform/data/sys/wait.h-data: Likewise.
19747         * conform/data/syslog.h-data: Likewise.
19748         * conform/data/tar.h-data: Likewise.
19749         * conform/data/termios.h-data: Likewise.
19750         * conform/data/utime.h-data: Likewise.
19751         * conform/data/utmpx.h-data: Likewise.
19752         * conform/data/varargs.h-data: Likewise.
19753         * conform/data/wchar.h-data: Likewise.
19754         * conform/data/wctype.h-data: Likewise.
19755         * conform/data/wordexp.h-data: Likewise.
19757         * include/stropts.h: New file.
19758         * include/uchar.h: New file.
19759         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19760         * include/assert.h: Likewise.
19761         * include/ctype.h: Likewise.
19762         * include/dirent.h: Likewise.
19763         * include/dlfcn.h: Likewise.
19764         * include/fcntl.h: Likewise.
19765         * include/fnmatch.h: Likewise.
19766         * include/glob.h: Likewise.
19767         * include/grp.h: Likewise.
19768         * include/libio.h: Likewise.
19769         * include/locale.h: Likewise.
19770         * include/math.h: Likewise.
19771         * include/net/if.h: Likewise.
19772         * include/netdb.h: Likewise.
19773         * include/netinet/in.h: Likewise.
19774         * include/pthread.h: Likewise.
19775         * include/pwd.h: Likewise.
19776         * include/regex.h: Likewise.
19777         * include/sched.h: Likewise.
19778         * include/search.h: Likewise.
19779         * include/setjmp.h: Likewise.
19780         * include/signal.h: Likewise.
19781         * include/stdio.h: Likewise.
19782         * include/stdlib.h: Likewise.
19783         * include/string.h: Likewise.
19784         * include/sys/cdefs.h: Likewise.
19785         * include/sys/mman.h: Likewise.
19786         * include/sys/msg.h: Likewise.
19787         * include/sys/resource.h: Likewise.
19788         * include/sys/select.h: Likewise.
19789         * include/sys/socket.h: Likewise.
19790         * include/sys/stat.h: Likewise.
19791         * include/sys/statvfs.h: Likewise.
19792         * include/sys/time.h: Likewise.
19793         * include/sys/times.h: Likewise.
19794         * include/sys/uio.h: Likewise.
19795         * include/sys/utsname.h: Likewise.
19796         * include/sys/wait.h: Likewise.
19797         * include/termios.h: Likewise.
19798         * include/time.h: Likewise.
19799         * include/ulimit.h: Likewise.
19800         * include/unistd.h: Likewise.
19801         * include/utime.h: Likewise.
19802         * include/wchar.h: Likewise.
19803         * include/wctype.h: Likewise.
19804         * include/wordexp.h: Likewise.
19806         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19808         * time/time.h: TIME_UTC must be a macro.
19809         Make timespec_get available for ISO C11 only as well.
19811 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19813         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19814         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19816 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19818         * configure.in: Use -o not -a in test for unsupported multi-arch.
19820 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19822         * manual/texinfo.tex: Update to version 2012-01-19.16.
19824 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19826         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19828 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19830         [BZ #13738]
19831         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19832         * manual/fdl-1.3.texi: New file.
19833         * manual/fdl-1.1.texi: File removed.
19835         [BZ #13738]
19836         * manual/libc.texinfo (FDL_VERSION): New @set.
19837         Use it for mention of FDL in cover text.
19838         (Documentation License): Use it in @include file name.
19840 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19841             Roland McGrath  <roland@hack.frob.com>
19843         [BZ #5461]
19844         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19845         not LONG_LONG_MAX and LONG_LONG_MIN.
19846         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19847         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19848         name.
19849         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19851 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19853         [BZ #2547]
19854         [BZ #11365]
19855         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19856         manipulate bits before adding and subtracting TWO23[sx].
19857         * math/libm-test.inc (nearbyint_test): Add more tests.
19859 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19861         [BZ #2548]
19862         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19863         bits before adding and subtracting TWO23[sx].
19864         * math/libm-test.inc (rint_test): Add more tests.
19865         (rint_test_tonearest): Likewise.
19866         (rint_test_towardzero): Likewise.
19867         (rint_test_downward): Likewise.
19868         (rint_test_upward: Likewise.
19870 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19872         [BZ #10110]
19873         * include/stdc-predef.h: New file.  Extracted from features.h.
19874         * include/features.h: Include stdc-predef.h.
19875         * Makefile (headers): Add stdc-predef.h.
19876         * CONFORMANCE (Compiler limitations): Update.
19878 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19880         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19882 2012-02-21  David S. Miller  <davem@davemloft.net>
19884         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19885         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19887 2012-02-20  David S. Miller  <davem@davemloft.net>
19889         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19890         using a normal save/restore sequence, rather than allocating a
19891         dummy stack frame just to store a frame pointer and restore.
19892         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19894 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19896         * manual/install.texi: Fix stray word in line-wrapped comment.
19898 2012-02-20  David S. Miller  <davem@davemloft.net>
19900         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19901         both binutils and gcc support GOTDATA.
19903         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19904         "rd %pc" in the PIC register setup sequences.
19906         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19907         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19908         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19909         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19910         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19912         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19915         (SYSCALL_ERROR_HANDLER): Likewise.
19916         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19917         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19919         (SYSCALL_ERROR_HANDLER): Likewise.
19921         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19922         (HAVE_GCC_GOTDATA): New.
19923         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19924         relocation support in both binutils and gcc.
19925         * sysdeps/sparc/elf/configure: Regenerate.
19927         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19928         * sysdeps/sparc/sparc32/elf/configure: Delete.
19929         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19930         * sysdeps/sparc/sparc64/elf/configure: Delete.
19931         * sysdeps/sparc/elf/configure.in: New file.
19932         * sysdeps/sparc/elf/configure: Generate.
19934         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19935         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19936         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19937         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19938         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19940 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19942         * manual/install.texi: Do not mention specific glibc version
19943         numbers.
19944         * manual/libc.texinfo (VERSION, UPDATED): Update.
19945         (@copying): Use @copyright{} and range of years.
19947 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19949         [BZ #13695]
19950         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19951         [crti.S not in sysdirs] (generated): Do not append.
19952         [crti.S not in sysdirs] (omit-deps): Likewise.
19953         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19954         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19955         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19956         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19957         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19958         Likewise.
19959         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19960         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19961         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19962         * csu/defs.awk: Remove file.
19963         * sysdeps/generic/initfini.c: Likewise.
19964         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19965         variable.
19966         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19967         Likewise.
19969 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19971         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19972         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19973         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19974         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19975         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19976         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19977         <bits/epoll.h>.
19978         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19979         (__EPOLL_PACKED): Define to empty if not defined by
19980         <bits/epoll.h>.
19981         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19983         bits/epoll.h.
19985 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19987         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19988         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19989         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19990         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19991         <bits/timerfd.h>.
19992         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19994         bits/timerfd.h.
19996 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19998         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19999         in C locale.
20000         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20005 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20007         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20008         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20010 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20012         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20013         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20014         defined.
20015         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20016         Likewise.
20017         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20018         entry for 2.16.
20020 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20022         * math/w_acos.c: Use non-signaling floating-point comparisons.
20023         * math/w_acosf.c: Likewise.
20024         * math/w_acosh.c: Likewise.
20025         * math/w_acoshf.c: Likewise.
20026         * math/w_acoshl.c: Likewise.
20027         * math/w_acosl.c: Likewise.
20028         * math/w_asin.c: Likewise.
20029         * math/w_asinf.c: Likewise.
20030         * math/w_asinl.c: Likewise.
20031         * math/w_atanh.c: Likewise.
20032         * math/w_atanhf.c: Likewise.
20033         * math/w_atanhl.c: Likewise.
20034         * math/w_exp2.c: Likewise.
20035         * math/w_exp2f.c: Likewise.
20036         * math/w_exp2l.c: Likewise.
20037         * math/w_j0.c: Likewise.
20038         * math/w_j0f.c: Likewise.
20039         * math/w_j0l.c: Likewise.
20040         * math/w_j1.c: Likewise.
20041         * math/w_j1f.c: Likewise.
20042         * math/w_j1l.c: Likewise.
20043         * math/w_jn.c: Likewise.
20044         * math/w_jnf.c: Likewise.
20045         * math/w_log.c: Likewise.
20046         * math/w_log10.c: Likewise.
20047         * math/w_log10f.c: Likewise.
20048         * math/w_log10l.c: Likewise.
20049         * math/w_log2.c: Likewise.
20050         * math/w_log2f.c: Likewise.
20051         * math/w_log2l.c: Likewise.
20052         * math/w_logf.c: Likewise.
20053         * math/w_logl.c: Likewise.
20054         * math/w_sqrt.c: Likewise.
20055         * math/w_sqrtf.c: Likewise.
20056         * math/w_sqrtl.c: Likewise.
20057         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20058         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20059         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20060         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20061         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20063 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20065         [BZ #9739]
20066         * manual/string.texi (strnlen): Use correct parameter name in
20067         equivalent expression.
20069 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20071         [BZ #11174]
20072         * manual/users.texi (seteuid): Consistently use neweuid for
20073         argument name.
20075 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20077         [BZ #13704]
20078         * manual/nss.texi (Services in the NSS configuration): Correct
20079         list of services in example configuration file.
20081 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20083         [BZ #11322]
20084         * manual/arith.texi: Remove statements about negative zero
20085         behaving identically to zero.
20087 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20089         [BZ #5993]
20090         * manual/install.texi: Do not document upgrading from libc5.
20092 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20094         [BZ #4596]
20095         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20097 2012-02-18  David S. Miller  <davem@davemloft.net>
20099         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20100         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20101         %o7 across the call.
20102         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20103         instead.
20104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20105         SETUP_PIC_REG_LEAF.
20106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20107         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20108         * sysdeps/sparc/crtn.S: Likewise.
20110 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20112         * aout/Makefile: Remove.
20114 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20116         [BZ #13058]
20117         * manual/examples/argp-ex1.c (main): Format definition in GNU
20118         style.
20119         * manual/examples/argp-ex2.c (main): Likewise.
20120         * manual/examples/argp-ex3.c (main): Likewise.
20121         * manual/examples/argp-ex4.c (main): Likewise.
20122         * manual/examples/longopt.c (main): Use new-style prototype
20123         definition.
20124         * manual/examples/strncat.c (main): Specify return type and use
20125         (void) for arguments.
20126         * manual/examples/subopt.c (main): Use char **argv argument.
20128 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #5077]
20131         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20132         rounding modes.
20134 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20136         [BZ #6907]
20137         * manual/string.texi (strchr): Change when strchrnul is
20138         recommended.
20140 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20142         [BZ #174]
20143         * manual/locale.texi (setlocale): Document LOCPATH.
20145 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20147         [BZ #10210]
20148         * manual/process.texi (execle): Move @dots{} before last argument.
20150 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20152         [BZ #12047]
20153         * manual/charset.texi (Generic Charset Conversion): Fix typo
20154         (LC_TYPE -> LC_CTYPE).
20156 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20158         [BZ #5805]
20159         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20160         (scalbnf): Likewise.
20161         (scalbnl): Likewise.
20162         (scalbln): Likewise.
20163         (scalblnf): Likewise.
20164         (scalblnl): Likewise.
20165         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20166         (vwarnx): Likewise.
20167         (verr): Likewise.
20168         (verrx): Likewise.
20169         * manual/filesys.texi (telldir): Use braces around return type.
20170         * manual/llio.texi (mmap): Add space after comma.
20171         (mmap64): Likewise.
20172         * manual/math.texi (jn): Use @var{} on parameter names.
20173         (jnf): Likewise.
20174         (jnl): Likewise.
20175         (yn): Likewise.
20176         (ynf): Likewise.
20177         (ynl): Likewise.
20178         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20179         line.
20180         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20181         "...".
20182         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20183         (sched_get_priority_max): Likewise.
20184         * manual/signal.texi (sigvec): Add space after comma.
20185         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20186         names.
20187         (if_indextoname): Likewise.
20188         (if_freenameindex): Likewise.
20189         (sendto): Use ',' instead of '.' in prototype.
20190         * manual/startup.texi (syscall): Use @dots{} instead of literal
20191         "...".
20192         * manual/stdio.texi (__fpending): Separate initial words of
20193         paragraph from @deftypefun line.
20194         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20195         "...".
20196         (vsyslog): Use @var{} on parameter names.
20197         * manual/terminal.texi (stty): Use @var{} on parameter names.
20198         * manual/users.texi (getutmp): Use @var{} on parameter names.
20199         (getutmpx): Likewise.
20201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20203         [BZ #6884]
20204         * manual/stdio.texi (fopen): Fix typos in description of
20205         ",ccs=STRING".
20207 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20209         [BZ #4026]
20210         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20211         get clock_id definition.
20213 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20215         [BZ #4822]
20216         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20217         (madvise): Cast every argument to void on its own.
20219 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20221         [BZ #9902]
20222         * manual/startup.texi (Exit Status): Fix typo.
20224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20226         [BZ #10140]
20227         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20228         * manual/examples/argp-ex2.c: Likewise.
20229         * manual/examples/argp-ex3.c: Likewise.
20231 2012-02-16  Richard Henderson  <rth@redhat.com>
20233         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20234         * sysdeps/s390/s390-32/initfini.c: Remove.
20235         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20236         * sysdeps/s390/s390-64/initfini.c: Remove.
20238 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20240         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20241         compiler output for sysdeps/generic/initfini.c.
20242         * sysdeps/sh/elf/initfini.c: Remove file.
20244 2012-02-16  David S. Miller  <davem@davemloft.net>
20246         [BZ #11494]
20247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20249         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20250         * sysdeps/sparc/crti.S: New file.
20251         * sysdeps/sparc/crtn.S: New file.
20252         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20253         * sysdeps/sparc/sparc64/Makefile: Likewise.
20255 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
20257         [BZ #3335]
20258         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20260 2012-02-15  Roland McGrath  <roland@hack.frob.com>
20262         [BZ #4822]
20263         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20265         * mach/devstream.c (cookie_io_functions_t): Macro removed.
20266         (write, read, close): Likewise.
20267         Patch by Aurelien Jarno <aurelien@aurel32.net>.
20269 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
20271         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20272         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20273         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20274         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20275         <bits/signalfd.h>.
20276         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20278         bits/signalfd.h.
20280 2012-02-14  Marek Polacek  <polacek@redhat.com>
20282         * sysdeps/x86_64/crti.S: New file.
20283         * sysdeps/x86_64/crtn.S: New file.
20284         * sysdeps/x86_64/elf/initfini.c: Remove file.
20286 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20288         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20289         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20290         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20291         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20292         <bits/inotify.h>.
20293         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20295         bits/inotify.h.
20297 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20299         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20300         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20301         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20302         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20303         <bits/eventfd.h>.
20304         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20306         bits/eventfd.h.
20308 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20310         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20311         __feraiseexcept instead of feraiseexcept.
20313         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20314         nanosleep invocations.
20315         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20316         strings, and add error checking for a nanosleep invocations.
20318 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20320         Replace FSF snail mail address with URLs, as per GNU coding standards.
20321         Most of the snail mail addresses were wrong anyway, and omitting
20322         them makes the source code easier to maintain.  Almost all of the
20323         changes are to license notices and to locale LC_IDENTIFICATION
20324         addresses, except for this one:
20325         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20326         not its snail mail address.
20328 2012-02-09  Richard Henderson  <rth@twiddle.net>
20330         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20331         of kernel-features.h.
20333         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20335 2012-02-08  Marek Polacek  <polacek@redhat.com>
20337         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20338         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20339         * sysdeps/gnu/_G_config.h: Likewise.
20340         * sysdeps/generic/_G_config.h: Likewise.
20342 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20344         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20345         tests.
20346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20348         * sysdeps/powerpc/powerpc32/crti.S: New file.
20349         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20350         * sysdeps/powerpc/powerpc64/crti.S: New file.
20351         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20353         * Makeconfig (have-initfini): Don't set.
20354         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20355         * configure.in (nopic_initfini): Don't substitute.
20356         * config.h.in (HAVE_INITFINI): Don't #undef.
20357         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20358         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20360 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20362         Support crti.S and crtn.S provided directly by architectures.
20363         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20364         [crti.S in sysdirs] (omit-deps): Likewise.
20365         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20366         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20367         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20368         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20369         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20370         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20371         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20372         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20373         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20374         compiler output for sysdeps/generic/initfini.c.
20375         * sysdeps/i386/elf/Makefile: Remove file.
20376         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20378 2012-02-07  Marek Polacek  <polacek@redhat.com>
20380         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20381         * sysdeps/gnu/_G_config.h: Likewise.
20382         * sysdeps/mach/hurd/_G_config.h: Likewise.
20384 2012-02-07  Marek Polacek  <polacek@redhat.com>
20386         * math/Makefile (tests): Add tst-CMPLX2.
20387         * math/tst-CMPLX2.c: New file.
20389 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20391         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20393         * math/libm-test.inc (jn_test): Add missing L suffix.
20395 2012-02-06  Marek Polacek  <polacek@redhat.com>
20397         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20398         * sysdeps/i386/fpu/e_powf.S: Likewise.
20399         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20400         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20401         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20402         * sysdeps/i386/fpu/e_pow.S: Likewise.
20403         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20404         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20405         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20406         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20407         * sysdeps/i386/fpu/e_log2.S: Likewise.
20408         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20409         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20410         * sysdeps/i386/fpu/e_powl.S: Likewise.
20411         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20412         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20413         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20414         * sysdeps/i386/fpu/e_logl.S: Likewise.
20415         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20416         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20417         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20418         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20419         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20420         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20421         * sysdeps/i386/fpu/e_log.S: Likewise.
20422         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20423         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20424         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20425         * sysdeps/i386/fpu/e_logf.S: Likewise.
20426         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20427         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20428         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20429         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20430         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20431         * sysdeps/i386/fpu/e_log10.S: Likewise.
20432         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20433         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20434         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20435         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20436         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20437         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20438         * sysdeps/i386/asm-syntax.h: Likewise.
20439         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20440         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20441         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20442         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20443         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20444         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20445         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20446         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20447         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20448         * sysdeps/powerpc/sysdep.h: Likewise.
20449         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20450         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20452 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20454         [BZ #411]
20455         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20457 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20459         * sysdeps/i386/sysdep.h: Include <features.h>.
20460         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20461         version.
20463 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20465         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20466         Define.
20467         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20468         LOAD_PIC_REG_STR.
20470 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20472         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20473         (SETUP_PIC_REG): Use GET_PC_THUNK.
20474         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20475         macro.
20477 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20479         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20480         for non-PIC compilation.
20481         (SETUP_PIC_REG): Add .p2align directive.
20482         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20483         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20484         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20485         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20486         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20487         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20488         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20489         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20490         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20491         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20492         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20493         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20494         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20495         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20496         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20497         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20498         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20499         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20500         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20501         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20502         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20503         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20504         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20505         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20508         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20509         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20510         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20511         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20512         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20513         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20514         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20515         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20516         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20517         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20518         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20519         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20520         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20521         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20522         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20524 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20526         * math/tst-CMPLX.c: Include <stdio.h>.
20528 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20530         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20531         float.
20532         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20533         * sysdeps/sparc/bits/mathdef.h: Likewise.
20535 2012-01-31  Marek Polacek  <polacek@redhat.com>
20537         * libio/libio.h: Don't define _PARAMS.
20538         * locale/programs/config.h: Don't define PARAMS.
20539         * stdlib/strtol_l.c: Likewise.
20540         (__strtol_l): Remove PARAMS from the prototype.
20542 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20544         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20545         names.  Just use the correct names.  Remove unnecessary wrapper
20546         functions.
20547         * malloc/arena.c: Likewise.
20548         * malloc/hooks.c: Likewise.
20550         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20551         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20552         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20554 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20556         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20557         into tail calls.
20558         (update_get_addr): New function.
20559         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20560         GET_ADDR_MODULE parameter.
20562 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20564         * crypt/cert.c: Remove __STDC__ conditionals.
20565         * crypt/crypt-entry.c: Likewise.
20566         * crypt/crypt_util.c: Likewise.
20567         * libio/filedoalloc.c: Likewise.
20568         * libio/fileops.c: Likewise.
20569         * libio/genops.c: Likewise.
20570         * libio/iofclose.c: Likewise.
20571         * libio/iofdopen.c: Likewise.
20572         * libio/iofopen.c: Likewise.
20573         * libio/iofopen64.c: Likewise.
20574         * libio/iogetdelim.c: Likewise.
20575         * libio/iopopen.c: Likewise.
20576         * libio/obprintf.c: Likewise.
20577         * libio/oldfileops.c: Likewise.
20578         * libio/oldiofclose.c: Likewise.
20579         * libio/oldiofdopen.c: Likewise.
20580         * libio/oldiofopen.c: Likewise.
20581         * libio/oldiopopen.c: Likewise.
20582         * libio/wfiledoalloc.c: Likewise.
20583         * libio/wgenops.c: Likewise.
20584         * locale/programs/xmalloc.c: Likewise.
20585         * misc/syslog.c: Likewise.
20586         * stdio-common/xbug.c: Likewise.
20587         * string/memchr.c: Likewise.
20588         * string/memcmp.c: Likewise.
20589         * string/memrchr.c: Likewise.
20590         * string/rawmemchr.c: Likewise.
20591         * sysdeps/posix/getcwd.c: Likewise.
20592         * time/strftime_l.c: Likewise.
20594 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20596         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20597         * config.make.in (config-cflags-sse2avx): Define.
20598         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20599         Fix typo.
20601 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20603         * scripts/config.guess: Update from upstream config git repository.
20604         * scripts/config.sub: Likewise.
20606 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20608         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20609         (EM_NUM): Update.
20610         (R_TILEPRO_*, R_TILEGX_*): New macros.
20612         * scripts/firstversions.awk: Fix bug in version range handling.
20614         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20616         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20618         * include/sys/epoll.h: New file.
20619         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20620         libc_hidden_def.
20622 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20624         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20625         Avoid unnecessary __WORDSIZE == 64 test.
20626         (fmaxf): Use VEX format if possible.
20627         (fmax): Likewise.
20628         (fminf): Likewise.
20629         (fmin): Likewise.
20631         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20632         * math/math_private.h: Remove libc_fegetround* and
20633         libc_fesetround*.
20634         * sysdeps/i386/configure.in: Check for -msse2avx.
20635         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20636         also if SSE2AVX is defined.
20637         Remove libc_fegetround* and libc_fesetround*.
20638         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20639         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20640         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20641         of HAS_YMM_USABLE.
20642         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20643         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20644         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20645         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20646         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20648         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20650 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20652         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20653         size is not set.
20654         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20656 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20658         [BZ #13618]
20659         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20660         relocation.
20661         * Makeconfig (libm): Define.
20662         * elf/Makefile: Add rules to build and run tst-relsort1.
20663         * elf/tst-relsort1.c: New file.
20664         * elf/tst-relsort1mod1.c: New file.
20665         * elf/tst-relsort1mod2.c: New file.
20667 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20669         * math/s_ldexp.c: Remove __STDC__ conditionals.
20670         * math/s_ldexpf.c: Likewise.
20671         * math/s_ldexpl.c: Likewise.
20672         * math/s_nextafter.c: Likewise.
20673         * math/s_nexttowardf.c: Likewise.
20674         * math/s_significand.c: Likewise.
20675         * math/s_significandf.c: Likewise.
20676         * math/s_significandl.c: Likewise.
20677         * math/w_jnl.c: Likewise.
20678         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20679         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20680         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20681         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20682         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20683         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20684         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20685         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20686         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20687         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20688         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20689         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20690         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20691         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20692         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20693         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20694         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20697         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20698         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20699         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20700         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20701         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20702         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20703         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20704         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20705         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20706         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20707         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20708         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20709         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20710         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20711         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20712         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20713         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20714         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20715         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20716         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20717         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20718         * sysdeps/ieee754/k_standard.c: Likewise.
20719         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20720         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20721         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20722         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20723         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20724         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20725         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20726         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20727         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20728         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20729         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20731         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20732         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20733         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20734         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20735         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20737         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20738         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20741         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20742         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20743         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20744         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20747         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20748         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20749         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20750         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20751         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20752         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20754         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20755         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20756         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20757         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20758         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20759         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20761         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20762         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20763         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20764         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20766         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20768         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20769         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20770         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20771         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20772         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20773         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20774         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20775         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20776         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20777         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20778         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20779         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20780         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20781         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20782         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20783         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20784         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20785         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20786         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20787         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20788         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20789         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20790         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20791         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20792         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20794         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20795         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20796         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20797         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20798         * sysdeps/ieee754/s_matherr.c: Likewise.
20799         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20800         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20801         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20802         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20804 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20806         * crypt/md5.h: Remove __STDC__ conditionals.
20807         * libio/libioP.h: Likewise.
20808         * locale/programs/config.h: Likewise.
20809         * sysdeps/generic/sysdep.h: Likewise.
20810         * sysdeps/i386/asm-syntax.h: Likewise.
20811         * sysdeps/s390/asm-syntax.h: Likewise.
20812         * sysdeps/unix/sysdep.h: Likewise.
20813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20816 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20818         * libio/libio.h: Remove __STDC__ conditionals.
20819         * malloc/obstack.h: Likewise.
20820         * math/complex.h: Likewise.
20821         * math/math.h: Likewise.
20822         * sysdeps/generic/_G_config.h: Likewise.
20823         * sysdeps/gnu/_G_config.h: Likewise.
20824         * sysdeps/mach/hurd/_G_config.h: Likewise.
20825         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20826         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20827         * sysdeps/sparc/bits/mathdef.h: Likewise.
20829 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20831         [BZ #13583]
20832         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20833         Clean up HAS_* macros.
20834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20835         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20836         possible.
20837         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20838         HAS_AVX.
20839         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20840         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20841         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20842         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20843         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20845 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20847         * elf/tst-unique3.cc (gets): Remove declaration.
20848         * elf/tst-unique3lib.cc (gets): Likewise.
20849         * elf/tst-unique3lib2.cc (gets): Likewise.
20850         * elf/tst-unique4.cc (gets): Likewise.
20852 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20854         * include/stdio.h: Add C++ protection.  Add gets declarations and
20855         definitions.
20856         * debug/tst-chk1.c: Don't declare gets here.
20857         * stdio-common/tst-gets.c: Likewise.
20859 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20861         * posix/glob: Remove directory.
20863 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20865         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20867 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20869         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20870         of the non-standard EPFNOSUPPORT.
20872 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20874         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20875         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20876         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20878 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20880         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20882 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20884         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20885         transient errors.
20886         * nscd/grpcache.c (cache_addgr): Likewise.
20887         * nscd/hstcache.c (cache_addhst): Likewise.
20888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20889         * nscd/pwdcache.c (cache_addpw): Likewise.
20890         * nscd/servicescache.c (cache_addserv): Likewise.
20892 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20894         * malloc/malloc.c: Various cleanups.
20895         * malloc/hooks.c: Likewise.
20897         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20898         * stdlib/bug-fmtmsg1.c: New file.
20900         * stdlib/fmtmsg.c (init): Add missing unlock.
20901         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20903 2012-01-12  Marek Polacek  <polacek@redhat.com>
20905         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20906         and _GNU_SOURCE.
20908 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20910         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20911         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20912         macro to ensure uniqueness of label name.
20913         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20914         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20916 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20918         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20920         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20921         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20922         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20923         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20925 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20927         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20929         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20930         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20931         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20933         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20935         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20936         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20937         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20938         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20940         * math/bits/math-finite.h: Add ldexp support.
20942 2012-01-10  Marek Polacek  <polacek@redhat.com>
20944         * locale/programs/localedef.h (show_archive_content): Add noreturn
20945         attribute.
20947 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20949         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20951 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20953         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20955         * io/Makefile (headers): Add bits/poll2.h.
20957 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20960         typo #include statement.
20962 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20964         * include/sys/cdefs.h: Define __attribute_alloc_size.
20965         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20966         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20967         * elf/pldd.c: Likewise.
20968         * iconv/iconv_charmap.c: Likewise.
20969         * iconv/iconvconfig.c: Likewise.
20970         * iconv/strtab.c: Likewise.
20971         * locale/programs/locale.c: Likewise.
20972         * locale/programs/localedef.h: Likewise.
20973         * locale/programs/simple-hash.c: Likewise.
20974         * nscd/nscd.h: Likewise.
20975         * nss/makedb.c: Likewise.
20976         * sysdeps/generic/ldconfig.h: Likewise.
20977         * locale/programs/localedef.c: Remove xmalloc prototype.
20978         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20980 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20982         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20983         appropriate.
20985 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20987         * math/Makefile (tests): Add tst-CMPLX.
20988         * math/tst-CMPLX.c: New file.
20990         * math/complex.h (CMPLXL): Fix typo.
20992         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20993         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20994         GLIBC_2.16.
20995         * debug/tst-chk1.c: Add poll and ppoll tests.
20996         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20997         * include/sys/poll.h: Add hidden proto for ppoll.
20998         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20999         * sysdeps/mach/hurd/ppoll.c: Likewise.
21000         * io/ppoll.c: Likewise.
21001         * debug/poll_chk.c: New file.
21002         * debug/ppoll_chk.c: New file.
21003         * include/bits/poll2.h: New file.
21004         * io/bits/poll2.h: New file.
21006         [BZ #1350]
21007         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21009         * configure.in: static is always set to yes.  Remove.
21010         * config.make.in: Don't set build-static.
21011         * Makeconfig: Remove use of build-static.
21012         * dlfcn/Makefile: Likewise.
21013         * elf/Makefile: Likewise.
21014         * math/Makefile: Likewise.
21015         * misc/Makefile: Likewise.
21016         * nptl/Makefile: Likewise.
21017         * sysdeps/mach/hurd/Makefile: Likewise.
21019         * configure.in: PWD_P is not used anymore.
21020         * config.make.in: Remove PWD_P entry.
21022         * configure.in: Remove last remnants of RANLIB.
21023         No need to check for signed size_t anymore.
21024         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21025         and IA-64.
21026         Remove __builtin_expect test because we require at least gcc 3.4.
21027         * aclocal.m4: Likewise.
21029         * wcsmbs/mbrtoc16.c: Implement using towc function.
21030         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21031         * wcsmbs/wcsmbsload.c: Likewise.
21032         * iconv/gconv_simple.c: Likewise.
21033         * iconv/gconv_int.h: Likewise.
21034         * iconv/gconv_builtin.h: Likewise.
21035         * iconv/iconv_prog.c: Remove CHAR16 handling.
21037         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21039         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21041         * configure.in: Remove --with-elf and --enable-bounded options.
21042         Dont set base_machine for ia64.  More non-ELF conditions removed.
21043         Remove testing and setting of leading underscore information.
21044         * config.make.in (build-bounded): Set to no.
21045         * config.h.in: Remove NO_UNDERSCORES entry.
21046         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21047         them.
21048         * csu/start.c: Remove !NO_UNDERSCORE code.
21049         * locale/localeinfo.h: Likewise.
21050         * sysdeps/generic/machine-gmon.h: Likewise.
21051         * sysdeps/generic/sysdep.h: Likewise.
21052         * sysdeps/i386/sysdep.h: Likewise.
21053         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21054         * sysdeps/mach/sysdep.h: Likewise.
21055         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21056         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21057         * sysdeps/sh/sysdep.h: Likewise.
21058         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21059         * sysdeps/unix/i386/sysdep.S: Likewise.
21060         * sysdeps/unix/sparc/start.c: Likewise.
21061         * sysdeps/unix/sparc/sysdep.S: Likewise.
21062         * sysdeps/unix/sparc/sysdep.h: Likewise.
21063         * sysdeps/unix/start.c: Likewise.
21064         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21065         * sysdeps/x86_64/sysdep.h: Likewise.
21067 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21069         [BZ #13553]
21070         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21071         for non-gcc.
21072         * argp/argp-fmtstream.h: Use const instead __const.
21073         * argp/argp.h: Likewise.
21074         * assert/assert.h: Likewise.
21075         * bits/fenv.h: Likewise.
21076         * bits/sched.h: Likewise.
21077         * bits/sigset.h: Likewise.
21078         * bits/sigthread.h: Likewise.
21079         * catgets/nl_types.h: Likewise.
21080         * conform/data/pthread.h-data: Likewise.
21081         * crypt/crypt-private.h: Likewise.
21082         * crypt/crypt.h: Likewise.
21083         * crypt/crypt_util.c: Likewise.
21084         * ctype/ctype.h: Likewise.
21085         * debug/execinfo.h: Likewise.
21086         * debug/mbsnrtowcs_chk.c: Likewise.
21087         * debug/mbsrtowcs_chk.c: Likewise.
21088         * debug/wcsnrtombs_chk.c: Likewise.
21089         * debug/wcsrtombs_chk.c: Likewise.
21090         * debug/wcstombs_chk.c: Likewise.
21091         * dirent/dirent.h: Likewise.
21092         * dlfcn/dlfcn.h: Likewise.
21093         * elf/neededtest4.c: Likewise.
21094         * grp/grp.h: Likewise.
21095         * gshadow/gshadow.h: Likewise.
21096         * iconv/gconv.h: Likewise.
21097         * iconv/gconv_int.h: Likewise.
21098         * iconv/gconv_simple.c: Likewise.
21099         * iconv/iconv.h: Likewise.
21100         * iconv/loop.c: Likewise.
21101         * iconv/skeleton.c: Likewise.
21102         * include/aio.h: Likewise.
21103         * include/aliases.h: Likewise.
21104         * include/argz.h: Likewise.
21105         * include/arpa/inet.h: Likewise.
21106         * include/assert.h: Likewise.
21107         * include/dirent.h: Likewise.
21108         * include/dlfcn.h: Likewise.
21109         * include/execinfo.h: Likewise.
21110         * include/fcntl.h: Likewise.
21111         * include/fenv.h: Likewise.
21112         * include/glob.h: Likewise.
21113         * include/grp.h: Likewise.
21114         * include/libintl.h: Likewise.
21115         * include/mntent.h: Likewise.
21116         * include/netdb.h: Likewise.
21117         * include/pwd.h: Likewise.
21118         * include/rpc/netdb.h: Likewise.
21119         * include/sched.h: Likewise.
21120         * include/search.h: Likewise.
21121         * include/shadow.h: Likewise.
21122         * include/signal.h: Likewise.
21123         * include/stdio.h: Likewise.
21124         * include/stdlib.h: Likewise.
21125         * include/string.h: Likewise.
21126         * include/sys/socket.h: Likewise.
21127         * include/sys/stat.h: Likewise.
21128         * include/sys/statfs.h: Likewise.
21129         * include/sys/statvfs.h: Likewise.
21130         * include/sys/syslog.h: Likewise.
21131         * include/sys/time.h: Likewise.
21132         * include/sys/uio.h: Likewise.
21133         * include/time.h: Likewise.
21134         * include/unistd.h: Likewise.
21135         * include/utmp.h: Likewise.
21136         * include/wchar.h: Likewise.
21137         * include/wctype.h: Likewise.
21138         * inet/aliases.h: Likewise.
21139         * inet/arpa/inet.h: Likewise.
21140         * inet/netinet/ether.h: Likewise.
21141         * inet/netinet/in.h: Likewise.
21142         * intl/libintl.h: Likewise.
21143         * io/bits/fcntl2.h: Likewise.
21144         * io/fcntl.h: Likewise.
21145         * io/ftw.h: Likewise.
21146         * io/sys/poll.h: Likewise.
21147         * io/sys/stat.h: Likewise.
21148         * io/sys/statfs.h: Likewise.
21149         * io/sys/statvfs.h: Likewise.
21150         * io/utime.h: Likewise.
21151         * libio/bits/stdio.h: Likewise.
21152         * libio/bits/stdio2.h: Likewise.
21153         * libio/libio.h: Likewise.
21154         * libio/libioP.h: Likewise.
21155         * libio/stdio.h: Likewise.
21156         * locale/lc-ctype.c: Likewise.
21157         * locale/locale.h: Likewise.
21158         * login/utmp.h: Likewise.
21159         * malloc/arena.c: Likewise.
21160         * malloc/malloc.c: Likewise.
21161         * malloc/malloc.h: Likewise.
21162         * malloc/mcheck.c: Likewise.
21163         * malloc/mtrace.c: Likewise.
21164         * math/bits/mathcalls.h: Likewise.
21165         * math/fenv.h: Likewise.
21166         * math/math_private.h: Likewise.
21167         * misc/bits/error.h: Likewise.
21168         * misc/bits/syslog.h: Likewise.
21169         * misc/err.h: Likewise.
21170         * misc/error.h: Likewise.
21171         * misc/fstab.h: Likewise.
21172         * misc/mntent.h: Likewise.
21173         * misc/regexp.h: Likewise.
21174         * misc/search.h: Likewise.
21175         * misc/sgtty.h: Likewise.
21176         * misc/sys/mman.h: Likewise.
21177         * misc/sys/syslog.h: Likewise.
21178         * misc/sys/uio.h: Likewise.
21179         * misc/sys/xattr.h: Likewise.
21180         * misc/ttyent.h: Likewise.
21181         * nis/rpcsvc/ypclnt.h: Likewise.
21182         * nss/nss.h: Likewise.
21183         * posix/bits/unistd.h: Likewise.
21184         * posix/fnmatch.h: Likewise.
21185         * posix/glob.h: Likewise.
21186         * posix/sched.h: Likewise.
21187         * posix/spawn.h: Likewise.
21188         * posix/sys/wait.h: Likewise.
21189         * posix/unistd.h: Likewise.
21190         * posix/wordexp.h: Likewise.
21191         * pwd/pwd.h: Likewise.
21192         * resolv/netdb.h: Likewise.
21193         * resource/sys/resource.h: Likewise.
21194         * rt/aio.h: Likewise.
21195         * rt/bits/mqueue2.h: Likewise.
21196         * rt/mqueue.h: Likewise.
21197         * shadow/shadow.h: Likewise.
21198         * signal/signal.h: Likewise.
21199         * socket/send.c: Likewise.
21200         * socket/sendto.c: Likewise.
21201         * socket/sys/socket.h: Likewise.
21202         * stdio-common/printf.h: Likewise.
21203         * stdlib/bits/stdlib.h: Likewise.
21204         * stdlib/fmtmsg.h: Likewise.
21205         * stdlib/monetary.h: Likewise.
21206         * stdlib/stdlib.h: Likewise.
21207         * stdlib/ucontext.h: Likewise.
21208         * streams/stropts.h: Likewise.
21209         * string/argz.h: Likewise.
21210         * string/bits/string2.h: Likewise.
21211         * string/string.h: Likewise.
21212         * string/strings.h: Likewise.
21213         * sunrpc/rpc/auth.h: Likewise.
21214         * sunrpc/rpc/auth_des.h: Likewise.
21215         * sunrpc/rpc/clnt.h: Likewise.
21216         * sunrpc/rpc/netdb.h: Likewise.
21217         * sunrpc/rpc/pmap_clnt.h: Likewise.
21218         * sunrpc/rpc/xdr.h: Likewise.
21219         * sysdeps/generic/inttypes.h: Likewise.
21220         * sysdeps/generic/net/if.h: Likewise.
21221         * sysdeps/generic/sys/swap.h: Likewise.
21222         * sysdeps/gnu/net/if.h: Likewise.
21223         * sysdeps/gnu/utmpx.h: Likewise.
21224         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21225         * sysdeps/i386/i486/bits/string.h: Likewise.
21226         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21227         * sysdeps/s390/bits/string.h: Likewise.
21228         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21229         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21230         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21231         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21232         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21233         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21234         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21235         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21236         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21237         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21238         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21239         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21240         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21241         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21242         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21243         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21244         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21245         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21246         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21248         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21249         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21250         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21251         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21252         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21253         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21254         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21255         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21256         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21257         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21258         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21259         * sysvipc/sys/ipc.h: Likewise.
21260         * sysvipc/sys/msg.h: Likewise.
21261         * sysvipc/sys/sem.h: Likewise.
21262         * sysvipc/sys/shm.h: Likewise.
21263         * termios/termios.h: Likewise.
21264         * time/sys/time.h: Likewise.
21265         * time/time.h: Likewise.
21266         * wcsmbs/bits/wchar2.h: Likewise.
21267         * wcsmbs/uchar.h: Likewise.
21268         * wcsmbs/wchar.h: Likewise.
21269         * wctype/wctype.h: Likewise.
21271         [BZ #13551]
21272         * Makeconfig: Remove all but ELF support including AIX support.
21273         * Makerules: Likewise.
21274         * config.h.in: Likewise.
21275         * config.make.in: Likewise.
21276         * configure: Likewise.
21277         * configure.in: Likewise.
21278         * csu/Makefile: Likewise.
21279         * csu/version.c: Likewise.
21280         * debug/Makefile: Likewise.
21281         * dlfcn/Makefile: Likewise.
21282         * elf/Makefile: Likewise.
21283         * extra-lib.mk: Likewise.
21284         * iconv/Makefile: Likewise.
21285         * include/libc-symbols.h: Likewise.
21286         * include/shlib-compat.h: Likewise.
21287         * resolv/Makefile: Likewise.
21288         * resolv/res_libc.c: Likewise.
21289         * rt/Makefile: Likewise.
21290         * sysdeps/i386/asm-syntax.h: Likewise.
21291         * sysdeps/i386/sysdep.h: Likewise.
21292         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21293         * sysdeps/mach/sysdep.h: Likewise.
21294         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21295         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21296         * sysdeps/s390/asm-syntax.h: Likewise.
21297         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21298         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21299         * sysdeps/sh/sysdep.h: Likewise.
21300         * sysdeps/unix/sparc/sysdep.h: Likewise.
21301         * sysdeps/wordsize-32/divdi3.c: Likewise.
21302         * sysdeps/x86_64/sysdep.h: Likewise.
21304         * argp/Versions: Remove _argp_unlock_xxx.
21306         [BZ #13559]
21307         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21308         * abilist/libBrokenLocale.abilist: Likewise.
21309         * abilist/libanl.abilist: Likewise.
21310         * abilist/libc.abilist: Likewise.
21311         * abilist/libcrypt.abilist: Likewise.
21312         * abilist/libdl.abilist: Likewise.
21313         * abilist/libm.abilist: Likewise.
21314         * abilist/libnsl.abilist: Likewise.
21315         * abilist/libpthread.abilist: Likewise.
21316         * abilist/libresolv.abilist: Likewise.
21317         * abilist/librt.abilist: Likewise.
21318         * abilist/libthread_db.abilist: Likewise.
21319         * abilist/libutil.abilist: Likewise.
21320         * abilist/libnss_db.abilist: New file.
21322         * scripts/abilist.awk: Add support for indirect functions.
21324         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21326         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21328         * shlib-versions: Remove entries for ports architectures.
21330         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21331         files in ports.
21332         * elf/stackguard-macros.h: Remove support for IA-64.
21333         * elf/tst-auditmod1.c: Likewise.
21334         * sysdeps/generic/ldsodefs.h: Likewise.
21336         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21337         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21338         configure files.
21340         [BZ #13552]
21341         * configure.in: Remove --enable-omitfp support.
21342         * FAQ.in: Adjust.
21343         * config.make.in: Likewise.
21344         * Makeconfig: Likewise.
21345         * manual/install.texi: Likewise.
21347         In case anyone cares, the IA-64 architecture could move to ports.
21348         * sysdeps/ia64/*: Removed.
21349         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21350         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21352         [BZ #13555]
21353         * configure.in: Remove entries for unsupported architectures.
21355         [BZ #13533]
21356         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21357         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21358         routines.
21359         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21360         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21361         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21362         fall back to using wcrtomb.
21363         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21364         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21365         renaming.
21366         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21367         * wcsmbs/tst-c16c32-1.c: New file.
21369         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21370         local variable.
21372         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21374         * elf/tst-unique3.cc: Add explicit declaration of gets.
21375         * elf/tst-unique3lib.cc: Likewise.
21376         * elf/tst-unique3lib2.cc: Likewise.
21377         * elf/tst-unique4.cc: Likewise.
21379         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21381 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21383         [BZ #13566]
21384         * assert/assert.h (static_assert): Don't define for C++.
21385         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21386         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21388 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21390         * iconv/loop.c (single loop): Fix assertion in storing of
21391         remaining bytes.
21393         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21395 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21397         * posix/getconf.c: Update copyright year.
21398         * nss/getent.c: Likewise.
21399         * nss/makedb.c: Likewise.
21400         * iconv/iconvconfig.c: Likewise.
21401         * iconv/iconv_prog.c: Likewise.
21402         * elf/ldconfig.c: Likewise.
21403         * elf/pldd.c: Likewise.
21404         * elf/sotruss.ksh: Likewise.
21405         * catgets/gencat.c: Likewise.
21406         * csu/version.c: Likewise.
21407         * elf/ldd.bash.in: Likewise.
21408         * elf/sprof.c (print_version): Likewise.
21409         * locale/programs/locale.c: Likewise.
21410         * locale/programs/localedef.c: Likewise.
21411         * login/programs/pt_chown.c: Likewise.
21412         * nscd/nscd.c (print_version): Likewise.
21413         * debug/xtrace.sh: Likewise.
21414         * malloc/memusage.sh: Likewise.
21415         * malloc/mtrace.pl: Likewise.
21416         * debug/catchsegv.sh: Likewise.
21418 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21420         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21421         pure attribute.
21423 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21425         [BZ #13533]
21426         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21427         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21428         transformations.
21429         * iconv/gconv_int.h: Likewise.
21430         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21431         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21432         from libc for GLIBC_2.16.
21433         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21434         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21435         * wcsmbs/uchar.h: Really define mbstate_t.
21436         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21437         * wcsmbs/c16rtomb.c: New file.
21438         * wcsmbs/mbrtoc16.c: New file.
21439         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21440         for C/POSIX locale.
21441         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21442         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21444         * wcsmbs/wchar.h: Add missing __restrict.
21446 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21448         [BZ #13532]
21449         * time/Makefile (routines): Add timespec_get.
21450         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21451         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21452         timespec for ISO C11.
21453         * time/timespec_get.c: New file.
21454         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21455         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21457         [BZ #13531]
21458         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21459         * stdlib/stdlib.h: Declare aligned_alloc.
21460         * Versions.def: Add GLIBC_2.16 for libc.
21461         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21463         [BZ 13527]
21464         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21465         ISO C11.
21467         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21468         code.
21470         [BZ #13528]
21471         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21473         [BZ #13529]
21474         * assert/assert.h (static_assert): Define.
21476         * version.h: Update for 2.16 development version.
21478         [BZ #13526]
21479         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21480         _ISOC11_SOURCE.
21482         * version.h (RELEASE): Bump for 2.15 release.
21483         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21485         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21486         Patch by Marek Polacek <mpolacek@redhat.com>.
21488         * bits/byteswap.h: Protect long long constants with __extension__.
21489         * sysdeps/i386/bits/byteswap.h: Likewise.
21490         * sysdeps/ia64/bits/byteswap.h: Likewise.
21491         * sysdeps/s390/bits/byteswap.h: Likewise.
21492         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21494 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21496         [BZ #13540]
21497         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21498         destination buffer.
21499         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21501 2011-12-23  Marek Polacek  <polacek@redhat.com>
21503         * elf/dl-addr.c (determine_info): Add inline keyword.
21504         * elf/tst-auditmod4b.c (check_avx): Likewise.
21505         * elf/tst-auditmod6b.c (check_avx): Likewise.
21506         * elf/tst-auditmod6c.c (check_avx): Likewise.
21507         * elf/tst-auditmod7b.c (check_avx): Likewise.
21509 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21511         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21512         !__SSE_MATH__.
21514 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21516         [BZ #13540]
21517         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21518         processing for last bytes.
21520 2011-08-06  Bruno Haible  <bruno@clisp.org>
21522         [BZ #13061]
21523         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21524         U+0385, not to U+1FEE.
21526         [BZ #13062]
21527         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21528         entry for U+00A5 U+0301.
21530 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21532         [BZ #13166]
21533         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21534         buffer for the output is too small.
21536         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21537         optimization.
21539         [BZ #13185]
21540         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21541         SSE flags if possible.
21543 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21545         [BZ #13540]
21546         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21547         processing for last bytes.
21549 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21551         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21552         (syscall-list-default-options, syscall-list-default-condition)
21553         (syscall-list-includes): Define.
21554         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21555         list of ABIs and options and #if conditions for each ABI.  Do not
21556         handle common syscalls between ABIs specially.
21557         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21558         Remove.
21559         (syscall-list-variants, syscall-list-32bit-options)
21560         (syscall-list-32bit-condition, syscall-list-64bit-options)
21561         (syscall-list-64bit-condition): Define.
21562         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21563         (syscall-list-variants, syscall-list-32bit-options)
21564         (syscall-list-32bit-condition, syscall-list-64bit-options)
21565         (syscall-list-64bit-condition): Define.
21566         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21567         Remove.
21568         (syscall-list-variants, syscall-list-32bit-options)
21569         (syscall-list-32bit-condition, syscall-list-64bit-options)
21570         (syscall-list-64bit-condition): Define.
21571         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21572         Remove.
21573         (syscall-list-variants, syscall-list-32bit-options)
21574         (syscall-list-32bit-condition, syscall-list-64bit-options)
21575         (syscall-list-64bit-condition): Define.
21577 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21579         * locale/iso-639.def: Add brx entry.
21581         [BZ #13328]
21582         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21583         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21585         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21586         __feraiseexcept_renamed.
21588 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21590         [BZ #13538]
21591         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21592         EPOLLET with unsigned values.
21593         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21594         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21596         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21597         to large cancellation.
21598         * math/s_cacoshf.c: Likewise.
21599         * math/s_cacoshl.c: Likewise.
21601 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21603         [BZ #13305]
21604         [BZ #12786]
21605         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21606         * math/s_cacoshf.c: Likewise.
21607         * math/s_cacoshl.c: Likewise.
21609 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21611         [BZ #13439]
21612         * iconv/gconv.h: Define __GCONV_SWAP.
21613         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21614         * iconvdata/utf-16.c: Likewise.
21615         * iconvdata/utf-32.c: Likewise.
21617 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21619         [BZ #13524]
21620         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21621         numerator after shifting it by one limb.
21623 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21625         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21626         under [__USE_EXTERN_INLINES].
21628 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21630         [BZ #13446]
21631         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21633 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21635         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21636         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21637         optimized code.
21638         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21639         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21640         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21641         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21642         for strncasecmp/strncasecmp_l compilation.
21643         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21644         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21646 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21648         [BZ #13484]
21649         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21650         of __asm__.
21652 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21654         [BZ #13506]
21655         * time/tzfile.c (__tzfile_read): Check values from file header.
21657 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21659         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21660         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21661         * powerpc/powerpc32/dl-start.S: Likewise.
21662         * powerpc/powerpc32/elf/start.S: Likewise.
21663         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21664         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21665         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21666         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21667         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21668         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21669         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21670         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21671         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21672         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21673         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21674         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21675         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21676         * powerpc/powerpc32/memset.S: Likewise.
21677         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21678         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21679         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21680         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21681         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21682         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21683         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21684         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21685         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21686         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21687         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21688         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21689         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21691 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21693         * math/libm-test.inc: Added more nearbyint tests.
21694         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21695         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21699 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21701         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21702         FD_CLOEXEC.
21704 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21706         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21707         Add wcscpy-ssse3 wcscpy-c.
21708         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21709         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21710         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21711         * sysdeps/x86_64/wcschr.S: New file.
21712         * sysdeps/x86_64/wcsrchr.S: New file.
21713         * string/test-strcmp.c: Remove checking of wcscmp function for
21714         wrong alignments.
21715         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21716         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21717         wcsrchr-sse2 wcsrchr-c.
21718         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21719         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21720         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21721         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21722         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21723         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21724         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21725         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21726         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21727         * wcsmbc/wcschr.c (WCSCHR): New macro.
21729 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21731         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21732         * wcsmbs/test-wcsrchr.c: New file.
21733         * string/test-strrchr.c: Add wcsrchr support.
21734         (WIDE): New macro.
21735         * wcsmbs/test-wcscpy.c: New file.
21736         * string/test-strcpy.c: Add wcscpy support.
21737         (WIDE): New macro.
21739 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21741         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21742         the inner loop.
21744 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21746         [BZ #13472]
21747         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21749 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21751         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21752         Minor optimizations.
21754         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21755         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21756         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21758 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21760         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21761         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21762         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21763         for gcc to avoid warnings.
21764         * inet/Makefile (tests): Add tst-checks.
21765         * inet/tst-checks.c: New file.
21767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21768         warning.
21770         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21771         __wmemcmp_sse2.
21773         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21774         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21776         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21778 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21780         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21781         problem.
21783         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21785 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21787         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21788         conditional on GCC version.
21789         (__arch_compare_and_exchange_val_8_acq)
21790         (__arch_compare_and_exchange_val_16_acq)
21791         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21792         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21793         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21795 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21797         * sysdeps/sh/backtrace.c: New file.
21799 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21801         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21802         parenthesis.
21804 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21806         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21807         falling back to utime.
21809 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21811         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21812         expectations for float.
21814 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21816         * locale/weight.h (findidx): Add parameter len.
21817         * locale/weightwc.h (findidx): Likewise.
21818         * posix/fnmatch_loop.c (FCT): Adjust caller.
21819         * posix/regcomp.c (build_equiv_class): Likewise.
21820         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21821         * posix/regexec.c (check_node_accept_bytes): Likewise.
21822         * string/strcoll_l.c (STRCOLL): Likewise.
21823         * string/strxfrm_l.c (STRXFRM): Likewise.
21825 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21827         * Makefile.in: Remove CVSOPT handling.
21828         * configure.in: Remove use of AC_REVISION.
21829         * iconvdata/Makefile (distribute): No need to filter out CVS.
21830         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21831         handling.
21833 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21836         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21837         [USE_AS_STRNCASECMP_L]: Likewise.
21838         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21839         NO_TLS_DIRECT_SEG_REFS.
21840         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21841         Fix argument offsets for non-PIC.
21842         [USE_AS_STRNCASECMP_L]: Likewise.
21843         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21844         NO_TLS_DIRECT_SEG_REFS.
21846 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21848         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21849         O_CLOEXEC.
21850         * locale/loadlocale.c (_nl_load_locale): Likewise.
21852 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21854         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21855         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21856         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21857         (SYSCALL_GETTIME): Set errno on error.
21859         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21860         count references to noai6ai_cached.
21862 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21864         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21866         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21867         FD_CLOEXEC for /proc/self/maps.
21869         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21870         FD_CLOEXEC for /proc/meminfo.
21872         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21873         gai.conf.
21875         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21876         FD_CLOEXEC for given file.
21878         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21880         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21881         FD_CLOEXEC for /etc/hosts.
21882         (_gethtent): Likewise.
21884         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21886         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21887         cancellation and set FD_CLOEXEC for /etc/netgroup.
21889         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21890         reading /etc/publickey.
21892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21893         allow cancellation when reading /etc/group.
21895         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21896         cancellation.
21897         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21899         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21900         when using data file.
21902         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21904         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21905         (write_nis_obj): Use "c" and "e" in fopen.
21907         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21909         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21911         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21913         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21915         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21916         locale.alias.
21918         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21920         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21922         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21924         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21925         file parsing and set FD_CLOEXEC.
21927 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21929         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21931 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21933         * malloc/arena.c (arena_get2): Don't call reused_arena when
21934         _int_new_arena failed.
21936 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21938         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21939         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21940         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21942         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21943         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21944         to compile strcasecmp and strncasecmp.
21945         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21946         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21948         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21950 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21952         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21953         locale-defines.sym to gen-as-const-headers.
21954         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21955         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21957         to compile strcasecmp and strncasecmp.
21958         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21959         strcasecmp_l and strncasecmp_l.
21960         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21961         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21962         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21963         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21964         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21965         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21966         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21967         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21968         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21969         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21970         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21972 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21974         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21975         result of SYSDEP_GETTIME_CPU to retval.
21976         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21977         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21979         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21980         variable.
21982         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21983         mantissa words.
21984         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21986         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21987         from unused variable.
21989         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21990         DWARF definitions.
21991         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21992         for assembling.
21994         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21995         over namespaces.
21997         * sunrpc/rpc_prot.c (rejected): Fix case value.
21999         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22000         unsigned long long int to avoid warnings in shift.
22002         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22003         of use of trans.
22004         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22005         variable tmp.
22007         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22008         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22009         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22011         * nis/nis_table.c (nis_list): Use variable of correct type for
22012         result of __follow_path call.
22014 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22016         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22017         of math functions ceil, trunc, floor, round, and sqrt, when
22018         avaliable on the platform.
22019         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22020         name clash.
22021         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22022         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22023         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22025 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22027         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22028         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22030 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22032         * include/unistd.h: Fix __readlink return type.
22033         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22035 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22037         * stdlib/ucontext.h: Undo last change for makecontext.
22039 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22041         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22043         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22044         * setjmp/setjmp.h: Mark functions as non-leaf.
22045         * setjmp/bits/setjmp2.h: Likewise.
22046         * stdlib/ucontext.h: Likewise.
22048 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22050         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22051         (reused_arena): Don't check arena limit.
22052         (arena_get2): Atomically check arena limit.
22054 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22056         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22057         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22060         instructions.
22062 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22064         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22065         handler when locking.
22067         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22068         Fix size of allocated buffer.
22070 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22072         [BZ #10103]
22073         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22074         declarations for long double functions.
22075         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22077         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22079 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22081         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22082         installed.
22084         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22085         is disabled.
22087 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22089         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22091 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22093         * include/alloca.h (stackinfo_alloca_round): Define.
22094         (extend_alloca): Use it.
22095         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22096         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22097         here.
22099         * scripts/check-local-headers.sh: Ignore libaudit.h.
22101         * nscd/Makefile (extra-objs): Make recursively expanded.
22103 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22105         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22106         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22108         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22109         * posix/tst-rfc3484-2.c: Likewise.
22110         * posix/tst-rfc3484-3.c: Likewise.
22112         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22113         process_vm_writev.
22114         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22115         process_vm_writev.
22116         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22117         process_vm_writev from libc using GLIBC_2.15 version.
22119         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22121 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22123         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22124         stack usage.
22126 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22128         [BZ #13367]
22129         * nss/getent.c (initgroups_keys): Show error message in case no group
22130         names are given.
22132         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22133         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22134         __bump_nl_timestamp.
22135         * nscd/connections (nscd_init): When host database is served open
22136         netlink socket and request notification about configuration changes.
22137         (main_loop_poll): Track netlink file descriptor and bump timestamp
22138         in case data becomes available.
22139         (main_loop_epoll): Likewise.
22140         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22141         (database_pers_head): Add extra_data fileds.
22142         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22143         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22144         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22145         Adjust caller.
22146         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22147         in6ai data, call __free_in6ai.
22148         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22149         Add -DHAVE_NETLINK.
22150         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22151         interface information.  Reuse previous data if netlink timestamp
22152         is not changed.
22153         (__bump_nl_timestamp): New function.
22154         (__free_in6ai): New function.
22156 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22158         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22159         close_not_cancel_no_status here.
22160         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22162 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22164         [BZ #13276]
22165         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22166         return value.
22168         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22169         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22170         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22172 2011-07-03  Andreas Jaeger  <aj@suse.de>
22174         [BZ #10709]
22175         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22176         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22177         * math/libm-test.inc (sin_test): Add test case.
22179 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22181         [BZ #13337]
22182         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22183         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22185         * elf/chroot_canon.c (chroot_canon): Cleanups.
22187         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22189         [BZ #13335]
22190         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22191         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22193         * string/test-strchr.c: Make usable for strchrnul testing.
22194         * string/test-strchrnul.c: New file.
22195         * string/Makefile (strop-tests): Add strchrnul.
22197         * po/it.po: Update from translation team.
22198         * po/es.po: Likewise.
22200 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22202         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22203         the three constants needed as parameters.  Drop the others.
22204         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22205         __m128i_strloadu_tolower.
22206         Create and initialize variable zero and use it in all the places
22207         where _mm_setzero_si128 was used.
22209         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22210         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22211         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22212         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22213         anymore.
22214         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22215         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22216         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22217         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22218         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22219         __mpranred, __mptan.
22220         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22221         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22222         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22223         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22224         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22225         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22226         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22227         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22228         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22230 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22232         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22233         redefine if SHARED.
22234         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22237         wide char related routines to wcsmbs subdir.
22239 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22241         [BZ #13344]
22242         * misc/sys/cdefs.h (__THROWNL): Define.
22243         * posix/unistd.h: Use __THREADNL instead of __THREAD
22244         for memory synchronization functions.
22246 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22248         [BZ #13349]
22249         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22250         doesn't exist.
22251         * manual/stdio.texi (Obstack Streams): Node removed.
22253 2011-10-26  Andreas Schwab  <schwab@redhat.com>
22255         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22256         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22257         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22259         * math/math_private.h (math_force_eval): Allow non-addressable
22260         arguments.
22261         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22263 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22265         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22266         file is not needed.
22268         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22269         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22270         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22271         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22272         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22273         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22274         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22275         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22276         Add AVX variants.
22277         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22278         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22279         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22280         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22281         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22282         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22283         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22284         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22285         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22286         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22287         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22288         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22289         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22290         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22291         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22292         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22293         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22294         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22295         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22297         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22298         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22300         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22301         place.  Use VEX encoding when compiling for AVX.
22303 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22305         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22306         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22308         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22310 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22312         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22313         useless if() expression.
22314         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22315         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22317         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22318         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22319         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22320         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22321         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22322         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22323         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22324         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22325         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22326         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22327         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22328         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22329         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22330         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22331         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22332         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22334         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22336 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22338         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22339         condition.
22340         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22342 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22344         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22345         .text section.  Avoid duplicate constants.
22346         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22348         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22350         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22354         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22355         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22356         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22357         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22358         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22359         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22360         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22361         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22362         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22363         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22364         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22366         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22367         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22368         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22369         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22370         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22371         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22372         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22373         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22374         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22375         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22376         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22377         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22378         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22379         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22380         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22381         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22382         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22383         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22384         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22385         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22386         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22387         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22388         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22389         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22390         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22392 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22394         * sysdeps/x86_64/dla.h: Move to ...
22395         * sysdeps/x86_64/fpu/dla.h: ...here.
22396         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22397         situations.  Use __builtin_fma only for gcc 4.6 and up.
22399         * config.make.in: Add have-mfma4 entry.
22400         * configure.in: Substitute libc_cv_cc_fma4.
22401         * math/Makefile (dbl-only-routines): Add sincostab.
22402         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22403         Use __sincostab not sincos.
22404         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22405         name is a macro.
22406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22410         using __copysign.
22411         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22412         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22413         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22414         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22415         and __inv.
22416         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22417         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22418         __copysign.
22419         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22420         define aliases when function name is a macro.
22421         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22422         sysdeps/ieee754/dbl-64/sincos.tbl.
22423         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22424         fma4-enabled routines.
22425         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22426         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22427         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22428         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22429         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22430         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22431         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22432         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22433         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22434         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22435         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22436         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22437         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22438         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22439         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22440         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22441         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22442         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22443         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22444         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22445         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22446         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22447         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22448         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22449         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22450         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22451         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22452         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22453         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22454         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22456         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22457         rename.
22458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22467 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22469         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22471 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22473         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22475         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22476         prediction.
22477         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22479         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22480         Remove unused variable magic_bits.
22481         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22483         * string/strnlen.c: Define and use STRNLEN macro.
22484         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22485         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22486         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22487         * wcsmbs/wcslen.c: Define and use WCSLEN.
22488         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22489         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22490         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22491         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22492         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22493         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22494         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22496 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22499         strnlen-sse2-no-bsf.
22500         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22501         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22502         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22503         Add strnlen support.
22504         (USE_AS_STRNLEN): New macro.
22505         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22506         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22507         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22508         * sysdeps/x86_64/wcslen.S: New file.
22510 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22512         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22513         XMM-moves are used for copying on small sizes.
22515 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22517         * wcsmbs/Makefile (strop-tests): Add wcschr.
22518         * wcsmbs/test-wcschr.c: New file.
22519         * string/test-strchr.c: Update.
22520         Add wcschr support.
22521         (WIDE): New macro.
22523 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22525         * wcsmbs/Makefile (strop-tests): Add wcslen.
22526         * wcsmbs/test-wcslen.c: New file.
22527         * string/test-strlen.c: Update.
22528         Add wcslen support.
22529         (WIDE): New macro.
22531 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22533         * po/it.po: Update from translation team.
22535 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22537         * sysdeps/x86_64/wcscmp.S: Update.
22538         Fix wrong comparison semantics.
22539         wcscmp shall use signed comparison not unsigned.
22540         Don't use substraction to avoid overflow bug.
22541         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22542         * wcsmbc/wcscmp.c: Likewise.
22543         * string/test-strcmp.c: Likewise.
22544         Add new tests to check cases with negative values.
22546 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22548         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22549         * sysdeps/x86_64/dla.h: ...here.  New file.
22550         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22557         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22558         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22560 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22563         __ynl_finite aliases.
22565 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22569         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22570         define DLA_FMA.
22571         [DLA_FMA] (EMULV): Use DLA_FMA.
22572         [DLA_FMA] (MUL12): Use EMULV.
22573         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22574         that are not needed.
22575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22583 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22585         * math/s_nan.c: Undef __nan.
22586         * math/s_nanf.c: Undef __nanf.
22587         * math/s_nanl.c: Undef __nanl.
22588         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22589         "math_private.h".
22591 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22593         * math/s_catan.c: Add branch predictions.
22594         * math/s_catanf.c: Likewise.
22595         * math/s_catanh.c: Likewise.
22596         * math/s_catanhf.c: Likewise.
22597         * math/s_catanhl.c: Likewise.
22598         * math/s_catanl.c: Likewise.
22599         * math/s_cexp.c: Likewise.
22600         * math/s_cexpf.c: Likewise.
22601         * math/s_cexpl.c: Likewise.
22602         * math/s_clog.c: Likewise.
22603         * math/s_clog10.c: Likewise.
22604         * math/s_clog10f.c: Likewise.
22605         * math/s_clog10l.c: Likewise.
22606         * math/s_clogf.c: Likewise.
22607         * math/s_clogl.c: Likewise.
22608         * math/s_csqrt.c: Likewise.
22609         * math/s_csqrtf.c: Likewise.
22610         * math/s_csqrtl.c: Likewise.
22611         * math/s_ctanf.c: Likewise.
22612         * math/s_ctanh.c: Likewise.
22613         * math/s_ctanhf.c: Likewise.
22614         * math/s_ctanhl.c: Likewise.
22615         * math/s_ctanl.c: Likewise.
22617         * math/math_private.h: Define __nan, __nanf, __nanl.
22618         * math/s_cacosh.c: Include <math_private.h>.
22619         * math/s_cacoshl.c: Likewise.
22620         * math/s_casinh.c: Likewise.
22621         * math/s_casinhf.c: Likewise.
22622         * math/s_casinhl.c: Likewise.
22623         * math/s_ccos.c: Rely entire on ccosh.
22624         * math/s_ccosf.c: Rely entire on ccoshf.
22625         * math/s_ccosl.c: Rely entirely on ccoshl.
22626         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22627         Remove tests for FE_INVALID.
22628         * math/s_ccoshf.c: Likewise.
22629         * math/s_ccoshl.c: Likewise.
22630         * math/s_csin.c: Likewise.
22631         * math/s_csinf.c: Likewise.
22632         * math/s_csinh.c Likewise.
22633         * math/s_csinhf.c: Likewise.
22634         * math/s_csinhl.c: Likewise.
22635         * math/s_csinl.c: Likewise.
22636         * math/s_ctan.c: Likewise.
22637         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22638         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22639         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22641 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22644         compilation problems.
22646         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22647         __builtin_expect.
22649 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22651         * sysdeps/i386/configure.in: Test for -mfma4 option.
22652         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22653         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22654         COMMON_CPUID_INDEX_80000001.
22655         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22656         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22657         use it if FMA3 is not supported.
22658         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22660         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22661         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22663 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22665         [BZ #12892]
22666         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22667         it would create a cycle with a link time dependency.
22669 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22671         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22672         instruction.
22673         * string/Makefile (strop-tests): Add rawmemchr.
22674         * string/test-rawmemchr.c: New file.
22676         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22677         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22678         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22679         when compiling str{,n}casecmp and when AVX is available.  Hook up
22680         new optimized code in initializers.
22682 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22684         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22685         __feraiseexcept instead of feraiseexcept.
22687 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22689         * math/math_private.h: Define defaults for libc_fetestexcept and
22690         libc_feupdateenv.
22691         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22692         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22693         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22694         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22695         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22696         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22697         libc_fetestexcept and libc_feupdateenv.
22699         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22700         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22701         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22702         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22703         libc_feholdexcept_setround.
22705         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22706         Add s_nearbyint-c and s_nearbyintf-c.
22707         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22708         nearbyintf inlines.
22709         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22710         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22711         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22712         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22714         * math/math_private.h: Define defaults for libc_fegetround,
22715         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22716         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22717         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22718         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22719         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22720         standard functions.
22721         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22722         Remove comments and hacks for old compiler versions.
22723         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22724         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22725         libc_feholdexceptl.
22727 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22729         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22730         (__feraiseexcept_renamed): Add __NTH.
22731         (feraiseexcept): Add __NTH.  Rename local variables to fix
22732         namespace violations.
22734 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22736         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22738         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22740         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22741         recently added interfaces.
22742         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22744         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22745         about macro parameter expansion.
22747         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22748         __NO_MATH_INLINES is defined.  Cleanups.
22750         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22751         and __floorf is target has SSE4.1.
22752         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22753         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22754         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22755         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22757         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22758         name.
22759         (floorf): Likewise.
22761         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22763 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22765         * misc/sys/cdefs.h: Fix last change.
22767         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22768         database lookup.
22770 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22772         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22774         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22775         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22776         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22777         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22778         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22779         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22780         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22781         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22782         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22783         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22784         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22785         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22786         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22787         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22788         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22789         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22790         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22791         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22792         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22793         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22794         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22795         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22797         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22798         ceil, ceilf, floor, floorf.
22800         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22801         Perform IRELATIVE relocations last.
22803         * elf/do-rel.h: Add another parameter nrelative, replacing the
22804         local variable with the same name.  Change name of the function
22805         to end in Rel or Rela (uppercase).
22806         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22807         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22808         elf_dynamic_do_##reloc function.
22810 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22812         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22813         is sufficient, at least on modern CPUs.
22815         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22817         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22818         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22820         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22821         __expl_finite.
22822         * math/bits/math-finite.h: Add entries for exp.
22823         * math/e_expl.c: Add __*_finite alias.
22824         * sysdeps/i386/fpu/e_exp.S: Likewise.
22825         * sysdeps/i386/fpu/e_expf.S: Likewise.
22826         * sysdeps/i386/fpu/e_expl.c: Likewise.
22827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22828         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22829         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22830         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22831         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22832         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22833         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22835         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22836         is sufficient, at least on modern CPUs.
22838         * ctype/ctype-info.c (__ctype_init): Define.
22839         * include/ctype.h (__ctype_init): Declare.
22840         (__ctype_b_loc): The variable is always initialized.
22841         (__ctype_toupper_loc): Likewise.
22842         (__ctype_tolower_loc): Likewise.
22843         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22844         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22846 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22848         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22850         * configure.in: Also look in $cxxmachine/include for C++ system
22851         headers.
22853 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22855         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22856         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22857         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22858         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22859         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22860         (USE_AS_WMEMCMP): New macro.
22861         Fixing indents.
22862         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22863         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22864         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22865         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22866         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22867         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22868         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22869         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22870         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22871         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22872         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22873         (USE_AS_WMEMCMP): New macro.
22874         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22875         * sysdeps/string/test-memcmp.c: Update.
22876         Fix simple_wmemcmp.
22877         Add new tests.
22878         * wcsmbs/wmemcmp.c: Update.
22879         (WMEMCMP): New macro.
22880         Fix overflow bug.
22882 2011-10-12  Andreas Jaeger  <aj@suse.de>
22884         [BZ #13268]
22885         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22887 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22889         * libio/iofwide.c (do_length): Avoid warning.
22891         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22893 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22895         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22897         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22898         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22899         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22900         * sysdeps/i386/i686/fpu/e_log.S: New file.
22901         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22902         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22904         * ctype/ctype.h: Add support for inlined isXXX functions when
22905         compiling C++ code.
22907 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22909         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22911         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22913 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22915         [BZ #13291]
22916         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22918 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22920         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22921         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22922         feraiseexcept.
22924         * sysdeps/x86_64/memrchr.S: Check for zero size.
22926         * string/stratcliff.c: Add memrchr tests.
22928 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22931         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22932         rawmemchr-sse2 rawmemchr-sse2-bsf.
22933         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22934         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22935         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22936         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22937         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22938         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22939         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22940         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22941         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22942         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22943         * string/memrchr.c (MEMRCHR): New macro.
22945 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22947         Add integration with gcc's -ffinite-math-only and optimize wrapper
22948         functions in libm.
22949         * Versions.def: Define GLIBC_2.15 version for libm.
22950         * math/Makefile (headers): Add bits/math-finite.h.
22951         * math/bits/math-finite.h: New file.
22952         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22953         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22954         * math/e_acoshl.c: Add __*_finite alias.
22955         * math/e_acosl.c: Likewise.
22956         * math/e_asinl.c: Likewise.
22957         * math/e_atan2l.c: Likewise.
22958         * math/e_atanhl.c: Likewise.
22959         * math/e_coshl.c: Likewise.
22960         * math/e_exp10.c: Likewise.
22961         * math/e_exp10f.c: Likewise.
22962         * math/e_exp10l.c: Likewise.
22963         * math/e_exp2l.c: Likewise.
22964         * math/e_fmodl.c: Likewise.
22965         * math/e_gammal_r.c: Likewise.
22966         * math/e_hypotl.c: Likewise.
22967         * math/e_j0l.c: Likewise.
22968         * math/e_j1l.c: Likewise.
22969         * math/e_jnl.c: Likewise.
22970         * math/e_lgammal_r.c: Likewise.
22971         * math/e_log10l.c: Likewise.
22972         * math/e_log2l.c: Likewise.
22973         * math/e_logl.c: Likewise.
22974         * math/e_powl.c: Likewise.
22975         * math/e_sinhl.c: Likewise.
22976         * math/e_sqrtl.c: Likewise.
22977         * math/e_scalb.c: Completely rewritten and optimized.
22978         * math/e_scalbf.c: Likewise.
22979         * math/e_scalbl.c: Likewise.
22980         * math/w_acos.c: Likewise.
22981         * math/w_acosf.c: Likewise.
22982         * math/w_acosl.c: Likewise.
22983         * math/w_acosh.c: Likewise.
22984         * math/w_acoshf.c: Likewise.
22985         * math/w_acoshl.c: Likewise.
22986         * math/w_asin.c: Likewise.
22987         * math/w_asinf.c: Likewise.
22988         * math/w_asinl.c: Likewise.
22989         * math/w_atan2.c: Likewise.
22990         * math/w_atan2f.c: Likewise.
22991         * math/w_atan2l.c: Likewise.
22992         * math/w_atanh.c: Likewise.
22993         * math/w_atanhf.c: Likewise.
22994         * math/w_atanhl.c: Likewise.
22995         * math/w_exp10.c: Likewise.
22996         * math/w_exp10f.c: Likewise.
22997         * math/w_exp10l.c: Likewise.
22998         * math/w_fmod.c: Likewise.
22999         * math/w_fmodf.c: Likewise.
23000         * math/w_fmodl.c: Likewise.
23001         * math/w_j0.c: Likewise.
23002         * math/w_j0f.c: Likewise.
23003         * math/w_j0l.c: Likewise.
23004         * math/w_j1.c: Likewise.
23005         * math/w_j1f.c: Likewise.
23006         * math/w_j1l.c: Likewise.
23007         * math/w_jn.c: Likewise.
23008         * math/w_jnf.c: Likewise.
23009         * math/w_log.c: Likewise.
23010         * math/w_logf.c: Likewise.
23011         * math/w_logl.c: Likewise.
23012         * math/w_log10.c: Likewise.
23013         * math/w_log10f.c: Likewise.
23014         * math/w_log10l.c: Likewise.
23015         * math/w_log2.c: Likewise.
23016         * math/w_log2f.c: Likewise.
23017         * math/w_log2l.c: Likewise.
23018         * math/w_pow.c: Likewise.
23019         * math/w_powf.c: Likewise.
23020         * math/w_powl.c: Likewise.
23021         * math/w_remainder.c: Likewise.
23022         * math/w_remainderf.c: Likewise.
23023         * math/w_remainderl.c: Likewise.
23024         * math/w_scalb.c: Likewise.
23025         * math/w_scalbf.c: Likewise.
23026         * math/w_scalbl.c: Likewise.
23027         * math/w_sqrt.c: Likewise.
23028         * math/w_sqrtf.c: Likewise.
23029         * math/w_sqrtl.c: Likewise.
23030         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23031         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23032         used.
23033         * math/math_private.h: Declare __kernel_standard_f.
23034         * math/w_cosh.c: Remove cruft and optimize a bit.
23035         * math/w_coshf.c: Likewise.
23036         * math/w_coshl.c: Likewise.
23037         * math/w_exp2.c: Likewise.
23038         * math/w_exp2f.c: Likewise.
23039         * math/w_exp2l.c: Likewise.
23040         * math/w_hypot.c: Likewise.
23041         * math/w_hypotf.c: Likewise.
23042         * math/w_hypotl.c: Likewise.
23043         * math/w_lgamma.c: Likewise.
23044         * math/w_lgamma_r.c: Likewise.
23045         * math/w_lgammaf.c: Likewise.
23046         * math/w_lgammaf_r.c: Likewise.
23047         * math/w_lgammal.c: Likewise.
23048         * math/w_lgammal_r.c: Likewise.
23049         * math/w_sinh.c: Likewise.
23050         * math/w_sinhf.c: Likewise.
23051         * math/w_sinhl.c: Likewise.
23052         * math/w_tgamma.c: Likewise.
23053         * math/w_tgammaf.c: Likewise.
23054         * math/w_tgammal.c: Likewise.
23055         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23056         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23057         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23058         Minor optimizations.  Pretty printing.  Remove cruft.
23059         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23060         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23061         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23062         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23063         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23064         * sysdeps/i386/fpu/e_asin.S: Likewise.
23065         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23066         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23067         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23068         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23069         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23070         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23071         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23072         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23073         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23074         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23075         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23076         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23077         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23078         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23079         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23080         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23081         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23082         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23083         * sysdeps/i386/fpu/e_log.S: Likewise.
23084         * sysdeps/i386/fpu/e_log10.S: Likewise.
23085         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23086         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23087         * sysdeps/i386/fpu/e_log2.S: Likewise.
23088         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23089         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23090         * sysdeps/i386/fpu/e_logf.S: Likewise.
23091         * sysdeps/i386/fpu/e_logl.S: Likewise.
23092         * sysdeps/i386/fpu/e_pow.S: Likewise.
23093         * sysdeps/i386/fpu/e_powf.S: Likewise.
23094         * sysdeps/i386/fpu/e_powl.S: Likewise.
23095         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23096         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23097         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23098         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23099         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23100         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23101         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23102         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23103         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23104         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23105         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23107         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23108         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23109         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23110         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23111         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23112         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23113         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23114         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23115         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23117         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23118         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23119         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23120         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23121         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23122         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23123         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23124         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23125         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23126         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23127         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23128         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23129         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23130         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23131         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23132         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23133         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23134         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23135         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23136         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23137         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23138         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23139         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23140         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23141         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23142         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23143         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23144         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23145         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23146         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23147         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23148         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23149         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23150         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23151         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23152         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23154         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23155         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23156         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23157         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23158         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23159         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23160         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23161         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23162         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23163         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23164         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23165         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23167         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23168         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23169         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23170         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23171         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23172         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23173         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23174         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23175         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23178         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23179         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23181         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23182         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23183         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23184         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23185         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23186         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23187         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23188         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23189         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23190         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23191         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23192         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23193         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23194         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23195         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23196         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23197         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23198         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23199         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23200         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23201         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23202         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23203         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23204         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23205         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23206         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23207         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23208         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23209         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23210         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23211         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23212         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23213         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23214         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23215         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23216         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23217         (__isnanf): Likewise.
23218         (__isinf_ns): Likewise.
23219         (__isinf_nsf): Likewise.
23220         (__finite): Likewise.
23221         (__finitef): Likewise.
23222         (__ieee754_sqrt): Define as macro.
23223         (__ieee754_sqrtf): Define as macro.
23224         (__ieee754_sqrtl): Define as macro.
23225         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23226         inlined copy.
23227         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23228         __FINITE_MATH_ONLY__ consistent.
23229         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23231 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23233         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23234         of rawmemchr.
23236         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23238 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23240         * po/ja.po: Update from translation team.
23242 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23244         * locale/programs/locarchive.c (prepare_address_space): New function.
23245         (create_archive, enlarge_archive, open_archive): Use it.
23247         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23248         inside [SHARED], where it is used.
23250         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23252         * nss/getent.c (netgroup_keys): Remove unused variable.
23253         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23255 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
23257         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23258         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23259         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23260         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23261         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23262         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23263         * math/Makefile (libm-calls): Add s_isinf_ns.
23264         * math/divtc3.c: Use __isinf_nsl instead of isinf.
23265         * math/multc3.c: Likewise.
23266         * math/s_casin.c: Likewise.
23267         * math/s_casinf.c: Likewise.
23268         * math/s_casinl.c: Likewise.
23269         * math/s_ccos.c: Likewise.
23270         * math/s_ccosf.c: Likewise.
23271         * math/s_ccosl.c: Likewise.
23272         * math/s_ctan.c: Likewise.
23273         * math/s_ctanf.c: Likewise.
23274         * math/s_ctanh.c: Likewise.
23275         * math/s_ctanhf.c: Likewise.
23276         * math/s_ctanhl.c: Likewise.
23277         * math/s_ctanl.c: Likewise.
23278         * math/w_fmod.c: Likewise.
23279         * math/w_fmodf.c: Likewise.
23280         * math/w_fmodl.c: Likewise.
23281         * math/w_remainder.c: Likewise.
23282         * math/w_remainderf.c: Likewise.
23283         * math/w_remainderl.c: Likewise.
23284         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23285         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23286         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23287         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23288         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23289         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23290         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23291         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23293         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23294         of the number.
23295         * stdio-common/printf_fphex.c: Likewise.
23296         * stdio-common/printf_size.c: Likewise.
23298         * math/e_exp10.c: Include math_private.h using <...> not "...".
23299         * math/e_exp10f.c: Likewise.
23300         * math/e_exp10l.c: Likewise.
23301         * math/e_exp2l.c: Likewise.
23302         * math/e_j0l.c: Likewise.
23303         * math/e_j1l.c: Likewise.
23304         * math/e_jnl.c: Likewise.
23305         * math/e_lgammal_r.c: Likewise.
23306         * math/e_rem_pio2l.c: Likewise.
23307         * math/e_scalb.c: Likewise.
23308         * math/e_scalbf.c: Likewise.
23309         * math/e_scalbl.c: Likewise.
23310         * math/k_cosl.c: Likewise.
23311         * math/k_sinl.c: Likewise.
23312         * math/k_tanl.c: Likewise.
23313         * math/s_cacoshf.c: Likewise.
23314         * math/s_catan.c: Likewise.
23315         * math/s_catanf.c: Likewise.
23316         * math/s_catanh.c: Likewise.
23317         * math/s_catanhf.c: Likewise.
23318         * math/s_catanhl.c: Likewise.
23319         * math/s_catanl.c: Likewise.
23320         * math/s_ccosh.c: Likewise.
23321         * math/s_ccoshf.c: Likewise.
23322         * math/s_ccoshl.c: Likewise.
23323         * math/s_cexp.c: Likewise.
23324         * math/s_cexpf.c: Likewise.
23325         * math/s_cexpl.c: Likewise.
23326         * math/s_clog.c: Likewise.
23327         * math/s_clog10.c: Likewise.
23328         * math/s_clog10f.c: Likewise.
23329         * math/s_clog10l.c: Likewise.
23330         * math/s_clogf.c: Likewise.
23331         * math/s_clogl.c: Likewise.
23332         * math/s_csin.c: Likewise.
23333         * math/s_csinf.c: Likewise.
23334         * math/s_csinh.c: Likewise.
23335         * math/s_csinhf.c: Likewise.
23336         * math/s_csinhl.c: Likewise.
23337         * math/s_csinl.c: Likewise.
23338         * math/s_csqrt.c: Likewise.
23339         * math/s_csqrtf.c: Likewise.
23340         * math/s_csqrtl.c: Likewise.
23341         * math/s_ctan.c: Likewise.
23342         * math/s_ctanf.c: Likewise.
23343         * math/s_ctanh.c: Likewise.
23344         * math/s_ctanhf.c: Likewise.
23345         * math/s_ctanhl.c: Likewise.
23346         * math/s_ctanl.c: Likewise.
23347         * math/s_ldexp.c: Likewise.
23348         * math/s_ldexpf.c: Likewise.
23349         * math/s_ldexpl.c: Likewise.
23350         * math/s_significand.c: Likewise.
23351         * math/s_significandf.c: Likewise.
23352         * math/s_significandl.c: Likewise.
23353         * math/w_acos.c: Likewise.
23354         * math/w_acosf.c: Likewise.
23355         * math/w_acosh.c: Likewise.
23356         * math/w_acoshf.c: Likewise.
23357         * math/w_acoshl.c: Likewise.
23358         * math/w_acosl.c: Likewise.
23359         * math/w_asin.c: Likewise.
23360         * math/w_asinf.c: Likewise.
23361         * math/w_asinl.c: Likewise.
23362         * math/w_atan2.c: Likewise.
23363         * math/w_atan2f.c: Likewise.
23364         * math/w_atan2l.c: Likewise.
23365         * math/w_atanh.c: Likewise.
23366         * math/w_atanhf.c: Likewise.
23367         * math/w_atanhl.c: Likewise.
23368         * math/w_cosh.c: Likewise.
23369         * math/w_coshf.c: Likewise.
23370         * math/w_coshl.c: Likewise.
23371         * math/w_dremf.c: Likewise.
23372         * math/w_exp10.c: Likewise.
23373         * math/w_exp10f.c: Likewise.
23374         * math/w_exp10l.c: Likewise.
23375         * math/w_exp2.c: Likewise.
23376         * math/w_exp2f.c: Likewise.
23377         * math/w_fmod.c: Likewise.
23378         * math/w_fmodf.c: Likewise.
23379         * math/w_fmodl.c: Likewise.
23380         * math/w_hypot.c: Likewise.
23381         * math/w_hypotf.c: Likewise.
23382         * math/w_hypotl.c: Likewise.
23383         * math/w_j0.c: Likewise.
23384         * math/w_j0f.c: Likewise.
23385         * math/w_j0l.c: Likewise.
23386         * math/w_j1.c: Likewise.
23387         * math/w_j1f.c: Likewise.
23388         * math/w_j1l.c: Likewise.
23389         * math/w_jn.c: Likewise.
23390         * math/w_jnf.c: Likewise.
23391         * math/w_jnl.c: Likewise.
23392         * math/w_lgamma.c: Likewise.
23393         * math/w_lgamma_r.c: Likewise.
23394         * math/w_lgammaf.c: Likewise.
23395         * math/w_lgammaf_r.c: Likewise.
23396         * math/w_lgammal.c: Likewise.
23397         * math/w_lgammal_r.c: Likewise.
23398         * math/w_log.c: Likewise.
23399         * math/w_log10.c: Likewise.
23400         * math/w_log10f.c: Likewise.
23401         * math/w_log10l.c: Likewise.
23402         * math/w_log2.c: Likewise.
23403         * math/w_log2f.c: Likewise.
23404         * math/w_log2l.c: Likewise.
23405         * math/w_logf.c: Likewise.
23406         * math/w_logl.c: Likewise.
23407         * math/w_pow.c: Likewise.
23408         * math/w_powf.c: Likewise.
23409         * math/w_powl.c: Likewise.
23410         * math/w_remainder.c: Likewise.
23411         * math/w_remainderf.c: Likewise.
23412         * math/w_remainderl.c: Likewise.
23413         * math/w_scalb.c: Likewise.
23414         * math/w_scalbf.c: Likewise.
23415         * math/w_scalbl.c: Likewise.
23416         * math/w_sinh.c: Likewise.
23417         * math/w_sinhf.c: Likewise.
23418         * math/w_sinhl.c: Likewise.
23419         * math/w_sqrt.c: Likewise.
23420         * math/w_sqrtf.c: Likewise.
23421         * math/w_sqrtl.c: Likewise.
23422         * math/w_tgamma.c: Likewise.
23423         * math/w_tgammaf.c: Likewise.
23424         * math/w_tgammal.c: Likewise.
23426         * po/ja.po: Update from translation team.
23428 2011-09-29  Andreas Jaeger  <aj@suse.de>
23430         [BZ #13179]
23431         * sunrpc/netname.c (netname2host): Fix logic.
23433         [BZ #6779]
23434         [BZ #6783]
23435         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23436         correctly.
23437         * math/w_remainder.c (__remainder): Likewise.
23438         * math/w_remainderf.c (__remainderf): Likewise.
23439         * math/libm-test.inc (remainder_test): Add test cases.
23441 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23443         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23444         sdiv_qrnnd.
23446 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23448         * string/test-memcmp.c: Avoid unncessary #defines.
23449         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23451 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23453         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23454         Use new sse2 version for core i3 - i7 as it's faster
23455         than sse42 version.
23456         (bit_Prefer_PMINUB_for_stringop): New.
23457         * sysdeps/x86_64/rawmemchr.S: Update.
23458         Replace with faster SSE2 version.
23459         * sysdeps/x86_64/memrchr.S: New file.
23460         * sysdeps/x86_64/memchr.S: Update.
23461         Replace with faster SSE2 version.
23463 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23465         * elf/dl-load.c (lose): Add cast to avoid warning.
23467 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23469         * po/ca.po: Update from translation team.
23471         * inet/getnetgrent_r.c: Hook up nscd.
23472         * nscd/Makefile (routines): Add nscd_netgroup.
23473         (nscd-modules): Add netgroupcache.
23474         (CFLAGS-netgroupcache.c): Define.
23475         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23476         (cache_search): Add const to second parameter.
23477         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23478         INNETGR.
23479         (dbs): Add netgrdb entry.
23480         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23481         (verify_persistent_db): Handle netgrdb.
23482         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23483         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23484         GETFDNETGR.
23485         (netgroup_response_header): Define.
23486         (innetgroup_response_header): Define.
23487         (datahead): Add netgroup_response_header and innetgroup_response_header
23488         elements.
23489         * nscd/nscd.conf: Add entries for netgroup cache.
23490         * nscd/nscd.h (dbtype): Add netgrdb.
23491         (_PATH_NSCD_NETGROUP_DB): Define.
23492         (netgroup_iov_disabled): Declare.
23493         (xmalloc, xcalloc, xrealloc): Move declarations here.
23494         (cache_search): Adjust prototype.
23495         Add netgroup-related prototypes.
23496         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23497         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23498         (__nscd_innetgr): Declare.
23499         * nscd/selinux.c (perms): Use access_vector_t as element type and
23500         add netgroup-related initializers.
23501         * nscd/netgroupcache.c: New file.
23502         * nscd/nscd_netgroup.c: New file.
23503         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23504         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23505         For four parameters use innetgr.
23506         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23507         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23508         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23509         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23511         * nscd/connections.c (register_traced_file): Don't register file
23512         for disabled databases.
23514 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23516         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23518         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23519         from tree and freeing node.
23521 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23523         * nss/nsswitch.c (__nss_database_lookup): Handle
23524         nss_parse_service_list out of memory case.
23526 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23528         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23529         out of memory case.
23531 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23533         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23534         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23535         pass it down.
23536         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23537         elf_machine_rela, elf_machine_lazy_rel.
23538         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23539         (ELF_DYNAMIC_DO_REL): Likewise.
23540         (ELF_DYNAMIC_DO_RELA): Likewise.
23541         (ELF_DYNAMIC_RELOCATE): Likewise.
23542         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23543         to ELF_DYNAMIC_DO_REL.
23544         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23545         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23546         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23547         elf_machine_rela.
23548         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23549         skip_ifunc, don't call ifunc function if non-zero.
23550         (elf_machine_rela): Likewise.
23551         (elf_machine_lazy_rel): Likewise.
23552         (elf_machine_lazy_rela): Likewise.
23553         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23554         (elf_machine_lazy_rel): Likewise.
23555         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23556         Likewise.
23557         (elf_machine_lazy_rel): Likewise.
23558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23559         Likewise.
23560         (elf_machine_lazy_rel): Likewise.
23561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23562         (elf_machine_lazy_rel): Likewise.
23563         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23564         (elf_machine_lazy_rel): Likewise.
23565         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23566         (elf_machine_lazy_rel): Likewise.
23567         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23568         (elf_machine_lazy_rel): Likewise.
23569         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23570         (elf_machine_lazy_rel): Likewise.
23571         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23572         (elf_machine_lazy_rel): Likewise.
23574 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23576         * nss/nss_files/files-init.c (_nss_files_init): Use static
23577         initialization for all the *_traced_file variables.
23579 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23581         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23583 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23585         [BZ #13226]
23586         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23588 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23590         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23591         Reread the line before reparsing it.
23593 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23595         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23597 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23598             Maxim Kuvyrkov  <maxim@codesourcery.com>
23599             Joseph Myers  <joseph@codesourcery.com>
23601         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23602         if needed for __stack_chk_guard.
23604 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23606         * sysdeps/posix/spawni.c (script_execute): Always define it.
23607         It will be optimized away if unused.
23608         (maybe_script_execute): New function.
23609         (__spawni): Call it.
23611         * Makerules: Don't include tls.make.
23612         (config-tls): Always set to thread.
23613         * tls.make.c: File removed.
23615 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23617         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23618         * config.make.in (CPPFLAGS-config): New substituted variable.
23620 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23622         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23624         [BZ #13192]
23625         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23626         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23628 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23630         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23631         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23632         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23633         (CALL_FAIL): Likewise.
23634         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23635         (CALL_FAIL): Macro removed.
23636         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23638 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23640         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23641         for __FINITE_MATH_ONLY__ == 1.
23643 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23645         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23646         __ieee754_sqrt instead of sqrt.
23647         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23648         __ieee754_sqrtf instead of sqrtf.
23649         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23650         __floorf instead of floorf.
23651         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23652         __floorf, __truncf instead of floorf, truncf.
23654 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23656         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23658         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23659         __extern_always_inline.
23660         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23661         32-bit.
23663 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23665         * elf/rtld.c (dl_main): Also relocate in dependency order when
23666         doing symbol dependency testing.
23668 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23671         Always define `refsym'.
23673 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23675         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23676         (__FD_ELT): Renamed from __FDELT.
23677         * misc/bits/select2.h (__FD_ELT): Likewise.
23678         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23679         __FD_MASK instead of __FDELT, __FDMASK.
23680         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23681         Likewise.
23682         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23683         Likewise.
23685         * elf/Makefile (gen-ldd): Fix pattern.
23687         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23688         (init_tls): Likewise.
23690 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23692         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23694 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23696         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23697         `struct cmsghdr *' instead of `void *'.
23698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23699         Likewise.
23701 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23703         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23704         if non-absolute.
23705         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23706         ldd_rewrite_script.
23708 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23710         * configure.in: Remove --with-tls option.
23711         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23712         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23713         out in case it is missing.
23714         * sysdeps/ia64/elf/configure.in: Likewise.
23715         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23716         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23717         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23718         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23719         * sysdeps/sh/elf/configure.in: Likewise.
23720         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23721         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23722         * sysdeps/x86_64/elf/configure.in: Likewise.
23723         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23724         * sysdeps/mach/hurd/tls.h: Likewise.
23726         [BZ #13067]
23727         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23729         [BZ #13090]
23730         * configure.in: Fix use of AC_INIT.
23732         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23734 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23736         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23737         __set_errno.
23738         * malloc/hooks.c: Likewise.
23740         [BZ #11929]
23741         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23742         variables statically.
23743         (narenas): Initialize.
23744         (list_lock): Initialize.
23745         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23746         initializtion of main_arena and list_lock.  Small cleanups.
23747         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23748         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23749         Add initializers to main_arena and mp_.
23750         (malloc_state): Remove pagesize member.  Change all users to use
23751         GLRO(dl_pagesize).
23753         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23754         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23755         is always initialized.
23757         * malloc/malloc.c: Removed unused configurations and dead code.
23758         * malloc/arena.c: Likewise.
23759         * malloc/hooks.c: Likewise.
23760         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23762         * include/tls.h: Removed.  USE___THREAD must always be defined.
23763         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23764         * elf/dl-libc.c: Likewise.
23765         * elf/dl-tsd.c: Likewise.
23766         * include/errno.h: Likewise.
23767         * include/netdb.h: Likewise.
23768         * include/resolv.h: Likewise.
23769         * inet/herrno-loc.c: Likewise.
23770         * inet/herrno.c: Likewise.
23771         * malloc/arena.c: Likewise.
23772         * malloc/hooks.c: Likewise.
23773         * malloc/malloc.c: Likewise.
23774         * resolv/res-state.c: Likewise.
23775         * resolv/res_libc.c: Likewise.
23776         * sysdeps/i386/dl-machine.h: Likewise.
23777         * sysdeps/ia64/dl-machine.h: Likewise.
23778         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23779         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23780         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23781         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23782         * sysdeps/sh/dl-machine.h: Likewise.
23783         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23784         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23785         * sysdeps/unix/i386/sysdep.S: Likewise.
23786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23787         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23796         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23797         * sysdeps/x86_64/dl-machine.h: Likewise.
23798         * tls.make.c: Likewise.
23800         * configure.in: Remove --with-__thread option.  Make tests for
23801         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23802         tls_model attribute fail if no support is available.  Remove
23803         USE_IN_LIBIO.
23804         * Makeconfig: Adjust for dropped configure option.  All features are
23805         now mandatory.
23806         * Makerules: Likewise.
23807         * Versions.def: Likewise.
23808         * argp/argp-fmtstream.c: Likewise.
23809         * argp/argp-fmtstream.h: Likewise.
23810         * argp/argp-help.c: Likewise.
23811         * assert/assert.c: Likewise.
23812         * config.h.in: Likewise.
23813         * config.make.in: Likewise.
23814         * configure: Likewise.
23815         * configure.in: Likewise.
23816         * csu/Versions: Likewise.
23817         * csu/init.c: Likewise.
23818         * elf/tst-audit2.c: Likewise.
23819         * elf/tst-tls10.c: Likewise.
23820         * elf/tst-tls10.h: Likewise.
23821         * elf/tst-tls11.c: Likewise.
23822         * elf/tst-tls12.c: Likewise.
23823         * elf/tst-tls14.c: Likewise.
23824         * elf/tst-tlsmod11.c: Likewise.
23825         * elf/tst-tlsmod12.c: Likewise.
23826         * elf/tst-tlsmod13.c: Likewise.
23827         * elf/tst-tlsmod13a.c: Likewise.
23828         * elf/tst-tlsmod14a.c: Likewise.
23829         * elf/tst-tlsmod15b.c: Likewise.
23830         * elf/tst-tlsmod16a.c: Likewise.
23831         * elf/tst-tlsmod16b.c: Likewise.
23832         * elf/tst-tlsmod7.c: Likewise.
23833         * elf/tst-tlsmod8.c: Likewise.
23834         * elf/tst-tlsmod9.c: Likewise.
23835         * gmon/gmon.c: Likewise.
23836         * grp/fgetgrent_r.c: Likewise.
23837         * grp/putgrent.c: Likewise.
23838         * hurd/fopenport.c: Likewise.
23839         * include/libc-symbols.h: Likewise.
23840         * include/tls.h: Likewise.
23841         * intl/gettextP.h: Likewise.
23842         * intl/loadinfo.h: Likewise.
23843         * locale/global-locale.c: Likewise.
23844         * locale/localeinfo.h: Likewise.
23845         * mach/devstream.c: Likewise.
23846         * malloc/arena.c: Likewise.
23847         * malloc/set-freeres.c: Likewise.
23848         * misc/err.c: Likewise.
23849         * misc/getttyent.c: Likewise.
23850         * misc/mntent_r.c: Likewise.
23851         * posix/getopt.c: Likewise.
23852         * posix/wordexp.c: Likewise.
23853         * pwd/fgetpwent_r.c: Likewise.
23854         * resolv/Versions: Likewise.
23855         * resolv/res_hconf.c: Likewise.
23856         * shadow/fgetspent_r.c: Likewise.
23857         * shadow/putspent.c: Likewise.
23858         * stdio-common/printf_fphex.c: Likewise.
23859         * stdio-common/tmpfile.c: Likewise.
23860         * stdlib/abort.c: Likewise.
23861         * stdlib/fmtmsg.c: Likewise.
23862         * sunrpc/auth_unix.c: Likewise.
23863         * sunrpc/clnt_perr.c: Likewise.
23864         * sunrpc/clnt_tcp.c: Likewise.
23865         * sunrpc/clnt_udp.c: Likewise.
23866         * sunrpc/clnt_unix.c: Likewise.
23867         * sunrpc/openchild.c: Likewise.
23868         * sunrpc/svc_simple.c: Likewise.
23869         * sunrpc/svc_tcp.c: Likewise.
23870         * sunrpc/svc_udp.c: Likewise.
23871         * sunrpc/svc_unix.c: Likewise.
23872         * sunrpc/xdr.c: Likewise.
23873         * sunrpc/xdr_array.c: Likewise.
23874         * sunrpc/xdr_rec.c: Likewise.
23875         * sunrpc/xdr_ref.c: Likewise.
23876         * sunrpc/xdr_stdio.c: Likewise.
23878 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23880         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23882 2011-07-03  Andreas Jaeger  <aj@suse.de>
23884         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23885         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23886         regenerate with gen-libm-tests.pl.
23888 2010-05-12  Petr Baudis  <pasky@suse.cz>
23890         [BZ #11589]
23891         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23892         around j0() zero points by switching to j1().
23893         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23894         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23896         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23898 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23900         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23901         instead of 0.
23902         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23903         instead of 0.
23904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23905         Patch in part by Pavel Roskin <proski@gnu.org>.
23907         [BZ #13138]
23908         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23909         realloc.
23910         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23911         Free memory block if necessary.
23913         [BZ #12847]
23914         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23915         be NULL.  Don't lock in this case.
23917 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23919         * elf/elf.h (ELFOSABI_GNU): New macro.
23920         (ELFOSABI_LINUX): Define to that.
23922 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23924         * string/strncat.c (strncat): Undef the symbol in case it has been
23925         defined in bits/string.h.
23927 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23929         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23931         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23932         link map.
23934 2011-08-17  Andreas Jaeger  <aj@suse.de>
23936         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23938 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23939             Ian Lance Taylor  <iant@google.com>
23941         * math/libm-test.inc (lround_test): New testcase.
23942         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23944 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23946         * Makefile: Remove support for automatic cvs check-ins.
23947         * Makerules: Likewise.
23948         * config.make.in: Likewise.
23949         * configure.in: Likewise.
23950         * intl/Makefile: Likewise.
23951         * locale/Makefile: Likewise.
23952         * po/Makefile: Likewise.
23953         * posix/Makefile: Likewise.
23954         * sysdeps/gnu/Makefile: Likewise.
23955         * sysdeps/mach/hurd/Makefile: Likewise.
23956         * sysdeps/sparc/sparc32/Makefile: Likewise.
23958         [BZ #13118]
23959         * posix/Makefile (bug-regex32-ENV): Define.
23960         Patch by John Stanley <jpsinthemix@verizon.net>.
23962         * misc/Makefile (headers): Add bits/select2.h.
23963         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23964         * misc/bits/select2.h: New file.
23965         * include/bits/select2.h: New file.
23966         * debug/Makefile (routines): Add fdelt_chk.
23967         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23968         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23969         FD_ISSET.
23970         * debug/fdelt_chk.c: New file.
23972         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23973         * wcsmbs/test-wmemcmp.c: Likewise.
23974         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23975         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23977 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23979         * string/Makefile (strop-tests): Add memcmp.
23980         * string/test-wmemcmp.c: New file.
23981         * string/test-memcmp.c: Add wmemcmp support.
23983 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23985         [BZ #13153]
23986         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23987         2011-07-19 change.
23989         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23990         garbage value in a __mach_port_mod_refs call in the cases of the
23991         task-self and thread-self ports.
23993 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23995         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23997 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23999         * elf/dl-load.c (lose): Check for non-null L.
24001 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24003         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24005         * elf/dl-libc.c (dlerror_run): Pass back error code from
24006         dl_catch_error.
24008         [BZ #13123]
24009         * elf/dl-load.c (lose): Free l_origin if it is valid.
24011         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24012         names.
24013         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24014         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24016         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24017         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24018         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24020 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24022         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24023         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24024         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24025         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24026         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24027         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24028         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24029         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24030         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24031         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24033 2011-08-15  Alan Modra  <amodra@gmail.com>
24035         [BZ #13092]
24036         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24037         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24038         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24039         ppc_mcount to static-only-routines.
24040         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24041         __mcount_internal.
24042         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24043         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24045 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24047         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24048         for finite and infinity parameters.
24050 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24052         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24053         and add nop instructions for throughput optimization.
24054         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24056 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24058         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24059         aligned copy for power7 with vector-scalar instructions.
24060         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24062 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24065         AVX check.
24067 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24069         [BZ #13144]
24070         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24071         last change.
24073 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24075         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24076         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24077         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24078         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24079         clock_gettime.
24081 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24083         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24084         Forgot to demangle the pointer.
24086         * sysdeps/i386/sysdep.h: Define atom_text_section.
24087         * sysdeps/x86_64/sysdep.h: Likewise.
24088         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24089         section with atom_text_section.
24090         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24091         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24092         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24093         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24094         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24096         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24097         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24098         already be defined.  Change to take two parameters and don't assign
24099         result to variable.  Adjust all users.
24100         Define INTERNAL_GETTIME if not already defined.
24101         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24102         call.
24103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24104         HAVE_CLOCK_GETTIME_VSYSCALL.
24105         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24108         gettimeofday vsyscall, just use time.
24110 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24112         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24113         <errno.h>.
24115 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24117         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24118         syscall on x86-64.
24119         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24120         syscall.
24121         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24122         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24123         syscall if possible.
24125 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24127         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24128         e_ident.  Don't pass to find_mapsXX.
24129         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24131 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24134         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24135         * sysdeps/x86_64/multiarch/strchr.S: Update.
24136         Check bit_slow_BSF bit.
24137         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24138         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24139         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24141 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24143         [BZ #13134]
24144         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24145         before glibc 2.15.
24146         (tryshell): Define.
24147         (__spawni): Change last parameter to be flag.  Test
24148         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24149         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24150         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24151         * posix/spawni.c: Likewise.
24152         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24153         * posix/spawnp.c: Likewise.  Change normal version to use
24154         SPAWN_XFLAGS_USE_PATH.
24155         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24156         SPAWN_XFLAGS_TRY_SHELL.
24158         [BZ #13150]
24159         * posix/glob.h: Remove gcc 1.x support.
24161         [BZ #13068]
24162         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24164 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24166         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24167         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24168         strrchr-sse2-bsf
24169         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24170         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24171         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24172         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24173         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24174         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24176 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24178         * sysdeps/x86_64/wcscmp.S: New file.
24180         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24181         wcscmp-c wcscmp-sse2
24182         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24183         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24184         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24185         * wcsmbs/wcscmp.c: Allow renaming.
24187 2011-09-05  David S. Miller  <davem@davemloft.net>
24189         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24190         stack slot, rather than the struct return pointer slot.
24191         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24192         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24194         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24196 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24198         * po/ja.po: Update from translation team.
24200         [BZ #13144]
24201         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24202         kernel in 64-bit binaries.
24204 2011-09-01  David S. Miller  <davem@davemloft.net>
24206         * elf/elf.h (HWCAP_SPARC_*): Move to..
24207         * sysdeps/sparc/sysdep.h: this new file and add new values.
24208         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24209         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24210         _DL_HWCAP_COUNT to 24.
24211         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24212         entries.
24213         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24214         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24215         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24217         instead of magic constants.
24218         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24220 2011-08-31  David S. Miller  <davem@davemloft.net>
24222         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24224         Reimplement to do errno handling inline.
24225         (SYSCALL_ERROR_HANDLER): New macro.
24226         (__SYSCALL_STRING): Do not do errno handling in asm.
24227         (__CLONE_SYSCALL_STRING): Delete.
24228         (__INTERNAL_SYSCALL_STRING): Delete.
24229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24230         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24231         (PSEUDO): Reimplement to do errno handling inline.
24232         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24233         (SYSCALL_ERROR_HANDLER): New macro.
24234         (__SYSCALL_STRING): Do not do errno handling in asm.
24235         (__CLONE_SYSCALL_STRING): Delete.
24236         (__INTERNAL_SYSCALL_STRING): Delete.
24237         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24238         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24239         i386.
24240         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24241         (inline_syscall*): Add 'err' argument.
24242         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24243         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24244         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24245         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24247         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24248         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24250 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24252         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24254 2011-08-29  Jiri Olsa <jolsa@redhat.com>
24256         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24257         directive.
24259 2011-08-24  David S. Miller  <davem@davemloft.net>
24261         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24263 2011-08-24  Andreas Schwab  <schwab@redhat.com>
24265         * elf/Makefile: Add rules to build and run unload8 test.
24266         * elf/unload8.c: New file.
24267         * elf/unload8mod1.c: New file.
24268         * elf/unload8mod1x.c: New file.
24269         * elf/unload8mod2.c: New file.
24270         * elf/unload8mod3.c: New file.
24272         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24273         it wasn't used.
24275 2011-08-23  David S. Miller  <davem@davemloft.net>
24277         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24278         subtract stack bias.
24279         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24280         %sp not %fp in calculations.
24281         (_JMPBUF_UNWINDS_ADJ): Likewise.
24283         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24284         (aio_suspend): Call it to force an exception region around the
24285         AIO_MISC_WAIT() invocation.
24287 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24289         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24290         backslash.
24292 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24294         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24295         protection macro.
24296         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24297         and <dl-machine.h>.
24298         (Elf64_FuncDesc): Remove.
24300 2011-08-22  David S. Miller  <davem@davemloft.net>
24302         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24303         sigaltstack check, add missing cfi directives.
24304         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24305         missing cfi directives, and sigaltstack handling.
24307 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24309         [BZ #11724]
24310         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24311         object is seen twice.
24312         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24314         * elf/Makefile (distribute): Add tst-initorder2.c.
24315         (tests): Add tst-initorder2.
24316         (modules-names): Add tst-initorder2a tst-initorder2b
24317         tst-initorder2c tst-initorder2d.  Add rules to build them.
24318         ($(objpfx)tst-initorder2.out): New rule.
24319         * elf/tst-initorder2.c: New file.
24320         * elf/tst-initorder2.exp: New file.
24322 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24324         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24326         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24327         dependencies back to end of function.
24329         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24330         $(elfobjdir)/ld.so.
24332 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24335         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24337         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24338         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24339         of __vdso_gettimeofday.
24340         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24341         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24342         attribute_hidden.
24343         (_libc_vdso_platform_setup): Remove initialization of
24344         __vdso_gettimeofday and __vdso_time.
24346 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24348         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24349         and fgetc_unlocked.
24350         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24351         getc_unlocked.
24353         * elf/dl-open.c (add_to_global): Report additions to the global scope
24354         for LD_DEBUG=scopes.
24355         (dl_open_worker): Also print scope of newly loaded dependencies.
24356         (_dl_show_scope): Indicate if there is no scope.
24358         [BZ #13114]
24359         * stdio-common/Makefile (tests): Add bug24.
24360         * stdio-common/bug24.c: New file.
24362 2011-08-19  Andreas Jaeger  <aj@suse.de>
24364         [BZ #13114]
24365         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24366         non-existant file when using close-on-exec mode.
24368 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24370         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24371         the very first instruction.
24373         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24374         the CFI state in the end.
24375         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24376         inclusion of dl-trampoline.h.
24377         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24379 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24381         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24382         expectations for long double.
24384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24385         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24387 2011-08-14  David S. Miller  <davem@davemloft.net>
24389         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24390         artificual limit depends upon the system page size.
24392 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24394         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24395         * resolv/Makefile: Define CFLAGS-libresolv.
24397 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24399         * nss/makedb.c (compute_tables): Make variables used in nested
24400         function static.
24402 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24404         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24405         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24406         if buffer was too small.
24408         * elf/pldd.c (main): Attach to all threads in the process.
24409         Rewrite /proc handling to use *at functions.
24411 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24413         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24414         specifies first scope to show.
24415         (dl_open_worker): Update callers.  Move printing scope of new
24416         object to before the relocation.
24417         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24418         * sysdeps/generic/ldsodefs.h: Update declaration.
24420         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24421         string for the scope number.
24423 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24425         * nscd/servicescache.c (cache_addserv): Make sure written is always
24426         initialized.
24428 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24430         * sysdeps/i386/i486/bits/atomic.h
24431         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24432         statement expression, so as to suppress "set but not used" warning.
24433         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24435         * string/strncat.c (STRNCAT): Use prototype definition.
24437         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24438         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24439         -Iprograms here.
24440         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24441         (localedef-modules): Add localedef.
24442         (locale-modules): Add locale.
24444         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24445         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24446         to avoid a warning.
24448 2011-08-14  David S. Miller  <davem@davemloft.net>
24450         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24451         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24453 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24455         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24456         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24457         * elf/rtld.c (dl_main): Set l_name of vDSO.
24458         Call _dl_show_scope when DL_DEBUG_SCOPES.
24459         (process_dl_debug): Recognize scopes flag and also set it for all.
24460         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24461         Declare _dl_show_scope.
24463         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24464         (do_dlopen): Pass caller_dlopen to dl_open.
24465         (__libc_dlopen_mode): Initialize caller_dlopen.
24467         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24468         of libc.  Make tolower call locale-independent.  Optimize a bit by
24469         using isdigit instead of isalnum.
24470         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24472 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24474         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24475         was a dependency or dynamically loaded.
24477 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24479         * intl/l10nflist.c: Allow architecture-specific pop function.
24480         * sysdeps/x86_64/l10nflist.c: New file.
24482         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24483         classification.
24485 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24487         * include/dirent.h: Add libc_hidden_proto for scandirat and
24488         scandirat64.  Don't declare __scandirat64.
24489         * dirent/scandirat.c: Add libc_hidden_def.
24490         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24491         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24493 2011-08-10  David S. Miller  <davem@davemloft.net>
24495         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24496         enum.
24497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24501 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24503         * Versions.def [libc]: Add GLIBC_2.15.
24504         * dirent/Makefile (routines): Add scandirat and scandirat64.
24505         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24506         GLIBC_2.15.
24507         * dirent/dirent.h: Declare scandirat and scandirat64.
24508         * dirent/scandirat.c: New file.
24509         * dirent/scandirat64.c: New file.
24510         * sysdeps/wordsize-64/scandirat.c: New file.
24511         * sysdeps/wordsize-64/scandirat64.c: New file.
24512         * dirent/opendir.c: Define opendirat.
24513         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24514         using scandirat.
24515         * dirent/scandir64.c: Adjust for scandir.c change.
24516         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24517         __scandirat64, and __scandir_cancel_handler.
24518         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24519         additional parameter and use openat instead of open (outside of ld.so).
24520         Add new __opendir as wrapper around __opendirat.
24521         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24522         here without requiring old scandirat implementation.
24524 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24526         * dirent/scandir.c (cancel_handler): Renamed to
24527         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24528         defined.  Adjust users.
24529         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24530         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24532 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24534         * string/test-string.h (IMPL): Use __STRING to expand name and then
24535         stringify it.
24537         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24538         of cleanups.
24540 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24542         * string/Makefile: Update.
24543         (strop-tests): Append strncat.
24544         * string/test-wcscmp.c: New file.
24545         New comprehensive test for wcscmp.
24546         * string/test-strcmp.c: Update.
24547         (WIDE): New define.
24549 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24551         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24552         line.
24554 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24557         encoding to ACE if AI_IDN.
24559 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24562         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24564 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24566         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24567         Fix overflow bug in strncat.
24568         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24570         * string/test-strncat.c: Update.
24571         Add new tests for checking overflow bugs.
24573 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24576         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24577         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24578         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24579         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24580         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24581         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24582         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24583         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24585         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24586         (USE_AS_STRCAT): Define.
24587         Add strcat and strncat support.
24588         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24590 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24592         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24593         __n bigger than INT_MAX+1.
24594         (__strncmp_g): Likewise.
24596 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24598         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24599         * libio/stido.h: Likewise.
24601         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24602         (AF_NFC): Define.
24603         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24604         (AF_NFC): Define.
24606         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24607         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24608         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24609         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24610         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24612         [BZ #13021]
24613         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24614         installed.
24616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24617         typo.
24618         (_dl_x86_64_save_sse): Likewise.
24620 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24622         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24623         OSXSAVE.
24624         (_dl_x86_64_save_sse): Likewise.
24626         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24628         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24630 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24633         change.
24634         (_dl_x86_64_save_sse): Use correct AVX check.
24636 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24638         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24639         bug in strncpy/strncat.
24640         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24642 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24644         * string/tester.c (test_strcat): Add tests for different alignments
24645         of source and destination.
24646         (test_strncat): Likewise.
24648 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24650         [BZ #12852]
24651         * posix/glob.c (glob): Check passed in values before using them in
24652         expressions to avoid some overflows.
24653         (glob_in_dir): Likewise.
24655         [BZ #13007]
24656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24657         check for AVX enablement so that we don't crash with old kernels and
24658         new hardware.
24659         * elf/tst-audit4.c: Add same checks here.
24660         * elf/tst-audit6.c: Likewise.
24662         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24664 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24666         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24668 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24670         * po/cs.po: Update from translation team.
24671         * po/bg.po: Likewise.
24673 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24675         * misc/sys/cdefs.h: Add support for const attribute.
24676         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24677         to gnu_dev_{major,minor,makedev} functions.
24679 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24681         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24683 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24685         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24686         strlen results.
24688 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24691         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24692         register in order to avoid conflicts with the soft frame pointer
24693         being held in r11 when necessary.
24694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24695         (INTERNAL_VSYSCALL_NCS): Likewise.
24697 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24699         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24700         * elf/dl-fini.c (_dl_fini): Adjust caller.
24701         * elf/dl-close.c (_dl_close_worker): Likewise.
24702         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24704 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24706         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24707         "aux_cache->nlibs < 0".
24709         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24710         in the reload-count case.
24712 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24715         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24716         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24717         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24718         * sysdeps/x86_64/multiarch/strcat.S: New file.
24719         * sysdeps/x86_64/multiarch/strncat.S: New file.
24720         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24721         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24722         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24723         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24724         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24725         (USE_AS_STRCAT): Define.
24726         Add strcat and strncat support.
24727         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24728         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24729         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24730         * string/strncat.c: Update.
24731         (USE_AS_STRNCAT): Define.
24732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24733         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24734         and i7.
24735         * sysdeps/x86_64/multiarch/init-arch.h
24736         (bit_Prefer_PMINUB_for_stringop): New.
24737         (index_Prefer_PMINUB_for_stringop): Likewise.
24738         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24739         bit_Prefer_PMINUB_for_stringop.
24741 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24743         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24744         buffer64.
24745         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24746         of casting of buffer.
24747         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24748         buffer32 and buffer64.
24749         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24750         writes instead of casting of buffer.
24751         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24752         buffer32.
24753         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24754         casting of buffer.
24756 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24758         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24760 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24762         * nscd/nscd.c (termination_handler): Don't do anything for a database
24763         if it has not yet been initialized.
24765 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24767         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24769 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24771         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24773 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24775         * po/nl.po: Update from translation team.
24776         * po/sv.po: Likewise.
24778 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24780         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24781         now disallowed by GCC.
24783         * configure.in (use-default-link): Default to yes if a test -shared
24784         link meets our qualifications.
24785         * configure: Regenerated.
24787         * config.make.in (output-format): New variable.
24788         * configure.in: Check for ld --print-output-format support.
24789         * configure: Regenerated.
24790         * Makerules ($(common-objpfx)format.lds)
24791         [$(output-format) != unknown]: Just use $(output-format),
24792         instead of the linker-script munging.
24794 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24796         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24797         of $(common-objpfx)shlib.lds.
24798         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24800         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24801         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24803         * configure.in (-z relro check): Adjust test code to add a large
24804         writable data section after it.
24805         * configure: Regenerated.
24807 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24809         * configure.in (-z relro check): Fix test code to make the variable
24810         truly const.
24811         * configure: Regenerated.
24813 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24815         * nscd/nscd.h (struct traced_file): Define.
24816         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24817         elements.  Add traced_files.
24818         (inotify_fd): Declare.
24819         (register_traced_file): Declare.
24820         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24821         (inotify_fd): Export.
24822         (resolv_conf_descr): Remove.
24823         (nscd_init): Move inotify descriptor creation to main.
24824         Don't register files for notification here.
24825         (register_traced_file): New function.
24826         (invalidate_cache): Don't use reset_res to determine whether to call
24827         res_init, go through the list of registered files.
24828         (main_loop_poll): The inotify descriptors are now stored in the
24829         structures for the traced files.
24830         (main_loop_epoll): Likewise
24831         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24832         to __nss_disable_nscd.
24833         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24834         for a database anymore.  Check the records for all the registered
24835         files instead.
24836         * nss/Makefile (libnss_files-routines): Add files-init.
24837         (libnss_db-routines): Add db-init.
24838         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24839         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24840         * nss/nss_db/db-init.c: New file.
24841         * nss/nss_files/files-init.c: New file.
24842         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24843         __nss_lookup_function.
24844         (__nss_lookup_function): Call nss_load_library.
24845         (nss_load_all_libraries): New function.
24846         (__nss_disable_nscd): Take parameter with callback function for files
24847         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24848         used for the cached services.
24849         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24850         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24851         options for features to all the files in nscd.
24853         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24855 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24857         * csu/elf-init.c (__libc_csu_init): Comment typo.
24859 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24861         * po/pl.po: Update from translation team.
24862         * po/ja.po: Likewise.
24863         * po/ru.po: Likewise.
24864         * po/ko.po: Likewise.
24865         * po/fr.po: Likewise.
24867 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24869         * configure.in (.ctors/.dtors header and trailer check):
24870         Use an empirical test on a built program.
24871         * configure: Regenerated.
24873         * configure.in (-z relro check): Use an empirical test on a built DSO.
24874         Detect, but do not require, on ia64.
24875         * configure: Regenerated.
24877         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24878         Update tests that use readelf to use $READELF instead.
24879         * configure: Regenerated.
24881 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24883         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24884         if the result is not used.
24886 2011-07-05  Andreas Jaeger  <aj@suse.de>
24888         [BZ#9696]
24889         * stdlib/tst-strtod.c: Add testcase.
24891 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24893         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24894         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24895         The latter has a higher limit.  Take additional parameter to pass to
24896         the new function.
24897         (__pathconf): Pass file to __statfs_link_max.
24898         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24899         __statfs_link_max.
24900         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24901         __statfs_link_max.
24903         [BZ #12868]
24904         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24905         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24906         Handle Lustre.
24907         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24908         (__statfs_filesize_max): Likewise.
24909         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24911 2011-07-05  Andreas Jaeger  <aj@suse.de>
24913         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24915 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24917         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24918         `status' variable.
24919         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24920         Likewise.
24922 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24924         * Makefile (strop-tests): Add strncat.
24925         * string/test-strncat.c: New file.
24927 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24929         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24931 2011-06-21  Andreas Jaeger  <aj@suse.de>
24933         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24934         Copy rule from iconvdata/Makefile.
24936 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24938         [BZ #12922]
24939         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24940         but no long options are defined, just return 'W'.
24942 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24944         [BZ #9696]
24945         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24947 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24949         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24950         netgroups to read.
24951         (innetgr): Likewise.
24953 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24955         * config.make.in (install_root): Default to $(DESTDIR).
24957 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24959         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24961 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24963         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24965         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24966         containing directory rather than embedding absolute directory names.
24968         * scripts/check-local-headers.sh: Rewritten using awk.
24969         Match by word, not by line.  Print error messages for matches.
24970         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24972         * Makerules [shlib-lds-flags empty]:
24973         ($(common-objpfx)libc_pic.opts): New target.
24974         ($(common-objpfx)libc_pic.os.clean): New target.
24975         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24977         * config.make.in (OBJCOPY): New variable.
24978         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24979         * configure: Regenerated.
24981         * config.make.in (use-default-link): New variable.
24982         * configure.in (use_default_link): Grok --with-default-link to set it.
24983         * configure: Regenerated.
24984         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24985         (shlib-lds, shlib-lds-flags): Define to empty.
24987         * Makerules (shlib-lds): New variable.
24988         (shlib-lds-flags): New variable.
24989         (build-shlib, build-moduile, build-module-asneeded): Use it.
24990         ($(common-objpfx)libc.so): Use $(shlib-lds).
24991         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24992         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24994         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24995         DT_FLAGS/DT_FLAGS_1 with zero flags.
24997         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24998         linker script munging.
25000 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25002         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25003         as 128-bit value.
25004         * crypt/sha512.c (sha512_process_block): Perform total addition using
25005         128-bit if possible.
25006         (__sha512_finish_ctx): Likewise.
25007         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25008         as 64-bit value.
25009         * crypt/sha256.c (SWAP64): Define.
25010         (sha256_process_block): Perform total addition using 64-bit if
25011         possible.
25012         (__sha256_finish_ctx): Likewise.
25014 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25016         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25017         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25018         * nscd/hstcache.c (cache_addhst): Likewise.
25019         * nscd/grpcache.c (cache_addgr): Likewise.
25020         * nscd/aicache.c (addhstaiX): Likewise
25021         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25023 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25025         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25026         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25027         * nscd/hstcache.c (cache_addhst): Likewise.
25028         * nscd/grpcache.c (cache_addgr): Likewise.
25029         * nscd/aicache.c (addhstaiX): Likewise
25031 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25033         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25034         domain only when needed.
25036 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25039         is always restored.
25041 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25043         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25044         are re-adding the entry.
25045         * nscd/servicescache.c (cache_addserv): Likewise.
25047 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25049         * sysdeps/generic/dl-irel.h: fix protection against multiple
25050         inclusions.
25051         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25053 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25055         [BZ #12935]
25056         * malloc/memusage.sh: Fix quoting in message.
25057         * debug/xtrace.sh: Likewise.
25059         * configure.in: Remove support for --experimental-malloc option, make
25060         it the default.
25061         * config.make.in: Likewise.
25062         * malloc/Makefile: Likewise.
25064 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25066         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25067         two-byte characters.
25069 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25071         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25072         AC_CACHE_CHECK invocation.
25073         * configure: Regenerated.
25075         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25077 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25079         [BZ #12350]
25080         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25081         bit from old_res_options.
25083         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25085         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25086         value type for setfct.
25088 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25091         __gettimeofday instead of gettimeofday.
25093 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25095         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25097 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25099         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25101         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25102         info.
25104 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25107         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25108         strcpy-sse2-unaligned strncpy-sse2-unaligned
25109         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25110         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25111         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25112         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25113         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25114         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25115         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25116         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25117         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25118         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25119         (STRCPY): Support SSE2 and SSSE3 versions.
25121 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25123         [BZ #12874]
25124         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25125         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25126         kernels which artificially limit size of requests.
25128 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25131         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25132         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25133         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25134         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25135         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25136         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25137         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25138         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25139         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25140         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25141         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25142         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25143         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25144         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25146         Enable unaligned load optimization for Intel Core i3, i5 and i7
25147         processors.
25148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25149         Define.
25150         (index_Fast_Unaligned_Load): Define.
25151         (HAS_FAST_UNALIGNED_LOAD): Define.
25153 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25155         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25157 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25159         [BZ #12907]
25160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25161         until it is clear that the information is realy needed.
25162         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25164 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25168 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25171         /sys/devices/system/cpu/online if it is usable.
25173         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25174         reading the information from the /proc filesystem to once a second.
25176 2011-06-21  Andreas Jaeger  <aj@suse.de>
25178         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25179         NULL after inclusion of kernel headers.
25181 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25183         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25184         calls to internal_setent.
25186         [BZ #12885]
25187         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25188         addresses using gethostbyname4_r ignore IPv4 addresses.
25190         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25191         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25193         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25195 2011-06-20  David S. Miller  <davem@davemloft.net>
25197         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25198         inclusions.
25199         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25201         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25202         (elf_irel): Use it.
25203         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25204         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25205         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25206         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25207         * sysdeps/x86_64/dl-irel.h: Likewise.
25209         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25210         * elf/dl-sym.c: Likewise.
25212 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25214         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25215         need to dereference resplen2.
25217 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25219         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25221 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25223         * Makeconfig: Define vardbdir and inst_vardbdir.
25224         * nss/Makefile: Add rules to install db-Makefile.
25226         * nss/nss_db/db-XXX.c: Cleanup.
25228         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25229         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25230         GLIBC_PRIVATE.
25231         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25232         * nss/makedb.c: Implement -g option to specify that value strings
25233         are generated and should not be added to table iterated over for
25234         get*ent calls.
25235         * nss/nss_db/db-initgroups.c: New file.
25237         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25238         interface.
25240         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25241         (internal_getgrouplist): Adjust to name change.
25242         Update use_initgroups_entry if this is not the first call.
25243         * nss/databases.def: Add initgroups entry.
25245         * nss/makedb.c (compute_tables): Check result of multiple hash table
25246         sizes to minimize maximum chain length.
25248 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25250         * Versions.def: Add entry for libnss_db.
25251         * shlib-versions: Likewise.
25252         * nss/Makefile: Add rules to build libnss_db.
25253         * nss/Versions: Add libnss_db information.  Organize libnss_files
25254         entries better.
25255         * nss/db-Makefile: Add gshadow support.  Change rules for the new
25256         makedb progra.  Some minor improvements to generate smaller files.
25257         * nss/nss_db/nss_db.h: Move NSS database header data structures to
25258         here from...
25259         * nss/makedb.c: ...here.
25260         Improve database format to be smaller and require less memory at
25261         runtime.
25262         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
25263         db anymore.
25264         * nss/nss_db/db-netgrp.c: Likewise.
25265         * nss/nss_db/db-open.c: Likewise.
25266         * nss/nss_files/flies-XXX.x: Adjust comments.
25267         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25268         * nss/nss_files/files-grp.c: Likewise.
25269         * nss/nss_files/files-hosts.c: Likewise.
25270         * nss/nss_files/files-network.c: Likewise.
25271         * nss/nss_files/files-proto.c: Likewise.
25272         * nss/nss_files/files-pwd.c: Likewise.
25273         * nss/nss_files/files-rpc.c: Likewise.
25274         * nss/nss_files/files-service.c: Likewise.
25275         * nss/nss_files/files-sgrp.c: Likewise.
25276         * nss/nss_files/files-spwd.c: Likewise.
25277         * nss/nss_db/db-alias.c: Removed.
25278         * nss/nss_db/dummy-db.h: Removed.
25280 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25282         * nss/makedb.c: Rewritten to not use database library.
25283         * nss/Makefile: Update to build new makedb program.
25285 2011-06-14  Andreas Jaeger  <aj@suse.de>
25287         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25288         memset declaration.
25290 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25293         tmpbuf.
25295 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25297         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25298         * elf/Makefile ($(objpfx)ld.so): Likewise.
25300         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25301         Don't list ld.so twice in dependencies.
25303         * posix/bug-regex31.c: Include <stdlib.h>.
25305         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25307         * nis/nss_compat/compat-spwd.c
25308         (getspent_next_nss_netgr): Remove unused variable.
25309         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25311         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25312         nonmembers" output to use the right array.
25314         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25316         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25318         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25319         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25320         * catgets/gencat.c (read_input_file): Likewise.
25321         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25323         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25324         variable definition inside #if's controlling its use.
25326         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25328         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25330         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25332         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25333         unreachable code.
25335         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25337         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25338         * configure: Regenerated.
25340         * Makerules: Revert last change.
25341         * elf/Makefile: Likewise.
25343 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25345         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25346         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25347         (reloc-link): Likewise.
25349 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25351         * elf/Makefile: Add rules to build pldd.
25352         * elf/pldd.c: New file.
25353         * elf/pldd-xx.c: New file.
25355 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25357         * version.h: Update for 2.15 development version.
25359 2011-06-07  David S. Miller  <davem@davemloft.net>
25361         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25362         ifuncs.
25363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25364         elf_machine_lazy_rel): Likewise.
25365         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25366         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25367         elf_machine_lazy_rel): Likewise.
25368         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25369         dl_hwcap via passed in argument.
25370         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25371         Likewise.
25373 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25375         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25377 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25379         [BZ #12849]
25380         * manual/fdl-1.1.texi: New file, verbatim from:
25381         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25382         * manual/lgpl-2.1.texi: New file, verbatim from:
25383         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25384         * manual/Makefile (licenses): New variable, list those new file names.
25385         (texis): Use it.
25386         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25388         * manual/fdl.texi: File removed.
25389         * manual/lesser.texi: File removed.
25390         * manual/libc.texinfo (Copying, Documentation License):
25391         Use new @include file names, put @appendix directive before @include.
25393 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25395         [BZ #12841]
25396         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25397         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25398         (mq_open): Add __NTH.
25400 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25403         Assume Intel Core i3/i5/i7 processor if AVX is available.
25405 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25407         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25408         typo.
25410 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25412         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25413         memory.  Use alloca_account.  Fix memory leak when retrying.
25415 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25417         * version.h (RELEASE): Bump for 2.14 release.
25418         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25420         * config.make.in (RANLIB): Remove entry.
25422 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25424         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25425         (libc.pot): Work around missing support for .ksh extension in xgettext.
25427         [BZ #12684]
25428         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25429         if both request failed.
25430         (send_dg): In case of server errors clear resplen or *resplen2.
25432         [BZ #12454]
25433         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25434         when there are multiple maps.
25435         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25436         (_dl_fini): Remove test here.
25438         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25440 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25442         [BZ #12350]
25443         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25444         bit from old_res_options.
25445         (gaih_inet): Likewise.
25447         [BZ #11099]
25448         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25449         as signed.
25451         * resolv/res_init.c (res_setoptions): Make the code more compact.
25453         [BZ #11558]
25454         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25455         set RES_USEVC.
25457         [BZ #11634]
25458         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25460         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25462         [BZ #11781]
25463         * malloc/malloc.h: Declare malloc hook variables as volatile.
25465         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25466         in last patch.
25468         [BZ #11799]
25469         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25470         raise in the comment.
25471         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25472         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25473         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25475 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25477         [BZ #12811]
25478         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25479         grow the buffers more if it already has to be sufficient.
25480         (build_wcs_upper_buffer): Likewise.
25481         * posix/regexec.c (check_matching): Likewise.
25482         (clean_state_log_if_needed): Likewise.
25483         (extend_buffers): Don't enlarge buffers beyond size of the input
25484         buffer.
25485         Patches mostly by Emil Wojak <emil@wojak.eu>.
25486         * posix/bug-regex32.c: New file.
25487         * posix/Makefile (tests): Add bug-regex32.
25489         * locale/findlocale.c (_nl_find_locale): Return right away if
25490         _nl_explode_name failed.
25491         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25493         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25495         * debug/xtrace.sh: Unify messages.
25496         * malloc/memusage.sh: Likewise.
25498         [BZ #12813]
25499         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25500         time symbol from vDSO.  Substitute with vsyscall if not available.
25501         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25502         __vdso_time.
25504         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25505         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25506         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25507         Add sendmmsg and internal_sendmmsg.
25508         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25509         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25510         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25512         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25513         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25514         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25516 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25518         [BZ #12813]
25519         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25520         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25521         available.
25522         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25523         __vdso_getcpu.
25525         [BZ #12814]
25526         * iconvdata/Makefile (tests): Add bug-iconv9.
25527         * iconvdata/bug-iconv9.c: New file.
25529 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25531         [BZ #12814]
25532         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25534 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25536         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25537         (struct user_regs_struct): Change intcs field back to cs.
25539 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25541         * po/ja.po: Update from translation team.
25543 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25545         [BZ #12795]
25546         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25547         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25549 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25551         * stdlib/longlong.h: Update from GCC.
25553 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25555         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25556         parameter name.
25557         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25558         Add parameter name.
25559         (__sysconf): Pass it down.
25561 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25563         [BZ #12671]
25564         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25565         some situations.
25566         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25567         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25568         add in in __libc_use_alloca calls.  Adjust callers.
25569         (glob): Use malloc in some situations.
25571         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25572         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25573         pltexit.
25575 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25577         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25578         and CLOCK_BOOTTIME_ALARM.
25580         [BZ #12782]
25581         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25582         is returned.
25584         * string/_strerror.c (__strerror_r): Print negative errors as signed
25585         numbers.
25587         [BZ #12777]
25588         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25589         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25590         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25592         * configure.in: Fix typo in redirection and correct removal of test
25593         files in two cases.
25595         [BZ #12788]
25596         * locale/setlocale.c (new_composite_name): Fix test to check for
25597         identical name of all categories.
25599         [BZ #12792]
25600         * libio/filedoalloc.c (local_isatty): New function.
25601         (_IO_file_doallocate): Use local_isatty.
25602         * stdio-common/perror.c (perror): In case a new stream is used
25603         forward the stream error.
25604         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25605         error flag.
25607 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25609         [BZ #11869]
25610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25611         alloca.
25612         * include/alloca.h (extend_alloca_account): Define.
25614         [BZ #11857]
25615         * posix/regex.h: Fix comments with documentation of user-accessible
25616         fields after compilation and describe correct free'ing of pattern
25617         after re_compile_pattern.
25618         Patch by Reuben Thomas <rrt@sc3d.org>.
25620 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25622         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25623         and -mno-altivec to prevent the compiler from using Altivec and/or
25624         VSX instructions when the corresponding registers are not available.
25626 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25628         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25630 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25632         * libio/freopen.c (freopen): Use __dup2, not dup2.
25633         * libio/freopen64.c (freopen64): Likewise.
25635 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25637         [BZ #12775]
25638         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25639         * math/Makefile (tests): Add test-powl.
25640         (CFLAGS-test-powl.c): Define.
25641         * math/test-powl.c: New file.
25643 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25645         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25647 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25649         [BZ #11837]
25650         * iconvdata/gb18030.c: Update to GB18020-2005.
25652 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25654         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25655         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25656         Patch by Aharon Robbins <arnold@skeeve.com>.
25658         [BZ #11892]
25659         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25660         on the stack.
25662         [BZ #11895]
25663         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25664         through underflows.
25666         [BZ #12766]
25667         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25668         point to strings before performing equality test for error_one_per_line
25669         mode.
25671         [BZ #11697]
25672         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25674         [BZ #11820]
25675         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25676         (struct user_fpregs_struct): Avoid __uint*_t types.
25678         [BZ #6420]
25679         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25680         symbol info.  Use it instead of calling _dl_addr locally.
25681         (lock_and_info): New function.
25682         (tr_freehook): Call lock_and_info and pass symbol info as additional
25683         parameter to tr_where.
25684         (tr_mallochook): Likewise.
25685         (tr_reallochook): Likewise.
25686         (tr_memalignhook): Likewise.
25688         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25689         used and couldn't be at all thread-safe.
25691 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25693         * libio/freopen.c (freopen): Don't close old file descriptor
25694         before the new one is opened.  Instead dup the new file descriptor
25695         to the old one after the new stream is created.
25696         * libio/freopen64.c (freopen64): Likewise.
25697         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25698         * libio/fileops.c (_IO_new_file_close_it): Handle new
25699         _IO_FLAGS2_NOCLOSE flag.
25700         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25701         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25702         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25703         _IO_FLAGS2_NOCLOSE flag.
25704         * include/unistd.h: Add hidden_proto for dup3.
25705         Define __have_dup3.
25706         * io/dup3.c: Define hidden symbol.
25707         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25709         [BZ #7101]
25710         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25711         when an incomplete long option is used.
25712         * posix/tst-getopt_long1.c: New file.
25713         * posix/Makefile (tests): Add tst-getopt_long1.
25715         [BZ #10138]
25716         * scripts/config.guess: Update from autoconf-2.68.
25717         * scripts/config.sub: Likewise.
25719         [BZ #10157]
25720         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25721         tests into ...
25722         (has_cpuclock): ...this.  New function.
25723         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25724         macro here based on has_cpuclock code.
25726         [BZ #10149]
25727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25728         First byte (not low byte) is now always NUL.
25729         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25731         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25732         Use non-cancelable interfaces.
25734         [BZ #9809]
25735         * locale/iso-639.def: Add entry for Sorani.
25737         [BZ #11901]
25738         * include/stdlib.h: Move include protection to the right place.
25739         Define abort_msg_s.  Declare __abort_msg with it.
25740         * stdlib/abort.c (__abort_msg): Adjust type.
25741         * assert/assert.c (__assert_fail_base): New function.  Majority
25742         of code from __assert_fail.  Allocate memory for __abort_msg with
25743         mmap.
25744         (__assert_fail): Now call __assert_fail_base.
25745         * assert/assert-perr.c: Remove bulk of implementation.  Use
25746         __assert_fail_base.
25747         * include/assert.hL Declare __assert_fail_base.
25748         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25749         mmap.
25750         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25752 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25754         [BZ #11952]
25755         [BZ #12453]
25756         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25757         until all modules are registered in the DTV.
25758         * elf/Makefile: Add rules to build and run tst-tls19.
25759         * elf/tst-tls19.c: New file.
25760         * elf/tst-tls19mod1.c: New file.
25761         * elf/tst-tls19mod2.c: New file.
25762         * elf/tst-tls19mod3.c: New file.
25763         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25765         [BZ #12083]
25766         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25767         correctly.
25769         [BZ #12601]
25770         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25771         two-byte sequence errors.
25772         * iconvdata/Makefile (tests): Add bug-iconv8.
25773         * iconvdata/bug-iconv8.c: New file.
25775         [BZ #12626]
25776         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25777         buf2 definition.
25779         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25781         [BZ #12432]
25782         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25783         (dummy_getcfa): New function.
25784         (init): Get _Unwind_GetCFA address, use dummy if not found.
25785         (backtrace_helper): In recursion check, also check whether CFA changes.
25786         (__backtrace): Completely initialize arg.
25788         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25789         storing incomplete byte sequence in state object.  Avoid testing for
25790         guaranteed too small input if we know there is enough data available.
25792 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25794         * Makeconfig (+link-pie): Indent.
25795         * Rules (binaries-pie): Define if $(have-fpie) and
25796         $(build-shared).
25797         (binaries-shared): Also filter out $(binaries-pie).
25798         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25799         * nscd/Makefile (others-pie): Add nscd.
25800         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25801         ($(objpfx)nscd): Remove command override.
25802         * login/Makefile (others-pie): Add pt_chown.
25803         ($(objpfx)pt_chown): Remove command override.
25804         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25805         remove command overrides.
25807 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25809         * libio/tst_putwc.c: Fix error messages.
25811         [BZ #12724]
25812         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25813         currently writing and seek to current position when not.
25814         * libio/Makefile (tests): Add bug-fclose1.
25815         * libio/bug-fclose1.c: New file.
25817 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25819         [BZ #12511]
25820         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25821         don't set DF_1_NODELETE here.
25822         (do_lookup_x): When entering new entry test for copy relocation
25823         and if necessary set DF_1_NODELETE flag.
25824         * elf/tst-unique4.cc: New file.
25825         * elf/tst-unique4.h: New file.
25826         * elf/tst-unique4lib.cc: New file.
25827         * elf/Makefile: Add rules to build and run tst-unique4.
25828         Patch by Piotr Bury <pbury@goahead.com>.
25830 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25832         [BZ #12052]
25833         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25835         [BZ #12625]
25836         * misc/mntent_r.c (addmntent): Flush the stream after the output
25838         [BZ #12393]
25839         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25840         (is_trusted_path_normalize): Skip initial colon.  Append slash
25841         to empty buffer.  Duplicate is_trusted_path code but allow
25842         constructed patch to be prefix.
25843         (is_dst): Allow $ORIGIN followed by /.
25844         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25845         Correct testing of result of is_trusted_path_normalize
25846         (decompose_rpath): Fix warning.
25848 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25850         [BZ #11257]
25851         * grp/initgroups.c (internal_getgrouplist): When we found the service
25852         list through the initgroups entry in nsswitch.conf do not always
25853         continue on a successful lookup.  Don't always use the
25854         __nss_group_database value if it is set.
25855         * nss/nsswitch.conf (initgroups): Change action for successful db
25856         lookup to continue for compatibility.
25858 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25860         [BZ #11532]
25861         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25862         and CP774 modules.
25863         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25864         and CP774 modules.
25865         * iconvdata/tst-tables.sh: Likewise.
25866         * iconvdata/cp770.c: New file.
25867         * iconvdata/cp771.c: New file.
25868         * iconvdata/cp772.c: New file.
25869         * iconvdata/cp773.c: New file.
25870         * iconvdata/cp774.c: New file.
25871         * iconvdata/testdata/CP770: New file.
25872         * iconvdata/testdata/CP770..UTF8: New file.
25873         * iconvdata/testdata/CP771: New file.
25874         * iconvdata/testdata/CP771..UTF8: New file.
25875         * iconvdata/testdata/CP772: New file.
25876         * iconvdata/testdata/CP772..UTF8: New file.
25877         * iconvdata/testdata/CP773: New file.
25878         * iconvdata/testdata/CP773..UTF8: New file.
25879         * iconvdata/testdata/CP774: New file.
25880         * iconvdata/testdata/CP774..UTF8: New file.
25882         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25883         END CHARMAP line.
25884         * iconvdata/gen-8bit-gap.sh: Likewise.
25885         * iconvdata/gen-8bit.sh: Likewise.
25887         * locale/iso-639.def: Add ary entry.
25889         [BZ #11258]
25890         * locale/C-translit.h.in: Add U20A1 transliteration.
25892         [BZ #12178]
25893         * locale/iso-639.def: Add wae entry.
25894         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25896         [BZ #12545]
25897         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25898         for n.
25900         [BZ #12711]
25901         * locale/C-translit.h.in: Add entry for U20B9.
25902         Patch by pravin.d.s@gmail.com.
25904 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25906         [BZ #12713]
25907         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25908         ENAMETOOLONG use generic getcwd.
25909         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25910         in rtld.  Use *stat64.
25911         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25912         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25913         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25914         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25915         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25916         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25917         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25918         __fstatat64 macros.
25919         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25920         * dirent/rewinddir.c: Add libc_hidden_def.
25921         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25922         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25924         * include/dirent.h (__alloc_dir): Add flags parameter.
25925         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25926         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25927         __alloc_dir.
25928         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25929         from fdopendir if O_CLOEXEC is already set.
25931 2011-03-15  Alan Modra  <amodra@gmail.com>
25933         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25934         l_tls_firstbyte_offset non-zero.  Save padding offset in
25935         l_tls_firstbyte_offset for later use.
25936         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25937         freeing static tls block.
25939 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25941         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25942         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25943         being defined by the kernel headers.
25945 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25947         [BZ #12734]
25948         * resolv/resolv.h: Define RES_NOTLDQUERY.
25949         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25950         no-tld-query and set RES_NOTLDQUERY.
25951         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25952         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25953         modern BIND to search name as TLD unless forbidden.
25955 2011-05-07  Petr Baudis  <pasky@suse.cz>
25956             Ulrich Drepper  <drepper@gmail.com>
25958         [BZ #12393]
25959         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25960         (is_trusted_path): ...to here.
25961         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25962         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25963         using is_trusted_path_normalize() in setuid scripts.
25965 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25967         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25968         __BEGIN/__END_DECLS.
25970 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25973         NSS_STATUS_NOTFOUND if no record was found.
25975 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25977         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25978         (headers-not-in-tirpc): Remove rpc/netdb.h
25979         * resolv/netdb.h: Revert last change.
25981 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25983         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25984         circular dependency between libgcc.a and libc.a.
25986 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25988         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25989         * nis/Makefile: Don't install rpcsvc/*.
25990         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25991         instead of <rpc/types.h>.
25992         (MAXHOSTNAMELEN): Define.
25994 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25996         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25998 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26000         [BZ #12714]
26001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26002         gethostbyname4_r when IPv6 results are possible.
26004 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26006         [BZ #12723]
26007         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26008         _PC_PIPE_BUF handling.
26010 2011-04-30  Bruno Haible  <bruno@clisp.org>
26012         [BZ #12717]
26013         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26014         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26015         to 'int'.
26016         * inet/getnameinfo.c (getnameinfo): Likewise.
26018 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26020         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26021         to groups setting in database lookup.
26022         * nss/nsswitch.conf: Add initgroups entry.
26024 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26026         [BZ #12685]
26027         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26028         mode string.
26029         Patch by Eric Blake <eblake@redhat.com>.
26031 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26033         * sunrpc/Makefile (need-export-routines): Add svc_run.
26034         (routines): Remove svc_run.
26035         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26036         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26037         * sunrpc/svc_run.c (svc_run): Likewise.
26038         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26040 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26043         problem in reallocation in last patch.
26045 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26047         * sunrpc/Makefile: Move inclusion of Rules.
26049 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26051         * nss/nss_files/files-initgroups.c: New file.
26052         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26053         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26054         _nss_files_initgroups_dyn.
26056 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26058         * elf/elf.h (R_ARM_IRELATIVE): Define.
26060 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26062         * po/ru.po: Update from translation team.
26064 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26066         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26067         dependencies.
26069 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26071         [BZ #12653]
26072         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26073         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26074         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26076         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26078 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26080         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26081         differing bytes.
26082         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26083         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26084         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26086 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26088         [BZ #12420]
26089         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26090         storing it.
26091         * stdlib/bug-getcontext.c: New file.
26092         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26094 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26096         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26097         instructions into .machine "z9-109".
26098         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26099         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26101 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26103         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26104         between environment variables and auxiliary vector.
26106 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26108         * Makefile: Add rules to build linkobj/libc.so.
26109         * include/libc-symbols.h: Define libc_hidden_nolink.
26110         * include/rpc/auth.h: Mark functions which are to be hidden.
26111         * include/rpc/auth_des.h: Likewise.
26112         * include/rpc/auth_unix.h: Likewise.
26113         * include/rpc/clnt.h: Likewise.
26114         * include/rpc/des_crypt.h: Likewise.
26115         * include/rpc/key_prot.h: Likewise.
26116         * include/rpc/pmap_clnt.h: Likewise.
26117         * include/rpc/pmap_prot.h: Likewise.
26118         * include/rpc/pmap_rmt.h: Likewise.
26119         * include/rpc/rpc_msg.h: Likewise.
26120         * include/rpc/svc.h: Likewise.
26121         * include/rpc/svc_auth.h: Likewise.
26122         * include/rpc/xdr.h: Likewise.
26123         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26124         * nss/Makefile: Likewise.
26125         * sunrpc/Makefile: Don't install headers.  Build library with normal
26126         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26127         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26128         for the compat linking library.  Remove use of INTDEF/INTUSE.
26129         * sunrpc/auth_none.c: Likewise.
26130         * sunrpc/auth_unix.c: Likewise.
26131         * sunrpc/authdes_prot.c: Likewise.
26132         * sunrpc/authuxprot.c: Likewise.
26133         * sunrpc/clnt_gen.c: Likewise.
26134         * sunrpc/clnt_perr.c: Likewise.
26135         * sunrpc/clnt_raw.c: Likewise.
26136         * sunrpc/clnt_simp.c: Likewise.
26137         * sunrpc/clnt_tcp.c: Likewise.
26138         * sunrpc/clnt_udp.c: Likewise.
26139         * sunrpc/clnt_unix.c: Likewise.
26140         * sunrpc/des_crypt.c: Likewise.
26141         * sunrpc/des_soft.c: Likewise.
26142         * sunrpc/get_myaddr.c: Likewise.
26143         * sunrpc/key_call.c: Likewise.
26144         * sunrpc/key_prot.c: Likewise.
26145         * sunrpc/netname.c: Likewise.
26146         * sunrpc/pm_getmaps.c: Likewise.
26147         * sunrpc/pm_getport.c: Likewise.
26148         * sunrpc/pmap_clnt.c: Likewise.
26149         * sunrpc/pmap_prot.c: Likewise.
26150         * sunrpc/pmap_prot2.c: Likewise.
26151         * sunrpc/pmap_rmt.c: Likewise.
26152         * sunrpc/publickey.c: Likewise.
26153         * sunrpc/rpc_cmsg.c: Likewise.
26154         * sunrpc/rpc_common.c: Likewise.
26155         * sunrpc/rpc_dtable.c: Likewise.
26156         * sunrpc/rpc_prot.c: Likewise.
26157         * sunrpc/rpc_thread.c: Likewise.
26158         * sunrpc/rtime.c: Likewise.
26159         * sunrpc/svc.c: Likewise.
26160         * sunrpc/svc_auth.c: Likewise.
26161         * sunrpc/svc_authux.c: Likewise.
26162         * sunrpc/svc_raw.c: Likewise.
26163         * sunrpc/svc_run.c: Likewise.
26164         * sunrpc/svc_simple.c: Likewise.
26165         * sunrpc/svc_tcp.c: Likewise.
26166         * sunrpc/svc_udp.c: Likewise.
26167         * sunrpc/svc_unix.c: Likewise.
26168         * sunrpc/svcauth_des.c: Likewise.
26169         * sunrpc/xcrypt.c: Likewise.
26170         * sunrpc/xdr.c: Likewise.
26171         * sunrpc/xdr_array.c: Likewise.
26172         * sunrpc/xdr_float.c: Likewise.
26173         * sunrpc/xdr_intXX_t.c: Likewise.
26174         * sunrpc/xdr_mem.c: Likewise.
26175         * sunrpc/xdr_rec.c: Likewise.
26176         * sunrpc/xdr_ref.c: Likewise.
26177         * sunrpc/xdr_sizeof.c: Likewise.
26178         * sunrpc/xdr_stdio.c: Likewise.
26180 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26182         [BZ #12650]
26183         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26184         * sysdeps/ia64/dl-tls.h: Likewise.
26185         * sysdeps/powerpc/dl-tls.h: Likewise.
26186         * sysdeps/s390/dl-tls.h: Likewise.
26187         * sysdeps/sh/dl-tls.h: Likewise.
26188         * sysdeps/sparc/dl-tls.h: Likewise.
26189         * sysdeps/x86_64/dl-tls.h: Likewise.
26190         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26192 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26194         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26195         rpath element also skip the following colon.
26196         (expand_dynamic_string_token): Add is_path parameter and pass
26197         down to DL_DST_REQUIRED and _dl_dst_substitute.
26198         (decompose_rpath): Call expand_dynamic_string_token with
26199         non-zero is_path.  Ignore empty rpaths.
26200         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26201         with zero is_path.
26203 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26206         Make cancelable.
26208 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26210         [BZ #12655]
26211         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26212         Patch by Filipe David Manana <fdmanana@apache.org>.
26214 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26216         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26217         Maintain aligned stack.
26218         (CHECK_RSP): Remove unused macro.
26220 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26222         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26223         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26225 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26227         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26229         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26231 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26233         [BZ #12518]
26234         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26235         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26236         * sysdeps/x86_64/memmove.c: New file.
26237         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26238         (memcpy): Renamed to ...
26239         (__new_memcpy): This.
26240         (memcpy): Provide GLIBC_2_14 memcpy.
26241         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26242         (memcpy): Provide GLIBC_2_2_5 memcpy.
26244 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26246         [BZ #12631]
26247         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26249 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26251         * misc/syncfs.c: New file.
26252         * misc/Makefile (routines): Add syncfs.
26253         * posix/unistd.h: Declare syncfs.
26254         * sysdeps/unix/syscalls.list: Add syncfs.
26256 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26258         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26259         open_by_handle_at.
26260         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26261         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26263         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26264         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26265         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26266         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26268 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26270         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26271         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26272         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26274         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26278         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26279         sync_file_range.c with -fexceptions.
26280         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26281         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26282         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26283         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26284         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26285         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26287         sync_file_range as cancellation point
26288         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26289         now a wrapper around __call_sync_file_range with cancellation handling.
26290         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26291         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26292         function name to __call_sync_file_range.
26293         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26294         Add call_sync_file_range.
26296 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26299         bits/timex.h.
26301 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26303         * iconv/iconv.h: Fix typo in comment.
26304         * io/fcntl.h: Likewise.
26305         * libio/stdio.h: Likewise.
26306         * posix/spawn.h: Likewise.
26307         * posix/unistd.h: Likewise.
26308         * stdlib/stdlib.h: Likewise.
26309         * time/time.h: Likewise.
26310         * wcsmbs/wchar.h: Likewise.
26312         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26313         open_by_handle): Add.
26314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26315         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26316         Augment a few comments.
26317         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26319         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26322         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26323         open_by_handle.
26325         * io/fcntl.h (AT_EMPTY_PATH): Define.
26327 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26329         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26330         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26331         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26332         to...
26333         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26334         * Versions.def: Add GLIBC_2.14.
26335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26336         Export.
26338 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26340         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26341         round counter.
26342         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26344 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26346         [BZ #12597]
26347         * string/test-strncmp.c (do_page_test): New function.
26348         (check2): Likewise.
26349         (test_main): Call check2.
26350         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26352 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26354         [BZ #12587]
26355         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26356         Handle cache information in CPU leaf 4.
26357         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26359 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26361         [BZ #12583]
26362         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26363         character representation.
26364         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26366 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26368         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26369         END(__isnan) to END(__isnanf) to match function entry point/label
26370         EALIGN(__isnanf,...).
26372 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26374         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26376 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26378         [BZ #12510]
26379         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26380         copy from the symbol referenced in the relocation to initialize the
26381         used variable.
26382         Patch by Piotr Bury <pbury@goahead.com>.
26383         * elf/Makefile: Add rules to build and tst-unique3.
26384         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26385         * elf/tst-unique3.cc: New file.
26386         * elf/tst-unique3.h: New file.
26387         * elf/tst-unique3lib.cc: New file.
26388         * elf/tst-unique3lib2.cc: New file.
26390         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26392 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26394         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26395         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26396         to _start.
26398 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26400         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26401         to-be-loaded object along a path to loader is ld.so.
26403 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26404             Ulrich Drepper  <drepper@gmail.com>
26406         * sysdeps/x86_64/memset.S: After aligning destination, code
26407         branches to different locations depending on the value of
26408         misalignment, when multiarch is enabled. Fix this.
26410 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26412         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26413         Set _x86_64_preferred_memory_instruction for AMD processsors.
26414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26415         Set bit_Prefer_SSE_for_memop for AMD processors.
26417 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26419         * libio/fmemopen.c (fmemopen): Optimize a bit.
26421 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26423         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26425 2011-03-03  Roland McGrath  <roland@redhat.com>
26427         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26429 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26431         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26432         __bzero_ultra1 instead of __memset_ultra1.
26434 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26435             Ulrich Drepper  <drepper@gmail.com>
26437         [BZ #12509]
26438         * include/link.h (struct link_map): Add l_orig_initfini.
26439         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26440         returning unsuccessfully.
26441         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26442         close of a file loaded at startup, restore the original l_initfini
26443         list.
26444         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26445         list, store the pointer.
26446         * elf/Makefile ($(objpfx)noload-mem): New rule.
26447         (noload-ENV): Define.
26448         (tests): Add $(objpfx)noload-mem.
26449         * elf/noload.c: Include <memcheck.h>.
26450         (main): Call mtrace.  Close all opened handles.
26452 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26454         [BZ #12454]
26455         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26456         dependencies are missing.
26458 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26460         Fix __if_freereq crash: Unlike the generic version which uses free,
26461         Hurd needs munmap.
26462         * sysdeps/mach/hurd/ifreq.h: New file.
26464 2011-01-27  Petr Baudis  <pasky@suse.cz>
26465             Ulrich Drepper  <drepper@gmail.com>
26467         [BZ 12445]#
26468         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26469         to extend_alloca().
26470         * stdio-common/bug23.c: New file.
26471         * stdio-common/Makefile (tests): Add bug23.
26473 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26474             Ulrich Drepper  <drepper@gmail.com>
26476         [BZ #12489]
26477         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26478         before performing relro protection.  At old place add assertion
26479         to make sure nothing changed.
26481 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26482             Glauber de Oliveira Costa  <glommer@gmail.com>
26484         * elf/elf.h: Add new ARM TLS relocs.
26486 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26489         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26490         cast from r3.
26491         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26492         'tests' variable.
26493         * sysdeps/wordsize-64/tst-writev.c: New file.
26495 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26497         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26498         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26499         insns in _dl_start to prevent a TOC reference before relocs are
26500         resolved.
26502 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26504         [BZ #12469]
26505         * Makeconfig: Remove RANLIB definition.
26506         * Makerules: Don't use RANLIB.
26507         * aclocal.m4: Remove ranlib test.
26508         * configure.in: No need to check for ranlib.
26509         * elf/rtld-Rules: Don't use RANLIB.
26511 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26513         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26514         protection macro.
26515         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26516         inclusion protection macro.
26518         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26519         SIGRTMIN and SIGRTMAX and print information in that case only when
26520         SIGRTMIN is defined.
26522 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26524         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26525         arginfo fn returning -1.
26527         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26528         and thousands string is zero terminated.
26530 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26533         sysdeps/unix/sysv/linux/bits/socket.h.
26535 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26537         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26538         (__CPU_COUNT): Remove old macros.
26539         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26540         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26541         (__CPU_ALLOC, __CPU_FREE): Add macros.
26542         (__sched_cpualloc, __sched_cpufree): Add declarations.
26544 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26546         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26547         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26548         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26549         (readdhstai): Return value of addhstaiX call.
26550         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26551         (addgrbyX): Return value returned by cache_addgr.
26552         (readdgrbyname): Return value returned by addgrbyX.
26553         (readdgrbygid): Likewise.
26554         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26555         (addpwbyX): Return value returned by cache_addpw.
26556         (readdpwbyname): Return value returned by addhstbyX.
26557         (readdpwbyuid): Likewise.
26558         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26559         (addservbyX): Return value returned by cache_addserv.
26560         (readdservbyname): Return value returned by addservbyX:
26561         (readdservbyport): Likewise.
26562         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26563         (addhstbyX): Return value returned by cache_addhst.
26564         (readdhstbyname): Return value returned by addhstbyX.
26565         (readdhstbyaddr): Likewise.
26566         (readdhstbynamev6): Likewise.
26567         (readdhstbyaddrv6): Likewise.
26568         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26569         (readdinitgroups): Return value returned by addinitgroupsX.
26570         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26571         (prune_cache): Keep track of timeout value of re-added entries.
26572         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26573         * nscd/nscd.h: Adjust prototypes of readd* functions.
26575 2011-02-04  Roland McGrath  <roland@redhat.com>
26577         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26578         (nis_stats): Likewise.
26579         * nis/nis_modify.c (nis_modify): Likewise.
26580         * nis/nis_remove.c (nis_remove): Likewise.
26581         * nis/nis_add.c (nis_add): Likewise.
26583         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26585         * posix/fnmatch_loop.c: Add some consts.
26587         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26589 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26591         [BZ #12460]
26592         * config.make.in (config-cflags-novzeroupper): Define.
26593         * configure.in: Substitute libc_cv_cc_novzeroupper.
26594         * elf/Makefile (AVX-CFLAGS): Define.
26595         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26596         (CFLAGS-tst-auditmod4a.c): Likewise.
26597         (CFLAGS-tst-auditmod4b.c): Likewise.
26598         (CFLAGS-tst-auditmod6b.c): Likewise.
26599         (CFLAGS-tst-auditmod6c.c): Likewise.
26600         (CFLAGS-tst-auditmod7b.c): Likewise.
26601         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26603 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26605         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26606         function to the callback.
26607         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26609 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26611         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26612         of errno.
26614 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26616         [BZ #11724]
26617         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26618         of constructors.
26619         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26620         of destructors.
26621         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26623         [BZ #11724]
26624         * elf/Makefile: Add rules to build and run new test.
26625         * elf/tst-initorder.c: New file.
26626         * elf/tst-initorder.exp: New file.
26627         * elf/tst-initordera1.c: New file.
26628         * elf/tst-initordera2.c: New file.
26629         * elf/tst-initordera3.c: New file.
26630         * elf/tst-initordera4.c: New file.
26631         * elf/tst-initorderb1.c: New file.
26632         * elf/tst-initorderb2.c: New file.
26633         * elf/tst-order-a1.c: New file.
26634         * elf/tst-order-a2.c: New file.
26635         * elf/tst-order-a3.c: New file.
26636         * elf/tst-order-a4.c: New file.
26637         * elf/tst-order-b1.c: New file.
26638         * elf/tst-order-b2.c: New file.
26639         * elf/tst-order-main.c: New file.
26640         New test case by George Gensure <werkt0@gmail.com>.
26642 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26645         decoding ACE if AI_CANONIDN.
26647 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26649         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26651 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26653         * version.h (RELEASE): Bump for 2.13 release.
26654         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26656         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26658         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26659         MADV_NOHUGEPAGE.
26660         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26661         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26662         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26663         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26664         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26665         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26667         * posix/getconf.c: Update copyright year.
26668         * catgets/gencat.c: Likewise.
26669         * csu/version.c: Likewise.
26670         * debug/catchsegv.sh: Likewise.
26671         * debug/xtrace.sh: Likewise.
26672         * elf/ldconfig.c: Likewise.
26673         * elf/ldd.bash.in: Likewise.
26674         * elf/sprof.c (print_version): Likewise.
26675         * iconv/iconv_prog.c: Likewise.
26676         * iconv/iconvconfig.c: Likewise.
26677         * locale/programs/locale.c: Likewise.
26678         * locale/programs/localedef.c: Likewise.
26679         * malloc/memusage.sh: Likewise.
26680         * malloc/mtrace.pl: Likewise.
26681         * nscd/nscd.c (print_version): Likewise.
26682         * nss/getent.c: Likewise.
26684         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26685         PF_CAIF, and PF_ALG.
26686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26688 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26690         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26691         (modules-names): Use them.
26692         (ifunc-test-modules, ifunc-pie-tests): Define.
26693         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26694         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26695         (test-extras): Likewise.
26696         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26697         $(compile-command.c).
26698         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26699         (all-built-dso): Define.
26700         (check-textrel.out, check-execstack.out): Depend on it.
26702         * configure.in: Don't override --enable-multi-arch.
26704 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26706         [BZ #6812]
26707         * nscd/hstcache.c (tryagain): Define.
26708         (cache_addhst): Return tryagain not notfound for temporary errors.
26709         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26710         failed.
26712 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26714         [BZ #10563]
26715         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26716         to make the syscall.
26717         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26719         [BZ #12378]
26720         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26721         and fall back to matching as normal character if the string ends before
26722         the matching ']' is found.  This is what POSIX requires.
26723         * posix/testfnm.c: Adjust test result.
26724         * posix/globtest.sh: Adjust test result.  Add new test.
26725         * posix/tst-fnmatch.input: Likewise.
26726         * posix/tst-fnmatch2.c: Add new test.
26728 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26730         * elf/Makefile (check-execstack): Revert last change.  Depend on
26731         check-execstack.h.
26732         (check-execstack.h): New target.
26733         (generated): Add check-execstack.h.
26734         * elf/check-execstack.c: Include "check-execstack.h".
26735         (main): Revert last change.
26736         (handle_file): Return zero if GNU_STACK is absent and
26737         DEFAULT_STACK_PERMS doesn't include PF_X.
26739 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26741         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26742         in child fails because the descriptor is already closed.
26743         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26744         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26745         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26747         [BZ #12397]
26748         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26749         syscall.
26751         [BZ #10484]
26752         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26753         temporary buffer used to handle multi lookups locally.
26754         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26756 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26758         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26759         loader is ld.so.
26761 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26763         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26764         alignment for SSE2.
26766 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26768         [BZ #12394]
26769         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26770         characters.  When rounding increased number of integer digits recompute
26771         number of groups.
26772         * stdio-common/tst-grouping.c: New file.
26773         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26775 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26777         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26778         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26780         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26781         void.
26782         * bits/select.h: Likewise.
26784 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26786         * po/ja.po: Update from translation team.
26788 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26790         [BZ #11155]
26791         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26792         implementation just like for lxstat, fxstatat, et al.
26794 2010-12-27  Jim Meyering  <meyering@redhat.com>
26796         [BZ #12348]
26797         * posix/regexec.c (build_trtable): Return failure indication upon
26798         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26800 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26802         [BZ #12201]
26803         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26804         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26805         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26806         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26808         [BZ #12207]
26809         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26811         [BZ #12204]
26812         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26813         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26815 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26817         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26818         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26819         script has SORT_BY_INIT_PRIORITY.
26820         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26821         NO_CTORS_DTORS_SECTIONS is defined.
26822         * elf/soinit.c: Likewise.
26823         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26824         NO_CTORS_DTORS_SECTIONS is defined.
26825         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26826         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26827         * sysdeps/sh/init-first.c: Likewise.
26828         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26830 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26832         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26833         always use the slow path.
26835 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26837         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26838         similar rule which adds the sysdep directories to the header search in
26839         order to pick up the correct platform stackinfo.h.
26840         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26841         perform test if it is, otherwise return successfully without testing.
26842         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26843         DEFAULT_STACK_PERMS define in stackinfo.h.
26844         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26845         defined in stackinfo.h.
26846         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26847         DEFAULT_STACK_PERMS defined in stackinfo.h.
26848         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26849         * sysdeps/ia64/stackinfo.h: Likewise.
26850         * sysdeps/s390/stackinfo.h: Likewise.
26851         * sysdeps/sh/stackinfo.h: Likewise.
26852         * sysdeps/sparc/stackinfo.h: Likewise.
26853         * sysdeps/x86_64/stackinfo.h: Likewise.
26854         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26855         PF_X for powerpc64.  Retain PF_X for powerpc32.
26857 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26859         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26860         accurately.
26861         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26862         GETDENTS_64BIT_ALIGNED.
26864 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26866         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26868 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26870         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26871         _GNU_SOURCE.
26873         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26874         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26875         Remove __restrict.
26876         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26877         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26879 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26881         [BZ #11655]
26882         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26883         are initialized.
26885 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26887         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26889 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26891         * po/it.po: Update from translation team.
26893 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26895         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26896         unused codes.
26898 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26900         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26902 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26904         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26905         specially.
26906         (gaih_getanswer_slice): Likewise.
26908 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26912 2010-05-31  Petr Baudis  <pasky@suse.cz>
26914         [BZ #11149]
26915         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26916         silently even in the chroot mode.
26918 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26920         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26921         last patch a bit.  Pretty printing
26923 2010-05-31  Petr Baudis <pasky@suse.cz>
26925         [BZ #10085]
26926         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26927         initialization of skip_initgroups_dyn.
26929 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26931         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26932         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26934 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26936         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26938 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26940         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26941         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26942         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26943         ($(objpfx)tst-fnmatch-mem): New rule.
26944         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26945         * posix/tst-fnmatch.c (main): Call mtrace.
26947 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26950         Support Intel processor model 6 and model 0x2c.
26952 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26954         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26955           signed comparison.
26957 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26959         [BZ #12205]
26960         * string/test-strncasecmp.c (check_result): New function.
26961         (do_one_test): Use it.
26962         (check1): New function.
26963         (test_main): Use it.
26964         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26965         Support strcasecmp and strncasecmp.
26967 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26969         [BZ #12194]
26970         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26971         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26973 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26975         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26976         IFUNC support.
26977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26978         memset-x86-64.
26979         * sysdeps/x86_64/multiarch/bzero.S: New file.
26980         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26981         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26982         * sysdeps/x86_64/multiarch/memset.S: New file.
26983         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26985         Set bit_Prefer_SSE_for_memop for Intel processors.
26986         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26987         Define.
26988         (index_Prefer_SSE_for_memop): Define.
26989         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26991 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26993         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26994         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26996 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26998         [BZ #12191]
26999         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27000         (__x86_64_raw_data_cache_size_half): Likewise.
27001         (__x86_64_raw_shared_cache_size): Likewise.
27002         (__x86_64_raw_shared_cache_size_half): Likewise.
27004         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27005         (__x86_64_raw_data_cache_size_half): Likewise.
27006         (__x86_64_raw_shared_cache_size): Likewise.
27007         (__x86_64_raw_shared_cache_size_half): Likewise.
27008         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27009         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27010         and __x86_64_raw_shared_cache_size_half.  Round
27011         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27012         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27013         to multiple of 256 bytes.
27015 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27017         [BZ #12167]
27018         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27019         of inacessible symlinks.  Verify result of symlink before returning it.
27020         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27021         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27023 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27025         * math/math.h (isinf): Fix typo in comment.
27027 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27029         * po/da.po: Update from translation team.
27031 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27033         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27034         is added to the list.
27036 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27037             Ulrich Drepper  <drepper@gmail.com>
27039         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27040         the global list here.  Move code to...
27041         (_dl_add_to_namespace_list): ...here.  New function.
27042         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27043         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27044         * elf/dl-load.c (lose): Don't remove the element from the list.
27045         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27046         (_dl_map_object): Likewise.
27048 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27050         [BZ #12159]
27051         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27052         into all bytes of SSE register.
27053         Patch by Richard Li <richardpku@gmail.com>.
27055 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27057         [BZ #12140]
27058         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27059         perturbing.
27061 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27063         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27064         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27065         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27066         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27068         submachine.
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27071 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27073         * include/dlfcn.h (__RTLD_SECURE): Define.
27074         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27075         mode & __RTLD_SECURE instead.
27076         (open_path): Rename preloaded parameter to secure.
27077         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27078         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27079         * elf/dl-deps.c (openaux): Likewise.
27080         * elf/rtld.c (struct map_args): Remove is_preloaded.
27081         (map_doit): Don't use it.
27082         (dl_main): Likewise.
27083         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27084         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27086 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27088         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27089         (sysd-rules-targets): Remove duplicates.
27090         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27091         rtld-%.$o dependency.
27093 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27095         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27096         _dl_map_object do it.
27098 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27100         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27101         fast fma builtins, define the macros in the C99 standard.
27102         (FP_FAST_FMAF): Likewise.
27103         (FP_FAST_FMAL): Likewise.
27104         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27106         * bits/mathdef.h: Update copyright year.
27107         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27109 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27111         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27112         builtins, define the macros in the C99 standard.
27113         (FP_FAST_FMAF): Likewise.
27114         (FP_FAST_FMAL): Likewise.
27115         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27116         multiply/add.
27117         (FP_FAST_FMAF): Likewise.
27119 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27121         [BZ #3268]
27122         * math/libm-test.inc (fma_test): Some new testcases.
27123         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27124         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27125         y and infinite z.  Do multiplication by C already in long double.
27126         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27128         y and infinite z.  Do bitwise or of inexact bit into u.d.
27129         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27130         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27131         * sysdeps/i386/fpu/s_fma.S: Removed.
27132         * sysdeps/i386/fpu/s_fmal.S: Removed.
27134 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27136         [BZ #3268]
27137         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27139         computation is not scheduled after fetestexcept.  Fix value
27140         of minimum denormal long double.
27142 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27144         [BZ #3268]
27145         * math/libm-test.inc (fma_test): Add some more tests.
27146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27147         correctly.
27149 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27151         * scripts/data/localplt-s390-linux-gnu.data: New file.
27152         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27154 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27156         [BZ #3268]
27157         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27158         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27159         instead of dbl-64.
27160         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27161         inlines.
27162         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27164         if one of x and y is very large and the other is subnormal.
27165         * sysdeps/s390/fpu/s_fmaf.c: New file.
27166         * sysdeps/s390/fpu/s_fma.c: New file.
27167         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27168         * sysdeps/powerpc/fpu/s_fma.S: New file.
27169         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27170         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27171         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27173 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27175         [BZ #3268]
27176         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27177         fma tests.
27178         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27179         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27180         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27181         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27182         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27183         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27184         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27186 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27188         [BZ #12078]
27189         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27190         * posix/bug-regex31.input: Add test case.
27192 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27194         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27195         * posix/bug-regex31.input: New file.
27197         [BZ #12078]
27198         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27199         (parse_sub_exp): Fix last change, use postorder.
27201         * posix/bug-regex31.c: New file.
27202         * posix/Makefile: Add rules to build and run bug-regex31.
27204         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27206         [BZ #12078]
27207         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27209         [BZ #12108]
27210         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27211         to have entries in sys_siglist.
27213         [BZ #12093]
27214         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27215         be NULL.
27217 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27219         [BZ #3268]
27220         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27221         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27222         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27223         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27224         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27225         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27226         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27227         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27228         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27229         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27230         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27231         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27232         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27233         * math/ftestexcept.c (fetestexcept): Likewise.
27234         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27235         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27236         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27237         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27238         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27239         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27240         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27242 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27244         [BZ #12107]
27245         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27246         newline.
27248 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27250         * string/bug-strstr1.c: New file.
27251         * string/Makefile: Add rules to build and run bug-strstr1.
27253 2010-10-05  Eric Blake  <eblake@redhat.com>
27255         [BZ #12092]
27256         * string/str-two-way.h (two_way_long_needle): Always clear memory
27257         when skipping input due to the shift table.
27259 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
27261         [BZ #12005]
27262         * malloc/mcheck.c: Handle large requests.
27264         [BZ #12077]
27265         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27266         for strncmp and strncasecmp.
27267         * string/stratcliff.c: Add tests for strcmp and strncmp.
27268         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27270 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27272         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27273         __set_fpscr.
27275 2010-09-30  Andreas Jaeger  <aj@suse.de>
27277         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27278         (CGROUP_SUPER_MAGIC): Define.
27279         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27280         Handle btrfs and cgroup file systems.
27281         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27282         Likewise.
27284 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27286         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27287         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27289 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27291         [BZ #12067]
27292         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27293         trying to locate the ELF header.
27295 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27297         [BZ #11611]
27298         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27299         Mask out sign-bit copies when constructing f_fsid.
27301 2010-09-24  Petr Baudis <pasky@suse.cz>
27303         * debug/stack_chk_fail_local.c: Add missing licence exception.
27304         * debug/warning-nop.c: Likewise.
27306 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27308         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27309         implementing getdents64 using getdents syscall, set d_type if
27310         __ASSUME_GETDENTS32_D_TYPE.
27312 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27314         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27315         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27317 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27319         [BZ #12037]
27320         * posix/unistd.h: Undo change of feature selection for ftruncate from
27321         2010-01-11.
27323 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27325         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27326         detection.
27328 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27331         fanotify_mark.
27332         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27334 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27336         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27337         variables after CHECK_SP call.
27338         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27340 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27341             Ulrich Drepper  <drepper@redhat.com>
27343         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27344         re-relocationg ld.so.
27345         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27346         _dl_init_paths call.
27347         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27348         here anymore.
27350 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27352         * resolv/res_init.c (__res_vinit): Count the default server we added.
27354 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27355             Ulrich Drepper  <drepper@redhat.com>
27357         [BZ #11968]
27358         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27359         (____longjmp_chk): Use %ebx for saving value across system call.
27360         Add unwind info.
27362 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27364         * manual/Makefile: Don't mix pattern rules with normal rules.
27366 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27368         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27369         operation.
27370         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27371         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27372         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27373         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27375         Likewise.
27377 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27379         [BZ #11979]
27380         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27381         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27383 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27385         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27386         * sysdeps/x86_64/addmul_1.S: Likewise.
27387         * sysdeps/x86_64/lshift.S: Likewise.
27388         * sysdeps/x86_64/mul_1.S: Likewise.
27389         * sysdeps/x86_64/rshift.S: Likewise.
27390         * sysdeps/x86_64/sub_n.S: Likewise.
27391         * sysdeps/x86_64/submul_1.S: Likewise.
27393 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27395         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27396         Define __sched_param instead of SCHED_* and sched_param when
27397         <bits/sched.h> is included with __need_schedparam defined.
27398         * bits/sched.h [__need_schedparam]
27399         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27400         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27401         (__defined_schedparam): Define to 1.
27402         (__sched_param): New structure, identical to sched_param.
27403         (__need_schedparam): Undefine.
27405 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27407         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27408         (epoll_create1): Declare.
27410         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27412 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27414         [BZ #7066]
27415         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27416         shifting retval into place.
27418 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27420         * nis/rpcsvc/nis.h: Update copyright notice.
27421         * nis/rpcsvc/nis.x: Likewise.
27422         * nis/rpcsvc/nis_callback.h: Likewise.
27423         * nis/rpcsvc/nis_callback.x: Likewise.
27424         * nis/rpcsvc/nis_object.x: Likewise.
27425         * nis/rpcsvc/nis_tags.h: Likewise.
27426         * nis/rpcsvc/yp.h: Likewise.
27427         * nis/rpcsvc/yp.x: Likewise.
27428         * nis/rpcsvc/ypupd.h: Likewise.
27429         * nis/yp_xdr.c: Likewise.
27430         * nis/ypupdate_xdr.c: Likewise.
27432         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27433         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27434         (pmap_getport): Use __libc_rpc_getport.
27435         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27436         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27437         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27439 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27442         fanotify_mark.
27444 2010-08-27  Roland McGrath  <roland@redhat.com>
27446         * sysdeps/i386/i686/multiarch/Makefile
27447         (CFLAGS-varshift.c): New variable.
27449 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27451         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27452         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27454         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27456         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27458 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27460         * sysdeps/x86_64/strlen.S: Unroll the loop.
27461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27462         strlen-sse2 strlen-sse2-bsf.
27463         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27464         __strlen_no_bsf if bit_Slow_BSF is set.
27465         (__strlen_sse42): Removed.
27466         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27467         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27469 2010-08-25  Roland McGrath  <roland@redhat.com>
27471         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27472         * sysdeps/x86_64/multiarch/varshift.c: New file.
27473         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27474         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27475         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27476         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27478 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27481         strlen-sse2 strlen-sse2-bsf.
27482         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27483         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27484         (__strlen_sse2): Removed.
27485         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27486         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27488         bit_Slow_BSF for Atom.
27489         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27490         (index_Slow_BSF): Define.
27491         (HAS_SLOW_BSF): Define.
27493 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27495         [BZ #10851]
27496         * resolv/res_init.c (__res_vinit): When no server address at all
27497         is given default to loopback.
27499 2010-08-24  Roland McGrath  <roland@redhat.com>
27501         * configure.in: Remove config-name.h generation.
27502         * configure: Regenerated.
27503         * config-name.in: File removed.
27504         * scripts/config-uname.sh: New file.
27505         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27506         ($(objdir)config-name.h): New target.
27508         * sunrpc/rpc_parse.h: Avoid nested comment.
27510 2010-08-24  Richard Henderson  <rth@redhat.com>
27511             Ulrich Drepper  <drepper@redhat.com>
27512             H.J. Lu  <hongjiu.lu@intel.com>
27514         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27516         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27517         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27518         _mm_alignr_epi8 with _mm_loadu_si128.
27519         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27520         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27521         (__m128i_shift_right): Removed.
27522         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27523         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27524         * sysdeps/x86_64/multiarch/varshift.h: New file.
27525         * sysdeps/x86_64/multiarch/varshift.S: New file.
27527 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27529         * configure.in: Move assembler checks to before sysdep dir checking.
27531 2010-08-20  Petr Baudis  <pasky@suse.cz>
27533         * LICENSES: Sync the sunrpc license.
27535 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27537         * sunrpc/auth_des.c: Update copyright notice once again.
27538         * sunrpc/auth_none.c: Likewise.
27539         * sunrpc/auth_unix.c: Likewise.
27540         * sunrpc/authdes_prot.c: Likewise.
27541         * sunrpc/authuxprot.c: Likewise.
27542         * sunrpc/bindrsvprt.c: Likewise.
27543         * sunrpc/clnt_gen.c: Likewise.
27544         * sunrpc/clnt_perr.c: Likewise.
27545         * sunrpc/clnt_raw.c: Likewise.
27546         * sunrpc/clnt_simp.c: Likewise.
27547         * sunrpc/clnt_tcp.c: Likewise.
27548         * sunrpc/clnt_udp.c: Likewise.
27549         * sunrpc/clnt_unix.c: Likewise.
27550         * sunrpc/des_crypt.c: Likewise.
27551         * sunrpc/des_soft.c: Likewise.
27552         * sunrpc/get_myaddr.c: Likewise.
27553         * sunrpc/getrpcport.c: Likewise.
27554         * sunrpc/key_call.c: Likewise.
27555         * sunrpc/key_prot.c: Likewise.
27556         * sunrpc/openchild.c: Likewise.
27557         * sunrpc/pm_getmaps.c: Likewise.
27558         * sunrpc/pm_getport.c: Likewise.
27559         * sunrpc/pmap_clnt.c: Likewise.
27560         * sunrpc/pmap_prot.c: Likewise.
27561         * sunrpc/pmap_prot2.c: Likewise.
27562         * sunrpc/pmap_rmt.c: Likewise.
27563         * sunrpc/rpc/auth.h: Likewise.
27564         * sunrpc/rpc/auth_unix.h: Likewise.
27565         * sunrpc/rpc/clnt.h: Likewise.
27566         * sunrpc/rpc/des_crypt.h: Likewise.
27567         * sunrpc/rpc/key_prot.h: Likewise.
27568         * sunrpc/rpc/netdb.h: Likewise.
27569         * sunrpc/rpc/pmap_clnt.h: Likewise.
27570         * sunrpc/rpc/pmap_prot.h: Likewise.
27571         * sunrpc/rpc/pmap_rmt.h: Likewise.
27572         * sunrpc/rpc/rpc.h: Likewise.
27573         * sunrpc/rpc/rpc_des.h: Likewise.
27574         * sunrpc/rpc/rpc_msg.h: Likewise.
27575         * sunrpc/rpc/svc.h: Likewise.
27576         * sunrpc/rpc/svc_auth.h: Likewise.
27577         * sunrpc/rpc/types.h: Likewise.
27578         * sunrpc/rpc/xdr.h: Likewise.
27579         * sunrpc/rpc_clntout.c: Likewise.
27580         * sunrpc/rpc_cmsg.c: Likewise.
27581         * sunrpc/rpc_common.c: Likewise.
27582         * sunrpc/rpc_cout.c: Likewise.
27583         * sunrpc/rpc_dtable.c: Likewise.
27584         * sunrpc/rpc_hout.c: Likewise.
27585         * sunrpc/rpc_main.c: Likewise.
27586         * sunrpc/rpc_parse.c: Likewise.
27587         * sunrpc/rpc_parse.h: Likewise.
27588         * sunrpc/rpc_prot.c: Likewise.
27589         * sunrpc/rpc_sample.c: Likewise.
27590         * sunrpc/rpc_scan.c: Likewise.
27591         * sunrpc/rpc_scan.h: Likewise.
27592         * sunrpc/rpc_svcout.c: Likewise.
27593         * sunrpc/rpc_tblout.c: Likewise.
27594         * sunrpc/rpc_util.c: Likewise.
27595         * sunrpc/rpc_util.h: Likewise.
27596         * sunrpc/rpcinfo.c: Likewise.
27597         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27598         * sunrpc/rpcsvc/key_prot.x: Likewise.
27599         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27600         * sunrpc/rpcsvc/mount.x: Likewise.
27601         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27602         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27603         * sunrpc/rpcsvc/rex.x: Likewise.
27604         * sunrpc/rpcsvc/rstat.x: Likewise.
27605         * sunrpc/rpcsvc/rusers.x: Likewise.
27606         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27607         * sunrpc/rpcsvc/spray.x: Likewise.
27608         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27609         * sunrpc/rtime.c: Likewise.
27610         * sunrpc/svc.c: Likewise.
27611         * sunrpc/svc_auth.c: Likewise.
27612         * sunrpc/svc_authux.c: Likewise.
27613         * sunrpc/svc_raw.c: Likewise.
27614         * sunrpc/svc_run.c: Likewise.
27615         * sunrpc/svc_simple.c: Likewise.
27616         * sunrpc/svc_tcp.c: Likewise.
27617         * sunrpc/svc_udp.c: Likewise.
27618         * sunrpc/svc_unix.c: Likewise.
27619         * sunrpc/svcauth_des.c: Likewise.
27620         * sunrpc/xcrypt.c: Likewise.
27621         * sunrpc/xdr.c: Likewise.
27622         * sunrpc/xdr_array.c: Likewise.
27623         * sunrpc/xdr_float.c: Likewise.
27624         * sunrpc/xdr_mem.c: Likewise.
27625         * sunrpc/xdr_rec.c: Likewise.
27626         * sunrpc/xdr_ref.c: Likewise.
27627         * sunrpc/xdr_sizeof.c: Likewise.
27628         * sunrpc/xdr_stdio.c: Likewise.
27630         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27631         handling.
27633 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27635         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27637 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27639         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27641         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27642         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27644         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27645         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27646         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27647         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27648         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27649         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27650         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27651         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27652         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27654 2010-07-26  Anton Blanchard  <anton@samba.org>
27656         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27657         * malloc/arena.c (heap_trim): Likewise.
27659 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27661         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27662         here.  Not...
27663         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27664         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27666 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27668         * sysdeps/i386/elf/Makefile: New file.
27670 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27672         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27673         from fanotify_init.
27674         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27675         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27677 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27679         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27680         of strncasecmp_l.
27681         * sysdeps/multiarch/strcmp.S: Likewise.
27683 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27685         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27686         strncase_l-nonascii.
27687         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27688         Add strncase_l-ssse3.
27689         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27690         * sysdeps/x86_64/strcmp.S: Likewise.
27691         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27692         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27693         * sysdeps/x86_64/strncase.S: New file.
27694         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27695         * sysdeps/x86_64/strncase_l.S: New file.
27696         * string/Makefile (strop-tests): Add strncasecmp.
27697         * string/test-strncasecmp.c: New file.
27699         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27700         warning.
27702         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27703         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27705 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27707         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27709 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27711         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27712         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27713         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27715 2010-05-01  Alan Modra  <amodra@gmail.com>
27717         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27718         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27719         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27720         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27721         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27722         tidying.  Don't tail-call __sigjmp_save for static lib.
27723         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27724         save location.
27725         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27726         (CALL_MCOUNT): Add eh info, and nop after bl.
27727         (TAIL_CALL_SYSCALL_ERROR): New macro.
27728         (PSEUDO_RET): Use it.
27729         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27730         Correct save location of integer regs and cr.
27731         (_dl_profile_resolve): Correct cr save location.  Delete nops
27732         after bl when SHARED.  Reduce cfi size a little by better
27733         placement of cfi directives.
27734         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27735         make a stack frame.  Instead use parm save area as a temp.
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27737         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27739         Don't make a stack frame for parent, use parm save area.
27740         Increase child stack frame to 112 bytes.  Don't save unused reg,
27741         and adjust reg usage.  Set up cfi on error recovery and
27742         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27744         (__makecontext): Add dummy nop after jump to exit.
27745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27746         Use correct parm save area and cr save, reduce stack frame.
27747         Correct cfi for possible PSEUDO_RET frame setup.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27749         Branch to local label emitted by PSEUDO_RET rather than
27750         __syscall_error.
27752 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27754         [BZ #11904]
27755         * locale/programs/locale.c (print_assignment): New function.
27756         (show_locale_vars): Use it.
27758 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27760         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27761         field.
27762         (struct statfs64): Likewise.
27763         (_STATFS_F_FLAGS): Define.
27764         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27765         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27766         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27767         (ST_VALID): Define locally.
27768         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27769         __statvfs_getflags, use the provided value.
27770         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27771         __ASSUME_STATFS_F_FLAGS.
27773         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27775         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27776         Add sys/fanotify.h.
27777         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27778         fanotify_mask for GLIBC_2.13.
27779         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27780         fanotify_init and fanotify_mark.
27781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27782         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27784         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27785         Add prlimit.
27786         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27787         prlimit64 for GLIBC_2.13.
27788         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27789         prlimit64.
27790         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27791         syscall.
27792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27793         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27794         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27795         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27797         add prlimit alias.
27798         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27800         [BZ #11903]
27801         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27802         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27804         * nss/Makefile: Add rules to build and run tst-nss-test1.
27805         * shlib-versions: Add entry for libnss_test1.
27806         * nss/nss_test1.c: New file.
27807         * nss/tst-nss-test1.c: New file.
27809         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27810         (__nss_configure_lookup): Set appropriate entry in
27811         __nss_configure_lookup to true.
27812         * nss/nsswitch.h: Define enum with indeces of databases in
27813         databases and __nss_database_custom arrays.  Declare
27814         __nss_database_custom.
27815         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27816         to avoid using nscd when custom rules are installed.
27817         * nss/getXXbyYY_r.c: Likewise.
27818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27820         * nss/nss_files/files-parse.c: Whitespace fixes.
27822 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27824         [BZ #11883]
27825         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27826         * posix/fnmatch_loop.c: Likewise.
27828 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27830         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27831         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27832         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27833         * Versions.def [GLIBC_2.13]: Add.
27835 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27837         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27838         Also fail if tpwd after pwuid call is NULL.
27840 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27842         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27843         when converting to ms.
27845 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27847         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27848         EOPNOTSUPP errors with ENOTTY.
27849         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27850         EOPNOTSUPP errors with ENOTTY.
27852 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27854         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27855         Add strcasecmp_l-ssse3.
27856         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27857         strcasecmp.
27858         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27859         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27860         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27862 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27864         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27866         * string/Makefile (strop-tests): Add strcasecmp.
27867         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27868         strcasecmp_l-nonascii.
27869         (gen-as-const-headers): Add locale-defines.sym.
27870         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27871         * sysdeps/x86_64/strcasecmp.S: New file.
27872         * sysdeps/x86_64/strcasecmp_l.S: New file.
27873         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27874         * sysdeps/x86_64/locale-defines.sym: New file.
27875         * string/test-strcasecmp.c: New file.
27877         * string/test-strcasestr.c: Test both ends of the range of characters.
27878         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27880 2010-07-29  Roland McGrath  <roland@redhat.com>
27882         [BZ #11856]
27883         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27885 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27887         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27888         for ld.so.
27890 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27892         * manual/memory.texi (Malloc Tunable Parameters): Document
27893         M_PERTURB.
27895 2010-07-26  Roland McGrath  <roland@redhat.com>
27897         [BZ #11840]
27898         * configure.in (-fgnu89-inline check): Set and substitute
27899         gnu89_inline, not libc_cv_gnu89_inline.
27900         * configure: Regenerated.
27901         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27903 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27905         * string/test-strnlen.c: New file.
27906         * string/Makefile (strop-tests): Add strnlen.
27907         * string/tester.c (test_strnlen): Add a few more test cases.
27908         * string/tst-strlen.c: Better error reporting.
27910         * sysdeps/x86_64/strnlen.S: New file.
27912 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27914         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27915         lower-latency instructions.
27917 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27919         * string/test-strcasestr.c: New file.
27920         * string/test-strstr.c: New file.
27921         * string/Makefile (strop-tests): Add strstr and strcasestr.
27922         * string/str-two-way.h: Don't undefine MAX.
27923         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27925 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27928         strcasestr-nonascii.
27929         (CFLAGS-strcasestr-nonascii.c): Define.
27930         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27931         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27932         Remove unused attribute.
27934 2010-07-20  Roland McGrath  <roland@redhat.com>
27936         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27937         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27938         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27939         like LD_HWCAP_MASK can disable hwcaps.
27941 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27943         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27945 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27947         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27948         call in strcasestr.
27949         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27950         __strcasestr_sse42_nonascii.
27951         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27952         strcasestr-nonascii.c.
27953         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27955 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27957         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27958         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27959         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27960         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27962 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27964         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27965         fcntl.
27967 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27969         [BZ #11577]
27970         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27971         dl_signal_cerror.
27973 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27975         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27976         _PC_PIPE_BUF using F_GETPIPE_SZ.
27978 2010-07-05  Roland McGrath  <roland@redhat.com>
27980         * manual/arith.texi (Rounding Functions): Fix rint description
27981         implicit in round description.
27983 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27985         * elf/Makefile: Fix linking for a few tests to make recent linker
27986         happy.
27988 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27990         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27991         $(common-objpfx)libc_nonshared.a.
27993 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27995         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27996         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27997         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27998         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27999         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28000         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28001         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28002         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28017         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28018         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28019         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28020         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28021         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28022         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28023         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28024         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28025         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28026         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28027         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28028         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28044 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28046         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28047         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28048         * string/memmove.c (memmove): Renamed to ...
28049         (MEMMOVE): ...this.  Default to memmove.
28050         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28051         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28052         (END_CHK): Define.
28053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28054         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28055         mempcpy-ssse3-back memmove-ssse3-back.
28056         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28057         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28059         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28060         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28061         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28062         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28063         * sysdeps/x86_64/multiarch/memmove.c: New file.
28064         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28065         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28066         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28067         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28068         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28069         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28070         Define.
28071         (index_Fast_Copy_Backward): Define.
28072         (HAS_ARCH_FEATURE): Define.
28073         (HAS_FAST_REP_STRING): Define.
28074         (HAS_FAST_COPY_BACKWARD): Define.
28076 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28078         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28079         Restore proper fallback handling.
28081 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28083         [BZ #11701]
28084         * posix/group_member.c (__group_member): Correct checking loop.
28086         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28087         OOM in getpwuid_r correctly.  Return error number when the caller
28088         should return, otherwise -1.
28089         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28090         call returning > 0 value.
28091         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28093 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28095         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28096         libc_nonshared.a from targets in modules-names.
28098 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28100         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28101         requires it.
28103 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28105         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28106         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28110 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28112         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28114 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28116         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28117         and F_GETPIPE_SZ.
28118         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28119         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28121         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28122         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28123         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28125 2010-06-14  Roland McGrath  <roland@redhat.com>
28127         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28129 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28131         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28132         __REDIRECT followed by __THROW.
28133         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28134         * posix/getopt.h (getopt): Likewise.
28136 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28138         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28139         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28140         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28141         in AT_FLAGS.
28142         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28143         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28145 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28147         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28149 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28151         [BZ #11640]
28152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28153         Properly check family and model.
28155 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28157         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28159 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28161         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28163 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28165         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28166         symbol reference.
28168 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28170         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28171         symbol reference.
28173 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28175         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28176         and internal_recvmmsg.
28177         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28178         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28179         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28180         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28182         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28183         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28184         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28186 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28188         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28190 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28192         POWER7 optimizations.
28193         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28194         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28196 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28198         * version.h: Update for 2.13 development version.
28200 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28202         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28203         exceptions.  Return 0.
28205 2010-05-07  Roland McGrath  <roland@redhat.com>
28207         * elf/ldconfig.c (main): Add a const.
28209 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28211         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28212         (args_options): Add no-idn option.
28213         (ahosts_keys_int): Add idn_flags to ai_flags.
28214         (parse_option): Handle 'i' option to clear idn_flags.
28216         * malloc/malloc.c (_int_free): Possible race in the most recently
28217         added check.  Only act on the data if no current modification
28218         happened.
28220 See ChangeLog.17 for earlier changes.