1 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6 * math/s_ccoshf.c (__ccoshf): Likewise.
7 * math/s_ccoshl.c (__ccoshl): Likewise.
8 * math/s_csin.c (__csin): Likewise.
9 * math/s_csinf.c (__csinf): Likewise.
10 * math/s_csinh.c (__csinh): Likewise.
11 * math/s_csinhf.c (__csinhf): Likewise.
12 * math/s_csinhl.c (__csinhl): Likewise.
13 * math/s_csinl.c (__csinl): Likewise.
14 * math/libm-test.inc (ccos_test): Add more tests.
15 (ccosh_test): Likewise.
16 (csin_test): Likewise.
17 (csinh_test): Likewise.
19 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26 powerpc/power5+/fpu folders.
27 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34 2013-04-25 Joseph Myers <joseph@codesourcery.com>
36 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37 additions to variable.
38 [$(config-machine) = x86_64] (modules-names): Likewise.
39 ($(objpfx)tst-audit3): Remove dependency.
40 ($(objpfx)tst-audit3.out): Likewise.
41 ($(objpfx)tst-audit4): Likewise.
42 ($(objpfx)tst-audit4.out): Likewise.
43 ($(objpfx)tst-audit5): Likewise.
44 ($(objpfx)tst-audit5.out): Likewise.
45 ($(objpfx)tst-audit6): Likewise.
46 ($(objpfx)tst-audit6.out): Likewise.
47 ($(objpfx)tst-audit7): Likewise.
48 ($(objpfx)tst-audit7.out): Likewise.
49 (tst-audit3-ENV): Remove variable.
50 (tst-audit4-ENV): Likewise.
51 (tst-audit5-ENV): Likewise.
52 (tst-audit6-ENV): Likewise.
53 (tst-audit7-ENV): Likewise.
54 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
63 tst-audit3, tst-audit4 and tst-audit5.
64 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65 tst-audit6 and tst-audit7.
66 [$(subdir) = elf] (modules-names): Add audit modules for those
68 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
69 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
70 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
71 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
72 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
73 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
74 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
75 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
76 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
77 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
78 [$(subdir) = elf] (tst-audit3-ENV): New variable.
79 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
80 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
81 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
82 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
83 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
85 [$(subdir) = elf && $(config-cflags-avx) = yes]
86 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
87 [$(subdir) = elf && $(config-cflags-avx) = yes]
88 (CFLAGS-tst-auditmod4a.c): Likewise.
89 [$(subdir) = elf && $(config-cflags-avx) = yes]
90 (CFLAGS-tst-auditmod4b.c): Likewise.
91 [$(subdir) = elf && $(config-cflags-avx) = yes]
92 (CFLAGS-tst-auditmod6b.c): Likewise.
93 [$(subdir) = elf && $(config-cflags-avx) = yes]
94 (CFLAGS-tst-auditmod6c.c): Likewise.
95 [$(subdir) = elf && $(config-cflags-avx) = yes]
96 (CFLAGS-tst-auditmod7b.c): Likewise.
97 * elf/tst-audit3.c: Move to ...
98 * sysdeps/x86_64/tst-audit3.c: ... here.
99 * elf/tst-audit4.c: Move to ...
100 * sysdeps/x86_64/tst-audit4.c: ... here.
101 * elf/tst-audit5.c: Move to ...
102 * sysdeps/x86_64/tst-audit5.c: ... here.
103 * elf/tst-audit6.c: Move to ...
104 * sysdeps/x86_64/tst-audit6.c: ... here.
105 * elf/tst-audit7.c: Move to ...
106 * sysdeps/x86_64/tst-audit7.c: ... here.
107 * elf/tst-auditmod3a.c: Move to ...
108 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
109 * elf/tst-auditmod3b.c: Move to ...
110 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
111 * elf/tst-auditmod4a.c: Move to ...
112 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
113 * elf/tst-auditmod4b.c: Move to ...
114 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
115 * elf/tst-auditmod5a.c: Move to ...
116 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
117 * elf/tst-auditmod5b.c: Move to ...
118 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
119 * elf/tst-auditmod6a.c: Move to ...
120 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
121 * elf/tst-auditmod6b.c: Move to ...
122 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
123 * elf/tst-auditmod6c.c: Move to ...
124 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
125 * elf/tst-auditmod7a.c: Move to ...
126 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
127 * elf/tst-auditmod7b.c: Move to ...
128 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
130 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
133 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
134 define unconditionally.
135 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
136 define unconditionally.
137 (INT8_C, INT16_C, etc.): Likewise.
139 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
141 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
142 __ehdr_start with hidden visibility.
144 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
146 2013-04-24 Carlos O'Donell <carlos@redhat.com>
148 * math/libm-test.inc (cos_test): Use accurate hex constants.
149 (sincost_test): Likewise.
151 2013-04-24 Joseph Myers <joseph@codesourcery.com>
153 * math/libm-test.inc (catan_test): Add more tests.
154 (catanh_test): Likewise.
156 * math/s_catanf.c (__catanf): Use suffixed floating-point
158 * math/s_catanhf.c (__catanhf): Likewise.
159 * math/s_catanhl.c (__catanhl): Likewise.
160 * math/s_catanl.c (__catanl): Likewise.
163 * math/s_catan.c (__catan): Calculate imaginary part of result
164 with log1p not log unless computing log of number close to 0.
165 * math/s_catanf.c (__catanf): Likewise.
166 * math/s_catanl.c (__catanl): Likewise.
167 * math/s_catanh.c (__catanh): Calculate real part of result with
168 log1p not log unless computing log of number close to 0.
169 * math/s_catanhf.c (__catanhf): Likewise.
170 * math/s_catanhl.c (__catanhl): Likewise.
171 * math/libm-test.inc (catan_test): Add more tests.
172 (catanh_test): Likewise.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
178 * benchtests/Makefile: Mention files in which fast and slow
179 paths of math functions are implemented.
181 2013-04-23 Roland McGrath <roland@hack.frob.com>
183 * sysdeps/posix/timespec_get.c: New file.
185 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
189 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
191 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
192 powerpc/power5/fpu folders.
193 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
194 * benchtests/Makefile: Add modf testcase.
195 * benchtests/bench-modf.c: New file: Benchmark test for mo
197 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
200 * time/Makefile (tests): Add tst-strptime-whitespace.
201 * time/strptime_l.c (get_number): Use ISSPACE.
202 (__strptime_internal): Likewise.
203 * time/tst-strptime-whitespace.c: New test case.
205 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
207 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
209 (_nss_files_init): Set it here.
211 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
213 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
214 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
217 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
219 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
221 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
226 2013-04-21 David S. Miller <davem@davemloft.net>
228 * po/ru.po: Update Russion translation from translation project.
230 2013-04-17 Adam Conrad <adconrad@0c3.net>
232 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
235 2013-04-17 Carlos O'Donell <carlos@redhat.com>
237 * configure.in: Remove i386 configure warning. Remove i386 case.
238 * configure: Regenerate.
239 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
240 Add example to error message.
241 * sysdeps/i386/configure: Regenerate.
243 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
245 * benchtests/Makefile (bench): Add cos, tan, slowcos and
247 * benchtests/cos-inputs: New file.
248 * benchtests/slowcos-inputs: New file.
249 * benchtests/slowcos.c: New file.
250 * benchtests/slowtan-inputs: New file.
251 * benchtests/slowtan.c: New file.
252 * benchtests/tan-inputs: New file.
254 2013-04-16 Roland McGrath <roland@hack.frob.com>
256 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
259 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
261 * benchtests/Makefile: Include cppflags-iterator.mk to add
262 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
264 * Makefile.in (bench-clean): New target.
265 * benchtests/Makefile (bench-clean): Likewise.
267 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
269 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
271 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
273 * stdio-common/tstdiomisc.c: Fix coding-style violation.
275 2013-04-15 Andreas Schwab <schwab@suse.de>
277 * nscd/grpcache.c (cache_addgr): Properly check for short write.
278 * nscd/initgrcache.c (addinitgroupsX): Likewise.
279 * nscd/pwdcache.c (cache_addpw): Likewise.
280 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
283 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
285 * benchtests/Makefile (bench): Write all output to
286 bench-out.tmp together.
288 2013-04-15 Andreas Schwab <schwab@suse.de>
290 * nscd/nscd.c (main): Don't fork again after closing files.
292 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
294 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
296 * benchtests/Rules (bench-deps): Collect dependencies into a
297 single variable. Add Makefile to dependencies.
298 ($(objpfx)bench-%.c): Depend on bench-deps.
300 2013-04-12 Roland McGrath <roland@hack.frob.com>
301 Xavier Roche <roche+kml2@exalead.com>
304 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
305 just that it's a file descriptor.
306 * manual/llio.texi (Synchronizing AIO Operations): Update description
307 for EBADF error from aio_fsync.
309 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
311 * Rules (bench): Move target definition...
312 * benchtests/Makefile: ... here.
314 2013-04-11 Carlos O'Donell <carlos@redhat.com>
316 * math/libm-test.inc (cos_test): Fix PI/2 test.
317 (sincos_test): Likewise.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
319 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
321 2013-04-11 Andreas Schwab <schwab@suse.de>
324 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
325 accept exponent character only when digits were seen.
326 * stdio-common/Makefile (tests): Add bug26.
327 * stdio-common/bug26.c: New file.
330 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
333 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
335 * Makeconfig (rtld-prefix): Define built linker prefix.
336 * Rules (run-bench): Use it.
337 * math/Makefile (run-regen-ulps): Likewise.
339 * Rules (bench): Remove eval.
341 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
342 Roland McGrath <roland@hack.frob.com>
343 Ondrej Bilka <neleai@seznam.cz>
346 * time/getdate.c: Include ctype.h and alloca.h.
347 (__getdate_r): Trim leading and trailing spaces of input.
348 * time/tst-getdate.c (tests): Add tests with leading and
351 2013-04-08 Roland McGrath <roland@hack.frob.com>
354 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
355 when computing value.
357 2013-04-06 Carlos O'Donell <carlos@redhat.com>
359 * math/README.libm-test (How can I generate "libm-test-ulps"?):
360 Use testrun.sh to run libm tests.
363 * elf/dl-open.c (dl_open_worker): memset all of seen array.
365 2013-04-06 Marko Myllynen <myllynen@redhat.com>
368 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
370 2013-04-06 Carlos O'Donell <carlos@redhat.com>
372 * Makefile.in (regen-ulps): New target.
373 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
374 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
375 [ifneq (no,$(PERL)] (regen-ulps): New target.
376 [ifeq (no,$(PERL)] (regen-ulps): New target.
377 * math/libm-test.inc (ulps_file_name): Define.
378 (output_dir): New variable.
379 (options): Add "output-dir" option.
380 (parse_opt): Handle 'o' case.
381 (main): If output_dir is non-NULL use it as a prefix
383 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
385 2013-04-06 Carlos O'Donell <carlos@redhat.com>
388 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
389 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
390 fail configure if __sync_val_compare_and_swap is not inlined.
391 * sysdeps/i386/configure: Regenerate.
392 * configure.in: Build for i686 when configured for i386.
393 * configure: Regenerate.
394 * README: Remove i386 reference.
396 2013-04-06 Carlos O'Donell <carlos@redhat.com>
398 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
401 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
403 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
404 (lmsnanval): New variables.
405 (F): Add conversion tests.
406 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
407 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
409 * stdio-common/tstdiomisc.c (F): Properly collect individual
413 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
414 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
415 Instead, use input NaN values or generate a qNaN by arithmetic
416 operation. Also fix bugs to comply with the standard.
417 * math/libm-test.inc (remainder_test): Add more tests.
420 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
422 input NaN values or generate a qNaN by arithmetic operation.
424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
427 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
430 2013-04-03 Joseph Myers <joseph@codesourcery.com>
433 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
435 * math/s_cexpf.c (__cexpf): Likewise.
436 * math/s_cexpl.c (__cexpl): Likewise.
437 * math/libm-test.inc (cexp_test): Add more tests.
439 2013-04-03 Andreas Schwab <schwab@suse.de>
442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
443 order arrays from heap if bigger than alloca cutoff.
445 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
447 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
448 (SNAN_TESTS_double): Refer to GCC PR56831.
449 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
452 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
454 * Rules (bench): Move bench.out after the run is complete.
456 * Rules (bench): Echo currently running benchmark.
458 * benchtests/Makefile (bench): Add atan and slowatan.
459 * benchtests/atan-inputs: New file.
460 * benchtests/slowatan-inputs: New file.
461 * benchtests/slowatan.c: New file.
463 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
468 * sysdeps/unix/sysv/linux/kernel-features.h
469 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
470 __ASSUME_XFS_RESTRICTED_CHOWN.
471 * sysdeps/unix/sysv/linux/pathconf.c
472 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
473 Save and restore errno.
475 2013-04-02 Joseph Myers <joseph@codesourcery.com>
478 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
479 arguments using __kernel_casinh.
480 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
481 arguments using __kernel_casinhf.
482 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
483 arguments using __kernel_casinhl.
484 * math/libm-test.inc (cacosh_test): Add more tests.
485 * sysdeps/i386/fpu/libm-test-ulps: Update.
486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
488 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
490 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
493 * bench/Makefile (bench): Add sin and slowsin.
494 * benchtests/sin-inputs: New file.
495 * benchtests/slowsin-inputs: New file.
496 * benchtests/slowsin.c: New file.
498 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
499 (bench): Add slowexp and slowpow.
500 (exp-ITER): Increase iterations.
501 (pow-ITER): Likewise.
502 * benchtests/exp-inputs: Change input.
503 * benchtests/pow-inputs: Likewise.
504 * benchtests/slowexp-inputs: New file.
505 * benchtests/slowexp.c: New file.
506 * benchtests/slowpow-inputs: New file.
507 * benchtests/slowpow.c: New file.
509 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
513 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
514 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
515 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
516 * benchtests/Makefile: Add rint benchtest.
517 * benchtests/rint-inputs: Input for rint benchtest.
519 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
521 * Versions.def (libm): Add GLIBC_2.18.
522 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
523 hidden libm prototypes.
524 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
525 * math/Makefile (libm-calls): Add s_issignaling.
526 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
527 __issignalingf, __issignalingl. Adjust all libm.abilist files.
528 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
530 * math/math.h [__USE_GNU] (issignaling): New macro.
531 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
532 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
533 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
534 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
535 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
537 * manual/arith.texi (issignaling): New section.
538 * manual/libm-err-tab.pl (@all_functions): Update comment.
539 * math/gen-libm-test.pl (parse_args): Apply special handling for
541 * math/libm-test.inc (print_float, issignaling_test): New
543 (check_float_internal): Add issignaling checks.
544 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
546 * sysdeps/powerpc/math-tests.h: New file.
547 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
549 * math/test-snan.c (TEST_FUNC): Likewise.
551 2013-03-30 David S. Miller <davem@davemloft.net>
553 * po/de.po: Update from translation team.
555 2013-03-30 Joseph Myers <joseph@codesourcery.com>
558 * math/k_casinh.c (__kernel_casinh): Handle arguments with
559 imaginary part less than 1.0 and real part less than 0.5
561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
563 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
564 (cacos_test): Add more tests.
565 (casin_test): Likewise.
566 (casinh_test): Likewise.
567 * sysdeps/i386/fpu/libm-test-ulps: Update.
568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
570 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
572 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
575 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
576 (__pow_mp): Replace ONE and MONE with their values.
577 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
579 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
580 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
581 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
584 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
586 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
587 (__pow_mp): Replace ZERO and MZERO with their values.
588 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
590 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
593 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
596 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
598 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
600 2013-03-28 Roland McGrath <roland@hack.frob.com>
602 * include/stdlib.h [!SHARED] (__call_tls_dtors):
603 Declare with __attribute__ ((weak)).
604 * stdlib/exit.c (__libc_atexit) [!SHARED]:
605 Call __call_tls_dtors only if it's not NULL.
607 2013-03-28 Roland McGrath <roland@hack.frob.com>
609 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
610 didn't do it already, then set _dl_phdr and _dl_phnum based on the
611 magic __ehdr_start linker symbol if it's defined.
612 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
613 them up here if it was already done.
615 * elf/dl-support.c (_dl_phdr): Make pointer to const.
616 (_dl_aux_init): Use const in cast when setting it.
617 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
618 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
619 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
621 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
623 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
624 * csu/libc-tls.c: Nor here.
625 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
627 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
628 (__libc_message): Never call vsyslog.
630 2013-03-28 Alan Modra <amodra@gmail.com>
632 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
634 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
637 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
644 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
647 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
648 Don't add gid passed as argument.
650 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
652 2013-03-27 Joseph Myers <joseph@codesourcery.com>
655 * math/k_casinh.c (__kernel_casinh): Handle arguments with
656 imaginary part between 1.0 and 1.5 and real part less than 0.5
658 * math/k_casinhf.c (__kernel_casinhf): Likewise.
659 * math/k_casinhl.c (__kernel_casinhl): Likewise.
660 * math/libm-test.inc (cacos_test): Add more tests.
661 (casin_test): Likewise.
662 (casinh_test): Likewise.
663 * sysdeps/i386/fpu/libm-test-ulps: Update.
664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
666 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
672 (__dbl_mp): Likewise.
673 (add_magnitudes): Likewise.
674 (sub_magnitudes): Likewise.
682 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
684 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
685 (__dubcos): Likewise.
686 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
687 (__ieee754_acos): Likewise.
688 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
689 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
691 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
695 (checkint): Likewise.
696 * sysdeps/ieee754/dbl-64/e_remainder.c
697 (__ieee754_remainder): Likewise.
698 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
703 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
705 MANTISSA_STORE_T to store computations on mantissa. Use
706 macros for rounding and division.
708 (__dbl_mp): Likewise.
709 (add_magnitudes): Likewise.
710 (sub_magnitudes): Likewise.
713 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
714 powers of two in terms of TWOPOW macro.
715 (mp_no): Make type of mantissa as MANTISSA_T.
716 [!RADIXI]: Define RADIXI.
717 [!TWO52]: Define TWO52.
718 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
720 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
723 llroundl symbol when building for PPC32.
725 2013-03-24 Mark H Weaver <mhw@netris.org>
727 * manual/arith.texi (Normalization Functions): Fix prototypes for
728 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
730 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
734 high value to check if expl overflow.
735 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
736 to check for underflow and overflow.
737 * math/libm-test.inc: Add exp test.
739 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
742 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
745 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
750 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
752 * math/gen-libm-test.pl (parse_args, special_functions): Properly
753 wrap blocks consisting of several statements.
755 * sysdeps/generic/math-tests.h: New file.
756 * sysdeps/i386/fpu/math-tests.h: Likewise.
757 * math/test-snan.c: Include it.
758 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
760 2013-03-21 Joseph Myers <joseph@codesourcery.com>
763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
764 (__ieee754_j0l): Do not improve calculations using cos of twice
765 input for inputs above LDBL_MAX / 2.0L.
766 (__ieee754_y0l): Likewise.
767 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
768 (__ieee754_j1l): Do not improve calculations using cos of twice
769 input for inputs above LDBL_MAX / 2.0L.
770 (__ieee754_y1l): Likewise.
771 * math/libm-test.inc (j0_test): Add another test.
775 * sysdeps/i386/fpu/libm-test-ulps: Update.
777 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
779 * Rules ($(objpfx)bench-%.c): Include code from a C source
782 2013-03-21 Joseph Myers <joseph@codesourcery.com>
785 * math/k_casinh.c (__kernel_casinh): Handle arguments with
786 imaginary part 1.0 and real part less than 0.5 specially.
787 * math/k_casinhf.c (__kernel_casinhf): Likewise.
788 * math/k_casinhl.c (__kernel_casinhl): Likewise.
789 * math/libm-test.inc (cacos_test): Add more tests.
790 (casin_test): Likewise.
791 (casinh_test): Likewise.
792 * sysdeps/i386/fpu/libm-test-ulps: Update.
793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
797 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
798 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
800 2013-03-20 Joseph Myers <joseph@codesourcery.com>
802 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
803 * config.make.in (config-cflags-sse4): Remove variable.
804 (config-cflags-avx): Likewise.
805 (config-cflags-sse2avx): Likewise.
806 (config-cflags-novzeroupper): Likewise.
807 (config-asflags-i686): Likewise.
808 (have-mfma4): Likewise.
809 (have-as-vis3): Likewise.
811 * configure.in (MIG): Do not AC_SUBST.
812 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
813 (libc_cv_cc_sse4): Do not AC_SUBST.
814 (libc_cv_cc_avx): Likewise.
815 (libc_cv_cc_sse2avx): Likewise.
816 (libc_cv_cc_novzeroupper): Likewise.
817 (libc_cv_cc_fma4): Likewise.
818 (libc_cv_as_i686): Likewise.
819 (libc_cv_sparc_as_vis3): Likewise.
820 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
822 (config-asflags-i686): Likewise.
823 (config-cflags-avx): Likewise.
824 (config-cflags-sse2avx): Likewise.
825 (have-mfma4): Likewise.
826 (config-cflags-novzeroupper): Likewise.
827 * sysdeps/mach/configure.in (MIG): Likewise.
828 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
829 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
831 (config-cflags-avx): Likewise.
832 (config-cflags-sse2avx): Likewise.
833 (have-mfma4): Likewise.
834 (config-cflags-novzeroupper): Likewise.
835 * configure: Regenerated.
836 * sysdeps/i386/configure: Likewise.
837 * sysdeps/mach/configure: Likewise.
838 * sysdeps/sparc/configure: Likewise.
839 * sysdeps/x86_64/configure: Likewise.
841 2013-03-20 Roland McGrath <roland@hack.frob.com>
844 * locale/programs/localedef.c (options): Put N_ translation marker
845 on argument names, not just descriptions.
847 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
849 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
851 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
854 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
856 2013-03-19 Roland McGrath <roland@hack.frob.com>
858 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
859 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
860 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
861 [!BEFORE_ABORT] (before_abort): New function.
862 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
863 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
864 (writev_for_fatal): New function.
865 (WRITEV_FOR_FATAL): New macro; call that.
866 (backtrace_and_maps): New function.
867 (BEFORE_ABORT): New macro; call that.
868 (struct str_list): Type removed.
869 (__libc_message, __libc_fatal): Functions removed.
870 Include <sysdeps/posix/libc_fatal.c> instead.
872 2013-03-19 Joseph Myers <joseph@codesourcery.com>
874 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
876 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
879 2013-03-19 Andreas Schwab <schwab@suse.de>
881 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
882 * sysdeps/gnu/configure: Regenerate.
884 * configure.in: Substitute libc_cv_rtlddir.
885 * configure: Regenerate.
886 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
887 * Makeconfig (rtlddir, inst_rtlddir): New variables.
888 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
889 * elf/Makefile (install-others, CFLAGS-interp.c)
890 (ldso_install, common-ldd-rewrite): Likewise.
891 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
892 $(inst_slibdir)/$(rtld-installed-name).
893 * scripts/rellns-sh: Add -p option.
894 * Makerules (make-shlib-link): Use rellns-sh to get relative name
897 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
899 * manual/nptl.texi: Renamed to ...
900 * manual/threads.texi: ... this.
901 * manual/Makefile (chapters): Update.
903 2013-03-18 Roland McGrath <roland@hack.frob.com>
906 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
907 on argument names, not just descriptions.
908 * malloc/memusagestat.c (options): Likewise.
909 * nss/getent.c (options): Likewise.
911 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
914 * iconv/iconv_prog.c (options): Put N_ translation marker
915 on argument names, not just descriptions.
916 * iconv/iconvconfig.c (options): Likewise.
918 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
920 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
921 implementation which is faster on all x86_64 architectures.
922 Tested on AMD, Intel Nehalem, SNB, IVB.
923 * sysdeps/x86_64/strnlen.S: Likewise.
925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
926 Remove all multiarch strlen and strnlen versions.
927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
928 Remove strlen and strnlen related parts.
930 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
932 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
934 * sysdeps/x86_64/multiarch/strlen.S: Remove.
935 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
936 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
937 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
938 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
939 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
941 2013-03-17 Carlos O'Donell <carlos@redhat.com>
943 * manual/memory.texi (Malloc Tunable Parameters):
944 Sort parameters alphabetically. Add comments for missing entries.
946 2013-03-17 David S. Miller <davem@davemloft.net>
948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
950 2013-03-16 Joseph Myers <joseph@codesourcery.com>
953 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
954 for arguments at most half maximum finite value.
955 * math/libm-test.inc (j0_test): Add more tests.
959 * sysdeps/i386/fpu/libm-test-ulps: Update.
960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
963 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
964 1 / x and functions P and Q for arguments above 0x1p256L.
965 (__ieee754_y0l): Likewise.
966 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
967 (__ieee754_y1l): Likewise.
968 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
973 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
975 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
978 2013-03-15 Roland McGrath <roland@hack.frob.com>
980 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
981 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
982 zero since it's initialized to EXEC_PAGESIZE.
984 * sysdeps/unix/sysv/linux/ldsodefs.h
985 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
986 * sysdeps/generic/ldsodefs.h: ... here.
988 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
990 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
992 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
994 * math/test-snan.c: Renamed from
995 sysdeps/powerpc/fpu/test-powerpc-snan.c.
996 * math/Makefile (tests): Add test-snan.
997 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1000 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1001 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1003 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1004 __builtin_nan family of functions.
1005 * math/libm-test.inc (initialize): Initialize qnan_value with
1006 __builtin_nan family of functions.
1007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1009 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1011 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1012 storage class. Initialize qNaN_var and sNaN_var with
1013 __builtin_nan and __builtin_nans families of functions,
1016 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1017 (sqrt_test): Remove duplicate test with qNaN input.
1018 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1019 (round_test, signbit_test, significand_test): Note missing +/-Inf
1020 as well as qNaN tests.
1022 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1023 qNaN_var. Fix a few strings, too.
1024 * math/libm-test.inc (nan_value): Rename to qnan_value.
1025 * math/gen-libm-test.pl (%beautify): Adjust to that.
1026 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1027 * math/test-misc.c (main): Likewise.
1028 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1029 to __qnan_bytes, and __qnan_union, respectively.
1030 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1032 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1033 and lqnanval, respectively.
1034 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1035 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1037 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1039 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1040 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1043 * math/test-misc.c (main): Fix copy'n'pastos.
1044 * misc/tst-efgcvt.c (special): Likewise.
1046 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1047 Remove declarations.
1049 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1051 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1052 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1053 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1054 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1056 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1059 macro to return vdso values correctly in IFUNC implementations.
1060 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1061 Optimization by using IFUNC.
1063 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1064 Richard Henderson <rth@redhat.com>
1065 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1067 * Makefile.in (bench): New target.
1068 * NEWS: Mention the benchmark framework.
1069 * Rules (bench): Likewise.
1070 (binaries-bench): Generate binaries for functions to
1072 * benchtests/Makefile: New makefile for benchmark tests.
1073 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1075 * benchtests/exp-inputs: New input file for EXP function.
1076 * benchtests/pow-inputs: New input file for POW function.
1077 * scripts/bench.pl: New script to generate source files for
1080 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1082 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1083 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1084 computations on mantissa. Use macros for rounding and
1087 (__dbl_mp): Likewise.
1088 (add_magnitudes): Likewise.
1089 (sub_magnitudes): Likewise.
1092 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1093 powers of two in terms of TWOPOW macro.
1094 (mp_no): Make type of mantissa as MANTISSA_T.
1095 [!RADIXI]: Define RADIXI.
1096 [!TWO52]: Define TWO52.
1097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1099 * manual/nptl.texi (cindex): Modify threads to pthreads.
1101 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1103 * sysdeps/x86_64/preconfigure: Regenerated.
1105 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1110 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1111 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1113 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1114 * math/libm-test.inc (j0_test): Do not allow one spurious
1115 underflow exception.
1116 (y1_test): Likewise.
1118 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1120 * manual/Makefile (chapters): Add nptl.
1121 * manual/debug.texi (Debugging Support): Add link to Threads
1123 * manual/nptl.texi: New file.
1125 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1127 2013-03-14 Petr Baudis <pasky@ucw.cz>
1129 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1130 for non-NULL pointer before the memory validity test. Pointed
1131 out by Holger Brunck <holger.brunck@keymile.com>.
1133 2013-03-13 Andreas Schwab <schwab@suse.de>
1135 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1138 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1140 * timezone/zic.c: Update from tzcode 2013b.
1142 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1144 * manual/install.texi (Configuring and compiling):
1145 Mention i686 and i586.
1146 * INSTALL: Regenerate.
1148 2013-03-12 Roland McGrath <roland@hack.frob.com>
1150 * sysdeps/init_array/elf-init.c: New file.
1152 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1153 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1155 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1156 __gmon_start__ as global, but as static with a .preinit_array pointer.
1157 * sysdeps/init_array/gmon-start.c: New file. Use that.
1158 * sysdeps/init_array/crti.S: New file, empty except for comments.
1159 * sysdeps/init_array/crtn.S: Likewise.
1161 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1163 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1166 Remove Prefer_SSE_for_memop.
1167 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1168 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1169 HAS_PREFER_SSE_FOR_MEMOP.
1170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1173 Remove bzero, memset ifunc support.
1174 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1176 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1177 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1179 2013-03-11 Andreas Schwab <schwab@suse.de>
1182 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1185 (GLIBC_2.16): Remove pthread_atfork.
1187 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1189 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1190 (ptestcases.h): Likewise.
1192 2013-03-08 Roland McGrath <roland@hack.frob.com>
1194 * Makeconfig ($(common-objpfx)config.status): Depend on
1195 sysdeps/*/preconfigure{,.in} too.
1197 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1199 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1200 (__free_hook): Use void * instead of __malloc_ptr_t.
1201 (__malloc_hook): Likewise.
1202 (__realloc_hook): Likewise.
1203 (__memalign_hook): Likewise.
1204 (__after_morecore_hook): Likewise.
1205 * malloc/arena.c (save_malloc_hook): Likewise.
1206 (save_free_hook): Likewise.
1207 * malloc/hooks.c (malloc_hook_ini): Likewise.
1208 (realloc_hook_ini): Likewise.
1209 (memalign_hook_ini): Likewise.
1210 * malloc/malloc.c (malloc_hook_ini): Likewise.
1211 (realloc_hook_ini): Likewise.
1212 (memalign_hook_ini): Likewise.
1213 (__free_hook): Likewise.
1214 (__malloc_hook): Likewise.
1215 (__realloc_hook): Likewise.
1216 (__memalign_hook): Likewise.
1217 (__libc_malloc): Likewise.
1218 (__libc_free): Likewise.
1219 (__libc_realloc): Likewise.
1220 (__libc_memalign): Likewise.
1221 (__libc_valloc): Likewise.
1222 (__libc_pvalloc): Likewise.
1223 (__libc_calloc): Likewise.
1224 (__posix_memalign): Likewise.
1225 * malloc/morecore.c (__sbrk): Likewise.
1226 (__default_morecore): Likewise.
1228 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1230 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1231 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1234 * malloc/malloc.h (__malloc_size_t): Remove macro.
1235 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1237 (old_memalign_hook): Likewise.
1238 (old_realloc_hook): Likewise.
1239 (struct hdr): Likewise.
1241 (mallochook): Likewise.
1242 (memalignhook): Likewise.
1243 (reallochook): Likewise.
1244 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1245 (tr_old_realloc_hook): Likewise.
1246 (tr_old_memalign_hook): Likewise.
1247 (tr_mallochook): Likewise.
1248 (tr_reallochook): Likewise.
1249 (tr_memalignhook): Likewise.
1251 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1254 default_ldbl_pack and using as default implementation.
1255 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1257 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1258 redundant definition.
1259 (ldbl_insert_mantissa): Likewise.
1260 (ldbl_canonicalize): Likewise.
1261 (ldbl_nearbyint): Likewise.
1262 (ldbl_pack): Rename to ldbl_pack_ppc.
1263 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1264 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1265 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1267 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1270 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1272 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1275 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1276 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1278 2013-03-07 Andreas Jaeger <aj@suse.de>
1280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1283 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1285 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1286 Include mpa.h and declare __MPEXP.
1287 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1288 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1289 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1290 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1292 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1293 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1295 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1296 (__slowpow): Use long double EXPL and LOGL functions to
1298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1299 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1302 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1303 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1306 intermediate variable to calculate exponent.
1308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1312 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1313 [!NO__SQR]: Define __sqr.
1314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1315 and NO__SQR. Remove all code except __mul and __sqr. Include
1316 sysdeps/ieee754/dbl-64/mpa.c.
1317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1320 * posix/Makefile (tests): Add tst-pathconf.
1321 * posix/tst-pathconf.c: New test case.
1322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1324 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1326 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1328 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1330 2013-03-06 Andreas Jaeger <aj@suse.de>
1332 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1333 definition via __MAP_ANONYMOUS.
1335 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1336 it's not part of Linux headers.
1338 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1339 (MAP_HUGE_MASK): Define.
1341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1343 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1344 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1346 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1347 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1349 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1350 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1352 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1354 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1355 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1356 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1357 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1358 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1359 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1365 Handle f2fs and efivarfs.
1367 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1370 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1371 (EFIVARFS_MAGIC): Add.
1372 (F2FS_LINK_MAX): Add.
1374 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1376 * stdio-common/vfprintf.c: Replace __builtin_expect with
1379 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1382 * sysdeps/generic/bp-sym.h: Remove file.
1383 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1384 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1385 <bp-sym.h> and <bp-asm.h>.
1386 (__longjmp): Don't use BP_SYM.
1387 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1389 (memcpy): Don't use BP_SYM.
1390 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1391 <bp-sym.h> and <bp-asm.h>.
1392 (memcpy): Don't use BP_SYM.
1393 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1395 (memcpy): Don't use BP_SYM.
1396 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1398 (memset): Don't use BP_SYM.
1399 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1400 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1401 (__bzero): Don't use BP_SYM.
1402 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1403 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1404 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1405 <bp-sym.h> and <bp-asm.h>.
1406 (memcmp): Don't use BP_SYM. Remove comment about bounded
1408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1409 <bp-sym.h> and <bp-asm.h>.
1410 (memcpy): Don't use BP_SYM.
1411 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1412 <bp-sym.h> and <bp-asm.h>.
1413 (memset): Don't use BP_SYM.
1414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1416 (__bzero): Don't use BP_SYM.
1417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1419 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1420 <bp-sym.h> and <bp-asm.h>.
1421 (strncmp): Don't use BP_SYM. Remove comment about bounded
1423 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1424 <bp-sym.h> and <bp-asm.h>.
1425 (memcpy): Don't use BP_SYM.
1426 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1427 <bp-sym.h> and <bp-asm.h>.
1428 (memset): Don't use BP_SYM.
1429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1431 (__bzero): Don't use BP_SYM.
1432 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1433 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1434 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1435 <bp-sym.h> and <bp-asm.h>.
1436 (__memchr): Don't use BP_SYM.
1437 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1438 <bp-sym.h> and <bp-asm.h>.
1439 (memcmp): Don't use BP_SYM. Remove comment about bounded
1441 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1442 <bp-sym.h> and <bp-asm.h>.
1443 (memcpy): Don't use BP_SYM.
1444 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1445 <bp-sym.h> and <bp-asm.h>.
1446 (__mempcpy): Don't use BP_SYM.
1447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1448 <bp-sym.h> and <bp-asm.h>.
1449 (__memrchr): Don't use BP_SYM.
1450 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1451 <bp-sym.h> and <bp-asm.h>.
1452 (memset): Don't use BP_SYM.
1453 (__bzero): Likewise.
1454 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1455 <bp-sym.h> and <bp-asm.h>.
1456 (__rawmemchr): Don't use BP_SYM.
1457 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1458 <bp-sym.h> and <bp-asm.h>.
1459 (__STRCMP): Don't use BP_SYM.
1460 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1461 <bp-sym.h> and <bp-asm.h>.
1462 (strchr): Don't use BP_SYM.
1463 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1464 <bp-sym.h> and <bp-asm.h>.
1465 (__strchrnul): Don't use BP_SYM.
1466 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1467 <bp-sym.h> and <bp-asm.h>.
1468 (strlen): Don't use BP_SYM.
1469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1470 <bp-sym.h> and <bp-asm.h>.
1471 (strncmp): Don't use BP_SYM. Remove comment about bounded
1473 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1474 <bp-sym.h> and <bp-asm.h>.
1475 (__strnlen): Don't use BP_SYM.
1476 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1477 <bp-sym.h> and <bp-asm.h>.
1478 (__GI__setjmp): Don't use BP_SYM.
1479 (_setjmp): Likewise.
1480 (__sigsetjmp): Likewise.
1481 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1482 (L(start_addresses)): Don't use BP_SYM.
1484 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1486 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1487 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1488 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1489 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1490 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1492 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1493 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1494 about bounded pointers.
1495 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1496 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1497 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1499 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1500 about bounded pointers. Remove GKM FIXME comments.
1501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1502 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1504 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1505 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1506 Remove GKM FIXME comments.
1507 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1508 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1509 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1511 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1512 about bounded pointers. Remove GKM FIXME comment.
1513 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1515 (strncmp): Don't use BP_SYM. Remove comment about bounded
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1518 <bp-sym.h> and <bp-asm.h>.
1519 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1521 <bp-sym.h> and <bp-asm.h>.
1522 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1525 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1527 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1530 2013-03-05 David S. Miller <davem@davemloft.net>
1532 * po/es.po: Update from translation team.
1534 2013-03-05 Andreas Jaeger <aj@suse.de>
1536 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1537 <bits/mman-linux.h>.
1538 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1541 <bits/mman-linux.h> to end of file.
1542 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1545 <bits/mman-linux.h> to end of file.
1546 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1549 <bits/mman-linux.h> to end of file.
1551 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1552 (MCL_CURRENT, MCL_FUTURE): Define here.
1554 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1559 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1561 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1563 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1564 fourth parameter needed for rt_sigprocmask syscall.
1565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1566 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1567 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1568 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1569 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1570 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1572 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1575 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1576 comment about bounded pointers.
1577 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1578 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1580 2013-03-04 Andreas Jaeger <aj@suse.de>
1582 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1586 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1592 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1596 __ieee754_sqrl instead of __sqrl.
1598 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1600 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1601 * sysdeps/powerpc/fpu_control.h: ... here.
1602 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1603 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1604 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1605 * sysdeps/powerpc/bits/mathinline.h: ... here.
1607 2013-03-01 Roland McGrath <roland@hack.frob.com>
1609 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1610 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1611 to just [NEED_DL_SYSINFO_DSO].
1612 * elf/dl-support.c: Likewise.
1613 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1614 * elf/rtld.c (dl_main): Likewise.
1615 * elf/setup-vdso.h (setup_vdso): Likewise.
1616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1617 * sysdeps/unix/sysv/linux/dl-sysdep.c
1618 (_dl_discover_osversion): Likewise.
1620 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1622 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1623 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1625 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1627 * NEWS: Mention libm performance improvements and non-x86 PI
1630 * csu/libc-start.c (__pthread_initialize_minimal): Change
1632 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1634 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1637 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1638 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1639 <bp-sym.h> and <bp-asm.h>.
1640 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1641 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1643 (memcpy): Don't use BP_SYM.
1644 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1646 (__mpn_add_n): Don't use BP_SYM.
1647 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1648 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1650 (__mpn_addmul_1): Don't use BP_SYM.
1651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1652 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1654 (_setjmp): Don't use BP_SYM.
1655 (__novmx_setjmp): Likewise.
1656 (__GI__setjmp): Likewise.
1657 (__vmx_setjmp): Likewise.
1658 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1660 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1661 (__bzero): Don't use BP_SYM.
1662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1664 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1665 <bp-sym.h> and <bp-asm.h>.
1666 (memcpy): Don't use BP_SYM.
1667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1668 <bp-sym.h> and <bp-asm.h>.
1669 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1671 <bp-sym.h> and <bp-asm.h>.
1672 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1673 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1675 (__mpn_lshift): Don't use BP_SYM.
1676 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1677 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1679 (memset): Don't use BP_SYM.
1680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1682 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1684 (__mpn_mul_1): Don't use BP_SYM.
1685 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1687 <bp-sym.h> and <bp-asm.h>.
1688 (memcmp): Don't use BP_SYM.
1689 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1690 <bp-sym.h> and <bp-asm.h>.
1691 (memcpy): Don't use BP_SYM.
1692 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1693 <bp-sym.h> and <bp-asm.h>.
1694 (memset): Don't use BP_SYM.
1695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1696 <bp-sym.h> and <bp-asm.h>.
1697 (strncmp): Don't use BP_SYM.
1698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1699 <bp-sym.h> and <bp-asm.h>.
1700 (memcpy): Don't use BP_SYM.
1701 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1702 <bp-sym.h> and <bp-asm.h>.
1703 (memset): Don't use BP_SYM.
1704 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1705 <bp-sym.h> and <bp-asm.h>.
1706 (__memchr): Don't use BP_SYM.
1707 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1708 <bp-sym.h> and <bp-asm.h>.
1709 (memcmp): Don't use BP_SYM.
1710 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1711 <bp-sym.h> and <bp-asm.h>.
1712 (memcpy): Don't use BP_SYM.
1713 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1714 <bp-sym.h> and <bp-asm.h>.
1715 (__mempcpy): Don't use BP_SYM.
1716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1717 <bp-sym.h> and <bp-asm.h>.
1718 (__memrchr): Don't use BP_SYM.
1719 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1720 <bp-sym.h> and <bp-asm.h>.
1721 (memset): Don't use BP_SYM.
1722 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1723 <bp-sym.h> and <bp-asm.h>.
1724 (__rawmemchr): Don't use BP_SYM.
1725 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1726 <bp-sym.h> and <bp-asm.h>.
1727 (__STRCMP): Don't use BP_SYM.
1728 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1729 <bp-sym.h> and <bp-asm.h>.
1730 (strchr): Don't use BP_SYM.
1731 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1732 <bp-sym.h> and <bp-asm.h>.
1733 (__strchrnul): Don't use BP_SYM.
1734 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1735 <bp-sym.h> and <bp-asm.h>.
1736 (strlen): Don't use BP_SYM.
1737 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1738 <bp-sym.h> and <bp-asm.h>.
1739 (strncmp): Don't use BP_SYM.
1740 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1741 <bp-sym.h> and <bp-asm.h>.
1742 (__strnlen): Don't use BP_SYM.
1743 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1745 (__mpn_rshift): Don't use BP_SYM.
1746 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1747 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1748 <bp-sym.h> and <bp-asm.h>.
1749 (__sigsetjmp): Don't use BP_SYM.
1750 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1751 (L(start_addresses)): Don't use BP_SYM.
1753 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1755 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1756 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1757 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1758 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1760 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1761 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1762 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1763 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1765 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1767 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1768 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1770 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1772 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1773 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1774 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1776 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1778 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1780 (strncmp): Don't use BP_SYM,
1781 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1783 (__mpn_sub_n): Don't use BP_SYM.
1784 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1785 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1787 (__mpn_submul_1): Don't use BP_SYM.
1788 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1790 <bp-sym.h> and <bp-asm.h>.
1791 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1793 <bp-sym.h> and <bp-asm.h>.
1794 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1797 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1800 Use ZK to minimize writes to Z.
1801 (sub_magnitudes): Simplify code a bit.
1802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1803 Use ZK to minimize writes to Z.
1804 (sub_magnitudes): Simplify code a bit.
1806 2013-02-27 Roland McGrath <roland@hack.frob.com>
1808 * csu/gmon-start.c: Add special exception to license text.
1810 2013-02-27 Richard Henderson <rth@redhat.com>
1812 * scripts/config.guess: Update from config.git.
1813 * scripts/config.sub: Likewise.
1815 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1819 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1821 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1823 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1825 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1827 2013-02-26 Roland McGrath <roland@hack.frob.com>
1829 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1830 [$(build-shared = yes].
1832 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1834 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1835 (__mul): Reduce iterations for calculating mantissa.
1837 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1839 (__mpranred): Likewise.
1842 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1843 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1845 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1847 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1848 Define __attribute__.
1850 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1852 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1854 * posix/regex_internal.h (__attribute): Remove.
1855 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1856 (re_string_context_at): Likewise.
1857 (bitset_not): Use __attribute__ and mark function as possibly
1859 (bitset_merge): Likewise.
1860 (bitset_mask): Likewise.
1861 (re_string_char_size_at): Likewise.
1862 (re_string_wchar_at): Likewise.
1863 (re_string_elem_size_at): Likewise.
1865 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1867 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1871 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1876 (__dbl_mp): Likewise.
1877 (add_magnitudes): Likewise.
1878 (sub_magnitudes): Likewise.
1882 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1885 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1888 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1892 up changes with default code.
1893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1896 2013-02-24 Allan McRae <allan@archlinux.org>
1898 * manual/socket.texi (The Internet Namespace): Order menu items
1899 to match that in the file.
1901 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1902 node listing of the info page menu.
1904 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1907 * sysdeps/i386/bp-asm.h: Remove file.
1908 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1909 (PARMS): Do not use macros from bp-asm.h.
1913 (__mpn_add_n): Do not use BP_SYM
1914 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1916 (PARMS): Do not use macros from bp-asm.h.
1919 (__mpn_addmul_1): Do not use BP_SYM
1920 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1922 (PARMS): Do not use macros from bp-asm.h.
1924 (_setjmp): Likewise. Do not use BP_SYM.
1925 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1927 (PARMS): Do not use macros from bp-asm.h.
1929 (setjmp): Likewise. Do not use BP_SYM.
1930 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1932 (PARMS): Do not use macros from bp-asm.h.
1933 (__frexp): Do not use BP_SYM.
1935 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1937 (PARMS): Do not use macros from bp-asm.h.
1938 (__frexpf): Do not use BP_SYM.
1940 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1942 (PARMS): Do not use macros from bp-asm.h.
1943 (__frexpl): Do not use BP_SYM.
1945 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1947 (PARMS): Do not use macros from bp-asm.h.
1948 (__remquo): Do not use BP_SYM.
1950 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1952 (PARMS): Do not use macros from bp-asm.h.
1953 (__remquof): Do not use BP_SYM.
1954 (remquof): Likewise.
1955 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1957 (PARMS): Do not use macros from bp-asm.h.
1958 (__remquol): Do not use BP_SYM.
1959 (remquol): Likewise.
1960 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1962 (PARMS): Do not use macros from bp-asm.h.
1965 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1966 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1968 (PARMS): Do not use macros from bp-asm.h.
1969 (strlen): Do not use BP_SYM.
1970 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1972 (PARMS): Do not use macros from bp-asm.h.
1976 (__mpn_add_n): Do not use BP_SYM.
1977 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1979 (PARMS): Do not use macros from bp-asm.h.
1982 (__mpn_addmul_1): Do not use BP_SYM.
1983 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1986 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1988 (PARMS): Do not use macros from bp-asm.h.
1991 (__mpn_lshift): Do not use BP_SYM.
1992 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1994 (PARMS): Do not use macros from bp-asm.h.
1998 (memcpy): Likewise. Do not use BP_SYM.
1999 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2000 libc_hidden_def and weak_alias.
2001 (mempcpy): Do not use BP_SYM in weak_alias.
2002 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2004 (PARMS): Do not use macros from bp-asm.h.
2007 [!BZERO_P] (CHR): Likewise.
2008 (memset): Likewise. Do not use BP_SYM.
2009 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2011 (PARMS): Do not use macros from bp-asm.h.
2014 (__mpn_mul_1): Do not use BP_SYM.
2015 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2017 (PARMS): Do not use macros from bp-asm.h.
2020 (__mpn_rshift): Do not use BP_SYM.
2021 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2023 (PARMS): Do not use macros from bp-asm.h.
2026 (strchr): Likewise. Do not use BP_SYM.
2027 (index): Do not use BP_SYM in weak_alias.
2028 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2030 (PARMS): Do not use macros from bp-asm.h.
2033 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2034 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2036 (PARMS): Do not use macros from bp-asm.h.
2037 (strlen): Do not use BP_SYM.
2038 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2040 (PARMS): Do not use macros from bp-asm.h.
2044 (__mpn_sub_n): Do not use BP_SYM.
2045 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2047 (PARMS): Do not use macros from bp-asm.h.
2050 (__mpn_submul_1): Do not use BP_SYM.
2051 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2053 (PARMS): Do not use macros from bp-asm.h.
2057 (__mpn_add_n): Do not use BP_SYM.
2058 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2061 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2063 (PARMS): Do not use macros from bp-asm.h.
2066 (memcmp): Do not use BP_SYM.
2067 (bcmp): Do not use BP_SYM in weak_alias.
2068 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2070 (PARMS): Do not use macros from bp-asm.h.
2074 (memcpy): Likewise. Do not use BP_SYM.
2075 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2077 (PARMS): Do not use macros from bp-asm.h.
2081 (memmove): Likewise. Do not use BP_SYM.
2082 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2084 (PARMS): Do not use macros from bp-asm.h.
2088 (__mempcpy): Likewise. Do not use BP_SYM.
2089 (mempcpy): Do not use BP_SYM in weak_alias.
2090 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2092 (PARMS): Do not use macros from bp-asm.h.
2095 [!BZERO_P] (CHR): Likewise.
2096 (memset): Likewise. Do not use BP_SYM.
2097 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2099 (PARMS): Do not use macros from bp-asm.h.
2101 (strcmp): Do not use BP_SYM.
2102 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2104 (PARMS): Do not use macros from bp-asm.h.
2107 [USE_AS_STRTOK_R] (SAVE): Likewise.
2108 (FUNCTION): Likewise. Do not use BP_SYM.
2109 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2111 (strtok_r): Likewise.
2112 (__GI___strtok_r): Likewise.
2113 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2114 (PARMS): Do not use macros from bp-asm.h.
2117 (__mpn_lshift): Do not use BP_SYM.
2118 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2119 (PARMS): Do not use macros from bp-asm.h.
2122 (__memchr): Do not use BP_SYM.
2123 (memchr): Do not use BP_SYM in weak_alias.
2124 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2125 (PARMS): Do not use macros from bp-asm.h.
2128 (memcmp): Do not use BP_SYM.
2129 (bcmp): Do not use BP_SYM in weak_alias.
2130 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2131 (PARMS): Do not use macros from bp-asm.h.
2134 (__mpn_mul_1): Do not use BP_SYM.
2135 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2137 (PARMS): Do not use macros from bp-asm.h.
2140 (__rawmemchr): Do not use BP_SYM.
2141 (rawmemchr): Do not use BP_SYM in weak_alias.
2142 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2143 (PARMS): Do not use macros from bp-asm.h.
2146 (__mpn_rshift): Do not use BP_SYM.
2147 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2148 (PARMS): Do not use macros from bp-asm.h.
2150 (__sigsetjmp): Likewise. Do not use BP_SYM.
2151 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2152 (_start): Do not use BP_SYM.
2153 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2154 (PARMS): Do not use macros from bp-asm.h.
2157 (__stpcpy): Likewise. Do not use BP_SYM.
2158 (stpcpy): Do not use BP_SYM in weak_alias.
2159 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2161 (PARMS): Do not use macros from bp-asm.h.
2165 (__stpncpy): Likewise. Do not use BP_SYM.
2166 (stpncpy): Do not use BP_SYM in weak_alias.
2167 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2168 (PARMS): Do not use macros from bp-asm.h.
2171 (strchr): Likewise. Do not use BP_SYM.
2172 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2174 (PARMS): Do not use macros from bp-asm.h.
2177 (__strchrnul): Likewise. Do not use BP_SYM.
2178 (strchrnul): Do not use BP_SYM in weak_alias.
2179 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2181 (PARMS): Do not use macros from bp-asm.h.
2183 (strcspn): Do not use BP_SYM.
2184 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2186 (PARMS): Do not use macros from bp-asm.h.
2189 (strpbrk): Likewise. Do not use BP_SYM.
2190 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2192 (PARMS): Do not use macros from bp-asm.h.
2195 (strrchr): Likewise. Do not use BP_SYM.
2196 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2197 (PARMS): Do not use macros from bp-asm.h.
2199 (strspn): Do not use BP_SYM.
2200 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2201 (PARMS): Do not use macros from bp-asm.h.
2205 (FUNCTION): Likewise. Do not use BP_SYM.
2206 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2208 (strtok_r): Likewise.
2209 (__GI___strtok_r): Likewise.
2210 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2211 (PARMS): Do not use macros from bp-asm.h.
2215 (__mpn_sub_n): Do not use BP_SYM.
2216 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2218 (PARMS): Do not use macros from bp-asm.h.
2221 (__mpn_submul_1): Do not use BP_SYM.
2222 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2224 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2226 (PARMS): Do not use macros from bp-asm.h.
2231 (__clone): Do not use BP_SYM.
2232 (clone): Do not use BP_SYM in weak_alias.
2233 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2235 (PARMS): Do not use macros from bp-asm.h.
2237 (__mmap64): Do not use BP_SYM.
2238 (mmap64): Do not use BP_SYM in weak_alias.
2239 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2240 <bp-sym.h> and <bp-asm.h>.
2241 (PARMS): Do not use macros from bp-asm.h.
2242 (__posix_fadvise64_l64): Do not use BP_SYM.
2243 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2244 (PARMS): Do not use macros from bp-asm.h.
2246 (semtimedop): Do not use BP_SYM.
2247 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2250 2013-02-21 Allan McRae <allan@archlinux.org>
2252 * manual/message.texi (Charset conversion in gettext):
2253 Move @end statement to beginning of line.
2255 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2267 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2269 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2270 tail-call to the resolved function if pltexit isn't needed.
2272 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2275 or Y being zero as being unlikely.
2276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2279 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2281 * manual/nss.texi (System Databases and Name Service Switch):
2282 Remove frobnicate @pxref.
2284 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2286 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2287 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2289 2013-02-20 Petr Machata <pmachata@redhat.com>
2291 * elf/elf.h (R_ARM_TARGET1): New macro.
2292 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2293 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2294 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2295 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2296 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2297 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2298 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2299 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2300 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2301 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2302 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2303 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2304 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2305 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2306 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2307 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2308 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2309 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2310 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2311 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2312 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2313 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2314 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2315 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2316 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2317 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2318 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2319 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2320 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2321 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2322 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2323 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2324 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2325 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2326 (R_ARM_THM_GOT_BREL12): Likewise.
2327 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2328 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2329 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2330 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2331 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2332 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2333 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2334 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2335 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2337 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2339 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2340 __attribute_used__ to __attribute__ ((unused)).
2342 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2344 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2350 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2353 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2355 (ENTER): Remove both macro definitions.
2357 (CHECK_BOUNDS_LOW): Likewise.
2358 (CHECK_BOUNDS_HIGH): Likewise.
2359 (CHECK_BOUNDS_BOTH): Likewise.
2360 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2361 (RETURN_BOUNDED_POINTER): Likewise.
2362 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2363 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2364 (POP_ERRNO_LOCATION_RETURN): Likewise.
2365 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2367 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2369 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2370 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2371 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2372 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2373 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2374 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2375 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2376 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2377 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2378 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2379 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2380 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2381 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2382 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2384 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2385 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2387 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2388 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2389 * sysdeps/i386/i586/memset.S (memset): Likewise.
2390 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2391 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2392 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2394 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2395 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2396 Change uses of L(2) to L(out).
2397 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2398 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2399 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2400 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2401 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2404 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2407 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2408 (RETURN): Do not use macro LEAVE.
2409 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2410 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2411 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2412 * sysdeps/i386/i686/memset.S (memset): Likewise.
2413 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2414 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2415 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2416 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2418 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2419 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2420 L(1_2) and L(1_3) into L(1).
2421 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2422 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2423 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2424 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2425 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2426 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2427 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2428 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2429 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2431 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2432 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2433 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2434 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2435 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2436 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2437 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2438 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2439 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2440 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2441 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2442 * sysdeps/i386/strspn.S (strspn): Likewise.
2443 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2445 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2446 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2447 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2448 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2450 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2451 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2452 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2454 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2456 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2458 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2461 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2463 * math/atest-exp.c (exp_mpn): Remove ROUND.
2464 * math/atest-exp2.c (exp_mpn): Likewise.
2465 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2467 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2468 * stdlib/tst-tls-atexit-lib.c: Likewise.
2469 * stdlib/tst-tls-atexit.c: Likewise.
2471 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2473 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2474 and __attribute_alloc_size__.
2476 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2478 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2479 __attribute_alloc_size__.
2480 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2481 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2483 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2485 * include/programs/xmalloc.h: New file.
2486 * catgets/gencat.c: Include it.
2487 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2488 * elf/pldd.c: Likewise.
2489 * iconv/iconv_charmap.c: Likewise.
2490 * iconv/iconvconfig.c: Likewise.
2491 * iconv/strtab.c: Likewise.
2492 * locale/programs/locale.c: Likewise.
2493 * locale/programs/localedef.h: Likewise.
2494 * locale/programs/simple-hash.c: Likewise.
2495 * nscd/nscd.h: Likewise.
2496 * nss/makedb.c: Likewise.
2497 * sysdeps/generic/ldconfig.h: Likewise.
2499 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2501 * Versions.def: Add GLIBC_2.18.
2502 * include/link.h (struct link_map): New member l_tls_dtor_count.
2503 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2504 (__call_tls_dtors): Likewise.
2505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2506 __cxa_thread_atexit_impl.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2523 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2524 (tests): Add test case tst-tls-atexit.
2525 (modules-names): Add shared library for tst-tls-atexit.
2526 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2527 (GLIBC_PRIVATE): Add __call_tls_dtors.
2528 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2530 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2531 * stdlib/tst-tls-atexit.c: New test case.
2532 * stdlib/tst-tls-atexit-lib.c: New test case.
2534 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2536 * elf/Versions (ld): Add _dl_find_dso_for_object.
2537 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2538 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2539 (dl_open_worker): Use _dl_find_dso_for_object.
2540 * elf/dl-sym.c (do_sym): Likewise.
2541 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2543 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2545 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2546 Syntactic changes only.
2547 (_dl_runtime_profile): Do a tail-call to the resolved function.
2549 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2552 * sysdeps/x86_64/bp-asm.h: Remove file.
2553 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2554 <bp-sym.h> and <bp-asm.h>.
2555 (__clone): Do not use BP_SYM.
2556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2557 <bp-sym.h> and <bp-asm.h>.
2558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2559 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2561 (_setjmp): Do not use BP_SYM.
2562 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2564 (setjmp): Do not use BP_SYM.
2565 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2567 (mempcpy): Do not use BP_SYM in weak_alias.
2568 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2570 (strchr): Do not use BP_SYM.
2571 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2573 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2574 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2575 (_start): Do not use BP_SYM.
2576 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2578 (strcat): Do not use BP_SYM.
2579 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2581 (STRCMP): Do not use BP_SYM.
2582 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2584 (STRCPY): Do not use BP_SYM.
2585 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2587 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2589 (FUNCTION): Do not use BP_SYM.
2590 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2592 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2594 2013-02-17 Andreas Jaeger <aj@suse.de>
2596 * time/Versions: Sort entries.
2597 * string/Versions: Likewise.
2598 * resolv/Versions: Likewise.
2599 * posix/Versions: Likewise.
2600 * iconv/Versions: Likewise.
2601 * elf/Versions: Likewise.
2602 * wcsmbs/Versions: Likewise.
2604 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2607 loop termination condition.
2609 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2610 variable to calculate EZ.
2613 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2614 the lower precision input.
2616 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2619 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2620 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2621 (run-via-rtld-prefix): Do not handle %-bp tests.
2622 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2623 (all-object-suffixes): Remove .ob.
2624 (bppfx): Remove variable.
2625 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2626 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2627 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2628 [$(build-bounded) = yes] (libtype.ob): Likewise.
2629 * Makerules (elide-routines.ob): Remove variable.
2630 (do-tests-clean): Do not handle *-bp.out.
2631 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2632 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2633 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2634 (tests): Do not include $(tests-bp.out).
2635 (xtests): Do not include $(xtests-bp.out).
2636 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2637 [$(build-bounded) = yes] ($(addprefix
2638 $(objpfx),$(binaries-bounded))): Remove rule.
2639 ($(objpfx)%-bp.out): Remove rule.
2640 * config.make.in (build-bounded): Remove variable.
2641 * crypt/Makefile [$(build-bounded) = yes]
2642 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2643 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2645 [$(build-bounded) = yes] (install-lib): Likewise.
2646 [$(build-bounded) = yes] (generated): Likewise.
2647 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2649 * intl/Makefile [$(build-bounded) = yes]
2650 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2651 * math/Makefile [$(build-bounded) = yes]
2652 ($(tests:%=$(objpfx)%-bp): Likewise.
2653 * misc/Makefile [$(build-bounded) = yes]
2654 ($(objpfx)tst-tsearch-bp): Likewise.
2655 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2656 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2658 * string/Makefile (o-objects.ob): Remove variable.
2659 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2660 (CFLAGS-.ob): Remove variable.
2661 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2662 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2663 both definitions of variable.
2664 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2665 (ASFLAGS-.ob): Remove variable.
2667 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2670 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2671 Remove __BOUNDED_POINTERS__ from condition.
2672 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2673 * string/bits/string2.h [!__NO_STRING_INLINES &&
2674 !__BOUNDED_POINTERS__]: Likewise.
2675 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2677 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2678 Remove conditional code.
2679 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2680 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2681 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2685 * csu/libc-start.c: Do not include <bp-sym.h>.
2686 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2687 * elf/dl-open.c: Do not include <bp-sym.h>.
2688 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2689 * math/fegetenv.c: Do not include <bp-sym.h>.
2690 (fegetenv): Do not use BP_SYM in versioned symbols.
2691 * nptl/sysdeps/pthread/bits/libc-lockP.h
2692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2695 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2697 (__pthread_mutex_destroy): Likewise.
2698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2699 (__pthread_mutex_lock): Likewise.
2700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2701 (__pthread_mutex_trylock): Likewise.
2702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2703 (__pthread_mutex_unlock): Likewise.
2704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2705 (__pthread_mutexattr_init): Likewise.
2706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2707 (__pthread_mutexattr_destroy): Likewise.
2708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2709 (__pthread_mutexattr_settype): Likewise.
2710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2711 (__pthread_rwlock_init): Likewise.
2712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2713 (__pthread_rwlock_destroy): Likewise.
2714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2715 (__pthread_rwlock_rdlock): Likewise.
2716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2717 (__pthread_rwlock_tryrdlock): Likewise.
2718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2719 (__pthread_rwlock_wrlock): Likewise.
2720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2721 (__pthread_rwlock_trywrlock): Likewise.
2722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2723 (__pthread_rwlock_unlock): Likewise.
2724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2725 (__pthread_key_create): Likewise.
2726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2727 (__pthread_setspecific): Likewise.
2728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2729 (__pthread_getspecific): Likewise.
2730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2733 (_pthread_cleanup_push_defer): Likewise.
2734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2735 (_pthread_cleanup_pop_restore): Likewise.
2736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2737 (pthread_setcancelstate): Likewise.
2738 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2740 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2741 (memchr): Do not use BP_SYM in weak_alias.
2742 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2743 (fegetenv): Do not use BP_SYM in versioned symbols.
2744 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2745 (fesetenv): Do not use BP_SYM in versioned symbols.
2746 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2747 (feupdateenv): Do not use BP_SYM in versioned symbols.
2748 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2749 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2750 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2751 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2752 (open64): Do not use BP_SYM in weak_alias.
2753 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2754 (fegetenv): Do not use BP_SYM in versioned symbols.
2755 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2756 (fesetenv): Do not use BP_SYM in versioned symbols.
2757 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2758 (feupdateenv): Do not use BP_SYM in versioned symbols.
2759 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2760 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2761 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2762 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2763 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2764 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2765 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2767 (__libc_start_main): Do not use BP_SYM.
2769 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2772 redundant return line.
2776 (sub_magnitudes): Likewise.
2782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2786 (sub_magnitudes): Likewise.
2793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2795 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2796 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2799 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2800 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2802 of __mul for squares.
2803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2810 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2813 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2815 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2816 prototype or function definition. Rename ubp_* variables and
2817 parameters. Remove argv definitions conditional on
2818 [__BOUNDED_POINTERS__].
2819 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2820 * elf/dl-runtime.c (_dl_fixup): Likewise.
2821 * include/set-hooks.h (RUN_HOOK): Likewise.
2822 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2824 * string/strcpy.c (strcpy): Do not use __unbounded.
2825 * sysdeps/generic/frame.h (struct layout): Likewise.
2826 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2827 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2828 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2829 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2830 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2831 (__backtrace): Likewise.
2832 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2834 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2835 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2836 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2838 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2839 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2840 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2841 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2842 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2843 Do not use __unbounded.
2844 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2845 Rename __unboundedrlimits parameter to rlimits in prototype.
2846 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2847 Do not use __unbounded.
2848 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2850 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2851 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2852 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2853 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2854 __ptrvalue or __unbounded.
2855 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2856 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2858 (__new_msgctl): Do not use __ptrvalue.
2859 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2861 (__libc_msgrcv): Do not use __ptrvalue.
2862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2863 startup_info): Do not use __unbounded.
2864 (__libc_start_main): Likewise. Rename ubp_* variables and
2865 parameters. Remove argv definitions conditional on
2866 [__BOUNDED_POINTERS__].
2867 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2869 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2873 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2875 (__new_shmctl): Do not use __ptrvalue.
2876 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2877 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2879 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2881 (__libc_sigaction): Likewise.
2882 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2883 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2885 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2887 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2889 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2891 * string/mempcpy.c: Implement by calling memcpy.
2893 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2900 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2901 values in the mantissa.
2903 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2904 minimize writes to Z.
2905 (sub_magnitudes): Simplify code a bit.
2907 2013-02-12 Roland McGrath <roland@hack.frob.com>
2909 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2910 from the message. The linker prefixes all warnings with that already.
2912 2013-02-12 Andreas Schwab <schwab@suse.de>
2915 * posix/regexec.c (extend_buffers): Add parameter min_len.
2916 (check_matching): Pass minimum needed length.
2917 (clean_state_log_if_needed): Likewise.
2918 (get_subexp): Likewise.
2919 * posix/Makefile (tests): Add bug-regex34.
2920 (bug-regex34-ENV): Define.
2921 * posix/bug-regex34.c: New file.
2924 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2925 elements compare against the byte sequence of it, not its name.
2926 * posix/Makefile (tests): Add bug-regex35.
2927 (bug-regex35-ENV): Define.
2928 * posix/bug-regex35.c: New file.
2930 2013-02-11 Tom de Vries <tom@codesourcery.com>
2932 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2934 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2935 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2936 (CHECK_EOL): Add undef.
2938 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2940 * bits/stdlib-bsearch.h: New file.
2941 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2942 * stdlib/stdlib.h: Likewise.
2944 2013-02-11 Roland McGrath <roland@hack.frob.com>
2946 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2947 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2949 * manual/search.texi (Array Search Function): Add missing const in
2951 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2952 declaration to use rlim_t.
2953 (Basic Scheduling Functions): Remove erroneous const from
2954 sched_getparam prototype. Remove erroneous * from
2955 sched_get_priority_max and sched_get_priority_min prototypes.
2956 (Resource Usage): Fix summary @comment on vtimes to refer to
2957 sys/vtimes.h rather than vtimes.h.
2958 Add missing *s in vtimes prototype.
2959 (Limits on Resources): Fix ulimit prototype to return long int.
2960 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2961 prototypes to use long int rather than double.
2962 (BSD Random): Fix initstate and setstate to use char *, not void *.
2963 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2964 prototype to make second argument 'struct aiocb64 *const[]'.
2965 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2966 (Status of AIO Operations): Remove erroneous const in aio_return and
2967 aio_return64 prototypes.
2968 (Synchronizing I/O): Fix sync prototype to return void.
2969 * manual/startup.texi (Suboptions): Remove an erroneous const in
2970 getsubopt prototype.
2971 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2972 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2973 use size_t rather than int.
2974 (Scanning All Users): Likewise for getpwent_r.
2975 (Setting Groups): Add missing const to setgroups prototype.
2976 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2977 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2978 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2979 'const void *' rather than 'const char *'.
2980 (Host Address Functions): Likewise for inet_ntop.
2981 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2982 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2983 ssize_t for return value.
2984 (Sending Data): Likewise for send, sendto, sendmsg.
2985 (Socket Option Functions): Add a missing const in setsockopt prototype.
2986 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2987 use wchar_t for the argument.
2988 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2989 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2991 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2992 double/float/long double for second argument.
2993 Fix return types of significand, significandf, significandl.
2994 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2995 argument in fchmod prototype.
2996 (File Owner): Use uid_t and gid_t in fchown prototype.
2997 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2998 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2999 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3000 use 'const struct dirent **' as argument types to CMP function pointer
3002 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3003 (File Times): Fix summary magic @comment for struct utimbuf and utime
3004 to refer to utime.h, not time.h.
3005 * manual/string.texi (Argz Functions): Add missing const in
3006 argz_extract and argz_next prototypes.
3007 (Finding Tokens in a String): Likewise for basename.
3008 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3009 (Copying and Concatenation): Fix typo in wmemmove prototype.
3010 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3011 (Signal Stack): Remove erroneous const in sigstack prototype.
3012 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3014 (Simple Calendar Time): Likewise for stime.
3015 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3017 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3018 say sys/sysctl.h instead.
3019 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3020 and vsyslog prototypes.
3022 2013-02-11 Tom de Vries <tom@codesourcery.com>
3024 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3027 2013-02-11 Roland McGrath <roland@hack.frob.com>
3029 * misc/sys/mman.h: Fix typo in mremap comment.
3031 2013-02-08 Roland McGrath <roland@hack.frob.com>
3033 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3034 the '\0' terminator.
3036 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3039 * debug/segfault.c: Don't include <bp-checks.h>.
3040 * sysdeps/generic/bp-checks.h: Remove file.
3041 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3042 (__GETDENTS): Don't use CHECK_N.
3043 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3044 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3045 (__getgroups): Don't use CHECK_N.
3046 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3047 (setgroups): Don't use CHECK_N.
3048 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3049 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3050 (__libc_msgrcv): Don't use CHECK_N.
3051 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3052 (__libc_msgsnd): Don't use CHECK_N.
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3055 (__libc_pread): Don't use CHECK_N.
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3057 include <bp-checks.h>.
3058 (__libc_pread64): Don't use CHECK_N.
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3060 include <bp-checks.h>.
3061 (__libc_pwrite): Don't use CHECK_N.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3063 include <bp-checks.h>.
3064 (__libc_pwrite64): Don't use CHECK_N.
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3067 (__libc_pread): Don't use CHECK_N.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3069 include <bp-checks.h>.
3070 (__libc_pread64): Don't use CHECK_N.
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3072 include <bp-checks.h>.
3073 (__libc_pwrite): Don't use CHECK_N.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3075 include <bp-checks.h>.
3076 (__libc_pwrite64): Don't use CHECK_N.
3077 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3078 (do_pread): Don't use CHECK_N.
3079 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3080 (do_pread64): Don't use CHECK_N.
3081 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3082 (do_pwrite): Don't use CHECK_N.
3083 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3084 (do_pwrite64): Don't use CHECK_N.
3085 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3086 (__libc_readv): Don't use CHECK_N.
3087 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3088 (semop): Don't use CHECK_N.
3089 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3091 (semtimedop): Don't use CHECK_N.
3092 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3093 (__libc_pread): Don't use CHECK_N.
3094 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3096 (__libc_pread64): Don't use CHECK_N.
3097 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3099 (__libc_pwrite): Don't use CHECK_N.
3100 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3102 (__libc_pwrite64): Don't use CHECK_N.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3105 (__libc_msgrcv): Don't use CHECK_N.
3106 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3107 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3108 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3109 (__libc_writev): Don't use CHECK_N.
3111 2013-02-08 Roland McGrath <roland@hack.frob.com>
3113 * string/strcpy.c: Removed unused variable.
3115 * Makeconfig (+sysdep-includes): Define with := rather than =.
3116 Use an existing include/ subdir of each sysdeps dir before it.
3118 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3120 * nscd/connection.c (register_traced_file): Comment function.
3121 [HAVE_INOTIFY] (union __inev): Define.
3122 [HAVE_INOTIFY] (inotify_check_files): New function.
3123 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3124 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3126 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3128 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3130 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3131 loaded if not already and that a failure is permanent.
3133 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3136 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3137 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3139 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3142 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3143 (CHECK_1_NULL_OK): Likewise.
3144 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3145 (__fxstat): Do not use CHECK_1.
3146 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3148 (___fxstat64): Do not use CHECK_1.
3149 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3151 (__fxstatat): Do not use CHECK_1.
3152 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3154 (__fxstatat64): Do not use CHECK_1.
3155 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3157 (__fxstat): Do not use CHECK_1.
3158 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3160 (__fxstatat): Do not use CHECK_1.
3161 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3163 (__getresgid): Do not use CHECK_1.
3164 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3166 (__getresuid): Do not use CHECK_1.
3167 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3169 (__lxstat): Do not use CHECK_1.
3170 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3172 (__old_msgctl): Do not use CHECK_1.
3173 (__new_msgctl): Likewise.
3174 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3176 (__new_setrlimit): Do not use CHECK_1.
3177 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3179 (__old_shmctl): Do not use CHECK_1.
3180 (__new_shmctl): Likewise.
3181 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3183 (__xstat): Do not use CHECK_1.
3184 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3185 (__lxstat): Do not use CHECK_1.
3186 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3188 (___lxstat64): Do not use CHECK_1.
3189 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3190 (__old_msgctl): Do not use CHECK_1.
3191 (__new_msgctl): Likewise.
3192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3194 (__gettimeofday): Do not use CHECK_1.
3195 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3196 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3197 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3199 (__gettimeofday): Do not use CHECK_1.
3200 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3201 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3202 (__new_shmctl): Do not use CHECK_1.
3203 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3205 (do_sigtimedwait): Do not use CHECK_1.
3206 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3208 (do_sigwaitinfo): Do not use CHECK_1.
3209 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3211 (msgctl): Do not use CHECK_1.
3212 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3214 (shmctl): Do not use CHECK_1.
3215 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3216 (ustat): Do not use CHECK_1.
3217 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3219 (__fxstat): Do not use CHECK_1.
3220 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3222 (__fxstatat): Do not use CHECK_1.
3223 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3225 (__lxstat): Do not use CHECK_1.
3226 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3228 (__xstat): Do not use CHECK_1.
3229 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3230 (__xstat): Do not use CHECK_1.
3231 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3232 (___xstat64): Do not use CHECK_1.
3235 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3237 (CHECK_BOUNDS_HIGH): Likewise.
3238 * string/strcpy.c: Do not include <bp-checks.h>.
3239 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3241 2013-02-07 Roland McGrath <roland@hack.frob.com>
3243 * nscd/nscd-client.h (__nscd_drop_map_ref):
3244 Add __attribute__ ((unused)).
3245 * nis/nss-nisplus.h (niserr2nss): Likewise.
3247 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3248 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3250 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3251 Remove inline keyword.
3252 * include/rounding-mode.h (round_away): Likewise.
3253 * libio/wfileops.c (adjust_wide_data): Likewise.
3254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3255 (__m128i_strloadu_tolower): Likewise.
3256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3257 (__m128i_strloadu_tolower): Likewise.
3258 * time/mktime.c (ydhms_diff): Likewise.
3259 * locale/elem-hash.h (elem_hash): Likewise.
3260 * locale/setlocale.c (setdata): Likewise.
3261 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3262 (re_string_wchar_at): Likewise.
3263 (bitset_not, bitset_merge, bitset_mask): Likewise.
3264 [!(__GNUC__ > 3)] (inline): Remove macro.
3265 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3266 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3267 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3268 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3269 * string/memcmp.c (memcmp_bytes): Likewise.
3270 * locale/programs/locarchive.c (compute_hashval): Likewise.
3271 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3272 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3273 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3274 * nss/getent.c (print_rpc, print_protocols): Likewise.
3275 (print_passwd, print_group, print_aliases): Likewise.
3276 * nis/nss-nisplus.h (niserr2nss): Likewise.
3277 * nscd/connections.c (restart_p): Likewise.
3278 Change return type to bool.
3280 2013-02-05 Roland McGrath <roland@hack.frob.com>
3282 * Makeconfig (all-Depend-files): Add existing
3283 $(sorted-subdirs:=/Depend) files.
3284 (all-subdirs): Remove nss.
3285 * sysdeps/unix/inet/Subdirs: Add it here instead.
3286 * hesiod/Depend: New file.
3288 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3289 instead of calling alloca.
3291 * io/lseek.c (__lseek): Rename to __libc_lseek.
3292 Define __lseek as an alias.
3294 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3296 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3298 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3299 else clause and remove check for non-standard endianness.
3301 2013-02-04 David S. Miller <davem@davemloft.net>
3303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3305 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3308 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3309 (__ubp_memchr): Remove prototype.
3310 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3311 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3312 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3313 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3314 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3316 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3317 (__ubp_memchr): Likewise.
3318 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3319 (__ubp_memchr): Likewise.
3320 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3321 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3322 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3323 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3325 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3326 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3327 (__getcwd): Do not use CHECK_STRING.
3328 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3330 (__real_chown): Do not use CHECK_STRING.
3331 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3333 (fchownat): Do not use CHECK_STRING.
3334 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3336 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3338 (__lchown): Do not use CHECK_STRING.
3339 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3340 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3341 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3342 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3344 include <bp-checks.h>.
3345 (truncate64): Do not use CHECK_STRING.
3346 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3348 (__real_chown): Do not use CHECK_STRING.
3349 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3351 (__lchown): Do not use CHECK_STRING.
3352 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3354 (__chown): Do not use CHECK_STRING.
3355 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3357 (truncate64): Do not use CHECK_STRING.
3358 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3360 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3361 (__xmknod): Do not use CHECK_STRING.
3362 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3364 (__xmknodat): Do not use CHECK_STRING.
3365 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3366 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3368 2013-02-04 Andreas Schwab <schwab@suse.de>
3371 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3372 * include/netdb.h: Likewise for h_errno.
3373 * elf/tst-stackguard1.c: Include <tls.h>.
3375 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3377 * elf/link.h (struct link_map): Extend the l_addr comment.
3378 * include/link.h (struct link_map): Likewise.
3380 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3383 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3384 (BOUNDED_1): Remove macro.
3385 * debug/backtrace.c: Don't include <bp-checks.h>.
3386 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3387 (__backtrace): Likewise.
3388 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3390 (__backtrace): Don't use BOUNDED_1.
3391 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3393 (__backtrace): Don't use BOUNDED_1.
3394 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3395 (__backtrace): Don't use BOUNDED_1.
3396 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3397 (shmat): Don't use BOUNDED_N.
3399 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3402 * sysdeps/generic/bp-start.h: Remove file.
3403 * csu/libc-start.c: Don't include <bp-start.h>.
3404 (LIBC_START_MAIN): Set up __environ directly instead of using
3405 INIT_ARGV_and_ENVIRON.
3406 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3410 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3412 (CHECK_FCNTL): Likewise.
3413 (CHECK_N_PAGES): Likewise.
3416 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3418 (CHECK_SIGSET_NULL_OK): Likewise.
3419 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3421 (sigpending): Don't use CHECK_SIGSET.
3422 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3424 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3425 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3427 (do_sigsuspend): Don't use CHECK_SIGSET.
3428 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3430 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3431 (do_sigwait): Don't use CHECK_SIGSET.
3432 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3435 include <bp-checks.h>.
3436 (sigpending): Don't use CHECK_SIGSET.
3437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3438 include <bp-checks.h>.
3439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3440 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3442 (sigpending): Don't use CHECK_SIGSET.
3443 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3445 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3448 * sysdeps/generic/bp-semctl.h: Remove file.
3449 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3450 <bp-checks.h> and <bp-semctl.h>.
3451 (__old_semctl): Don't use CHECK_SEMCTL.
3452 (__new_semctl): Likewise.
3453 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3455 (__old_semctl): Don't use CHECK_SEMCTL.
3456 (__new_semctl): Likewise.
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3458 <bp-checks.h> and <bp-semctl.h>.
3459 (__old_semctl): Don't use CHECK_SEMCTL.
3460 (__new_semctl): Likewise.
3461 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3462 <bp-checks.h> and <bp-semctl.h>.
3463 (semctl): Don't use CHECK_SEMCTL.
3466 * Makerules (elide-bp-thunks): Remove variable.
3467 (elide-routines.oS): Don't use $(elide-bp-thunks).
3468 (elide-routines.os): Likewise.
3469 (elide-routines.o): Likewise.
3470 (elide-routines.op): Likewise.
3471 (elide-routines.og): Likewise.
3472 (objects): Don't use $(bp-thunks).
3473 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3475 (common-generated): Do not add s-proto-bp.d.
3476 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3479 Do not generate makefile rules for bounded-pointer thunks.
3480 * sysdeps/generic/bp-thunks.h: Remove file.
3481 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3482 * sysdeps/unix/s-proto-bp.S: Likewise.
3485 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3486 parts of result separately when argument is not close to line from
3487 -i to i and one part of argument is small.
3488 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3489 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3490 * math/libm-test.inc (cacos_test): Add more tests.
3491 (casin_test): Likewise.
3492 (casinh_test): Likewise.
3493 * sysdeps/i386/fpu/libm-test-ulps: Update.
3494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3496 2013-01-31 David S. Miller <davem@davemloft.net>
3498 * po/de.po: Update from translation team.
3500 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3502 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3504 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3506 * configure.in (_AC_PROG_CC_C89): New definition.
3507 * configure: Regenerate.
3509 * configure.in (AC_PROG_CPP): New definition.
3510 * configure: Regenerate.
3512 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3514 * debug/tst-backtrace.h: New file.
3515 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3516 (ret): Remove variable.
3518 (FAIL): Remove macro.
3519 (NO_INLINE): Likewise.
3520 (fn1): Use match function instead of strstr.
3521 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3522 (ret): Remove variable.
3524 (FAIL): Remove macro.
3525 (NO_INLINE): Likewise.
3526 (fn): Use match function instead of strstr.
3527 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3528 (ret): Remove variable.
3530 (FAIL): Remove macro.
3531 (NO_INLINE): Likewise.
3532 (handle_signal): Use match function instead of strstr.
3533 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3534 (ret): Remove variable.
3536 (FAIL): Remove macro.
3537 (NO_INLINE): Likewise.
3538 (handle_signal): Use match function instead of strstr.
3540 2013-01-23 Roland McGrath <roland@hack.frob.com>
3542 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3544 2013-01-23 David S. Miller <davem@davemloft.net>
3546 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3547 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3548 argument of CAS if possible.
3549 * sysdeps/sparc/sparc64/bits/atomic.h
3550 (__arch_compare_and_exchange_val_32_acq): Likewise.
3551 (__arch_compare_and_exchange_val_64_acq): Likewise.
3553 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3555 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3556 * sysdeps/posix/ulimit.c: ... this.
3558 * sysdeps/unix/bsd/ulimit.c: Remove file.
3560 2013-01-23 Adam Conrad <adconrad@0c3.net>
3562 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3563 (LDFLAGS-tst-array5): Likewise.
3565 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3568 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3569 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3570 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3571 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3573 2013-01-21 David S. Miller <davem@davemloft.net>
3575 * sysdeps/sparc/backtrace.c: New file.
3576 * sysdeps/sparc/sparc32/backtrace.h: New file.
3577 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3578 * sysdeps/sparc/sparc64/backtrace.h: New file.
3579 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3580 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3583 2013-01-21 Andreas Schwab <schwab@suse.de>
3586 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3589 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3595 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3596 Mark Mitchell <mark@codesourcery.com>
3597 Tom de Vries <tom@codesourcery.com>
3598 Paul Pluzhnikov <ppluzhnikov@google.com>
3600 * debug/tst-backtrace2.c: New file.
3601 * debug/tst-backtrace3.c: Likewise.
3602 * debug/tst-backtrace4.c: Likewise.
3603 * debug/tst-backtrace5.c: Likewise.
3604 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3605 (CFLAGS-tst-backtrace3.c): Likewise.
3606 (CFLAGS-tst-backtrace4.c): Likewise.
3607 (CFLAGS-tst-backtrace5.c): Likewise.
3608 (LDFLAGS-tst-backtrace2): Likewise.
3609 (LDFLAGS-tst-backtrace3): Likewise.
3610 (LDFLAGS-tst-backtrace4): Likewise.
3611 (LDFLAGS-tst-backtrace5): Likewise.
3612 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3613 tst-backtrace4 and tst-backtrace5.
3615 2013-01-18 Anton Blanchard <anton@samba.org>
3616 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3618 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3619 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3621 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3623 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3624 "+r" and remove output regs list as redundant. Add explicit inline
3625 asm to specify register of return val to work around compiler codegen
3626 bug. Remove (int) cast on return value. Add return type parameter to
3627 use in macro so that this macro does not truncate return value for
3629 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3630 pass to INTERNAL_VSYSCALL_NCS.
3631 (INLINE_VSYSCALL): Add 'long int' as return type to
3632 INTERNAL_VSYSCALL_NCS macro invocation.
3633 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3634 INTERNAL_VSYSCALL_NCS macro invocation.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3637 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3640 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3641 Fix application of SIMD FP exception mask.
3643 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3644 mp_no from a power of two.
3645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3646 __mpexp_twomm1. Use __pow_mp.
3648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3651 2013-01-17 David S. Miller <davem@davemloft.net>
3653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3655 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3658 * include/complex.h: Condition contents on [!_COMPLEX_H].
3659 (__kernel_casinhf): New prototype.
3660 (__kernel_casinh): Likewise.
3661 (__kernel_casinhl): Likewise.
3662 * math/Makefile (libm_calls): Add k_casinh.
3663 * math/k_casinh.c: New file.
3664 * math/k_casinhf.c: Likewise.
3665 * math/k_casinhl.c: Likewise.
3666 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3667 finite nonzero arguments.
3668 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3669 finite nonzero arguments.
3670 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3671 finite nonzero arguments.
3672 * math/s_casinh.c: Do not include <float.h>.
3673 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3674 * math/s_casinhf.c: Do not include <float.h>.
3675 (__casinhf): Move code for finite nonzero arguments to
3677 * math/s_casinhl.c: Do not include <float.h>.
3678 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3680 (__casinhl): Move code for finite nonzero arguments to
3682 * math/libm-test.inc (cacos_test): Add more tests.
3683 * sysdeps/i386/fpu/libm-test-ulps: Update.
3684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3686 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3688 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3689 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3690 [!HAVE_MREMAP]: Remove [defined linux] case.
3691 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3693 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3695 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3697 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3699 * elf/elf.h (R_386_SIZE32): New relocation.
3700 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3702 (elf_machine_rela): Likewise.
3703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3704 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3706 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3708 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3709 (FP_FAST_FMA): Do not define.
3710 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3711 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3712 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3713 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3714 !_SOFT_FLOAT]: Likewise.
3715 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3716 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3718 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3719 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3720 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3722 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3723 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3726 2013-01-16 Andreas Schwab <schwab@suse.de>
3729 * include/stdlib.h (__mktemp): Add declaration.
3730 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3731 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3733 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3735 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3737 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3738 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3739 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3741 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3742 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3744 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3746 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3747 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3748 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3750 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3751 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3753 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3755 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3757 2013-01-15 David S. Miller <davem@davemloft.net>
3759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3760 trunc{,f} to libm-sysdep_routes.
3761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3779 nearbyint{,f} to libm-sysdep_routes.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3791 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3793 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3796 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3797 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3798 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3800 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3801 libc_feholdexcept and libc_fesetenv.
3803 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3805 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3807 2013-01-14 David S. Miller <davem@davemloft.net>
3809 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3810 (SPARC_ASM_VIS2_IFUNC): Likewise.
3811 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3813 use of 'siam' instruction.
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3847 routines to libm-sysdep_routines.
3848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3851 fdim/fdimf to libm-sysdep_routines.
3852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3860 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3861 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3862 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3863 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3865 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3870 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3875 local variable MPTWO.
3876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3879 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3881 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3884 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3886 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3888 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3890 * manual/pattern.texi (glob_t): Document gl_flags.
3891 (glob64_t): Likewise.
3893 2013-01-11 David S. Miller <davem@davemloft.net>
3895 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3896 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3897 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3898 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3899 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3900 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3901 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3902 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3903 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3904 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3905 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3906 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3907 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3909 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3910 sparc V9 rather than using V8 code.
3911 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3912 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3916 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3919 2013-01-11 Roland McGrath <roland@hack.frob.com>
3921 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3922 not in the main loop.
3923 * configure: Regenerated.
3925 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3927 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3928 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3930 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3931 [!__GLIBC_HAVE_LONG_LONG] case.
3932 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3933 condition to just #else.
3934 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3935 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3936 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3937 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3939 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3940 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3941 #elif condition to just #else.
3942 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3943 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3944 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3945 #elif condition to just #else.
3947 2013-01-11 Steve Ellcey <sellcey@mips.com>
3949 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3950 (EF_MIPS_ARCH_64): Fix value.
3951 (EF_MIPS_ARCH_32R2): New.
3952 (EF_MIPS_ARCH_64R2): New.
3954 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3956 * Makeconfig (+link-pie-before-libc): New.
3957 (+link-pie-after-libc): Likewise.
3958 (+link-pie-tests): Likewise.
3959 (+link-pie): Rewritten.
3960 (link-before-libc): Remove $(config-LDFLAGS).
3961 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3962 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3963 (config-LDFLAGS): Renamed to ...
3964 (rtld-LDFLAGS): This.
3965 (rtld-tests-LDFLAGS): New macro.
3966 (link-libc-rpath-link): Likewise.
3967 (link-libc-tests-rpath-link): Likewise.
3968 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3969 (link-libc): Prepand $(link-libc-rpath-link).
3970 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3971 (test-program-prefix): New macro.
3972 (test-via-rtld-prefix): Likewise.
3973 (test-program-cmd): Likewise.
3974 (host-test-program-cmd): Likewise.
3975 * Makefile ($(common-objpfx)testrun.sh): Replace
3976 $(run-program-prefix) with $(test-program-prefix).
3977 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3979 ($(common-objpfx)shlib.lds): Likewise.
3980 (build-module-helper): Likewise.
3981 ($(common-objpfx)format.lds): Likewise.
3982 * Rules (binaries-pie-tests): New.
3983 (binaries-pie-notests): Likewise.
3984 (binaries-pie): Rewritten.
3985 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3986 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3987 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3988 (make-test-out): Replace $(host-built-program-cmd) with
3989 $(host-test-program-cmd).
3990 * config.make.in (build-hardcoded-path-in-tests): New variable.
3991 * configure.in (--enable-hardcoded-path-in-tests): New configure
3993 (hardcoded_path_in_tests): New AC_SUBST.
3994 * configure: Regenerated.
3995 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3996 $(built-program-cmd) with $(test-program-cmd).
3997 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3998 (test_program_cmd): This.
3999 * elf/Makefile ($(objpfx)order.out): Run test with
4000 $(test-program-prefix).
4001 ($(objpfx)order2.out): Likewise.
4002 ($(objpfx)tst-initorder.out): Likewise.
4003 ($(objpfx)tst-initorder2.out): Likewise.
4004 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4005 $(test-program-cmd).
4006 ($(objpfx)tst-array1-static.out): Likewise.
4007 ($(objpfx)tst-array2.out): Likewise.
4008 ($(objpfx)tst-array3.out): Likewise.
4009 ($(objpfx)tst-array4.out): Likewise.
4010 ($(objpfx)tst-array5.out): Likewise.
4011 ($(objpfx)tst-array5-static.out): Likewise.
4012 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4013 $(test-program-cmd).
4014 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4015 $(run-program-prefix) with $(test-program-prefix).
4016 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4017 (test_program_prefix): This.
4018 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4019 $(run-program-prefix) with $(test-program-prefix).
4020 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4021 (test_program_prefix): This.
4022 * iconvdata/tst-tables.sh: Likewise.
4023 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4024 $(run-program-prefix) with $(test-program-prefix).
4025 ($(objpfx)tst-translit.out): Likewise.
4026 ($(objpfx)tst-gettext2.out): Likewise.
4027 ($(objpfx)tst-gettext4.out): Likewise.
4028 ($(objpfx)tst-gettext6.out): Likewise.
4029 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4030 (test_program_prefix): This.
4031 * intl/tst-gettext2.sh: Likewise.
4032 * intl/tst-gettext4.sh Likewise.
4033 * intl/tst-gettext6.sh: Likewise.
4034 * intl/tst-translit.sh: Likewise.
4035 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4036 with $(test-program-cmd).
4037 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4038 $(run-program-prefix) with $(test-program-prefix).
4039 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4040 (test_program_prefix): This.
4041 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4042 $(run-program-prefix) with $(test-program-prefix).
4043 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4044 (test_program_prefix): This.
4045 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4046 * posix/Makefile ($(objpfx)globtest.out): Replace
4047 $(run-via-rtld-prefix) and $(test-wrapper) with
4048 $(test-program-prefix) and $(test-via-rtld-prefix).
4049 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4050 $(test-program-prefix).
4051 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4052 $(host-test-program-cmd).
4053 (tst-spawn-ARGS): Likewise.
4054 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4055 $(test-program-prefix).
4056 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4057 (test_via_rtld_prefix): This.
4058 (test_wrapper): Renamed to ...
4059 (test_program_prefix): This.
4060 (run_program_prefix): Replaced by test_program_prefix.
4061 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4062 (test_program_prefix): This.
4063 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4064 with $(host-test-program-cmd).
4065 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4066 $(run-program-prefix) with $(test-program-prefix).
4067 ($(objpfx)tst-printf.out): Likewise.
4068 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4069 $(test-program-cmd).
4070 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4071 (test_program_prefix): This.
4072 * stdio-common/tst-unbputc.sh: Likewise.
4073 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4074 $(run-program-prefix) with $(test-program-prefix).
4075 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4076 (test_program_prefix): This.
4077 * string/Makefile ($(objpfx)tst-svc.out): Replace
4078 $(built-program-cmd) with $(test-program-cmd).
4080 2013-01-11 Andreas Jaeger <aj@suse.de>
4083 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4084 value. Sync with Linux 3.7.
4086 2013-01-10 David S. Miller <davem@davemloft.net>
4088 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4092 2013-01-10 Roland McGrath <roland@hack.frob.com>
4094 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4096 * configure: Regenerated.
4098 2013-01-10 David S. Miller <davem@davemloft.net>
4100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4101 sparc V9 rather than using V8 code.
4102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4105 2013-01-10 Roland McGrath <roland@hack.frob.com>
4107 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4108 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4109 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4110 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4111 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4112 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4113 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4114 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4115 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4116 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4117 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4118 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4119 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4120 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4121 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4122 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4123 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4124 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4125 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4126 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4127 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4128 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4129 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4130 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4131 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4132 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4133 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4135 2013-01-10 David S. Miller <davem@davemloft.net>
4137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4139 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4141 * posix/Makefile (tests-static): New variable.
4142 (tests): Add $(tests-static).
4143 (tst-exec-static-ARGS): New variable.
4144 (tst-spawn-static-ARGS): Likewise.
4145 * posix/tst-exec-static.c: New file.
4146 * posix/tst-spawn-static.c: Likewise.
4147 * posix/tst-exec.c: Support run directly.
4148 * posix/tst-spawn.c: Likewise.
4150 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4152 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4154 * math/bits/mathcalls.h (llrint): Likewise.
4155 (llround): Likewise.
4156 * stdlib/stdlib.h (struct drand48_data): Likewise.
4157 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4158 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4159 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4161 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4164 (elf_greg_t): Likewise.
4165 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4166 (__jmp_buf): Likewise.
4167 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4169 (llrint): Likewise, for all definitions.
4170 (llrintl): Likewise.
4172 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4173 Remove [__GNUC__] condition.
4174 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4175 condition to just [__USE_ISOC99].
4176 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4178 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4181 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4182 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4184 (_POSIX_V6_ILP32_OFF32): Likewise.
4185 (_XBS5_ILP32_OFF32): Likewise.
4186 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4187 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4189 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4191 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4194 doubles __mpexp_twomm1. Adjust usage.
4195 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4198 2013-01-10 Andreas Schwab <schwab@suse.de>
4201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4202 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4204 2013-01-09 David S. Miller <davem@davemloft.net>
4207 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4208 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4209 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4210 TCP_FASTOPEN): Define.
4211 (tcp_repair_opt): New structure.
4212 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4214 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4215 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4216 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4217 (tcp_cookie_transactions): New structure.
4219 2013-01-09 Anton Blanchard <anton@samba.org>
4221 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4222 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4224 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4226 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4228 * include/features.h (__USE_ANSI): Remove.
4230 2013-01-09 Roland McGrath <roland@hack.frob.com>
4232 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4234 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4236 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4238 * sysdeps/s390/fpu/libm-test-ulps: Update.
4240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4242 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4247 (__mp_dbl): Likewise.
4248 (__dbl_mp): Likewise.
4249 (add_magnitudes): Likewise.
4250 (sub_magnitudes): Likewise.
4256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4261 (__mp_dbl): Likewise.
4262 (__dbl_mp): Likewise.
4263 (add_magnitudes): Likewise.
4264 (sub_magnitudes): Likewise.
4270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4275 (__mp_dbl): Likewise.
4276 (__dbl_mp): Likewise.
4277 (add_magnitudes): Likewise.
4278 (sub_magnitudes): Likewise.
4285 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4287 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4288 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4289 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4290 2 && __USE_EXTERN_INLINES]: Likewise.
4292 2013-01-08 Andreas Jaeger <aj@suse.de>
4295 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4297 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4298 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4300 2013-01-07 Anton Blanchard <anton@samba.org>
4302 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4303 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4304 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4305 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4306 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4307 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4308 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4309 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4311 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4312 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4316 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4317 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4320 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4321 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4322 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4325 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4326 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4327 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4328 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4329 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4331 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4332 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4337 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4338 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4339 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4340 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4342 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4344 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4346 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4348 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4349 (__MALLOC_PMT): Likewise.
4350 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4351 [__GNUC__], only on [_LIBC].
4352 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4353 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4354 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4355 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4356 forward declaration.
4357 (realloc_hook_ini): Likewise.
4358 (memalign_hook_ini): Likewise.
4359 (__libc_memalign): Do not use __MALLOC_PMT in variable
4361 (__libc_valloc): Likewise.
4362 (__libc_pvalloc): Likewise.
4363 (__libc_calloc): Likewise.
4364 (__posix_memalign): Likewise.
4367 * math/s_casinh.c: Include <float.h>.
4368 (__casinh): Do not do computation with squaring and square root
4369 for large arguments.
4370 * math/s_casinhf.c: Include <float.h>.
4371 (__casinhf): Do not do computation with squaring and square root
4372 for large arguments.
4373 * math/s_casinhl.c: Include <float.h>.
4374 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4375 (__casinhl): Do not do computation with squaring and square root
4376 for large arguments.
4377 * math/libm-test.inc (casin_test): Add more tests.
4378 (casinh_test): Likewise.
4379 * sysdeps/i386/fpu/libm-test-ulps: Update.
4380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4382 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4384 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4385 (__x86_64_raw_data_cache_size): Likewise.
4386 (__x86_64_data_cache_size_half): Likewise.
4387 (__x86_64_raw_data_cache_size_half): Likewise.
4388 (__x86_64_shared_cache_size): Likewise.
4389 (__x86_64_raw_shared_cache_size): Likewise.
4390 (__x86_64_shared_cache_size_half): Likewise.
4391 (__x86_64_raw_shared_cache_size_half): Likewise.
4392 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4394 (__x86_data_cache_size): This.
4395 (__x86_64_raw_data_cache_size): Renamed to ...
4396 (__x86_raw_data_cache_size): This.
4397 (__x86_64_data_cache_size_half): Renamed to ...
4398 (__x86_data_cache_size_half): This.
4399 (__x86_64_raw_data_cache_size_half): Renamed to ...
4400 (__x86_raw_data_cache_size_half): This.
4401 (__x86_64_shared_cache_size): Renamed to ...
4402 (__x86_shared_cache_size): This.
4403 (__x86_64_raw_shared_cache_size): Renamed to ...
4404 (__x86_raw_shared_cache_size): This.
4405 (__x86_64_shared_cache_size_half): Renamed to ...
4406 (__x86_shared_cache_size_half): This.
4407 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4408 (__x86_raw_shared_cache_size_half): This.
4409 * sysdeps/x86_64/memcpy.S: Updated.
4410 * sysdeps/x86_64/memset.S: Likewise.
4411 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4415 2013-01-04 David S. Miller <davem@davemloft.net>
4417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4419 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4421 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4422 1 to avoid redefinition warning.
4423 (__USE_GNU): Don't define.
4424 (init_signaling_nan): Protoize.
4426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4428 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4430 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4432 (__cpymn): Likewise.
4433 (norm): Remove commented code.
4435 (__mp_dbl): Likewise.
4437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4438 (__cpymn): Likewise.
4439 (norm): Remove commented code.
4441 (__mp_dbl): Likewise.
4444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4445 mp_no value for 1.0 and 2.0.
4446 (norm): Use RADIXI instead of radixi.d.
4448 (__mul): Use 0.0 instead of zero.d.
4449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4450 mp_no value for 1.0 and 2.0.
4451 (norm): Use RADIXI instead of radixi.d.
4453 (__mul): Use 0.0 instead of zero.d.
4455 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4458 * math/s_casinh.c (__casinh): Reduce finite argument to first
4459 quadrant then set signs of results at the end.
4460 * math/s_casinhf.c (__casinhf): Likewise.
4461 * math/s_casinhl.c (__casinhl): Likewise.
4462 * math/libm-test.inc (casin_test): Add more tests.
4463 (casinh_test): Likewise.
4464 * sysdeps/i386/fpu/libm-test-ulps: Update.
4465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4467 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4469 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4471 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4473 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4476 (__mp_dbl): Likewise.
4479 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4480 and adjust the header comment.
4482 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4483 variable name from declaration.
4485 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4488 Initialize COMMON_CPUID_INDEX_7 element.
4489 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4490 (CPUID_RTM): Likewise.
4491 (HAS_RTM): Likewise.
4492 (COMMON_CPUID_INDEX_7): New enum.
4494 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4497 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4498 size is zero, record memory as freed.
4500 2013-01-03 Andreas Jaeger <aj@suse.de>
4502 * po/ia.po: Add new Interlingua translation.
4504 2012-01-03 Allan McRae <allan@archlinux.org>
4506 * locale/programs/localedef.c: Fix description of '--posix' flag.
4508 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4510 * NEWS: Update dates in second copyright notice.
4511 * README: Update copyright dates in example.
4512 * manual/libc.texinfo: Update copyright dates.
4513 * scripts/test-installation.pl: Update copyright date in --version
4516 * hurd/ctty-input.c: Fix copyright notice formatting.
4517 * hurd/ctty-output.c: Likewise.
4518 * hurd/dtable.c: Likewise.
4519 * hurd/hurd-raise.c: Likewise.
4520 * hurd/hurdprio.c: Likewise.
4521 * hurd/msgportdemux.c: Likewise.
4522 * misc/sys/file.h: Likewise.
4523 * misc/sys/ioctl.h: Likewise.
4524 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4525 * sysdeps/mach/hurd/chdir.c: Likewise.
4526 * sysdeps/mach/hurd/fchdir.c: Likewise.
4527 * sysdeps/mach/hurd/rename.c: Likewise.
4528 * sysdeps/mach/hurd/rmdir.c: Likewise.
4529 * sysdeps/mach/hurd/seekdir.c: Likewise.
4530 * sysdeps/mach/hurd/setsid.c: Likewise.
4531 * sysdeps/posix/wait3.c: Likewise.
4533 * All files with FSF copyright notices: Update copyright dates
4534 using scripts/update-copyrights.
4535 * intl/plural.c: Regenerated.
4536 * locale/programs/charmap-kw.h: Likewise.
4537 * locale/programs/locfile-kw.h: Likewise.
4539 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4541 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4545 calculation loop and add branch prediction.
4547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4548 check access beyond bounds of m1np.
4550 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4552 (__inv): Remove local variable MPTWO to use the global
4554 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4555 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4557 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4558 MP3HALFS static const.
4560 2013-01-01 David S. Miller <davem@davemloft.net>
4562 * po/ca.po: Update from translation team.
4564 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4566 * scripts/update-copyrights: New file.
4567 * Makeconfig: Reformat copyright notice.
4568 * ctype/ctype.h: Likewise.
4569 * debug/swprintf_chk.c: Likewise.
4570 * elf/dl-cache.c: Likewise.
4571 * elf/dl-debug.c: Likewise.
4572 * elf/dl-object.c: Likewise.
4573 * grp/initgroups.c: Likewise.
4574 * hurd/Makefile: Likewise.
4575 * hurd/hurd/signal.h: Likewise.
4576 * hurd/hurdfault.c: Likewise.
4577 * hurd/hurdioctl.c: Likewise.
4578 * hurd/hurdlookup.c: Likewise.
4579 * hurd/intr-msg.c: Likewise.
4580 * iconv/gconv_open.c: Likewise.
4581 * libio/swprintf.c: Likewise.
4582 * locale/lc-ctype.c: Likewise.
4583 * locale/nl_langinfo.c: Likewise.
4584 * mach/Machrules: Likewise.
4585 * mach/Makefile: Likewise.
4586 * malloc/obstack.h: Likewise.
4587 * manual/Makefile: Likewise.
4588 * manual/tsort.awk: Likewise.
4589 * misc/bits/stab.def: Likewise.
4590 * nis/nis_print_group_entry.c: Likewise.
4591 * nis/nis_table.c: Likewise.
4592 * nis/nss_compat/compat-pwd.c: Likewise.
4593 * nis/nss_compat/compat-spwd.c: Likewise.
4594 * po/Makefile: Likewise.
4595 * posix/fnmatch.c: Likewise.
4596 * posix/regex.h: Likewise.
4597 * resolv/Makefile: Likewise.
4598 * resolv/nss_dns/dns-network.c: Likewise.
4599 * resolv/res_hconf.c: Likewise.
4600 * scripts/gen-sorted.awk: Likewise.
4601 * soft-fp/soft-fp.h: Likewise.
4602 * stdio-common/printf.h: Likewise.
4603 * stdlib/monetary.h: Likewise.
4604 * stdlib/random.c: Likewise.
4605 * stdlib/random_r.c: Likewise.
4606 * sysdeps/generic/Makefile: Likewise.
4607 * sysdeps/gnu/Makefile: Likewise.
4608 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4636 * sysdeps/mach/hurd/errnos.awk: Likewise.
4637 * sysdeps/mach/hurd/fork.c: Likewise.
4638 * sysdeps/mach/hurd/getcwd.c: Likewise.
4639 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4640 * sysdeps/mach/hurd/mmap.c: Likewise.
4641 * sysdeps/mach/hurd/utimes.c: Likewise.
4642 * sysdeps/mach/hurd/xmknod.c: Likewise.
4643 * sysdeps/posix/profil.c: Likewise.
4644 * sysdeps/posix/readdir_r.c: Likewise.
4645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4646 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4647 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4648 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4650 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4651 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4652 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4654 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4655 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4656 * sysdeps/pthread/lio_listio.c: Likewise.
4657 * sysdeps/sparc/dl-procinfo.h: Likewise.
4658 * sysdeps/unix/i386/sysdep.S: Likewise.
4659 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4660 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4661 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4662 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4664 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4665 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4666 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4667 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4668 * sysdeps/wordsize-32/divdi3.c: Likewise.
4669 * time/sys/time.h: Likewise.
4670 * wcsmbs/Makefile: Likewise.
4672 2013-01-01 David S. Miller <davem@davemloft.net>
4674 * po/fr.po: Update from translation team.
4676 * catgets/gencat.c: Update copyright year.
4677 * csu/version.c: Likewise.
4678 * debug/catchsegv.sh: Likewise.
4679 * debug/pcprofiledump.c: Likewise.
4680 * debug/xtrace.sh: Likewise.
4681 * elf/ldconfig.c: Likewise.
4682 * elf/ldd.bash.in: Likewise.
4683 * elf/pldd.c: Likewise.
4684 * elf/sotruss.ksh: Likewise.
4685 * elf/sprof.c: Likewise.
4686 * iconv/iconv_prog.c: Likewise.
4687 * iconv/iconvconfig.c: Likewise.
4688 * locale/programs/locale.c: Likewise.
4689 * locale/programs/localedef.c: Likewise.
4690 * login/programs/pt_chown.c: Likewise.
4691 * malloc/memusage.sh: Likewise.
4692 * malloc/memusagestat.c: Likewise.
4693 * malloc/mtrace.pl: Likewise.
4694 * nscd/nscd.c: Likewise.
4695 * nss/getent.c: Likewise.
4696 * nss/makedb.c: Likewise.
4697 * posix/getconf.c: Likewise.
4699 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4701 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4704 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4706 * math/bits/mathcalls.h (modf): Use __nonnull.
4708 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4710 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4711 (split): Use macro CN instead of the bare value.
4712 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4715 instead of the bare value.
4718 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4724 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4726 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4728 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4729 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4731 2012-12-28 Andreas Jaeger <aj@suse.de>
4733 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4734 values are from Linux 3.7.
4736 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4737 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4739 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4741 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4744 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4746 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4747 variables with preprocessor constants.
4748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4749 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4750 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4752 2012-12-27 Bruno Haible <bruno@clisp.org>
4755 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4758 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4761 and use variable directly.
4762 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4764 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4766 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4771 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4772 include directive. Remove local variable MPONE.
4773 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4774 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4777 2012-12-25 David S. Miller <davem@davemloft.net>
4779 * version.h (RELEASE): Set to "development".
4780 (VERSION): Set to "2.17.90".
4781 * NEWS: Add 2.18 section.
4783 2012-12-21 David S. Miller <davem@davemloft.net>
4785 * po/hr.po: Update from translation team.
4787 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4789 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4791 2012-12-19 Steve Ellcey <sellcey@mips.com>
4793 * NEWS: Mention new memcpy for MIPS.
4795 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4797 * manual/contrib.texi (Contributors): Spelling correction.
4799 2012-12-15 David S. Miller <davem@davemloft.net>
4801 * po/ru.po: Update from translation team.
4803 2012-12-13 David S. Miller <davem@davemloft.net>
4805 * NEWS: Mention IFUNC testsuite enhancements.
4807 * po/pl.po: Update from translation team.
4808 * po/bg.po: Likewise.
4810 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4811 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4813 2012-12-11 David S. Miller <davem@davemloft.net>
4815 * po/sv.po: Update from translation team.
4817 * po/vi.po: Update from translation team.
4819 * po/cs.po: Update from translation team.
4821 * po/de.po: Update from translation team.
4822 * po/eo.po: Likewise.
4823 * po/nl.po: Likewise.
4825 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4828 * manual/argp.texi (Argp Helper Functions): Move node to follow
4832 * manual/conf.texi (Limits on File System Capacity): Mention if
4833 terminating null is included in the max size.
4835 2012-12-10 Andreas Jaeger <aj@suse.de>
4837 * po/cs.po: Update from translation team.
4839 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4841 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4842 void pointer and cast to uintptr_t.
4843 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4845 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4846 * sysdeps/s390/s390-64/memset.S: Likewise.
4848 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4851 * menual/message.texi (Message Translation): Fix typos.
4852 (Helper programs for gettext): Likewise.
4854 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4857 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4860 2012-12-07 David S. Miller <davem@davemloft.net>
4862 * po/libc.pot: Update.
4864 2012-12-07 Richard Henderson <rth@redhat.com>
4867 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4868 normal/normal case to before the switch.
4869 (_FP_DIV): Likewise.
4871 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4872 Mike Frysinger <vapier@gentoo.org>
4874 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4875 check for __NR_fadvise64_64.
4877 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4879 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4880 0, not just to plain "0" as a statement.
4881 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4884 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4886 * NEWS: Use sourceware.org in Bugzilla URL.
4888 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4891 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4893 * stdio-common/tst-put-error.c (do_test): Add newline to the
4894 padded test to ensure flush.
4896 2012-12-05 Jeff Law <law@redhat.com>
4898 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4900 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4902 * README: Don't refer to ports add-on as distributed separately.
4903 Mention AArch64 in list of systems supported in the ports add-on.
4905 * LICENSES: Add more non-FSF copyright and license notices.
4907 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4912 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4913 10000 as width of padded output.
4915 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4917 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4919 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4920 variable LX with __attribute__ ((unused)).
4921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4923 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4926 with __attribute__ ((unused)).
4928 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4930 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4932 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4934 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4935 (CFLAGS-nldbl-acos.c): New variable.
4936 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4937 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4938 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4939 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4940 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4941 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4942 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4943 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4944 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4945 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4946 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4947 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4948 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4949 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4950 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4951 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4952 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4953 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4954 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4955 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4956 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4957 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4958 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4959 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4960 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4961 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4962 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4963 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4964 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4965 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4966 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4967 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4968 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4969 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4970 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4971 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4972 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4973 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4974 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4975 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4976 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4977 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4978 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4979 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4980 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4981 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4982 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4983 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4984 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4985 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4986 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4987 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4988 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4989 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4990 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4991 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4992 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4993 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4994 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4995 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4996 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4997 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4998 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4999 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5000 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5001 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5002 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5003 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5004 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5005 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5006 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5007 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5008 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5009 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5010 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5011 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5012 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5013 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5014 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5015 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5016 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5017 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5018 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5019 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5020 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5021 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5022 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5023 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5024 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5025 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5026 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5027 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5028 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5029 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5030 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5031 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5032 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5035 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5039 whole low double instead of just low 47 bits when splitting values
5042 2012-12-03 Allan McRae <allan@archlinux.org>
5044 * manual/stdio.texi (Predefined Printf Handlers): Remove
5045 @hsep and @vsep usage.
5047 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5049 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5050 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5052 2012-12-03 Jeff Law <law@redhat.com>
5054 * time/sys/time.h (settimeofday): Do not mark TV argument
5057 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5059 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5060 when currently writing and seek to current position when not.
5061 * libio/Makefile (tests): Remove bug-fclose1.
5062 * libio/bug-fclose1.c: Delete.
5064 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5066 * manual/arith.texi (feenableexcept): Fix typo.
5067 (fedisableexcept): Likewise.
5069 2012-11-30 Roland McGrath <roland@hack.frob.com>
5071 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5072 second, differently-typed declaration, rather than a cast.
5074 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5076 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5077 * include/rpc/svc.h: ... here.
5079 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5082 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5083 depending n and resplen2 to catch cases where answer
5086 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5088 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5089 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5091 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5095 2012-11-29 Roland McGrath <roland@hack.frob.com>
5097 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5099 2012-11-28 Jeff Law <law@redhat.com>
5102 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5103 dataset_temporary. Track alloca usage into alloca_used.
5104 If dataset is large allocate and release it via malloc/free.
5106 2012-06-04 Florian Weimer <fweimer@redhat.com>
5109 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5111 2012-11-28 David S. Miller <davem@davemloft.net>
5113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5115 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5118 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5119 of pi/2 rounded to nearest to 64 bits.
5120 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5122 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5125 2012-11-28 Jeff Law <law@redhat.com>
5126 Martin Osvald <mosvald@redhat.com>
5129 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5130 * sunrpc/svc.c: Include time.h.
5131 (__svc_accept_failed): New function.
5132 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5133 any reason other than EINTR, call __svc_accept_failed.
5134 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5135 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5137 2012-11-28 Andreas Schwab <schwab@suse.de>
5139 * scripts/abilist.awk: Also handle indirect functions in .opd
5142 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5145 * sysdeps/x86/fpu/powl_helper.c: New file.
5146 * sysdeps/x86/fpu/Makefile: Likewise.
5147 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5149 (__ieee754_powl): Use __powl_helper for finite arguments except
5150 integer exponents below 8.
5151 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5153 (__ieee754_powl): Use __powl_helper for finite arguments except
5154 integer exponents below 8.
5155 * math/libm-test.inc (pow_test): Add more tests and enable some
5156 previously disabled tests.
5157 * sysdeps/i386/fpu/libm-test-ulps: Update.
5158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5160 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5161 Carlos O'Donell <carlos_odonell@mentor.com>
5163 * nss/makedb.c (is_prime): Assert that input is odd and greater
5164 than 4. Note that fact in a comment too.
5165 (next_prime): Add 4 to input.
5167 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5170 * libio/Makefile (tests): Add test case tst-fwrite-error.
5171 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5172 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5173 * libio/tst-fwrite-error.c: New test case.
5175 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5177 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5178 before casting to void *.
5179 * include/libc-internal.h (__pointer_type): New macro.
5180 (__integer_if_pointer_type_sub): Likewise.
5181 (__integer_if_pointer_type): Likewise.
5182 (cast_to_integer): Likewise.
5183 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5184 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5185 before casting to atomic64_t.
5186 (atomic_exchange_acq): Likewise.
5187 (__arch_exchange_and_add_body): Likewise.
5188 (__arch_add_body): Likewise.
5189 (atomic_add_negative): Likewise.
5190 (atomic_add_zero): Likewise.
5192 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5194 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5195 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5196 (add_fdes): Likewise.
5197 (linear_search_fdes): Likewise.
5198 (binary_search_unencoded_fdes): Likewise.
5200 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5202 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5204 2012-11-24 Adam Conrad <adconrad@0c3.net>
5206 * configure.in: Autodetect C++ header directories.
5207 * configure: Regenerated.
5209 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5211 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5213 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5217 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5219 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5220 LDBL_MANT_DIG == 106]: Disable some tests.
5221 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5223 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5228 input for small inputs. Return +/- pi/2 for large inputs.
5229 * math/libm-test.inc (atan_test): Add more tests.
5231 * sysdeps/generic/unwind-dw2-fde-glibc.c
5232 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5233 __attribute__ ((unused)).
5236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5237 x * y if x and y are nonzero and z is zero.
5240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5241 nonzero exponents with absolute value below 0x1p-117 to +/-
5245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5246 up arguments below 2**-450, not just those below 2**-500.
5247 * math/libm-test.inc (hypot_test): Add another test.
5250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5251 Return a+b for ratio over 2**120, not 2**60.
5252 * math/libm-test.inc (hypot_test): Add another test.
5254 * math/libm-test.inc (clog_test): Use
5255 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5256 (clog10_test): Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5261 2012-11-22 Andreas Schwab <schwab@suse.de>
5263 * sysdeps/i386/fpu/libm-test-ulps: Update.
5265 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5267 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5268 printf output with newline.
5270 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5273 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5274 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5275 -z nodlopen, -z initfirst and -z execstack support.
5276 * configure: Regenerated.
5278 * elf/elf.h (DF_1_NODIRECT): New macro.
5279 (DF_1_IGNMULDEF): Likewise.
5280 (DF_1_NOKSYMS): Likewise.
5281 (DF_1_NOHDR): Likewise.
5282 (DF_1_EDITED): Likewise.
5283 (DF_1_NORELOC): Likewise.
5284 (DF_1_SYMINTPOSE): Likewise.
5285 (DF_1_GLOBAUDIT): Likewise.
5286 (DF_1_SINGLETON): Likewise.
5287 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5288 DT_1_SUPPORTED_MASK bits.
5289 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5291 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5293 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5295 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5297 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5300 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5301 (sendmmsg): Move declarations...
5302 * socket/sys/socket.h: ... here.
5303 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5304 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5306 * socket/recvmmsg.c: ... this new file.
5307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5308 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5309 definition of __sendmmsg hidden.
5310 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5311 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5312 Move ENOSYS stub into and include it from...
5313 * socket/sendmmsg.c: ... this new file.
5314 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5315 (sysdep_routines): Move recvmmsg and sendmmsg...
5316 * socket/Makefile (routines): ... here.
5317 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5318 (GLIBC_PRIVATE): Add __sendmmsg.
5319 * include/sys/socket.h (__sendmmsg): Add declarations.
5320 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5323 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5326 variable I1 with __attribute__ ((unused)).
5327 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5329 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5331 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5332 DUMMY variables with __attribute__ ((unused)).
5334 * bits/byteswap.h: Include <bits/types.h>.
5335 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5337 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5339 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5340 string_t. Do not manually set errno.
5341 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5342 length with __strnlen. Make sure to both set errno and return it on
5345 2012-11-19 David S. Miller <davem@davemloft.net>
5347 With help from Joseph Myers.
5348 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5349 very large arguments properly.
5350 * math/libm-test.inc (atan_test): New tests.
5351 (atan2_test): New tests.
5352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5355 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5358 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5361 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5362 [POSIX] (EADDRNOTAVAIL): Likewise.
5363 [POSIX] (EAFNOSUPPORT): Likewise.
5364 [POSIX] (EALREADY): Likewise.
5365 [POSIX] (ECONNABORTED): Likewise.
5366 [POSIX] (ECONNREFUSED): Likewise.
5367 [POSIX] (ECONNRESET): Likewise.
5368 [POSIX] (EDESTADDRREQ): Likewise.
5369 [POSIX] (EDQUOT): Likewise.
5370 [POSIX] (EHOSTUNREACH): Likewise.
5371 [POSIX] (EIDRM): Likewise.
5372 [POSIX] (EISCONN): Likewise.
5373 [POSIX] (ELOOP): Likewise.
5374 [POSIX] (EMULTIHOP): Likewise.
5375 [POSIX] (ENETDOWN): Likewise.
5376 [POSIX] (ENETUNREACH): Likewise.
5377 [POSIX] (ENOBUFS): Likewise.
5378 [POSIX] (ENODATA): Likewise.
5379 [POSIX] (ENOLINK): Likewise.
5380 [POSIX] (ENOMSG): Likewise.
5381 [POSIX] (ENOPROTOOPT): Likewise.
5382 [POSIX] (ENOSR): Likewise.
5383 [POSIX] (ENOSTR): Likewise.
5384 [POSIX] (ENOTCONN): Likewise.
5385 [POSIX] (ENOTSOCK): Likewise.
5386 [POSIX] (EOPNOTSUPP): Likewise.
5387 [POSIX] (EOVERFLOW): Likewise.
5388 [POSIX] (EPROTO): Likewise.
5389 [POSIX] (EPROTONOSUPPORT): Likewise.
5390 [POSIX] (EPROTOTYPE): Likewise.
5391 [POSIX] (ESTALE): Likewise.
5392 [POSIX] (ETIME): Likewise.
5393 [POSIX] (ETXTBSY): Likewise.
5394 [POSIX] (EWOULDBLOCK): Likewise.
5395 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5396 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5397 [POSIX] (SEEK_CUR): Likewise.
5398 [POSIX] (SEEK_END): Likewise.
5399 [POSIX || UNIX98] (mode_t): Do not require.
5400 [POSIX] (off_t): Likewise.
5401 [POSIX] (pid_t): Likewise.
5402 [POSIX] (sys/stat.h): Do not allow header.
5403 [POSIX] (unistd.h): Likewise.
5404 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5405 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5407 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5409 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5410 sigevent): Specify elements.
5411 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5413 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5414 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5416 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5417 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5418 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5419 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5420 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5421 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5422 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5423 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5425 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5426 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5427 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5428 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5429 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5431 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5433 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5435 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5438 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5442 Specify lower bound on value.
5443 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5449 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5450 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5452 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5454 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5471 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5473 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5480 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5485 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5486 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5488 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5492 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5493 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5494 specify as optional.
5495 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5498 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5499 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5500 [XPG3] (NL_LANGMAX): Likewise.
5501 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5502 [POSIX || XPG3] (NL_NMAX): Likewise.
5503 [POSIX || XPG3] (NL_SETMAX): Likewise.
5504 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5505 [XPG3] (NZERO): Likewise.
5506 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5507 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5508 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5509 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5510 (REG_ERANGE): Expect.
5511 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5513 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5514 Use (void) in prototype.
5515 [POSIX] (*_t): Allow.
5516 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5517 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5518 (WRDE_BADVAL): Expect.
5520 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5522 [XPG3 || XPG4] (O_RSYNC): Likewise.
5523 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5525 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5526 [XPG3 || XPG4] (sigqueue): Likewise.
5527 [XPG3 || XPG4] (sigtimedwait): Likewise.
5528 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5529 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5530 [XPG3 || XPG4] (vsnprintf): Likewise.
5531 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5533 [XPG3 || XPG4] (blksize_t): Likewise.
5534 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5536 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5537 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5538 [XPG3 || XPG4] (struct itimerspec): Likewise.
5539 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5540 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5541 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5542 [XPG3 || XPG4] (clockid_t): Likewise.
5543 [XPG3 || XPG4] (timer_t): Likewise.
5544 [XPG3 || XPG4] (clock_getres): Likewise.
5545 [XPG3 || XPG4] (clock_gettime): Likewise.
5546 [XPG3 || XPG4] (clock_settime): Likewise.
5547 [XPG3 || XPG4] (nanosleep): Likewise.
5548 [XPG3 || XPG4] (timer_create): Likewise.
5549 [XPG3 || XPG4] (timer_delete): Likewise.
5550 [XPG3 || XPG4] (timer_gettime): Likewise.
5551 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5552 [XPG3 || XPG4] (timer_settime): Likewise.
5553 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5554 [XPG3 || XPG4] (getlogin_r): Likewise.
5555 [XPG3 || XPG4] (pread): Likewise.
5556 [XPG3 || XPG4] (pthread_atfork): Likewise.
5557 [XPG3 || XPG4] (pwrite): Likewise.
5560 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5563 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5565 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5566 finalizing MALLSTREAM.
5568 * sysdeps/mach/hurd/syncfs.c: New file.
5570 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5573 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5574 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5576 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5577 (_nss_dns_gethostbyname4_r): Likewise.
5578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5579 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5581 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5584 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5586 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5588 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5589 * elf/cache.c (print_entry): Print ",AArch64" for
5592 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5593 * elf/cache.c (print_entry): Print ",hard-float" for
5596 2012-11-18 David S. Miller <davem@davemloft.net>
5598 With help from Joseph Myers.
5599 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5601 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5603 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5604 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5607 * math/libm-test.inc (y0_test): New tests.
5608 (y1_test): New tests.
5609 * sysdeps/i386/fpu/libm-test-ulps: Update.
5610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5613 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5615 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5617 * configure: Regenerated.
5619 2012-11-17 David S. Miller <davem@davemloft.net>
5622 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5623 nonzero exponents with absolute value below 0x1p-128 to +/-
5626 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5628 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5630 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5632 * posix/getconf-speclist.c: New file.
5633 * posix/posix-envs.def: Likewise.
5634 * posix/confstr.c (START_ENV_GROUP): New macro.
5635 (END_ENV_GROUP): Likewise.
5636 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5637 (KNOWN_PRESENT_ENV_STRING): Likewise.
5638 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5639 (UNKNOWN_ENVIRONMENT): Likewise.
5640 (confstr): Include posix-envs.def instead of handling
5641 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5642 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5643 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5644 (END_ENV_GROUP): Likewise.
5645 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5646 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5647 (UNKNOWN_ENVIRONMENT): Likewise.
5648 (__sysconf): Include posix-envs.def instead of handling associated
5649 cases directly here.
5650 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5651 preprocessing getconf-speclist.c rather than running getconf or
5652 generating empty file.
5654 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5656 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5658 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5661 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5663 2012-11-16 David S. Miller <davem@davemloft.net>
5665 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5666 smaller than LDBL_EPSILON/2.0L, just return xm1.
5668 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5670 * elf/tst-array1.c (init): Set constructor priority to 1000.
5671 (fini): Set destructor priority to 1000.
5672 * elf/tst-array2dep.c: Likewise.
5674 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5677 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5678 (_IO_new_file_xsputn): Also return EOF if none of the input
5679 data was written when overflow failed.
5680 * libio/iopadn.c (_IO_padn): Likewise.
5681 * libio/iowpadn.c (_IO_wpadn): Likewise.
5682 * stdio-common/tst-put-error.c: Add copyright notice.
5683 (do_test): Add case for printing padded string.
5684 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5685 _IO_padn returned error.
5686 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5687 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5690 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5692 * libio/libioP.h: Add comment note that the references to C++
5693 bits are now obsolete.
5695 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5697 * math/libm-test.inc (check_complex): Use asprintf.
5699 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5701 * debug/pcprofiledump.c (print_version): Update copyright year.
5702 * malloc/memusagestat.c (print_version): Likewise.
5704 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5707 * elf/Makefile (tests): Add tst-audit8.
5708 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5709 ($(objpfx)tst-audit8.out): New target.
5710 (tst-audit8-ENV): New variable.
5711 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5712 audit if l_reloc_result is NULL.
5713 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5714 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5715 * elf/tst-audit8.c: New file.
5717 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5719 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5720 * misc/Makefile (CFLAGS-select.c): Define.
5721 * posix/Makefile (CFLAGS-pause.c): Define.
5723 2012-11-13 David S. Miller <davem@davemloft.net>
5725 * crypt/Makefile: Move test targets after toplevel Rules
5726 inclusion. Grab any necessary sysdep routines when linking.
5727 * crypt/md5.c (md5_process_block): Remove define, we will always
5728 name it __md5_process_block.
5729 (md5_finish_ctx): Update md5_process_block call.
5730 (md5_stream): Likewise.
5731 (md5_process_bytes): Likewise.
5732 (md5_process_block): Rename to __md5_process_block and move to ...
5733 * crypt/md5-block.c: ... here.
5734 * crypt/sha256.c (sha256_process_block): Move to ...
5735 * crypt/sha256-block.c: ... here.
5736 * crypt/sha512.c (sha512_process_block): Move to ...
5737 * crypt/sha512-block.c: ... here.
5738 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5740 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5741 * sysdeps/sparc/sparc64/multiarch/Makefile
5742 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5744 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5747 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5748 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5749 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5750 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5751 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5752 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5753 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5755 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5757 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5760 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5762 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5764 * timezone/tzselect.ksh: Update from tzcode git revision
5765 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5766 * timezone/zdump.c: Likewise.
5767 * timezone/zic.c: Likewise.
5768 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5769 in TZVERSION setting, not $(PKGVERSION).
5770 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5771 REPORT_BUGS_TO settings.
5774 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5777 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5779 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5780 detection to immediately after _FP_ROUND().
5781 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5784 2012-11-11 David S. Miller <davem@davemloft.net>
5786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5788 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5789 __close rather than their public counterparts.
5791 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5793 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5795 [UNIX98] (sem_timedwait): Do not expect.
5796 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5797 [XPG4 || UNIX98] (sockatmark): Do not expect.
5798 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5799 (clock_getcpuclockid): Do not expect.
5800 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5801 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5803 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5804 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5805 [UNIX98] (vwscanf): Likewise.
5806 [UNIX98] (vswscanf): Likewise.
5808 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5810 * timezone/version.h: Remove file.
5811 * timezone/README: Do not refer to version.h.
5812 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5814 ($(objpfx)zdump.o): Likewise.
5815 ($(objpfx)version.h): New target.
5817 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5819 * timezone/README: Don't mention modification to tzselect.ksh.
5820 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5821 work on unmodified tzselect.ksh. Substitute version numbers in
5824 * Makefile (format-me): Remove.
5825 (INSTALL): Adjust indentation. Use commands directly instead of
5828 * aclocal.m4 (ACX_PKGVERSION): New macro.
5829 (ACX_BUGURL): Likewise.
5830 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5831 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5832 (REPORT_BUGS_TO): Likewise.
5833 * configure: Regenerated.
5834 * config.h.in (PKGVERSION): New macro.
5835 (REPORT_BUGS_TO): Likewise.
5836 * config.make.in (PKGVERSION): New variable.
5837 (PKGVERSION_TEXI): Likewise.
5838 (REPORT_BUGS_TO): Likewise.
5839 (REPORT_BUGS_TEXI): Likewise.
5840 * Makefile (format-me): Use -I$(common-objpfx)manual.
5841 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5842 ($(common-objpfx)manual/%): New target.
5843 (manual/%): Remove target.
5844 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5845 (print_version): Use PKGVERSION.
5846 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5847 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5849 ($(objpfx)xtrace): Likewise.
5850 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5851 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5852 (print_version): Use PKGVERSION.
5853 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5854 (do_version): Use PKGVERSION.
5855 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5857 (common-ldd-rewrite): Likewise.
5858 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5859 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5860 (print_version): Use PKGVERSION.
5861 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5862 * elf/pldd.c (argp_program_bug_address): Remove variable.
5863 (more_help): New function.
5864 (argp): Use more_help.
5865 (print_version): Use PKGVERSION.
5866 * elf/sln.c (main): Use PKGVERSION.
5867 (usage): Use REPORT_BUGS_TO.
5868 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5869 (top level): Use PKGVERSION.
5870 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5871 (print_version): Use PKGVERSION.
5872 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5873 (print_version): Use PKGVERSION.
5874 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5875 (print_version): Use PKGVERSION.
5876 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5877 (print_version): Use PKGVERSION.
5878 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5879 (print_version): Use PKGVERSION.
5880 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5881 (print_version): Use PKGVERSION.
5882 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5884 ($(objpfx)memusage): Likewise.
5885 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5886 (do_version): Use PKGVERSION.
5887 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5888 (print_version): Use PKGVERSION.
5889 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5890 ($PKGVERSION): New variable.
5891 ($REPORT_BUGS_TO): Likewise.
5892 (usage): Use $REPORT_BUGS_TO.
5893 (top level): Use $PKGVERSION.
5894 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5895 ($(objpfx)pkgvers.texi): New rule.
5896 ($(objpfx)stamp-pkgvers): Likewise.
5897 * manual/install.texi: Include pkgvers.texi.
5898 (--with-pkgversion): Document new configure option.
5899 (--with-bugurl): Likewise.
5900 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5901 than necessarily for this particular distribution. Use
5902 REPORT_BUGS_TO for where to report bugs.
5903 * INSTALL: Regenerated.
5904 * manual/libc.texinfo: Include pkgvers.texi.
5905 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5906 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5907 (print_version): Use PKGVERSION.
5908 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5909 (print_version): Use PKGVERSION.
5910 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5911 (print_version): Use PKGVERSION.
5912 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5913 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5915 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5916 (print_version): Use PKGVERSION.
5917 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5918 (print_version): Use PKGVERSION.
5919 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5922 * timezone/checktab.awk: Update from tzcode 2012i.
5923 * timezone/ialloc.c: Likewise.
5924 * timezone/private.h: Likewise.
5925 * timezone/scheck.c: Likewise.
5926 * timezone/tzfile.h: Likewise.
5927 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5928 (TZVERSION): Hardcode tzcode version number.
5929 * timezone/zdump.c: Update from tzcode 2012i.
5930 * timezone/zic.c: Likewise.
5931 * timezone/version.h: New file.
5932 * timezone/README: Describe version.h. Update upstream location.
5935 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5936 (mktemp): Enable declaration.
5937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5954 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5955 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5956 for copies of such integer values.
5957 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5958 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5960 2012-11-09 Andreas Jaeger <aj@suse.de>
5962 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5963 definitions and declarations that are provided by
5964 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5966 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5968 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5969 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5970 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5973 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5975 * elf/elf.h: Update comment before AArch64 relocations.
5977 2012-11-07 David S. Miller <davem@davemloft.net>
5979 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5981 (__start_context): Declare.
5982 (__makecontext_ret): Delete.
5983 (__makecontext): Hook up __start_context instead of
5985 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5986 (sysdep_routines): Add __start_context when in stdlib.
5988 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5990 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5991 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5992 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5994 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5995 (READELF): New variable. Use it instead of hardcoded "readelf".
5997 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5999 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6000 * sysdeps/x86/Makefile: Here.
6001 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6002 * sysdeps/x86/tst-xmmymm.sh: This.
6004 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6006 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6008 [UNIX98] (pthread_barrier_t): Do not expect.
6009 [UNIX98] (pthread_barrierattr_t): Likewise.
6010 [UNIX98] (pthread_spinlock_t): Likewise.
6011 [UNIX98] (pthread_barrier_destroy): Likewise.
6012 [UNIX98] (pthread_barrier_init): Likewise.
6013 [UNIX98] (pthread_barrier_wait): Likewise.
6014 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6015 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6016 [UNIX98] (pthread_barrierattr_init): Likewise.
6017 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6018 [UNIX98] (pthread_getcpuclockid): Likewise.
6019 [UNIX98] (pthread_mutex_timedlock): Likewise.
6020 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6021 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6022 [UNIX98] (pthread_sigmask): Likewise.
6023 [UNIX98] (pthread_spin_destroy): Likewise.
6024 [UNIX98] (pthread_spin_init): Likewise.
6025 [UNIX98] (pthread_spin_lock): Likewise.
6026 [UNIX98] (pthread_spin_trylock): Likewise.
6027 [UNIX98] (pthread_spin_unlock): Likewise.
6028 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6030 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6032 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6033 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6034 [XPG3 || XPG4] (pthread_key_t): Likewise.
6035 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6036 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6037 [XPG3 || XPG4] (pthread_once_t): Likewise.
6038 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6039 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6041 [XPG3 || XPG4] (pthread_t): Likewise.
6043 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6045 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6047 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6048 Change function return type to int.
6050 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6051 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6052 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6053 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6054 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6055 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6056 [!POSIX] (posix_madvise): Likewise.
6057 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6059 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6060 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6062 (posix_mem_offset): Likewise.
6063 (posix_typed_mem_get_info): Likewise.
6064 (posix_typed_mem_open): Likewise.
6066 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6067 Change condition to [XOPEN2K8].
6069 * conform/conformtest.pl: Preprocess allow-header data with -x c
6070 instead of from stdin.
6071 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6072 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6073 [C99-based standards] (cerfc): Likewise.
6074 [C99-based standards] (cexp2): Likewise.
6075 [C99-based standards] (cexpm1): Likewise.
6076 [C99-based standards] (clog10): Likewise.
6077 [C99-based standards] (clog1p): Likewise.
6078 [C99-based standards] (clog2): Likewise.
6079 [C99-based standards] (clgamma): Likewise.
6080 [C99-based standards] (ctgamma): Likewise.
6081 [C99-based standards] (cerff): Likewise.
6082 [C99-based standards] (cerfcf): Likewise.
6083 [C99-based standards] (cexp2f): Likewise.
6084 [C99-based standards] (cexpm1f): Likewise.
6085 [C99-based standards] (clog10f): Likewise.
6086 [C99-based standards] (clog1pf): Likewise.
6087 [C99-based standards] (clog2f): Likewise.
6088 [C99-based standards] (clgammaf): Likewise.
6089 [C99-based standards] (ctgammaf): Likewise.
6090 [C99-based standards] (cerfl): Likewise.
6091 [C99-based standards] (cerfcl): Likewise.
6092 [C99-based standards] (cexp2l): Likewise.
6093 [C99-based standards] (cexpm1l): Likewise.
6094 [C99-based standards] (clog10l): Likewise.
6095 [C99-based standards] (clog1pl): Likewise.
6096 [C99-based standards] (clog2l): Likewise.
6097 [C99-based standards] (clgammal): Likewise.
6098 [C99-based standards] (ctgammal): Likewise.
6099 * conform/data/inttypes.h-data [C99-based standards]: Include
6100 stdint.h-data. Remove all expectations for stdint.h contents.
6101 [C99-based standards] (PRI*): Do not allow.
6102 [C99-based standards] (SCN*): Likewise.
6103 [C99-based standards] (*_t): Likewise.
6104 [C99-based-standards] (PRId8): Expect macro.
6105 [C99-based-standards] (PRIi8): Likewise.
6106 [C99-based-standards] (PRIo8): Likewise.
6107 [C99-based-standards] (PRIu8): Likewise.
6108 [C99-based-standards] (PRIx8): Likewise.
6109 [C99-based-standards] (PRIX8): Likewise.
6110 [C99-based-standards] (SCNd8): Likewise.
6111 [C99-based-standards] (SCNi8): Likewise.
6112 [C99-based-standards] (SCNo8): Likewise.
6113 [C99-based-standards] (SCNu8): Likewise.
6114 [C99-based-standards] (SCNx8): Likewise.
6115 [C99-based-standards] (PRIdLEAST8): Likewise.
6116 [C99-based-standards] (PRIiLEAST8): Likewise.
6117 [C99-based-standards] (PRIoLEAST8): Likewise.
6118 [C99-based-standards] (PRIuLEAST8): Likewise.
6119 [C99-based-standards] (PRIxLEAST8): Likewise.
6120 [C99-based-standards] (PRIXLEAST8): Likewise.
6121 [C99-based-standards] (SCNdLEAST8): Likewise.
6122 [C99-based-standards] (SCNiLEAST8): Likewise.
6123 [C99-based-standards] (SCNoLEAST8): Likewise.
6124 [C99-based-standards] (SCNuLEAST8): Likewise.
6125 [C99-based-standards] (SCNxLEAST8): Likewise.
6126 [C99-based-standards] (PRIdFAST8): Likewise.
6127 [C99-based-standards] (PRIiFAST8): Likewise.
6128 [C99-based-standards] (PRIoFAST8): Likewise.
6129 [C99-based-standards] (PRIuFAST8): Likewise.
6130 [C99-based-standards] (PRIxFAST8): Likewise.
6131 [C99-based-standards] (PRIXFAST8): Likewise.
6132 [C99-based-standards] (SCNdFAST8): Likewise.
6133 [C99-based-standards] (SCNiFAST8): Likewise.
6134 [C99-based-standards] (SCNoFAST8): Likewise.
6135 [C99-based-standards] (SCNuFAST8): Likewise.
6136 [C99-based-standards] (SCNxFAST8): Likewise.
6137 [C99-based-standards] (PRId16): Likewise.
6138 [C99-based-standards] (PRIi16): Likewise.
6139 [C99-based-standards] (PRIo16): Likewise.
6140 [C99-based-standards] (PRIu16): Likewise.
6141 [C99-based-standards] (PRIx16): Likewise.
6142 [C99-based-standards] (PRIX16): Likewise.
6143 [C99-based-standards] (SCNd16): Likewise.
6144 [C99-based-standards] (SCNi16): Likewise.
6145 [C99-based-standards] (SCNo16): Likewise.
6146 [C99-based-standards] (SCNu16): Likewise.
6147 [C99-based-standards] (SCNx16): Likewise.
6148 [C99-based-standards] (PRIdLEAST16): Likewise.
6149 [C99-based-standards] (PRIiLEAST16): Likewise.
6150 [C99-based-standards] (PRIoLEAST16): Likewise.
6151 [C99-based-standards] (PRIuLEAST16): Likewise.
6152 [C99-based-standards] (PRIxLEAST16): Likewise.
6153 [C99-based-standards] (PRIXLEAST16): Likewise.
6154 [C99-based-standards] (SCNdLEAST16): Likewise.
6155 [C99-based-standards] (SCNiLEAST16): Likewise.
6156 [C99-based-standards] (SCNoLEAST16): Likewise.
6157 [C99-based-standards] (SCNuLEAST16): Likewise.
6158 [C99-based-standards] (SCNxLEAST16): Likewise.
6159 [C99-based-standards] (PRIdFAST16): Likewise.
6160 [C99-based-standards] (PRIiFAST16): Likewise.
6161 [C99-based-standards] (PRIoFAST16): Likewise.
6162 [C99-based-standards] (PRIuFAST16): Likewise.
6163 [C99-based-standards] (PRIxFAST16): Likewise.
6164 [C99-based-standards] (PRIXFAST16): Likewise.
6165 [C99-based-standards] (SCNdFAST16): Likewise.
6166 [C99-based-standards] (SCNiFAST16): Likewise.
6167 [C99-based-standards] (SCNoFAST16): Likewise.
6168 [C99-based-standards] (SCNuFAST16): Likewise.
6169 [C99-based-standards] (SCNxFAST16): Likewise.
6170 [C99-based-standards] (PRId32): Likewise.
6171 [C99-based-standards] (PRIi32): Likewise.
6172 [C99-based-standards] (PRIo32): Likewise.
6173 [C99-based-standards] (PRIu32): Likewise.
6174 [C99-based-standards] (PRIx32): Likewise.
6175 [C99-based-standards] (PRIX32): Likewise.
6176 [C99-based-standards] (SCNd32): Likewise.
6177 [C99-based-standards] (SCNi32): Likewise.
6178 [C99-based-standards] (SCNo32): Likewise.
6179 [C99-based-standards] (SCNu32): Likewise.
6180 [C99-based-standards] (SCNx32): Likewise.
6181 [C99-based-standards] (PRIdLEAST32): Likewise.
6182 [C99-based-standards] (PRIiLEAST32): Likewise.
6183 [C99-based-standards] (PRIoLEAST32): Likewise.
6184 [C99-based-standards] (PRIuLEAST32): Likewise.
6185 [C99-based-standards] (PRIxLEAST32): Likewise.
6186 [C99-based-standards] (PRIXLEAST32): Likewise.
6187 [C99-based-standards] (SCNdLEAST32): Likewise.
6188 [C99-based-standards] (SCNiLEAST32): Likewise.
6189 [C99-based-standards] (SCNoLEAST32): Likewise.
6190 [C99-based-standards] (SCNuLEAST32): Likewise.
6191 [C99-based-standards] (SCNxLEAST32): Likewise.
6192 [C99-based-standards] (PRIdFAST32): Likewise.
6193 [C99-based-standards] (PRIiFAST32): Likewise.
6194 [C99-based-standards] (PRIoFAST32): Likewise.
6195 [C99-based-standards] (PRIuFAST32): Likewise.
6196 [C99-based-standards] (PRIxFAST32): Likewise.
6197 [C99-based-standards] (PRIXFAST32): Likewise.
6198 [C99-based-standards] (SCNdFAST32): Likewise.
6199 [C99-based-standards] (SCNiFAST32): Likewise.
6200 [C99-based-standards] (SCNoFAST32): Likewise.
6201 [C99-based-standards] (SCNuFAST32): Likewise.
6202 [C99-based-standards] (SCNxFAST32): Likewise.
6203 [C99-based-standards] (PRId64): Likewise.
6204 [C99-based-standards] (PRIi64): Likewise.
6205 [C99-based-standards] (PRIo64): Likewise.
6206 [C99-based-standards] (PRIu64): Likewise.
6207 [C99-based-standards] (PRIx64): Likewise.
6208 [C99-based-standards] (PRIX64): Likewise.
6209 [C99-based-standards] (SCNd64): Likewise.
6210 [C99-based-standards] (SCNi64): Likewise.
6211 [C99-based-standards] (SCNo64): Likewise.
6212 [C99-based-standards] (SCNu64): Likewise.
6213 [C99-based-standards] (SCNx64): Likewise.
6214 [C99-based-standards] (PRIdLEAST64): Likewise.
6215 [C99-based-standards] (PRIiLEAST64): Likewise.
6216 [C99-based-standards] (PRIoLEAST64): Likewise.
6217 [C99-based-standards] (PRIuLEAST64): Likewise.
6218 [C99-based-standards] (PRIxLEAST64): Likewise.
6219 [C99-based-standards] (PRIXLEAST64): Likewise.
6220 [C99-based-standards] (SCNdLEAST64): Likewise.
6221 [C99-based-standards] (SCNiLEAST64): Likewise.
6222 [C99-based-standards] (SCNoLEAST64): Likewise.
6223 [C99-based-standards] (SCNuLEAST64): Likewise.
6224 [C99-based-standards] (SCNxLEAST64): Likewise.
6225 [C99-based-standards] (PRIdFAST64): Likewise.
6226 [C99-based-standards] (PRIiFAST64): Likewise.
6227 [C99-based-standards] (PRIoFAST64): Likewise.
6228 [C99-based-standards] (PRIuFAST64): Likewise.
6229 [C99-based-standards] (PRIxFAST64): Likewise.
6230 [C99-based-standards] (PRIXFAST64): Likewise.
6231 [C99-based-standards] (SCNdFAST64): Likewise.
6232 [C99-based-standards] (SCNiFAST64): Likewise.
6233 [C99-based-standards] (SCNoFAST64): Likewise.
6234 [C99-based-standards] (SCNuFAST64): Likewise.
6235 [C99-based-standards] (SCNxFAST64): Likewise.
6236 [C99-based-standards] (PRIdMAX): Likewise.
6237 [C99-based-standards] (PRIiMAX): Likewise.
6238 [C99-based-standards] (PRIoMAX): Likewise.
6239 [C99-based-standards] (PRIuMAX): Likewise.
6240 [C99-based-standards] (PRIxMAX): Likewise.
6241 [C99-based-standards] (PRIXMAX): Likewise.
6242 [C99-based-standards] (SCNdMAX): Likewise.
6243 [C99-based-standards] (SCNiMAX): Likewise.
6244 [C99-based-standards] (SCNoMAX): Likewise.
6245 [C99-based-standards] (SCNuMAX): Likewise.
6246 [C99-based-standards] (SCNxMAX): Likewise.
6247 [C99-based-standards] (PRIdPTR): Likewise.
6248 [C99-based-standards] (PRIiPTR): Likewise.
6249 [C99-based-standards] (PRIoPTR): Likewise.
6250 [C99-based-standards] (PRIuPTR): Likewise.
6251 [C99-based-standards] (PRIxPTR): Likewise.
6252 [C99-based-standards] (PRIXPTR): Likewise.
6253 [C99-based-standards] (SCNdPTR): Likewise.
6254 [C99-based-standards] (SCNiPTR): Likewise.
6255 [C99-based-standards] (SCNoPTR): Likewise.
6256 [C99-based-standards] (SCNuPTR): Likewise.
6257 [C99-based-standards] (SCNxPTR): Likewise.
6258 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6260 * conform/data/stdint.h-data: Update comments to clarify
6262 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6264 [C99-based standards] (INT8_MAX): Likewise.
6265 [C99-based standards] (INT16_MIN): Likewise.
6266 [C99-based standards] (INT16_MAX): Likewise.
6267 [C99-based standards] (INT32_MIN): Likewise.
6268 [C99-based standards] (INT32_MAX): Likewise.
6269 [C99-based standards] (INT64_MIN): Likewise.
6270 [C99-based standards] (INT64_MAX): Likewise.
6271 [C99-based standards] (UINT8_MAX): Likewise.
6272 [C99-based standards] (UINT16_MAX): Likewise.
6273 [C99-based standards] (UINT32_MAX): Likewise.
6274 [C99-based standards] (UINT64_MAX): Likewise.
6275 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6276 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6277 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6278 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6279 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6280 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6281 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6282 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6283 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6284 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6285 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6286 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6287 [C99-based standards] (INT_FAST8_MIN): Likewise.
6288 [C99-based standards] (INT_FAST8_MAX): Likewise.
6289 [C99-based standards] (INT_FAST16_MIN): Likewise.
6290 [C99-based standards] (INT_FAST16_MAX): Likewise.
6291 [C99-based standards] (INT_FAST32_MIN): Likewise.
6292 [C99-based standards] (INT_FAST32_MAX): Likewise.
6293 [C99-based standards] (INT_FAST64_MIN): Likewise.
6294 [C99-based standards] (INT_FAST64_MAX): Likewise.
6295 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6296 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6297 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6298 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6299 [C99-based standards] (INTPTR_MIN): Likewise.
6300 [C99-based standards] (INTPTR_MAX): Likewise.
6301 [C99-based standards] (UINTPTR_MAX): Likewise.
6302 [C99-based standards] (INTMAX_MIN): Likewise.
6303 [C99-based standards] (INTMAX_MAX): Likewise.
6304 [C99-based standards] (UINTMAX_MAX): Likewise.
6305 [C99-based standards] (PTRDIFF_MIN): Likewise.
6306 [C99-based standards] (PTRDIFF_MAX): Likewise.
6307 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6308 [C99-based standards] (SIZE_MAX): Likewise.
6309 [C99-based standards] (WCHAR_MAX): Likewise.
6310 [C99-based standards] (WINT_MAX): Likewise.
6311 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6312 constraint on value.
6313 [C99-based standards] (WCHAR_MIN): Likewise.
6314 [C99-based standards] (WINT_MIN): Likewise.
6315 [C99-based standards] (*_t): Allow.
6316 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6317 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6318 Include math.h-data and complex.h-data. Remove all expectations
6319 of math.h and complex.h contents.
6320 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6322 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6323 (struct tm): Expect tag.
6324 [C99-based-standards] (wcstof): Expect function.
6325 [C99-based-standards] (wcstold): Likewise.
6326 [C99-based-standards] (wcstoll): Likewise.
6327 [C99-based-standards] (wcstoull): Likewise.
6328 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6329 macro-int-constant. Specify type.
6330 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6331 constraint on value.
6332 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6334 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6336 [ISO C standards]: Do not allow headers.
6337 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6338 wcs[abcdefghijklmnopqrstuvwxyz]*.
6339 [ISO C standards] (*_t): Do not allow.
6340 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6342 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6343 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6345 [ISO C standards]: Do not allow headers.
6346 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6347 is[abcdefghijklmnopqrstuvwxyz]*.
6348 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6349 to[abcdefghijklmnopqrstuvwxyz]*.
6350 [ISO C standards] (*_t): Do not allow.
6351 * conform/data/stdalign.h-data: New file.
6352 * conform/data/stdbool.h-data: Likewise.
6353 * conform/data/stdnoreturn.h-data: Likewise.
6355 2012-11-07 Roland McGrath <roland@hack.frob.com>
6358 * manual/filesys.texi (Directory Entries): Typo fix.
6359 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6361 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6363 * elf/elf.h (EM_AARCH64): New macro.
6364 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6365 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6366 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6367 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6368 (R_AARCH64_TLSDESC): Likewise.
6369 (NT_ARM_TLS): Likewise.
6370 (NT_ARM_HW_BREAK): Likewise.
6371 (NT_ARM_HW_WATCH): Likewise.
6373 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6376 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6377 (__ieee754_powl): Saturate nonzero exponents with absolute value
6378 below 0x1p-79 to +/- 0x1p-79.
6379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6380 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6381 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6382 nonzero exponents with absolute value below 0x1p-32 to +/-
6384 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6385 (__ieee754_powl): Saturate nonzero exponents with absolute value
6386 below 0x1p-79 to +/- 0x1p-79.
6387 * math/libm-test.inc (pow_test): Add more tests.
6389 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6391 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6392 _dl_s390_cap_flags with kernel. Increase string length.
6393 (_dl_s390_platforms): Add z196 and zEC12.
6395 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6397 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6398 Change XOPEN21K to XOPEN2K.
6400 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6402 * string/memmove.c: Use memcpy when possible.
6404 2012-11-06 Andreas Jaeger <aj@suse.de>
6406 * po/eo.po: Update from translation team.
6408 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6412 exponent and small x and y exponents, scale x or y up. Increase
6413 by 2 the exponent used in scaling up.
6414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6416 * math/libm-test.inc (fma_test): Add more tests.
6417 (fma_test_towardzero): Likewise.
6418 (fma_test_downward): Likewise.
6419 (fma_test_upward): Likewise.
6421 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6424 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6428 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6429 namespace for names of struct fields.
6430 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6432 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6433 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6435 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6438 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6440 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6442 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6446 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6449 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6453 definitely overflow as x * y not x * y + z.
6454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6456 * math/libm-test.inc (fma_test): Add more tests.
6457 (fma_test_towardzero): Likewise.
6458 (fma_test_downward): Likewise.
6459 (fma_test_upward): Likewise.
6461 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6465 * include/stub-tag.h: Remove file.
6466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6468 * manual/maint.texi (Porting): Don't reference it.
6469 * Makerules ($(objpfx)stubs): Likewise.
6470 * dirent/closedir.c: Don't include <stub-tag.h>.
6471 * dirent/dirfd.c: Likewise.
6472 * dirent/fdopendir.c: Likewise.
6473 * dirent/getdents.c: Likewise.
6474 * dirent/getdents64.c: Likewise.
6475 * dirent/opendir.c: Likewise.
6476 * dirent/readdir.c: Likewise.
6477 * dirent/readdir64.c: Likewise.
6478 * dirent/readdir64_r.c: Likewise.
6479 * dirent/readdir_r.c: Likewise.
6480 * dirent/rewinddir.c: Likewise.
6481 * dirent/seekdir.c: Likewise.
6482 * dirent/telldir.c: Likewise.
6483 * gmon/profil.c: Likewise.
6484 * grp/setgroups.c: Likewise.
6485 * inet/if_index.c: Likewise.
6486 * io/access.c: Likewise.
6487 * io/chdir.c: Likewise.
6488 * io/chmod.c: Likewise.
6489 * io/chown.c: Likewise.
6490 * io/close.c: Likewise.
6491 * io/dup.c: Likewise.
6492 * io/dup2.c: Likewise.
6493 * io/dup3.c: Likewise.
6494 * io/euidaccess.c: Likewise.
6495 * io/faccessat.c: Likewise.
6496 * io/fchdir.c: Likewise.
6497 * io/fchmod.c: Likewise.
6498 * io/fchmodat.c: Likewise.
6499 * io/fchown.c: Likewise.
6500 * io/fchownat.c: Likewise.
6501 * io/fcntl.c: Likewise.
6502 * io/flock.c: Likewise.
6503 * io/fstatfs.c: Likewise.
6504 * io/fstatfs64.c: Likewise.
6505 * io/fstatvfs.c: Likewise.
6506 * io/fstatvfs64.c: Likewise.
6507 * io/futimens.c: Likewise.
6508 * io/fxstat.c: Likewise.
6509 * io/fxstat64.c: Likewise.
6510 * io/fxstatat.c: Likewise.
6511 * io/fxstatat64.c: Likewise.
6512 * io/getcwd.c: Likewise.
6513 * io/isatty.c: Likewise.
6514 * io/lchmod.c: Likewise.
6515 * io/lchown.c: Likewise.
6516 * io/link.c: Likewise.
6517 * io/linkat.c: Likewise.
6518 * io/lseek.c: Likewise.
6519 * io/lseek64.c: Likewise.
6520 * io/lxstat64.c: Likewise.
6521 * io/mkdir.c: Likewise.
6522 * io/mkdirat.c: Likewise.
6523 * io/mkfifo.c: Likewise.
6524 * io/mkfifoat.c: Likewise.
6525 * io/open.c: Likewise.
6526 * io/open64.c: Likewise.
6527 * io/openat.c: Likewise.
6528 * io/openat64.c: Likewise.
6529 * io/pipe.c: Likewise.
6530 * io/pipe2.c: Likewise.
6531 * io/poll.c: Likewise.
6532 * io/posix_fadvise.c: Likewise.
6533 * io/posix_fadvise64.c: Likewise.
6534 * io/posix_fallocate.c: Likewise.
6535 * io/posix_fallocate64.c: Likewise.
6536 * io/read.c: Likewise.
6537 * io/readlink.c: Likewise.
6538 * io/readlinkat.c: Likewise.
6539 * io/rmdir.c: Likewise.
6540 * io/sendfile.c: Likewise.
6541 * io/sendfile64.c: Likewise.
6542 * io/statfs.c: Likewise.
6543 * io/statfs64.c: Likewise.
6544 * io/statvfs.c: Likewise.
6545 * io/statvfs64.c: Likewise.
6546 * io/symlink.c: Likewise.
6547 * io/symlinkat.c: Likewise.
6548 * io/ttyname.c: Likewise.
6549 * io/ttyname_r.c: Likewise.
6550 * io/umask.c: Likewise.
6551 * io/unlink.c: Likewise.
6552 * io/unlinkat.c: Likewise.
6553 * io/utime.c: Likewise.
6554 * io/utimensat.c: Likewise.
6555 * io/write.c: Likewise.
6556 * io/xmknod.c: Likewise.
6557 * io/xmknodat.c: Likewise.
6558 * io/xstat.c: Likewise.
6559 * io/xstat64.c: Likewise.
6560 * login/getpt.c: Likewise.
6561 * login/grantpt.c: Likewise.
6562 * login/unlockpt.c: Likewise.
6563 * math/e_acoshl.c: Likewise.
6564 * math/e_acosl.c: Likewise.
6565 * math/e_asinl.c: Likewise.
6566 * math/e_atan2l.c: Likewise.
6567 * math/e_atanhl.c: Likewise.
6568 * math/e_coshl.c: Likewise.
6569 * math/e_expl.c: Likewise.
6570 * math/e_fmodl.c: Likewise.
6571 * math/e_gammal_r.c: Likewise.
6572 * math/e_hypotl.c: Likewise.
6573 * math/e_j0l.c: Likewise.
6574 * math/e_j1l.c: Likewise.
6575 * math/e_jnl.c: Likewise.
6576 * math/e_lgammal_r.c: Likewise.
6577 * math/e_log10l.c: Likewise.
6578 * math/e_log2l.c: Likewise.
6579 * math/e_logl.c: Likewise.
6580 * math/e_powl.c: Likewise.
6581 * math/e_rem_pio2l.c: Likewise.
6582 * math/e_sinhl.c: Likewise.
6583 * math/e_sqrtl.c: Likewise.
6584 * math/fclrexcpt.c: Likewise.
6585 * math/fedisblxcpt.c: Likewise.
6586 * math/feenablxcpt.c: Likewise.
6587 * math/fegetenv.c: Likewise.
6588 * math/fegetexcept.c: Likewise.
6589 * math/fegetround.c: Likewise.
6590 * math/feholdexcpt.c: Likewise.
6591 * math/fesetenv.c: Likewise.
6592 * math/fesetround.c: Likewise.
6593 * math/feupdateenv.c: Likewise.
6594 * math/fgetexcptflg.c: Likewise.
6595 * math/fraiseexcpt.c: Likewise.
6596 * math/fsetexcptflg.c: Likewise.
6597 * math/ftestexcept.c: Likewise.
6598 * math/k_cosl.c: Likewise.
6599 * math/k_rem_pio2l.c: Likewise.
6600 * math/k_sinl.c: Likewise.
6601 * math/k_tanl.c: Likewise.
6602 * math/s_asinhl.c: Likewise.
6603 * math/s_atanl.c: Likewise.
6604 * math/s_cbrtl.c: Likewise.
6605 * math/s_erfl.c: Likewise.
6606 * math/s_expm1l.c: Likewise.
6607 * math/s_log1pl.c: Likewise.
6608 * math/s_tanhl.c: Likewise.
6609 * misc/acct.c: Likewise.
6610 * misc/brk.c: Likewise.
6611 * misc/chflags.c: Likewise.
6612 * misc/chroot.c: Likewise.
6613 * misc/fchflags.c: Likewise.
6614 * misc/fgetxattr.c: Likewise.
6615 * misc/flistxattr.c: Likewise.
6616 * misc/fremovexattr.c: Likewise.
6617 * misc/fsetxattr.c: Likewise.
6618 * misc/fsync.c: Likewise.
6619 * misc/ftruncate.c: Likewise.
6620 * misc/futimes.c: Likewise.
6621 * misc/futimesat.c: Likewise.
6622 * misc/getdomain.c: Likewise.
6623 * misc/getdtsz.c: Likewise.
6624 * misc/gethostid.c: Likewise.
6625 * misc/gethostname.c: Likewise.
6626 * misc/getloadavg.c: Likewise.
6627 * misc/getpagesize.c: Likewise.
6628 * misc/getsysstats.c: Likewise.
6629 * misc/getxattr.c: Likewise.
6630 * misc/gtty.c: Likewise.
6631 * misc/ioctl.c: Likewise.
6632 * misc/lgetxattr.c: Likewise.
6633 * misc/listxattr.c: Likewise.
6634 * misc/llistxattr.c: Likewise.
6635 * misc/lremovexattr.c: Likewise.
6636 * misc/lsetxattr.c: Likewise.
6637 * misc/lutimes.c: Likewise.
6638 * misc/madvise.c: Likewise.
6639 * misc/mincore.c: Likewise.
6640 * misc/mlock.c: Likewise.
6641 * misc/mlockall.c: Likewise.
6642 * misc/mmap.c: Likewise.
6643 * misc/mprotect.c: Likewise.
6644 * misc/msync.c: Likewise.
6645 * misc/munlock.c: Likewise.
6646 * misc/munlockall.c: Likewise.
6647 * misc/munmap.c: Likewise.
6648 * misc/preadv.c: Likewise.
6649 * misc/preadv64.c: Likewise.
6650 * misc/ptrace.c: Likewise.
6651 * misc/pwritev.c: Likewise.
6652 * misc/pwritev64.c: Likewise.
6653 * misc/readv.c: Likewise.
6654 * misc/reboot.c: Likewise.
6655 * misc/remap_file_pages.c: Likewise.
6656 * misc/removexattr.c: Likewise.
6657 * misc/revoke.c: Likewise.
6658 * misc/select.c: Likewise.
6659 * misc/setdomain.c: Likewise.
6660 * misc/setegid.c: Likewise.
6661 * misc/seteuid.c: Likewise.
6662 * misc/sethostid.c: Likewise.
6663 * misc/sethostname.c: Likewise.
6664 * misc/setregid.c: Likewise.
6665 * misc/setreuid.c: Likewise.
6666 * misc/setxattr.c: Likewise.
6667 * misc/sstk.c: Likewise.
6668 * misc/stty.c: Likewise.
6669 * misc/swapoff.c: Likewise.
6670 * misc/swapon.c: Likewise.
6671 * misc/sync.c: Likewise.
6672 * misc/syncfs.c: Likewise.
6673 * misc/syscall.c: Likewise.
6674 * misc/truncate.c: Likewise.
6675 * misc/ualarm.c: Likewise.
6676 * misc/usleep.c: Likewise.
6677 * misc/ustat.c: Likewise.
6678 * misc/utimes.c: Likewise.
6679 * misc/vhangup.c: Likewise.
6680 * misc/writev.c: Likewise.
6681 * posix/_exit.c: Likewise.
6682 * posix/alarm.c: Likewise.
6683 * posix/execve.c: Likewise.
6684 * posix/fexecve.c: Likewise.
6685 * posix/fork.c: Likewise.
6686 * posix/fpathconf.c: Likewise.
6687 * posix/getaddrinfo.c: Likewise.
6688 * posix/getegid.c: Likewise.
6689 * posix/geteuid.c: Likewise.
6690 * posix/getgid.c: Likewise.
6691 * posix/getgroups.c: Likewise.
6692 * posix/getlogin.c: Likewise.
6693 * posix/getlogin_r.c: Likewise.
6694 * posix/getpgid.c: Likewise.
6695 * posix/getpid.c: Likewise.
6696 * posix/getppid.c: Likewise.
6697 * posix/getresgid.c: Likewise.
6698 * posix/getresuid.c: Likewise.
6699 * posix/getsid.c: Likewise.
6700 * posix/getuid.c: Likewise.
6701 * posix/glob64.c: Likewise.
6702 * posix/nanosleep.c: Likewise.
6703 * posix/pathconf.c: Likewise.
6704 * posix/pause.c: Likewise.
6705 * posix/posix_madvise.c: Likewise.
6706 * posix/pread.c: Likewise.
6707 * posix/pread64.c: Likewise.
6708 * posix/pwrite.c: Likewise.
6709 * posix/pwrite64.c: Likewise.
6710 * posix/sched_getaffinity.c: Likewise.
6711 * posix/sched_getp.c: Likewise.
6712 * posix/sched_gets.c: Likewise.
6713 * posix/sched_primax.c: Likewise.
6714 * posix/sched_primin.c: Likewise.
6715 * posix/sched_rr_gi.c: Likewise.
6716 * posix/sched_setaffinity.c: Likewise.
6717 * posix/sched_setp.c: Likewise.
6718 * posix/sched_sets.c: Likewise.
6719 * posix/sched_yield.c: Likewise.
6720 * posix/setgid.c: Likewise.
6721 * posix/setlogin.c: Likewise.
6722 * posix/setpgid.c: Likewise.
6723 * posix/setresgid.c: Likewise.
6724 * posix/setresuid.c: Likewise.
6725 * posix/setsid.c: Likewise.
6726 * posix/setuid.c: Likewise.
6727 * posix/sleep.c: Likewise.
6728 * posix/spawni.c: Likewise.
6729 * posix/sysconf.c: Likewise.
6730 * posix/times.c: Likewise.
6731 * posix/wait.c: Likewise.
6732 * posix/wait3.c: Likewise.
6733 * posix/wait4.c: Likewise.
6734 * posix/waitpid.c: Likewise.
6735 * resolv/gai_sigqueue.c: Likewise.
6736 * resource/getpriority.c: Likewise.
6737 * resource/getrlimit.c: Likewise.
6738 * resource/getrusage.c: Likewise.
6739 * resource/nice.c: Likewise.
6740 * resource/setpriority.c: Likewise.
6741 * resource/setrlimit.c: Likewise.
6742 * resource/ulimit.c: Likewise.
6743 * rt/aio_cancel.c: Likewise.
6744 * rt/aio_fsync.c: Likewise.
6745 * rt/aio_read.c: Likewise.
6746 * rt/aio_sigqueue.c: Likewise.
6747 * rt/aio_suspend.c: Likewise.
6748 * rt/aio_write.c: Likewise.
6749 * rt/clock_getres.c: Likewise.
6750 * rt/clock_gettime.c: Likewise.
6751 * rt/clock_nanosleep.c: Likewise.
6752 * rt/clock_settime.c: Likewise.
6753 * rt/lio_listio.c: Likewise.
6754 * rt/mq_close.c: Likewise.
6755 * rt/mq_getattr.c: Likewise.
6756 * rt/mq_notify.c: Likewise.
6757 * rt/mq_open.c: Likewise.
6758 * rt/mq_receive.c: Likewise.
6759 * rt/mq_send.c: Likewise.
6760 * rt/mq_setattr.c: Likewise.
6761 * rt/mq_timedreceive.c: Likewise.
6762 * rt/mq_timedsend.c: Likewise.
6763 * rt/mq_unlink.c: Likewise.
6764 * rt/shm_open.c: Likewise.
6765 * rt/shm_unlink.c: Likewise.
6766 * rt/timer_create.c: Likewise.
6767 * rt/timer_delete.c: Likewise.
6768 * rt/timer_getoverr.c: Likewise.
6769 * rt/timer_gettime.c: Likewise.
6770 * rt/timer_settime.c: Likewise.
6771 * setjmp/__longjmp.c: Likewise.
6772 * setjmp/setjmp.c: Likewise.
6773 * signal/kill.c: Likewise.
6774 * signal/killpg.c: Likewise.
6775 * signal/raise.c: Likewise.
6776 * signal/sigaction.c: Likewise.
6777 * signal/sigaltstack.c: Likewise.
6778 * signal/sigblock.c: Likewise.
6779 * signal/sigignore.c: Likewise.
6780 * signal/sigintr.c: Likewise.
6781 * signal/signal.c: Likewise.
6782 * signal/sigpause.c: Likewise.
6783 * signal/sigpending.c: Likewise.
6784 * signal/sigqueue.c: Likewise.
6785 * signal/sigreturn.c: Likewise.
6786 * signal/sigset.c: Likewise.
6787 * signal/sigsetmask.c: Likewise.
6788 * signal/sigstack.c: Likewise.
6789 * signal/sigsuspend.c: Likewise.
6790 * signal/sigtimedwait.c: Likewise.
6791 * signal/sigvec.c: Likewise.
6792 * signal/sigwait.c: Likewise.
6793 * signal/sigwaitinfo.c: Likewise.
6794 * signal/sysv_signal.c: Likewise.
6795 * socket/accept.c: Likewise.
6796 * socket/accept4.c: Likewise.
6797 * socket/bind.c: Likewise.
6798 * socket/connect.c: Likewise.
6799 * socket/getpeername.c: Likewise.
6800 * socket/getsockname.c: Likewise.
6801 * socket/getsockopt.c: Likewise.
6802 * socket/isfdtype.c: Likewise.
6803 * socket/listen.c: Likewise.
6804 * socket/recv.c: Likewise.
6805 * socket/recvfrom.c: Likewise.
6806 * socket/recvmsg.c: Likewise.
6807 * socket/send.c: Likewise.
6808 * socket/sendmsg.c: Likewise.
6809 * socket/sendto.c: Likewise.
6810 * socket/setsockopt.c: Likewise.
6811 * socket/shutdown.c: Likewise.
6812 * socket/sockatmark.c: Likewise.
6813 * socket/socket.c: Likewise.
6814 * socket/socketpair.c: Likewise.
6815 * stdio-common/ctermid.c: Likewise.
6816 * stdio-common/cuserid.c: Likewise.
6817 * stdio-common/remove.c: Likewise.
6818 * stdio-common/rename.c: Likewise.
6819 * stdio-common/renameat.c: Likewise.
6820 * stdio-common/tempname.c: Likewise.
6821 * stdlib/getcontext.c: Likewise.
6822 * stdlib/makecontext.c: Likewise.
6823 * stdlib/setcontext.c: Likewise.
6824 * stdlib/swapcontext.c: Likewise.
6825 * stdlib/system.c: Likewise.
6826 * streams/fattach.c: Likewise.
6827 * streams/fdetach.c: Likewise.
6828 * streams/getmsg.c: Likewise.
6829 * streams/getpmsg.c: Likewise.
6830 * streams/putmsg.c: Likewise.
6831 * streams/putpmsg.c: Likewise.
6832 * sysdeps/unix/bsd/getpt.c: Likewise.
6833 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6834 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6835 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6838 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6839 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6840 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6841 * sysvipc/msgctl.c: Likewise.
6842 * sysvipc/msgget.c: Likewise.
6843 * sysvipc/msgrcv.c: Likewise.
6844 * sysvipc/msgsnd.c: Likewise.
6845 * sysvipc/semctl.c: Likewise.
6846 * sysvipc/semget.c: Likewise.
6847 * sysvipc/semop.c: Likewise.
6848 * sysvipc/semtimedop.c: Likewise.
6849 * sysvipc/shmat.c: Likewise.
6850 * sysvipc/shmctl.c: Likewise.
6851 * sysvipc/shmdt.c: Likewise.
6852 * sysvipc/shmget.c: Likewise.
6853 * termios/tcdrain.c: Likewise.
6854 * termios/tcflow.c: Likewise.
6855 * termios/tcflush.c: Likewise.
6856 * termios/tcgetattr.c: Likewise.
6857 * termios/tcgetpgrp.c: Likewise.
6858 * termios/tcsendbrk.c: Likewise.
6859 * termios/tcsetattr.c: Likewise.
6860 * termios/tcsetpgrp.c: Likewise.
6861 * time/adjtime.c: Likewise.
6862 * time/clock.c: Likewise.
6863 * time/getitimer.c: Likewise.
6864 * time/gettimeofday.c: Likewise.
6865 * time/setitimer.c: Likewise.
6866 * time/settimeofday.c: Likewise.
6867 * time/stime.c: Likewise.
6868 * time/time.c: Likewise.
6870 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6872 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6875 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6877 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6879 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6883 FE_TONEAREST before applying Dekker multiplication and Knuth
6884 addition. Clear inexact exceptions and check for exact zero
6886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6888 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6889 * math/libm-test.inc (fma_test): Add more tests.
6890 (fma_test_towardzero): Likewise.
6891 (fma_test_downward): Likewise.
6892 (fma_test_upward): Likewise.
6893 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6895 (libc_fesetround): New macro.
6896 (libc_fesetroundf): Likewise.
6897 (libc_fesetroundl): Likewise.
6898 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6900 (libc_fesetround_387): Likewise.
6901 (libc_fesetroundf): New macro.
6902 (libc_fesetround): Likewise.
6903 (libc_fesetroundl): Likewise.
6904 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6906 (libc_fesetroundf): New macro.
6907 (libc_fesetround): Likewise.
6908 (libc_fesetroundl): Likewise.
6909 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6910 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6911 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6913 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6914 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6916 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6917 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6919 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6923 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6924 integer constant usable in #if and use that to give value to enum
6926 (FE_DIVBYZERO): Likewise.
6927 (FE_UNDERFLOW): Likewise.
6928 (FE_OVERFLOW): Likewise.
6929 (FE_INVALID): Likewise.
6930 (FE_INVALID_SNAN): Likewise.
6931 (FE_INVALID_ISI): Likewise.
6932 (FE_INVALID_IDI): Likewise.
6933 (FE_INVALID_ZDZ): Likewise.
6934 (FE_INVALID_IMZ): Likewise.
6935 (FE_INVALID_COMPARE): Likewise.
6936 (FE_INVALID_SOFTWARE): Likewise.
6937 (FE_INVALID_SQRT): Likewise.
6938 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6939 (FE_TONEAREST): Likewise.
6940 (FE_TOWARDZERO): Likewise.
6941 (FE_UPWARD): Likewise.
6942 (FE_DOWNWARD): Likewise.
6943 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6944 (FE_DIVBYZERO): Likewise.
6945 (FE_OVERFLOW): Likewise.
6946 (FE_UNDERFLOW): Likewise.
6947 (FE_INEXACT): Likewise.
6948 (FE_TONEAREST): Likewise.
6949 (FE_DOWNWARD): Likewise.
6950 (FE_UPWARD): Likewise.
6951 (FE_TOWARDZERO): Likewise.
6952 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6953 (FE_UNDERFLOW): Likewise.
6954 (FE_OVERFLOW): Likewise.
6955 (FE_DIVBYZERO): Likewise.
6956 (FE_INVALID): Likewise.
6957 (FE_TONEAREST): Likewise.
6958 (FE_TOWARDZERO): Likewise.
6959 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6960 (FE_OVERFLOW): Likewise.
6961 (FE_UNDERFLOW): Likewise.
6962 (FE_DIVBYZERO): Likewise.
6963 (FE_INEXACT): Likewise.
6964 (FE_TONEAREST): Likewise.
6965 (FE_TOWARDZERO): Likewise.
6966 (FE_UPWARD): Likewise.
6967 (FE_DOWNWARD): Likewise.
6968 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6969 (FE_DIVBYZERO): Likewise.
6970 (FE_OVERFLOW): Likewise.
6971 (FE_UNDERFLOW): Likewise.
6972 (FE_INEXACT): Likewise.
6973 (FE_TONEAREST): Likewise.
6974 (FE_DOWNWARD): Likewise.
6975 (FE_UPWARD): Likewise.
6976 (FE_TOWARDZERO): Likewise.
6978 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6980 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6982 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6984 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6985 commands. Quote $PWD.
6986 (blacklist_exports): Don't use remove_newlines. Replace "declare
6988 (remove_newlines): Remove.
6990 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6992 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6993 * stdlib/stdlib.h (atof): Moved to ...
6994 * include/bits/stdlib-float.h: Here. New file.
6995 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6996 * stdlib/bits/stdlib-float.h: New file.
6997 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7002 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7004 * conform/conformtest.pl (@headers): Add fenv.h.
7005 * conform/data/fenv.h-data: New file.
7006 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7007 include of <math/fenv.h>.
7009 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7010 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7011 && !UNIX98]. Enables tests for XOPEN2K8.
7012 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7013 POSIX2008]: Likewise.
7015 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7016 (struct rusage): Do not expect type or its members.
7019 * math/math.h (FP_NAN): Define macro to integer constant usable in
7020 #if and use that to give value to enum constant.
7021 (FP_INFINITE): Likewise.
7022 (FP_ZERO): Likewise.
7023 (FP_SUBNORMAL): Likewise.
7024 (FP_NORMAL): Likewise.
7026 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7028 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7029 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7032 2012-11-02 Roland McGrath <roland@hack.frob.com>
7034 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7035 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7036 autoconf-time if not.
7037 * configure.in: Remove AC_PREREQ.
7039 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7041 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7042 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7043 of the internal implementation.
7045 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7047 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7048 except include of <misc/sys/syslog.h>.
7050 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7053 function returns with a NULL context exit with zero.
7055 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7057 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7059 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7061 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7062 (run_program_cmd): This.
7063 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7064 (tst_langinfo): New variable. Use it.
7066 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7068 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7069 floating point opcodes.
7071 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7073 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7076 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7078 * sysdeps/mach/hurd/powerpc: Remove directory.
7079 * sysdeps/mach/powerpc: Likewise.
7081 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7083 * scripts/check-local-headers.sh: Ignore c++ headers.
7085 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7087 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7088 __libc_cleanup_region_start argument.
7090 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7095 x * y using scaling, not as x * y + z.
7096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7098 * math/libm-test.inc (fma_test): Add more tests.
7099 (fma_test_towardzero): Likewise.
7100 (fma_test_downward): Likewise.
7101 (fma_test_upward): Likewise.
7103 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7105 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7107 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7109 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7112 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7114 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7116 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7123 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7126 Fix the order of the list for glibc 2.17.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7130 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7134 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7138 for low part of x being zero before using __atanl (y).
7139 * math/libm-test.inc (atan2_test): Add another test.
7141 * manual/install.texi (Configuring and compiling): Document
7142 general use of test-wrapper and test-wrapper-env.
7143 * INSTALL: Regenerated.
7145 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7146 (__fma): Do not extract and scale down low bits on after-rounding
7147 systems when result rounded to normal precision would have normal
7149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7150 (__fmal): Do not extract and scale down low bits on after-rounding
7151 systems when result rounded to normal precision would have normal
7153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7154 (__fmal): Do not extract and scale down low bits on after-rounding
7155 systems when result rounded to normal precision would have normal
7157 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7159 (fma_test): Add more tests.
7160 (fma_test_towardzero): Likewise.
7161 (fma_test_downward): Likewise.
7162 (fma_test_upward): Likewise.
7164 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7166 * sysdeps/i386/tininess.h: Renamed to ...
7167 * sysdeps/x86/tininess.h: This.
7168 * sysdeps/x86_64/tininess.h: Removed.
7170 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7172 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7173 input. Use $(build-program-cmd).
7174 ($(objpfx)tst-array1-static.out): Likewise.
7175 ($(objpfx)tst-array2.out): Likewise.
7176 ($(objpfx)tst-array3.out): Likewise.
7177 ($(objpfx)tst-array4.out): Likewise.
7178 ($(objpfx)tst-array5.out): Likewise.
7179 ($(objpfx)tst-array5-static.out): Likewise.
7181 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7183 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7186 * nss/nsswitch.h (nss_interface_function): Provide new
7187 macro for use with NSS functions.
7188 * grp/initgroups.c: Use new macro.
7189 * nss/getXXbyYY.c: Likewise.
7190 * nss/getXXbyYY_r.c: Likewise.
7191 * nss/getXXent.c: Likewise.
7192 * nss/getXXent_r.c: Likewise.
7193 * sysdeps/posix/getaddrinfo.c: Likewise.
7195 2012-10-30 Andreas Jaeger <aj@suse.de>
7197 * po/ru.po: Update Russion translation from translation project.
7199 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7204 result and shift together with sticky bit instead of replicating
7205 round-to-nearest rounding.
7206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7207 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7208 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7209 missing underflow exceptions.
7210 (fma_test_towardzero): Add more tests.
7211 (fma_test_downward): Likewise.
7212 (fma_test_upward): Likewise.
7215 * sysdeps/generic/tininess.h: New file.
7216 * sysdeps/i386/tininess.h: Likewise.
7217 * sysdeps/sh/tininess.h: Likewise.
7218 * sysdeps/x86_64/tininess.h: Likewise.
7219 * stdlib/tst-strtod-underflow.c: Likewise.
7220 * stdlib/tst-tininess.c: Likewise.
7221 * stdlib/strtod_l.c: Include <tininess.h>.
7222 (round_and_return): Do not set errno for exact underflow cases.
7223 Force an underflow exception when setting errno for underflow.
7224 Determine underflow based on rounding to normal precision if
7225 TININESS_AFTER_ROUNDING.
7226 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7227 ERANGE for exact underflow cases.
7228 * stdlib/Makefile (tests): Add tst-tininess and
7229 tst-strtod-underflow.
7230 ($(objpfx)tst-tininess): Use $(link-libm).
7231 ($(objpfx)tst-strtod-underflow): Likewise.
7233 2012-10-30 Andreas Jaeger <aj@suse.de>
7236 * elf/Makefile (tests): Remove conditional for have-initfini-array
7237 since this is now always required and the variable does not exist
7239 (tests-static): Likewise.
7240 (modules-names): Likewise.
7242 * po/eo.po: Add Esperanto translation from translation project.
7244 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7245 merged with constructor/destructor.
7246 (init_array): Likewise.
7247 * elf/tst-array2dep.c (fini_array): Likewise.
7248 (init_array): Likewise.
7250 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7252 * manual/message.texi: Delete @cartouche tags.
7254 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7256 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7258 * sysdeps/mach/hurd/fsync.c: Likewise.
7260 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7261 [_POSIX_REALTIME_SIGNALS]: Change condition to
7262 [_POSIX_REALTIME_SIGNALS > 0].
7264 2012-10-27 Andreas Jaeger <aj@suse.de>
7266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7267 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7269 [__WORDSIZE != 64]: Likewise.
7271 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7273 * iconvdata/tst-table.sh: Remove ${SHELL}.
7274 * iconvdata/tst-tables.sh: Likewise.
7276 2012-10-25 David S. Miller <davem@davemloft.net>
7278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7279 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7284 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7285 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7286 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7289 2012-10-25 Roland McGrath <roland@hack.frob.com>
7291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7292 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7295 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7296 Jim Blandy <jimb@codesourcery.com>
7298 * scripts/cross-test-ssh.sh: New file.
7299 * manual/install.texi (Configuring and compiling): Document use of
7301 * INSTALL: Regenerated.
7303 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7305 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7308 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7310 * Makeconfig (run-program-prefix): Fix comment.
7312 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7313 Jim Blandy <jimb@codesourcery.com>
7315 * Makeconfig (test-wrapper): New variable,
7316 (test-wrapper-env): Likewise.
7317 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7318 (run-built-tests): Define to yes.
7319 (run-program-prefix): Use $(test-wrapper).
7320 (built-program-cmd): Likewise.
7321 * Rules (make-test-out): Use $(test-wrapper-env) and
7322 $(host-built-program-cmd).
7323 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7324 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7326 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7327 $(test-wrapper-env) to tst-rtld-load-self.sh.
7328 ($(objpfx)order2.out): Use $(test-wrapper).
7329 ($(objpfx)tst-initorder.out): Likewise.
7330 ($(objpfx)tst-initorder2.out): Likewise.
7331 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7332 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7333 (test_wrapper_env): New variable. Use it to run ld.so.
7334 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7335 Use it to run ld.so.
7336 (test_wrapper_env): Likewise.
7337 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7338 $(test-wrapper) to run-iconv-test.sh.
7339 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7340 (ICONV): Use $test_wrapper.
7341 * posix/Makefile ($(objpfx)globtest.out): Pass
7342 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7343 globtest.sh, not $(run-program-prefix).
7344 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7345 (test_wrapper): Likewise.
7346 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7347 set together with run_via_rtld_prefix.
7348 (run_program_prefix): Define in terms of test_wrapper and
7349 run_via_rtld_prefix.
7351 2012-10-24 Roland McGrath <roland@hack.frob.com>
7353 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7354 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7358 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7359 Declare __clock_getres, __clock_gettime, __clock_settime,
7360 __clock_nanosleep, and __clock_getcpuclockid.
7361 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7362 Remove librt_hidden_def (clock_gettime).
7363 * sysdeps/unix/clock_gettime.c: Likewise.
7364 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7365 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7366 * rt/clock_getres.c: Define __clock_getres as an alias.
7367 * sysdeps/posix/clock_getres.c: Likewise.
7368 * rt/clock_settime.c: Define __clock_settime as an alias.
7369 * sysdeps/unix/clock_settime.c: Likewise.
7370 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7371 * sysdeps/unix/clock_nanosleep.c: Likewise.
7372 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7373 * rt/clock-compat.c: New file.
7374 * rt/Makefile (librt-routines): Add clock-compat and move
7375 $(clock-routines) to ...
7376 (routines): ... here, new variable.
7377 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7378 Don't add get_clockfreq here.
7379 * rt/Versions (libc: GLIBC_2.17): New version set.
7380 Add clock_* symbols here.
7381 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7382 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7383 (GLIBC_2.17): Add clock_* symbols.
7384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7395 * NEWS: Mention the move.
7397 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7398 Use __open, __read, __close rather than their public counterparts.
7399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7400 (__get_clockfreq_via_cpuinfo): Likewise.
7401 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7402 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7404 * config.h.in (HAVE_IFUNC): New #undef.
7405 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7407 * configure: Regenerated.
7409 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7411 * configure.in: Move READELF check to start of file.
7412 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7413 libc_cv_asm_gnu_indirect_function in the process.
7414 * configure: Regenerated.
7416 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7418 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7419 send the output to /dev/null.
7420 (libc_cv_cc_with_libunwind): Likewise.
7421 (libc_cv_as_noexecstack): Likewise.
7422 * configure: Regenerate.
7424 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7426 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7428 * posix/globtest.sh (TMPDIR): Do not set.
7429 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7430 (testout): Likewise.
7432 2012-10-24 Andreas Jaeger <aj@suse.de>
7434 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7435 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7436 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7437 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7438 posix_fadvise64, posix_fallocate64.
7440 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7441 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7442 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7444 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7446 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7449 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7450 <bits/fcntl-linux.h>.
7451 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7454 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7455 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7456 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7457 [__WORDSIZE != 64]: Likewise.
7459 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7461 * Makeconfig (run-built-tests): New variable.
7462 * Rules [$(cross-compiling) = yes]: Change condition to
7463 [$(run-built-tests) = no].
7464 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7465 to [$(run-built-tests) = yes].
7466 * elf/Makefile [$(cross-compiling) = no]: Likewise
7467 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7468 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7469 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7470 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7471 * io/Makefile [$(cross-compiling) = no]: Likewise.
7472 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7473 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7474 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7475 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7476 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7477 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7478 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7479 * string/Makefile [$(cross-compiling) = no]: Likewise.
7481 * posix/Makefile ($(objpfx)globtest.out): Pass
7482 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7483 $(rtld-installed-name).
7484 * posix/globtest.sh (elf_objpfx): Remove variable.
7485 (rtld_installed_name): Likewise.
7486 (library_path): Likewise.
7487 (run_program_prefix): New variable. Use for running globtest
7490 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7491 Joseph Myers <joseph@codesourcery.com>
7493 * Makeconfig (host-built-program-cmd): New variable.
7494 * elf/Makefile (tst-stackguard1-ARGS): Use
7495 $(host-built-program-cmd).
7496 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7497 (tst-spawn-ARGS): Likewise.
7498 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7500 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7501 Jim Blandy <jimb@codesourcery.com>
7503 * Makeconfig (run-via-rtld-prefix): New variable.
7504 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7505 (built-program-cmd): Likewise.
7507 2012-10-22 Andreas Jaeger <aj@suse.de>
7509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7510 __O_RSYNC if it exists, otherwise to O_SYNC.
7512 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7513 Joseph Myers <joseph@codesourcery.com>
7515 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7517 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7519 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7522 2012-10-22 Andreas Jaeger <aj@suse.de>
7524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7532 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7539 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7540 Joseph Myers <joseph@codesourcery.com>
7542 * config.make.in (NM): New variable.
7544 2012-10-21 Andreas Jaeger <aj@suse.de>
7546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7547 definitions and declarations that are provided by
7548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7550 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7553 * elf/Makefile (tests-static): Add tst-leaks1-static.
7554 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7555 ($(objpfx)tst-leaks1-static): New rule.
7556 ($(objpfx)tst-leaks1-static-mem): Likewise.
7557 (tst-leaks1-static-ENV): New macro.
7558 * elf/dl-open.c (dl_open_worker): Check the main application
7559 only if SHARED is defined.
7560 * elf/tst-leaks1-static.c: New file.
7562 2012-10-20 Andreas Jaeger <aj@suse.de>
7564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7565 generic values for Linux.
7566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7567 and declarations that are provided by <bits/fcntl-linux.h> and
7568 include <bits/fcntl-linux.h>.
7569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7572 2012-10-20 Roland McGrath <roland@hack.frob.com>
7574 * io/fcntl.h: Move include of <bits/types.h> to the top and
7575 include it unconditionally.
7577 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7579 * wcsmbs/Makefile (tests-ifunc): New variable.
7580 (tests): Add $(tests-ifunc).
7581 * wcsmbs/test-wcschr-ifunc.c: New file.
7582 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7583 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7584 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7585 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7586 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7588 * string/Makefile (tests-ifunc): New variable.
7589 (tests): Add $(tests-ifunc).
7590 * string/test-memccpy.c (TEST_NAME): New macro.
7591 * string/test-memchr.c (TEST_NAME): Likewise.
7592 * string/test-memcmp.c (TEST_NAME): Likewise.
7593 * string/test-memcpy.c (TEST_NAME): Likewise.
7594 * string/test-memmem.c (TEST_NAME): Likewise.
7595 * string/test-memmove.c (TEST_NAME): Likewise.
7596 * string/test-memset.c (TEST_NAME): Likewise.
7597 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7598 * string/test-stpcpy.c (TEST_NAME): Likewise.
7599 * string/test-stpncpy.c (TEST_NAME): Likewise.
7600 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7601 * string/test-strcasestr.c (TEST_NAME): Likewise.
7602 * string/test-strcat.c (TEST_NAME): Likewise.
7603 * string/test-strchr.c (TEST_NAME): Likewise.
7604 * string/test-strcmp.c(TEST_NAME): Likewise.
7605 * string/test-strcpy.c (TEST_NAME): Likewise.
7606 * string/test-strcspn.c (TEST_NAME): Likewise.
7607 * string/test-strlen.c (TEST_NAME): Likewise.
7608 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7609 * string/test-strncmp.c (TEST_NAME): Likewise.
7610 * string/test-strncpy.c (TEST_NAME): Likewise.
7611 * string/test-strnlen.c (TEST_NAME): Likewise.
7612 * string/test-strpbrk.c (TEST_NAME): Likewise.
7613 * string/test-strrchr.c (TEST_NAME): Likewise.
7614 * string/test-strspn.c (TEST_NAME): Likewise.
7615 * string/test-strstr.c (TEST_NAME): Likewise.
7616 * string/test-bcopy-ifunc.c: New file.
7617 * string/test-bzero-ifunc.c: Likewise.
7618 * string/test-memccpy-ifunc.c: Likewise.
7619 * string/test-memchr-ifunc.c: Likewise.
7620 * string/test-memcmp-ifunc.c: Likewise.
7621 * string/test-memcpy-ifunc.c: Likewise.
7622 * string/test-memmem-ifunc.c: Likewise.
7623 * string/test-memmove-ifunc.c: Likewise.
7624 * string/test-mempcpy-ifunc.c: Likewise.
7625 * string/test-memset-ifunc.c: Likewise.
7626 * string/test-rawmemchr-ifunc.c: Likewise.
7627 * string/test-stpcpy-ifunc.c: Likewise.
7628 * string/test-stpncpy-ifunc.c: Likewise.
7629 * string/test-strcasecmp-ifunc.c: Likewise.
7630 * string/test-strcasestr-ifunc.c: Likewise.
7631 * string/test-strcat-ifunc.c: Likewise.
7632 * string/test-strchr-ifunc.c: Likewise.
7633 * string/test-strchrnul-ifunc.c: Likewise.
7634 * string/test-strcmp-ifunc.c: Likewise.
7635 * string/test-strcpy-ifunc.c: Likewise.
7636 * string/test-strcspn-ifunc.c: Likewise.
7637 * string/test-strlen-ifunc.c: Likewise.
7638 * string/test-strncasecmp-ifunc.c: Likewise.
7639 * string/test-strncat-ifunc.c: Likewise.
7640 * string/test-strncmp-ifunc.c: Likewise.
7641 * string/test-strncpy-ifunc.c: Likewise.
7642 * string/test-strnlen-ifunc.c: Likewise.
7643 * string/test-strpbrk-ifunc.c: Likewise.
7644 * string/test-strrchr-ifunc.c: Likewise.
7645 * string/test-strspn-ifunc.c: Likewise.
7646 * string/test-strstr-ifunc.c: Likewise.
7648 * debug/Makefile (tests-ifunc): New variable.
7649 (tests): Add $(tests-ifunc).
7650 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7651 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7652 * debug/test-stpcpy_chk-ifunc.c: New file.
7653 * debug/test-strcpy_chk-ifunc.c: Likewise.
7655 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7658 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7659 header is not read in.
7661 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7663 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7664 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7665 directly. Pass built executable to script as
7666 $(built-program-cmd).
7667 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7668 $testprogram without using LD_LIBRARY_PATH and $ldso.
7670 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7671 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7672 $(rtld-installed-name).
7673 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7674 (rtld_installed_name): Likewise.
7675 (library_path): Likewise.
7676 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7677 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7678 $(run-program-prefix) to tst-tables.sh.
7679 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7680 it to run tst-table-from and tst-table-to.
7681 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7682 Pass it to tst-table.sh.
7683 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7684 $(run-program-prefix) to tst-gettext.sh.
7685 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7687 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7689 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7691 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7692 to run tst-gettext2.
7693 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7694 to run tst-translit.
7695 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7696 $(run-program-prefix) to tst-mtrace.sh.
7697 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7699 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7700 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7701 $(rtld-installed-name).
7702 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7703 (rtld_installed_name): Likewise.
7704 (run_program_prefix): New variable. Use it to run wordexp-test.
7706 * Makeconfig (ARCH): Remove all definitions.
7707 (machine): Likewise.
7708 [ARCH]: Remove conditional code.
7709 [!objdir]: Give error.
7710 [!objdir] (objpfx): Remove.
7711 [!objdir] (common-objpfx): Likewise.
7712 [!objdir] (common-objdir): Likewise.
7713 * configure.in (config_makefile): Remove. Hardcode Makefile in
7714 AC_CONFIG_FILES call.
7715 * configure: Regenerated.
7718 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7720 (testout): Likewise.
7722 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7723 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7724 $(rtld-installed-name).
7725 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7726 (rtld_installed_name): Likwise.
7727 (runit): Remove function.
7728 (run_getconf): New variable, Use it for running getconf binary.
7730 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7733 * string/test-memmem.c (check_result): New function.
7734 (do_one_test): Use it.
7735 (check1): New function.
7736 (test_main): Use it.
7738 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7740 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7742 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7744 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7745 (_G_LSEEK64): Likewise.
7746 (_G_MMAP64): Likewise.
7747 (_G_FSTAT64): Likewise.
7748 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7749 (_G_LSEEK64): Likewise.
7750 (_G_MMAP64): Likewise.
7751 (_G_FSTAT64): Likewise.
7752 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7753 unconditional. Call __mmap64 directly.
7754 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7755 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7757 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7758 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7760 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7761 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7763 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7764 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7766 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7767 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7769 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7770 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7771 __fxstat64 directly.
7772 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7773 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7775 (freopen64) [!_G_OPEN64]: Remove conditional code.
7776 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7778 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7779 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7781 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7782 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7784 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7785 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7787 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7788 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7790 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7791 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7793 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7794 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7796 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7798 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7801 * manual/memory.texi (Malloc Tunable Parameters): Add note
7802 about free list pointers overwriting some perturb bytes.
7803 Wording suggested by Roland McGrath.
7805 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7807 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7808 (lgamma_test): Likewise.
7809 (tgamma_test): Likewise.
7811 2012-10-16 Florian Weimer <fweimer@redhat.com>
7814 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7815 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7817 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7819 * NEWS: Mention BZ #14716.
7820 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7821 when removing AVAILABLE1_USES_J macro.
7823 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7825 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7826 (__bswap_64): __uint64_t for unsigned 64-bit int.
7828 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7830 * include/string.h (memmem): Declare libc hidden alias.
7831 * string/memmem.c (memmem): Define libc hidden alias.
7832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7833 __read, __close instead of open, read, close.
7835 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7838 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7840 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7841 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7842 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7844 (__rawmemchr_sse2): Likewise.
7845 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7846 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7847 (__strchr_sse2): Likewise.
7848 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7849 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7850 (__strcasecmp_sse2): Likewise.
7851 (__strncasecmp_sse2): Likewise.
7852 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7853 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7854 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7855 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7856 (__strrchr_sse2): Likewise.
7857 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7859 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7860 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7861 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7862 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7863 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7865 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7866 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7867 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7868 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7869 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7870 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7871 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7872 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7873 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7874 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7875 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7876 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7877 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7878 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7879 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7880 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7881 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7882 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7883 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7885 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7886 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7887 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7888 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7890 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7892 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7893 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7894 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7895 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7897 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7899 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7900 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7901 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7902 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7904 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7905 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7907 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7908 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7909 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7910 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7911 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7912 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7913 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7914 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7915 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7916 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7917 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7918 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7920 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7921 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7922 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7923 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7925 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7926 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7927 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7929 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7930 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7931 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7932 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7934 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7935 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7936 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7937 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7938 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7941 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7943 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7944 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7946 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7947 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7948 * include/ifunc-impl-list.h: New file.
7949 * misc/ifunc-impl-list.c: Likewise.
7950 * misc/Makefile (routines): Add ifunc-impl-list.
7951 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7952 * string/test-string.h: Include <ifunc-impl-list.h>.
7953 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7954 impl_array): New variables.
7955 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7957 (test_init): Call __libc_ifunc_impl_list to initialize
7958 func_list if TEST_IFUNC and TEST_NAME are defined.
7960 * string/Makefile (strop-tests): Add bcopy and bzero.
7961 * string/test-bcopy.c: New file.
7962 * string/test-bzero.c: Likewise.
7963 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7965 * string/test-memset.c: Support bzero test if TEST_BZERO is
7967 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7969 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7971 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7974 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7976 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7977 * configure: Regenerated.
7979 * Makeconfig (+link-static-before-libc): Don't include
7980 $(link-static-libc).
7982 * libio/libio.h (_IO_pos_t): Remove.
7984 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7986 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7989 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7991 * crypt/crypt-entry.c: Include fips-private.h.
7992 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7993 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7994 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7995 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7997 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7999 * crypt/crypt-private.h: Include stdbool.h.
8000 (_ufc_setup_salt_r): Return bool.
8001 * crypt/crypt-entry.c: Include errno.h.
8002 (__crypt_r): Return NULL with EINVAL for bad salt.
8003 * crypt/crypt_util.c (bad_for_salt): New.
8004 (_ufc_setup_salt_r): Check that salt is long enough and within
8005 the specified alphabet.
8006 * crypt/badsalttest.c: New file.
8007 * crypt/Makefile (tests): Add it.
8008 ($(objpfx)badsalttest): New.
8010 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8012 * NEWS: Add entry for BZ #14602.
8014 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8016 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8018 * math/libm-test.inc: Update comment listing what functions and
8020 (isgreater_test): New function.
8021 (isgreaterequal_test): Likewise.
8022 (isless_test): Likewise.
8023 (islessequal_test): Likewise.
8024 (islessgreater_test): Likewise.
8025 (isunordered_test): Likewise.
8026 (main): Call the new functions.
8028 2012-10-09 Roland McGrath <roland@hack.frob.com>
8030 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8031 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8032 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8033 * sysdeps/i386/configure: Regenerated.
8034 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8035 * sysdeps/mach/configure: Regenerated.
8036 * sysdeps/mach/hurd/configure: Regenerated.
8037 * sysdeps/powerpc/configure: Regenerated.
8038 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8039 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8040 * sysdeps/s390/s390-32/configure: Regenerated.
8041 * sysdeps/s390/s390-64/configure: Regenerated.
8042 * sysdeps/sh/configure: Regenerated.
8043 * sysdeps/sparc/configure: Regenerated.
8044 * sysdeps/unix/sysv/linux/configure: Regenerated.
8045 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8046 * sysdeps/x86_64/configure: Regenerated.
8048 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8049 defined. Don't check if MAP is NULL.
8051 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8053 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8054 (_G_stat64): Likewise.
8055 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8056 (_G_stat64): Likewise.
8057 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8058 instead of struct _G_stat64.
8059 * libio/fileops.c (mmap_remap_check): Likewise.
8060 (decide_maybe_mmap): Likewise.
8061 (_IO_new_file_seekoff): Likewise.
8062 (_IO_file_stat): Likewise.
8063 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8065 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8066 instead of struct _G_stat64.
8067 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8069 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8072 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8074 (CHECK_EOL): New macro.
8075 (two_way_short_needle): Check beginning of haystack for EOL. Use
8077 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8078 Replace with CHECK_EOL.
8079 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8080 Replace with CHECK_EOL.
8082 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8084 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8086 * math/libm-test.inc: Update comment listing what functions and
8088 (finite_test): New function.
8089 (isinf_test): Likewise.
8090 (isnan_test): Likewise.
8091 (fpclassify_test): Test subnormal input.
8092 (isfinite_test): Likewise.
8093 (isnormal_test): Likewise.
8094 (main): Call the new functions.
8096 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8099 * Makerules (%.dynsym): Force C locale when running
8100 $(OBJDUMP) --dynamic-syms.
8102 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8104 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8107 2012-10-06 David S. Miller <davem@davemloft.net>
8109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8110 upper 32-bits of the length value in %o2 since we use branch-on-register
8111 tests which consider the entire 64-bit register.
8113 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8115 * string/test-strstr.c (check2): Add a test for page boundary.
8117 2012-10-05 David S. Miller <davem@davemloft.net>
8119 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8120 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8122 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8124 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8125 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8126 and bzero when HWCAP_SPARC_CRYPTO is present.
8128 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8131 * string/test-strstr.c (check2): New function.
8132 (test_main): Call check2.
8134 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8136 * string/bug-strcasestr1.c (do_test): Moved to ...
8137 * string/test-strcasestr.c (check1): Here. New function.
8138 (do_one_test): Break out result checking code into ...
8139 (check_result): This. New function.
8140 (do_one_test): Call check_result.
8141 (test_main): Call check1.
8142 * string/bug-strchr1.c (do_test): Moved to ...
8143 * string/test-strchr.c (check1): Here. New function.
8144 (do_one_test): Break out result checking code into ...
8145 (check_result): This. New function.
8146 (do_one_test): Call check_result.
8147 (test_main): Call check1.
8148 * string/bug-strstr1.c (main): Moved to ...
8149 * string/test-strstr.c (check1): Here. New function.
8150 (do_one_test): Break out result checking code into ...
8151 (check_result): This. New function.
8152 (do_one_test): Call check_result.
8153 (test_main): Call check1.
8154 * string/bug-strcasestr1.c: Removed.
8155 * string/bug-strchr1.c: Likewise.
8156 * string/bug-strstr1.c: Likewise.
8158 * elf/Makefile (dl-routines): Add hwcaps.
8159 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8160 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8161 (_dl_important_hwcaps): Moved to ...
8162 * elf/dl-hwcaps.c: Here. New file.
8163 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8166 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8167 if IS_IN_rtld isn't defined.
8169 * elf/dl-support.c (_dl_sysinfo_map): New.
8170 Include "get-dynamic-info.h" and "setup-vdso.h".
8171 (_dl_non_dynamic_init): Call setup_vdso.
8172 * elf/dynamic-link.h: Don't include <assert.h>.
8173 (elf_get_dynamic_info): Moved to ...
8174 * elf/get-dynamic-info.h: Here. New file.
8175 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8176 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8177 * elf/setup-vdso.h: Here. New file.
8178 * elf/rtld.c: Include "setup-vdso.h".
8179 (dl_main): Call setup_vdso.
8181 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8183 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8184 creal in comment listing functions tested. List finite, isinf,
8185 isnan, isless, islessequal, isgreater, isgreaterequal,
8186 islessgreater, isunordered, lgamma_r and pow10 as functions and
8187 macros not tested. Mention which functions not tested are aliases
8188 for other functions. Fix typo. Note that signs of NaNs are not
8191 * scripts/config.guess: Update from config.git.
8192 * scripts/config.sub: Likewise.
8194 2012-10-04 Roland McGrath <roland@hack.frob.com>
8196 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8197 * misc/madvise.c (madvise): Renamed to __madvise.
8198 Make madvise a weak alias.
8199 * include/sys/mman.h: Declare __madvise.
8200 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8201 * sysdeps/unix/syscalls.list
8202 (madvise): Make __madvise the strong name, and madvise a weak alias.
8203 * sysdeps/unix/sysv/linux/syscalls.list
8204 (madvise, mmap): Remove redundant entries.
8205 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8206 * malloc/malloc.c (mtrim): Likewise.
8207 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8209 2012-10-03 Roland McGrath <roland@hack.frob.com>
8211 * sysdeps/mach/hurd/dl-cache.c: File removed.
8212 * config.h.in (USE_LDCONFIG): New #undef.
8213 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8214 * configure: Regenerated.
8215 * elf/Makefile (dl-routines): Add dl-cache only under
8216 [$(use-ldconfig) = yes].
8217 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8218 cache on [USE_LDCONFIG].
8219 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8221 * elf/rtld.c (dl_main): Likewise.
8223 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8225 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8226 _SC_LEVEL4_CACHE_LINESIZE.
8228 2012-10-03 Roland McGrath <roland@hack.frob.com>
8230 * sysdeps/unix/bsd/confstr.h: File removed.
8232 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8234 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8237 2012-10-02 Roland McGrath <roland@hack.frob.com>
8239 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8240 Make 'mapoff' field ElfW(Off) rather than off_t.
8242 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8244 * nscd/Makefile: Remove nscd-cflags and all its users.
8245 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8246 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8249 * malloc.c (malloc_printerr): Clarify error message.
8251 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8255 Set bit_FMA_Usable if FMA is supported.
8256 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8258 (bit_FMA4_Usable): Updated.
8259 (index_FMA_Usable): New macro.
8260 (CPUID_FMA): Likewise
8261 (HAS_FMA): Defined with bit_FMA_Usable.
8263 2012-10-01 Roland McGrath <roland@hack.frob.com>
8265 * bits/types.h (__swblk_t): Type removed.
8266 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8267 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8269 (__SWBLK_T_TYPE): Likewise.
8270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8271 (__SWBLK_T_TYPE): Likewise.
8272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8273 (__SWBLK_T_TYPE): Likewise.
8274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8275 (__SWBLK_T_TYPE): Likewise.
8277 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8278 Honza Horak <hhorak@redhat.com>
8280 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8281 (xdr_mapname): Use YPMAXMAP as maxsize.
8282 (xdr_peername): Use YPMAXPEER as maxsize.
8283 (xdr_keydat): Use YPAXRECORD as maxsize.
8284 (xdr_valdat): Use YPMAXRECORD as maxsize.
8286 2012-10-01 Roland McGrath <roland@hack.frob.com>
8288 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8290 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8291 * csu/init-first.c: ... here.
8292 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8293 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8294 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8296 * sysdeps/i386/init-first.c: File removed.
8297 * sysdeps/sh/init-first.c: File removed.
8299 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8303 if x * y might underflow to zero and z is zero.
8304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8306 * math/libm-test.inc (min_subnorm_value): New variable.
8307 (fma_test): Add more tests.
8308 (fma_test_towardzero): Likewise.
8309 (fma_test_downward): Likewise
8310 (fma_test_upward): Likewise.
8311 (initialize): Set min_subnorm_value.
8313 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8319 mode for addition resulting in exact zero.
8320 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8323 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8325 * math/libm-test.inc (fma_test): Add more tests.
8326 (fma_test_towardzero): New function.
8327 (fma_test_downward): Likewise.
8328 (fma_test_upward): Likewise.
8329 (main): Call the new functions.
8331 2012-09-28 David S. Miller <davem@davemloft.net>
8333 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8335 2012-09-28 Roland McGrath <roland@hack.frob.com>
8337 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8340 * sysdeps/gnu/_G_config.h: Moved to ...
8341 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8342 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8343 * sysdeps/generic/_G_config.h: ... here.
8345 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8347 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8349 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8350 Conditionalize target on [libnss_test1.so-version].
8352 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8354 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8355 (elfobjdir): Move out of conditionals.
8357 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8358 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8359 (__nss_lookup_function): Conditionalize label remove_from_tree on
8360 [!DO_STATIC_NSS || SHARED], matching its only use.
8362 2012-09-28 David S. Miller <davem@davemloft.net>
8364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8367 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8369 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8371 when HWCAP_SPARC_CRYPTO is present.
8373 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8375 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8377 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8380 * stdio-common/vfprintf.c (process_string_arg): Revert
8383 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8385 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8387 * stdio-common/tst-sprintf.c: Include <locale.h>
8388 (main): Test sprintf's handling of incomplete multibyte
8391 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8393 * elf/dl-runtime.c (VERSYMIDX): Removed.
8394 * elf/dl-version.c (VERSYMIDX): Likewise.
8395 * elf/do-rel.h (VERSYMIDX): Likewise.
8397 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8398 * elf/rtld.c (VALIDX): Likewise.
8399 (ADDRIDX): Likewise.
8400 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8401 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8402 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8403 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8405 (ADDRIDX): Likewise.
8407 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8409 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8411 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8414 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8416 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8417 addresses are in the same scope as 192.0.2/24.
8418 * posix/gai.conf: Document new scope table defaults.
8420 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8424 for ftell. Compute offsets from write pointers instead.
8425 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8427 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8430 * libio/Makefile (tests): New test case tst-fseek.
8431 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8432 combination works in wide mode.
8433 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8434 state when the external buffer state changes.
8436 2012-09-27 David S. Miller <davem@davemloft.net>
8439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8440 pass reloc->r_addend in as the 'high' argument to
8441 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8445 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8447 * rt/tst-aio2.c: Include <pthread.h>.
8448 * rt/tst-aio3.c: Likewise.
8450 2012-09-27 Steve Ellcey <sellcey@mips.com>
8452 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8454 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8456 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8457 contents on [SHARED].
8459 2012-09-26 Marek Polacek <polacek@redhat.com>
8463 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8464 for C++ and GCC <4.3 as well as for non GCC compilers.
8466 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8470 2012-09-25 Roland McGrath <roland@hack.frob.com>
8472 * Makefile.in (all, install): Declare with .PHONY.
8473 Reported by Michael Hope <michael.hope@linaro.org>.
8475 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8477 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8478 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8480 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8482 (sydep_routines): Add the new and the internal functions.
8483 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8484 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8486 (GLIBC_2.17): Add the new function.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8488 (GLIBC_2.17): Likewise.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8490 (GLIBC_2.17): Likewise.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8492 (GLIBC_2.17): Likewise.
8493 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8495 2012-09-25 Alan Modra <amodra@gmail.com>
8497 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8498 Add release barrier before setting once_control to say
8499 initialisation is done. Add hints on lwarx. Use macro in
8501 (clear_once_control): Add release barrier.
8503 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8506 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8508 * math/s_clog10.c (__clog10): Likewise.
8509 * math/s_clog10f.c (__clog10f): Likewise.
8510 * math/s_clog10l.c (__clog10l): Likewise.
8511 * math/s_clogf.c (__clogf): Likewise.
8512 * math/s_clogl.c (__clogl): Likewise.
8513 * math/Makefile (libm-calls): Add x2y2m1.
8514 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8515 (__x2y2m1): Likewise.
8516 (__x2y2m1l): Likewise.
8517 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8518 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8521 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8523 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8524 * sysdeps/i386/fpu/libm-test-ulps: Update.
8525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8528 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8529 int as type of variable DEPTH.
8530 (glob): Use size_t instead of int as type of variables NEWCOUNT
8533 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8535 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8537 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8539 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8540 macros for using routine as __sincosf_ia32.
8541 Use macro for function declaration and weak_alias.
8542 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8547 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8549 * math/s_cexpf.c (__cexpf): Likewise.
8550 * math/s_csinf.c (__csinf): Likewise.
8551 * math/s_csinhf.c (__csinhf): Likewise.
8552 * math/s_ctanf.c (__ctanf): Likewise.
8553 * math/s_ctanhf.c (__ctanhf): Likewise.
8554 * math/s_ccosh.c (__ccoshf): Likewise.
8555 * math/s_cexp.c (__cexpl): Likewise.
8556 * math/s_csin.c (__csin): Likewise.
8557 * math/s_csinh.c (__csinh): Likewise.
8558 * math/s_ctan.c (__ctan): Likewise.
8559 * math/s_ctanh.c (ctanh): Likewise.
8560 * math/s_ccoshl.c (__ccoshl): Likewise.
8561 * math/s_cexpl.c (__cexpl): Likewise.
8562 * math/s_csinl.c (__csinl): Likewise.
8563 * math/s_csinhl.c (__csinhl): Likewise.
8564 * math/s_ctanl.c (__ctanl): Likewise.
8565 * math/s_ctanhl.c (__ctanhl): Likewise.
8567 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8569 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8570 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8571 (_IO_off_t): Define to __off_t, not _G_off_t.
8572 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8573 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8574 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8575 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8576 type of __dummy and __dummy2 fields.
8577 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8578 (_G_ssize_t): Likewise.
8579 (_G_off_t): Likewise.
8580 (_G_pid_t): Likewise.
8581 (_G_uid_t): Likewise.
8582 (_G_wchar_t): Likewise.
8583 (_G_wint_t): Likewise.
8584 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8585 (_G_ssize_t): Likewise.
8586 (_G_off_t): Likewise.
8587 (_G_pid_t): Likewise.
8588 (_G_uid_t): Likewise.
8589 (_G_wchar_t): Likewise.
8590 (_G_wint_t): Likewise.
8591 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8592 (_G_ssize_t): Likewise.
8593 (_G_off_t): Likewise.
8594 (_G_pid_t): Likewise.
8595 (_G_uid_t): Likewise.
8596 (_G_wchar_t): Likewise.
8597 (_G_wint_t): Likewise.
8599 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8601 * malloc/arena.c: Include malloc-sysdep.h.
8602 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8603 is sufficient to shrink the heap or an unmap is needed.
8604 * sysdeps/generic/malloc-sysdep.h: New file. Define
8605 new function check_may_shrink_heap.
8606 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8607 new function check_may_shrink_heap.
8609 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8611 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8614 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8616 * catgets/test-gencat.sh: Add "set -e".
8617 * elf/tst-pathopt.sh: Likewise.
8618 * grp/tst_fgetgrent.sh: Likewise.
8619 * iconvdata/run-iconv-test.sh: Likewise.
8620 * intl/tst-gettext.sh: Likewise.
8621 * intl/tst-gettext2.sh: Likewise.
8622 * intl/tst-gettext4.sh: Likewise.
8623 * intl/tst-gettext6.sh: Likewise.
8624 * intl/tst-translit.sh: Likewise.
8625 * io/ftwtest-sh: Likewise.
8626 * libio/test-freopen.sh: Likewise.
8627 * malloc/tst-mtrace.sh: Likewise.
8628 * posix/globtest.sh: Likewise.
8629 * posix/tst-getconf.sh: Likewise.
8630 * posix/wordexp-tst.sh: Likewise.
8631 * stdio-common/tst-printf.sh: Likewise.
8632 * stdio-common/tst-unbputc.sh: Likewise.
8633 * stdlib/tst-fmtmsg.sh: Likewise.
8634 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8635 * catgets/Makefile: Do not specify -e option when running
8636 testsuite shell scripts.
8637 * elf/Makefile: Likewise.
8638 * grp/Makefile: Likewise.
8639 * iconvdata/Makefile: Likewise.
8640 * intl/Makefile: Likewise.
8641 * io/Makefile: Likewise.
8642 * libio/Makefile: Likewise.
8643 * malloc/Makefile: Likewise.
8644 * posix/Makefile: Likewise.
8645 * stdio-common/Makefile: Likewise.
8646 * stdlib/Makefile: Likewise.
8647 * sysdeps/x86_64/Makefile: Likewise.
8649 * io/ftwtest-sh: Add copyright header.
8650 * posix/globtest.sh: Likewise.
8651 * posix/tst-getconf.sh: Likewise.
8652 * posix/wordexp-tst.sh: Likewise.
8653 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8655 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8658 * Makeconfig (+link): Defined as $(+link-static) if
8659 $(build-shared) isn't yes.
8660 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8662 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8664 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8667 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8668 new chunk size with MALLOC_ALIGN_MASK.
8670 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8673 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8675 (__printf_fphex): Determine rounding using get_rounding_mode and
8677 * stdio-common/tst-printf-round.c (struct hex_test): New
8679 (hex_tests): New variable.
8680 (test_hex_in_one_mode): New function.
8681 (do_test): Also run tests for hex float output.
8683 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8685 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8686 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8687 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8688 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8689 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8690 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8691 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8692 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8694 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8696 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8697 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8698 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8699 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8701 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8704 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8706 * elf/tst-rtld-load-self.sh: New test.
8707 * elf/Makefile: Run it.
8709 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8712 (tst-writev-ENV): Remove.
8713 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8715 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8717 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8719 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8721 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8723 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8725 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8726 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8727 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8730 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8733 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8734 * config.make.in (have-cpp-asm-debuginfo): Removed.
8735 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8736 * configure: Regenerated.
8738 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8741 * stdio-common/printf_fp.c: Include <stdbool.h> and
8743 (___printf_fp): Determine rounding using get_rounding_mode and
8745 * stdio-common/tst-printf-round.c: New file.
8746 * stdio-common/Makefile (tests): Add tst-printf-round.
8747 (link-libm): New variable.
8748 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8750 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8753 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8754 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8756 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8759 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8761 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8762 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8763 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8764 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8766 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8769 * include/rounding-mode.h: New file.
8770 * sysdeps/generic/get-rounding-mode.h: Likewise.
8771 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8772 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8773 (MAX_VALUE): New macro.
8774 (MIN_VALUE): Likewise.
8775 (overflow_value): New function.
8776 (underflow_value): Likewise.
8777 (round_and_return): Use overflow_value and underflow_value to
8778 determine return values in overflow and underflow cases. Use
8779 round_away to determine rounding depending on rounding mode.
8780 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8781 determine return values in overflow and underflow cases.
8782 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8783 (struct test_results): New structure.
8784 (struct test): Use struct test_results to store expected results
8785 for all rounding modes.
8786 (TEST): Include expected results for all rounding modes.
8787 (test_in_one_mode): New function.
8788 (do_test): Use test_in_one_mode to compute and check results.
8789 Check results for all rounding modes.
8790 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8793 2012-12-09 Allan McRae <allan@archlinux.org>
8795 * sysdeps/i386/fpu/libm-test-ulps: Update
8797 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8799 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8800 (_G_int32_t): Likewise.
8801 (_G_uint16_t): Likewise.
8802 (_G_uint32_t): Likewise.
8803 (_G_HAVE_BOOL): Likewise.
8804 (_G_HAVE_ATEXIT): Likewise.
8805 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8806 (_G_HAVE_IO_FILE_OPEN): Likewise.
8807 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8808 (_G_int32_t): Likewise.
8809 (_G_uint16_t): Likewise.
8810 (_G_uint32_t): Likewise.
8811 (_G_HAVE_BOOL): Likewise.
8812 (_G_HAVE_ATEXIT): Likewise.
8813 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8814 (_G_HAVE_IO_FILE_OPEN): Likewise.
8815 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8816 (_G_int32_t): Likewise.
8817 (_G_uint16_t): Likewise.
8818 (_G_uint32_t): Likewise.
8819 (_G_HAVE_BOOL): Likewise.
8820 (_G_HAVE_ATEXIT): Likewise.
8821 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8822 (_G_HAVE_IO_FILE_OPEN): Likewise.
8824 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8826 * csu/libc-tls.c: Update copyright years.
8828 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8830 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8831 [!_G_USING_THUNKS]: Remove conditional code.
8832 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8833 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8835 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8836 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8837 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8838 (_G_VTABLE_LABEL_PREFIX): Likewise.
8839 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8840 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8841 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8842 (_G_VTABLE_LABEL_PREFIX): Likewise.
8843 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8844 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8845 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8846 (_G_VTABLE_LABEL_PREFIX): Likewise.
8847 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8849 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8851 * libio/Makefile: Include ../Makeconfig before tests.
8852 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8853 only if $(build-shared) is yes.
8855 * iconv/gconv_db.c: Update copyright years.
8857 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8859 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8860 unwind info if defined PIC. Fix special cases description.
8861 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8863 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8865 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8867 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8869 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8871 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8874 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8875 (LDLIBS-tst-chk4): This.
8876 (LDFLAGS-tst-chk5): Renamed to ...
8877 (LDLIBS-tst-chk5): This.
8878 (LDFLAGS-tst-chk6): Renamed to ...
8879 (LDLIBS-tst-chk6): This.
8880 (LDFLAGS-tst-lfschk4): Renamed to ...
8881 (LDLIBS-tst-lfschk4): This.
8882 (LDFLAGS-tst-lfschk5): Renamed to ...
8883 (LDLIBS-tst-lfschk5): This.
8884 (LDFLAGS-tst-lfschk6): Renamed to ...
8885 (LDLIBS-tst-lfschk6): This.
8887 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8888 on $(common-objpfx)soversions.mk.
8890 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8893 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8896 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8898 * malloc/arena.c (arena_get_retry): New function that gets
8899 another arena for the caller to try its request on.
8900 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8901 current arena cannot fulfill the request.
8902 (__libc_memalign): Likewise.
8903 (__libc_memalign): Likewise.
8904 (__libc_pvalloc): Likewise.
8905 (__libc_calloc): Likewise.
8907 2012-09-05 John Tobey <john.tobey@gmail.com>
8910 * manual/arith.texi (Operations on Complex): Fix description
8913 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8916 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8920 * manual/memory.texi (Memory): Make order of menu items match
8923 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8925 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8926 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8927 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8929 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8931 * csu/libc-tls.c (static_dtv): Renamed to ...
8932 (_dl_static_dtv): This. Make it global.
8933 (_dl_initial_dtv): Removed.
8934 (__libc_setup_tls): Updated.
8935 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8936 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8939 2012-09-06 Petr Machata <pmachata@redhat.com>
8941 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8942 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8943 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8944 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8946 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8949 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8950 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8953 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8956 * Makeconfig (link-static-before-libc): Replace $(+prector)
8958 (link-static-after-libc): Replace $(+postctor) with
8960 (link-bounded): Replace $(+prector)/$(+postctor) with
8961 $(+prectorT)/$(+postctorT).
8962 (+prectorT): New macro.
8963 (+postctorT): Likewise.
8965 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8967 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8968 (round_str): Handle values above the maximum for IBM long double
8970 * stdlib/tst-strtod-round.c (tests): Regenerated.
8972 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8974 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8976 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8977 zarch_nohighgprs around the zarch optimized routines.
8978 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8979 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8980 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8983 2012-09-05 David S. Miller <davem@davemloft.net>
8985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8987 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8988 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8989 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8990 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8993 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8995 * malloc/arena.c: Fold copyright years.
8996 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8998 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9000 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9002 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9004 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9006 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9008 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9009 change internal state upon failure.
9011 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9013 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9014 * malloc/memusage.c (mmap): Likewise.
9015 (mmap64, mremap): Likewise. Adjust name in comment.
9017 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9019 * libio/fileops.c: Fix typos in comments.
9020 * libio/oldfileops.c: Likewise.
9021 * libio/wfileops.c: Likewise.
9023 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9026 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9027 (tst-malloc-usable-ENV): Set environment for test case.
9028 * malloc/hooks.c (malloc_check_get_size): New function to get
9030 * malloc/malloc.c (musable): Use malloc_check_get_size.
9031 * malloc/tst-malloc-usable.c: New test case.
9033 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9035 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9037 2012-09-05 Allan McRae <allan@archlinux.org>
9040 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9041 determine header location.
9042 * configure: Regenerated.
9044 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9046 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9048 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9049 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9053 2012-09-04 David S. Miller <davem@davemloft.net>
9055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9057 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9059 2012-09-04 Florian Weimer <fweimer@redhat.com>
9061 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9064 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9066 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9069 * libio/iogetdelim.c: Include <limits.h>.
9070 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9071 + len + 1 would overflow.
9073 2012-09-03 Andreas Jaeger <aj@suse.de>
9075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9076 * sysdeps/i386/fpu/libm-test-ulps: Update.
9078 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9080 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9081 Add s_sinf-sse2, s_conf-sse2.
9083 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9084 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9085 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9086 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9088 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9089 for using routine as __sinf_ia32.
9090 Use macro for function declaration and weak_alias.
9091 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9092 for using routine as __cosf_ia32.
9093 Use macro for function declaration and weak_alias.
9095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9096 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9098 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9099 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9102 * math/libm-test.inc (cos_test): Add more test cases.
9103 (sin_test): Likewise.
9104 (sincos_test): Likewise.
9106 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9109 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9113 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9116 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9117 first element of the GOT.
9118 (elf_machine_load_address): Return the difference between
9119 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9121 2012-09-01 Allan McRae <allan@archlinux.org>
9124 * configure.in (AWK): Require gawk version 3.0 or later.
9125 * configure: Regenerated.
9127 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9129 * sysdeps/unix/sysv/linux/kernel-features.h
9130 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9132 [__NR_clock_getres]: Make code unconditional.
9133 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9134 (clock_getcpuclockid): Remove code left unreachable by removal of
9136 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9138 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9139 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9140 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9141 Make code unconditional.
9142 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9143 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9144 * sysdeps/unix/sysv/linux/clock_settime.c
9145 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9147 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9148 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9150 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9153 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9154 scripts/test-installation.pl.
9156 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9157 and $ld_so_version if it is set.
9159 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9163 failure if reading from procfs failed.
9164 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9166 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9168 * sysdeps/unix/sysv/linux/kernel-features.h
9169 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9170 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9171 Remove conditional code.
9172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9173 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9174 Remove conditional code.
9175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9176 * sysdeps/unix/sysv/linux/i386/fxstat.c
9177 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9179 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9180 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9182 * sysdeps/unix/sysv/linux/i386/lxstat.c
9183 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9185 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9186 Remove conditional code.
9187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9188 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9189 Remove conditional code.
9190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9191 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9192 <kernel-features.h>.
9193 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9195 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9196 Remove conditional code.
9197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9198 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9201 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9204 * NEWS: Add fixed bug number.
9206 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9209 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9210 underflowing exponent in case of negative sign.
9211 * stdlib/tst-strtod-round-data: Add more tests.
9212 * stdlib/tst-strtod-round.c (tests): Regenerated.
9215 * stdlib/strtod_l.c (NDIG): Remove.
9216 (HEXNDIG): Likewise.
9217 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9218 smallest representable value.
9219 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9220 lie within an exact representation of 1/2 ulp of the result.
9221 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9223 (TENS_P9_IDX): Define unconditionally.
9224 (TENS_P9_SIZE): Likewise.
9225 (TENS_P10_IDX): Likewise.
9226 (TENS_P10_SIZE): Likewise.
9227 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9228 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9229 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9230 entries for 10^2^13 and 10^2^14.
9231 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9232 (TENS_P13_IDX): Define.
9233 (TENS_P13_SIZE): Likewise.
9234 (TENS_P14_IDX): Likewise.
9235 (TENS_P14_SIZE): Likewise.
9236 (_fpioconst_pow10): Change array size to
9237 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9239 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9240 1024]: Add entries for 10^2^13 and 10^2^14.
9241 [LAST_POW10 > _LAST_POW10]: Remove #error.
9242 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9243 (_fpioconst_pow10): Change array size to
9244 FPIOCONST_POW10_ARRAY_SIZE.
9245 * stdlib/gen-fpioconst.c: New file.
9246 * stdlib/gen-tst-strtod-round.c: Likewise.
9247 * stdlib/tst-strtod-round-data: Likewise.
9248 * stdlib/tst-strtod-round.c: Likewise.
9249 * stdlib/Makefile (tests): Add tst-strtod-round.
9252 * stdlib/strtod_l.c: Include <stdint.h>.
9253 (NDEBUG): Do not define.
9254 (round_and_return): Change EXPONENT parameter to type intmax_t.
9255 Rearrange calculations to avoid internal overflow possibilities.
9256 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9257 Rearrange calculations to avoid internal overflow possibilities.
9258 Assert that number fits inside MPNSIZE limbs.
9259 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9260 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9261 calculations and add assertions to avoid internal overflow
9262 possibilities. Add casts to avoid signed/unsigned operations.
9263 * stdlib/tst-strtod-overflow.c: New file.
9264 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9266 2012-08-25 Marek Polacek <polacek@redhat.com>
9268 * time/time.h: Fix some typos in comments.
9270 2012-08-23 Roland McGrath <roland@hack.frob.com>
9272 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9273 * posix/tst-rfc3484-2.c: Likewise.
9274 * posix/tst-rfc3484-3.c: Likewise.
9276 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9278 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9279 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9281 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9284 #include of fxstatat64.c.
9286 2012-08-22 Roland McGrath <roland@hack.frob.com>
9288 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9289 * shadow/getspent_r.c: Likewise.
9290 * shadow/getspnam.c: Likewise.
9291 * shadow/getspnam_r.c: Likewise.
9292 * gshadow/getsgent.c: Likewise.
9293 * gshadow/getsgent_r.c: Likewise.
9294 * gshadow/getsgnam.c: Likewise.
9295 * gshadow/getsgnam_r.c: Likewise.
9296 * inet/getnetbyad.c: Likewise.
9297 * inet/getnetbyad_r.c: Likewise.
9298 * inet/getnetbynm.c: Likewise.
9299 * inet/getnetbynm_r.c: Likewise.
9300 * inet/getnetent.c: Likewise.
9301 * inet/getnetent_r.c: Likewise.
9302 * inet/getproto.c: Likewise.
9303 * inet/getproto_r.c: Likewise.
9304 * inet/getprtent.c: Likewise.
9305 * inet/getprtent_r.c: Likewise.
9306 * inet/getprtname.c: Likewise.
9307 * inet/getprtname_r.c: Likewise.
9308 * inet/getrpcbyname.c: Likewise.
9309 * inet/getrpcbyname_r.c: Likewise.
9310 * inet/getrpcbynumber.c: Likewise.
9311 * inet/getrpcbynumber_r.c: Likewise.
9312 * inet/getrpcent.c: Likewise.
9313 * inet/getrpcent_r.c: Likewise.
9314 * inet/getaliasent.c: Likewise.
9315 * inet/getaliasent_r.c: Likewise.
9316 * inet/getaliasname.c: Likewise.
9317 * inet/getaliasname_r.c: Likewise.
9318 * nscd/getgrgid_r.c: Likewise.
9319 * nscd/getgrnam_r.c: Likewise.
9320 * nscd/gethstbyad_r.c: Likewise.
9321 * nscd/gethstbynm3_r.c: Likewise.
9322 * nscd/getpwnam_r.c: Likewise.
9323 * nscd/getpwuid_r.c: Likewise.
9324 * nscd/getsrvbynm_r.c: Likewise.
9325 * nscd/getsrvbypt_r.c: Likewise.
9326 * nscd/gai.c: Likewise.
9328 * configure.in (build_nscd): New substituted variable, set
9329 by --disable-build-nscd and defaults to $use_nscd.
9330 * configure: Regenerated.
9331 * config.make.in (build-nscd): New substituted variable.
9332 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9333 Change conditional to require [$(build-nscd) = yes] as well.
9334 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9337 * configure.in (use_nscd): New substituted variable, set by
9338 --disable-nscd. If enabled, define USE_NSCD.
9339 * configure: Regenerated.
9340 * config.h.in: Add USE_NSCD.
9341 * config.make.in (use-nscd): New substituted variable.
9342 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9343 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9344 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9345 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9346 (CFLAGS-getgrnam_r.c): Likewise.
9347 (CFLAGS-initgroups.c): Likewise.
9348 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9349 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9351 * inet/getnetgrent_r.c
9352 (nscd_setnetgrent): New function, broken out of ...
9353 (setnetgrent): ... here. Call it.
9354 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9355 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9356 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9357 * nscd/Makefile (routines, aux): Move definitions after include of
9358 Makeconfig. Conditionalize on [$(use-nscd) != no].
9359 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9360 Conditionalize on [USE_NSCD].
9361 (is_nscd, nscd_init_cb): Likewise.
9362 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9363 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9364 * nss/nss_db/db-init.c: Likewise.
9365 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9367 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9368 (make_request): Use it.
9369 (cache_valid_p): New function.
9370 (__check_pf): Use it.
9371 * NEWS: Add item for --disable-nscd.
9373 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9375 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9376 to support sed >= 4.2.1-20-ga9bf076.
9377 * configure: Regenerated.
9379 2012-08-22 Roland McGrath <roland@hack.frob.com>
9381 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9382 Conditionalize whole body on [IREL].
9384 2012-08-22 Jeff Law <law@redhat.com>
9387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9388 if the family is PF_UNSPEC.
9390 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9392 * Makerules (lib-version): Rename from V.
9393 (install-lib-nosubdir): Change V to lib-version.
9395 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9398 * powerpc32/power6/wcschr.c: New file.
9399 * powerpc32/power6/wcscpy.c: New file.
9400 * powerpc32/power6/wcsrchr.c: New file.
9401 * powerpc64/power6/wcschr.c: New file.
9402 * powerpc64/power6/wcscpy.c: New file.
9403 * powerpc64/power6/wcsrchr.c: New file.
9405 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9407 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9408 (two_way_short_needle): Use it.
9409 * string/strstr.c (AVAILABLE1_USES_J): Define.
9410 * string/strcasestr.c: Likewise.
9412 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9414 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9417 * NEWS: Add an entry.
9418 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9419 define their defaults.
9420 (two_way_short_needle): Detect end-of-string on-the-fly.
9421 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9422 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9423 * string/bug-strcasestr1.c: New test.
9424 * string/Makefile: Run it.
9426 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9429 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9430 the first character.
9432 2012-08-21 Roland McGrath <roland@hack.frob.com>
9434 * csu/elf-init.c (__libc_csu_irel): Function removed.
9435 * csu/libc-start.c (apply_irel): New function.
9436 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9438 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9440 * sysdeps/unix/sysv/linux/kernel-features.h
9441 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9442 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9443 <kernel-features.h>.
9444 [__NR_fadvise64_64]: Make code unconditional.
9445 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9446 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9447 !__NR_fadvise64_64)]: Likewise.
9448 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9449 !__NR_fadvise64_64))]: Likewise.
9450 [__NR_fadvise64]: Make code unconditional.
9451 [!__NR_fadvise64]: Remove conditional code.
9452 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9453 <kernel-features.h>.
9454 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9456 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9459 not include <kernel-features.h>.
9460 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9462 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9464 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9465 include <kernel-features.h>.
9466 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9468 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9471 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9473 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9474 slight instruction rearrangements per scrollpipe analysis.
9475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9477 2012-08-20 Roland McGrath <roland@hack.frob.com>
9479 * manual/syslog.texi (syslog; vsyslog, closelog):
9480 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9481 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9483 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9484 DSOCAPS to match condition on defining it.
9486 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9488 * sysdeps/unix/sysv/linux/kernel-features.h
9489 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9491 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9492 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9494 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9495 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9497 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9498 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9500 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9501 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9503 * sysdeps/unix/sysv/linux/kernel-features.h
9504 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9505 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9507 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9508 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9509 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9510 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9511 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9512 Make code unconditional.
9513 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9514 (__mmap64) [!__NR_mmap2]: Likewise.
9515 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9516 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9517 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9518 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9519 [__NR_mmap2]: Make code unconditional.
9520 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9521 (__mmap64) [!__NR_mmap2]: Likewise.
9523 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9525 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9527 2012-08-18 Andreas Jaeger <aj@suse.de>
9529 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9531 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9533 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9534 * include/unistd.h (__have_sock_cloexec): Likewise.
9535 (__have_pipe2): Likewise.
9536 (__have_dup3): Likewise.
9538 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9541 * include/unistd.h (__have_pipe2): Change define into an extern int.
9542 (__have_dup3): Likewise.
9543 * socket/have_sock_cloexec.c: Include fcntl.h.
9544 (__have_pipe2): New variable.
9545 (__have_dup3): Likewise.
9547 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9549 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9551 2012-08-17 Marek Polacek <polacek@redhat.com>
9553 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9554 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9556 2012-08-17 Roland McGrath <roland@hack.frob.com>
9558 * configure.in: Add AC_SUBST for sysheaders.
9559 * configure: Regenerated.
9560 * config.make.in (sysheaders): New substituted variable.
9562 * sysdeps/unix/mkfifo.c: Moved ...
9563 * sysdeps/posix/mkfifo.c: ... here.
9564 * sysdeps/unix/mkfifoat.c: Moved ...
9565 * sysdeps/posix/mkfifoat.c: ... here.
9567 * sysdeps/unix/utime.c: Moved ...
9568 * sysdeps/posix/utime.c: ... here.
9570 * sysdeps/unix/time.c: Moved ...
9571 * sysdeps/posix/time.c: ... here.
9572 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9573 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9575 * sysdeps/unix/nice.c: Moved ...
9576 * sysdeps/posix/nice.c: ... here.
9578 * sysdeps/unix/alarm.c: Moved ...
9579 * sysdeps/posix/alarm.c: ... here.
9581 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9583 2012-08-17 Jeff Law <law@redhat.com>
9585 * intl/Makefile (codeset_mo): New variable.
9586 ($(codeset_mo)): New target.
9587 (tst-codeset.out): Depend on that. Remove explicit rule.
9588 (tst-gettext3.out, tst-gettext5.out): Likewise.
9589 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9590 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9591 * intl/tst-codeset.sh: Remove.
9592 * intl/tst-gettext3.sh: Likewise.
9593 * intl/tst-gettext5.sh: Likewise.
9595 2012-08-17 Roland McGrath <roland@hack.frob.com>
9597 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9598 * sysdeps/unix/syscalls.list: ... here.
9600 * sysdeps/posix/getaddrinfo.c
9601 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9602 (gaiconf_init, gaiconf_reload): Use them.
9604 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9605 Define using time_t rather than struct timespec.
9607 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9608 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9610 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9612 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9613 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9616 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9617 __libc_cleanup_push argument.
9619 * bits/param.h: New file.
9620 * misc/sys/param.h: New file.
9621 * include/sys/param.h: New file.
9622 * misc/Makefile (headers): Add bits/param.h.
9623 * sysdeps/generic/sys/param.h: File removed.
9624 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9625 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9626 * sysdeps/mach/hurd/bits/param.h: New file.
9627 * sysdeps/mach/hurd/sys/param.h: File removed.
9629 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9632 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9634 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9635 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9638 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9639 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9640 rather than -D_IO_MTSAFE_IO conditionally.
9641 * stdio-common/Makefile (CPPFLAGS): Likewise.
9642 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9643 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9644 Use $(libio-mtsafe).
9645 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9647 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9648 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9649 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9650 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9651 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9652 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9653 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9654 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9655 (CFLAGS-fread_u_chk.c): Likewise.
9656 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9657 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9658 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9659 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9660 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9661 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9662 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9663 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9664 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9666 * libio/Makefile: Test [$(libc-reentrant) = yes]
9667 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9670 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9671 * sysdeps/pthread/configure: File removed.
9672 * sysdeps/pthread/Makeconfig: New file.
9673 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9674 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9676 2012-08-16 Gary Benson <gbenson@redhat.com>
9678 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9679 unmapping the first object in a namespace.
9681 2012-08-16 Roland McGrath <roland@hack.frob.com>
9683 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9684 (__internal_setnetgrent): ... this. Add internal_function to
9685 definition. Add libc_hidden_def.
9686 (setnetgrent): Update caller.
9687 (internal_endnetgrent): Renamed to ...
9688 (__internal_endnetgrent): ... this. Add internal_function to
9689 definition. Add libc_hidden_def.
9690 (endnetgrent): Update caller.
9691 (internal_getnetgrent_r): Renamed to ...
9692 (__internal_getnetgrent_r): ... this. Add internal_function to
9693 definition. Add libc_hidden_def.
9694 (__getnetgrent_r): Update caller.
9695 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9697 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9699 * stdlib/longlong.h: Update from GCC.
9701 2012-08-16 Roland McGrath <roland@hack.frob.com>
9703 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9704 on _QL, which is set by umul_ppmm but never used.
9705 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9706 variables, which are set by GMP macros but never used.
9707 * stdio-common/_itowa.c (_itowa): Likewise.
9708 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9709 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9711 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9713 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9714 struct La_sh_regs is not constant.
9715 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9716 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9717 and struct La_sparc64_regs are not constant.
9719 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9721 * sysdeps/unix/sysv/linux/kernel-features.h
9722 (__ASSUME_POSIX_TIMERS): Remove.
9723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9724 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9726 Make code unconditional.
9727 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9728 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9729 Make code unconditional.
9730 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9731 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9732 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9733 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9734 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9735 Make code unconditional.
9736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9738 (__libc_missing_posix_timers): Remove.
9740 2012-08-15 Roland McGrath <roland@hack.frob.com>
9742 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9743 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9745 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9747 * elf/dl-sym.c: Include <stdlib.h>.
9749 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9750 constants, which avoids warnings in 32-bit builds.
9752 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9753 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9755 * misc/lseek.c: File moved to ...
9756 * io/lseek.c: ... here.
9758 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9760 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9761 shifting LEN more than 31 bits at once.
9763 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9766 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9767 segmentation fault for a case of two empty input strings.
9768 * string/test-strncasecmp.c (check1): Renamed to...
9770 (bz14195): Add new testcase for two empty input strings and N > 0.
9771 (test_main): Call new testcase, adapt for renamed function.
9773 2012-08-15 Andreas Jaeger <aj@suse.de>
9776 * crypt/md5test2.c: New test, based on test supplied by Serge
9777 Belyshev <belyshev@depni.sinp.msu.ru>.
9778 * crypt/Makefile (xtests): Add md5test-giant..
9779 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9781 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9784 * crypt/md5.c (md5_process_block): Don't assume the buffer
9785 length is less than 2**32.
9786 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9787 length is less than 2**64.
9789 2012-08-15 Roland McGrath <roland@hack.frob.com>
9791 * string/str-two-way.h: Include <sys/param.h>.
9792 (MAX): Macro removed.
9794 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9795 Move #define and #undef of memmove to just before and after
9796 including <string.h>.
9798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9799 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9800 and after including <string.h>. Move declarations of
9801 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9802 to before #include "string/memmove.c".
9804 * include/dirent.h: Declare __getdirentries.
9806 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9807 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9809 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9811 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9812 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9813 * sysdeps/i386/configure: Regenerated.
9814 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9815 STABS_CURRENT_FILE, and STABS_FUN.
9816 (END): Remove call to STABS_FUN_END.
9817 (STABS_CURRENT_FILE1): Delete.
9818 (STABS_CURRENT_FILE): Likewise.
9819 (STABS_FUN): Likewise.
9820 (STABS_FUN_END): Likewise.
9821 (STABS_FUN2): Likewise.
9822 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9823 * sysdeps/x86_64/configure: Regenerated.
9825 2012-08-14 Roland McGrath <roland@hack.frob.com>
9827 * elf/dl-open.c: Include <atomic.h>.
9828 * elf/dl-lookup.c: Likewise.
9830 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9832 * sysdeps/unix/sysv/linux/kernel-features.h
9833 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9834 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9836 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9838 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9839 condition on __ASSUME_CLONE_THREAD_FLAGS.
9841 2012-08-14 Andreas Jaeger <aj@suse.de>
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9845 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9847 * include/atomic.h (atomic_exchange_and_add): Split into ...
9848 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9851 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9855 2012-08-13 Jeff Law <law@redhat.com>
9857 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9858 null byte in the output string.
9860 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9862 * sysdeps/unix/sysv/linux/kernel-features.h
9863 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9864 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9865 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9867 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9868 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9869 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9871 2012-08-09 Jeff Law <law@redhat.com>
9874 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9875 When avoid_arena is set, don't retry in the that arena. Pick the
9876 next one, whatever it might be.
9877 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9878 (arena_lock): Pass in new parameter to arena_get2.
9879 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9881 (__libc_malloc): Unify retrying after main arena failure with
9882 __libc_memalign version.
9883 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9885 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9888 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9889 to __redirect_strstr.
9890 (__strstr_sse42): Use typeof __redirect_strstr.
9891 (__strstr_ia32): Likewise.
9892 (__libc_strstr): New prototype.
9893 (strstr): Renamed to ...
9894 (__libc_strstr): This.
9895 (strstr): New strong alias of __libc_strstr.
9896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9897 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9900 (__libc_time): New prototype.
9901 (time_ifunc): Replace time with __libc_time.
9902 (time): New strong alias and hidden definition of __libc_time.
9903 (__GI_time): Remove strong alias.
9904 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9906 (memmove): Redefined to __redirect_memmove.
9907 (__memmove_sse2): Use typeof __redirect_memmove.
9908 (__memmove_ssse3): Likewise.
9909 (__memmove_ssse3_back): Likewise.
9910 (__libc_memmove): New prototype.
9911 (memmove): Renamed to ...
9912 (__libc_memmove): This.
9913 (memmove): New strong alias of __libc_memmove.
9915 2012-08-08 Mark Salter <msalter@redhat.com>
9918 (R_MN10300_TLS_GD): Define.
9919 (R_MN10300_TLS_LD): Likewise.
9920 (R_MN10300_TLS_LDO): Likewise.
9921 (R_MN10300_TLS_GOTIE): Likewise.
9922 (R_MN10300_TLS_IE): Likewise.
9923 (R_MN10300_TLS_LE): Likewise.
9924 (R_MN10300_TLS_DTPMOD): Likewise.
9925 (R_MN10300_TLS_DTPOFF): Likewise.
9926 (R_MN10300_TLS_TPOFF): Likewise.
9927 (R_MN10300_SYM_DIFF): Likewise.
9928 (R_MN10300_ALIGN): Likewise.
9929 (R_MN10300_NUM): Update.
9931 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9933 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9936 2012-08-08 Roland McGrath <roland@hack.frob.com>
9938 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9940 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9941 sysdeps/unix -> sysdeps/posix move.
9942 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9944 2012-08-07 Allan McRae <allan@archlinux.org>
9947 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9948 (SUNOS_CPP): Likewise.
9949 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9951 (open_input): Call CPP using execvp.
9953 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9955 * sysdeps/unix/sysv/linux/kernel-features.h
9956 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9957 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9958 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9959 (__ASSUME_WAITID_SYSCALL): Likewise.
9960 * sysdeps/unix/sysv/linux/dl-execstack.c
9961 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9963 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9966 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9967 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9969 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9971 [__ASSUME_WAITID_SYSCALL]: Likewise.
9972 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9974 2012-08-07 Roland McGrath <roland@hack.frob.com>
9976 * sysdeps/unix/closedir.c: Renamed to ...
9977 * sysdeps/posix/closedir.c: ... here.
9978 * sysdeps/unix/dirfd.c: Renamed to ...
9979 * sysdeps/posix/dirfd.c: ... here.
9980 * sysdeps/unix/dirstream.h: Renamed to ...
9981 * sysdeps/posix/dirstream.h: ... here.
9982 * sysdeps/unix/fdopendir.c: Renamed to ...
9983 * sysdeps/posix/fdopendir.c: ... here.
9984 * sysdeps/unix/opendir.c: Renamed to ...
9985 * sysdeps/posix/opendir.c: ... here.
9986 * sysdeps/unix/readdir.c: Renamed to ...
9987 * sysdeps/posix/readdir.c: ... here.
9988 * sysdeps/unix/readdir_r.c: Renamed to ...
9989 * sysdeps/posix/readdir_r.c: ... here.
9990 * sysdeps/unix/rewinddir.c: Renamed to ...
9991 * sysdeps/posix/rewinddir.c: ... here.
9992 * sysdeps/unix/seekdir.c: Renamed to ...
9993 * sysdeps/posix/seekdir.c: ... here.
9994 * sysdeps/unix/telldir.c: Renamed to ...
9995 * sysdeps/posix/telldir.c: ... here.
9996 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9997 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9998 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9999 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10001 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10002 * bits/fcntl.h: ... here.
10004 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10006 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10007 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10008 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10009 (struct flock): Move l_start, l_len to the beginning.
10010 Use __pid_t for l_pid.
10011 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10012 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10013 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10014 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10015 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10016 [__USE_LARGEFILE64] (struct flock64): New type.
10017 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10019 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10020 * bits/dirent.h: ... here.
10022 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10023 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10025 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10028 Change from 2.6.0 to 2.6.16.
10029 * sysdeps/unix/sysv/linux/configure: Regenerated.
10030 * sysdeps/unix/sysv/linux/kernel-features.h
10031 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10032 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10034 (__ASSUME_UTIMES): Likewise.
10035 (__ASSUME_CLONE_STOPPED): Remove.
10036 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10037 architectures, not kernel version.
10038 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10039 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10040 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10041 (__ASSUME_WAITID_SYSCALL): Likewise.
10042 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10043 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10044 * README: State 2.6.16 as minimum Linux kernel version. Do not
10045 refer to older versions.
10047 2012-08-06 Roland McGrath <roland@hack.frob.com>
10049 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10050 Define alphasort64 as an alias.
10051 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10052 Define versionsort64 as an alias.
10053 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10054 Define scandir64 as an alias.
10055 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10056 Define scandirat64 as an alias.
10057 * dirent/alphasort64.c (alphasort64):
10058 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10059 * dirent/versionsort64.c: Likewise.
10060 * dirent/scandir64.c: Likewise.
10061 * dirent/scandirat64.c: Likewise.
10062 * sysdeps/wordsize-64/alphasort.c: File removed.
10063 * sysdeps/wordsize-64/alphasort64.c: File removed.
10064 * sysdeps/wordsize-64/scandir.c: File removed.
10065 * sysdeps/wordsize-64/scandir64.c: File removed.
10066 * sysdeps/wordsize-64/scandirat.c: File removed.
10067 * sysdeps/wordsize-64/scandirat64.c: File removed.
10068 * sysdeps/wordsize-64/versionsort.c: File removed.
10069 * sysdeps/wordsize-64/versionsort64.c: File removed.
10070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10079 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10081 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10083 [defined __arch64__ || defined __sparcv9]
10084 (__INO_T_MATCHES_INO64_T): New macro.
10085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10086 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10087 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10088 * sysdeps/unix/sysv/linux/bits/dirent.h
10089 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10090 (_DIRENT_MATCHES_DIRENT64): New macro.
10092 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10093 Define lockf64 as an alias.
10094 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10095 Define fseeko64 as an alias.
10096 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10097 Define ftello64 as an alias.
10098 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10099 Define _IO_fgetpos64 and fgetpos64 as aliases.
10100 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10101 Define _IO_fsetpos64 and fsetpos64 as aliases.
10102 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10103 Conditionalize body on this.
10104 * libio/fseeko64.c: Likewise.
10105 * libio/ftello64.c: Likewise.
10106 * libio/iofgetpos64.c: Likewise.
10107 * libio/iofsetpos64.c: Likewise.
10108 * sysdeps/wordsize-64/lockf.c: File removed.
10109 * sysdeps/wordsize-64/lockf64.c: File removed.
10110 * sysdeps/wordsize-64/fseeko.c: File removed.
10111 * sysdeps/wordsize-64/fseeko64.c: File removed.
10112 * sysdeps/wordsize-64/ftello.c: File removed.
10113 * sysdeps/wordsize-64/ftello64.c: File removed.
10114 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10115 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10116 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10117 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10118 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10129 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10131 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10133 [defined __arch64__ || defined __sparcv9]
10134 (__OFF_T_MATCHES_OFF64_T): New macro.
10135 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10136 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10138 (__OFF_T_MATCHES_OFF64_T): New macro.
10140 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10142 * stdlib/secure-getenv.c (__secure_getenv): Replace
10143 GLIBC_2_16 with GLIBC_2_17.
10145 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10147 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10150 2012-08-03 David S. Miller <davem@davemloft.net>
10152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10154 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10158 (__ASSUME_CORRECT_SI_PID): Likewise.
10159 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10160 (__ASSUME_TMPFS_NAME): Likewise.
10161 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10162 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10163 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10164 (HAVE_AUX_SECURE): Make definition unconditional.
10165 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10166 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10168 2012-08-03 Roland McGrath <roland@hack.frob.com>
10170 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10171 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10172 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10173 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10174 __eloop_threshold instead of SYMLOOP_MAX.
10176 * sysdeps/generic/eloop-threshold.h: New file.
10177 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10179 * elf/chroot_canon.c (chroot_canon): Likewise.
10181 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10185 Change to 2.6.0 everywhere.
10186 * sysdeps/unix/sysv/linux/configure: Regenerated.
10187 * sysdeps/unix/sysv/linux/kernel-features.h
10188 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10189 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10191 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10192 (__ASSUME_FUTEX_REQUEUE): Remove.
10193 (__ASSUME_STATFS64): Define unconditionally.
10194 (__ASSUME_AT_SECURE): Likewise.
10195 (__ASSUME_CORRECT_SI_PID): Likewise.
10196 (__ASSUME_TGKILL): Define without depending on kernel version for
10198 (__ASSUME_UTIMES): Likewise.
10199 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10201 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10202 (__ASSUME_TMPFS_NAME): Likewise.
10203 * README: Update reference to Linux kernel versions.
10205 2012-08-02 Marek Polacek <polacek@redhat.com>
10208 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10209 libc_cv_asm_type_prefix with %.
10210 * configure: Regenerated.
10211 * include/libc-symbols.h: Remove comment about
10212 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10213 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10214 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10215 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10216 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10217 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10218 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10220 * elf/tst-unique2mod1.c: Likewise.
10221 * elf/tst-unique1mod2.c: Likewise.
10222 * elf/tst-unique1mod1.c: Likewise.
10223 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10224 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10225 Replace ASM_TYPE_DIRECTIVE with .type.
10226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10227 * sysdeps/i386/sysdep.h: Likewise.
10228 * sysdeps/x86_64/sysdep.h: Likewise.
10229 * sysdeps/sh/sysdep.h: Likewise.
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10231 Do not define ASM_TYPE_DIRECTIVE.
10232 * sysdeps/powerpc/sysdep.h: Likewise.
10233 * sysdeps/powerpc/powerpc32/sysdep.h:
10234 Replace ASM_TYPE_DIRECTIVE with .type.
10235 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10236 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10237 * sysdeps/i386/fpu/e_powf.S: Likewise.
10238 * sysdeps/i386/fpu/e_expl.S: Likewise.
10239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10241 * sysdeps/i386/fpu/e_pow.S: Likewise.
10242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10246 * sysdeps/i386/fpu/e_log2.S: Likewise.
10247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10249 * sysdeps/i386/fpu/e_powl.S: Likewise.
10250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10251 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10252 * sysdeps/i386/fpu/e_logl.S: Likewise.
10253 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10254 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10255 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10258 * sysdeps/i386/fpu/e_log.S: Likewise.
10259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10260 * sysdeps/i386/fpu/e_logf.S: Likewise.
10261 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10262 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10263 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10264 * sysdeps/i386/fpu/e_log10.S: Likewise.
10265 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10266 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10267 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10268 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10271 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10272 * sysdeps/i386/i686/strtok.S: Likewise.
10273 * sysdeps/i386/i386-mcount.S: Likewise.
10274 * sysdeps/i386/strtok.S: Likewise.
10275 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10279 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10280 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10281 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10282 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10284 * sysdeps/x86_64/_mcount.S: Likewise.
10285 * sysdeps/x86_64/strtok.S: Likewise.
10286 * sysdeps/sh/_mcount.S: Likewise.
10288 2012-08-01 Roland McGrath <roland@hack.frob.com>
10290 * libio/iofopen.c: Include <fcntl.h>.
10291 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10292 (_IO_fopen64, fopen64): Define as aliases.
10293 * libio/iofopen64.c: Include <fcntl.h>.
10294 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10295 Conditionalize body on this.
10296 * sysdeps/wordsize-64/iofopen.c: File removed.
10297 * sysdeps/wordsize-64/iofopen64.c: File removed.
10299 2012-08-01 Marek Polacek <polacek@redhat.com>
10301 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10302 Use dlfcn directly instead of a variable.
10303 (binfmt-subdir): Do not define.
10306 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10309 Remove all definitions.
10310 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10311 <kernel-features.h>.
10312 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10313 (miss_F_GETOWN_EX): Remove all definitions.
10314 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10316 [!__ASSUME_FCNTL64]: Remove conditional code.
10317 [__ASSUME_FCNTL64]: Make code unconditional.
10318 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10319 <kernel-features.h>.
10320 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10321 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10322 (lockf64) [__NR_fcntl64]: Make code unconditional.
10323 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10325 * sysdeps/unix/sysv/linux/kernel-features.h
10326 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10327 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10328 Make code unconditional.
10329 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10330 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10332 [__NR_vfork]: Make code unconditional.
10333 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10334 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10336 [__NR_vfork]: Make code unconditional.
10337 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10338 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10340 2012-08-01 Roland McGrath <roland@hack.frob.com>
10342 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10343 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10345 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10346 Define mkstemp64 as an alias.
10347 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10348 Define mkstemps64 as an alias.
10349 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10350 Define mkostemp64 as an alias.
10351 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10352 Define mkostemps64 as an alias.
10353 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10354 Conditionalize body on this.
10355 * misc/mkostemp64.c: Likewise.
10356 * misc/mkostemps64.c: Likewise.
10357 * misc/mkstemps64.c: Likewise.
10358 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10359 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10360 * sysdeps/wordsize-64/mkostemp.c: File removed.
10361 * sysdeps/wordsize-64/mkstemp.c: File removed.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10363 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10365 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10368 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10369 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10370 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10371 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10373 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10374 compat_symbol macros from <shlib-compat.h> rather than the underlying
10375 default_symbol_version and symbol_version macros, so that DEFAULT
10376 lines in shlib-versions are respected.
10377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10379 2012-08-01 Florian Weimer <fweimer@redhat.com>
10381 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10382 Declare with warn_unused_result.
10383 (setgid, setregid, setegid, setresgid): Likewise.
10384 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10386 * WUR-REPORT: Remove set*id functions.
10388 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10390 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10392 2012-07-31 Roland McGrath <roland@hack.frob.com>
10394 * include/sys/socket.h (__libc_accept, __libc_accept4):
10395 Add attribute_hidden.
10396 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10398 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10400 * inet/getnetgrent_r.c (setup): Likewise.
10402 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10404 2012-07-31 David S. Miller <davem@davemloft.net>
10406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10408 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10411 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10412 value between 1.0 and 2.0 and smaller part has absolute value less
10414 * math/s_clog10.c (__clog10): Likewise.
10415 * math/s_clog10f.c (__clog10f): Likewise.
10416 * math/s_clog10l.c (__clog10l): Likewise.
10417 * math/s_clogf.c (__clogf): Likewise.
10418 * math/s_clogl.c (__clogl): Likewise.
10419 * math/libm-test.inc (clog_test): Add more tests.
10420 (clog10_test): Likewise.
10421 * sysdeps/i386/fpu/libm-test-ulps: Update.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10424 2012-07-31 Florian Weimer <fweimer@redhat.com>
10426 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10427 Exit with zero in case no suitable GID is found, and write a
10428 message to standard error.
10430 2012-07-30 Roland McGrath <roland@hack.frob.com>
10432 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10434 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10435 (MAXPATHLEN): Removed.
10436 (NOGROUP, NODEV): New macros.
10437 (setbit, clrbit, isset, isclr): New macros.
10438 (howmany, roundup, powerof2): New macros.
10439 (DEV_BSIZE): New macro.
10441 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10442 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10444 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10445 definition on [!__NO_LONG_DOUBLE_MATH].
10447 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10448 PTR_MANGLE and PTR_DEMANGLE.
10450 * socket/accept4.c (accept4): Rename to __libc_accept4.
10451 Define accept4 as a weak alias.
10453 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10454 on [_DIRENT_HAVE_D_TYPE].
10455 * io/ftw.c (ftw_dir): Likewise.
10457 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10459 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10461 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10462 Use the BSD numbers rather than the arbitrary ones we had.
10463 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10464 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10465 (SIGXCPU, SIGXFSZ): New macros.
10468 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10469 initializer on [_LIBC_REENTRANT].
10471 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10472 definitions inside [_POSIX_MAPPED_FILES].
10474 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10476 * dirent/opendir.c: Include <fcntl.h>.
10478 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10479 (__libc_getspecific): Likewise.
10480 (__libc_key_create): Likewise.
10482 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10483 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10484 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10485 (tmpfile64): Define as alias.
10486 * sysdeps/wordsize-64/tmpfile.c: File removed.
10487 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10488 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10489 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10491 * stdio-common/vfscanf.c: Include <stdbool.h>.
10492 * nss/makedb.c: Likewise.
10493 * stdio-common/_i18n_number.h: Likewise.
10494 * argp/argp-help.c: Likewise.
10495 * posix/wordexp.c: Likewise.
10496 * sysdeps/posix/spawni.c: Likewise.
10497 * nss/nss_files/files-initgroups.c: Likewise.
10498 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10499 * nss/nss_files/files-initgroups.c: Likewise.
10500 * nss/nss_db/db-netgrp.c: Likewise.
10501 * nss/nss_db/db-initgroups.c: Likewise.
10502 * io/fchmodat.c: Include <sys/stat.h>.
10504 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10505 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10507 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10510 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10511 Add multiple inclusion protection.
10513 2012-07-27 David S. Miller <davem@davemloft.net>
10515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10517 2012-07-27 Gary Benson <gbenson@redhat.com>
10520 * elf/rtld.c: Include <stap-probe.h>.
10521 (dl_main): Added static probes "init_start" and "init_complete".
10522 * elf/dl-load.c: Include <stap-probe.h>.
10523 (lose): Take new parameter "nsid".
10524 Added static probe "map_failed".
10525 (_dl_map_object_from_fd): Pass namespace id to lose.
10526 Added static probe "map_start".
10527 (open_verify): Pass namespace id to lose.
10528 * elf/dl-open.c: Include <stap-probe.h>.
10529 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10530 and "reloc_complete".
10531 * elf/dl-close.c: Include <stap-probe.h>.
10532 (_dl_close_worker): Added static probes "unmap_start" and
10534 * elf/rtld-debugger-interface.txt: New file documenting the above.
10536 2012-07-26 Roland McGrath <roland@hack.frob.com>
10538 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10539 rather than a string variable.
10540 * sunrpc/rpc_main.c (h_output): Likewise.
10541 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10543 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10545 * inet/check_native.c: New file.
10547 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10550 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10551 if larger part has absolute value 1.0.
10552 * math/s_clog10.c (__clog10): Likewise.
10553 * math/s_clog10f.c (__clog10f): Likewise.
10554 * math/s_clog10l.c (__clog10l): Likewise.
10555 * math/s_clogf.c (__clogf): Likewise.
10556 * math/s_clogl.c (__clogl): Likewise.
10557 * math/libm-test.inc (clog_test): Add more tests.
10558 (clog10_test): Likewise.
10559 * sysdeps/i386/fpu/libm-test-ulps: Update.
10560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10562 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10563 (pltexit): Likewise.
10564 (La_regs): Likewise.
10565 (La_retval): Likewise.
10566 (int_retval): Likewise.
10567 Update #error for removed macros to refer only to definitions in
10569 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10571 (pltexit): Likewise.
10572 (La_regs): Likewise.
10573 (La_retval): Likewise.
10574 (int_retval): Likewise.
10575 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10577 (pltexit): Likewise.
10578 (La_regs): Likewise.
10579 (La_retval): Likewise.
10580 (int_retval): Likewise.
10581 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10583 (pltexit): Likewise.
10584 (La_regs): Likewise.
10585 (La_retval): Likewise.
10586 (int_retval): Likewise.
10587 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10589 (pltexit): Likewise.
10590 (La_regs): Likewise.
10591 (La_retval): Likewise.
10592 (int_retval): Likewise.
10593 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10595 (pltexit): Likewise.
10596 (La_regs): Likewise.
10597 (La_retval): Likewise.
10598 (int_retval): Likewise.
10599 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10601 (pltexit): Likewise.
10602 (La_regs): Likewise.
10603 (La_retval): Likewise.
10604 (int_retval): Likewise.
10605 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10606 macro definitions in tst-audit.h.
10607 * sysdeps/i386/tst-audit.h: New file.
10608 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10609 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10610 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10611 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10612 * sysdeps/sh/tst-audit.h: Likewise.
10613 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10614 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10615 * sysdeps/x86_64/tst-audit.h: Likewise.
10617 2012-07-26 Andreas Jaeger <aj@suse.de>
10619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10622 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10623 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10624 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10626 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10627 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10628 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10630 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10633 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10635 (si_call_addr, si_syscall, si_arch): Define new macro.
10636 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10638 (si_call_addr, si_syscall, si_arch): Define new marcro.
10639 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10641 (si_call_addr, si_syscall, si_arch): Define new macro.
10642 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10644 (si_call_addr, si_syscall, si_arch): Define new macro.
10646 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10649 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10650 Change to 2.4.21 where previously 2.4.1.
10651 * sysdeps/unix/sysv/linux/configure: Regenerated.
10652 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10653 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10654 Linux kernel version.
10655 (__ASSUME_STD_AUXV): Remove.
10656 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10658 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10659 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10660 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10661 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10662 (__ASSUME_NETLINK_SUPPORT): Likewise.
10663 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10664 (__no_netlink_support): Remove conditional definition.
10665 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10667 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10668 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10669 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10670 (if_nameindex_ioctl): Remove.
10671 (if_nameindex_netlink): Do not handle __no_netlink_support.
10672 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10674 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10675 Remove conditional code.
10676 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10678 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10680 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10681 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10682 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10684 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10685 [!__ASSUME_STD_AUXV]: Remove conditional code.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10687 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10688 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10690 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10691 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10693 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10695 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10696 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10698 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10700 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10703 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10706 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10707 code unconditional.
10708 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10710 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10712 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10715 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10717 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10720 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10721 code unconditional.
10722 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10724 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10726 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10729 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10730 code unconditional.
10731 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10733 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10735 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10738 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10740 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10741 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10742 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10743 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10744 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10745 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10746 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10747 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10748 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10749 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10750 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10751 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10752 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10753 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10755 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10760 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10761 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10762 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10764 2012-07-25 Florian Weimer <fweimer@redhat.com>
10766 * Versions.def: Add GLIBC_2.17.
10767 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10768 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10769 Introduce __libc_secure_getenv.
10770 * stdlib/Versions (2.17): Add secure_getenv
10771 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10772 * stdlib/secure-getenv.c: Rename __secure_getenv to
10773 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10774 symbol __secure_getenv for GLIBC_2.0.
10775 * stdlib/tst-secure-getenv.c: New.
10776 * stdlib/Makefile (tests): Add testcase.
10777 * manual/startup.texi (Environment Access): Document
10779 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10780 __libc_secure_getenv.
10781 * inet/ruserpass.c (ruserpass): Likewise.
10782 * malloc/mtrace.c (mtrace): Likewise.
10783 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10784 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10785 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10786 * sysdeps/posix/tempname.c: Likewise. Evaluate
10787 HAVE_SECURE_GETENV.
10788 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10789 __secure_getenv to __libc_secure_getenv.
10790 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10803 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10806 (struct La_i86_retval): Likewise.
10807 (struct La_x86_64_regs): Likewise.
10808 (struct La_x86_64_retval): Likewise.
10809 (struct La_x32_regs): Likewise.
10810 (struct La_x32_retval): Likewise.
10811 (struct La_ppc32_regs): Likewise.
10812 (struct La_ppc32_retval): Likewise.
10813 (struct La_ppc64_regs): Likewise.
10814 (struct La_ppc64_retval): Likewise.
10815 (struct La_sh_regs): Likewise.
10816 (struct La_sh_retval): Likewise.
10817 (struct La_s390_32_regs): Likewise.
10818 (struct La_s390_32_retval): Likewise.
10819 (struct La_s390_64_regs): Likewise.
10820 (struct La_s390_64_retval): Likewise.
10821 (struct La_sparc32_regs): Likewise.
10822 (struct La_sparc32_retval): Likewise.
10823 (struct La_sparc64_regs): Likewise.
10824 (struct La_sparc64_retval): Likewise.
10825 (struct audit_ifaces): Remove architecture-specific pltenter and
10827 * sysdeps/i386/ldsodefs.h: New file.
10828 * sysdeps/powerpc/ldsodefs.h: Likewise.
10829 * sysdeps/s390/ldsodefs.h: Likewise.
10830 * sysdeps/sh/ldsodefs.h: Likewise.
10831 * sysdeps/sparc/ldsodefs.h: Likewise.
10832 * sysdeps/x86_64/ldsodefs.h: Likewise.
10834 2012-07-25 Marek Polacek <polacek@redhat.com>
10837 * math/libm-test.inc (yn_test): Add another test.
10838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10839 to ERANGE when the result is +-Inf.
10840 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10841 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10842 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10843 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10845 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10847 * conform/data/time.h-data (NULL): Use macro-constant. Require
10849 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10851 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10853 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10855 * configure.in <sysdeps resolving>: Correct printing
10857 * configure: Regenerate.
10859 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10861 * math/w_ilogb.c: Include <limits.h>.
10862 * math/w_ilogbl.c: Likewise.
10864 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10866 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10867 va_copy. Document allowing for unavailable va_copy only as
10868 pre-C99 compatibility.
10869 * manual/string.texi (Copying and Concatenation): Use va_copy
10870 instead of __va_copy in concat example.
10872 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10874 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10875 (__sendto): Use create_address_port. Initialize APORT and deallocate
10878 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10879 with O_NOLINK passed to __file_name_lookup.
10881 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10882 with O_NOLINK passed to __file_name_lookup.
10884 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10885 negative N or less than NGIDS.
10887 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10888 type to string_t. Set ERANGE as errno and return it if NAME is not big
10889 enough. Use memcpy instead of strncpy.
10891 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10893 * elf/Makefile (check-data): Remove.
10894 (localplt.data): New vpath directive.
10895 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10896 instead of $(check-data).
10897 * scripts/data/localplt-generic.data: Move to ...
10898 * sysdeps/generic/localplt.data: ... here.
10899 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10900 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10901 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10904 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10907 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10910 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10913 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10916 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10920 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10922 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10923 PPC32 and PPC64 files.
10924 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10925 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10927 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10929 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10930 __makecontext_ret to ...
10931 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10932 ... here and call exit if uc_link is NULL. New file.
10933 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10934 __makecontext_ret.S.
10935 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10936 __makecontext_ret to ...
10937 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10938 ... here and call exit if uc_link is NULL. New file.
10939 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10940 __makecontext_ret.S.
10942 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10944 * elf/elf.h (R_390_IRELATIVE): New definition.
10945 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10946 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10947 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10948 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10949 (elf_machine_lazy_rel): Likewise.
10950 * sysdeps/s390/dl-irel.h: New file.
10951 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10952 * sysdeps/s390/s390-64/memset.S: New asm code.
10953 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10954 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10955 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10956 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10957 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10958 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10959 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10960 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10961 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10962 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10963 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10964 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10965 * sysdeps/s390/s390-32/memset.S: New asm code.
10966 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10968 2012-07-17 Marek Polacek <polacek@redhat.com>
10971 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10972 * sysdeps/s390/s390-64/configure.in: Likewise.
10973 * sysdeps/sparc/configure.in: Likewise.
10974 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10975 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10976 * sysdeps/i386/configure.in: Likewise.
10977 * sysdeps/x86_64/configure.in: Likewise.
10978 * sysdeps/sh/configure.in: Likewise.
10979 * sysdeps/s390/s390-32/configure: Regenerated.
10980 * sysdeps/s390/s390-64/configure: Likewise.
10981 * sysdeps/x86_64/configure: Likewise.
10982 * sysdeps/sh/configure: Likewise.
10983 * sysdeps/powerpc/powerpc64/configure: Likewise.
10984 * sysdeps/powerpc/powerpc32/configure: Likewise.
10985 * sysdeps/sparc/configure: Likwise.
10986 * sysdeps/i386/configure: Likewise.
10988 * elf/dl-open.c: Comment fixes.
10990 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10992 * Makefile [CXX] (check-data): Remove.
10993 [CXX] (c++-types.data): New vpath directive.
10994 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10995 vpath. Do not allow for C++ type data being missing.
10996 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10997 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10998 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10999 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11000 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11001 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11002 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11005 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11008 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11011 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11014 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11017 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11020 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11023 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11026 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11027 definitions to architecture-specific files.
11028 (TLS_IE): Likewise.
11029 (TLS_LD): Likewise.
11030 (TLS_GD): Likewise.
11031 * sysdeps/i386/tls-macros.h: New file.
11032 * sysdeps/powerpc/tls-macros.h: Likewise.
11033 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11034 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11035 * sysdeps/sh/tls-macros.h: Likewise.
11036 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11037 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11038 * sysdeps/x86_64/tls-macros.h: Likewise.
11040 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11042 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11043 zero value for regular exit case.
11045 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11046 (__start_context): Preserve zero value for regular exit case.
11048 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11049 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11051 * manual/setjmp.texi (setcontext): Clarify normal process
11052 termination when uc_link is the null pointer.
11053 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11056 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11058 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11059 preprocessor. Test for each exception mask separately.
11061 2012-07-16 Andreas Jaeger <aj@suse.de>
11063 * po/ru.po: Update from translation team.
11065 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11067 * conform/data/string.h-data (NULL): Use macro-constant. Require
11069 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11070 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11071 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11072 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11075 2012-07-13 Andreas Jaeger <aj@suse.de>
11077 * po/fr.po: Update from translation team.
11079 2012-07-12 Marek Polacek <polacek@redhat.com>
11082 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11086 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11089 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11090 Change to 2.4.1 where previously 2.4.0.
11091 * sysdeps/unix/sysv/linux/configure: Regenerated.
11092 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11093 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11095 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11096 (__ASSUME_AT_CLKTCK): Remove.
11097 (__ASSUME_AT_PAGESIZE): Likewise.
11098 (__ASSUME_AT_XID): Likewise.
11099 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11100 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11101 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11103 (HAVE_AUX_PAGESIZE): Likewise.
11104 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11105 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11106 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11108 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11112 the temporary buffer used to invoke __gethostbyname2_r,
11113 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11114 host_data / struct gaih_addrtuple.
11115 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11116 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11117 header file nss/nsswitch.h.
11118 * nss/nsswitch.h (global scope): Add definition of implementation
11119 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11120 resolv/nss_dns/dns-host.c).
11122 2012-07-11 Andreas Jaeger <aj@suse.de>
11124 * po/fr.po: Update from translation team.
11126 * po/sv.po: Update from translation team
11127 * po/fr.po: Another update from translation team.
11129 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11132 for subnormals or multiply small sinh result by itself.
11133 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11136 2012-07-11 David S. Miller <davem@davemloft.net>
11138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11140 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11143 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11144 (INTERNAL_MARK): Shift it here.
11146 2012-07-10 Marek Polacek <polacek@redhat.com>
11149 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11150 libc_cv_asm_global_directive with .globl.
11151 * configure: Regenerated.
11152 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11154 * sysdeps/i386/configure: Regenerated.
11155 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11157 * sysdeps/x86_64/configure: Regenerated.
11158 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11159 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11160 * elf/tst-unique2mod2.c: Likewise.
11161 * elf/tst-unique2mod1.c: Likewise.
11162 * elf/tst-unique1mod2.c: Likewise.
11163 * elf/tst-unique1mod1.c: Likewise.
11164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11165 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11166 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11167 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11168 * sysdeps/mach/sysdep.h: Likewise.
11169 * sysdeps/i386/sysdep.h: Likewise.
11170 * sysdeps/i386/i386-mcount.S: Likewise.
11171 * sysdeps/x86_64/_mcount.S: Likewise.
11172 * sysdeps/x86_64/sysdep.h: Likewise.
11173 * sysdeps/sh/_mcount.S: Likewise.
11174 * sysdeps/sh/sysdep.h: Likewise.
11175 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11176 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11177 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11178 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11179 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11180 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11181 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11182 * locale/localeinfo.h: Likewise.
11183 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11184 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11186 2012-07-09 Roland McGrath <roland@hack.frob.com>
11189 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11191 * manual/message.texi (The Uniforum approach): Likewise.
11192 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11193 (glibc iconv Implementation): Likewise.
11195 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11198 * math/s_clog.c (__clog): Avoid scaling a value down where that
11199 could result in underflow.
11200 * math/s_clog10.c (__clog10): Likewise.
11201 * math/s_clog10f.c (__clog10f): Likewise.
11202 * math/s_clog10l.c (__clog10l): Likewise.
11203 * math/s_clogf.c (__clogf): Likewise.
11204 * math/s_clogl.c (__clogl): Likewise.
11205 * math/libm-test.inc (clog_test): Add more tests.
11206 (clog10_test): Likewise.
11207 * sysdeps/i386/fpu/libm-test-ulps: Update.
11208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11210 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11213 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11214 by 7 not 8 to examine high bit of fractional part.
11217 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11218 for call to __mcount_internal.
11219 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11220 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11221 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11223 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11227 approximation for values within 0x1p-13f of an odd multiple of
11229 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11230 exception. Add more tests.
11231 * sysdeps/i386/fpu/libm-test-ulps: Update.
11234 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11235 inputs and return -1 for them. Do not check for +Inf in case not
11236 reachable for +Inf.
11237 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11238 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11240 and return -1 for them. Do not check for +Inf in case not
11241 reachable for +Inf.
11242 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11244 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11245 and return -1 for them. Do not check for +Inf in case not
11246 reachable for +Inf.
11247 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11248 spurious underflow.
11249 * sysdeps/i386/fpu/libm-test-ulps: Update.
11250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11252 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11254 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11256 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11260 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11261 could result in spurious underflow. Scale down values above
11262 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11263 * math/s_csqrtf.c (__csqrtf): Likewise.
11264 * math/s_csqrtl.c (__csqrtl): Likewise.
11265 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11266 spurious underflow.
11267 * sysdeps/i386/fpu/libm-test-ulps: Update.
11268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11270 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11272 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11274 * catgets/xopen-msg.awk: New file.
11275 * catgets/xopen-msg.sed: Removed.
11277 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11279 * intl/po2test.awk: New file.
11280 * intl/po2test.sed: Removed.
11282 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11285 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11286 or multiply small sinh result by itself.
11287 * math/s_ctanf.c (__ctanf): Likewise.
11288 * math/s_ctanh.c (__ctanh): Likewise.
11289 * math/s_ctanhf.c (__ctanhf): Likewise.
11290 * math/s_ctanhl.c (__ctanhl): Likewise.
11291 * math/s_ctanl.c (__ctanl): Likewise.
11292 * math/libm-test.inc (ctan_test_tonearest): New function.
11293 (ctan_test_towardzero): Likewise.
11294 (ctan_test_downward): Likewise.
11295 (ctan_test_upward): Likewise.
11296 (ctanh_test_tonearest): Likewise.
11297 (ctanh_test_towardzero): Likewise.
11298 (ctanh_test_downward): Likewise.
11299 (ctanh_test_upward): Likewise.
11300 (main): Call these new functions.
11301 * sysdeps/i386/fpu/libm-test-ulps: Update.
11302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11304 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11306 * .gitignore: Delete /ports entry.
11308 2012-07-03 Andreas Jaeger <aj@suse.de>
11310 * po/bg.po: Update from translation team.
11311 * po/cs.po: Likewise.
11312 * po/de.po: Likewise.
11313 * po/hr.po: Likewise.
11314 * po/nl.pl: Likewise.
11315 * po/pl.po: Likewise.
11316 * po/vi.po: Likewise.
11318 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11320 * Makeconfig [!+link] (+link-before-libc): New variable.
11321 [!+link] (+link-after-libc): Likewise.
11322 [!+link] (+link-tests): Likewise.
11323 [!+link] (+link): Define in terms of $(+link-before-libc) and
11324 $(+link-after-libc).
11325 [!+link-static] (+link-static-before-libc): New variable.
11326 [!+link-static] (+link-static-after-libc): Likewise.
11327 [!+link-static] (+link-static-tests): Likewise.
11328 [!+link-static] (+link-static): Define in terms of
11329 $(+link-static-before-libc) and $(+link-static-after-libc).
11330 [build-shared] (link-libc-before-gnulib): New variable.
11331 [build-shared] (link-libc-tests): Likewise.
11332 [build-shared] (link-libc): Define in terms of
11333 $(link-libc-before-gnulib).
11334 [!build-shared] (link-libc-tests): New variable.
11335 (link-libc-static-tests): New variable.
11336 [!gnulib] (gnulib-arch): New variable.
11337 [!gnulib] (gnulib-tests): Likewise.
11338 [!gnulib] (static-gnulib-arch): Likewise.
11339 [!gnulib] (static-gnulib-tests): Likewise.
11340 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11341 Define with "=" instead of ":=".
11342 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11343 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11344 * Rules (binaries-all-notests): New variable.
11345 (binaries-all-tests): Likewise.
11346 (binaries-static-notests): Likewise.
11347 (binaries-static-tests): Likewise.
11348 (binaries-all): Define using $(binaries-all-notests) and
11349 $(binaries-all-tests).
11350 (binaries-static): Define using $(binaries-static-notests) and
11351 $(binaries-static-tests).
11352 (binaries-shared-tests): New variable.
11353 (binaries-shared-notests): Likewise.
11354 (binaries-shared): Remove variable.
11355 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11356 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11357 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11358 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11359 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11360 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11361 * elf/Makefile (sln-modules): New variable.
11362 (extra-objs): Add $(sln-modules:=.o).
11363 (ldconfig-modules): Add static-stubs.
11364 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11365 * elf/static-stubs.c: New file.
11368 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11369 by 7 not 8 to examine high bit of fractional part. Use volatile
11370 variables when splitting into final array of floats if
11371 __FLT_EVAL_METHOD__ != 0.
11372 * math/libm-test.inc (cos_test): Add another test.
11373 (sin_test): Likewise.
11374 * sysdeps/i386/fpu/libm-test-ulps: Update.
11377 * math/libm-test.inc (cosh_test): Add more tests.
11379 * version.h (RELEASE): Set to "development".
11380 (VERSION): Set to "2.16.90".
11382 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11384 * NEWS: Update copyright. Remove last-updated date.
11385 Mention math library bug fixes and timezone data changes.
11386 * README: Mention GNU/Hurd, x32, and HPPA support status.
11388 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11390 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11392 2012-06-27 Andreas Jaeger <aj@suse.de>
11394 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11396 2012-06-25 Andreas Jaeger <aj@suse.de>
11398 * sysdeps/s390/fpu/libm-test-ulps: Update.
11400 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11401 Thomas Schwinge <thomas@codesourcery.com>
11403 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11404 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11405 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11408 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11410 * sysdeps/mach/start.c: Remove file.
11411 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11412 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11413 * sysdeps/sh/init-first.c: Likewise.
11415 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11416 registers for frame unwinding purposes, add CFI directives.
11417 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11419 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11422 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11423 __fortify_fail returning.
11424 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11426 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11427 sysdeps/sh/____longjmp_chk.S.
11428 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11429 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11430 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11431 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11433 * sysdeps/sh/abort-instr.h: New file.
11434 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11435 process in case exit returns.
11437 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11438 initialize the GOT register before use.
11440 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11441 calculation of ARGC > 4.
11443 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11444 meaningful names to some local labels.
11446 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11447 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11449 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11450 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11451 (__arch_compare_and_exchange_val_16_acq): Likewise.
11452 (__arch_compare_and_exchange_val_32_acq): Likewise.
11453 (atomic_exchange_and_add): Fix gUSA sequence.
11454 (atomic_add): Likewise.
11455 (atomic_add_negative): Likewise.
11456 (atomic_add_zero): Likewise.
11457 (atomic_bit_test_set): Likewise.
11459 2012-06-22 Andreas Schwab <schwab@redhat.com>
11462 * include/link.h (struct link_map): Add l_free_initfini.
11463 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11465 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11466 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11467 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11470 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11472 * configure.in: Use AC_LANG_SOURCE.
11473 * configure: Regenerate.
11475 2012-06-22 Roland McGrath <roland@hack.frob.com>
11477 * configure.in (libc_cv_localstatedir): New substituted variable.
11478 * configure: Regenerated.
11479 * config.make.in (localstatedir): New variable, substituted from
11480 libc_cv_localstatedir.
11481 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11482 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11483 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11484 * sysdeps/gnu/configure: Regenerated.
11486 2012-06-21 Jeff Law <law@redhat.com>
11489 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11490 free. Simplify list management for _LIBC case.
11492 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11495 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11496 Clear sign bit of 64-bit integer value before comparing against
11499 * sysdeps/mach/configure: Regenerated.
11501 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11504 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11506 2012-06-21 Jeff Law <law@redhat.com>
11509 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11510 uint16_t for elements in the "seen" array to avoid char overflows.
11511 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11512 * elf/dl-open.c (dl_open_worker): Likewise.
11514 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11516 * scripts/list-sources.sh: Scan PORTS for translations.
11517 * po/libc.pot: Regenerated.
11519 2012-06-21 Andreas Jaeger <aj@suse.de>
11522 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11524 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11525 * bits/byteswap-16.h (__bswap_16): Likewise.
11526 * bits/byteswap.h (__bswap_constant_16): Likewise.
11528 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11531 * sysdeps/i386/fpu_control.h: Removed.
11532 * sysdeps/x86_64/fpu_control.h: Moved to ...
11533 * sysdeps/x86/fpu_control.h: Here.
11535 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11536 (_FPU_SETCW): Likewise.
11538 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11541 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11542 * sysdeps/x86/fpu/bits/mathinline.h: This.
11543 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11547 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11548 functions if __x86_64__ is defined.
11550 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11552 * string/endian.h: Add !__ASSEMBLER__ condition for including
11553 conversion interfaces.
11555 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11559 of ABS(x) in calculating zero to negative powers other than odd
11561 * math/libm-test.inc (pow_test): Add more tests.
11563 2012-06-15 Andreas Jaeger <aj@suse.de>
11565 * manual/contrib.texi (Contributors): Update entry of Liubov
11566 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11569 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11571 * string/string.h: Add __wur to GNU version of strerror_r.
11573 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11576 * string/Makefile (tests): Add tst-strtok_r.
11577 * string/tst-strtok_r.c: New file.
11578 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11579 RAX_LP/RDX_LP on SAVE_PTR.
11581 2012-06-14 Roland McGrath <roland@hack.frob.com>
11583 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11585 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11587 * libm_test.inc (csqrt_test): Allow more spurious underflow
11589 (j0_test): Likewise.
11590 (j1_test): Likewise.
11591 (y0_test): Likewise.
11592 (y1_test): Likewise.
11594 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11596 * po/Makefile (libc.pot): Use UTF-8 charset.
11598 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11601 Suppress sign-conversion warning from FD_SET.
11602 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11603 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11604 not unsigned long int.
11605 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11607 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11611 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11612 __extern_always_inline instead of __extern_inline.
11613 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11614 (__signbit): Likewise.
11615 (__signbitl): Support C++ namespace.
11616 (lrintf): New inline function.
11618 (llrintf): Likewise.
11619 (llrint): Likewise.
11629 (floorf): Likewise.
11630 (nearbyint): Likewise.
11631 (nearbyintf): Likewise.
11633 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11636 non-default versions.
11638 2012-06-11 Roland McGrath <roland@hack.frob.com>
11641 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11643 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11645 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11646 (FE_UPWARD, FE_DOWNWARD): Don't define.
11647 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11648 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11650 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11652 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11653 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11655 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11657 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11659 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11660 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11662 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11665 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11666 * sysdeps/i386/fpu/Implies: New file.
11667 * sysdeps/x86_64/fpu/Implies: Likewise.
11668 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11669 * sysdeps/x86/fpu/bits/fenv.h: This.
11671 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11674 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11677 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11678 character 0xffff that matches the last element of the
11681 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11683 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11686 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11688 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11689 values higher than 25.6283.
11691 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11694 subnormal exponent extraction and add some __builtin_expect.
11695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11696 Fix for subnormal mantissa calculation.
11698 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11700 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11701 cpu2 is -1 and errno is not ENOSYS.
11703 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11706 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11707 * sysdeps/x86/bits/string.h: This.
11708 * sysdeps/x86_64/bits/string.h: Removed.
11710 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11711 if not compiling for x86-64, but compiling for >= i486.
11713 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11714 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11716 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11717 New macro from Linux kernel 3.4.0.
11718 (FP_XSTATE_MAGIC2): Likewise.
11719 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11720 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11721 (struct _fpx_sw_bytes): New struct.
11722 (struct _xsave_hdr): Likewise.
11723 (struct _ymmh_state): Likewise.
11724 (struct _xstate): Likewise.
11726 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11727 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11728 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11729 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11730 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11731 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11733 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11734 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11735 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11736 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11737 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11738 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11740 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11743 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11744 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11745 (sysdep_headers): Include sys/platform/ppc.h.
11746 * sysdeps/powerpc/test-gettimebase.c: Test for
11747 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11748 * manual/Makefile (appendices): Include platform.texi.
11749 * manual/contrib.texi (Contributors): Update @node pointers.
11750 * manual/maint.texi (Maintenance): Likewise.
11751 (Platform): New node.
11752 * manual/platform.texi: New file. Document the new features.
11754 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11755 Jakub Jelinek <jakub@redhat.com>
11758 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11759 where __builtin_expect is unavailable.
11761 2012-06-03 David S. Miller <davem@davemloft.net>
11763 * stdlib/longlong.h: Updated from GCC.
11765 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11768 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11769 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11772 (GLIBC_2.16): Likewise.
11774 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11776 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11778 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11781 (default-abi): New variable.
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11783 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11785 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11787 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11789 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11792 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11793 definition. Document in comment.
11795 2012-06-01 David S. Miller <davem@davemloft.net>
11797 * stdlib/longlong.h: Updated from GCC.
11799 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11802 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11803 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11804 sys/debugreg.h sys/io.h here.
11805 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11806 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11808 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11809 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11810 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11811 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11812 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11813 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11816 Define only if __x86_64__ is defined.
11818 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11821 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11822 Use int64_t for variable i.
11823 * math/libm-test.inc (fmod_test): Add more tests.
11825 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11826 z computation is not scheduled after fetestexcept.
11827 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11828 Use math_force_eval instead of asm to ensure calculation scheduled
11829 before exception test.
11830 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11831 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11833 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11836 computation is not scheduled after fetestexcept.
11838 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11841 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11842 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11844 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11846 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11847 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11849 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11852 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11854 (__WCHAR_MIN): Support __WORDSIZE == 64.
11855 (__WCHAR_MAX): Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11861 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11862 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11865 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11868 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11869 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11871 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11872 Defined to 1 if __x86_64__ isn't defined.
11873 (_STAT_VER_LINUX_OLD): New.
11874 (st_atime): Remove duplicate.
11875 (st_mtime): Likewise.
11876 (st_ctime): Likewise.
11878 2012-05-31 David S. Miller <davem@davemloft.net>
11880 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11883 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11885 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11889 * elf/dl-reloc.c: Include <_itoa.h>.
11890 (_dl_reloc_bad_type): Remove use of INTUSE.
11891 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11892 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11893 * stdio-common/psiginfo.c (psiginfo): Likewise.
11894 * stdio-common/psignal.c (psignal): Likewise.
11895 * string/strsignal.c (strsignal): Likewise.
11896 * include/signal.h (_sys_siglist): Declare hidden proto.
11897 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11898 INTVARDEF with libc_hidden_data_def.
11899 * stdio-common/itoa-udigits.c: Likewise.
11900 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11901 (_itoa_lower_digits_internal): Remove declaration.
11902 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11903 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11904 (_sys_sigabbrev_internal): Remove aliases.
11905 (_sys_siglist): Define hidden alias.
11907 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11912 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11915 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11916 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11918 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11919 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11920 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11921 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11922 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11923 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11925 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11926 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11927 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11929 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11937 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11938 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11939 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11941 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11942 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11944 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11945 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11946 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11948 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11949 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11951 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11952 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11954 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11956 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11958 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11959 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11961 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11963 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11964 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11965 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11967 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11969 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11971 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11973 * math/math.h (M_El): Use two more decimal places.
11974 (M_LOG2El): Likewise.
11975 (M_LOG10El): Likewise.
11976 (M_LN2l): Likewise.
11977 (M_LN10l): Likewise.
11979 (M_PI_2l): Likewise.
11980 (M_PI_4l): Likewise.
11981 (M_1_PIl): Likewise.
11982 (M_2_PIl): Likewise.
11983 (M_2_SQRTPIl): Likewise.
11984 (M_SQRT2l): Likewise.
11985 (M_SQRT1_2l): Likewise.
11987 2012-05-31 David S. Miller <davem@davemloft.net>
11989 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11990 values between float registers.
11991 * sysdeps/sparc/sparc64/memset.S: Likewise.
11992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11994 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11996 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11997 -D_FORTIFY_SOURCE=1.
11998 (CPPFLAGS-tst-longjmp_chk.c): Define.
11999 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12000 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12001 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12002 CFLAGS-tst-wchar-h.c.
12004 2012-05-31 Marek Polacek <polacek@redhat.com>
12007 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12008 __endmntent_internal): Remove declaration.
12009 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12010 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12011 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12013 2012-05-30 David S. Miller <davem@davemloft.net>
12015 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12016 (___Q_simulate_exceptions): Use real FP ops rather than writing
12018 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12021 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12024 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12025 * sysdeps/x86/bits/xtitypes.h: This.
12027 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12028 * sysdeps/x86/bits/wordsize.h: This.
12030 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12031 * sysdeps/x86/bits/huge_vall.h: This.
12033 * sysdeps/i386/bits/select.h: Removed.
12034 * sysdeps/x86_64/bits/select.h: Renamed to ...
12035 * sysdeps/x86/bits/select.h: This.
12037 * sysdeps/i386/bits/setjmp.h: Removed.
12038 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12039 * sysdeps/x86/bits/setjmp.h: This.
12041 * sysdeps/i386/bits/mathdef.h: Removed.
12042 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12043 * sysdeps/x86/bits/mathdef.h: This.
12045 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12048 * include/sys/socket.h (__connect_internal)
12049 (__libc_sa_len_internal): Remove declaration.
12050 (__connect, __libc_sa_len): Declare hidden_proto.
12051 (SA_LEN): Remove use of INTUSE.
12052 * socket/connect.c: Add libc_hidden_def.
12053 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12054 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12055 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12057 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12058 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12059 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12060 of adding _internal alias.
12062 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12065 * sysdeps/i386/bits/link.h: Removed.
12066 * sysdeps/i386/bits/linkmap.h: Likewise.
12067 * sysdeps/x86_64/bits/link.h: Renamed to ...
12068 * sysdeps/x86/bits/link.h: This.
12069 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12070 * sysdeps/x86/bits/linkmap.h: This.
12072 * sysdeps/i386/bits/endian.h: Removed.
12073 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12074 * sysdeps/x86/bits/endian.h: This.
12076 * sysdeps/i386/bits/byteswap.h: Removed.
12077 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12078 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12079 * sysdeps/x86/bits/byteswap.h: This.
12080 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12081 * sysdeps/x86/bits/byteswap-16.h: This.
12082 * sysdeps/i386/Implies: Add x86.
12083 * sysdeps/x86_64/Implies: Likewise.
12085 2012-05-30 David S. Miller <davem@davemloft.net>
12087 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12088 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12089 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12090 (FP_TRAPPING_EXCEPTIONS): Define.
12091 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12092 (FP_TRAPPING_EXCEPTIONS): Define.
12093 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12094 subnormals only when inexact has been signalled or underflow
12095 exceptions are enabled.
12096 (_FP_PACK_CANONICAL): Likewise.
12098 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12102 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12104 2012-05-30 Richard Henderson <rth@twiddle.net>
12106 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12107 with #ifndef NOT_IN_libc.
12109 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12110 marked to avoid plt entry.
12112 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12115 * Makeconfig (default-abi): New macro.
12116 (abi-includes): Likewise.
12117 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12118 $(abi-$(default-abi)-lib-soname) for soname if defined.
12119 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12121 * Makefile (installed-stubs): Likewise.
12122 * include/stubs-biarch.h: Removed.
12123 * scripts/lib-names.awk: Only handle one library at a time.
12124 * scripts/soversions.awk: Remove WORDSIZE support.
12125 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12127 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12129 (syscall-list-default-condition): Likewise.
12130 (syscall-list-default-condition): Likewise.
12131 (syscall-list-includes): Likewise.
12132 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12133 syscall-list-* with abi-*. Handle undefined abi-variants.
12134 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12135 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12136 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12137 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12138 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12139 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12141 (syscall-list-32-options): Likewise.
12142 (syscall-list-32-condition): Likewise.
12143 (syscall-list-64-options): Likewise.
12144 (syscall-list-64-condition): Likewise.
12145 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12147 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12150 (abi-64-ld-soname): New macro.
12151 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12152 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12155 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12156 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12158 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12160 * sysdeps/unix/sysv/linux/kernel-features.h
12161 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12162 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12163 include <kernel-features.h>.
12164 [!__NR_ftruncate64]: Remove conditional code.
12165 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12166 [__NR_ftruncate64]: Make code unconditional.
12167 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12168 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12169 include <kernel-features.h>.
12170 [!__NR_ftruncate64]: Remove conditional code.
12171 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12172 [__NR_ftruncate64]: Make code unconditional.
12173 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12175 include <kernel-features.h>.
12176 [!__NR_ftruncate64]: Remove conditional code.
12177 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12178 [__NR_ftruncate64]: Make code unconditional.
12179 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12181 include <kernel-features.h>.
12182 [!__NR_ftruncate64]: Remove conditional code.
12183 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12184 [__NR_ftruncate64]: Make code unconditional.
12185 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12187 * configure.in (libc_cv_fpie): Weaken to a compile test using
12188 LIBC_TRY_CC_OPTION.
12189 * configure: Regenerated.
12191 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12206 2012-05-27 David S. Miller <davem@davemloft.net>
12208 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12210 (__Q_simulate_exceptions): Return void. Change to simulate
12211 exceptions by writing into the %fsr.
12212 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12213 (__Qp_handle_exceptions): Likewise.
12215 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12216 __Qp_handle_exceptions.
12217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12218 __Qp_handle_exceptions.
12219 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12220 as unused and give dummy FP_RND_NEAREST initializer.
12221 (FP_INHIBIT_RESULTS): Define.
12222 (___Q_simulate_exceptions): Update declaration.
12223 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12225 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12226 as unused and give dummy FP_RND_NEAREST initializer.
12227 (__Qp_handle_exceptions): Update declaration.
12228 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12231 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12233 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12234 the temporary FPU control word.
12235 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12236 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12237 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12238 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12239 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12240 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12241 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12243 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12244 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12245 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12247 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12249 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12252 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12254 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12255 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12256 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12257 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12259 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12260 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12263 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12265 * po/h.po: Update from translation team.
12267 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12269 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12271 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12272 handling of denormals.
12273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12274 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12275 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12276 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12282 2012-05-26 Marek Polacek <polacek@redhat.com>
12285 * math/libm-test.inc (fma_test): Don't always expect underflow
12288 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12291 * elf/tst-execstack.c: Include stackinfo.h.
12292 (do_test): Adjust test case to ensure that pthread_getattr_np
12293 behaviour remains the same after marking stack executable.
12295 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12297 * sysdeps/unix/sysv/linux/kernel-features.h
12298 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12299 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12301 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12302 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12303 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12305 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12306 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12308 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12310 * configure.in: Define the default includes to being none.
12311 * configure: Regenerated.
12313 2012-05-25 Roland McGrath <roland@hack.frob.com>
12315 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12316 * sysdeps/x86_64/setjmp.S: Likewise.
12317 * sysdeps/i386/bsd-setjmp.S: Likewise.
12318 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12319 * sysdeps/i386/setjmp.S: Likewise.
12320 * sysdeps/i386/__longjmp.S: Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12322 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12324 * include/stap-probe.h: New file.
12325 * configure.in: Handle --enable-systemtap.
12326 * configure: Regenerated.
12327 * config.h.in (USE_STAP_PROBE): New #undef.
12328 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12329 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12330 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12332 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12336 to 2.4.0 where earlier.
12337 * sysdeps/unix/sysv/linux/configure: Regenerated.
12338 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12339 <kernel-features.h>.
12340 [__ASSUME_32BITUIDS]: Make code unconditional.
12341 [!__ASSUME_32BITUIDS]: Remove conditional code.
12342 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12343 <kernel-features.h>.
12344 [__ASSUME_32BITUIDS]: Make code unconditional.
12345 [!__ASSUME_32BITUIDS]: Remove conditional code.
12346 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12347 [__ASSUME_32BITUIDS]: Make code unconditional.
12348 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12349 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12350 <kernel-features.h>.
12351 [__ASSUME_32BITUIDS]: Make code unconditional.
12352 [!__ASSUME_32BITUIDS]: Remove conditional code.
12353 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12354 <kernel-features.h>.
12355 [__ASSUME_32BITUIDS]: Make code unconditional.
12356 [!__ASSUME_32BITUIDS]: Remove conditional code.
12357 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12358 <kernel-features.h>.
12359 [__ASSUME_32BITUIDS]: Make code unconditional.
12360 [!__ASSUME_32BITUIDS]: Remove conditional code.
12361 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12362 <kernel-features.h>.
12363 [__ASSUME_32BITUIDS]: Make code unconditional.
12364 [!__ASSUME_32BITUIDS]: Remove conditional code.
12365 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12366 <kernel-features.h>.
12367 [__ASSUME_32BITUIDS]: Make code unconditional.
12368 [!__ASSUME_32BITUIDS]: Remove conditional code.
12369 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12370 <kernel-features.h>.
12371 [__ASSUME_32BITUIDS]: Make code unconditional.
12372 [!__ASSUME_32BITUIDS]: Remove conditional code.
12373 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12374 <kernel-features.h>.
12375 [__ASSUME_32BITUIDS]: Make code unconditional.
12376 [!__ASSUME_32BITUIDS]: Remove conditional code.
12377 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12378 <kernel-features.h>.
12379 [__ASSUME_32BITUIDS]: Make code unconditional.
12380 [!__ASSUME_32BITUIDS]: Remove conditional code.
12381 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12382 <kernel-features.h>.
12383 [__ASSUME_32BITUIDS]: Make code unconditional.
12384 [!__ASSUME_32BITUIDS]: Remove conditional code.
12385 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12386 <kernel-features.h>.
12387 [__ASSUME_32BITUIDS]: Make code unconditional.
12388 [!__ASSUME_32BITUIDS]: Remove conditional code.
12389 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12390 <kernel-features.h>.
12391 [__NR_setresgid] (__setresgid): Do not declare.
12392 [__ASSUME_32BITUIDS]: Make code unconditional.
12393 [!__ASSUME_32BITUIDS]: Remove conditional code.
12394 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12395 <kernel-features.h>.
12396 [__NR_setresuid] (__setresuid): Do not declare.
12397 [__ASSUME_32BITUIDS]: Make code unconditional.
12398 [!__ASSUME_32BITUIDS]: Remove conditional code.
12399 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12400 <kernel-features.h>.
12401 [__ASSUME_32BITUIDS]: Make code unconditional.
12402 [!__ASSUME_32BITUIDS]: Remove conditional code.
12403 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12404 <kernel-features.h>.
12405 [__ASSUME_32BITUIDS]: Make code unconditional.
12406 [!__ASSUME_32BITUIDS]: Remove conditional code.
12407 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12408 <kernel-features.h>.
12409 [__ASSUME_32BITUIDS]: Make code unconditional.
12410 [!__ASSUME_32BITUIDS]: Remove conditional code.
12411 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12412 <kernel-features.h>.
12413 [__ASSUME_32BITUIDS]: Make code unconditional.
12414 [!__ASSUME_32BITUIDS]: Remove conditional code.
12415 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12416 <kernel-features.h>.
12417 [__ASSUME_32BITUIDS]: Make code unconditional.
12418 [!__ASSUME_32BITUIDS]: Remove conditional code.
12419 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12420 <kernel-features.h>.
12421 [__ASSUME_32BITUIDS]: Make code unconditional.
12422 [!__ASSUME_32BITUIDS]: Remove conditional code.
12423 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12424 <kernel-features.h>.
12425 [__ASSUME_32BITUIDS]: Make code unconditional.
12426 [!__ASSUME_32BITUIDS]: Remove conditional code.
12427 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12428 <kernel-features.h>.
12429 [__ASSUME_32BITUIDS]: Make code unconditional.
12430 [!__ASSUME_32BITUIDS]: Remove conditional code.
12431 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12432 <kernel-features.h>.
12433 [__ASSUME_32BITUIDS]: Make code unconditional.
12434 [!__ASSUME_32BITUIDS]: Remove conditional code.
12435 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12436 <kernel-features.h>.
12437 [__ASSUME_32BITUIDS]: Make code unconditional.
12438 [!__ASSUME_32BITUIDS]: Remove conditional code.
12439 * sysdeps/unix/sysv/linux/kernel-features.h
12440 (__ASSUME_SETRESUID_SYSCALL): Remove.
12441 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12442 (__ASSUME_32BITUIDS): Likewise.
12443 (__ASSUME_LDT_WORKS): Likewise.
12444 (__ASSUME_O_DIRECTORY): Likewise.
12445 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12446 architecture but not kernel version.
12447 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12448 (__ASSUME_MMAP2_SYSCALL): Likewise.
12449 (__ASSUME_STAT64_SYSCALL): Likewise.
12450 (__ASSUME_IPC64): Likewise.
12451 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12452 <kernel-features.h>.
12453 [__ASSUME_32BITUIDS]: Make code unconditional.
12454 [!__ASSUME_32BITUIDS]: Remove conditional code.
12455 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12456 <kernel-features.h>.
12457 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12458 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12459 132096]: Remove conditional code.
12460 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12461 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12462 <kernel-features.h>.
12463 [__ASSUME_32BITUIDS]: Make code unconditional.
12464 [!__ASSUME_32BITUIDS]: Remove conditional code.
12465 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12466 <kernel-features.h>.
12467 [__ASSUME_32BITUIDS]: Make code unconditional.
12468 [!__ASSUME_32BITUIDS]: Remove conditional code.
12469 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12470 <kernel-features.h>.
12471 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12473 (__setresgid): Do not declare.
12474 [__ASSUME_32BITUIDS]: Make code unconditional.
12475 [!__ASSUME_32BITUIDS]: Remove conditional code.
12476 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12477 <kernel-features.h>.
12478 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12480 (__setresuid): Do not declare.
12481 [__ASSUME_32BITUIDS]: Make code unconditional.
12482 [!__ASSUME_32BITUIDS]: Remove conditional code.
12483 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12484 <kernel-features.h>.
12485 [__ASSUME_32BITUIDS]: Make code unconditional.
12486 [!__ASSUME_32BITUIDS]: Remove conditional code.
12487 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12488 <kernel-features.h>.
12489 [__ASSUME_32BITUIDS]: Make code unconditional.
12490 [!__ASSUME_32BITUIDS]: Remove conditional code.
12492 2012-05-25 Richard Henderson <rth@twiddle.net>
12494 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12495 dl_hwcap to ifunc resolver.
12496 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12498 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12499 dl_hwcap to ifunc resolver.
12500 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12502 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12505 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12506 for |x| <= 2**-26, not 2**-57.
12507 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12510 2012-05-24 Jeff Law <law@redhat.com>
12512 * stdio-common/Makefile (tests): Add bug25.
12513 * stdio-common/bug25.c: New test.
12515 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12518 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12519 multiple of MALLOC_ALIGNMENT in size.
12520 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12522 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12524 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12526 (FILENAME_MAX): Use macro-int-constant.
12527 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12528 (_IOFBF): Use macro-int-constant.
12529 (_IOLBF): Likewise.
12530 (_IONBF): Likewise.
12531 (SEEK_CUR): Likewise.
12532 (SEEK_END): Likewise.
12533 (SEEK_SET): Likewise.
12534 (TMP_MAX): Likewise.
12535 (EOF): Use macro-int-constant. Require < 0.
12536 (NULL): Use macro-constant. Require == 0.
12537 (stdin): Require type to be FILE *.
12538 (stdout): Likewise.
12539 (stderr): Likewise.
12540 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12541 macro-int-constant.
12542 (EXIT_SUCCESS): Likewise.
12543 (NULL): Use macro-constant. Require == 0.
12544 (RAND_MAX): Use macro-int-constant.
12545 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12546 [C99-based standards] (strtof): Require function.
12547 [C99-based standards] (strtold): Likewise.
12548 [C99-based standards] (strtoll): Likewise.
12549 [C99-based standards] (strtoull): Likewise.
12550 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12551 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12552 [ISO || ISO99 || ISO11] (math.h): Likewise.
12553 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12554 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12555 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12557 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12560 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12561 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12562 * intl/dgettext.c (DCGETTEXT): Likewise.
12563 * intl/gettext.c (DCGETTEXT): Likewise.
12564 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12565 * posix/regex_internal.h (gettext): Likewise.
12566 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12567 Remove declaration.
12568 * include/argz.h (__argz_count_internal)
12569 (__argz_stringify_internal): Remove declaration.
12570 (__argz_count, __argz_stringify): Declare hidden proto.
12571 * intl/dcgettext.c: Remove use of INTDEF.
12572 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12573 * string/argz-stringify.c: Likewise.
12574 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12575 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12576 Declare hidden proto.
12577 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12578 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12579 Declare hidden proto.
12580 * include/stdio.h (__asprintf_internal): Don't declare.
12581 (__asprintf): Don't define as macro. Declare hidden proto.
12582 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12583 (__fsetlocking): Declare hidden proto.
12584 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12585 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12587 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12588 (_IO_setlinebuf): Remove use of INTUSE.
12589 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12590 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12591 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12592 Remove declaration.
12593 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12594 (_IO_do_flush): Remove use of INTUSE.
12595 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12596 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12597 (_IO_adjust_column, _IO_least_wmarker)
12598 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12599 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12600 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12601 (_IO_default_doallocate, _IO_wdefault_doallocate)
12602 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12603 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12604 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12605 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12606 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12607 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12608 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12609 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12610 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12611 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12612 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12613 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12614 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12616 (_IO_flush_all_internal, _IO_adjust_column_internal)
12617 (_IO_default_uflow_internal, _IO_default_finish_internal)
12618 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12619 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12620 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12621 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12622 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12623 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12624 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12625 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12626 (_IO_file_close_internal, _IO_file_close_it_internal)
12627 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12628 (_IO_file_init_internal, _IO_file_attach_internal)
12629 (_IO_file_fopen_internal, _IO_file_read_internal)
12630 (_IO_file_sync_internal, _IO_file_seek_internal)
12631 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12632 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12633 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12634 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12635 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12636 (_IO_list_all_internal, _IO_link_in_internal)
12637 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12638 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12639 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12640 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12641 (_IO_do_write_internal, _IO_padn_internal)
12642 (_IO_getline_info_internal, _IO_getline_internal)
12643 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12644 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12645 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12646 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12647 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12648 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12649 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12650 with libc_hidden_ver, remove use of INTUSE.
12651 * libio/genops.c: Likewise.
12652 * libio/freopen.c: Likewise.
12653 * libio/freopen64.c: Likewise.
12654 * libio/iofclose.c: Likewise.
12655 * libio/iofdopen.c: Likewise.
12656 * libio/iofflush.c: Likewise.
12657 * libio/iofflush_u.c: Likewise.
12658 * libio/iofgets.c: Likewise.
12659 * libio/iofgets_u.c: Likewise.
12660 * libio/iofopen.c: Likewise.
12661 * libio/iofopncook.c: Likewise.
12662 * libio/iofread.c: Likewise.
12663 * libio/iofread_u.c: Likewise.
12664 * libio/ioftell.c: Likewise.
12665 * libio/iofwrite.c: Likewise.
12666 * libio/iogetline.c: Likewise.
12667 * libio/iogets.c: Likewise.
12668 * libio/iogetwline.c: Likewise.
12669 * libio/iopadn.c: Likewise.
12670 * libio/iopopen.c: Likewise.
12671 * libio/ioseekoff.c: Likewise.
12672 * libio/ioseekpos.c: Likewise.
12673 * libio/iosetbuffer.c: Likewise.
12674 * libio/iosetvbuf.c: Likewise.
12675 * libio/ioungetc.c: Likewise.
12676 * libio/ioungetwc.c: Likewise.
12677 * libio/iovdprintf.c: Likewise.
12678 * libio/iovsprintf.c: Likewise.
12679 * libio/iovsscanf.c: Likewise.
12680 * libio/memstream.c: Likewise.
12681 * libio/obprintf.c: Likewise.
12682 * libio/oldfileops.c: Likewise.
12683 * libio/oldiofclose.c: Likewise.
12684 * libio/oldiofdopen.c: Likewise.
12685 * libio/oldiofopen.c: Likewise.
12686 * libio/oldiopopen.c: Likewise.
12687 * libio/oldstdfiles.c: Likewise.
12688 * libio/putc.c: Likewise.
12689 * libio/setbuf.c: Likewise.
12690 * libio/setlinebuf.c: Likewise.
12691 * libio/stdfiles.c: Likewise.
12692 * libio/strops.c: Likewise.
12693 * libio/vasprintf.c: Likewise.
12694 * libio/vscanf.c: Likewise.
12695 * libio/vsnprintf.c: Likewise.
12696 * libio/vswprintf.c: Likewise.
12697 * libio/wfiledoalloc.c: Likewise.
12698 * libio/wfileops.c: Likewise.
12699 * libio/wgenops.c: Likewise.
12700 * libio/wmemstream.c: Likewise.
12701 * libio/wstrops.c: Likewise.
12702 * libio/__fpurge.c: Likewise.
12703 * libio/__fsetlocking.c: Likewise.
12704 * assert/assert.c: Likewise.
12705 * debug/fgets_chk.c: Likewise.
12706 * debug/fgets_u_chk.c: Likewise.
12707 * debug/fread_chk.c: Likewise.
12708 * debug/fread_u_chk.c: Likewise.
12709 * debug/gets_chk.c: Likewise.
12710 * debug/obprintf_chk.c: Likewise.
12711 * debug/vasprintf_chk.c: Likewise.
12712 * debug/vdprintf_chk.c: Likewise.
12713 * debug/vsnprintf_chk.c: Likewise.
12714 * debug/vsprintf_chk.c: Likewise.
12715 * malloc/mtrace.c: Likewise.
12716 * misc/error.c: Likewise.
12717 * misc/syslog.c: Likewise.
12718 * stdio-common/asprintf.c: Likewise.
12719 * stdio-common/fxprintf.c: Likewise.
12720 * stdio-common/getw.c: Likewise.
12721 * stdio-common/isoc99_fscanf.c: Likewise.
12722 * stdio-common/isoc99_scanf.c: Likewise.
12723 * stdio-common/isoc99_vfscanf.c: Likewise.
12724 * stdio-common/isoc99_vscanf.c: Likewise.
12725 * stdio-common/isoc99_vsscanf.c: Likewise.
12726 * stdio-common/printf-prs.c: Likewise.
12727 * stdio-common/printf_fp.c: Likewise.
12728 * stdio-common/printf_fphex.c: Likewise.
12729 * stdio-common/printf_size.c: Likewise.
12730 * stdio-common/putw.c: Likewise.
12731 * stdio-common/scanf.c: Likewise.
12732 * stdio-common/sprintf.c: Likewise.
12733 * stdio-common/tmpfile.c: Likewise.
12734 * stdio-common/vfprintf.c: Likewise.
12735 * stdio-common/vfscanf.c: Likewise.
12736 * stdlib/strfmon_l.c: Likewise.
12737 * sunrpc/openchild.c: Likewise.
12738 * sunrpc/xdr_stdio.c: Likewise.
12739 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12740 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12742 2012-05-24 Roland McGrath <roland@hack.frob.com>
12744 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12746 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12747 in the third column, to generate for the shared library an IFUNC
12748 that uses _dl_vdso_vsym.
12749 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12750 * Makeconfig (object-suffixes-noshared): New variable.
12752 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12753 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12754 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12755 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12758 * include/sys/time.h (__gettimeofday): Remove macro.
12759 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12760 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12762 (__gettimeofday): Add libc_hidden_def.
12763 (gettimeofday): Add libc_hidden_weak.
12764 * sysdeps/mach/gettimeofday.c: Likewise.
12765 * sysdeps/posix/gettimeofday.c: Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12767 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12769 (__gettimeofday_internal): Remove strong_alias.
12770 (__gettimeofday): Add libc_hidden_def.
12771 (gettimeofday): Add libc_hidden_weak.
12772 * sysdeps/unix/syscalls.list (gettimeofday):
12773 Remove __gettimeofday_internal alias.
12775 2012-05-24 Daniel Jacobowitz <drow@false.org>
12776 H.J. Lu <hongjiu.lu@intel.com>
12779 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12780 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12781 (largebin_index_32_big): New.
12782 (largebin_index): Use it for 16-byte alignment.
12783 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12784 correction with front_misalign.
12786 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12814 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12815 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12817 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12821 * math/libm-test.inc (exp_test): Add test from bug 14036.
12822 (pow_test): Add test from bug 10846.
12824 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12826 (special_function): Do not include flags in test name.
12827 (parse_args): Likewise.
12828 * sysdeps/i386/fpu/libm-test-ulps: Update.
12829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12830 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12831 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12834 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12836 * math/libm-test.inc ("Philosophy"): Update comment about
12838 (UNDERFLOW_EXCEPTION): New macro.
12839 (UNDERFLOW_EXCEPTION_OK): Likewise.
12840 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12841 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12842 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12843 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12844 (INVALID_EXCEPTION_OK): Update value.
12845 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12846 (OVERFLOW_EXCEPTION_OK): Likewise.
12847 (IGNORE_ZERO_INF_SIGN): Likewise.
12848 (test_exceptions): Handle underflow exceptions.
12849 (acos_test): Update for underflow exception expectations.
12850 (cexp_test): Likewise.
12851 (clog_test): Likewise.
12852 (clog10_test): Likewise.
12853 (csqrt_test): Likewise.
12854 (ctan_test): Likewise.
12855 (ctanh_test): Likewise.
12856 (exp_test): Likewise.
12857 (exp10_test): Likewise.
12858 (exp2_test): Likewise.
12859 (expm1_test): Likewise.
12860 (fma_test): Likewise.
12861 (j0_test): Likewise.
12862 (jn_test): Likewise.
12863 (nexttoward_test): Likewise.
12864 (pow_test): Likewise.
12865 (scalbn_test): Likewise.
12866 (scalbln_test): Likewise.
12867 (tan_test): Likewise.
12868 (y1_test): Likewise.
12869 * sysdeps/i386/fpu/libm-test-ulps: Update.
12870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12872 2012-05-23 David S. Miller <davem@davemloft.net>
12874 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12875 (__libc_sigaction): Remove unused local variables.
12877 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12879 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12881 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12883 mktime: avoid signed integer overflow
12884 * time/mktime.c (__mktime_internal): Do not mishandle the case
12885 where diff == INT_MIN.
12887 mktime: simplify computation of average
12888 * time/mktime.c (ranged_convert): Use new time_t_avg function
12889 instead of rolling our own (probably-slower) code.
12891 mktime: do not assume signed right shift propagates sign bit
12892 * time/mktime.c (isdst_differ): New static function.
12893 (__mktime_internal): No need to normalize tm_isdst now.
12894 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12897 mktime: merge another wrapv change from gnulib
12898 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12899 from some compilers.
12901 mktime: remove incorrect attempt at unusual arithmetics
12902 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12903 The code didn't really work on such machines anyway.
12904 (TYPE_MINIMUM): Assume two's complement.
12905 (twos_complement_arithmetic): Verify that long_int and time_t
12906 are two's complement (or unsigned, in the latter case).
12908 mktime: check signed shifts on long_int and time_t, too
12909 * time/mktime.c (SHR): Check that shifts work as desired
12910 on the types long_int and time_t too, as SHR is used on
12913 mktime: do not assume 'long' is wide enough
12914 * time/mktime.c (verify): Move decl up.
12915 (long_int): New type.
12916 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12917 to remove assumption in the code that 'long' is wide enough to
12918 store year values. This assumption is not true on x32 and on
12919 some non-glibc platforms.
12921 mktime: merge wrapv change from gnulib
12922 * time/mktime.c (WRAPV): New macro.
12923 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12924 (guess_time_tm, __mktime_internal): Do not assume that signed
12925 integer overflow wraps around; modern compilers generate code
12926 where this assumption is no longer valid.
12928 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12930 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12931 Replace "jmp L(pseudo_end)" with "ret".
12932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12935 2012-05-23 Andreas Jaeger <aj@suse.de>
12937 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12938 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12940 2012-05-23 Andreas Jaeger <aj@suse.de>
12941 Maximilian Attems <max@stro.at>
12943 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12946 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12949 code so that pseudo_end is just ret and the stack pointer is
12950 correct also for static library in error case.
12952 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12954 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12955 move to syscalls.list.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12961 * manual/install.texi (Running make install): Do not mention Linux
12962 kernel version for which pt_chown is not needed.
12963 (Linux): Do not mention problems with nscd with 2.0 kernels.
12964 * INSTALL: Regenerated.
12966 2012-05-23 Andreas Jaeger <aj@suse.de>
12968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12969 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12971 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12972 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12973 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12974 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12975 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12976 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12978 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12979 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12981 * sysdeps/unix/sysv/linux/bits/in.h
12982 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12984 2012-05-22 Roland McGrath <roland@hack.frob.com>
12986 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12987 (PREPARE_VERSION): Just use assert instead, it will be elided
12988 under [NDEBUG] anyway.
12990 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12992 * sysdeps/unix/sysv/linux/Makefile: Include
12993 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12994 (sysdep_routines): Remove sysctl.
12995 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12996 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12997 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12998 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12999 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13001 2012-05-22 Andreas Jaeger <aj@suse.de>
13003 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13004 that pseudo_end is just ret and the stack pointer is correct also
13005 for static library in error case.
13007 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13010 * nss/nsswitch.c (defconfig_entries): New variable.
13011 (__nss_database_lookup): Don't leak defconfig entries.
13012 (nss_parse_service_list): Don't leak on error paths.
13013 (free_database_entries): New function.
13014 (free_defconfig): New function.
13015 (free_mem): Move common code to free_database_entries.
13017 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13021 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13023 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13024 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13027 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13028 (INTERNAL_SYSCALL_TYPES): Likewise.
13029 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13030 (LOAD_REGS_TYPES_[1-6]): Likewise.
13031 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13032 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13034 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13036 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13037 copysignl for GLIBC_2_0.
13038 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13039 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13041 logbl for GLIBC_2_0.
13042 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13043 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13045 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13047 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13048 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13050 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13053 * time/mktime.c: Update copyright years.
13055 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13057 mktime: merge comment-quoting-style change from gnulib
13058 * time/mktime.c: Quote 'like this' in comments.
13059 The GNU coding standards suggest that we no longer quote `like this',
13060 as "`" and "'" are typically rendered asymmetrically nowadays.
13061 The typical gnulib style is to quote 'like this' when quoting
13062 code, and "like this" when quoting English.
13064 * time/mktime.c (compile-command): Add "-I.".
13066 mktime: merge mktime-internal.h change from gnulib
13067 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13069 mktime: merge time_r change from gnulib
13070 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13072 mktime: merge DEBUG change from gnulib
13073 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13074 case system <time.h> has a #define.
13076 mktime: merge <sys/types.h> change from gnulib
13077 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13078 since <time.t> is now guaranteed to define time_t.
13080 mktime: merge HAVE_CONFIG_H change from gnulib
13081 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13083 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13088 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13090 (struct rusage): Use anonymous union to pad each field to
13093 2012-05-21 David S. Miller <davem@davemloft.net>
13095 * Makefules (o-iterator): Remove .s cases.
13096 (compile-command.s): Delete.
13097 (COMPILE.s): Delete.
13098 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13100 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13102 * configure.in (libc_cv_predef_stack_protector): Only consider
13103 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13104 * configure: Regenerated.
13106 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13109 New macro. Use R*LP on int and pointer.
13110 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13111 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13112 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13115 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13116 [__WORDSIZE_TIME64_COMPAT32] instead of
13117 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13118 (struct utmp): Likewise.
13119 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13120 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13122 (__WORDSIZE_TIME64_COMPAT32): This.
13123 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13124 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13125 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13126 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13127 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13128 (__WORDSIZE_TIME64_COMPAT32): New macro.
13130 2012-05-21 Andreas Jaeger <aj@suse.de>
13132 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13133 only if [SHARED]. Add prototype for __wcschr_ia32.
13135 2012-05-21 Roland McGrath <roland@hack.frob.com>
13137 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13138 of %rbp unmolested in the jmp_buf while mangling the low bits.
13139 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13140 unmolested high bits of %rbp while demangling the low bits.
13141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13143 2012-05-21 Andreas Jaeger <aj@suse.de>
13145 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13146 * sunrpc/svc_simple.c: Use it for registerrpc.
13147 * sunrpc/xcrypt.c: Use it for passwd2des.
13149 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13151 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13153 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13154 Don't define if [__SYSCALL_WORDSIZE != 32].
13155 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13158 2012-05-21 Bruno Haible <bruno@clisp.org>
13159 Andreas Jaeger <aj@suse.de>
13161 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13162 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13163 inptr and inend for must_buffer_ch.
13164 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13165 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13166 * stdio-common/Makefile (tests): Remove bug15.
13167 (bug15-ENV): Remove macro.
13168 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13171 2012-05-19 Andreas Jaeger <aj@suse.de>
13172 Roland McGrath <roland@hack.frob.com>
13174 * manual/contrib.texi: Completely rewritten. It contains now an
13175 alphabetical list of contributors and their contributions.
13177 2012-05-21 Richard Henderson <rth@twiddle.net>
13179 * misc/getauxval.c (__getauxval): Use unsigned long int.
13180 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13181 (getauxval): Use unsigned long int.
13183 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13185 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13187 2012-05-21 Roland McGrath <roland@hack.frob.com>
13189 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13190 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13191 __alignof__ (long double).
13193 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13197 2012-05-20 Richard Henderson <rth@twiddle.net>
13199 * misc/getauxval.c: New file.
13200 * misc/sys/auxv.h: New file.
13201 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13202 (routines): Add getauxval.
13203 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13204 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13205 * elf/dl-sysdep.c (_dl_auxv): Remove.
13206 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13207 * elf/dl-support.c (_dl_auxv): New variable.
13208 (_dl_aux_init): Initialize it.
13209 * manual/startup.texi (Auxiliary Vector): New node.
13210 * sysdeps/generic/bits/hwcap.h: New file.
13211 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13212 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13213 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13214 * sysdeps/sparc/sysdep.h: ... here. Include it.
13215 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13216 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13228 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13232 2012-05-19 David S. Miller <davem@davemloft.net>
13234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13236 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13239 * math/s_ccosh.c: Include <float.h>
13240 (__ccosh): Avoid internal overflow calculating sinh and cosh
13241 values before multiplying by sin and cos values.
13242 * math/s_ccoshf.c: Likewise.
13243 * math/s_ccoshl.c: Likewise.
13244 * math/s_csin.c: Likewise.
13245 * math/s_csinf.c: Likewise.
13246 * math/s_csinl.c: Likewise.
13247 * math/s_csinh.c: Likewise.
13248 * math/s_csinhf.c: Likewise.
13249 * math/s_csinhl.c: Likewise.
13250 * math/libm-test.inc (ccos_test): Add more tests.
13251 (ccosh_test): Likewise.
13252 (csin_test): Likewise.
13253 (csinh_test): Likewise.
13254 * sysdeps/i386/fpu/libm-test-ulps: Update.
13255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13257 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13259 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13260 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13262 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13264 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13266 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13267 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13268 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13269 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13270 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13271 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13272 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13273 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13274 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13275 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13276 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13277 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13278 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13279 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13280 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13281 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13282 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13283 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13284 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13285 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13286 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13287 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13288 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13289 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13290 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13291 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13292 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13293 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13294 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13295 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13296 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13298 2012-05-18 Andreas Jaeger <aj@suse.de>
13300 * csu/.gitignore: Delete.
13302 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13304 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13305 (timex): Use __syscall_slong_t.
13307 2012-05-18 Andreas Jaeger <aj@suse.de>
13308 Carlos O'Donell <carlos_odonell@mentor.com>
13310 * manual/install.texi (Configuring and compiling): Update
13311 description about files modified in the source directory.
13312 * INSTALL: Regenerated.
13314 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13316 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13317 value. Use "or" to set return value to -1.
13318 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13319 negate return value.
13321 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13323 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13324 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13325 failure if the compiler has Graphite support disabled.
13326 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13328 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13329 CFLAGS-memmove.c): Likewise.
13330 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13333 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13335 * sysdeps/x86_64/x32/_itoa.h: New file.
13337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13338 getdents system call only if kernel and user dirents have the
13339 same d_ino and d_off.
13341 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13342 LLONG_MAX != LONG_MAX.
13343 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13344 (_fitoa_word): Likewise.
13346 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13348 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13349 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13350 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13352 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13353 include <bits/wordsize.h>. Check __x86_64__ instead of
13355 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13356 if __x86_64__ is defined. Use anonymous union on fpstate.
13358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13361 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13363 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13364 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13366 Refer to _rtld_local_ro instead of _rtld_global_ro.
13367 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13369 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13371 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13373 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13374 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13375 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13377 * sysdeps/powerpc/powerpc32/dl-machine.c
13378 (__elf_machine_runtime_setup) [PROF]: Don't reference
13381 2012-05-18 Andreas Jaeger <aj@suse.de>
13383 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13384 function only available for GCCs before 3.4 since GCC 3.4
13385 introduced a builtin.
13387 (llrintf): Likewise.
13388 (llrint): Likewise.
13395 (nearbyint): Likewise.
13396 (nearbyintf): Likewise.
13400 (floorf): Likewise.
13402 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13404 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13405 on both fields and cast pointer to __syscall_ulong_t.
13407 * bits/types.h (__fsword_t): New type.
13408 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13409 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13411 (__FSWORD_T_TYPE): Likewise.
13412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13413 (__FSWORD_T_TYPE): Likewise.
13414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13415 (__FSWORD_T_TYPE): Likewise.
13416 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13417 (__FSWORD_T_TYPE): Likewise.
13418 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13419 __SWORD_TYPE with __fsword_t.
13420 (statfs64): Likewise.
13422 2012-05-17 David S. Miller <davem@davemloft.net>
13424 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13426 2012-05-17 Andreas Jaeger <aj@suse.de>
13428 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13431 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13433 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13435 2012-05-17 Andreas Jaeger <aj@suse.de>
13437 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13440 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13442 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13444 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13446 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13447 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13449 2012-05-17 Andreas Jaeger <aj@suse.de>
13450 Carlos O'Donell <carlos_odonell@mentor.com>
13453 * sysdeps/x86_64/multiarch/init-arch.h
13454 (bit_YMM_Usable): Rename to...
13455 (bit_AVX_Usable): ... this.
13456 (bit_FMA4_Usable): New macro.
13457 (bit_XMM_state): New macro.
13458 (bit_YMM_state): New macro.
13459 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13460 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13461 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13462 (CPUID_OSXSAVE): New macro.
13463 (CPUID_AVX): New macro.
13464 (CPUID_FMA4): New macro.
13465 (index_YMM_Usable): Rename to...
13466 (index_AVX_Usable): ... this.
13467 (HAS_AVX): Use HAS_ARCH_FEATURE.
13468 (HAS_FMA4): Likewise.
13469 (HAS_YMM_USABLE): Remove.
13470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13471 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13473 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13474 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13475 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13476 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13477 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13479 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13481 * math/libm-test.c: Support platforms without multiple rounding modes.
13482 * math/bug-nextafter.c: Support platforms without FP exceptions.
13483 * math/bug-nexttoward.c: Likewise.
13484 * math/test-fenv.c: Likewise.
13485 * math/test-misc.c: Likewise.
13486 * stdlib/bug-getcontext.c: Likewise.
13488 2012-05-17 Andreas Jaeger <aj@suse.de>
13490 * manual/examples/search.c (critter_cmp): Change signature to
13492 * manual/string.texi (Collation Functions): Likewise.
13494 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13496 * bits/types.h: Fold copyright years.
13497 * bits/typesizes.h: Likewise.
13498 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13502 * time/time.h: Likewise.
13504 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13507 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13508 in instead of returning them. Return void.
13509 (__libc_mallinfo): Accumulate over all arenas.
13510 (__malloc_stats): Adjust for change in int_mallinfo interface.
13512 2012-05-16 Roland McGrath <roland@hack.frob.com>
13515 * configure.in (NM): Add AC_CHECK_TOOL for it.
13516 (libc_extra_cflags): New substituted variable.
13517 Check for -fstack-protector being used implicitly.
13518 * configure: Regenerated.
13519 * config.make.in (config-extra-cflags): New variable,
13520 gets @libc_extra_cflags@.
13521 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13524 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13525 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13526 * configure: Regenerated.
13527 * config.make.in (CPPUNDEFS): New substituted variable.
13528 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13529 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13530 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13532 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13534 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13535 (mq_attr): Use __syscall_slong_t.
13537 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13540 Check __x86_64__ instead of __WORDSIZE.
13541 (_STAT_VER_LINUX): Likewise.
13542 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13543 __syscall_ulong_t and __syscall_slong_t.
13544 (stat64): Likewise.
13546 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13548 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13550 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13552 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13554 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13556 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13559 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13560 include <bits/wordsize.h>. Check __x86_64__ instead of
13562 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13564 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13567 include <bits/wordsize.h>. Check __x86_64__ instead of
13569 (user_regs_struct): Use "__extension__ unsigned long long"
13570 instead of "unsigned long" if __x86_64__ is defined.
13571 (user): Likewise. Pad after pointer field if __ILP32__ is
13574 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13576 * configure.in (makeinfo): Require version 4.5 or later. Allow
13578 * configure: Regenerated.
13579 * manual/install.texi (texinfo): Increase version requirement to
13581 * INSTALL: Regenerated.
13583 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13585 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13587 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13589 * sysdeps/x86_64/x32/ffs.c: New file.
13591 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13593 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13594 defined. Use __syscall_ulong_t.
13595 (shminfo): Use __syscall_ulong_t.
13596 (shm_info): Likewise.
13598 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13601 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13603 (msgqnum_t): Use __syscall_ulong_t.
13604 (msglen_t): Likewise.
13605 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13608 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13609 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13611 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13613 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13614 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13616 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13619 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13620 include <bits/wordsize.h>. Check __x86_64__ instead of
13623 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13624 "unsigned long long int" if __x86_64__ is defined.
13625 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13627 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13628 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13629 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13631 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13633 (GET_PC): Cast to uintptr_t first.
13634 (GET_FRAME): Likewise.
13635 (GET_STACK): Likewise.
13637 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13638 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13639 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13640 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13641 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13642 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13643 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13645 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13649 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13651 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13652 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13653 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13654 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13655 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13656 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13657 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13659 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13661 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13662 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13664 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13665 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13667 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13669 * Makerules (+depfiles): Also collect depfiles from .oS in
13671 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13672 .oS, $(libnldbl-routines)).
13674 * Makerules (native-compile-mkdep-flags): Define.
13675 * sunrpc/Makefile (extra-objs): Add $(addprefix
13676 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13677 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13678 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13679 calling $(make-target-directory).
13681 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13683 * bits/types.h (__snseconds_t): Removed.
13684 * time/time.h (struct timespec): Replace __snseconds_t with
13686 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13687 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13690 (__SNSECONDS_T_TYPE): Likewise.
13691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13692 (__SNSECONDS_T_TYPE): Likewise.
13693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13694 (__SNSECONDS_T_TYPE): Likewise.
13696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13698 * sysdeps/mach/hurd/bits/typesizes.h
13699 (__SYSCALL_SLONG_TYPE): New macro.
13700 (__SYSCALL_ULONG_TYPE): Likewise.
13702 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13704 * bits/types.h (__syscall_slong_t): New type.
13705 (__syscall_ulong_t): Likewise.
13707 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13708 (__SYSCALL_ULONG_TYPE): Likewise.
13709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13710 (__SYSCALL_SLONG_TYPE): Likewise.
13711 (__SYSCALL_ULONG_TYPE): Likewise.
13712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13713 (__SYSCALL_SLONG_TYPE): Likewise.
13714 (__SYSCALL_ULONG_TYPE): Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13716 (__SYSCALL_SLONG_TYPE): Likewise.
13717 (__SYSCALL_ULONG_TYPE): Likewise.
13719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13721 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13722 Add sigaltstack-offsets.sym.
13723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13724 <sigaltstack-offsets.h>.
13725 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13726 longjmp_msg pointer.
13727 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13728 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13730 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13732 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13734 * elf/stackguard-macros.h: Remove file.
13735 * sysdeps/generic/stackguard-macros.h: New file.
13736 * sysdeps/i386/stackguard-macros.h: Likewise.
13737 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13738 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13739 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13740 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13741 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13742 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13743 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13744 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13745 <elf/stackguard-macros.h>.
13748 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13749 __aligned__ in attribute.
13750 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13751 (gregset_t): Likewise.
13753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13755 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13756 * sysdeps/x86_64/64/Implies-after: Here. New file.
13757 * sysdeps/x86_64/x32/Implies-after: New file.
13759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13761 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13762 and access return value for _dl_profile_fixup. Use R10_LP to
13765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13767 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13771 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13772 * sysdeps/x86_64/x32/sysdep.h: New file.
13774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13776 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13777 * sysdeps/x86_64/setjmp.S: Likewise.
13779 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13781 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13783 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13784 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13785 remove unused global constant.
13787 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13789 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13790 include of <not-cancel.h>.
13792 2012-05-15 Roland McGrath <roland@hack.frob.com>
13794 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13796 2012-05-15 Jeff Law <law@redhat.com>
13797 Andreas Jaeger <aj@suse.de>
13800 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13802 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13803 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13804 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13805 code changing __hst_map_handle.map.
13807 2012-05-15 Roland McGrath <roland@hack.frob.com>
13809 * configure.in (sysnames): Look for Implies-before and Implies-after
13811 * configure: Regenerated.
13813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13815 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13816 8-byte data alignment with LP_SIZE alignment.
13818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13820 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13825 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13829 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13830 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13833 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13837 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13838 (stackinfo_sub_sp): Likewise.
13840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13852 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13857 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13861 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13862 into R11_LP and load __x86_64_shared_cache_size_half into
13865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13867 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13870 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13878 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13879 powerpc32/power7/fpu/s_logb.c via #include.
13880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13881 powerpc32/power7/fpu/s_logbf.c via #include.
13882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13883 powerpc32/power7/fpu/s_logbl.c via #include.
13885 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13887 * README.libm: Remove file.
13889 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13891 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13892 count for x32. Use R*_LP and omit operand-size suffix.
13894 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13896 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13897 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13898 * sysdeps/x86_64/x32/shlib-versions: New file.
13900 2012-05-14 Roland McGrath <roland@hack.frob.com>
13902 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13903 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13904 Use _dl_fatal_printf instead.
13906 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13908 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13909 set if not set by the user. Do not allow for being unset.
13910 * sysdeps/unix/sysv/linux/configure: Regenerated.
13912 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13914 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13915 the `q' suffix from lea and replace .quad with ASM_ADDR.
13917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13920 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13922 (PTR_DEMANGLE): Likewise.
13924 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13926 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13928 (ASM_ADDR): Likewise.
13929 (RAX_LP): Likewise.
13930 (RBP_LP): Likewise.
13931 (RBX_LP): Likewise.
13932 (RCX_LP): Likewise.
13933 (RDI_LP): Likewise.
13934 (RSI_LP): Likewise.
13935 (RSP_LP): Likewise.
13938 (R10_LP): Likewise.
13939 (R10_LP): Likewise.
13940 (R11_LP): Likewise.
13941 (R12_LP): Likewise.
13942 (R13_LP): Likewise.
13943 (R14_LP): Likewise.
13944 (R15_LP): Likewise.
13946 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13948 * sysdeps/x86_64/x32/dl-machine.h: New file.
13950 2012-05-14 Andreas Jaeger <aj@suse.de>
13952 * manual/Makefile (subdir): Remove export of subdir.
13953 (all): Remove target.
13954 (.PHONY): Remove all from list.
13955 (mkinstalldirs): Remove.
13956 (.PHONY): Remove installdirs from list.
13957 ($(inst_infodir)/libc.info): Use make-target-directory.
13958 (installdirs): Remove.
13959 (subdir_%): Remove.
13960 (glibc-targets): Remove.
13963 ($(objpfx)stubs ../po/manual.pot): Remove.
13964 ($(objpfx)stamp%): Remove.
13965 (make-target-directory): Remove.
13966 (subdir_install): Remove.
13967 (routines): Remove.
13974 * manual/.gitignore: Remove, it's not needed anymore.
13975 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13977 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13979 (texis): Renamed to $(objpfx)texis.
13980 (texis-path): New, contains path to generated files.
13981 (chapters.%): Use texis-path for complete path, add extra argument
13983 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13984 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13985 (summary,texi, stamp-summary): Use complete path of
13986 files. Generate files in build dir.
13987 (dir-add.texi): Build in build dir.
13988 (libm-err.texi,stamp-libm-err): Likewise.
13989 (version.texi, stamp-version): Likewise.
13990 (.%c.texi): Likewise.
13991 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13992 (mostlyclean): Remove target.
13993 (realclean): Remove target.
13994 (generated): Add new variable with contents from mostlyclean and
13995 realclean, remove entries duplicated in common-mostlyclean, add
13996 stamp-libm-err and stamp-version.
13997 (generated-dirs): Add libc directory.
13998 ($(inst_infodir)/libc.info): Install files from build dir.
14000 * manual/install.texi (Configuring and compiling): Adjust since
14001 the info files are not part of the tar ball anymore.
14003 2012-05-14 Andreas Jaeger <aj@suse.de>
14005 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14008 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14012 to 2.2.0 where earlier.
14013 * sysdeps/unix/sysv/linux/configure: Regenerated.
14014 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14015 Remove conditional code.
14016 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14017 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14018 Remove conditional code.
14019 [!__NR_lchown]: Likewise.
14020 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14021 [__NR_lchown]: Likewise.
14022 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14023 comment referencing __ASSUME_LCHOWN_SYSCALL.
14024 * sysdeps/unix/sysv/linux/i386/sigaction.c
14025 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14026 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14027 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14028 Remove conditional code.
14029 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14030 (__protocol_available): Remove #if 0 code.
14031 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14033 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14034 * sysdeps/unix/sysv/linux/kernel-features.h
14035 (__ASSUME_GETCWD_SYSCALL): Don't define.
14036 (__ASSUME_REALTIME_SIGNALS): Likewise.
14037 (__ASSUME_PREAD_SYSCALL): Likewise.
14038 (__ASSUME_PWRITE_SYSCALL): Likewise.
14039 (__ASSUME_POLL_SYSCALL): Likewise.
14040 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14041 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14043 (__ASSUME_SIOCGIFNAME): Don't define.
14044 (__ASSUME_MSG_NOSIGNAL): Likewise.
14045 (__ASSUME_SENDFILE): Define unconditionally.
14046 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14047 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14049 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14050 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14051 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14052 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14053 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14054 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14055 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14057 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14060 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14063 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14069 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14072 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14080 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14081 Remove conditional code.
14082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14083 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14084 Remove conditional code.
14085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14086 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14087 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14088 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14089 Remove conditional code.
14090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14091 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14092 Remove conditional code.
14093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14094 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14095 Remove conditional code.
14096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14097 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14098 Remove conditional code.
14099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14100 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14101 Remove conditional code.
14102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14103 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14106 * sysdeps/unix/sysv/linux/sigaction.c
14107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14109 * sysdeps/unix/sysv/linux/sigpending.c
14110 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14111 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14112 * sysdeps/unix/sysv/linux/sigprocmask.c
14113 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14114 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14115 * sysdeps/unix/sysv/linux/sigsuspend.c
14116 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14117 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14118 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14119 (__libc_missing_rt_sigs): Remove.
14120 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14121 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14122 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14123 Remove conditional code.
14124 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14125 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14127 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14128 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14129 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14130 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14132 2012-05-14 Andreas Jaeger <aj@suse.de>
14134 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14135 it's not used in glibc.
14136 (__coshm1): Likewise.
14137 (__acosh1p): Likewise.
14140 * manual/string.texi (Copying and Concatenation): Add missing
14141 variable in concat example.
14142 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14148 __builtin_clzl with __builtin_clzll.
14150 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14153 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14156 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14158 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14159 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14160 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14161 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14163 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14165 * NEWS: Update ia64 info.
14167 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14169 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14172 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14174 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14175 * sysdeps/unix/syscalls.list (dup3): Likewise.
14176 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14177 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14179 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14181 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14182 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14184 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14186 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14188 (TLS_IE): Use mov/add instead of movq/addq to load thread
14190 (TLS_GD_PREFIX): New.
14193 2012-05-11 David S. Miller <davem@davemloft.net>
14195 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14196 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14197 (_FPU_SETCW): Likewise.
14199 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14201 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14202 is 32-byte aligned.
14204 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14207 * iconvdata/gb18030.c: Update tables.
14208 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14209 characters specially.
14210 (BODY for TO_LOOP): Add encoding of missing ranges.
14212 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14215 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14216 * sysdeps/mach/hurd/dup3.c: Likewise.
14217 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14218 * sysdeps/powerpc/memmove.c:: Likewise.
14220 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14222 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14223 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14225 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14227 * elf/elf.h (R_X86_64_RELATIVE64): New.
14228 (R_X86_64_NUM): Updated.
14229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14230 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14231 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14232 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14233 tst-quad1pie tst-quad2pie
14234 (modules-names): Add tst-quadmod1 tst-quadmod2.
14235 ($(objpfx)tst-quad1): New dependency.
14236 ($(objpfx)tst-quad2): Likewise.
14237 ($(objpfx)tst-quad1pie): Likewise.
14238 ($(objpfx)tst-quad2pie): Likewise.
14239 * sysdeps/x86_64/tst-quad1.c: New file.
14240 * sysdeps/x86_64/tst-quad1pie.c: New file.
14241 * sysdeps/x86_64/tst-quad2.c: Likewise.
14242 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14243 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14244 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14245 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14246 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14250 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14251 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14252 * streams/stropts.h (t_scalar_t): Define type.
14254 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14255 (_PATH_PRESERVE): Set to "/var/lib".
14256 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14258 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14261 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14262 if __dir_mkfile succeeded.
14264 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14265 checking for _hurd_dtablesize. Unlock it right after having
14266 finished _hurd_dtable allocation.
14268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14270 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14271 * sysdeps/mach/hurd/configure: Regenerated.
14272 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14273 special-casing to...
14274 * sysdeps/gnu/configure.in: ... this new file.
14275 * sysdeps/unix/sysv/linux/configure: Regenerated.
14276 * sysdeps/gnu/configure: New generated file.
14278 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14279 for Linux: use nsec instead of usec, as well as:
14280 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14281 members of type struct timespec.
14282 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14284 (struct stat64): Likewise.
14285 (_STATBUF_ST_NSEC): New macro.
14286 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14288 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14289 __strtoul_internal rather than strtoul.
14291 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14293 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14296 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14298 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14299 which preserves existing values.
14300 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14302 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14304 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14305 TIMEOUT values. Return EINVAL for NFDS values either negative or
14306 greater than FD_SETSIZE.
14308 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14310 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14311 allocated, call __vm_protect to finish enabling the existing space, and
14312 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14313 allocate the remainder.
14315 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14317 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14318 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14320 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14322 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14323 sysdeps/mach/hurd/readlink.c.
14325 * posix/tst-sysconf.c (posix_options): Only use
14326 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14327 _POSIX_SYNCHRONIZED_IO when they are defined
14328 * sysdeps/mach/hurd/bits/posix_opt.h:
14329 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14330 (_XOPEN_REALTIME): Undefine macro.
14331 (_XOPEN_REALTIME_THREADS): Undefine macro.
14332 (_XOPEN_SHM): Undefine macro.
14333 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14335 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14337 (_POSIX_ASYNC_IO): Undefine macro.
14338 (_POSIX_PRIORITIZED_IO): Undefine macro.
14339 (_POSIX_SPIN_LOCKS): Define macro to -1.
14341 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14342 SA_NODEFER, SA_RESETHAND.
14343 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14344 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14347 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14349 * elf/Makefile (pldd-modules): Define unconditionally.
14351 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14353 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14355 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14357 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14358 Return ENOENT when name is empty.
14359 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14361 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14363 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14365 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14367 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14369 Fix mlock in all cases except non-readable pages.
14370 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14371 instead of VM_PROT_ALL as parameter to __vm_wire function.
14373 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14374 (__mkdir): When path is `/', just fail with EEXIST.
14375 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14379 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14380 <sys/uio.h> (for writev).
14381 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14382 and <sys/param.h> (for MIN).
14384 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14386 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14387 REQUESTED_TIME. Properly set the remaining time and return EINTR
14390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14392 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14393 Depend on against $(link-rpcuserlibs).
14395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14397 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14398 (__libc_stack_end): Do not use attribute_relro.
14399 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14400 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14401 to libthread-provided value.
14402 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14405 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14408 * bits/libc-lock.h (__libc_once_get): New macro.
14409 * sysdeps/mach/bits/libc-lock.h: Likewise.
14410 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14412 instead of using implementation details.
14414 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14415 * libio/freopen.c: Likewise.
14416 * libio/freopen64.c: Likewise.
14417 * misc/syslog.c: Likewise.
14418 * nscd/connections.c: Likewise.
14419 * nscd/netgroupcache.c: Likewise.
14420 * sysdeps/posix/getcwd.c: Likewise.
14422 2012-05-10 Roland McGrath <roland@hack.frob.com>
14424 * math/w_ilogbf.c: Add #include <limits.h>.
14426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14428 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14429 path instead of returning without unlocking.
14431 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14432 immediate-write ioctls.
14433 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14437 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14438 __builtin_frame_address instead of making assumptions about the
14439 location of the return address relative to DATA. Force early load of
14440 the return address.
14441 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14442 __builtin_frame_address.
14445 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14446 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14447 implement dup3 and do some further code clean-ups.
14448 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14449 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14453 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14455 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14456 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14457 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14458 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14459 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14462 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14463 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14464 when handler == SIG_ERR, not when handler != SIG_ERR.
14466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14468 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14469 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14472 accept4 for GNU Hurd.
14473 * include/sys/socket.h (__libc_accept4): New prototype.
14474 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14475 to implement __libc_accept4.
14476 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14478 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14480 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14481 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14482 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14483 signal-defines.sym.
14485 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14487 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14491 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14492 assertion on O_CLOEXEC flag.
14493 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14494 * hurd/intern-fd.c: Likewise.
14495 * hurd/port2fd.c: Likewise.
14497 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14500 * bits/in.h (IPV6_PKTINFO): Define new macro.
14501 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14503 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14508 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14510 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14511 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14513 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14514 * math/libm-test.inc (logb_test) : Additional logb tests.
14516 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14517 Andreas Jaeger <aj@suse.de>
14519 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14520 * configure: Regenerated.
14521 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14522 * config.make.in (link-obsolete-rpc): New substituted variable.
14523 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14524 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14525 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14526 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14527 so that libc.a contains the symbols.
14528 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14529 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14530 * sunrpc/auth_none.c: Likewise.
14531 * sunrpc/auth_unix.c: Likewise.
14532 * sunrpc/authdes_prot.c: Likewise.
14533 * sunrpc/authuxprot.c: Likewise.
14534 * sunrpc/clnt_gen.c: Likewise.
14535 * sunrpc/clnt_perr.c: Likewise.
14536 * sunrpc/clnt_raw.c: Likewise.
14537 * sunrpc/clnt_simp.c: Likewise.
14538 * sunrpc/clnt_tcp.c: Likewise.
14539 * sunrpc/clnt_udp.c: Likewise.
14540 * sunrpc/clnt_unix.c: Likewise.
14541 * sunrpc/des_crypt.c: Likewise.
14542 * sunrpc/des_soft.c: Likewise.
14543 * sunrpc/get_myaddr.c: Likewise.
14544 * sunrpc/key_call.c: Likewise.
14545 * sunrpc/key_prot.c: Likewise.
14546 * sunrpc/netname.c: Likewise.
14547 * sunrpc/pm_getmaps.c: Likewise.
14548 * sunrpc/pm_getport.c: Likewise.
14549 * sunrpc/pmap_clnt.c: Likewise.
14550 * sunrpc/pmap_prot.c: Likewise.
14551 * sunrpc/pmap_prot2.c: Likewise.
14552 * sunrpc/pmap_rmt.c: Likewise.
14553 * sunrpc/publickey.c: Likewise.
14554 * sunrpc/rpc_cmsg.c: Likewise.
14555 * sunrpc/rpc_common.c: Likewise.
14556 * sunrpc/rpc_dtable.c: Likewise.
14557 * sunrpc/rpc_prot.c: Likewise.
14558 * sunrpc/rpc_thread.c: Likewise.
14559 * sunrpc/rtime.c: Likewise.
14560 * sunrpc/svc.c: Likewise.
14561 * sunrpc/svc_auth.c: Likewise.
14562 * sunrpc/svc_raw.c: Likewise.
14563 * sunrpc/svc_run.c: Likewise.
14564 * sunrpc/svc_tcp.c: Likewise.
14565 * sunrpc/svc_udp.c: Likewise.
14566 * sunrpc/svc_unix.c: Likewise.
14567 * sunrpc/svcauth_des.c: Likewise.
14568 * sunrpc/xcrypt.c: Likewise.
14569 * sunrpc/xdr.c: Likewise.
14570 * sunrpc/xdr_array.c: Likewise.
14571 * sunrpc/xdr_float.c: Likewise.
14572 * sunrpc/xdr_intXX_t.c: Likewise.
14573 * sunrpc/xdr_mem.c: Likewise.
14574 * sunrpc/xdr_rec.c: Likewise.
14575 * sunrpc/xdr_ref.c: Likewise.
14576 * sunrpc/xdr_sizeof.c: Likewise.
14577 * sunrpc/xdr_stdio.c: Likewise.
14579 2012-05-10 Roland McGrath <roland@hack.frob.com>
14581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14582 change. Update copyright years.
14584 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14586 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14588 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14589 Joseph Myers <joseph@codesourcery.com>
14590 Paul Pluzhnikov <ppluzhnikov@google.com>
14593 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14595 [cross-compiling] (extra-libs): Likewise.
14596 [cross-compiling] (extra-libs-others): Likewise.
14597 [cross-compiling] (librpcsvc-routines): Likewise.
14598 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14599 [cross-compiling] (omit-deps): Likewise.
14600 (sunrpc-CPPFLAGS): New variable.
14601 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14602 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14603 (cross-rpcgen-objs): New variable.
14604 (extra-objs): Append $(cross-rpcgen-objs).
14605 ($(cross-rpcgen-objs)): New rule.
14606 ($(objpfx)cross-rpcgen): Likewise.
14607 (rpcgen-cmd): Define to use $(built-program-file). Expand
14609 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14610 ($(objpfx)x%.stmp): Likewise.
14611 * sunrpc/proto.h [IS_IN_build] (_): Define.
14612 [IS_IN_build] (_libc_intl_domainname): Likewise.
14614 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14617 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14618 and R_X86_64_TPOFF64.
14620 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14622 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14623 sysdeps/unix/sysv/syscalls.list.
14626 * sysdeps/unix/sysv/syscalls.list: Remove file.
14628 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14631 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14632 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14633 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14634 (__LC_IDENTIFICATION): Make these macros useful in #if
14635 expressions, as required by C99.
14637 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14639 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14640 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14643 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14645 * stdlib/longlong.h: Updated from GCC.
14647 2012-05-09 Andreas Jaeger <aj@suse.de>
14649 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14650 default is first entry.
14651 (run_mode): Set type.
14652 (main): Remove informal message about syslog.
14653 (options): Fix typo.
14656 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14659 (llrintf): Likewise.
14660 (llrint): Likewise.
14663 (nearbyint): Likewise.
14664 (nearbyintf): Likewise.
14666 2012-05-09 Andreas Jaeger <aj@suse.de>
14667 Pedro Alves <palves@redhat.com>
14669 * nscd/nscd.c (run_mode): Use enum.
14670 (main): Cleanup coding style issue.
14672 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14673 Andreas Jaeger <aj@suse.de>
14675 * nscd/nscd.c (go_background): Replaced with...
14676 (run_mode): ... this.
14677 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14678 (options): Add -F --foreground.
14679 (main): Implement it.
14680 (parse_opt): Parse it.
14682 2012-05-09 Andreas Jaeger <aj@suse.de>
14685 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14686 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14687 -Wconversion warning.
14688 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14691 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14693 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14695 (LC_ALL): Use macro-int-constant.
14696 (LC_COLLATE): Likewise.
14697 (LC_CTYPE): Likewise.
14698 (LC_MESSAGES): Likewise.
14699 (LC_MONETARY): Likewise.
14700 (LC_NUMERIC): Likewise.
14701 (LC_TIME): Likewise.
14702 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14703 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14705 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14707 [C99-based standards] (float_t): Expect type.
14708 [C99-based standards] (double_t): Expect type.
14709 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14711 [C99-based standards] (HUGE_VALL): Likewise.
14712 [C99-based standards] (INFINITY): Likewise.
14713 [C99-based standards] (NAN): Likewise.
14714 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14715 [C99-based standards] (FP_NAN): Likewise.
14716 [C99-based standards] (FP_NORMAL): Likewise.
14717 [C99-based standards] (FP_SUBNORMAL): Likewise.
14718 [C99-based standards] (FP_ZERO): Likewise.
14719 [C99-based standards] (FP_FAST_FMA): Use
14720 optional-macro-int-constant. Specify type. Require == 1.
14721 [C99-based standards] (FP_FAST_FMAF): Likewise.
14722 [C99-based standards] (FP_FAST_FMAL): Likewise.
14723 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14724 [C99-based standards] (FP_ILOGBNAN): Likewise.
14725 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14727 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14728 [C99-based standards] (math_errhandling): Specify type.
14729 [ISO99 || ISO11] (signgam): Do not allow.
14730 [non-C99-based standards] (copysignf): Do not allow.
14731 [non-C99-based standards] (exp2f): Likewise.
14732 [non-C99-based standards] (log2f): Likewise.
14733 [non-C99-based standards] (modff): Allow.
14734 [non-C99-based standards] (erff): Do not allow.
14735 [non-C99-based standards] (erfcf): Likewise.
14736 [non-C99-based standards] (gammaf): Likewise.
14737 [non-C99-based standards] (hypotf): Likewise.
14738 [non-C99-based standards] (j0f): Likewise.
14739 [non-C99-based standards] (j1f): Likewise.
14740 [non-C99-based standards] (jnf): Likewise.
14741 [non-C99-based standards] (lgammaf): Likewise.
14742 [non-C99-based standards] (tgammaf): Likewise.
14743 [non-C99-based standards] (y0f): Likewise.
14744 [non-C99-based standards] (y1f): Likewise.
14745 [non-C99-based standards] (ynf): Likewise.
14746 [non-C99-based standards] (isnanf): Likewise.
14747 [non-C99-based standards] (acoshf): Likewise.
14748 [non-C99-based standards] (asinhf): Likewise.
14749 [non-C99-based standards] (atanhf): Likewise.
14750 [non-C99-based standards] (cbrtf): Likewise.
14751 [non-C99-based standards] (expm1f): Likewise.
14752 [non-C99-based standards] (ilogbf): Likewise.
14753 [non-C99-based standards] (log1pf): Likewise.
14754 [non-C99-based standards] (logbf): Likewise.
14755 [non-C99-based standards] (nextafterf): Likewise.
14756 [non-C99-based standards] (remainderf): Likewise.
14757 [non-C99-based standards] (rintf): Likewise.
14758 [non-C99-based standards] (scalbf): Likewise.
14759 [non-C99-based standards] (copysignl): Likewise.
14760 [non-C99-based standards] (exp2l): Likewise.
14761 [non-C99-based standards] (log2l): Likewise.
14762 [non-C99-based standards] (modfl): Allow.
14763 [non-C99-based standards] (erfl): Do not allow.
14764 [non-C99-based standards] (erfcl): Likewise.
14765 [non-C99-based standards] (gammal): Likewise.
14766 [non-C99-based standards] (hypotl): Likewise.
14767 [non-C99-based standards] (j0l): Likewise.
14768 [non-C99-based standards] (j1l): Likewise.
14769 [non-C99-based standards] (jnl): Likewise.
14770 [non-C99-based standards] (lgammal): Likewise.
14771 [non-C99-based standards] (tgammal): Likewise.
14772 [non-C99-based standards] (y0l): Likewise.
14773 [non-C99-based standards] (y1l): Likewise.
14774 [non-C99-based standards] (ynl): Likewise.
14775 [non-C99-based standards] (isnanl): Likewise.
14776 [non-C99-based standards] (acoshl): Likewise.
14777 [non-C99-based standards] (asinhl): Likewise.
14778 [non-C99-based standards] (atanhl): Likewise.
14779 [non-C99-based standards] (cbrtl): Likewise.
14780 [non-C99-based standards] (expm1l): Likewise.
14781 [non-C99-based standards] (ilogbl): Likewise.
14782 [non-C99-based standards] (log1pl): Likewise.
14783 [non-C99-based standards] (logbl): Likewise.
14784 [non-C99-based standards] (nextafterl): Likewise.
14785 [non-C99-based standards] (remainderl): Likewise.
14786 [non-C99-based standards] (rintl): Likewise.
14787 [non-C99-based standards] (scalbl): Likewise.
14788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14789 [non-C99-based standards] (FP_*): Do not allow.
14790 [C99-based standards] (FP_*): Change to
14791 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14792 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14794 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14795 (SIG_ERR): Likewise.
14796 [X/Open-based standards] (SIG_HOLD): Likewise.
14797 (SIG_IGN): Likewise.
14798 (SIGABRT): Use macro-int-constant. Specify type. Require
14800 (SIGFPE): Likewise.
14801 (SIGILL): Likewise.
14802 (SIGINT): Likewise.
14803 (SIGSEGV): Likewise.
14804 (SIGTER): Likewise.
14805 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14806 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14807 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14808 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14809 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14810 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14811 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14812 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14813 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14814 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14815 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14816 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14817 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14818 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14819 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14820 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14821 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14822 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14823 [X/Open-based standards] (SIGTRAP): Likewise.
14824 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14825 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14826 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14828 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14831 2012-05-08 Ian Wienand <ianw@vmware.com>
14834 * time/tzset.c (__tzset_parse_tz): Update default rules for
14835 daylight time changes in the Energy Policy Act of 2005.
14837 2012-05-09 Andreas Jaeger <aj@suse.de>
14840 * elf/ldconfig.c (parse_conf): Change string to make clear that
14841 ldconfig only issued a warning if ld.so.conf does not exist.
14843 2012-05-08 David S. Miller <davem@davemloft.net>
14845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14846 movxtod instead of popping the value on the stack.
14848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14850 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14852 * config.h.in: Add HAVE_ARM_PCS_VFP.
14854 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14857 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14858 checking but the checks are disabled for any reason.
14860 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14862 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14863 and ELF64_R_TYPE with ELFW(R_TYPE).
14865 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14867 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14868 (ulimit): Likewise.
14870 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14871 (settimeofday): Likewise.
14873 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14875 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14876 a struct th_u2 inside the union, and move tu_block/tu_code into
14877 a new th_u3 union of tu_block/tu_code inside of that. Move
14878 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14879 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14880 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14881 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14882 (th_stuff): Change to th_u1.tu_stuff.
14884 (th_msg): Change to th_u1.th_u2.tu_data.
14886 2012-05-07 David S. Miller <davem@davemloft.net>
14888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14891 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14892 (SETUP_PIC_REG): Use it.
14893 (SETUP_PIC_REG_LEAF): Use it.
14895 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14899 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14901 (EXPL_FINITE): Likewise.
14902 (FLDLOG): Likewise.
14903 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14904 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14906 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14908 (EXPL_FINITE): Likewise.
14909 (FLDLOG): Likewise.
14910 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14911 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14913 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14914 test of -max_value argument for long double.
14915 * sysdeps/i386/fpu/libm-test-ulps: Update.
14916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14918 2012-05-06 David S. Miller <davem@davemloft.net>
14920 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14921 quad soft-float symbols whose references which are compiler
14923 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14925 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14929 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14931 (EXPL_FINITE): Likewise.
14932 (FLDLOG): Likewise.
14935 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14936 Adjust comments for base varying.
14937 (__expl_finite): Change alias to EXPL_FINITE.
14938 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14940 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14941 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14943 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14944 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14946 (EXPL_FINITE): Likewise.
14947 (FLDLOG): Likewise.
14950 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14951 Adjust comments for base varying.
14952 (__expl_finite): Change alias to EXPL_FINITE.
14953 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14958 * math/libm-test.inc (check_float_internal): Correct ulp
14959 calculation for subnormal expected results.
14961 2012-05-06 Andreas Jaeger <aj@suse.de>
14963 * Makeconfig (+math-flags): New, set to -frounding-math.
14964 (+cflags): Add +math-flags so that all of glibc gets compiled with
14967 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14969 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14971 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14977 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14978 (__ieee754_expl): Allow for and saturate large arguments.
14979 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14980 (u_threshold): Likewise.
14981 (__exp): Call __ieee754_exp before checking for overflow and
14983 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14984 (u_threshold): Likewise.
14985 (__expf): Call __ieee754_expf before checking for overflow and
14987 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14988 (u_threshold): Likewise.
14989 (__expl): Call __ieee754_expl before checking for overflow and
14991 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14992 (__ieee754_expl): Allow for and saturate large arguments.
14993 * math/libm-test.inc (exp_test): Add another test. Do not allow
14994 missing overflow exception on overflow.
14995 (expm1_test): Do not allow missing overflow exception on overflow.
14997 * sysdeps/i386/fpu/e_expl.c: Move to ...
14998 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14999 rather than using inline asm.
15000 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15001 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15002 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15004 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15007 (signal): Likewise.
15011 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15013 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15014 sysdeps/unix/common/syscalls.list.
15015 (fchmod): Likewise.
15016 (fchown): Likewise.
15017 (ftruncate): Likewise.
15018 (getrusage): Likewise.
15019 (gettimeofday): Likewise.
15020 (setpgid): Likewise.
15021 (setregid): Likewise.
15022 (setreuid): Likewise.
15023 (sigaction): Likewise.
15024 (truncate): Likewise.
15025 (vhangup): Likewise.
15026 * sysdeps/unix/common/syscalls.list: Remove file.
15027 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15028 * sysdeps/unix/sysv/linux/Implies: Likewise.
15030 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15032 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15034 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15038 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15041 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15044 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15047 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15050 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15053 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15056 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15060 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15064 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15067 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15071 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15075 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15077 * sysdeps/unix/common/bits/dirent.h: Remove file.
15078 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15080 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15081 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15082 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15083 * sysdeps/unix/bsd/isatty.c: Likewise.
15084 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15085 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15086 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15088 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15092 long double comparison inaccuracies.
15093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15096 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15098 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15099 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15101 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15105 nonzero digits before rounding a hex value.
15106 * stdlib/tst-strtod.c (tests): Add another test.
15108 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15110 * sysdeps/s390/fpu/libm-test-ulps: Update.
15112 2012-05-03 Andreas Jaeger <aj@suse.de>
15114 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15115 does not get optimized out.
15116 (malloc_opt_barrier): New.
15118 2012-05-03 Andreas Jaeger <aj@suse.de>
15119 Roland McGrath <roland@hack.frob.com>
15121 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15122 intermediate file deletion.
15123 (generated): Add .symlist files.
15125 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15128 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15129 Redirect under this condition.
15130 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15131 [__USE_GNU] (__dprintf_chk): Not under this condition.
15132 [__USE_GNU] (__vdprintf_chk): Likewise.
15133 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15134 under this condition.
15135 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15136 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15137 [__USE_XOPEN2K8] (vdprintf): Likewise.
15138 [__USE_GNU] (__dprintf_chk): Not under this condition.
15139 [__USE_GNU] (__vdprintf_chk): Likewise.
15140 [__USE_GNU] (dprintf): Likewise.
15141 [__USE_GNU] (vdprintf): Likewise.
15143 2012-05-03 Roland McGrath <roland@hack.frob.com>
15145 * elf/Makefile (common-generated): Set this instead of generated for
15146 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15147 $(all-built-dso)-derived lists.
15149 2012-05-03 Andreas Jaeger <aj@suse.de>
15151 * sysdeps/i386/fpu/libm-test-ulps: Update.
15154 * FAQ.in: Likewise.
15155 * scripts/gen-FAQ.pl: Likewise.
15156 * manual/install.texi (Installation): Point to online location of
15158 * Makefile (files-for-dist): Remove FAQ.
15161 2012-05-02 Allan McRae <allan@archlinux.org>
15163 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15164 (LDFLAGS-reldepmod5.so): Likewise.
15165 (LDFLAGS-reldep6mod1.so): Likewise.
15166 (LDFLAGS-reldep6mod4.so): Likewise.
15167 (LDFLAGS-reldep8mod3.so): Likewise.
15168 (LDFLAGS-unload4mod1.so): Likewise.
15169 (LDFLAGS-unload4mod2.so): Likewise.
15170 (LDFLAGS-tst-initorder): Likewise.
15171 (LDFLAGS-tst-initordera2.so): Likewise.
15172 (LDFLAGS-tst-initordera3.so): Likewise.
15173 (LDFLAGS-tst-initordera4.so): Likewise.
15174 (LDFLAGS-tst-initorderb2.so): Likewise.
15175 (LDFLAGS-noload): Likewise.
15176 (LDFLAGS-next): Likewise.
15177 (LDFLAGS-order2mod1.so): Likewise.
15178 (LDFLAGS-order2mod2.so): Likewise.
15179 (LDFLAGS-tst-initorder2): Likewise.
15180 (LDFLAGS-tst-initorder2a.so): Likewise.
15181 (LDFLAGS-tst-initorder2b.so): Likewise.
15182 (LDFLAGS-tst-initorder2c.so): Likewise.
15183 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15185 2012-05-02 David S. Miller <davem@davemloft.net>
15187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15189 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15192 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15194 2012-05-02 Andreas Jaeger <aj@suse.de>
15196 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15197 since we manipulate rounding mode.
15198 (CPPFLAGS-test-idouble.c): Likewise.
15199 (CPPFLAGS-test-ifloat.c): Likewise.
15200 (CFLAGS-test-ldouble.c): Likewise.
15201 (CFLAGS-test-double.c): Likewise.
15202 (CFLAGS-test-float.c): Likewise.
15203 (CFLAGS-test-misc.c): Likewise.
15204 (CFLAGS-test-test-fenv.c): Likewise.
15206 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15211 comparisons to determine direction to adjust input.
15213 2012-05-01 Roland McGrath <roland@hack.frob.com>
15215 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15216 output to the target.
15218 * scripts/localplt.awk: New file.
15219 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15220 (check-localplt-CFLAGS): Variable removed.
15221 ($(all-built-dso:=.jmprel)): New static pattern rule.
15222 (generated): Add those targets.
15223 (localplt-built-dso): New variable.
15224 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15226 * elf/check-localplt.c: File removed.
15228 * scripts/check-execstack.awk: New file.
15229 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15230 (check-execstack-CFLAGS): Variable removed.
15231 ($(objpfx)check-execstack.h): Target removed.
15232 ($(objpfx)execstack-default): New target.
15233 (generated): Add that instead of check-execstack.h.
15234 ($(all-built-dso:=.phdr)): New static pattern rule.
15235 (generated): Add those targets.
15236 * elf/check-execstack.c: File removed.
15238 * scripts/check-textrel.awk: New file.
15239 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15240 (check-textrel-CFLAGS): Variable removed.
15241 (all-built-dso): Use := to define.o
15242 ($(all-built-dso:=.dyn)): New static pattern rule.
15243 (generated): Add those targets.
15244 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15245 * config.make.in (READELF): New substituted variable.
15246 * elf/check-textrel.c: File removed.
15248 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15250 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15252 * conform/data/ctype.h-data [C99-based standards] (isblank):
15254 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15255 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15257 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15258 Specify type. Require positive value.
15259 (EILSEQ): Likewise.
15260 (ERANGE): Likewise.
15261 [ISO || POSIX] (EILSEQ): Do not expect.
15262 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15263 Specify type. Require positive value.
15264 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15265 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15266 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15267 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15268 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15269 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15270 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15271 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15272 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15273 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15274 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15275 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15276 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15277 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15278 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15279 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15280 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15281 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15282 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15283 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15284 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15285 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15286 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15287 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15288 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15289 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15290 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15291 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15292 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15293 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15294 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15295 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15296 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15297 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15298 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15299 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15300 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15301 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15302 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15303 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15304 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15305 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15306 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15307 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15308 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15309 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15310 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15311 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15312 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15313 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15314 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15315 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15316 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15317 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15318 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15319 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15320 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15321 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15322 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15323 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15324 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15325 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15326 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15327 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15328 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15329 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15330 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15331 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15332 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15333 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15334 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15335 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15336 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15337 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15338 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15339 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15340 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15342 (FLT_ROUNDS): Expect as macro, not constant.
15343 (FLT_MANT_DIG): Use macro-int-constant.
15344 (DBL_MANT_DIG): Likewise.
15345 (LDBL_MANT_DIG): Likewise.
15346 (FLT_DIG): Likewise.
15347 (DBL_DIG): Likewise.
15348 (LDBL_DIG): Likewise.
15349 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15350 (DBL_MIN_EXP): Likewise.
15351 (LDBL_MIN_EXP): Likewise.
15352 (FLT_MAX_EXP): Use macro-int-constant.
15353 (DBL_MAX_EXP): Likewise.
15354 (LDBL_MAX_EXP): Likewise.
15355 (FLT_MAX_10_EXP): Likewise.
15356 (DBL_MAX_10_EXP): Likewise.
15357 (LDBL_MAX_10_EXP): Likewise.
15358 (FLT_MAX): Use macro-constant.
15359 (DBL_MAX): Likewise.
15360 (LDBL_MAX): Likewise.
15361 (FLT_EPSILON): Use macro-constant. Give upper bound.
15362 (DBL_EPSILON): Likewise.
15363 (LDBL_EPSILON): Likewise.
15364 (FLT_MIN): Likewise.
15365 (DBL_MIN): Likewise.
15366 (LDBL_MIN): Likewise.
15367 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15368 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15369 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15370 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15371 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15372 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15373 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15374 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15375 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15376 [ISO11] (FLT_TRUE_MIN): Likewise.
15377 [ISO11] (LDBL_TRUE_MIN): Likewise.
15378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15379 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15380 (SCHAR_MIN): Use macro-int-constant. Specify type.
15381 (SCHAR_MAX): Likewise.
15382 (UCHAR_MAX): Likewise.
15383 (CHAR_MIN): Likewise.
15384 (CHAR_MAX): Likewise.
15385 (MB_LEN_MAX): Use macro-int-constant.
15386 (SHRT_MIN): Use macro-int-constant. Specify type.
15387 (SHRT_MAX): Likewise.
15388 (USHRT_MAX): Likewise.
15389 (INT_MAX): Likewise.
15390 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15392 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15394 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15396 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15397 bound negative. Suffix upper bound with "L".
15398 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15400 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15402 [C99-based standards] (LLONG_MAX): Likewise.
15403 [C99-based standards] (ULLONG_MAX): Likewise.
15404 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15406 [ISO11] (max_align_t): Require type.
15407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15409 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15410 from $CFLAGS, without defining away __attribute__ calls.
15411 (checknamespace): Use $CFLAGS_namespace.
15413 * conform/conformtest.pl (@keywords): Only include C99 keywords
15414 for standards based on C99 or C11.
15416 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15418 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15421 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15422 usability of symbols in #if.
15424 * conform/conformtest.pl: If macro or constant types start
15425 "promoted:", expect the symbol to be of the following type
15426 promoted by the integer promotions.
15428 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15429 in one place. Also handle "macro-constant".
15431 * conform/conformtest.pl: Only accept expected macro values with
15432 "==". Parse all "macro" lines in one place.
15433 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15435 * conform/conformtest.pl: Handle braced types on "constant" lines
15436 instead of handling "typed-constant".
15437 * conform/data/signal.h-data: Use "constant" instead of
15440 * conform/conformtest.pl: Handle "optional-" at start of lines in
15441 one place rather than duplicating several cases. Handle each
15442 format of "macro" line with initial "optional-".
15444 * conform/conformtest.pl: Only accept expected constant or
15445 optional-constant values with "==". Parse all "constant" lines in
15446 one place. Parse all "optional-constant" lines in one place.
15447 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15448 * conform/data/fmtmsg.h-data: Likewise.
15449 * conform/data/netinet/in.h-data: Likewise.
15450 * conform/data/tar.h-data: Likewise.
15451 * conform/data/limits.h-data: Use "==" form on "constant" and
15452 "optional-constant" lines.
15454 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15455 Use -std=c99 for XOPEN2K.
15456 (@knownproblems): Remove.
15457 (newtoken): Don't check %isknown.
15459 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15460 Do not expect macro.
15461 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15462 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15463 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15464 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15465 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15466 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15467 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15468 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15469 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15470 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15471 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15472 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15473 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15474 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15475 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15476 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15477 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15478 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15479 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15480 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15481 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15482 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15483 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15485 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15486 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15487 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15488 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15489 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15490 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15491 [XPG3] (acosh): Likewise.
15492 [XPG3] (asinh): Likewise.
15493 [XPG3] (atanh): Likewise.
15494 [XPG3] (cbrt): Likewise.
15495 [XPG3] (expm1): Likewise.
15496 [XPG3] (ilogb): Likewise.
15497 [XPG3] (log1p): Likewise.
15498 [XPG3] (logb): Likewise.
15499 [XPG3] (nextafter): Likewise.
15500 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15501 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15502 [XPG3] (remainder): Likewise.
15503 [XPG3] (rint): Likewise.
15504 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15505 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15506 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15507 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15508 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15509 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15510 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15511 [UNIX98 || XOPEN2K] (scalb): Expect.
15512 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15513 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15514 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15515 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15516 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15517 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15518 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15519 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15520 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15521 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15522 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15523 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15524 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15525 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15526 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15527 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15528 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15529 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15530 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15531 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15532 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15533 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15534 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15535 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15536 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15537 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15538 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15539 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15540 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15541 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15542 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15543 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15544 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15545 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15546 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15547 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15548 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15549 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15550 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15551 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15552 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15553 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15554 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15555 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15556 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15557 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15558 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15559 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15560 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15561 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15562 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15563 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15564 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15565 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15566 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15567 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15568 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15569 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15570 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15571 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15572 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15573 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15574 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15575 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15576 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15577 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15578 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15579 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15580 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15581 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15582 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15583 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15584 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15585 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15586 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15587 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15588 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15589 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15590 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15591 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15592 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15593 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15594 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15595 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15596 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15597 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15598 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15599 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15600 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15601 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15602 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15603 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15604 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15605 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15606 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15607 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15608 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15609 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15610 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15611 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15612 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15613 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15614 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15615 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15616 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15617 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15618 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15619 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15620 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15621 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15622 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15623 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15624 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15625 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15626 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15627 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15628 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15629 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15630 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15631 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15632 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15633 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15634 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15635 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15636 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15637 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15638 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15639 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15640 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15641 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15642 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15643 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15644 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15645 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15646 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15647 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15648 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15650 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15651 _XOPEN_SOURCE_EXTENDED for XPG4.
15653 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15655 * Makeconfig (localtime): Remove variable.
15656 (inst_localtime-file): Likewise.
15658 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15679 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15683 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15684 comparisons to determine direction to adjust input.
15685 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15686 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15689 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15693 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15694 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15696 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15698 * math/libm-test.inc (nexttoward_test): Add more tests.
15700 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15703 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15704 in version GLIBC_2.1, not GLIBC_2.0.
15705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15708 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15711 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15713 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15714 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15715 * math/libm-test.inc (acos_test): Add more tests.
15716 (asin_test): Likewise.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15721 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15723 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15724 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15725 * math/libm-test.inc (acos_test_tonearest): New function.
15726 (acos_test_towardzero): Likewise.
15727 (acos_test_downward): Likewise.
15728 (acos_test_upward): Likewise.
15729 (asin_test_tonearest): Likewise.
15730 (asin_test_towardzero): Likewise.
15731 (asin_test_downward): Likewise.
15732 (asin_test_upward): Likewise.
15733 (main): Call the new functions.
15734 * sysdeps/i386/fpu/libm-test-ulps: Update.
15735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15739 * math/e_exp10.c: Include <float.h>.
15740 (__ieee754_exp10): Handle underflow here rather than multiplying
15741 large negative argument by M_LN10.
15742 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15744 * math/e_exp10l.c: Include <float.h>.
15745 (__ieee754_exp10l): Handle underflow here rather than multiplying
15746 large negative argument by M_LN10l.
15747 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15748 spurious overflow exception on underflow.
15750 2012-04-29 Marek Polacek <polacek@redhat.com>
15752 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15753 (__fortify_function): New macro.
15754 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15755 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15756 __extern_always_inline.
15757 * libio/bits/stdio2.h: Likewise.
15758 * libio/bits/stdio.h: Likewise.
15759 * string/string.h: Likewise.
15760 * string/bits/string3.h: Likewise.
15761 * include/stdio.h: Likewise.
15762 * stdlib/bits/stdlib.h: Likewise.
15763 * stdlib/stdlib.h: Likewise.
15764 * rt/bits/mqueue2.h: Likewise.
15765 * rt/mqueue.h: Likewise.
15766 * posix/bits/unistd.h: Likewise.
15767 * posix/unistd.h: Likewise.
15768 * io/bits/poll2.h: Likewise.
15769 * io/bits/fcntl2.h: Likewise.
15770 * io/fcntl.h: Likewise.
15771 * io/sys/poll.h: Likewise.
15772 * misc/bits/syslog.h: Likewise.
15773 * misc/bits/syslog-ldbl.h: Likewise.
15774 * misc/sys/syslog.h: Likewise.
15775 * socket/bits/socket2.h: Likewise.
15776 * socket/sys/socket.h: Likewise.
15777 * debug/tst-chk1.c: Likewise.
15778 * wcsmbs/bits/wchar2.h: Likewise.
15779 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15780 * wcsmbs/wchar.h: Likewise.
15782 2012-04-29 Andreas Jaeger <aj@suse.de>
15784 * Makerules (tests): Remove enable-check-abi protection.
15785 (check-abi-warn): Remove.
15786 (check-abi-%): Remove check-abi-warn usage.
15788 * configure.in: Remove check-abi configure option.
15789 * configure: Regenerated.
15790 * config.make.in (enable-check-abi): Remove.
15792 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15795 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15796 double functions to double *_finite functions.
15799 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15800 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15802 * stdio-common/Makefile (tests): Add tst-sprintf3.
15803 * stdio-common/tst-sprintf3.c: New file.
15805 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15806 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15808 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15810 * conform/conformtest.pl: Remove duplicate typed-constant
15813 2012-04-28 David S. Miller <davem@davemloft.net>
15815 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15816 (check-abi-%): Remove AWK script prerequisite and explicit
15818 (check-abi): Rewrite to just diff the symlist with the abilist.
15819 (config-tls, config-abi-config): Delete, no longer used.
15820 (update-abi-%): Remove AWK script and explicit abilist directory.
15821 (update-abi): Rewrite to simply compare and conditionally copy the
15822 symlist and the sysdep abilist file. Remove update-abi-config
15824 * abilist/ld.abilist: Remove.
15825 * abilist/libBrokenLocale.abilist: Remove.
15826 * abilist/libanl.abilist: Remove.
15827 * abilist/libcrypt.abilist: Remove.
15828 * abilist/libdl.abilist: Remove.
15829 * abilist/librt.abilist: Remove.
15830 * abilist/libthread_db.abilist: Remove.
15831 * abilist/libutil.abilist: Remove.
15832 * scripts/extract-abilist.awk: Remove.
15833 * scripts/merge-abilist.awk: Remove.
15834 * sysdeps/generic/libcidn.abilist: New file.
15835 * sysdeps/generic/libnss_compat.abilist: New file.
15836 * sysdeps/generic/libnss_db.abilist: New file.
15837 * sysdeps/generic/libnss_dns.abilist: New file.
15838 * sysdeps/generic/libnss_files.abilist: New file.
15839 * sysdeps/generic/libnss_hesiod.abilist: New file.
15840 * sysdeps/generic/libnss_nis.abilist: New file.
15841 * sysdeps/generic/libnss_nisplus.abilist: New file.
15842 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15843 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15844 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15846 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15847 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15848 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15849 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15850 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15851 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15852 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15853 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15854 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15856 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15857 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15858 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15859 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15861 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15862 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15863 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15864 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15865 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15866 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15868 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15869 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15870 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15872 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15975 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15976 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15977 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15980 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15981 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15982 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15983 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15984 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15985 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15986 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15987 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15988 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16040 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16042 * conform/conformtest.pl: Fix typo in handling typed-constant from
16045 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16047 * README: Cut down references to pre-2.6 Linux kernels and
16048 Linuxthreads. Update lists of configurations in libc and ports
16049 and sort alphabetically. Say "or newer" with Linux kernel version
16052 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16054 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16057 * math/libm-test.inc (logb_test_downward): New test to expose
16058 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16061 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16064 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16066 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16067 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16069 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16071 * sysdeps/unix/i386/brk.S: Remove file.
16072 * sysdeps/unix/i386/dl-brk.S: Likewise.
16073 * sysdeps/unix/i386/pipe.S: Likewise.
16074 * sysdeps/unix/i386/sigreturn.S: Likewise.
16075 * sysdeps/unix/i386/syscall.S: Likewise.
16076 * sysdeps/unix/i386/vfork.S: Likewise.
16077 * sysdeps/unix/i386/wait.S: Likewise.
16079 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16080 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16082 * configure.in (arm*-none*): Do not allow without
16083 --enable-hacker-mode.
16084 (netbsd*): Remove case setting base_os.
16085 (386bsd*): Likewise.
16086 (freebsd*): Likewise.
16089 (sunos*): Likewise.
16090 (ultrix*): Likewise.
16091 (newsos*): Likewise.
16092 (dynix*): Likewise.
16098 (minix*): Likewise.
16099 (irix4*): Likewise.
16100 (irix6*): Likewise.
16101 (solaris[2-9]*): Likewise.
16103 * configure: Regenerated.
16105 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16108 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16109 overflow or cancellation in calculating denominator.
16110 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16112 down expression to avoid unexpected rounding in newer GCCs.
16113 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16115 2012-04-26 David S. Miller <davem@davemloft.net>
16117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16118 long-double compat symbols.
16119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16133 2012-04-25 David S. Miller <davem@davemloft.net>
16135 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16136 HWCAP_* values only after the memory barriers have been defined.
16137 (atomic_full_barrier): Define.
16138 (atomic_read_barrier): Define.
16139 (atomic_write_barrier): Define.
16141 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16143 * shlib-versions: Add libgcc_s version information.
16144 * sysdeps/generic/libgcc_s.h: Remove.
16145 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16147 * sysdeps/gnu/unwind-resume.c: Likewise.
16148 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16150 2012-04-25 David S. Miller <davem@davemloft.net>
16152 * sysdeps/unix/sparc/brk.S: Delete.
16153 * sysdeps/unix/sparc/dl-brk.S: Delete.
16154 * sysdeps/unix/sparc/pipe.S: Delete.
16155 * sysdeps/unix/sparc/sysdep.S: Delete.
16156 * sysdeps/unix/sparc/sysdep.h: Delete.
16157 * sysdeps/unix/sparc/vfork.S: Delete.
16158 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16159 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16160 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16161 ret_ERRVAL, r0, r1, MOVE): Define.
16162 (JUMPTARGET): Remove.
16163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16164 sysdeps/unix/sparc/sysdep.h
16165 (ENTRY, END): Remove.
16166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16168 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16170 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16171 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16174 * timezone/README: Update upstream location and email address for
16176 * timezone/zdump.c: Update from tzcode 2012b.
16177 * timezone/zic.c: Likewise.
16179 * configure.in (libc_cv_as_needed): Remove test.
16180 * configure: Regenerated.
16181 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16182 conditional definition.
16183 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16184 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16185 * config.make.in (have-as-needed): Remove variable.
16187 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16188 Paul Pluzhnikov <ppluzhnikov@google.com>
16190 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16193 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16195 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16196 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16197 * sysdeps/sh/strlen.S: Likewise.
16199 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16201 * sysdeps/unix/fork.S: Remove file.
16202 * sysdeps/unix/i386/fork.S: Likewise.
16203 * sysdeps/unix/sparc/fork.S: Likewise.
16205 * sysdeps/unix/system.c: Remove file.
16206 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16208 * sysdeps/unix/getegid.S: Remove file.
16209 * sysdeps/unix/geteuid.S: Likewise.
16211 2012-04-24 Roland McGrath <roland@hack.frob.com>
16213 * scripts/check-localplt.awk: New file.
16214 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16216 * scripts/data/localplt-generic.data: Add a comment.
16218 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16219 NODE when __dir_mkfile failed.
16220 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16221 Reported by Ludovic Courtès <ludo@gnu.org>.
16223 2012-04-24 Andreas Jaeger <aj@suse.de>
16225 * Makerules (common-clean): Also remove gen-as-const-headers
16228 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16230 * Makerules (native-compile): Do not change working directory for
16231 build. Use $(OUTPUT_OPTION) in command.
16232 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16234 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16237 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16238 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16239 * math/libm-test.inc (floor_test): Add more tests.
16240 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16242 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16244 * sysdeps/unix/getdents.c: Remove file.
16245 * sysdeps/unix/sysv/getdents.c: Likewise.
16246 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16248 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16249 sysdeps/unix/mman/syscalls.list.
16251 (mprotect): Likewise.
16253 (munmap): Likewise.
16254 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16255 * sysdeps/unix/mman/syscalls.list: Remove.
16256 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16258 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16259 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16260 * configure: Regenerated.
16261 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16262 $(libgcc_s_suffix).
16263 * config.make.in (libgcc_s_suffix): Remove variable.
16265 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16267 * sysdeps/unix/sysv/gethostname.c: Move to ...
16268 * sysdeps/posix/gethostname.c: ... here.
16270 * sysdeps/unix/execve.S: Remove file.
16272 * sysdeps/unix/_exit.S: Remove file.
16274 2012-04-23 Andreas Jaeger <aj@suse.de>
16277 * manual/Makefile: Remove make dist support, there's no
16278 need for a stand-alone documentation tar ball.
16279 (TEXI2DVI): Define always, it's not in Makeconfig.
16282 (edition): Removed.
16283 (glibc-doc-$(edition).tar): Removed
16287 (ETAGS): Remove, it's in Makeconfig.
16288 (move-if-change): Remove, it's in Makeconfig.
16290 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16293 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16294 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16295 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16296 (strtod_l, strtof_l, strtold_l): Remove __wur.
16297 It is not necessarily an error to ignore strtol's return value.
16298 One can reliably look at the stored endptr to decide whether
16299 the number had valid syntax.
16301 2012-04-21 Andreas Jaeger <aj@suse.de>
16304 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16306 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16308 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16309 * sysdeps/unix/sysv/Versions: Remove file.
16311 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16316 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16320 version from __vm86.
16322 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16324 * sysdeps/unix/common/lxstat.c: Remove file.
16325 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16327 * sysdeps/unix/sysv/Makefile: Remove file.
16329 * sysdeps/unix/sysv/direct.h: Remove file.
16331 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16332 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16333 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16334 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16335 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16336 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16337 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16339 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16341 * sysdeps/unix/xmknod.c: Remove file.
16342 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16344 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16346 * sysdeps/unix/sysv/i386/time.S: Remove file.
16348 * sysdeps/unix/fxstat.c: Remove file.
16349 * sysdeps/unix/xstat.c: Likewise.
16350 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16352 * sysdeps/unix/sysv/sigaction.c: Remove file.
16354 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16355 (sysdep_headers): Remove variable.
16356 [termio.h not in sysdep_headers] (generated): Likewise.
16357 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16358 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16359 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16360 * sysdeps/unix/sysv/tcflow.c: Likewise.
16361 * sysdeps/unix/sysv/tcflush.c: Likewise.
16362 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16363 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16364 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16365 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16366 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16368 * sysdeps/unix/siglist.c: Remove file.
16370 * sysdeps/unix/getppid.S: Remove file.
16372 * sysdeps/unix/mkdir.c: Remove file.
16373 * sysdeps/unix/rmdir.c: Likewise.
16375 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16377 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16379 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16380 errlist-compat value.
16382 2012-04-18 David S. Miller <davem@davemloft.net>
16384 * sysdeps/generic/memcopy.h (reg_char): Delete.
16385 * debug/strcat_chk.c: Use char, not reg_char.
16386 * debug/strcpy_chk.c: Likewise.
16387 * debug/strncat_chk.c: Likewise.
16388 * debug/strncpy_chk.c: Likewise.
16389 * string/memchr.c: Likewise.
16390 * string/memrchr.c: Likewise.
16391 * string/rawmemchr.c: Likewise.
16392 * string/strcat.c: Likewise.
16393 * string/strchr.c: Likewise.
16394 * string/strchrnul.c: Likewise.
16395 * string/strcmp.c: Likewise.
16396 * string/strcpy.c: Likewise.
16397 * string/strncat.c: Likewise.
16398 * string/strncmp.c: Likewise.
16399 * string/strncpy.c: Likewise.
16401 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16403 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16404 __builtin_memcopy is called when src and dest ranges are known to not
16407 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16409 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16410 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16411 fwd_align_merge macro call.
16412 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16413 bwd_align_merge macro call.
16414 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16416 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16418 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16419 bwd_align_merge macros.
16420 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16421 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16422 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16424 2012-04-18 David S. Miller <davem@davemloft.net>
16426 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16428 2012-04-18 Andreas Jaeger <aj@suse.de>
16431 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16432 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16433 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16435 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16436 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16437 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16439 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16440 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16441 Adjust for changed ldbl-128 files.
16443 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16444 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16445 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16447 2012-04-17 David S. Miller <davem@davemloft.net>
16449 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16451 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16453 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16454 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16455 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16456 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16457 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16458 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16460 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16463 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16464 * math/libm-test.inc: Add ilogb errno and exception tests.
16465 * math/w_ilogb.c: New file: ilogb wrapper.
16466 * math/w_ilogbf.c: New file: ilogbf wrapper.
16467 * math/w_ilogbl.c: New file: ilogbl wrapper.
16468 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16469 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16470 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16471 exception being thrown with 0.0 as argument.
16472 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16473 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16474 exception being thrown with 0.0 as argument.
16475 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16476 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16477 exception being thrown with 0.0 as argument.
16478 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16479 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16480 exception being thrown with 0.0 as argument.
16481 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16482 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16483 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16484 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16485 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16486 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16487 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16488 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16489 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16491 2012-04-17 Petr Baudis <pasky@ucw.cz>
16493 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16496 2012-04-16 Marek Polacek <polacek@redhat.com>
16498 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16500 2012-04-16 Marek Polacek <polacek@redhat.com>
16502 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16503 operands of fdivp instruction.
16505 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16507 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16508 * elf/tst-auditmod3b.c: Likewise.
16509 * elf/tst-auditmod4b.c: Likewise.
16510 * elf/tst-auditmod5b.c: Likewise.
16511 * elf/tst-auditmod6b.c: Likewise.
16512 * elf/tst-auditmod6c.c: Likewise.
16513 * elf/tst-auditmod7b.c: Likewise.
16514 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16515 * sysdeps/x86_64/preconfigure.in: Likewise.
16516 * sysdeps/x86_64/preconfigure: Regenerated.
16518 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16520 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16523 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16526 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16528 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16531 * locale/iso-639.def: Fix gl language name. Spotted by
16534 2012-04-12 Roland McGrath <roland@hack.frob.com>
16537 * libio/libio.h (__io_write_fn): Update comment.
16539 2012-04-12 Petr Baudis <pasky@ucw.cz>
16542 * stdio.texi (Hook Functions): The user provided writer function
16543 is not allowed to return -1.
16545 2012-04-11 David S. Miller <davem@davemloft.net>
16547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16549 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16551 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16552 Add a leading slash to rtkaio.
16554 2012-04-11 Jim Meyering <meyering@redhat.com>
16557 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16558 It is not necessarily an error to ignore fwrite's return
16559 value. One can reliably use ferror to test for errors after
16562 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16564 * bits/types.h (__snseconds_t): New type.
16565 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16567 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16569 (__SNSECONDS_T_TYPE): Likewise.
16570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16571 (__SNSECONDS_T_TYPE): Likewise.
16572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16573 (__SNSECONDS_T_TYPE): Likewise.
16575 2012-04-10 Andreas Jaeger <aj@suse.de>
16578 * manual/time.texi (Processor Time): Return type of times is
16579 elapsed real time since an arbitrary point in the past.
16580 (CPU Time): Move CLK_TCK from here...
16581 (Processor Time): ...to here. Correct description.
16582 * manual/conf.texi (Constants for Sysconf): Correct description of
16585 2012-04-10 David S. Miller <davem@davemloft.net>
16588 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16589 where the is a gap between DT_REL(A) and DT_JMPREL.
16591 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16593 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16594 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16595 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16597 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16599 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16600 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16601 (dl_main): Handle --inhibit-cache.
16602 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16604 * elf/dl-load.c (_dl_map_object): Use it.
16605 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16607 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16610 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16611 (__ieee754_powl): Saturate large exponents rather than testing for
16612 overflow of y*log2(x).
16613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16614 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16618 * math/s_ctan.c: Include <float.h>.
16619 (__ctan): Avoid internal overflow or cancellation in calculating
16621 * math/s_ctanf.c: Likewise.
16622 * math/s_ctanl.c: Likewise.
16623 * math/s_ctanh.c: Likewise.
16624 * math/s_ctanhf.c: Likewise.
16625 * math/s_ctanhl.c: Likewise.
16626 * math/libm-test.inc (ctan_test): Add more tests.
16627 (ctanh_test): Likewise.
16628 * sysdeps/i386/fpu/libm-test-ulps: Update.
16629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16631 2012-04-09 Andreas Jaeger <aj@suse.de>
16634 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16635 is an optional BSD extension.
16638 * manual/stdio.texi (Opening Streams): Document additional fopen
16641 2012-04-09 Roland McGrath <roland@hack.frob.com>
16643 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16644 %eax without telling the compiler.
16646 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16649 * manual/install.texi: Use sourceware.org.
16651 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16654 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16655 (__ieee754_pow): Generate overflow and underflow using huge*huge
16656 and tiny*tiny rather than just returning constant infinity or zero
16657 for large exponents.
16658 * math/libm-test.inc (pow_test): Require overflow exceptions for
16659 applicable cases of large exponents.
16662 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16663 (__ieee754_pow): Use iterative multiplication algorithm only for
16664 integer exponents with absolute value below 1024. Check for odd
16665 integer exponents when using algorithm for real exponents.
16666 * math/libm-test.inc (pow_test): Add more tests.
16667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16669 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16672 * math/libm-test.inc (exp_test): Do not allow overflow exception
16675 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16678 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16679 instead of __kernel_standard_f.
16681 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16683 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16684 * sysdeps/x86_64/memset_chk.S: Likewise.
16686 2012-04-08 Andreas Jaeger <aj@suse.de>
16689 * manual/startup.texi (Environment Access): Describe return value
16690 for putenv and setenv.
16693 * manual/filesys.texi (Directory Entries): Add description for
16697 * manual/filesys.texi (Directory Entries): Clarify that it's file
16698 system not operating system in the description of DT_UNKNOWN.
16701 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16703 2012-04-08 Stephen Compall <s11@member.fsf.org>
16706 * manual/llio.texi (Opening and Closing Files): Add cross
16707 reference to explain mode argument.
16709 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16711 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16712 * sysdeps/x86_64/memset_chk.S: Likewise.
16714 2012-04-07 David S. Miller <davem@davemloft.net>
16716 * elf/elf.h (R_SPARC_WDISP10): Define.
16717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16719 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16720 R_SPARC_SIZE64 and R_SPARC_H34.
16722 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16725 conditions and remove no longer applicable assertion.
16727 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16729 * bits/byteswap.h: Include <features.h>.
16730 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16731 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16733 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16735 * bits/byteswap.h (__bswap_16): Removed.
16736 Include <bits/byteswap-16.h> to get __bswap_16.
16737 * sysdeps/i386/bits/byteswap.h: Likewise.
16738 * sysdeps/s390/bits/byteswap.h: Likewise.
16739 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16740 * bits/byteswap-16.h: New file.
16741 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16742 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16743 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16744 * string/Makefile (headers): Add bits/byteswap-16.h.
16746 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16749 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16751 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16752 * nss/tst-nss-static.c: New.
16754 2012-04-06 Robert Millan <rmh@gnu.org>
16757 * manual/llio.texi (File Position Primitive): lseek
16758 refers to WHENCE when it really means OFFSET.
16760 2012-04-06 Andreas Jaeger <aj@suse.de>
16762 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16763 strncmp declarations.
16765 * abilist/libc.abilist: Add __poll and __ppoll.
16767 2012-04-05 David S. Miller <davem@davemloft.net>
16769 * scripts/check-local-headers.sh: Accept a host triplet in the
16770 path matched by the exclude regexp.
16772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16774 * sysdeps/powerpc/powerpc32/dl-machine.h
16775 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16776 * sysdeps/s390/s390-32/dl-machine.h
16777 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16778 * sysdeps/sparc/sparc32/dl-machine.h
16779 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16780 * sysdeps/sparc/sparc64/dl-machine.h
16781 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16783 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16785 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16786 undefined symbol errors.
16788 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16791 2012-04-05 Michael Matz <matz@suse.de>
16794 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16796 2012-04-05 Andreas Jaeger <aj@suse.de>
16799 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16802 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16805 which ROUND is no valid rounding mode.
16807 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16809 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16811 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16813 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16815 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16816 an exception using FPU order intentionally.
16818 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16820 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16821 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16822 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16823 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16825 2012-04-05 Simon Josefsson <simon@josefsson.org>
16828 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16829 EINVAL when BUFLEN is too smal.
16831 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16834 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16835 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16837 2012-04-03 Andreas Jaeger <aj@suse.de>
16840 * manual/setjmp.texi (System V contexts): Fix sentence.
16843 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16844 New macro for this case.
16845 [!__GNUC__] (__bswap_64): New inline function for this case.
16846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16847 * bits/byteswap.h: Likewise.
16848 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16849 ull, guard with __GLIBC_HAVE_LONG_LONG.
16851 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16852 __GLIBC_HAVE_LONG_LONG.
16854 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16855 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16857 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16860 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16861 inptr and inend, rather than using last_ch.
16863 2012-04-02 David S. Miller <davem@davemloft.net>
16865 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16866 * stdio-common/printf-parse.h (read_int): Change return type to
16867 'int', return -1 on INT_MAX overflow.
16868 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16869 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16870 overflows INT_MAX. Check for overflow of in-format-string precision
16871 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16872 SIZE_MAX not INT_MAX for integer overflow test.
16873 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16874 skip the construct in the format string but do not record anything.
16875 * stdio-common/bug22.c: Adjust to test both width/prevision
16876 INT_MAX overflow as well as total length INT_MAX overflow. Check
16877 explicitly for proper errno values.
16879 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16881 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16883 * string/test-strcmp.c [! WIDE]: Likewise.
16884 * time/tst-mktime2.c: Likewise for INT_MAX.
16885 * string/test-string.h: #include <sys/param.h> for MIN.
16887 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16888 * sysdeps/i386/init-first.c (init): Likewise.
16889 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16890 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16891 * sysdeps/sh/init-first.c (init): Likewise.
16893 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16895 * po/ru.po: Update from translation team.
16896 * po/vi.po: Likewise.
16898 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16900 * resolv/nss_dns/dns-host.c: Merge copyright years.
16902 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16904 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16905 Optimize memcpy with prefetch if
16906 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16907 src, dst pointers have unequal 16 byte alignments.
16909 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16912 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16913 from a CNAME entry and return the minimum ttl for the query.
16914 (gaih_getanswer_slice): Likewise.
16916 2012-03-30 Jeff Law <law@redhat.com>
16918 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16920 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16921 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16923 * resolv/nss_dns/dns-host.c: Update copyright year.
16925 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16927 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16928 requests to save a system call. Fix check that all bytes are sent.
16930 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16931 comments for sendmmsg.
16933 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16936 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16937 with only 1 character between 0x0041 and 0x01b0.
16938 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16939 * wcsmbs/tst-mbsnrtowcs.c: New file.
16941 2012-03-29 David S. Miller <davem@davemloft.net>
16943 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16944 small copies by hand.
16946 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16949 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16950 _nss_compat_initgroups_dyn): Fall back to malloc/free
16951 for large group memberships.
16953 2012-03-28 David S. Miller <davem@davemloft.net>
16955 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16956 that branches into memcpy.
16957 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16959 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16960 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16963 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16964 implementation too.
16965 * sysdeps/sparc/mempcpy.S: New file.
16967 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16968 the IFUNC routine in the libc case.
16969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16971 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16972 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16973 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16974 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16975 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16976 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16977 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16978 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16980 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16981 loop to 256 bytes instead of 64 bytes and fix test signedness.
16983 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16984 * sysdeps/sparc/sparc32/Makefile: rather than here...
16985 * sysdeps/sparc/sparc64/Makefile: and here.
16987 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16989 * malloc/mallocbug.c: Avoid warnings about unused variables.
16991 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16994 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16995 in the right place. Discard and retry query if response is
16996 larger than input buffer size.
16998 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17003 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17004 x for large integer exponent.
17005 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17006 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17007 sign of result as needed afterwards.
17008 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17009 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17010 result for underflowing pow the same as for overflow.
17011 (__kernel_standard_l): Handle powl overflow and underflow here
17012 rather than calling __kernel_standard.
17013 * math/libm-test.inc (pow_test): Add more tests.
17028 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17029 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17030 (__kernel_standard_l): New function.
17031 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17033 * math/w_acosl.c (__acosl): Likewise.
17034 * math/w_asinl.c (__asinl): Likewise.
17035 * math/w_atan2l.c (__atan2l): Likewise.
17036 * math/w_atanhl.c (__atanhl): Likewise.
17037 * math/w_coshl.c (__coshl): Likewise.
17038 * math/w_exp10l.c (__exp10l): Likewise.
17039 * math/w_exp2l.c (__exp2l): Likewise.
17040 * math/w_fmodl.c (__fmodl): Likewise.
17041 * math/w_hypotl.c (__hypotl): Likewise.
17042 * math/w_j0l.c (__j0l, __y0l): Likewise.
17043 * math/w_j1l.c (__j1l, __y1l): Likewise.
17044 * math/w_jnl.c (__jnl, __ynl): Likewise.
17045 * math/w_lgammal.c (__lgammal): Likewise.
17046 * math/w_log10l.c (__log10l): Likewise.
17047 * math/w_log2l.c (__log2l): Likewise.
17048 * math/w_logl.c (__logl): Likewise.
17049 * math/w_powl.c (__powl): Likewise.
17050 * math/w_remainderl.c (__remainderl): Likewise.
17051 * math/w_scalbl.c (sysv_scalbl): Likewise.
17052 * math/w_sinhl.c (__sinhl): Likewise.
17053 * math/w_sqrtl.c (__sqrtl): Likewise.
17054 * math/w_tgammal.c (__tgammal): Likewise.
17055 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17056 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17057 * math/libm-test.inc (acos_test): Add more tests.
17058 (acosh_test): Likewise.
17059 (asin_test): Likewise.
17060 (atanh_test): Likewise.
17061 (exp_test): Likewise.
17062 (exp10_test): Likewise.
17063 (exp2_test): Likewise.
17064 (expm1_test): Likewise.
17065 (lgamma_test): Likewise.
17066 (log_test): Likewise.
17067 (log10_test): Likewise.
17068 (log1p_test): Likewise.
17069 (log2_test): Likewise.
17070 (pow_test): Do not allow some spurious overflow exceptions.
17071 (sqrt_test): Add more tests.
17072 (tgamma_test): Likewise.
17073 (y0_test): Likewise.
17074 (y1_test): Likewise.
17075 (yn_test): Likewise.
17077 2012-03-27 Anton Blanchard <anton@samba.org>
17079 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17081 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17082 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17083 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17085 2012-03-27 David S. Miller <davem@davemloft.net>
17087 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17089 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17090 have-as-vis3 check.
17092 2012-03-27 Andreas Jaeger <aj@suse.de>
17094 * sysdeps/x86_64/elf/configure.in: Moved to ...
17095 * sysdeps/x86_64/configure.in: ... here.
17096 * sysdeps/x86_64/elf/start.S: Moved to ...
17097 * sysdeps/x86_64/start.S: ... here.
17098 * sysdeps/x86_64/elf/configure: Delete.
17100 * sysdeps/x86_64/configure.in: Merge contents from
17101 sysdeps/i386/configure.in (without i686 check).
17103 * sysdeps/i386/elf/Versions: Merge into ...
17104 * sysdeps/i386/Versions: ... this.
17105 * sysdeps/i386/elf/Versions: Delete file.
17106 * sysdeps/i386/elf/start.S: Moved to ...
17107 * sysdeps/i386/start.S: ...here.
17108 * sysdeps/i386/elf/configure.in: Merge into...
17109 * sysdeps/i386/configure.in: ...here.
17110 * sysdeps/i386/elf/configure.in: Delete file.
17111 * sysdeps/i386/elf/configure: Delete file.
17113 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17114 * debug/backtracesyms.c: ... here.
17115 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17116 * debug/backtracesymsfd.c: ... here.
17117 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17118 * sysdeps/generic/ifunc-sel.h: ... here.
17120 * sysdeps/unix/i386/start.c: Delete file.
17121 * sysdeps/unix/sparc/start.c: Delete file.
17122 * sysdeps/unix/start.c: Delete file.
17124 * sysdeps/sh/elf/configure.in: Moved to ...
17125 * sysdeps/sh/configure.in: ... here.
17126 * sysdeps/sh/elf/start.S: Moved to ...
17127 * sysdeps/sh/start.S: ... here.
17128 * sysdeps/sh/elf/configure: Delete file.
17130 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17131 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17132 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17133 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17134 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17135 * sysdeps/powerpc/powerpc64/start.S: here.
17136 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17137 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17138 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17139 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17140 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17142 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17143 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17144 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17145 * sysdeps/powerpc/powerpc32/start.S: ... here.
17146 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17147 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17148 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17150 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17151 * sysdeps/powerpc/ifunc-sel.h: ... here.
17152 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17153 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17155 * sysdeps/sparc/elf/configure.in: Moved to ...
17156 * sysdeps/sparc/configure.in: ... here.
17157 * sysdeps/sparc/elf/configure: Delete file.
17158 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17159 * sysdeps/sparc/sparc32/start.S: ... here.
17160 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17161 * sysdeps/sparc/sparc64/start.S: ... here.
17162 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17163 * sysdeps/sparc/sparc32/Makefile: ... this.
17164 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17165 * sysdeps/sparc/sparc64/Makefile: ... this.
17167 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17168 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17169 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17170 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17171 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17172 * sysdeps/s390/s390-32/setjmp.S: ... here.
17173 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17174 * sysdeps/s390/s390-32/configure.in: ... here.
17175 * sysdeps/s390/s390-32/elf/configure: Delete file.
17176 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17177 * sysdeps/s390/s390-32/start.S: ... here.
17179 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17180 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17181 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17182 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17183 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17184 * sysdeps/s390/s390-64/setjmp.S: ... here.
17185 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17186 * sysdeps/s390/s390-64/configure.in: ... here
17187 * sysdeps/s390/s390-64/elf/configure: Delete file.
17188 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17189 * sysdeps/s390/s390-64/start.S: ... here.
17190 * sysdeps/s390/s390-64/elf/configure: Delete.
17192 * configure.in: Remove support for elf directories in sysdeps.
17194 * configure: Regenerated.
17195 * sysdeps/i386/configure: Regenerated.
17196 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17197 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17198 * sysdeps/s390/s390-32/configure: Regenerated.
17199 * sysdeps/s390/s390-64/configure: Regenerated.
17200 * sysdeps/sh/configure: Regenerated.
17201 * sysdeps/sparc/configure: Regenerated.
17202 * sysdeps/x86_64/configure: Regenerated.
17204 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17209 denormal result into account.
17211 2012-03-25 Roland McGrath <roland@hack.frob.com>
17213 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17214 Reported by Allan McRae <allan@archlinux.org>.
17216 2012-03-23 Jeff Law <law@redhat.com>
17218 * nss/getnssent.c (__nss_getent): Fix typo.
17220 2012-03-23 David S. Miller <davem@davemloft.net>
17222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17224 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17226 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17227 to pad to uint64_t for each field.
17228 (dl_tls_index): Replace unsigned long with uint64_t.
17230 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17231 Paul Pluzhnikov <ppluzhnikov@google.com>
17234 * grp/Makefile (otherlibs): Don't set it.
17235 * inet/Makefile (otherlibs): Likewise.
17236 * login/Makefile (otherlibs): Likewise.
17237 * nscd/Makefile (otherlibs): Likewise.
17238 * posix/Makefile (otherlibs): Likewise.
17239 * pwd/Makefile (otherlibs): Likewise.
17240 * rt/Makefile (otherlibs): Likewise.
17241 * sunrpc/Makefile (otherlibs): Likewise.
17242 * nss/Makefile (otherlibs): Likewise.
17243 Add libnss_files to routines and static-only-routines.
17244 ($(objpfx)getent): Remove rule.
17245 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17246 static-only-routines.
17248 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17251 * math/s_cexp.c: Include <float.h>.
17252 (__cexp): Handle exp result overflowing not necessarily
17253 overflowing both real and imaginary parts of result.
17254 * math/s_cexpf.c: Likewise.
17255 * math/s_cexpl.c: Likewise.
17256 * math/libm-test.inc (cexp_test): Add more tests.
17257 * sysdeps/i386/fpu/libm-test-ulps: Update.
17258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17260 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17262 * include/link.h (ELFW): New macro.
17263 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17264 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17266 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17268 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17271 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17273 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17275 (struct La_x32_retval): Likewise.
17277 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17279 * sysdeps/x86_64/preconfigure.in: New file.
17280 * sysdeps/x86_64/preconfigure: New generated file.
17282 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17285 * math/e_exp2l.c: Include <float.h>.
17286 (__ieee754_exp2l): Handle overflow and underflow cases
17287 separately. Only pass fractional part of argument to
17289 * math/libm-test.inc (exp2_test): Add more tests.
17291 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17292 negating x to take absolute value.
17293 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17295 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17298 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17299 computing low part if x was negated.
17300 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17302 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17304 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17305 la_x32_gnu_pltexit.
17306 (pltexit): Cast int_retval to ptrdiff_t.
17307 * elf/tst-auditmod3b.c: Likewise.
17308 * elf/tst-auditmod4b.c: Likewise.
17309 * elf/tst-auditmod5b.c: Likewise.
17310 * elf/tst-auditmod6b.c: Likewise.
17311 * elf/tst-auditmod6c.c: Likewise.
17312 * elf/tst-auditmod7b.c: Likewise.
17314 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17315 and x32_gnu_pltexit.
17317 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17318 __ELF_NATIVE_CLASS.
17319 (La_x32_regs): New macro.
17320 (La_x32_retval): Likewise.
17321 (la_x32_gnu_pltenter): New function prototype.
17322 (la_x32_gnu_pltexit): Likewise.
17324 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17331 * configure.in (libc_cv_cc_nofma): Check for option to disable
17332 generation of FMA instructions.
17333 * configure: Regenerate.
17334 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17335 * sysdeps/ieee754/dbl-64/Makefile: New file.
17336 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17337 Remove brandred-fma4.
17338 (CFLAGS-brandred-fma4.c): Remove.
17339 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17340 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17342 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17345 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17347 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17348 LLONG_MAX != LONG_MAX.
17349 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17350 (_fitoa_word): Likewise.
17351 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17352 LLONG_MAX != LONG_MAX.
17353 * stdio-common/_itowa.h: Include <_itoa.h>.
17354 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17355 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17356 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17357 only if not defined.
17358 (_ITOA_WORD_TYPE): Likewise.
17359 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17360 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17362 2012-03-21 David S. Miller <davem@davemloft.net>
17364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17366 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17368 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17369 of x86_64 when setting libc_cv_slibdir, libdir and
17371 * sysdeps/unix/sysv/linux/configure: Regenerated.
17373 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17375 * manual/lang.texi (Old Varargs): Remove section.
17376 (How Variadic): Update menu.
17377 (va_start): Do not mention varargs.h.
17379 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17380 Joseph Myers <joseph@codesourcery.com>
17382 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17384 * configure: Regenerated.
17386 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17388 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17389 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17392 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17395 * Makefile (files-for-dist): Remove NOTES.
17396 (NOTES): Remove rule.
17397 * README: Don't refer to NOTES.
17398 * manual/creature.texi: Don't include macros.texi.
17399 * manual/intro.texi (creature.texi): Remove comment referring to
17402 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17403 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17404 * configure: Regenerated.
17405 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17406 LIBC_TRY_CC_OPTION.
17407 (libc_cv_as_i686): Likewise.
17408 (libc_cv_cc_avx): Likewise.
17409 (libc_cv_cc_sse2avx): Likewise.
17410 (libc_cv_cc_fma4): Likewise.
17411 (libc_cv_cc_novzeroupper): Likewise.
17412 * sysdeps/i386/configure: Regenerated.
17415 * sysdeps/i386/fpu/s_cexp.S: Remove.
17416 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17417 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17418 * math/libm-test.inc (cexp_test): Add more tests.
17419 * sysdeps/i386/fpu/libm-test-ulps: Update.
17420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17422 2012-03-21 Allan McRae <allan@archlinux.org>
17424 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17426 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17429 * math/w_exp2.c: Do not include <float.h>.
17430 (o_threshold, u_threshold): Remove.
17431 (__exp2): Calculate result before checking finiteness and calling
17433 * math/w_exp2f.c: Likewise.
17434 * math/w_exp2l.c: Likewise.
17435 * math/libm-test.inc (exp2_test): Require overflow exception for
17439 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17440 range of signed 64-bit integers before using fistpll. Remove
17441 checks for whether integers fit in mantissa bits.
17442 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17443 the range of signed 32-bit integers before using fistpl. Remove
17444 checks for whether integers fit in mantissa bits.
17445 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17446 (__ieee754_powl): Test for y outside the range of signed 64-bit
17447 integers before using fistpll. Reduce 64-bit values to 63-bit
17449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17450 divide-by-zero is raised for zero to large negative powers.
17451 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17452 (__ieee754_powl): Test for y outside the range of signed 64-bit
17453 integers before using fistpll. Reduce 64-bit values to 63-bit
17455 * math/libm-test.inc (pow_test): Add more tests.
17457 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17459 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17460 <stdio-common/_itoa.h>.
17461 * debug/segfault.c: Likewise.
17462 * elf/dl-cache.c: Likewise.
17463 * elf/dl-minimal.c: Likewise.
17464 * elf/dl-misc.c: Likewise.
17465 * elf/dl-sysdep.c: Likewise.
17466 * elf/dl-version.c: Likewise.
17467 * elf/rtld.c: Likewise.
17468 * hurd/hurdsock.c: Likewise.
17469 * hurd/lookup-retry.c: Likewise.
17470 * malloc/malloc.c: Likewise.
17471 * malloc/mtrace.c: Likewise.
17472 * nscd/nscd_getgr_r.c: Likewise.
17473 * nscd/nscd_getpw_r.c: Likewise.
17474 * nscd/nscd_getserv_r.c: Likewise.
17475 * posix/getopt_init.c: Likewise.
17476 * posix/wordexp.c: Likewise.
17477 * stdio-common/_itoa.c: Likewise.
17478 * stdio-common/printf_fphex.c: Likewise.
17479 * stdio-common/vfprintf.c: Likewise.
17480 * string/_strerror.c: Likewise.
17481 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17482 * sysdeps/i386/i686/hp-timing.h: Likewise.
17483 * sysdeps/mach/_strerror.c: Likewise.
17484 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17485 * sysdeps/mach/hurd/sethostid.c: Likewise.
17486 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17487 * sysdeps/mach/xpg-strerror.c: Likewise.
17488 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17489 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17490 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17491 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17492 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17493 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17494 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17495 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17496 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17497 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17498 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17499 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17500 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17501 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17502 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17503 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17504 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17505 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17506 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17507 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17508 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17510 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17512 * stdio-common/_itoa.h: Moved to ...
17513 * sysdeps/generic/_itoa.h: Here.
17515 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17517 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17518 instead of "_itoa.h" and "_itowa.h".
17519 * stdio-common/vfprintf.: Likewise.
17521 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17523 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17525 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17526 (__signbit): Likwise.
17527 (llrintf): Likwise.
17530 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17532 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17535 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17537 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17538 OVERFLOW_EXCEPTION_OK.
17539 * math/libm-test.inc ("Philosophy"): Update comment about
17541 (OVERFLOW_EXCEPTION): Define.
17542 (OVERFLOW_EXCEPTION_OK): Likewise.
17543 (INVALID_EXCEPTION_OK): Renumber.
17544 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17545 (IGNORE_ZERO_INF_SIGN): Likewise.
17546 (test_exceptions): Handle FE_OVERFLOW.
17547 (exp10_test): Expect overflow exceptions.
17548 (exp2_test): Likewise.
17549 (expm1_test): Likewise.
17550 (nextafter_test): Likewise.
17551 (pow_test): Likewise.
17552 (scalbn_test): Likewise.
17553 (scalbln_test): Likewise.
17555 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17557 * sysdeps/x86_64/bits/atomic.h
17558 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17560 (atomic_exchange_acq): Likewise.
17561 (__arch_exchange_and_add_body): Likewise.
17562 (__arch_add_body): Likewise.
17563 (atomic_add_negative): Likewise.
17564 (atomic_add_zero): Likewise.
17566 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17568 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17569 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17571 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17573 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17574 Check __x86_64__ instead of __WORDSIZE.
17576 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17580 2012-03-19 David S. Miller <davem@davemloft.net>
17582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17584 * sysdeps/sparc/fpu/fenv_private.h: New file.
17585 * sysdeps/sparc/fpu/math_private.h: Use it.
17586 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17588 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17589 (libc_feholdexcept_setroundl): Remove.
17590 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17592 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17593 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17595 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17597 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17598 int64_t instead of long int.
17599 (INSERT_WORDS64): Likwise.
17601 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17603 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17604 _Unwind_GetCFA return to _Unwind_Ptr first.
17606 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17609 * math/s_clog.c: Include <float.h>.
17610 (__clog): Scale large or subnormal inputs.
17611 * math/s_clogf.c: Likewise.
17612 * math/s_clogl.c: Likewise.
17613 * math/s_clog10.c: Include <float.h>.
17614 (M_LOG10_2): Define.
17615 (__clog10): Scale large or subnormal inputs.
17616 * math/s_clog10f.c: Likewise.
17617 * math/s_clog10l.c: Likewise.
17618 * math/libm-test.inc (clog_test): Add more tests.
17619 (clog10_test): Likewise.
17620 * sysdeps/i386/fpu/libm-test-ulps: Update.
17621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17626 * math/libm-test.inc (atan2_test): Add another test.
17628 * Makerules (common-objdir-compile): Remove.
17629 * sysdeps/unix/Makefile (config-generated): Do not add
17630 $(unix-generated) to variable.
17631 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17632 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17634 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17636 [generic bits/local_lim.h] (before-compile): Do not append to
17638 [generic bits/local_lim.h] (common-generated): Likewise.
17639 [generic sys/param.h] (before-compile): Do not append to variable.
17640 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17641 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17642 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17643 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17645 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17646 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17647 [generic sys/param.h] ($(addprefix
17648 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17649 [generic sys/param.h] (common-generated): Do not append to
17651 [generic sys/param.h] (sysdep_headers): Likewise.
17652 [generic bits/errno.h] (before-compile): Do not append to
17654 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17656 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17657 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17658 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17659 [generic bits/errno.h] (common-generated): Do not append to
17661 [generic bits/ioctls.h] (before-compile): Do not append to
17663 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17665 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17666 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17667 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17669 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17670 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17671 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17672 [generic bits/ioctls.h] (common-generated): Do not append to
17674 [generic sys/syscall.h] (syscall.h): Remove variable.
17675 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17677 [generic sys/syscall.h] (before-compile): Do not append to
17679 [generic sys/syscall.h] (common-generated): Likewise.
17680 * sysdeps/unix/errnos-tmpl.c: Remove file.
17681 * sysdeps/unix/errnos.awk: Likewise.
17682 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17683 * sysdeps/unix/ioctls.awk: Likewise.
17684 * sysdeps/unix/mk-local_lim.c: Likewise.
17685 * sysdeps/unix/snarf-ioctls: Likewise.
17687 2012-03-19 Richard Henderson <rth@twiddle.net>
17689 * sysdeps/i386/fpu/fenv_private.h: New file.
17690 * sysdeps/i386/fpu/math_private.h: Use it.
17691 (math_opt_barrier, math_force_eval): Remove.
17692 (libc_feholdexcept_setround_53bit): Remove.
17693 (libc_feupdateenv_53bit): Remove.
17694 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17695 (math_opt_barrier, math_force_eval): Remove.
17696 (libc_feholdexcept): Remove.
17697 (libc_feholdexcept_setround): Remove.
17698 (libc_fetestexcept, libc_fesetenv): Remove.
17699 (libc_feupdateenv_test): Remove.
17700 (libc_feupdateenv, libc_feholdsetround): Remove.
17701 (libc_feresetround): Remove.
17703 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17704 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17706 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17707 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17708 (libc_feupdateenv_testl): New.
17709 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17710 (libc_feupdateenv_testf): New.
17711 (libc_feupdateenv): Use libc_feupdateenv_test.
17712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17713 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17715 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17716 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17717 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17718 (libc_feresetround_noex): New.
17719 (libc_feresetround_noexf): New.
17720 (libc_feresetround_noexl): New.
17721 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17722 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17723 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17724 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17729 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17730 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17731 SET_RESTORE_ROUND_NOEX.
17732 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17733 SET_RESTORE_ROUND_NOEXF.
17734 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17735 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17736 (libc_feholdsetroundf): New.
17737 (libc_feresetround, libc_feresetroundf): New.
17739 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17740 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17741 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17743 * sysdeps/generic/math_private.h: Include <fenv.h>.
17744 (default_libc_feholdexcept): New.
17745 (default_libc_feholdexcept_setround): New.
17746 (default_libc_fesetenv, default_libc_feupdateenv): New.
17747 (libc_feholdexcept): Only define if undefined.
17748 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17749 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17750 (libc_feholdexcept_setroundl): Likewise.
17751 (libc_feholdexcept_setround_53bit): Likewise.
17752 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17753 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17754 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17755 (libc_feupdateenv_53bit): Likewise.
17756 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17757 (libc_feholdexcept): Convert from macro to inline function.
17758 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17759 (libc_fesetenv, libc_feupdateenv): Likewise.
17761 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17762 not previously defined.
17763 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17764 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17765 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17766 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17767 * sysdeps/ieee754/flt-32/math_private.h: New file.
17768 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17769 math_private.h below SET_FLOAT_WORD.
17770 (__isnan, __isinf_ns, __finite): Remove.
17771 (__isnanf, __isinf_nsf, __finitef): Remove.
17773 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17777 2012-03-17 David S. Miller <davem@davemloft.net>
17780 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17783 2012-03-16 David S. Miller <davem@davemloft.net>
17785 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17789 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17791 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17792 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17793 sysdep_routines when subdir is sysvipc.
17794 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17795 __getshmlba helper.
17797 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17799 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17801 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17804 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17806 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17807 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17808 (__lround): Renamed to ...
17809 (__llround): This. Replace long int with long long int.
17810 Define lround functions as aliases of llround functions.
17811 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17813 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17815 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17816 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17817 adresses to uintptr_t. Replace "long int" and "unsigned long
17818 int" with "greg_t" on va_arg.
17820 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17823 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17825 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17826 Move e_machine check before EI_CLASS check. Handle x32
17827 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17828 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17829 SKIP_EM_IA_64 and include
17830 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17832 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17833 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17834 (add_system_dir): New macro.
17836 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17837 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17839 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17850 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17852 * math/w_j0f.c (j0f): Likewise.
17854 * math/w_j0l.c (__j0l): Likewise.
17856 * math/w_j1.c (j1): Likewise.
17858 * math/w_j1f.c (j1f): Likewise.
17860 * math/w_j1l.c (__j1l): Likewise.
17862 * math/w_jn.c (jn): Likewise.
17864 * math/w_jnf.c (jnf): Likewise.
17866 * math/w_jnl.c (__jnl): Likewise.
17868 * math/libm-test.inc (j0_test): Add more tests.
17869 (j1_test): Likewise.
17870 (jn_test): Likewise. Add trailing semicolon to existing test.
17871 (y0_test): Likewise.
17872 (y1_test): Likewise.
17873 * sysdeps/i386/fpu/libm-test-ulps: Update.
17874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17879 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17880 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17881 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17882 (__tanl): Set errno for infinite argument.
17883 * sysdeps/i386/fpu/mptan.c: Remove.
17884 * sysdeps/i386/fpu/s_tan.S: Likewise.
17885 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17886 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17887 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17888 * math/libm-test.inc (tan_test): Add more tests and enable more
17889 tests for double and long double.
17890 * sysdeps/i386/fpu/libm-test-ulps: Update.
17891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17893 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17895 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17896 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17898 2012-03-16 Roland McGrath <roland@hack.frob.com>
17900 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17901 * configure.in: Use it for both main tree and add-ons.
17902 * configure: Regenerated.
17904 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17906 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17908 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17910 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17914 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17915 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17917 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17920 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17922 != 0 for prec == 2.
17923 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17924 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17925 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17926 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17927 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17928 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17929 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17930 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17931 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17932 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17933 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17934 * math/libm-test.inc (cos_test): Add more tests and enable more
17935 tests for long double.
17936 (sin_test): Likewise.
17937 (sincos_test): Likewise.
17938 * sysdeps/i386/fpu/libm-test-ulps: Update.
17939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17941 2012-03-16 David S. Miller <davem@davemloft.net>
17943 * sysdeps/sparc/fpu/math_private.h: New file.
17945 2012-03-15 David S. Miller <davem@davemloft.net>
17947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17961 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17962 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17964 * sysdeps/sparc/sparc-ifunc.h: New file.
17965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18010 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18012 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18016 2012-03-15 Andreas Jaeger <aj@suse.de>
18019 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18020 ieee754/flt-32 implementation for sin, cos and sincos.
18021 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18022 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18023 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18024 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18025 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18026 ieee754/flt-32 implementation for tan.
18028 * math/libm-test.inc (cos_test): Enable some large input tests for
18030 (sin_test): Likewise.
18031 (sincos_test): Likewise.
18032 (tan_test): Add tests for large input.
18034 * sysdeps/i386/fpu/libm-test-ulps: Update.
18036 2012-03-15 Andreas Jaeger <aj@suse.de>
18039 * math/libm-test.inc (cos_test): Add more test cases.
18040 (sin_test): Likewise.
18041 (sincos_test): Likewise.
18043 2012-03-15 Andreas Jaeger <aj@suse.de>
18046 * math/libm-test.inc (cos_test): Add a test case for large input
18048 (sin_test): Likewise.
18049 (sincos_test): Likewise.
18051 2012-03-15 Andreas Jaeger <aj@suse.de>,
18052 Joseph Myers <joseph@codesourcery.com>
18055 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18056 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18057 * sysdeps/i386/fpu/branred.c: Likewise.
18058 * sysdeps/i386/fpu/dosincos.c: Likewise.
18059 * sysdeps/i386/fpu/mpa.c: Likewise.
18060 * sysdeps/i386/fpu/s_cos.S: Likewise.
18061 * sysdeps/i386/fpu/s_sin.S: Likewise.
18062 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18063 * sysdeps/i386/fpu/sincos32.c: Likewise.
18065 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18067 (libc_feupdateenv_53bit): Define.
18068 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18070 (libc_feupdateenv_53bit): Define.
18072 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18073 53 bit (without extend i386 double precision).
18075 * math/libm-test.inc (sincos_test): Add tests for large input.
18079 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18081 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18085 2012-03-15 David S. Miller <davem@davemloft.net>
18087 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18088 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18089 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18090 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18115 fmin/fmax sysdep routines.
18116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18118 2012-03-14 David S. Miller <davem@davemloft.net>
18120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18192 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18197 * sysdeps/sparc/configure.in: New file.
18198 * sysdeps/sparc/configure: Generate.
18199 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18200 * configure: Regenerate.
18201 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18202 * config.make.in (have-as-vis3): New.
18203 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18204 available use -Av9d instead of -Av9a.
18205 * sysdeps/sparc/sparc64/Makefile: Likewise.
18206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18221 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18222 fzeros/fnegs to load 0x80000000 into a float register instead of
18224 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18226 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18230 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18231 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18232 ($(inst_includedir)/bits/syscall.h): Remove rule.
18233 ($(objpfx)bits/syscall.d): Include instead of
18234 $(objpfx)syscall-list.d.
18235 (generated): Change syscall-list.h and syscall-list.d to
18236 bits/syscall.h and bits/syscall.d.
18238 2012-03-14 Roland McGrath <roland@hack.frob.com>
18241 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18243 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18246 * math/s_csqrt.c: Include <float.h>.
18247 (__csqrt): Scale large or subnormal inputs.
18248 * math/s_csqrtf.c: Likewise.
18249 * math/s_csqrtl.c: Likewise.
18250 * math/libm-test.inc (csqrt_test): Add more tests.
18251 * sysdeps/i386/fpu/libm-test-ulps: Update.
18252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18255 * math/libm-test.inc (hypot_test): Add more tests.
18257 2012-03-13 David S. Miller <davem@davemloft.net>
18260 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18261 double-precision for the calculation instead of scaling.
18263 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18265 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18266 manipulate bits before adding and subtracting TWO52[sx].
18267 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18270 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18272 2012-03-13 David S. Miller <davem@davemloft.net>
18274 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18275 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18277 rtld-global-offsets.h
18278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18280 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18283 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18285 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18286 'err' in the ifdef scope in which it is actually used.
18288 * nss/nss_db/db-init.c: Include string.h
18290 2012-03-12 David S. Miller <davem@davemloft.net>
18292 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18293 masking out of the most significant byte of random value used.
18294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18295 Fix coding style in previous change.
18297 * sysdeps/unix/sysv/linux/kernel-features.h
18298 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18299 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18301 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18304 2012-03-11 David S. Miller <davem@davemloft.net>
18306 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18307 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18308 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18309 for 'resultvar' otherwise things get truncated on 64-bit.
18311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18312 Fix masking out of the most significant byte of random value used.
18314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18316 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18320 2012-03-09 David S. Miller <davem@davemloft.net>
18322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18323 variables with appropriate CPP guards.
18324 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18325 frame pointer, not the stack pointer. Correct layout comments. Fix test
18326 on resulting framesize and the management of the outregs buffer for pltexit.
18327 Preserve floating point return values across _dl_call_pltexit call.
18328 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18329 framesize and the management of the outregs buffer for pltexit.
18330 Preserve floating point return values across _dl_call_pltexit
18332 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18333 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18334 (print_exit): Fix format string for return register value.
18336 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18338 * sunrpc/Makefile (others): Add rpcgen.
18339 ($(objpfx)rpcgen): Remove special build rule and dependency on
18341 * sunrpc/rpcgen.c: New file.
18343 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18346 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18347 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18348 * sysdeps/i386/crti.S: Likewise.
18349 * sysdeps/i386/crtn.S: Likewise.
18350 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18351 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18352 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18353 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18354 * sysdeps/sh/crti.S: Likewise.
18355 * sysdeps/sh/crtn.S: Likewise.
18356 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18359 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18361 * locale/programs/locfile-kw.gperf: Likewise.
18362 * locale/programs/charmap-kw.h: Regenerated.
18363 * locale/programs/locfile-kw.h: Likewise.
18366 * intl/plural.y: Replace FSF snail mail address with URL.
18367 * intl/plural.c: Regenerated.
18369 2012-03-09 Richard Henderson <rth@twiddle.net>
18371 * include/math_private.h: Remove file.
18372 * math/math_private.h: Move file ...
18373 * sysdeps/generic/math_private.h: ... here.
18375 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18376 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18377 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18379 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18380 and <math_private.h>.
18381 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18382 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18383 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18384 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18385 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18386 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18387 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18389 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18392 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18393 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18395 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18396 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18397 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18398 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18399 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18400 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18402 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18403 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18405 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18406 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18407 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18413 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18414 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18415 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18421 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18436 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18437 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18438 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18439 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18440 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18441 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18442 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18444 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18445 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18446 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18447 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18448 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18449 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18450 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18452 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18453 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18455 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18458 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18462 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18463 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18464 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18465 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18466 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18468 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18469 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18470 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18471 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18472 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18473 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18474 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18475 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18476 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18477 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18478 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18479 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18481 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18482 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18483 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18484 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18485 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18486 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18487 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18488 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18489 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18490 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18491 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18492 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18493 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18494 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18495 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18496 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18497 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18498 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18499 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18500 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18501 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18502 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18503 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18504 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18505 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18506 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18507 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18508 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18509 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18510 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18511 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18512 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18513 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18514 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18515 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18516 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18517 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18518 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18519 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18520 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18521 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18522 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18523 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18524 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18525 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18526 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18527 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18528 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18529 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18530 * sysdeps/ieee754/k_standard.c: Likewise.
18531 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18532 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18533 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18534 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18535 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18536 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18537 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18538 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18539 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18540 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18541 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18542 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18543 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18544 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18545 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18546 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18547 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18548 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18549 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18550 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18551 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18552 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18553 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18554 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18555 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18556 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18557 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18558 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18559 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18563 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18566 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18567 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18568 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18569 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18570 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18571 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18572 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18573 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18574 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18575 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18576 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18577 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18578 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18579 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18581 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18582 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18583 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18584 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18585 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18586 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18587 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18588 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18589 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18590 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18591 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18592 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18593 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18594 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18597 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18598 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18599 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18600 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18603 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18604 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18605 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18606 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18607 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18608 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18609 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18610 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18611 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18612 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18613 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18614 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18616 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18617 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18618 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18619 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18621 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18622 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18623 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18624 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18625 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18626 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18627 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18628 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18629 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18630 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18632 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18633 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18634 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18635 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18637 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18638 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18639 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18640 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18647 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18648 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18649 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18650 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18651 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18652 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18653 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18654 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18655 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18656 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18657 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18658 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18659 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18660 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18661 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18662 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18663 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18666 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18668 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18669 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18670 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18671 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18672 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18673 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18674 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18675 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18677 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18680 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18681 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18682 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18683 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18684 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18685 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18688 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18689 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18691 * sysdeps/ieee754/s_lib_version.c: Likewise.
18692 * sysdeps/ieee754/s_matherr.c: Likewise.
18693 * sysdeps/ieee754/s_signgam.c: Likewise.
18694 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18695 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18696 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18697 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18698 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18699 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18700 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18701 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18702 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18703 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18704 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18705 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18706 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18707 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18708 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18709 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18710 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18711 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18712 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18716 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18718 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18719 * sunrpc/rpc_main.c: Likewise.
18720 * sunrpc/rpc_svcout.c: Likewise.
18722 2012-03-09 David S. Miller <davem@davemloft.net>
18724 * include/math_private.h: New file.
18726 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18728 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18729 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18730 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18731 from <bits/socket_type.h>.
18732 (enum __socket_type): Don't define here.
18733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18735 bits/socket_type.h.
18738 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18739 checking __USE_GNU.
18741 * Makerules ($(inst_includedir)/%.h): New rule.
18742 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18743 (install-others): Remove variable setting.
18744 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18746 2012-03-08 Richard Henderson <rth@twiddle.net>
18748 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18749 from macro to inline function; merge with the
18750 !__LIBC_INTERNAL_MATH_INLINES version.
18751 (__ieee754_sqrtf): Likewise.
18753 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18754 to inline function.
18755 (__rintf, __floor, __floorf): Likewise.
18757 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18758 macro to inline function.
18759 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18761 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18762 not <math/math_private.h>.
18764 2012-03-08 David S. Miller <davem@davemloft.net>
18766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18768 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18770 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18772 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18774 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18775 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18777 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18779 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18780 be defined individually, they must be defined as a block. Define
18781 S for printing a string instead of hidint the different by using a
18782 macro for adding the 'l'.
18783 * stdio-common/tst-fphex-wide.c: Adjust.
18785 2012-03-07 Marek Polacek <polacek@redhat.com>
18787 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18789 2012-03-08 Marek Polacek <polacek@redhat.com>
18792 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18793 * stdio-common/tst-fphex.c: Define a few macros to make the
18794 test reusable. Use them.
18795 * stdio-common/tst-fphex-wide.c: New file.
18797 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18800 * manual/macros.texi (gnusystems): New macro.
18801 (nongnusystems): Likewise.
18802 (gnulinuxhurdsystems): Likewise.
18803 (gnuhurdsystems): Likewise..
18804 (gnulinuxsystems): Likewise.
18805 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18806 variants of the GNU system, not "GNU system".
18807 * manual/conf.texi: Likewise.
18808 * manual/errno.texi: Likewise. Update example of errno macro
18810 * manual/filesys.texi: Likewise.
18811 (getumask): Document as specific to GNU/Hurd.
18812 * manual/install.texi: Likewise. Reword some references to
18814 * manual/intro.texi: Likewise.
18815 * manual/io.texi: Likewise.
18816 (File Name Portability): Detail which constraints are inapplicable
18817 to all GNU systems and which are only inapplicable to GNU/Hurd.
18818 * manual/job.texi: Likewise.
18819 * manual/llio.texi: Likewise.
18820 (O_NOCTTY): Document as present on GNU/Linux.
18821 * manual/maint.texi: Likewise.
18822 * manual/memory.texi: Likewise.
18823 * manual/pattern.texi: Likewise.
18824 * manual/pipe.texi: Likewise.
18825 * manual/process.texi: Likewise.
18826 * manual/resource.texi: Likewise.
18827 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18829 * manual/setjmp.texi: Likewise.
18830 * manual/signal.texi: Likewise.
18831 * manual/startup.texi: Likewise.
18832 * manual/stdio.texi: Likewise.
18833 * manual/terminal.texi: Likewise.
18834 (ONLCR): Document as POSIX.
18835 (OXTABS): Document availability on GNU/Linux as XTABS.
18836 (ONOEOT): Document availability separately from other bits.
18837 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18838 * manual/time.texi: Likewise.
18839 * manual/users.texi: Likewise.
18840 * INSTALL: Regenerated.
18841 * sysdeps/gnu/errlist.c: Regenerated.
18843 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18844 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18845 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18847 * configure: Regenerated.
18849 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18851 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18852 default includes instead of AC_HEADER_CHECK.
18853 * sysdeps/i386/configure: Regenerated.
18856 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18857 * math/s_cacoshf.c (__cacoshf): Likewise.
18858 * math/s_cacoshl.c (__cacoshl): Likewise.
18859 * math/s_casinh.c (__casinh): Set signs of result from argument.
18860 * math/s_casinhf.c (__casinhf): Likewise.
18861 * math/s_casinhl.c (__casinhl): Likewise.
18862 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18863 (casinh_test): Add more tests.
18864 * sysdeps/i386/fpu/libm-test-ulps: Update.
18865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18867 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18869 * po/zh_TW.po: Update from translation team.
18871 * login/Makefile (distribute): Remove variable.
18872 * catgets/Makefile: Likewise.
18873 * mach/Makefile: Likewise.
18874 * malloc/Makefile: Likewise.
18875 * misc/Makefile: Likewise.
18876 * iconv/Makefile: Likewise.
18877 * nscd/Makefile: Likewise.
18878 * hurd/Makefile: Likewise.
18879 * manual/Makefile: Likewise.
18880 * locale/Makefile: Likewise.
18881 * intl/Makefile: Likewise.
18882 * conform/Makefile: Likewise.
18883 * nss/Makefile: Likewise.
18884 * time/Makefile: Likewise.
18885 * soft-fp/Makefile: Likewise.
18886 * dirent/Makefile: Likewise.
18887 * gmon/Makefile: Likewise.
18888 * po/Makefile: Likewise.
18889 * rt/Makefile: Likewise.
18890 * socket/Makefile: Likewise.
18891 * math/Makefile: Likewise.
18892 * signal/Makefile: Likewise.
18893 * debug/Makefile: Likewise.
18894 * elf/Makefile: Likewise.
18895 * timezone/Makefile: Likewise.
18896 * stdlib/Makefile: Likewise.
18897 * iconvdata/Makefile: Likewise.
18898 * sunrpc/Makefile: Likewise.
18899 * io/Makefile: Likewise.
18900 * argp/Makefile: Likewise.
18901 * inet/Makefile: Likewise.
18902 * hesiod/Makefile: Likewise.
18903 * grp/Makefile: Likewise.
18904 * csu/Makefile: Likewise.
18905 * wctype/Makefile: Likewise.
18906 * crypt/Makefile: Likewise.
18907 * libio/Makefile: Likewise.
18908 * string/Makefile: Likewise.
18909 * nis/Makefile: Likewise.
18910 * resolv/Makefile: Likewise.
18911 * stdio-common/Makefile: Likewise.
18912 * wcsmbs/Makefile: Likewise.
18913 * dlfcn/Makefile: Likewise.
18914 * posix/Makefile: Likewise.
18917 * timezone/Makefile: Don't install timezone files, just the programs
18920 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18922 * nss/databases.def: Add missing gshadow entry.
18924 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18926 2012-03-06 Marek Polacek <polacek@redhat.com>
18929 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18930 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18931 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18932 * stdio-common/tst-long-dbl-fphex.c: New file.
18934 2012-03-06 David S. Miller <davem@davemloft.net>
18936 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18937 (set_obp_int): New function.
18938 (get_obp_int): New function.
18939 (__get_clockfreq_via_dev_openprom): Likewise.
18940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18941 Avoid unused variable warnings on 'val' and use builtin_expect.
18942 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18944 (INLINE_CLONE_SYSCALL): Likewise.
18946 2012-03-05 David S. Miller <davem@davemloft.net>
18948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18950 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18954 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18955 only for |x| >= 40.
18956 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18958 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18960 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18961 Replace gettimeofday with __vdso_gettimeofday.
18963 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18964 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18965 __vdso_clock_gettime and __vdso_getcpu.
18967 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18968 time with __vdso_time.
18970 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18972 * manual/lang.texi (size_t): Note types to which size_t may be
18973 equivalent with the GNU C Library, but do not describe when
18974 differences between them are significant.
18976 2012-03-05 Andreas Jaeger <aj@suse.de>
18978 * sysdeps/i386/fpu/libm-test-ulps: Update.
18980 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18983 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18984 (__ieee754_pow): Save and restore rounding mode and use
18985 round-to-nearest for main computations.
18986 * math/libm-test.inc (pow_test_tonearest): New function.
18987 (pow_test_towardzero): Likewise.
18988 (pow_test_downward): Likewise.
18989 (pow_test_upward): Likewise.
18990 (main): Call the new functions.
18991 * sysdeps/i386/fpu/libm-test-ulps: Update.
18992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18995 * math/libm-test.inc (cosh_test_tonearest): New function.
18996 (cosh_test_towardzero): Likewise.
18997 (cosh_test_downward): Likewise.
18998 (cosh_test_upward): Likewise.
18999 (sinh_test_tonearest): Likewise.
19000 (sinh_test_towardzero): Likewise.
19001 (sinh_test_downward): Likewise.
19002 (sinh_test_upward): Likewise.
19003 (main): Call the new functions.
19004 * sysdeps/i386/fpu/libm-test-ulps: Update.
19005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19007 2012-03-05 Tom de Vries <tom@codesourcery.com>
19009 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19010 default stack guard is set in last bytes.
19011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19013 2012-03-05 Kees Cook <keescook@chromium.org>
19015 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19018 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19019 possibly allocate from heap instead of stack.
19020 * stdio-common/bug-vfprintf-nargs.c: New file.
19021 * stdio-common/Makefile (tests): Add nargs overflow test.
19023 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19027 2012-03-03 Marek Polacek <polacek@redhat.com>
19029 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19030 * math/math_private.h: Likewise.
19031 * stdlib/tst-strtod.c: Likewise.
19032 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19033 * sysdeps/x86_64/bits/atomic.h: Likewise.
19035 2012-03-02 David S. Miller <davem@davemloft.net>
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19041 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19042 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19043 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19044 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19046 2012-03-02 Roland McGrath <roland@hack.frob.com>
19049 * manual/examples/README: New file, says the example source files
19050 can be used under GPL>=2.
19051 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19052 line containing just "*/".
19053 * manual/examples/add.c: Add copyright header (GPL>=2).
19054 * manual/examples/argp-ex1.c: Likewise.
19055 * manual/examples/argp-ex2.c: Likewise.
19056 * manual/examples/argp-ex3.c: Likewise.
19057 * manual/examples/argp-ex4.c: Likewise.
19058 * manual/examples/atexit.c: Likewise.
19059 * manual/examples/db.c: Likewise.
19060 * manual/examples/dir.c: Likewise.
19061 * manual/examples/dir2.c: Likewise.
19062 * manual/examples/execinfo.c: Likewise.
19063 * manual/examples/filecli.c: Likewise.
19064 * manual/examples/filesrv.c: Likewise.
19065 * manual/examples/fmtmsgexpl.c: Likewise.
19066 * manual/examples/genpass.c: Likewise.
19067 * manual/examples/inetcli.c: Likewise.
19068 * manual/examples/inetsrv.c: Likewise.
19069 * manual/examples/isockad.c: Likewise.
19070 * manual/examples/longopt.c: Likewise.
19071 * manual/examples/memopen.c: Likewise.
19072 * manual/examples/memstrm.c: Likewise.
19073 * manual/examples/mkfsock.c: Likewise.
19074 * manual/examples/mkisock.c: Likewise.
19075 * manual/examples/mygetpass.c: Likewise.
19076 * manual/examples/pipe.c: Likewise.
19077 * manual/examples/popen.c: Likewise.
19078 * manual/examples/rprintf.c: Likewise.
19079 * manual/examples/search.c: Likewise.
19080 * manual/examples/select.c: Likewise.
19081 * manual/examples/setjmp.c: Likewise.
19082 * manual/examples/sigh1.c: Likewise.
19083 * manual/examples/sigusr.c: Likewise.
19084 * manual/examples/stpcpy.c: Likewise.
19085 * manual/examples/strdupa.c: Likewise.
19086 * manual/examples/strftim.c: Likewise.
19087 * manual/examples/strncat.c: Likewise.
19088 * manual/examples/subopt.c: Likewise.
19089 * manual/examples/swapcontext.c: Likewise.
19090 * manual/examples/termios.c: Likewise.
19091 * manual/examples/testopt.c: Likewise.
19092 * manual/examples/testpass.c: Likewise.
19093 * manual/examples/timeval_subtract.c: Likewise.
19096 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19098 * manual/timeval_subtract.c.texi: ... here, new file.
19100 2012-03-02 David S. Miller <davem@davemloft.net>
19102 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19104 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19107 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19108 (__sin): Save and restore rounding mode and use round-to-nearest
19109 for all computations.
19110 (__cos): Save and restore rounding mode and use round-to-nearest
19111 for all computations.
19112 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19114 (tan): Save and restore rounding mode and use round-to-nearest for
19116 * math/libm-test.inc (cos_test_tonearest): New function.
19117 (cos_test_towardzero): Likewise.
19118 (cos_test_downward): Likewise.
19119 (cos_test_upward): Likewise.
19120 (sin_test_tonearest): Likewise.
19121 (sin_test_towardzero): Likewise.
19122 (sin_test_downward): Likewise.
19123 (sin_test_upward): Likewise.
19124 (tan_test_tonearest): Likewise.
19125 (tan_test_towardzero): Likewise.
19126 (tan_test_downward): Likewise.
19127 (tan_test_upward): Likewise.
19128 (main): Call the new functions.
19129 * sysdeps/i386/fpu/libm-test-ulps: Update.
19130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19133 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19134 small n, then large n, before computing and testing k+n.
19135 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19138 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19140 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19141 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19142 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19143 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19146 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19147 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19148 * math/libm-test.inc (scalbn_test): Add more tests.
19149 (scalbln_test): Likewise.
19151 * manual/filesys.texi (mode_t): Describe constraints on size and
19152 signedness, not exact equivalence to a particular type.
19154 (ino64_t): Likewise.
19156 (nlink_t): Likewise.
19157 (blkcnt_t): Likewise.
19158 (blkcnt64_t): Likewise.
19159 * manual/llio.texi (off_t): Likewise.
19162 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19163 (__ieee754_exp): Save and restore rounding mode and use
19164 round-to-nearest for all computations.
19165 * math/libm-test.inc (exp_test_tonearest): New function.
19166 (exp_test_towardzero): Likewise.
19167 (exp_test_downward): Likewise.
19168 (exp_test_upward): Likewise.
19169 (main): Call the new functions.
19170 * sysdeps/i386/fpu/libm-test-ulps: Update.
19171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19173 2012-03-01 Chris Demetriou <cgd@google.com>
19175 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19176 have predictable order.
19178 2012-03-01 David S. Miller <davem@davemloft.net>
19180 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19182 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19183 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19184 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19185 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19187 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19188 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19189 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19191 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19192 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19193 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19194 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19195 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19200 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19201 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19203 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19204 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19205 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19206 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19207 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19208 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19209 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19210 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19211 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19212 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19213 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19214 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19216 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19217 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19219 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19220 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19221 * sysdeps/sparc/elf/configure: Regenerated.
19223 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19225 * configure.in (AS, LD): Require binutils 2.20 or later.
19226 * configure: Regenerated.
19227 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19228 as required minimum version.
19229 * INSTALL: Regenerated.
19233 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19234 before squaring exponent.
19235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19236 bottom long double and 27 bits of top long double before squaring
19238 * math/libm-test.inc (erfc_test): Add more tests.
19239 * sysdeps/i386/fpu/libm-test-ulps: Update.
19240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19243 2012-03-01 Kai Tietz <ktietz@redhat.com>
19245 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19246 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19247 containing bit-fields.
19248 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19249 * soft-fp/single.h (_FP_UNION_S): Likewise.
19250 * soft-fp/double.h (_FP_UNION_D): Likewise.
19252 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19255 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19256 not include ../strcmp.S.
19257 [USE_AS_STRNCASECMP_L]: Likewise.
19258 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19259 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19260 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19261 (__strncasecmp_l_ia32): Define as alias to
19262 __strncasecmp_l_nonascii.
19265 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19266 * sysdeps/i386/fpu/libm-test-ulps: Update.
19267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19269 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19272 2012-02-29 Jeff Law <law@redhat.com>
19274 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19275 out of bounds read.
19277 2012-02-29 Marek Polacek <polacek@redhat.com>
19280 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19281 * elf/Makefile: Add rules to run tst-unused-dep.out.
19283 2012-02-28 David S. Miller <davem@davemloft.net>
19285 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19286 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19289 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19290 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19292 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19294 * math/libm-test.inc (llround_test): Move one test from
19295 lround_test. Use TEST_f_L in moved test.
19296 (lround_test): Move misplaced test to llround_test. Add testcase
19299 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19301 * sysdeps/x86_64/fpu/e_expf.S: New file.
19302 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19304 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19307 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19308 of remain_len that may cause incomplete multi-byte character and
19310 * posix/bug-regex33.c: New file.
19311 * posix/Makefile (tests): Add bug-regex33.
19313 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19315 * manual/macros.texi: New file.
19316 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19317 * manual/libc.texinfo: Include macros.texi.
19318 * manual/creatute.texi: Likewise.
19319 * manual/install.texi: Likewise.
19320 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19321 @glibcadj{} in references to the GNU C Library.
19322 * manual/charset.texi: Likewise.
19323 * manual/conf.texi: Likewise.
19324 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19325 when not using those macros.
19326 * manual/creature.texi: Likewise.
19327 * manual/crypt.texi: Likewise.
19328 * manual/errno.texi: Likewise.
19329 * manual/filesys.texi: Likewise.
19330 * manual/header.texi: Likewise.
19331 * manual/install.texi: Likewise.
19332 * manual/intro.texi: Likewise.
19333 * manual/io.texi: Likewise.
19334 * manual/job.texi: Likewise.
19335 * manual/lang.texi: Likewise.
19336 * manual/libc.texiinfo: Likewise.
19337 * manual/llio.texi: Likewise.
19338 * manual/locale.texi: Likewise.
19339 * manual/maint.texi: Likewise.
19340 * manual/math.texi: Likewise.
19341 * manual/memory.texi: Likewise.
19342 * manual/message.texi: Likewise.
19343 * manual/nss.texi: Likewise.
19344 * manual/pattern.texi: Likewise.
19345 * manual/process.texi: Likewise.
19346 * manual/resource.texi: Likewise.
19347 * manual/search.texi: Likewise.
19348 * manual/setjmp.texi: Likewise.
19349 * manual/signal.texi: Likewise.
19350 * manual/socket.texi: Likewise.
19351 * manual/startup.texi: Likewise.
19352 * manual/stdio.texi: Likewise.
19353 * manual/string.texi: Likewise.
19354 * manual/sysinfo.texi: Likewise.
19355 * manual/syslog.texi: Likewise.
19356 * manual/terminal.texi: Likewise.
19357 * manual/time.texi: Likewise.
19358 * manual/users.texi: Likewise.
19359 * INSTALL: Regenerated.
19360 * NOTES: Regenerated.
19361 * sysdeps/gnu/errlist.c: Regenerated.
19363 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19365 * include/dirent.h: Include <dirstream.h> before
19368 2012-02-28 David S. Miller <davem@davemloft.net>
19370 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19371 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19372 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19373 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19375 2012-02-27 David S. Miller <davem@davemloft.net>
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19379 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19380 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19383 frame pointer instead of stack pointer relative arg slot.
19384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19385 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19386 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19388 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19391 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19393 2012-02-27 David S. Miller <davem@davemloft.net>
19395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19399 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19400 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19401 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19402 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19404 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19406 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19407 later. Allow versions 5-9.
19408 * configure: Regenerated.
19409 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19410 required minimum version and 4.6 as recommended version. Do not
19411 mention bugs in GCC 2.7 and 2.8.
19412 * INSTALL: Regenerated.
19414 2012-02-27 David S. Miller <davem@davemloft.net>
19416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19422 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19423 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19426 manipulate bits before adding and subtracting TWO112[sx].
19427 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19429 2012-02-27 Roland McGrath <roland@hack.frob.com>
19432 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19433 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19434 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19435 being in POSIX, because they are in 1003.1-2008.
19437 * rt/tst-aio.c: Include <fcntl.h>.
19438 * rt/tst-aio7.c: Likewise.
19439 * rt/tst-aio64.c: Likewise.
19441 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19443 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19445 * manual/install.texi (--with-headers): Describe headers as
19446 interface headers, not private headers.
19447 (Specific advice for GNU/Linux systems): Describe use of headers
19448 from "make headers_install", not private headers from older
19450 * INSTALL: Regenerated.
19451 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19453 * sysdeps/unix/sysv/linux/configure: Regenerated.
19455 * manual/llio.texi (fclean): Remove documentation.
19457 * manual/Makefile (libc-texi-generated): New variable. Include
19459 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19460 $(libc-texi-generated), not duplicated list of files.
19461 (version.texi, stamp-version): New rules.
19462 (realclean): Remove $(libc-texi-generated), not individual files
19463 from that list. Do not remove dir-add.texinfo.
19464 * manual/libc.texinfo: Comment out uses of edition numbers and
19465 references to printed manual. Remove last-updated dates.
19466 (EDITION): Comment out.
19468 (VERSION, UPDATED): Remove.
19469 (version.texi): Include.
19471 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19473 * sysdeps/posix/spawni.c: Include <signal.h>.
19474 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19475 * sysdeps/pthread/aio_fsync.c: Likewise.
19477 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19479 * conform/Makefile (tests): Run only when not cross-compiling and
19480 when fast-check is not defined.
19482 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19483 * conform/data/limits.h-data: Fixes for POSIX2008.
19484 * conform/run-conformtest.sh: Run all tests.
19485 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19487 * include/bits/dlfcn.h: Likewise.
19488 * include/langinfo.h: Likewise.
19489 * include/monetary.h: Likewise.
19490 * include/sys/poll.h: Likewise.
19492 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19494 * posix/spawn.h: Define __need_sigset_t.
19495 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19496 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19497 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19498 to get sigevent_t only.
19499 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19500 only for __USE_GNU.
19501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19502 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19503 process_vm_writev only for __USE_GNU.
19504 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19506 * conform/Makefile: For now ignore errors from run-conformtest.
19507 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19508 POSIX to avoid namespace pollution. Don't prepend headers.
19509 * conform/data/aio.h-data: Fixes for POSIX testing.
19510 * conform/data/fcntl.h-data: Likewise.
19511 * conform/data/glob.h-data: Likewise.
19512 * conform/data/grp.h-data: Likewise.
19513 * conform/data/pthread.h-data: Likewise.
19514 * conform/data/pwd.h-data: Likewise.
19515 * conform/data/signal.h-data: Likewise.
19516 * conform/data/spawn.h-data: Likewise.
19517 * conform/data/stdio.h-data: Likewise.
19518 * conform/data/stdlib.h-data: Likewise.
19519 * conform/data/stropts.h-data: Likewise.
19520 * conform/data/sys/mman.h-data: Likewise.
19521 * conform/data/sys/stat.h-data: Likewise.
19522 * conform/data/sys/types.h-data: Likewise.
19523 * conform/data/sys/wait.h-data: Likewise.
19524 * conform/data/time.h-data: Likewise.
19525 * conform/data/unistd.h-data: Likewise.
19526 * conform/data/utime.h-data: Likewise.
19528 * io/sys/stat.h: fchmod was always in POSIX.
19529 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19530 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19531 * rt/aio.h: Define __need_timespec before including <time.h>.
19532 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19533 struct. Add forward declaration of pthread_attr_t and use it in
19535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19537 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19538 always remove CLK_TCK definition.
19540 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19542 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19544 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19546 * conform/run-conformtest.sh: New file.
19547 * conform/Makefile: Run run-conformtest for tests.
19548 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19551 * conform/data/uchar.h-data: New file.
19552 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19553 * conform/data/arpa/inet.h-data: Likewise.
19554 * conform/data/assert.h-data: Likewise.
19555 * conform/data/complex.h-data: Likewise.
19556 * conform/data/cpio.h-data: Likewise.
19557 * conform/data/ctype.h-data: Likewise.
19558 * conform/data/dirent.h-data: Likewise.
19559 * conform/data/dlfcn.h-data: Likewise.
19560 * conform/data/errno.h-data: Likewise.
19561 * conform/data/fcntl.h-data: Likewise.
19562 * conform/data/float.h-data: Likewise.
19563 * conform/data/fmtmsg.h-data: Likewise.
19564 * conform/data/fnmatch.h-data: Likewise.
19565 * conform/data/ftw.h-data: Likewise.
19566 * conform/data/glob.h-data: Likewise.
19567 * conform/data/grp.h-data: Likewise.
19568 * conform/data/iconv.h-data: Likewise.
19569 * conform/data/inttypes.h-data: Likewise.
19570 * conform/data/langinfo.h-data: Likewise.
19571 * conform/data/libgen.h-data: Likewise.
19572 * conform/data/limits.h-data: Likewise.
19573 * conform/data/locale.h-data: Likewise.
19574 * conform/data/math.h-data: Likewise.
19575 * conform/data/monetary.h-data: Likewise.
19576 * conform/data/mqueue.h-data: Likewise.
19577 * conform/data/ndbm.h-data: Likewise.
19578 * conform/data/net/if.h-data: Likewise.
19579 * conform/data/netdb.h-data: Likewise.
19580 * conform/data/netinet/in.h-data: Likewise.
19581 * conform/data/nl_types.h-data: Likewise.
19582 * conform/data/poll.h-data: Likewise.
19583 * conform/data/pthread.h-data: Likewise.
19584 * conform/data/pwd.h-data: Likewise.
19585 * conform/data/regex.h-data: Likewise.
19586 * conform/data/sched.h-data: Likewise.
19587 * conform/data/search.h-data: Likewise.
19588 * conform/data/semaphore.h-data: Likewise.
19589 * conform/data/setjmp.h-data: Likewise.
19590 * conform/data/signal.h-data: Likewise.
19591 * conform/data/spawn.h-data: Likewise.
19592 * conform/data/stdarg.h-data: Likewise.
19593 * conform/data/stdio.h-data: Likewise.
19594 * conform/data/stdlib.h-data: Likewise.
19595 * conform/data/string.h-data: Likewise.
19596 * conform/data/strings.h-data: Likewise.
19597 * conform/data/stropts.h-data: Likewise.
19598 * conform/data/sys/ipc.h-data: Likewise.
19599 * conform/data/sys/mman.h-data: Likewise.
19600 * conform/data/sys/msg.h-data: Likewise.
19601 * conform/data/sys/resource.h-data: Likewise.
19602 * conform/data/sys/select.h-data: Likewise.
19603 * conform/data/sys/sem.h-data: Likewise.
19604 * conform/data/sys/shm.h-data: Likewise.
19605 * conform/data/sys/socket.h-data: Likewise.
19606 * conform/data/sys/stat.h-data: Likewise.
19607 * conform/data/sys/statvfs.h-data: Likewise.
19608 * conform/data/sys/time.h-data: Likewise.
19609 * conform/data/sys/timeb.h-data: Likewise.
19610 * conform/data/sys/times.h-data: Likewise.
19611 * conform/data/sys/types.h-data: Likewise.
19612 * conform/data/sys/uio.h-data: Likewise.
19613 * conform/data/sys/un.h-data: Likewise.
19614 * conform/data/sys/utsname.h-data: Likewise.
19615 * conform/data/sys/wait.h-data: Likewise.
19616 * conform/data/syslog.h-data: Likewise.
19617 * conform/data/tar.h-data: Likewise.
19618 * conform/data/termios.h-data: Likewise.
19619 * conform/data/utime.h-data: Likewise.
19620 * conform/data/utmpx.h-data: Likewise.
19621 * conform/data/varargs.h-data: Likewise.
19622 * conform/data/wchar.h-data: Likewise.
19623 * conform/data/wctype.h-data: Likewise.
19624 * conform/data/wordexp.h-data: Likewise.
19626 * include/stropts.h: New file.
19627 * include/uchar.h: New file.
19628 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19629 * include/assert.h: Likewise.
19630 * include/ctype.h: Likewise.
19631 * include/dirent.h: Likewise.
19632 * include/dlfcn.h: Likewise.
19633 * include/fcntl.h: Likewise.
19634 * include/fnmatch.h: Likewise.
19635 * include/glob.h: Likewise.
19636 * include/grp.h: Likewise.
19637 * include/libio.h: Likewise.
19638 * include/locale.h: Likewise.
19639 * include/math.h: Likewise.
19640 * include/net/if.h: Likewise.
19641 * include/netdb.h: Likewise.
19642 * include/netinet/in.h: Likewise.
19643 * include/pthread.h: Likewise.
19644 * include/pwd.h: Likewise.
19645 * include/regex.h: Likewise.
19646 * include/sched.h: Likewise.
19647 * include/search.h: Likewise.
19648 * include/setjmp.h: Likewise.
19649 * include/signal.h: Likewise.
19650 * include/stdio.h: Likewise.
19651 * include/stdlib.h: Likewise.
19652 * include/string.h: Likewise.
19653 * include/sys/cdefs.h: Likewise.
19654 * include/sys/mman.h: Likewise.
19655 * include/sys/msg.h: Likewise.
19656 * include/sys/resource.h: Likewise.
19657 * include/sys/select.h: Likewise.
19658 * include/sys/socket.h: Likewise.
19659 * include/sys/stat.h: Likewise.
19660 * include/sys/statvfs.h: Likewise.
19661 * include/sys/time.h: Likewise.
19662 * include/sys/times.h: Likewise.
19663 * include/sys/uio.h: Likewise.
19664 * include/sys/utsname.h: Likewise.
19665 * include/sys/wait.h: Likewise.
19666 * include/termios.h: Likewise.
19667 * include/time.h: Likewise.
19668 * include/ulimit.h: Likewise.
19669 * include/unistd.h: Likewise.
19670 * include/utime.h: Likewise.
19671 * include/wchar.h: Likewise.
19672 * include/wctype.h: Likewise.
19673 * include/wordexp.h: Likewise.
19675 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19677 * time/time.h: TIME_UTC must be a macro.
19678 Make timespec_get available for ISO C11 only as well.
19680 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19682 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19683 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19685 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19687 * configure.in: Use -o not -a in test for unsupported multi-arch.
19689 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19691 * manual/texinfo.tex: Update to version 2012-01-19.16.
19693 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19695 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19697 2012-02-24 Roland McGrath <roland@hack.frob.com>
19700 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19701 * manual/fdl-1.3.texi: New file.
19702 * manual/fdl-1.1.texi: File removed.
19705 * manual/libc.texinfo (FDL_VERSION): New @set.
19706 Use it for mention of FDL in cover text.
19707 (Documentation License): Use it in @include file name.
19709 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19710 Roland McGrath <roland@hack.frob.com>
19713 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19714 not LONG_LONG_MAX and LONG_LONG_MIN.
19715 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19716 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19718 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19720 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19724 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19725 manipulate bits before adding and subtracting TWO23[sx].
19726 * math/libm-test.inc (nearbyint_test): Add more tests.
19728 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19731 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19732 bits before adding and subtracting TWO23[sx].
19733 * math/libm-test.inc (rint_test): Add more tests.
19734 (rint_test_tonearest): Likewise.
19735 (rint_test_towardzero): Likewise.
19736 (rint_test_downward): Likewise.
19737 (rint_test_upward: Likewise.
19739 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19742 * include/stdc-predef.h: New file. Extracted from features.h.
19743 * include/features.h: Include stdc-predef.h.
19744 * Makefile (headers): Add stdc-predef.h.
19745 * CONFORMANCE (Compiler limitations): Update.
19747 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19749 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19751 2012-02-21 David S. Miller <davem@davemloft.net>
19753 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19754 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19756 2012-02-20 David S. Miller <davem@davemloft.net>
19758 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19759 using a normal save/restore sequence, rather than allocating a
19760 dummy stack frame just to store a frame pointer and restore.
19761 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19763 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19765 * manual/install.texi: Fix stray word in line-wrapped comment.
19767 2012-02-20 David S. Miller <davem@davemloft.net>
19769 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19770 both binutils and gcc support GOTDATA.
19772 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19773 "rd %pc" in the PIC register setup sequences.
19775 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19776 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19777 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19778 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19779 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19781 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19782 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19784 (SYSCALL_ERROR_HANDLER): Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19788 (SYSCALL_ERROR_HANDLER): Likewise.
19790 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19791 (HAVE_GCC_GOTDATA): New.
19792 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19793 relocation support in both binutils and gcc.
19794 * sysdeps/sparc/elf/configure: Regenerate.
19796 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19797 * sysdeps/sparc/sparc32/elf/configure: Delete.
19798 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19799 * sysdeps/sparc/sparc64/elf/configure: Delete.
19800 * sysdeps/sparc/elf/configure.in: New file.
19801 * sysdeps/sparc/elf/configure: Generate.
19803 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19804 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19805 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19806 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19807 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19809 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19811 * manual/install.texi: Do not mention specific glibc version
19813 * manual/libc.texinfo (VERSION, UPDATED): Update.
19814 (@copying): Use @copyright{} and range of years.
19816 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19819 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19820 [crti.S not in sysdirs] (generated): Do not append.
19821 [crti.S not in sysdirs] (omit-deps): Likewise.
19822 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19823 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19824 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19825 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19826 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19828 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19829 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19830 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19831 * csu/defs.awk: Remove file.
19832 * sysdeps/generic/initfini.c: Likewise.
19833 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19835 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19838 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19840 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19841 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19842 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19843 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19844 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19845 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19847 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19848 (__EPOLL_PACKED): Define to empty if not defined by
19850 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19854 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19856 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19857 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19858 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19859 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19861 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19865 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19867 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19870 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19874 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19876 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19877 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19879 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19881 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19882 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19884 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19886 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19889 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19891 * math/w_acos.c: Use non-signaling floating-point comparisons.
19892 * math/w_acosf.c: Likewise.
19893 * math/w_acosh.c: Likewise.
19894 * math/w_acoshf.c: Likewise.
19895 * math/w_acoshl.c: Likewise.
19896 * math/w_acosl.c: Likewise.
19897 * math/w_asin.c: Likewise.
19898 * math/w_asinf.c: Likewise.
19899 * math/w_asinl.c: Likewise.
19900 * math/w_atanh.c: Likewise.
19901 * math/w_atanhf.c: Likewise.
19902 * math/w_atanhl.c: Likewise.
19903 * math/w_exp2.c: Likewise.
19904 * math/w_exp2f.c: Likewise.
19905 * math/w_exp2l.c: Likewise.
19906 * math/w_j0.c: Likewise.
19907 * math/w_j0f.c: Likewise.
19908 * math/w_j0l.c: Likewise.
19909 * math/w_j1.c: Likewise.
19910 * math/w_j1f.c: Likewise.
19911 * math/w_j1l.c: Likewise.
19912 * math/w_jn.c: Likewise.
19913 * math/w_jnf.c: Likewise.
19914 * math/w_log.c: Likewise.
19915 * math/w_log10.c: Likewise.
19916 * math/w_log10f.c: Likewise.
19917 * math/w_log10l.c: Likewise.
19918 * math/w_log2.c: Likewise.
19919 * math/w_log2f.c: Likewise.
19920 * math/w_log2l.c: Likewise.
19921 * math/w_logf.c: Likewise.
19922 * math/w_logl.c: Likewise.
19923 * math/w_sqrt.c: Likewise.
19924 * math/w_sqrtf.c: Likewise.
19925 * math/w_sqrtl.c: Likewise.
19926 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19928 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19929 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19930 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19932 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19935 * manual/string.texi (strnlen): Use correct parameter name in
19936 equivalent expression.
19938 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19941 * manual/users.texi (seteuid): Consistently use neweuid for
19944 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19947 * manual/nss.texi (Services in the NSS configuration): Correct
19948 list of services in example configuration file.
19950 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19953 * manual/arith.texi: Remove statements about negative zero
19954 behaving identically to zero.
19956 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19959 * manual/install.texi: Do not document upgrading from libc5.
19961 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19964 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19966 2012-02-18 David S. Miller <davem@davemloft.net>
19968 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19969 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19970 %o7 across the call.
19971 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19974 SETUP_PIC_REG_LEAF.
19975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19976 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19977 * sysdeps/sparc/crtn.S: Likewise.
19979 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19981 * aout/Makefile: Remove.
19983 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19986 * manual/examples/argp-ex1.c (main): Format definition in GNU
19988 * manual/examples/argp-ex2.c (main): Likewise.
19989 * manual/examples/argp-ex3.c (main): Likewise.
19990 * manual/examples/argp-ex4.c (main): Likewise.
19991 * manual/examples/longopt.c (main): Use new-style prototype
19993 * manual/examples/strncat.c (main): Specify return type and use
19994 (void) for arguments.
19995 * manual/examples/subopt.c (main): Use char **argv argument.
19997 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20000 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20003 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20006 * manual/string.texi (strchr): Change when strchrnul is
20009 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20012 * manual/locale.texi (setlocale): Document LOCPATH.
20014 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20017 * manual/process.texi (execle): Move @dots{} before last argument.
20019 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20022 * manual/charset.texi (Generic Charset Conversion): Fix typo
20023 (LC_TYPE -> LC_CTYPE).
20025 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20028 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20029 (scalbnf): Likewise.
20030 (scalbnl): Likewise.
20031 (scalbln): Likewise.
20032 (scalblnf): Likewise.
20033 (scalblnl): Likewise.
20034 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20035 (vwarnx): Likewise.
20038 * manual/filesys.texi (telldir): Use braces around return type.
20039 * manual/llio.texi (mmap): Add space after comma.
20040 (mmap64): Likewise.
20041 * manual/math.texi (jn): Use @var{} on parameter names.
20047 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20049 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20051 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20052 (sched_get_priority_max): Likewise.
20053 * manual/signal.texi (sigvec): Add space after comma.
20054 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20056 (if_indextoname): Likewise.
20057 (if_freenameindex): Likewise.
20058 (sendto): Use ',' instead of '.' in prototype.
20059 * manual/startup.texi (syscall): Use @dots{} instead of literal
20061 * manual/stdio.texi (__fpending): Separate initial words of
20062 paragraph from @deftypefun line.
20063 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20065 (vsyslog): Use @var{} on parameter names.
20066 * manual/terminal.texi (stty): Use @var{} on parameter names.
20067 * manual/users.texi (getutmp): Use @var{} on parameter names.
20068 (getutmpx): Likewise.
20070 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20073 * manual/stdio.texi (fopen): Fix typos in description of
20076 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20079 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20080 get clock_id definition.
20082 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20085 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20086 (madvise): Cast every argument to void on its own.
20088 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20091 * manual/startup.texi (Exit Status): Fix typo.
20093 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20096 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20097 * manual/examples/argp-ex2.c: Likewise.
20098 * manual/examples/argp-ex3.c: Likewise.
20100 2012-02-16 Richard Henderson <rth@redhat.com>
20102 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20103 * sysdeps/s390/s390-32/initfini.c: Remove.
20104 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20105 * sysdeps/s390/s390-64/initfini.c: Remove.
20107 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20109 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20110 compiler output for sysdeps/generic/initfini.c.
20111 * sysdeps/sh/elf/initfini.c: Remove file.
20113 2012-02-16 David S. Miller <davem@davemloft.net>
20116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20118 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20119 * sysdeps/sparc/crti.S: New file.
20120 * sysdeps/sparc/crtn.S: New file.
20121 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20122 * sysdeps/sparc/sparc64/Makefile: Likewise.
20124 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20127 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20129 2012-02-15 Roland McGrath <roland@hack.frob.com>
20132 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20134 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20135 (write, read, close): Likewise.
20136 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20138 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20141 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20142 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20143 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20145 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20149 2012-02-14 Marek Polacek <polacek@redhat.com>
20151 * sysdeps/x86_64/crti.S: New file.
20152 * sysdeps/x86_64/crtn.S: New file.
20153 * sysdeps/x86_64/elf/initfini.c: Remove file.
20155 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20157 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20158 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20159 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20160 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20162 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20166 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20168 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20169 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20170 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20171 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20173 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20177 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20179 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20180 __feraiseexcept instead of feraiseexcept.
20182 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20183 nanosleep invocations.
20184 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20185 strings, and add error checking for a nanosleep invocations.
20187 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20189 Replace FSF snail mail address with URLs, as per GNU coding standards.
20190 Most of the snail mail addresses were wrong anyway, and omitting
20191 them makes the source code easier to maintain. Almost all of the
20192 changes are to license notices and to locale LC_IDENTIFICATION
20193 addresses, except for this one:
20194 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20195 not its snail mail address.
20197 2012-02-09 Richard Henderson <rth@twiddle.net>
20199 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20200 of kernel-features.h.
20202 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20204 2012-02-08 Marek Polacek <polacek@redhat.com>
20206 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20207 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20208 * sysdeps/gnu/_G_config.h: Likewise.
20209 * sysdeps/generic/_G_config.h: Likewise.
20211 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20213 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20217 * sysdeps/powerpc/powerpc32/crti.S: New file.
20218 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20219 * sysdeps/powerpc/powerpc64/crti.S: New file.
20220 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20222 * Makeconfig (have-initfini): Don't set.
20223 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20224 * configure.in (nopic_initfini): Don't substitute.
20225 * config.h.in (HAVE_INITFINI): Don't #undef.
20226 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20227 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20229 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20231 Support crti.S and crtn.S provided directly by architectures.
20232 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20233 [crti.S in sysdirs] (omit-deps): Likewise.
20234 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20235 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20236 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20237 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20238 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20239 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20240 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20241 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20242 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20243 compiler output for sysdeps/generic/initfini.c.
20244 * sysdeps/i386/elf/Makefile: Remove file.
20245 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20247 2012-02-07 Marek Polacek <polacek@redhat.com>
20249 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20250 * sysdeps/gnu/_G_config.h: Likewise.
20251 * sysdeps/mach/hurd/_G_config.h: Likewise.
20253 2012-02-07 Marek Polacek <polacek@redhat.com>
20255 * math/Makefile (tests): Add tst-CMPLX2.
20256 * math/tst-CMPLX2.c: New file.
20258 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20260 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20262 * math/libm-test.inc (jn_test): Add missing L suffix.
20264 2012-02-06 Marek Polacek <polacek@redhat.com>
20266 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20267 * sysdeps/i386/fpu/e_powf.S: Likewise.
20268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20269 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20270 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20271 * sysdeps/i386/fpu/e_pow.S: Likewise.
20272 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20273 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20274 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20275 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20276 * sysdeps/i386/fpu/e_log2.S: Likewise.
20277 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20278 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20279 * sysdeps/i386/fpu/e_powl.S: Likewise.
20280 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20281 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20282 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20283 * sysdeps/i386/fpu/e_logl.S: Likewise.
20284 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20285 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20286 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20287 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20288 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20289 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20290 * sysdeps/i386/fpu/e_log.S: Likewise.
20291 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20292 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20293 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20294 * sysdeps/i386/fpu/e_logf.S: Likewise.
20295 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20296 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20297 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20298 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20299 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20300 * sysdeps/i386/fpu/e_log10.S: Likewise.
20301 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20302 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20303 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20304 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20305 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20306 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20307 * sysdeps/i386/asm-syntax.h: Likewise.
20308 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20310 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20311 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20312 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20314 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20315 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20316 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20317 * sysdeps/powerpc/sysdep.h: Likewise.
20318 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20319 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20321 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20324 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20326 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20328 * sysdeps/i386/sysdep.h: Include <features.h>.
20329 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20332 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20336 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20339 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20341 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20342 (SETUP_PIC_REG): Use GET_PC_THUNK.
20343 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20346 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20348 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20349 for non-PIC compilation.
20350 (SETUP_PIC_REG): Add .p2align directive.
20351 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20352 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20353 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20354 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20355 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20356 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20357 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20359 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20360 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20361 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20363 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20364 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20365 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20366 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20367 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20368 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20369 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20370 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20371 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20373 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20374 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20377 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20384 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20385 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20386 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20387 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20388 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20389 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20390 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20391 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20393 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20395 * math/tst-CMPLX.c: Include <stdio.h>.
20397 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20399 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20401 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20402 * sysdeps/sparc/bits/mathdef.h: Likewise.
20404 2012-01-31 Marek Polacek <polacek@redhat.com>
20406 * libio/libio.h: Don't define _PARAMS.
20407 * locale/programs/config.h: Don't define PARAMS.
20408 * stdlib/strtol_l.c: Likewise.
20409 (__strtol_l): Remove PARAMS from the prototype.
20411 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20413 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20414 names. Just use the correct names. Remove unnecessary wrapper
20416 * malloc/arena.c: Likewise.
20417 * malloc/hooks.c: Likewise.
20419 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20420 ARENA_TEST says not to. Simplify test for creation of a new arena.
20421 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20423 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20425 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20427 (update_get_addr): New function.
20428 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20429 GET_ADDR_MODULE parameter.
20431 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20433 * crypt/cert.c: Remove __STDC__ conditionals.
20434 * crypt/crypt-entry.c: Likewise.
20435 * crypt/crypt_util.c: Likewise.
20436 * libio/filedoalloc.c: Likewise.
20437 * libio/fileops.c: Likewise.
20438 * libio/genops.c: Likewise.
20439 * libio/iofclose.c: Likewise.
20440 * libio/iofdopen.c: Likewise.
20441 * libio/iofopen.c: Likewise.
20442 * libio/iofopen64.c: Likewise.
20443 * libio/iogetdelim.c: Likewise.
20444 * libio/iopopen.c: Likewise.
20445 * libio/obprintf.c: Likewise.
20446 * libio/oldfileops.c: Likewise.
20447 * libio/oldiofclose.c: Likewise.
20448 * libio/oldiofdopen.c: Likewise.
20449 * libio/oldiofopen.c: Likewise.
20450 * libio/oldiopopen.c: Likewise.
20451 * libio/wfiledoalloc.c: Likewise.
20452 * libio/wgenops.c: Likewise.
20453 * locale/programs/xmalloc.c: Likewise.
20454 * misc/syslog.c: Likewise.
20455 * stdio-common/xbug.c: Likewise.
20456 * string/memchr.c: Likewise.
20457 * string/memcmp.c: Likewise.
20458 * string/memrchr.c: Likewise.
20459 * string/rawmemchr.c: Likewise.
20460 * sysdeps/posix/getcwd.c: Likewise.
20461 * time/strftime_l.c: Likewise.
20463 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20465 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20466 * config.make.in (config-cflags-sse2avx): Define.
20467 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20470 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20472 * scripts/config.guess: Update from upstream config git repository.
20473 * scripts/config.sub: Likewise.
20475 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20477 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20479 (R_TILEPRO_*, R_TILEGX_*): New macros.
20481 * scripts/firstversions.awk: Fix bug in version range handling.
20483 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20485 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20487 * include/sys/epoll.h: New file.
20488 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20491 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20493 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20494 Avoid unnecessary __WORDSIZE == 64 test.
20495 (fmaxf): Use VEX format if possible.
20500 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20501 * math/math_private.h: Remove libc_fegetround* and
20503 * sysdeps/i386/configure.in: Check for -msse2avx.
20504 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20505 also if SSE2AVX is defined.
20506 Remove libc_fegetround* and libc_fesetround*.
20507 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20508 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20511 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20512 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20513 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20514 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20515 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20517 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20519 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20521 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20523 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20525 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20528 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20530 * Makeconfig (libm): Define.
20531 * elf/Makefile: Add rules to build and run tst-relsort1.
20532 * elf/tst-relsort1.c: New file.
20533 * elf/tst-relsort1mod1.c: New file.
20534 * elf/tst-relsort1mod2.c: New file.
20536 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20538 * math/s_ldexp.c: Remove __STDC__ conditionals.
20539 * math/s_ldexpf.c: Likewise.
20540 * math/s_ldexpl.c: Likewise.
20541 * math/s_nextafter.c: Likewise.
20542 * math/s_nexttowardf.c: Likewise.
20543 * math/s_significand.c: Likewise.
20544 * math/s_significandf.c: Likewise.
20545 * math/s_significandl.c: Likewise.
20546 * math/w_jnl.c: Likewise.
20547 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20548 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20549 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20550 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20551 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20553 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20554 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20555 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20556 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20557 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20558 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20559 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20560 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20561 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20562 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20563 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20564 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20568 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20569 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20570 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20571 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20572 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20573 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20574 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20575 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20576 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20577 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20578 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20579 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20580 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20581 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20582 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20583 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20584 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20585 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20586 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20587 * sysdeps/ieee754/k_standard.c: Likewise.
20588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20589 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20590 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20591 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20592 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20593 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20594 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20595 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20596 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20597 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20598 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20599 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20600 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20601 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20602 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20603 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20604 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20605 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20606 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20607 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20610 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20611 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20612 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20613 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20619 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20620 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20623 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20624 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20625 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20626 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20627 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20628 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20630 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20631 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20632 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20633 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20634 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20635 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20636 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20637 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20638 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20641 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20642 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20644 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20646 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20648 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20649 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20650 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20651 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20652 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20653 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20654 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20655 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20656 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20657 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20658 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20659 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20660 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20661 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20662 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20663 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20664 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20665 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20667 * sysdeps/ieee754/s_matherr.c: Likewise.
20668 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20669 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20671 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20673 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20675 * crypt/md5.h: Remove __STDC__ conditionals.
20676 * libio/libioP.h: Likewise.
20677 * locale/programs/config.h: Likewise.
20678 * sysdeps/generic/sysdep.h: Likewise.
20679 * sysdeps/i386/asm-syntax.h: Likewise.
20680 * sysdeps/s390/asm-syntax.h: Likewise.
20681 * sysdeps/unix/sysdep.h: Likewise.
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20685 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20687 * libio/libio.h: Remove __STDC__ conditionals.
20688 * malloc/obstack.h: Likewise.
20689 * math/complex.h: Likewise.
20690 * math/math.h: Likewise.
20691 * sysdeps/generic/_G_config.h: Likewise.
20692 * sysdeps/gnu/_G_config.h: Likewise.
20693 * sysdeps/mach/hurd/_G_config.h: Likewise.
20694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20695 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20696 * sysdeps/sparc/bits/mathdef.h: Likewise.
20698 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20701 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20702 Clean up HAS_* macros.
20703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20704 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20706 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20708 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20709 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20710 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20711 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20712 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20714 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20716 * elf/tst-unique3.cc (gets): Remove declaration.
20717 * elf/tst-unique3lib.cc (gets): Likewise.
20718 * elf/tst-unique3lib2.cc (gets): Likewise.
20719 * elf/tst-unique4.cc (gets): Likewise.
20721 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20723 * include/stdio.h: Add C++ protection. Add gets declarations and
20725 * debug/tst-chk1.c: Don't declare gets here.
20726 * stdio-common/tst-gets.c: Likewise.
20728 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20730 * posix/glob: Remove directory.
20732 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20734 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20736 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20738 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20739 of the non-standard EPFNOSUPPORT.
20741 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20743 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20744 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20745 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20747 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20749 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20751 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20753 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20755 * nscd/grpcache.c (cache_addgr): Likewise.
20756 * nscd/hstcache.c (cache_addhst): Likewise.
20757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20758 * nscd/pwdcache.c (cache_addpw): Likewise.
20759 * nscd/servicescache.c (cache_addserv): Likewise.
20761 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20763 * malloc/malloc.c: Various cleanups.
20764 * malloc/hooks.c: Likewise.
20766 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20767 * stdlib/bug-fmtmsg1.c: New file.
20769 * stdlib/fmtmsg.c (init): Add missing unlock.
20770 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20772 2012-01-12 Marek Polacek <polacek@redhat.com>
20774 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20777 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20779 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20780 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20781 macro to ensure uniqueness of label name.
20782 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20783 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20785 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20787 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20789 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20790 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20791 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20794 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20796 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20798 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20799 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20800 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20802 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20804 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20805 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20806 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20809 * math/bits/math-finite.h: Add ldexp support.
20811 2012-01-10 Marek Polacek <polacek@redhat.com>
20813 * locale/programs/localedef.h (show_archive_content): Add noreturn
20816 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20818 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20820 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20822 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20824 * io/Makefile (headers): Add bits/poll2.h.
20826 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20829 typo #include statement.
20831 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20833 * include/sys/cdefs.h: Define __attribute_alloc_size.
20834 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20835 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20836 * elf/pldd.c: Likewise.
20837 * iconv/iconv_charmap.c: Likewise.
20838 * iconv/iconvconfig.c: Likewise.
20839 * iconv/strtab.c: Likewise.
20840 * locale/programs/locale.c: Likewise.
20841 * locale/programs/localedef.h: Likewise.
20842 * locale/programs/simple-hash.c: Likewise.
20843 * nscd/nscd.h: Likewise.
20844 * nss/makedb.c: Likewise.
20845 * sysdeps/generic/ldconfig.h: Likewise.
20846 * locale/programs/localedef.c: Remove xmalloc prototype.
20847 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20849 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20851 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20854 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20856 * math/Makefile (tests): Add tst-CMPLX.
20857 * math/tst-CMPLX.c: New file.
20859 * math/complex.h (CMPLXL): Fix typo.
20861 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20862 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20864 * debug/tst-chk1.c: Add poll and ppoll tests.
20865 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20866 * include/sys/poll.h: Add hidden proto for ppoll.
20867 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20868 * sysdeps/mach/hurd/ppoll.c: Likewise.
20869 * io/ppoll.c: Likewise.
20870 * debug/poll_chk.c: New file.
20871 * debug/ppoll_chk.c: New file.
20872 * include/bits/poll2.h: New file.
20873 * io/bits/poll2.h: New file.
20876 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20878 * configure.in: static is always set to yes. Remove.
20879 * config.make.in: Don't set build-static.
20880 * Makeconfig: Remove use of build-static.
20881 * dlfcn/Makefile: Likewise.
20882 * elf/Makefile: Likewise.
20883 * math/Makefile: Likewise.
20884 * misc/Makefile: Likewise.
20885 * nptl/Makefile: Likewise.
20886 * sysdeps/mach/hurd/Makefile: Likewise.
20888 * configure.in: PWD_P is not used anymore.
20889 * config.make.in: Remove PWD_P entry.
20891 * configure.in: Remove last remnants of RANLIB.
20892 No need to check for signed size_t anymore.
20893 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20895 Remove __builtin_expect test because we require at least gcc 3.4.
20896 * aclocal.m4: Likewise.
20898 * wcsmbs/mbrtoc16.c: Implement using towc function.
20899 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20900 * wcsmbs/wcsmbsload.c: Likewise.
20901 * iconv/gconv_simple.c: Likewise.
20902 * iconv/gconv_int.h: Likewise.
20903 * iconv/gconv_builtin.h: Likewise.
20904 * iconv/iconv_prog.c: Remove CHAR16 handling.
20906 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20908 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20910 * configure.in: Remove --with-elf and --enable-bounded options.
20911 Dont set base_machine for ia64. More non-ELF conditions removed.
20912 Remove testing and setting of leading underscore information.
20913 * config.make.in (build-bounded): Set to no.
20914 * config.h.in: Remove NO_UNDERSCORES entry.
20915 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20917 * csu/start.c: Remove !NO_UNDERSCORE code.
20918 * locale/localeinfo.h: Likewise.
20919 * sysdeps/generic/machine-gmon.h: Likewise.
20920 * sysdeps/generic/sysdep.h: Likewise.
20921 * sysdeps/i386/sysdep.h: Likewise.
20922 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20923 * sysdeps/mach/sysdep.h: Likewise.
20924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20925 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20926 * sysdeps/sh/sysdep.h: Likewise.
20927 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20928 * sysdeps/unix/i386/sysdep.S: Likewise.
20929 * sysdeps/unix/sparc/start.c: Likewise.
20930 * sysdeps/unix/sparc/sysdep.S: Likewise.
20931 * sysdeps/unix/sparc/sysdep.h: Likewise.
20932 * sysdeps/unix/start.c: Likewise.
20933 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20934 * sysdeps/x86_64/sysdep.h: Likewise.
20936 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20939 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20941 * argp/argp-fmtstream.h: Use const instead __const.
20942 * argp/argp.h: Likewise.
20943 * assert/assert.h: Likewise.
20944 * bits/fenv.h: Likewise.
20945 * bits/sched.h: Likewise.
20946 * bits/sigset.h: Likewise.
20947 * bits/sigthread.h: Likewise.
20948 * catgets/nl_types.h: Likewise.
20949 * conform/data/pthread.h-data: Likewise.
20950 * crypt/crypt-private.h: Likewise.
20951 * crypt/crypt.h: Likewise.
20952 * crypt/crypt_util.c: Likewise.
20953 * ctype/ctype.h: Likewise.
20954 * debug/execinfo.h: Likewise.
20955 * debug/mbsnrtowcs_chk.c: Likewise.
20956 * debug/mbsrtowcs_chk.c: Likewise.
20957 * debug/wcsnrtombs_chk.c: Likewise.
20958 * debug/wcsrtombs_chk.c: Likewise.
20959 * debug/wcstombs_chk.c: Likewise.
20960 * dirent/dirent.h: Likewise.
20961 * dlfcn/dlfcn.h: Likewise.
20962 * elf/neededtest4.c: Likewise.
20963 * grp/grp.h: Likewise.
20964 * gshadow/gshadow.h: Likewise.
20965 * iconv/gconv.h: Likewise.
20966 * iconv/gconv_int.h: Likewise.
20967 * iconv/gconv_simple.c: Likewise.
20968 * iconv/iconv.h: Likewise.
20969 * iconv/loop.c: Likewise.
20970 * iconv/skeleton.c: Likewise.
20971 * include/aio.h: Likewise.
20972 * include/aliases.h: Likewise.
20973 * include/argz.h: Likewise.
20974 * include/arpa/inet.h: Likewise.
20975 * include/assert.h: Likewise.
20976 * include/dirent.h: Likewise.
20977 * include/dlfcn.h: Likewise.
20978 * include/execinfo.h: Likewise.
20979 * include/fcntl.h: Likewise.
20980 * include/fenv.h: Likewise.
20981 * include/glob.h: Likewise.
20982 * include/grp.h: Likewise.
20983 * include/libintl.h: Likewise.
20984 * include/mntent.h: Likewise.
20985 * include/netdb.h: Likewise.
20986 * include/pwd.h: Likewise.
20987 * include/rpc/netdb.h: Likewise.
20988 * include/sched.h: Likewise.
20989 * include/search.h: Likewise.
20990 * include/shadow.h: Likewise.
20991 * include/signal.h: Likewise.
20992 * include/stdio.h: Likewise.
20993 * include/stdlib.h: Likewise.
20994 * include/string.h: Likewise.
20995 * include/sys/socket.h: Likewise.
20996 * include/sys/stat.h: Likewise.
20997 * include/sys/statfs.h: Likewise.
20998 * include/sys/statvfs.h: Likewise.
20999 * include/sys/syslog.h: Likewise.
21000 * include/sys/time.h: Likewise.
21001 * include/sys/uio.h: Likewise.
21002 * include/time.h: Likewise.
21003 * include/unistd.h: Likewise.
21004 * include/utmp.h: Likewise.
21005 * include/wchar.h: Likewise.
21006 * include/wctype.h: Likewise.
21007 * inet/aliases.h: Likewise.
21008 * inet/arpa/inet.h: Likewise.
21009 * inet/netinet/ether.h: Likewise.
21010 * inet/netinet/in.h: Likewise.
21011 * intl/libintl.h: Likewise.
21012 * io/bits/fcntl2.h: Likewise.
21013 * io/fcntl.h: Likewise.
21014 * io/ftw.h: Likewise.
21015 * io/sys/poll.h: Likewise.
21016 * io/sys/stat.h: Likewise.
21017 * io/sys/statfs.h: Likewise.
21018 * io/sys/statvfs.h: Likewise.
21019 * io/utime.h: Likewise.
21020 * libio/bits/stdio.h: Likewise.
21021 * libio/bits/stdio2.h: Likewise.
21022 * libio/libio.h: Likewise.
21023 * libio/libioP.h: Likewise.
21024 * libio/stdio.h: Likewise.
21025 * locale/lc-ctype.c: Likewise.
21026 * locale/locale.h: Likewise.
21027 * login/utmp.h: Likewise.
21028 * malloc/arena.c: Likewise.
21029 * malloc/malloc.c: Likewise.
21030 * malloc/malloc.h: Likewise.
21031 * malloc/mcheck.c: Likewise.
21032 * malloc/mtrace.c: Likewise.
21033 * math/bits/mathcalls.h: Likewise.
21034 * math/fenv.h: Likewise.
21035 * math/math_private.h: Likewise.
21036 * misc/bits/error.h: Likewise.
21037 * misc/bits/syslog.h: Likewise.
21038 * misc/err.h: Likewise.
21039 * misc/error.h: Likewise.
21040 * misc/fstab.h: Likewise.
21041 * misc/mntent.h: Likewise.
21042 * misc/regexp.h: Likewise.
21043 * misc/search.h: Likewise.
21044 * misc/sgtty.h: Likewise.
21045 * misc/sys/mman.h: Likewise.
21046 * misc/sys/syslog.h: Likewise.
21047 * misc/sys/uio.h: Likewise.
21048 * misc/sys/xattr.h: Likewise.
21049 * misc/ttyent.h: Likewise.
21050 * nis/rpcsvc/ypclnt.h: Likewise.
21051 * nss/nss.h: Likewise.
21052 * posix/bits/unistd.h: Likewise.
21053 * posix/fnmatch.h: Likewise.
21054 * posix/glob.h: Likewise.
21055 * posix/sched.h: Likewise.
21056 * posix/spawn.h: Likewise.
21057 * posix/sys/wait.h: Likewise.
21058 * posix/unistd.h: Likewise.
21059 * posix/wordexp.h: Likewise.
21060 * pwd/pwd.h: Likewise.
21061 * resolv/netdb.h: Likewise.
21062 * resource/sys/resource.h: Likewise.
21063 * rt/aio.h: Likewise.
21064 * rt/bits/mqueue2.h: Likewise.
21065 * rt/mqueue.h: Likewise.
21066 * shadow/shadow.h: Likewise.
21067 * signal/signal.h: Likewise.
21068 * socket/send.c: Likewise.
21069 * socket/sendto.c: Likewise.
21070 * socket/sys/socket.h: Likewise.
21071 * stdio-common/printf.h: Likewise.
21072 * stdlib/bits/stdlib.h: Likewise.
21073 * stdlib/fmtmsg.h: Likewise.
21074 * stdlib/monetary.h: Likewise.
21075 * stdlib/stdlib.h: Likewise.
21076 * stdlib/ucontext.h: Likewise.
21077 * streams/stropts.h: Likewise.
21078 * string/argz.h: Likewise.
21079 * string/bits/string2.h: Likewise.
21080 * string/string.h: Likewise.
21081 * string/strings.h: Likewise.
21082 * sunrpc/rpc/auth.h: Likewise.
21083 * sunrpc/rpc/auth_des.h: Likewise.
21084 * sunrpc/rpc/clnt.h: Likewise.
21085 * sunrpc/rpc/netdb.h: Likewise.
21086 * sunrpc/rpc/pmap_clnt.h: Likewise.
21087 * sunrpc/rpc/xdr.h: Likewise.
21088 * sysdeps/generic/inttypes.h: Likewise.
21089 * sysdeps/generic/net/if.h: Likewise.
21090 * sysdeps/generic/sys/swap.h: Likewise.
21091 * sysdeps/gnu/net/if.h: Likewise.
21092 * sysdeps/gnu/utmpx.h: Likewise.
21093 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21094 * sysdeps/i386/i486/bits/string.h: Likewise.
21095 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21096 * sysdeps/s390/bits/string.h: Likewise.
21097 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21098 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21099 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21100 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21101 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21102 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21103 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21104 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21105 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21106 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21107 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21108 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21109 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21110 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21111 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21112 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21113 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21115 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21116 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21117 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21118 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21119 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21120 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21121 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21122 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21123 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21124 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21125 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21126 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21127 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21128 * sysvipc/sys/ipc.h: Likewise.
21129 * sysvipc/sys/msg.h: Likewise.
21130 * sysvipc/sys/sem.h: Likewise.
21131 * sysvipc/sys/shm.h: Likewise.
21132 * termios/termios.h: Likewise.
21133 * time/sys/time.h: Likewise.
21134 * time/time.h: Likewise.
21135 * wcsmbs/bits/wchar2.h: Likewise.
21136 * wcsmbs/uchar.h: Likewise.
21137 * wcsmbs/wchar.h: Likewise.
21138 * wctype/wctype.h: Likewise.
21141 * Makeconfig: Remove all but ELF support including AIX support.
21142 * Makerules: Likewise.
21143 * config.h.in: Likewise.
21144 * config.make.in: Likewise.
21145 * configure: Likewise.
21146 * configure.in: Likewise.
21147 * csu/Makefile: Likewise.
21148 * csu/version.c: Likewise.
21149 * debug/Makefile: Likewise.
21150 * dlfcn/Makefile: Likewise.
21151 * elf/Makefile: Likewise.
21152 * extra-lib.mk: Likewise.
21153 * iconv/Makefile: Likewise.
21154 * include/libc-symbols.h: Likewise.
21155 * include/shlib-compat.h: Likewise.
21156 * resolv/Makefile: Likewise.
21157 * resolv/res_libc.c: Likewise.
21158 * rt/Makefile: Likewise.
21159 * sysdeps/i386/asm-syntax.h: Likewise.
21160 * sysdeps/i386/sysdep.h: Likewise.
21161 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21162 * sysdeps/mach/sysdep.h: Likewise.
21163 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21164 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21165 * sysdeps/s390/asm-syntax.h: Likewise.
21166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21168 * sysdeps/sh/sysdep.h: Likewise.
21169 * sysdeps/unix/sparc/sysdep.h: Likewise.
21170 * sysdeps/wordsize-32/divdi3.c: Likewise.
21171 * sysdeps/x86_64/sysdep.h: Likewise.
21173 * argp/Versions: Remove _argp_unlock_xxx.
21176 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21177 * abilist/libBrokenLocale.abilist: Likewise.
21178 * abilist/libanl.abilist: Likewise.
21179 * abilist/libc.abilist: Likewise.
21180 * abilist/libcrypt.abilist: Likewise.
21181 * abilist/libdl.abilist: Likewise.
21182 * abilist/libm.abilist: Likewise.
21183 * abilist/libnsl.abilist: Likewise.
21184 * abilist/libpthread.abilist: Likewise.
21185 * abilist/libresolv.abilist: Likewise.
21186 * abilist/librt.abilist: Likewise.
21187 * abilist/libthread_db.abilist: Likewise.
21188 * abilist/libutil.abilist: Likewise.
21189 * abilist/libnss_db.abilist: New file.
21191 * scripts/abilist.awk: Add support for indirect functions.
21193 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21195 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21197 * shlib-versions: Remove entries for ports architectures.
21199 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21201 * elf/stackguard-macros.h: Remove support for IA-64.
21202 * elf/tst-auditmod1.c: Likewise.
21203 * sysdeps/generic/ldsodefs.h: Likewise.
21205 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21206 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21210 * configure.in: Remove --enable-omitfp support.
21212 * config.make.in: Likewise.
21213 * Makeconfig: Likewise.
21214 * manual/install.texi: Likewise.
21216 In case anyone cares, the IA-64 architecture could move to ports.
21217 * sysdeps/ia64/*: Removed.
21218 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21219 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21222 * configure.in: Remove entries for unsupported architectures.
21225 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21226 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21228 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21229 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21230 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21231 fall back to using wcrtomb.
21232 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21233 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21235 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21236 * wcsmbs/tst-c16c32-1.c: New file.
21238 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21241 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21243 * elf/tst-unique3.cc: Add explicit declaration of gets.
21244 * elf/tst-unique3lib.cc: Likewise.
21245 * elf/tst-unique3lib2.cc: Likewise.
21246 * elf/tst-unique4.cc: Likewise.
21248 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21250 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21253 * assert/assert.h (static_assert): Don't define for C++.
21254 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21255 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21257 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21259 * iconv/loop.c (single loop): Fix assertion in storing of
21262 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21264 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21266 * posix/getconf.c: Update copyright year.
21267 * nss/getent.c: Likewise.
21268 * nss/makedb.c: Likewise.
21269 * iconv/iconvconfig.c: Likewise.
21270 * iconv/iconv_prog.c: Likewise.
21271 * elf/ldconfig.c: Likewise.
21272 * elf/pldd.c: Likewise.
21273 * elf/sotruss.ksh: Likewise.
21274 * catgets/gencat.c: Likewise.
21275 * csu/version.c: Likewise.
21276 * elf/ldd.bash.in: Likewise.
21277 * elf/sprof.c (print_version): Likewise.
21278 * locale/programs/locale.c: Likewise.
21279 * locale/programs/localedef.c: Likewise.
21280 * login/programs/pt_chown.c: Likewise.
21281 * nscd/nscd.c (print_version): Likewise.
21282 * debug/xtrace.sh: Likewise.
21283 * malloc/memusage.sh: Likewise.
21284 * malloc/mtrace.pl: Likewise.
21285 * debug/catchsegv.sh: Likewise.
21287 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21289 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21292 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21295 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21296 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21298 * iconv/gconv_int.h: Likewise.
21299 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21300 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21301 from libc for GLIBC_2.16.
21302 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21303 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21304 * wcsmbs/uchar.h: Really define mbstate_t.
21305 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21306 * wcsmbs/c16rtomb.c: New file.
21307 * wcsmbs/mbrtoc16.c: New file.
21308 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21309 for C/POSIX locale.
21310 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21311 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21313 * wcsmbs/wchar.h: Add missing __restrict.
21315 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21318 * time/Makefile (routines): Add timespec_get.
21319 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21320 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21321 timespec for ISO C11.
21322 * time/timespec_get.c: New file.
21323 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21324 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21327 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21328 * stdlib/stdlib.h: Declare aligned_alloc.
21329 * Versions.def: Add GLIBC_2.16 for libc.
21330 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21333 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21336 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21340 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21343 * assert/assert.h (static_assert): Define.
21345 * version.h: Update for 2.16 development version.
21348 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21351 * version.h (RELEASE): Bump for 2.15 release.
21352 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21354 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21355 Patch by Marek Polacek <mpolacek@redhat.com>.
21357 * bits/byteswap.h: Protect long long constants with __extension__.
21358 * sysdeps/i386/bits/byteswap.h: Likewise.
21359 * sysdeps/ia64/bits/byteswap.h: Likewise.
21360 * sysdeps/s390/bits/byteswap.h: Likewise.
21361 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21363 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21366 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21367 destination buffer.
21368 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21370 2011-12-23 Marek Polacek <polacek@redhat.com>
21372 * elf/dl-addr.c (determine_info): Add inline keyword.
21373 * elf/tst-auditmod4b.c (check_avx): Likewise.
21374 * elf/tst-auditmod6b.c (check_avx): Likewise.
21375 * elf/tst-auditmod6c.c (check_avx): Likewise.
21376 * elf/tst-auditmod7b.c (check_avx): Likewise.
21378 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21380 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21383 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21386 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21387 processing for last bytes.
21389 2011-08-06 Bruno Haible <bruno@clisp.org>
21392 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21393 U+0385, not to U+1FEE.
21396 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21397 entry for U+00A5 U+0301.
21399 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21402 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21403 buffer for the output is too small.
21405 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21409 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21410 SSE flags if possible.
21412 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21416 processing for last bytes.
21418 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21420 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21421 (syscall-list-default-options, syscall-list-default-condition)
21422 (syscall-list-includes): Define.
21423 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21424 list of ABIs and options and #if conditions for each ABI. Do not
21425 handle common syscalls between ABIs specially.
21426 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21428 (syscall-list-variants, syscall-list-32bit-options)
21429 (syscall-list-32bit-condition, syscall-list-64bit-options)
21430 (syscall-list-64bit-condition): Define.
21431 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21432 (syscall-list-variants, syscall-list-32bit-options)
21433 (syscall-list-32bit-condition, syscall-list-64bit-options)
21434 (syscall-list-64bit-condition): Define.
21435 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21437 (syscall-list-variants, syscall-list-32bit-options)
21438 (syscall-list-32bit-condition, syscall-list-64bit-options)
21439 (syscall-list-64bit-condition): Define.
21440 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21442 (syscall-list-variants, syscall-list-32bit-options)
21443 (syscall-list-32bit-condition, syscall-list-64bit-options)
21444 (syscall-list-64bit-condition): Define.
21446 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21448 * locale/iso-639.def: Add brx entry.
21451 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21452 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21454 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21455 __feraiseexcept_renamed.
21457 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21460 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21461 EPOLLET with unsigned values.
21462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21463 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21465 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21466 to large cancellation.
21467 * math/s_cacoshf.c: Likewise.
21468 * math/s_cacoshl.c: Likewise.
21470 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21474 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21475 * math/s_cacoshf.c: Likewise.
21476 * math/s_cacoshl.c: Likewise.
21478 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21481 * iconv/gconv.h: Define __GCONV_SWAP.
21482 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21483 * iconvdata/utf-16.c: Likewise.
21484 * iconvdata/utf-32.c: Likewise.
21486 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21490 numerator after shifting it by one limb.
21492 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21494 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21495 under [__USE_EXTERN_INLINES].
21497 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21500 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21502 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21504 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21505 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21507 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21508 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21509 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21510 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21511 for strncasecmp/strncasecmp_l compilation.
21512 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21513 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21515 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21518 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21521 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21524 * time/tzfile.c (__tzfile_read): Check values from file header.
21526 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21528 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21529 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21530 * powerpc/powerpc32/dl-start.S: Likewise.
21531 * powerpc/powerpc32/elf/start.S: Likewise.
21532 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21533 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21534 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21535 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21536 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21537 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21538 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21539 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21540 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21541 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21542 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21543 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21544 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21545 * powerpc/powerpc32/memset.S: Likewise.
21546 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21547 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21548 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21549 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21550 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21551 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21552 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21553 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21554 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21555 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21556 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21557 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21558 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21560 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21562 * math/libm-test.inc: Added more nearbyint tests.
21563 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21568 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21570 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21573 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21575 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21576 Add wcscpy-ssse3 wcscpy-c.
21577 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21578 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21579 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21580 * sysdeps/x86_64/wcschr.S: New file.
21581 * sysdeps/x86_64/wcsrchr.S: New file.
21582 * string/test-strcmp.c: Remove checking of wcscmp function for
21584 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21585 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21586 wcsrchr-sse2 wcsrchr-c.
21587 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21588 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21589 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21590 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21591 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21592 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21593 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21594 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21595 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21596 * wcsmbc/wcschr.c (WCSCHR): New macro.
21598 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21600 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21601 * wcsmbs/test-wcsrchr.c: New file.
21602 * string/test-strrchr.c: Add wcsrchr support.
21604 * wcsmbs/test-wcscpy.c: New file.
21605 * string/test-strcpy.c: Add wcscpy support.
21608 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21610 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21613 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21616 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21618 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21620 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21621 Minor optimizations.
21623 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21624 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21625 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21627 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21629 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21630 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21631 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21632 for gcc to avoid warnings.
21633 * inet/Makefile (tests): Add tst-checks.
21634 * inet/tst-checks.c: New file.
21636 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21639 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21642 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21643 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21645 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21647 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21649 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21652 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21654 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21656 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21657 conditional on GCC version.
21658 (__arch_compare_and_exchange_val_8_acq)
21659 (__arch_compare_and_exchange_val_16_acq)
21660 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21661 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21662 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21664 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21666 * sysdeps/sh/backtrace.c: New file.
21668 2011-12-02 Andreas Schwab <schwab@redhat.com>
21670 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21673 2011-12-01 Andreas Schwab <schwab@redhat.com>
21675 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21676 falling back to utime.
21678 2011-11-30 Andreas Schwab <schwab@redhat.com>
21680 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21681 expectations for float.
21683 2011-11-29 Andreas Schwab <schwab@redhat.com>
21685 * locale/weight.h (findidx): Add parameter len.
21686 * locale/weightwc.h (findidx): Likewise.
21687 * posix/fnmatch_loop.c (FCT): Adjust caller.
21688 * posix/regcomp.c (build_equiv_class): Likewise.
21689 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21690 * posix/regexec.c (check_node_accept_bytes): Likewise.
21691 * string/strcoll_l.c (STRCOLL): Likewise.
21692 * string/strxfrm_l.c (STRXFRM): Likewise.
21694 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21696 * Makefile.in: Remove CVSOPT handling.
21697 * configure.in: Remove use of AC_REVISION.
21698 * iconvdata/Makefile (distribute): No need to filter out CVS.
21699 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21702 2011-11-16 Andreas Schwab <schwab@redhat.com>
21704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21705 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21706 [USE_AS_STRNCASECMP_L]: Likewise.
21707 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21708 NO_TLS_DIRECT_SEG_REFS.
21709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21710 Fix argument offsets for non-PIC.
21711 [USE_AS_STRNCASECMP_L]: Likewise.
21712 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21713 NO_TLS_DIRECT_SEG_REFS.
21715 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21717 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21719 * locale/loadlocale.c (_nl_load_locale): Likewise.
21721 2011-11-15 Andreas Schwab <schwab@redhat.com>
21723 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21724 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21726 (SYSCALL_GETTIME): Set errno on error.
21728 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21729 count references to noai6ai_cached.
21731 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21733 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21735 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21736 FD_CLOEXEC for /proc/self/maps.
21738 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21739 FD_CLOEXEC for /proc/meminfo.
21741 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21744 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21745 FD_CLOEXEC for given file.
21747 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21749 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21750 FD_CLOEXEC for /etc/hosts.
21751 (_gethtent): Likewise.
21753 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21755 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21756 cancellation and set FD_CLOEXEC for /etc/netgroup.
21758 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21759 reading /etc/publickey.
21761 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21762 allow cancellation when reading /etc/group.
21764 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21766 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21768 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21769 when using data file.
21771 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21773 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21774 (write_nis_obj): Use "c" and "e" in fopen.
21776 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21778 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21780 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21782 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21784 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21787 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21789 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21791 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21793 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21794 file parsing and set FD_CLOEXEC.
21796 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21798 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21800 2011-11-14 Andreas Schwab <schwab@redhat.com>
21802 * malloc/arena.c (arena_get2): Don't call reused_arena when
21803 _int_new_arena failed.
21805 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21807 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21808 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21809 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21810 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21811 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21812 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21813 to compile strcasecmp and strncasecmp.
21814 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21815 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21819 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21821 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21822 locale-defines.sym to gen-as-const-headers.
21823 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21824 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21826 to compile strcasecmp and strncasecmp.
21827 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21828 strcasecmp_l and strncasecmp_l.
21829 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21830 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21831 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21832 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21833 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21834 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21835 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21836 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21837 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21838 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21839 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21841 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21843 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21844 result of SYSDEP_GETTIME_CPU to retval.
21845 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21846 parameter list to macro. Remove trailing semicolon. Adjust users.
21848 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21851 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21853 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21855 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21856 from unused variable.
21858 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21860 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21863 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21866 * sunrpc/rpc_prot.c (rejected): Fix case value.
21868 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21869 unsigned long long int to avoid warnings in shift.
21871 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21873 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21876 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21877 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21878 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21880 * nis/nis_table.c (nis_list): Use variable of correct type for
21881 result of __follow_path call.
21883 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21885 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21886 of math functions ceil, trunc, floor, round, and sqrt, when
21887 avaliable on the platform.
21888 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21890 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21891 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21892 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21894 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21896 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21897 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21899 2011-11-11 Roland McGrath <roland@hack.frob.com>
21901 * include/unistd.h: Fix __readlink return type.
21902 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21904 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21906 * stdlib/ucontext.h: Undo last change for makecontext.
21908 2011-11-11 Andreas Schwab <schwab@redhat.com>
21910 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21912 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21913 * setjmp/setjmp.h: Mark functions as non-leaf.
21914 * setjmp/bits/setjmp2.h: Likewise.
21915 * stdlib/ucontext.h: Likewise.
21917 2011-11-10 Andreas Schwab <schwab@redhat.com>
21919 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21920 (reused_arena): Don't check arena limit.
21921 (arena_get2): Atomically check arena limit.
21923 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21925 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21926 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21931 2011-11-07 Andreas Schwab <schwab@redhat.com>
21933 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21934 handler when locking.
21936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21937 Fix size of allocated buffer.
21939 2011-11-04 Andreas Schwab <schwab@redhat.com>
21942 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21943 declarations for long double functions.
21944 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21946 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21948 2011-11-03 Andreas Schwab <schwab@redhat.com>
21950 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21953 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21956 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21958 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21960 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21962 * include/alloca.h (stackinfo_alloca_round): Define.
21963 (extend_alloca): Use it.
21964 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21965 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21968 * scripts/check-local-headers.sh: Ignore libaudit.h.
21970 * nscd/Makefile (extra-objs): Make recursively expanded.
21972 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21974 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21977 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21978 * posix/tst-rfc3484-2.c: Likewise.
21979 * posix/tst-rfc3484-3.c: Likewise.
21981 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21983 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21985 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21986 process_vm_writev from libc using GLIBC_2.15 version.
21988 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21990 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21992 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21995 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21998 * nss/getent.c (initgroups_keys): Show error message in case no group
22001 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22002 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22003 __bump_nl_timestamp.
22004 * nscd/connections (nscd_init): When host database is served open
22005 netlink socket and request notification about configuration changes.
22006 (main_loop_poll): Track netlink file descriptor and bump timestamp
22007 in case data becomes available.
22008 (main_loop_epoll): Likewise.
22009 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22010 (database_pers_head): Add extra_data fileds.
22011 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22012 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22013 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22015 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22016 in6ai data, call __free_in6ai.
22017 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22018 Add -DHAVE_NETLINK.
22019 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22020 interface information. Reuse previous data if netlink timestamp
22022 (__bump_nl_timestamp): New function.
22023 (__free_in6ai): New function.
22025 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22027 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22028 close_not_cancel_no_status here.
22029 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22031 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22034 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22037 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22038 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22039 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22041 2011-07-03 Andreas Jaeger <aj@suse.de>
22044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22045 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22046 * math/libm-test.inc (sin_test): Add test case.
22048 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22051 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22052 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22054 * elf/chroot_canon.c (chroot_canon): Cleanups.
22056 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22059 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22060 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22062 * string/test-strchr.c: Make usable for strchrnul testing.
22063 * string/test-strchrnul.c: New file.
22064 * string/Makefile (strop-tests): Add strchrnul.
22066 * po/it.po: Update from translation team.
22067 * po/es.po: Likewise.
22069 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22071 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22072 the three constants needed as parameters. Drop the others.
22073 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22074 __m128i_strloadu_tolower.
22075 Create and initialize variable zero and use it in all the places
22076 where _mm_setzero_si128 was used.
22078 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22079 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22080 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22081 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22083 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22084 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22085 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22086 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22087 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22088 __mpranred, __mptan.
22089 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22090 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22091 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22092 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22093 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22094 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22095 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22096 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22097 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22099 2011-10-28 Andreas Schwab <schwab@redhat.com>
22101 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22102 redefine if SHARED.
22103 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22106 wide char related routines to wcsmbs subdir.
22108 2011-10-27 Andreas Schwab <schwab@redhat.com>
22111 * misc/sys/cdefs.h (__THROWNL): Define.
22112 * posix/unistd.h: Use __THREADNL instead of __THREAD
22113 for memory synchronization functions.
22115 2011-10-26 Roland McGrath <roland@hack.frob.com>
22118 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22120 * manual/stdio.texi (Obstack Streams): Node removed.
22122 2011-10-26 Andreas Schwab <schwab@redhat.com>
22124 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22125 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22128 * math/math_private.h (math_force_eval): Allow non-addressable
22130 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22132 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22134 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22135 file is not needed.
22137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22139 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22140 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22141 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22144 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22146 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22147 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22148 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22149 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22150 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22151 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22152 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22153 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22154 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22155 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22156 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22157 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22158 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22159 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22160 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22161 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22162 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22163 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22164 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22166 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22167 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22170 place. Use VEX encoding when compiling for AVX.
22172 2011-10-25 Andreas Schwab <schwab@redhat.com>
22174 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22175 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22177 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22179 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22181 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22182 useless if() expression.
22183 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22193 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22194 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22195 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22196 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22197 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22198 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22199 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22201 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22203 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22205 2011-10-25 Andreas Schwab <schwab@redhat.com>
22207 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22209 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22211 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22213 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22214 .text section. Avoid duplicate constants.
22215 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22225 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22226 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22227 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22230 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22232 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22238 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22239 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22240 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22241 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22242 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22243 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22244 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22245 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22246 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22247 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22248 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22249 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22250 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22251 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22253 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22254 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22255 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22256 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22257 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22259 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22261 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22263 * sysdeps/x86_64/dla.h: Move to ...
22264 * sysdeps/x86_64/fpu/dla.h: ...here.
22265 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22266 situations. Use __builtin_fma only for gcc 4.6 and up.
22268 * config.make.in: Add have-mfma4 entry.
22269 * configure.in: Substitute libc_cv_cc_fma4.
22270 * math/Makefile (dbl-only-routines): Add sincostab.
22271 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22272 Use __sincostab not sincos.
22273 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22280 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22281 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22282 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22283 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22286 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22288 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22289 define aliases when function name is a macro.
22290 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22291 sysdeps/ieee754/dbl-64/sincos.tbl.
22292 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22293 fma4-enabled routines.
22294 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22295 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22296 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22297 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22298 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22299 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22301 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22303 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22304 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22305 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22306 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22307 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22308 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22309 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22310 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22311 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22312 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22314 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22315 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22316 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22317 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22318 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22319 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22320 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22321 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22322 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22323 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22325 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22336 2011-10-24 Andreas Schwab <schwab@redhat.com>
22338 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22340 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22344 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22346 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22348 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22349 Remove unused variable magic_bits.
22350 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22352 * string/strnlen.c: Define and use STRNLEN macro.
22353 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22354 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22355 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22356 * wcsmbs/wcslen.c: Define and use WCSLEN.
22357 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22358 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22359 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22360 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22361 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22362 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22363 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22365 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22368 strnlen-sse2-no-bsf.
22369 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22371 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22372 Add strnlen support.
22373 (USE_AS_STRNLEN): New macro.
22374 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22375 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22376 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22377 * sysdeps/x86_64/wcslen.S: New file.
22379 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22382 XMM-moves are used for copying on small sizes.
22384 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22386 * wcsmbs/Makefile (strop-tests): Add wcschr.
22387 * wcsmbs/test-wcschr.c: New file.
22388 * string/test-strchr.c: Update.
22389 Add wcschr support.
22392 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22394 * wcsmbs/Makefile (strop-tests): Add wcslen.
22395 * wcsmbs/test-wcslen.c: New file.
22396 * string/test-strlen.c: Update.
22397 Add wcslen support.
22400 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22402 * po/it.po: Update from translation team.
22404 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22406 * sysdeps/x86_64/wcscmp.S: Update.
22407 Fix wrong comparison semantics.
22408 wcscmp shall use signed comparison not unsigned.
22409 Don't use substraction to avoid overflow bug.
22410 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22411 * wcsmbc/wcscmp.c: Likewise.
22412 * string/test-strcmp.c: Likewise.
22413 Add new tests to check cases with negative values.
22415 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22417 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22418 * sysdeps/x86_64/dla.h: ...here. New file.
22419 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22429 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22432 __ynl_finite aliases.
22434 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22438 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22440 [DLA_FMA] (EMULV): Use DLA_FMA.
22441 [DLA_FMA] (MUL12): Use EMULV.
22442 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22443 that are not needed.
22444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22452 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22454 * math/s_nan.c: Undef __nan.
22455 * math/s_nanf.c: Undef __nanf.
22456 * math/s_nanl.c: Undef __nanl.
22457 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22460 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22462 * math/s_catan.c: Add branch predictions.
22463 * math/s_catanf.c: Likewise.
22464 * math/s_catanh.c: Likewise.
22465 * math/s_catanhf.c: Likewise.
22466 * math/s_catanhl.c: Likewise.
22467 * math/s_catanl.c: Likewise.
22468 * math/s_cexp.c: Likewise.
22469 * math/s_cexpf.c: Likewise.
22470 * math/s_cexpl.c: Likewise.
22471 * math/s_clog.c: Likewise.
22472 * math/s_clog10.c: Likewise.
22473 * math/s_clog10f.c: Likewise.
22474 * math/s_clog10l.c: Likewise.
22475 * math/s_clogf.c: Likewise.
22476 * math/s_clogl.c: Likewise.
22477 * math/s_csqrt.c: Likewise.
22478 * math/s_csqrtf.c: Likewise.
22479 * math/s_csqrtl.c: Likewise.
22480 * math/s_ctanf.c: Likewise.
22481 * math/s_ctanh.c: Likewise.
22482 * math/s_ctanhf.c: Likewise.
22483 * math/s_ctanhl.c: Likewise.
22484 * math/s_ctanl.c: Likewise.
22486 * math/math_private.h: Define __nan, __nanf, __nanl.
22487 * math/s_cacosh.c: Include <math_private.h>.
22488 * math/s_cacoshl.c: Likewise.
22489 * math/s_casinh.c: Likewise.
22490 * math/s_casinhf.c: Likewise.
22491 * math/s_casinhl.c: Likewise.
22492 * math/s_ccos.c: Rely entire on ccosh.
22493 * math/s_ccosf.c: Rely entire on ccoshf.
22494 * math/s_ccosl.c: Rely entirely on ccoshl.
22495 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22496 Remove tests for FE_INVALID.
22497 * math/s_ccoshf.c: Likewise.
22498 * math/s_ccoshl.c: Likewise.
22499 * math/s_csin.c: Likewise.
22500 * math/s_csinf.c: Likewise.
22501 * math/s_csinh.c Likewise.
22502 * math/s_csinhf.c: Likewise.
22503 * math/s_csinhl.c: Likewise.
22504 * math/s_csinl.c: Likewise.
22505 * math/s_ctan.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22507 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22508 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22510 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22513 compilation problems.
22515 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22518 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22520 * sysdeps/i386/configure.in: Test for -mfma4 option.
22521 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22522 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22523 COMMON_CPUID_INDEX_80000001.
22524 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22525 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22526 use it if FMA3 is not supported.
22527 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22529 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22530 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22532 2011-10-20 Andreas Schwab <schwab@redhat.com>
22535 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22536 it would create a cycle with a link time dependency.
22538 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22540 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22542 * string/Makefile (strop-tests): Add rawmemchr.
22543 * string/test-rawmemchr.c: New file.
22545 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22547 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22548 when compiling str{,n}casecmp and when AVX is available. Hook up
22549 new optimized code in initializers.
22551 2011-10-19 Andreas Schwab <schwab@redhat.com>
22553 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22554 __feraiseexcept instead of feraiseexcept.
22556 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22558 * math/math_private.h: Define defaults for libc_fetestexcept and
22560 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22561 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22563 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22564 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22565 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22566 libc_fetestexcept and libc_feupdateenv.
22568 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22569 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22570 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22571 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22572 libc_feholdexcept_setround.
22574 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22575 Add s_nearbyint-c and s_nearbyintf-c.
22576 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22577 nearbyintf inlines.
22578 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22579 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22580 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22581 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22583 * math/math_private.h: Define defaults for libc_fegetround,
22584 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22585 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22586 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22587 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22588 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22589 standard functions.
22590 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22591 Remove comments and hacks for old compiler versions.
22592 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22593 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22594 libc_feholdexceptl.
22596 2011-10-18 Andreas Schwab <schwab@redhat.com>
22598 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22599 (__feraiseexcept_renamed): Add __NTH.
22600 (feraiseexcept): Add __NTH. Rename local variables to fix
22601 namespace violations.
22603 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22605 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22609 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22610 recently added interfaces.
22611 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22613 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22614 about macro parameter expansion.
22616 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22617 __NO_MATH_INLINES is defined. Cleanups.
22619 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22620 and __floorf is target has SSE4.1.
22621 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22622 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22623 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22624 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22626 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22628 (floorf): Likewise.
22630 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22632 2011-10-17 Andreas Schwab <schwab@redhat.com>
22634 * misc/sys/cdefs.h: Fix last change.
22636 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22639 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22641 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22643 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22649 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22650 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22652 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22653 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22654 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22655 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22656 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22657 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22658 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22659 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22660 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22661 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22662 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22663 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22664 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22666 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22667 ceil, ceilf, floor, floorf.
22669 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22670 Perform IRELATIVE relocations last.
22672 * elf/do-rel.h: Add another parameter nrelative, replacing the
22673 local variable with the same name. Change name of the function
22674 to end in Rel or Rela (uppercase).
22675 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22676 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22677 elf_dynamic_do_##reloc function.
22679 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22681 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22682 is sufficient, at least on modern CPUs.
22684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22686 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22687 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22689 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22691 * math/bits/math-finite.h: Add entries for exp.
22692 * math/e_expl.c: Add __*_finite alias.
22693 * sysdeps/i386/fpu/e_exp.S: Likewise.
22694 * sysdeps/i386/fpu/e_expf.S: Likewise.
22695 * sysdeps/i386/fpu/e_expl.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22697 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22701 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22704 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22705 is sufficient, at least on modern CPUs.
22707 * ctype/ctype-info.c (__ctype_init): Define.
22708 * include/ctype.h (__ctype_init): Declare.
22709 (__ctype_b_loc): The variable is always initialized.
22710 (__ctype_toupper_loc): Likewise.
22711 (__ctype_tolower_loc): Likewise.
22712 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22713 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22715 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22717 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22719 * configure.in: Also look in $cxxmachine/include for C++ system
22722 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22724 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22725 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22726 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22727 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22729 (USE_AS_WMEMCMP): New macro.
22731 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22732 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22733 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22734 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22736 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22737 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22738 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22739 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22740 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22741 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22742 (USE_AS_WMEMCMP): New macro.
22743 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22744 * sysdeps/string/test-memcmp.c: Update.
22745 Fix simple_wmemcmp.
22747 * wcsmbs/wmemcmp.c: Update.
22748 (WMEMCMP): New macro.
22751 2011-10-12 Andreas Jaeger <aj@suse.de>
22754 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22756 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22758 * libio/iofwide.c (do_length): Avoid warning.
22760 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22762 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22764 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22766 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22767 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22768 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22769 * sysdeps/i386/i686/fpu/e_log.S: New file.
22770 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22771 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22773 * ctype/ctype.h: Add support for inlined isXXX functions when
22774 compiling C++ code.
22776 2011-10-14 Andreas Schwab <schwab@redhat.com>
22778 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22780 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22782 2011-10-13 Roland McGrath <roland@hack.frob.com>
22785 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22787 2011-10-13 Andreas Schwab <schwab@redhat.com>
22789 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22790 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22793 * sysdeps/x86_64/memrchr.S: Check for zero size.
22795 * string/stratcliff.c: Add memrchr tests.
22797 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22800 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22801 rawmemchr-sse2 rawmemchr-sse2-bsf.
22802 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22803 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22804 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22805 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22806 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22807 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22808 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22809 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22810 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22811 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22812 * string/memrchr.c (MEMRCHR): New macro.
22814 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22816 Add integration with gcc's -ffinite-math-only and optimize wrapper
22818 * Versions.def: Define GLIBC_2.15 version for libm.
22819 * math/Makefile (headers): Add bits/math-finite.h.
22820 * math/bits/math-finite.h: New file.
22821 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22822 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22823 * math/e_acoshl.c: Add __*_finite alias.
22824 * math/e_acosl.c: Likewise.
22825 * math/e_asinl.c: Likewise.
22826 * math/e_atan2l.c: Likewise.
22827 * math/e_atanhl.c: Likewise.
22828 * math/e_coshl.c: Likewise.
22829 * math/e_exp10.c: Likewise.
22830 * math/e_exp10f.c: Likewise.
22831 * math/e_exp10l.c: Likewise.
22832 * math/e_exp2l.c: Likewise.
22833 * math/e_fmodl.c: Likewise.
22834 * math/e_gammal_r.c: Likewise.
22835 * math/e_hypotl.c: Likewise.
22836 * math/e_j0l.c: Likewise.
22837 * math/e_j1l.c: Likewise.
22838 * math/e_jnl.c: Likewise.
22839 * math/e_lgammal_r.c: Likewise.
22840 * math/e_log10l.c: Likewise.
22841 * math/e_log2l.c: Likewise.
22842 * math/e_logl.c: Likewise.
22843 * math/e_powl.c: Likewise.
22844 * math/e_sinhl.c: Likewise.
22845 * math/e_sqrtl.c: Likewise.
22846 * math/e_scalb.c: Completely rewritten and optimized.
22847 * math/e_scalbf.c: Likewise.
22848 * math/e_scalbl.c: Likewise.
22849 * math/w_acos.c: Likewise.
22850 * math/w_acosf.c: Likewise.
22851 * math/w_acosl.c: Likewise.
22852 * math/w_acosh.c: Likewise.
22853 * math/w_acoshf.c: Likewise.
22854 * math/w_acoshl.c: Likewise.
22855 * math/w_asin.c: Likewise.
22856 * math/w_asinf.c: Likewise.
22857 * math/w_asinl.c: Likewise.
22858 * math/w_atan2.c: Likewise.
22859 * math/w_atan2f.c: Likewise.
22860 * math/w_atan2l.c: Likewise.
22861 * math/w_atanh.c: Likewise.
22862 * math/w_atanhf.c: Likewise.
22863 * math/w_atanhl.c: Likewise.
22864 * math/w_exp10.c: Likewise.
22865 * math/w_exp10f.c: Likewise.
22866 * math/w_exp10l.c: Likewise.
22867 * math/w_fmod.c: Likewise.
22868 * math/w_fmodf.c: Likewise.
22869 * math/w_fmodl.c: Likewise.
22870 * math/w_j0.c: Likewise.
22871 * math/w_j0f.c: Likewise.
22872 * math/w_j0l.c: Likewise.
22873 * math/w_j1.c: Likewise.
22874 * math/w_j1f.c: Likewise.
22875 * math/w_j1l.c: Likewise.
22876 * math/w_jn.c: Likewise.
22877 * math/w_jnf.c: Likewise.
22878 * math/w_log.c: Likewise.
22879 * math/w_logf.c: Likewise.
22880 * math/w_logl.c: Likewise.
22881 * math/w_log10.c: Likewise.
22882 * math/w_log10f.c: Likewise.
22883 * math/w_log10l.c: Likewise.
22884 * math/w_log2.c: Likewise.
22885 * math/w_log2f.c: Likewise.
22886 * math/w_log2l.c: Likewise.
22887 * math/w_pow.c: Likewise.
22888 * math/w_powf.c: Likewise.
22889 * math/w_powl.c: Likewise.
22890 * math/w_remainder.c: Likewise.
22891 * math/w_remainderf.c: Likewise.
22892 * math/w_remainderl.c: Likewise.
22893 * math/w_scalb.c: Likewise.
22894 * math/w_scalbf.c: Likewise.
22895 * math/w_scalbl.c: Likewise.
22896 * math/w_sqrt.c: Likewise.
22897 * math/w_sqrtf.c: Likewise.
22898 * math/w_sqrtl.c: Likewise.
22899 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22900 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22902 * math/math_private.h: Declare __kernel_standard_f.
22903 * math/w_cosh.c: Remove cruft and optimize a bit.
22904 * math/w_coshf.c: Likewise.
22905 * math/w_coshl.c: Likewise.
22906 * math/w_exp2.c: Likewise.
22907 * math/w_exp2f.c: Likewise.
22908 * math/w_exp2l.c: Likewise.
22909 * math/w_hypot.c: Likewise.
22910 * math/w_hypotf.c: Likewise.
22911 * math/w_hypotl.c: Likewise.
22912 * math/w_lgamma.c: Likewise.
22913 * math/w_lgamma_r.c: Likewise.
22914 * math/w_lgammaf.c: Likewise.
22915 * math/w_lgammaf_r.c: Likewise.
22916 * math/w_lgammal.c: Likewise.
22917 * math/w_lgammal_r.c: Likewise.
22918 * math/w_sinh.c: Likewise.
22919 * math/w_sinhf.c: Likewise.
22920 * math/w_sinhl.c: Likewise.
22921 * math/w_tgamma.c: Likewise.
22922 * math/w_tgammaf.c: Likewise.
22923 * math/w_tgammal.c: Likewise.
22924 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22926 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22927 Minor optimizations. Pretty printing. Remove cruft.
22928 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22929 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22930 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22931 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22932 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22933 * sysdeps/i386/fpu/e_asin.S: Likewise.
22934 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22935 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22936 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22937 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22938 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22939 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22940 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22941 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22942 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22943 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22944 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22945 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22946 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22947 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22948 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22949 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22950 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22951 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22952 * sysdeps/i386/fpu/e_log.S: Likewise.
22953 * sysdeps/i386/fpu/e_log10.S: Likewise.
22954 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22955 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22956 * sysdeps/i386/fpu/e_log2.S: Likewise.
22957 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22958 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22959 * sysdeps/i386/fpu/e_logf.S: Likewise.
22960 * sysdeps/i386/fpu/e_logl.S: Likewise.
22961 * sysdeps/i386/fpu/e_pow.S: Likewise.
22962 * sysdeps/i386/fpu/e_powf.S: Likewise.
22963 * sysdeps/i386/fpu/e_powl.S: Likewise.
22964 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22965 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22966 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22967 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22968 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22969 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22970 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22971 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22972 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22976 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22977 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22978 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22979 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22980 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22981 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22982 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22983 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22986 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22987 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22989 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22990 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22994 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22995 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22996 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22997 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22998 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22999 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23000 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23001 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23002 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23003 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23004 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23005 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23006 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23007 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23008 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23009 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23010 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23011 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23012 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23013 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23014 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23053 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23058 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23061 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23064 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23065 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23066 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23067 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23068 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23069 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23070 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23071 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23072 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23073 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23074 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23075 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23076 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23077 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23078 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23079 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23080 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23081 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23082 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23083 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23084 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23085 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23086 (__isnanf): Likewise.
23087 (__isinf_ns): Likewise.
23088 (__isinf_nsf): Likewise.
23089 (__finite): Likewise.
23090 (__finitef): Likewise.
23091 (__ieee754_sqrt): Define as macro.
23092 (__ieee754_sqrtf): Define as macro.
23093 (__ieee754_sqrtl): Define as macro.
23094 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23096 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23097 __FINITE_MATH_ONLY__ consistent.
23098 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23100 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23102 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23105 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23107 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23109 * po/ja.po: Update from translation team.
23111 2011-10-08 Roland McGrath <roland@hack.frob.com>
23113 * locale/programs/locarchive.c (prepare_address_space): New function.
23114 (create_archive, enlarge_archive, open_archive): Use it.
23116 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23117 inside [SHARED], where it is used.
23119 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23121 * nss/getent.c (netgroup_keys): Remove unused variable.
23122 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23124 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23126 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23127 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23129 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23130 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23131 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23132 * math/Makefile (libm-calls): Add s_isinf_ns.
23133 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23134 * math/multc3.c: Likewise.
23135 * math/s_casin.c: Likewise.
23136 * math/s_casinf.c: Likewise.
23137 * math/s_casinl.c: Likewise.
23138 * math/s_ccos.c: Likewise.
23139 * math/s_ccosf.c: Likewise.
23140 * math/s_ccosl.c: Likewise.
23141 * math/s_ctan.c: Likewise.
23142 * math/s_ctanf.c: Likewise.
23143 * math/s_ctanh.c: Likewise.
23144 * math/s_ctanhf.c: Likewise.
23145 * math/s_ctanhl.c: Likewise.
23146 * math/s_ctanl.c: Likewise.
23147 * math/w_fmod.c: Likewise.
23148 * math/w_fmodf.c: Likewise.
23149 * math/w_fmodl.c: Likewise.
23150 * math/w_remainder.c: Likewise.
23151 * math/w_remainderf.c: Likewise.
23152 * math/w_remainderl.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23154 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23155 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23157 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23158 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23159 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23160 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23162 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23164 * stdio-common/printf_fphex.c: Likewise.
23165 * stdio-common/printf_size.c: Likewise.
23167 * math/e_exp10.c: Include math_private.h using <...> not "...".
23168 * math/e_exp10f.c: Likewise.
23169 * math/e_exp10l.c: Likewise.
23170 * math/e_exp2l.c: Likewise.
23171 * math/e_j0l.c: Likewise.
23172 * math/e_j1l.c: Likewise.
23173 * math/e_jnl.c: Likewise.
23174 * math/e_lgammal_r.c: Likewise.
23175 * math/e_rem_pio2l.c: Likewise.
23176 * math/e_scalb.c: Likewise.
23177 * math/e_scalbf.c: Likewise.
23178 * math/e_scalbl.c: Likewise.
23179 * math/k_cosl.c: Likewise.
23180 * math/k_sinl.c: Likewise.
23181 * math/k_tanl.c: Likewise.
23182 * math/s_cacoshf.c: Likewise.
23183 * math/s_catan.c: Likewise.
23184 * math/s_catanf.c: Likewise.
23185 * math/s_catanh.c: Likewise.
23186 * math/s_catanhf.c: Likewise.
23187 * math/s_catanhl.c: Likewise.
23188 * math/s_catanl.c: Likewise.
23189 * math/s_ccosh.c: Likewise.
23190 * math/s_ccoshf.c: Likewise.
23191 * math/s_ccoshl.c: Likewise.
23192 * math/s_cexp.c: Likewise.
23193 * math/s_cexpf.c: Likewise.
23194 * math/s_cexpl.c: Likewise.
23195 * math/s_clog.c: Likewise.
23196 * math/s_clog10.c: Likewise.
23197 * math/s_clog10f.c: Likewise.
23198 * math/s_clog10l.c: Likewise.
23199 * math/s_clogf.c: Likewise.
23200 * math/s_clogl.c: Likewise.
23201 * math/s_csin.c: Likewise.
23202 * math/s_csinf.c: Likewise.
23203 * math/s_csinh.c: Likewise.
23204 * math/s_csinhf.c: Likewise.
23205 * math/s_csinhl.c: Likewise.
23206 * math/s_csinl.c: Likewise.
23207 * math/s_csqrt.c: Likewise.
23208 * math/s_csqrtf.c: Likewise.
23209 * math/s_csqrtl.c: Likewise.
23210 * math/s_ctan.c: Likewise.
23211 * math/s_ctanf.c: Likewise.
23212 * math/s_ctanh.c: Likewise.
23213 * math/s_ctanhf.c: Likewise.
23214 * math/s_ctanhl.c: Likewise.
23215 * math/s_ctanl.c: Likewise.
23216 * math/s_ldexp.c: Likewise.
23217 * math/s_ldexpf.c: Likewise.
23218 * math/s_ldexpl.c: Likewise.
23219 * math/s_significand.c: Likewise.
23220 * math/s_significandf.c: Likewise.
23221 * math/s_significandl.c: Likewise.
23222 * math/w_acos.c: Likewise.
23223 * math/w_acosf.c: Likewise.
23224 * math/w_acosh.c: Likewise.
23225 * math/w_acoshf.c: Likewise.
23226 * math/w_acoshl.c: Likewise.
23227 * math/w_acosl.c: Likewise.
23228 * math/w_asin.c: Likewise.
23229 * math/w_asinf.c: Likewise.
23230 * math/w_asinl.c: Likewise.
23231 * math/w_atan2.c: Likewise.
23232 * math/w_atan2f.c: Likewise.
23233 * math/w_atan2l.c: Likewise.
23234 * math/w_atanh.c: Likewise.
23235 * math/w_atanhf.c: Likewise.
23236 * math/w_atanhl.c: Likewise.
23237 * math/w_cosh.c: Likewise.
23238 * math/w_coshf.c: Likewise.
23239 * math/w_coshl.c: Likewise.
23240 * math/w_dremf.c: Likewise.
23241 * math/w_exp10.c: Likewise.
23242 * math/w_exp10f.c: Likewise.
23243 * math/w_exp10l.c: Likewise.
23244 * math/w_exp2.c: Likewise.
23245 * math/w_exp2f.c: Likewise.
23246 * math/w_fmod.c: Likewise.
23247 * math/w_fmodf.c: Likewise.
23248 * math/w_fmodl.c: Likewise.
23249 * math/w_hypot.c: Likewise.
23250 * math/w_hypotf.c: Likewise.
23251 * math/w_hypotl.c: Likewise.
23252 * math/w_j0.c: Likewise.
23253 * math/w_j0f.c: Likewise.
23254 * math/w_j0l.c: Likewise.
23255 * math/w_j1.c: Likewise.
23256 * math/w_j1f.c: Likewise.
23257 * math/w_j1l.c: Likewise.
23258 * math/w_jn.c: Likewise.
23259 * math/w_jnf.c: Likewise.
23260 * math/w_jnl.c: Likewise.
23261 * math/w_lgamma.c: Likewise.
23262 * math/w_lgamma_r.c: Likewise.
23263 * math/w_lgammaf.c: Likewise.
23264 * math/w_lgammaf_r.c: Likewise.
23265 * math/w_lgammal.c: Likewise.
23266 * math/w_lgammal_r.c: Likewise.
23267 * math/w_log.c: Likewise.
23268 * math/w_log10.c: Likewise.
23269 * math/w_log10f.c: Likewise.
23270 * math/w_log10l.c: Likewise.
23271 * math/w_log2.c: Likewise.
23272 * math/w_log2f.c: Likewise.
23273 * math/w_log2l.c: Likewise.
23274 * math/w_logf.c: Likewise.
23275 * math/w_logl.c: Likewise.
23276 * math/w_pow.c: Likewise.
23277 * math/w_powf.c: Likewise.
23278 * math/w_powl.c: Likewise.
23279 * math/w_remainder.c: Likewise.
23280 * math/w_remainderf.c: Likewise.
23281 * math/w_remainderl.c: Likewise.
23282 * math/w_scalb.c: Likewise.
23283 * math/w_scalbf.c: Likewise.
23284 * math/w_scalbl.c: Likewise.
23285 * math/w_sinh.c: Likewise.
23286 * math/w_sinhf.c: Likewise.
23287 * math/w_sinhl.c: Likewise.
23288 * math/w_sqrt.c: Likewise.
23289 * math/w_sqrtf.c: Likewise.
23290 * math/w_sqrtl.c: Likewise.
23291 * math/w_tgamma.c: Likewise.
23292 * math/w_tgammaf.c: Likewise.
23293 * math/w_tgammal.c: Likewise.
23295 * po/ja.po: Update from translation team.
23297 2011-09-29 Andreas Jaeger <aj@suse.de>
23300 * sunrpc/netname.c (netname2host): Fix logic.
23304 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23306 * math/w_remainder.c (__remainder): Likewise.
23307 * math/w_remainderf.c (__remainderf): Likewise.
23308 * math/libm-test.inc (remainder_test): Add test cases.
23310 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23312 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23315 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23317 * string/test-memcmp.c: Avoid unncessary #defines.
23318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23320 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23322 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23323 Use new sse2 version for core i3 - i7 as it's faster
23324 than sse42 version.
23325 (bit_Prefer_PMINUB_for_stringop): New.
23326 * sysdeps/x86_64/rawmemchr.S: Update.
23327 Replace with faster SSE2 version.
23328 * sysdeps/x86_64/memrchr.S: New file.
23329 * sysdeps/x86_64/memchr.S: Update.
23330 Replace with faster SSE2 version.
23332 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23334 * elf/dl-load.c (lose): Add cast to avoid warning.
23336 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23338 * po/ca.po: Update from translation team.
23340 * inet/getnetgrent_r.c: Hook up nscd.
23341 * nscd/Makefile (routines): Add nscd_netgroup.
23342 (nscd-modules): Add netgroupcache.
23343 (CFLAGS-netgroupcache.c): Define.
23344 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23345 (cache_search): Add const to second parameter.
23346 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23348 (dbs): Add netgrdb entry.
23349 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23350 (verify_persistent_db): Handle netgrdb.
23351 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23352 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23354 (netgroup_response_header): Define.
23355 (innetgroup_response_header): Define.
23356 (datahead): Add netgroup_response_header and innetgroup_response_header
23358 * nscd/nscd.conf: Add entries for netgroup cache.
23359 * nscd/nscd.h (dbtype): Add netgrdb.
23360 (_PATH_NSCD_NETGROUP_DB): Define.
23361 (netgroup_iov_disabled): Declare.
23362 (xmalloc, xcalloc, xrealloc): Move declarations here.
23363 (cache_search): Adjust prototype.
23364 Add netgroup-related prototypes.
23365 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23366 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23367 (__nscd_innetgr): Declare.
23368 * nscd/selinux.c (perms): Use access_vector_t as element type and
23369 add netgroup-related initializers.
23370 * nscd/netgroupcache.c: New file.
23371 * nscd/nscd_netgroup.c: New file.
23372 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23373 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23374 For four parameters use innetgr.
23375 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23376 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23377 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23378 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23380 * nscd/connections.c (register_traced_file): Don't register file
23381 for disabled databases.
23383 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23385 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23387 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23388 from tree and freeing node.
23390 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23392 * nss/nsswitch.c (__nss_database_lookup): Handle
23393 nss_parse_service_list out of memory case.
23395 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23397 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23398 out of memory case.
23400 2011-10-04 Andreas Schwab <schwab@redhat.com>
23402 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23403 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23405 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23406 elf_machine_rela, elf_machine_lazy_rel.
23407 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23408 (ELF_DYNAMIC_DO_REL): Likewise.
23409 (ELF_DYNAMIC_DO_RELA): Likewise.
23410 (ELF_DYNAMIC_RELOCATE): Likewise.
23411 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23412 to ELF_DYNAMIC_DO_REL.
23413 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23414 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23415 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23417 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23418 skip_ifunc, don't call ifunc function if non-zero.
23419 (elf_machine_rela): Likewise.
23420 (elf_machine_lazy_rel): Likewise.
23421 (elf_machine_lazy_rela): Likewise.
23422 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23423 (elf_machine_lazy_rel): Likewise.
23424 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23426 (elf_machine_lazy_rel): Likewise.
23427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23429 (elf_machine_lazy_rel): Likewise.
23430 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23431 (elf_machine_lazy_rel): Likewise.
23432 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23433 (elf_machine_lazy_rel): Likewise.
23434 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23435 (elf_machine_lazy_rel): Likewise.
23436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23437 (elf_machine_lazy_rel): Likewise.
23438 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23439 (elf_machine_lazy_rel): Likewise.
23440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23441 (elf_machine_lazy_rel): Likewise.
23443 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23445 * nss/nss_files/files-init.c (_nss_files_init): Use static
23446 initialization for all the *_traced_file variables.
23448 2011-09-28 Andreas Schwab <schwab@redhat.com>
23450 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23452 2011-09-27 Roland McGrath <roland@hack.frob.com>
23455 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23457 2011-09-27 Andreas Schwab <schwab@redhat.com>
23459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23460 Reread the line before reparsing it.
23462 2011-09-26 Andreas Schwab <schwab@redhat.com>
23464 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23466 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23467 Maxim Kuvyrkov <maxim@codesourcery.com>
23468 Joseph Myers <joseph@codesourcery.com>
23470 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23471 if needed for __stack_chk_guard.
23473 2011-09-19 Roland McGrath <roland@hack.frob.com>
23475 * sysdeps/posix/spawni.c (script_execute): Always define it.
23476 It will be optimized away if unused.
23477 (maybe_script_execute): New function.
23478 (__spawni): Call it.
23480 * Makerules: Don't include tls.make.
23481 (config-tls): Always set to thread.
23482 * tls.make.c: File removed.
23484 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23486 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23487 * config.make.in (CPPFLAGS-config): New substituted variable.
23489 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23491 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23494 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23495 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23497 2011-09-15 Roland McGrath <roland@hack.frob.com>
23499 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23500 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23501 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23502 (CALL_FAIL): Likewise.
23503 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23504 (CALL_FAIL): Macro removed.
23505 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23507 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23509 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23510 for __FINITE_MATH_ONLY__ == 1.
23512 2011-09-15 Andreas Schwab <schwab@redhat.com>
23514 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23515 __ieee754_sqrt instead of sqrt.
23516 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23517 __ieee754_sqrtf instead of sqrtf.
23518 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23519 __floorf instead of floorf.
23520 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23521 __floorf, __truncf instead of floorf, truncf.
23523 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23525 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23527 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23528 __extern_always_inline.
23529 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23532 2011-09-14 Andreas Schwab <schwab@redhat.com>
23534 * elf/rtld.c (dl_main): Also relocate in dependency order when
23535 doing symbol dependency testing.
23537 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23540 Always define `refsym'.
23542 2011-09-13 Andreas Schwab <schwab@redhat.com>
23544 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23545 (__FD_ELT): Renamed from __FDELT.
23546 * misc/bits/select2.h (__FD_ELT): Likewise.
23547 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23548 __FD_MASK instead of __FDELT, __FDMASK.
23549 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23551 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23554 * elf/Makefile (gen-ldd): Fix pattern.
23556 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23557 (init_tls): Likewise.
23559 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23563 2011-09-12 Andreas Schwab <schwab@redhat.com>
23565 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23566 `struct cmsghdr *' instead of `void *'.
23567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23570 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23572 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23574 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23575 ldd_rewrite_script.
23577 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23579 * configure.in: Remove --with-tls option.
23580 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23581 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23582 out in case it is missing.
23583 * sysdeps/ia64/elf/configure.in: Likewise.
23584 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23585 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23586 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23587 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23588 * sysdeps/sh/elf/configure.in: Likewise.
23589 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23590 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23591 * sysdeps/x86_64/elf/configure.in: Likewise.
23592 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23593 * sysdeps/mach/hurd/tls.h: Likewise.
23596 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23599 * configure.in: Fix use of AC_INIT.
23601 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23603 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23605 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23607 * malloc/hooks.c: Likewise.
23610 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23611 variables statically.
23612 (narenas): Initialize.
23613 (list_lock): Initialize.
23614 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23615 initializtion of main_arena and list_lock. Small cleanups.
23616 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23617 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23618 Add initializers to main_arena and mp_.
23619 (malloc_state): Remove pagesize member. Change all users to use
23622 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23623 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23624 is always initialized.
23626 * malloc/malloc.c: Removed unused configurations and dead code.
23627 * malloc/arena.c: Likewise.
23628 * malloc/hooks.c: Likewise.
23629 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23631 * include/tls.h: Removed. USE___THREAD must always be defined.
23632 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23633 * elf/dl-libc.c: Likewise.
23634 * elf/dl-tsd.c: Likewise.
23635 * include/errno.h: Likewise.
23636 * include/netdb.h: Likewise.
23637 * include/resolv.h: Likewise.
23638 * inet/herrno-loc.c: Likewise.
23639 * inet/herrno.c: Likewise.
23640 * malloc/arena.c: Likewise.
23641 * malloc/hooks.c: Likewise.
23642 * malloc/malloc.c: Likewise.
23643 * resolv/res-state.c: Likewise.
23644 * resolv/res_libc.c: Likewise.
23645 * sysdeps/i386/dl-machine.h: Likewise.
23646 * sysdeps/ia64/dl-machine.h: Likewise.
23647 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23648 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23649 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23650 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23651 * sysdeps/sh/dl-machine.h: Likewise.
23652 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23653 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23654 * sysdeps/unix/i386/sysdep.S: Likewise.
23655 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23656 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23665 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23666 * sysdeps/x86_64/dl-machine.h: Likewise.
23667 * tls.make.c: Likewise.
23669 * configure.in: Remove --with-__thread option. Make tests for
23670 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23671 tls_model attribute fail if no support is available. Remove
23673 * Makeconfig: Adjust for dropped configure option. All features are
23675 * Makerules: Likewise.
23676 * Versions.def: Likewise.
23677 * argp/argp-fmtstream.c: Likewise.
23678 * argp/argp-fmtstream.h: Likewise.
23679 * argp/argp-help.c: Likewise.
23680 * assert/assert.c: Likewise.
23681 * config.h.in: Likewise.
23682 * config.make.in: Likewise.
23683 * configure: Likewise.
23684 * configure.in: Likewise.
23685 * csu/Versions: Likewise.
23686 * csu/init.c: Likewise.
23687 * elf/tst-audit2.c: Likewise.
23688 * elf/tst-tls10.c: Likewise.
23689 * elf/tst-tls10.h: Likewise.
23690 * elf/tst-tls11.c: Likewise.
23691 * elf/tst-tls12.c: Likewise.
23692 * elf/tst-tls14.c: Likewise.
23693 * elf/tst-tlsmod11.c: Likewise.
23694 * elf/tst-tlsmod12.c: Likewise.
23695 * elf/tst-tlsmod13.c: Likewise.
23696 * elf/tst-tlsmod13a.c: Likewise.
23697 * elf/tst-tlsmod14a.c: Likewise.
23698 * elf/tst-tlsmod15b.c: Likewise.
23699 * elf/tst-tlsmod16a.c: Likewise.
23700 * elf/tst-tlsmod16b.c: Likewise.
23701 * elf/tst-tlsmod7.c: Likewise.
23702 * elf/tst-tlsmod8.c: Likewise.
23703 * elf/tst-tlsmod9.c: Likewise.
23704 * gmon/gmon.c: Likewise.
23705 * grp/fgetgrent_r.c: Likewise.
23706 * grp/putgrent.c: Likewise.
23707 * hurd/fopenport.c: Likewise.
23708 * include/libc-symbols.h: Likewise.
23709 * include/tls.h: Likewise.
23710 * intl/gettextP.h: Likewise.
23711 * intl/loadinfo.h: Likewise.
23712 * locale/global-locale.c: Likewise.
23713 * locale/localeinfo.h: Likewise.
23714 * mach/devstream.c: Likewise.
23715 * malloc/arena.c: Likewise.
23716 * malloc/set-freeres.c: Likewise.
23717 * misc/err.c: Likewise.
23718 * misc/getttyent.c: Likewise.
23719 * misc/mntent_r.c: Likewise.
23720 * posix/getopt.c: Likewise.
23721 * posix/wordexp.c: Likewise.
23722 * pwd/fgetpwent_r.c: Likewise.
23723 * resolv/Versions: Likewise.
23724 * resolv/res_hconf.c: Likewise.
23725 * shadow/fgetspent_r.c: Likewise.
23726 * shadow/putspent.c: Likewise.
23727 * stdio-common/printf_fphex.c: Likewise.
23728 * stdio-common/tmpfile.c: Likewise.
23729 * stdlib/abort.c: Likewise.
23730 * stdlib/fmtmsg.c: Likewise.
23731 * sunrpc/auth_unix.c: Likewise.
23732 * sunrpc/clnt_perr.c: Likewise.
23733 * sunrpc/clnt_tcp.c: Likewise.
23734 * sunrpc/clnt_udp.c: Likewise.
23735 * sunrpc/clnt_unix.c: Likewise.
23736 * sunrpc/openchild.c: Likewise.
23737 * sunrpc/svc_simple.c: Likewise.
23738 * sunrpc/svc_tcp.c: Likewise.
23739 * sunrpc/svc_udp.c: Likewise.
23740 * sunrpc/svc_unix.c: Likewise.
23741 * sunrpc/xdr.c: Likewise.
23742 * sunrpc/xdr_array.c: Likewise.
23743 * sunrpc/xdr_rec.c: Likewise.
23744 * sunrpc/xdr_ref.c: Likewise.
23745 * sunrpc/xdr_stdio.c: Likewise.
23747 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23749 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23751 2011-07-03 Andreas Jaeger <aj@suse.de>
23753 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23755 regenerate with gen-libm-tests.pl.
23757 2010-05-12 Petr Baudis <pasky@suse.cz>
23760 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23761 around j0() zero points by switching to j1().
23762 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23767 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23769 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23771 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23774 Patch in part by Pavel Roskin <proski@gnu.org>.
23777 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23779 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23780 Free memory block if necessary.
23783 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23784 be NULL. Don't lock in this case.
23786 2011-09-09 Roland McGrath <roland@hack.frob.com>
23788 * elf/elf.h (ELFOSABI_GNU): New macro.
23789 (ELFOSABI_LINUX): Define to that.
23791 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23793 * string/strncat.c (strncat): Undef the symbol in case it has been
23794 defined in bits/string.h.
23796 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23798 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23800 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23803 2011-08-17 Andreas Jaeger <aj@suse.de>
23805 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23807 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23808 Ian Lance Taylor <iant@google.com>
23810 * math/libm-test.inc (lround_test): New testcase.
23811 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23813 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23815 * Makefile: Remove support for automatic cvs check-ins.
23816 * Makerules: Likewise.
23817 * config.make.in: Likewise.
23818 * configure.in: Likewise.
23819 * intl/Makefile: Likewise.
23820 * locale/Makefile: Likewise.
23821 * po/Makefile: Likewise.
23822 * posix/Makefile: Likewise.
23823 * sysdeps/gnu/Makefile: Likewise.
23824 * sysdeps/mach/hurd/Makefile: Likewise.
23825 * sysdeps/sparc/sparc32/Makefile: Likewise.
23828 * posix/Makefile (bug-regex32-ENV): Define.
23829 Patch by John Stanley <jpsinthemix@verizon.net>.
23831 * misc/Makefile (headers): Add bits/select2.h.
23832 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23833 * misc/bits/select2.h: New file.
23834 * include/bits/select2.h: New file.
23835 * debug/Makefile (routines): Add fdelt_chk.
23836 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23837 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23839 * debug/fdelt_chk.c: New file.
23841 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23842 * wcsmbs/test-wmemcmp.c: Likewise.
23843 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23844 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23846 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23848 * string/Makefile (strop-tests): Add memcmp.
23849 * string/test-wmemcmp.c: New file.
23850 * string/test-memcmp.c: Add wmemcmp support.
23852 2011-09-08 Roland McGrath <roland@hack.frob.com>
23855 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23858 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23859 garbage value in a __mach_port_mod_refs call in the cases of the
23860 task-self and thread-self ports.
23862 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23864 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23866 2011-09-08 Andreas Schwab <schwab@redhat.com>
23868 * elf/dl-load.c (lose): Check for non-null L.
23870 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23872 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23874 * elf/dl-libc.c (dlerror_run): Pass back error code from
23878 * elf/dl-load.c (lose): Free l_origin if it is valid.
23880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23882 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23883 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23884 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23885 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23886 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23887 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23889 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23891 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23892 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23893 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23894 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23895 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23896 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23897 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23898 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23899 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23900 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23902 2011-08-15 Alan Modra <amodra@gmail.com>
23905 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23906 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23907 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23908 ppc_mcount to static-only-routines.
23909 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23911 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23912 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23914 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23916 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23917 for finite and infinity parameters.
23919 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23921 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23922 and add nop instructions for throughput optimization.
23923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23925 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23927 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23928 aligned copy for power7 with vector-scalar instructions.
23929 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23931 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23936 2011-09-07 Andreas Schwab <schwab@redhat.com>
23939 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23942 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23944 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23945 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23946 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23947 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23950 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23952 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23953 Forgot to demangle the pointer.
23955 * sysdeps/i386/sysdep.h: Define atom_text_section.
23956 * sysdeps/x86_64/sysdep.h: Likewise.
23957 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23958 section with atom_text_section.
23959 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23960 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23961 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23962 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23966 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23967 already be defined. Change to take two parameters and don't assign
23968 result to variable. Adjust all users.
23969 Define INTERNAL_GETTIME if not already defined.
23970 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23973 HAVE_CLOCK_GETTIME_VSYSCALL.
23974 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23977 gettimeofday vsyscall, just use time.
23979 2011-09-06 Andreas Schwab <schwab@redhat.com>
23981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23984 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23986 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23988 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23990 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23991 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23992 syscall if possible.
23994 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23996 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23997 e_ident. Don't pass to find_mapsXX.
23998 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24000 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24003 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24004 * sysdeps/x86_64/multiarch/strchr.S: Update.
24005 Check bit_slow_BSF bit.
24006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24007 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24008 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24010 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24013 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24015 (tryshell): Define.
24016 (__spawni): Change last parameter to be flag. Test
24017 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24018 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24019 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24020 * posix/spawni.c: Likewise.
24021 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24022 * posix/spawnp.c: Likewise. Change normal version to use
24023 SPAWN_XFLAGS_USE_PATH.
24024 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24025 SPAWN_XFLAGS_TRY_SHELL.
24028 * posix/glob.h: Remove gcc 1.x support.
24031 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24033 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24036 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24038 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24039 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24040 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24043 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24045 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24047 * sysdeps/x86_64/wcscmp.S: New file.
24049 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24050 wcscmp-c wcscmp-sse2
24051 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24052 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24053 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24054 * wcsmbs/wcscmp.c: Allow renaming.
24056 2011-09-05 David S. Miller <davem@davemloft.net>
24058 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24059 stack slot, rather than the struct return pointer slot.
24060 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24061 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24063 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24065 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24067 * po/ja.po: Update from translation team.
24070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24071 kernel in 64-bit binaries.
24073 2011-09-01 David S. Miller <davem@davemloft.net>
24075 * elf/elf.h (HWCAP_SPARC_*): Move to..
24076 * sysdeps/sparc/sysdep.h: this new file and add new values.
24077 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24078 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24079 _DL_HWCAP_COUNT to 24.
24080 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24082 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24083 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24084 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24086 instead of magic constants.
24087 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24089 2011-08-31 David S. Miller <davem@davemloft.net>
24091 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24093 Reimplement to do errno handling inline.
24094 (SYSCALL_ERROR_HANDLER): New macro.
24095 (__SYSCALL_STRING): Do not do errno handling in asm.
24096 (__CLONE_SYSCALL_STRING): Delete.
24097 (__INTERNAL_SYSCALL_STRING): Delete.
24098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24099 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24100 (PSEUDO): Reimplement to do errno handling inline.
24101 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24102 (SYSCALL_ERROR_HANDLER): New macro.
24103 (__SYSCALL_STRING): Do not do errno handling in asm.
24104 (__CLONE_SYSCALL_STRING): Delete.
24105 (__INTERNAL_SYSCALL_STRING): Delete.
24106 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24107 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24109 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24110 (inline_syscall*): Add 'err' argument.
24111 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24112 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24113 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24114 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24116 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24117 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24119 2011-08-30 Andreas Schwab <schwab@redhat.com>
24121 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24123 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24125 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24128 2011-08-24 David S. Miller <davem@davemloft.net>
24130 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24132 2011-08-24 Andreas Schwab <schwab@redhat.com>
24134 * elf/Makefile: Add rules to build and run unload8 test.
24135 * elf/unload8.c: New file.
24136 * elf/unload8mod1.c: New file.
24137 * elf/unload8mod1x.c: New file.
24138 * elf/unload8mod2.c: New file.
24139 * elf/unload8mod3.c: New file.
24141 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24144 2011-08-23 David S. Miller <davem@davemloft.net>
24146 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24147 subtract stack bias.
24148 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24149 %sp not %fp in calculations.
24150 (_JMPBUF_UNWINDS_ADJ): Likewise.
24152 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24153 (aio_suspend): Call it to force an exception region around the
24154 AIO_MISC_WAIT() invocation.
24156 2011-08-23 Andreas Schwab <schwab@redhat.com>
24158 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24161 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24163 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24165 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24166 and <dl-machine.h>.
24167 (Elf64_FuncDesc): Remove.
24169 2011-08-22 David S. Miller <davem@davemloft.net>
24171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24172 sigaltstack check, add missing cfi directives.
24173 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24174 missing cfi directives, and sigaltstack handling.
24176 2011-08-16 Andreas Schwab <schwab@redhat.com>
24179 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24180 object is seen twice.
24181 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24183 * elf/Makefile (distribute): Add tst-initorder2.c.
24184 (tests): Add tst-initorder2.
24185 (modules-names): Add tst-initorder2a tst-initorder2b
24186 tst-initorder2c tst-initorder2d. Add rules to build them.
24187 ($(objpfx)tst-initorder2.out): New rule.
24188 * elf/tst-initorder2.c: New file.
24189 * elf/tst-initorder2.exp: New file.
24191 2011-08-22 Andreas Schwab <schwab@redhat.com>
24193 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24195 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24196 dependencies back to end of function.
24198 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24199 $(elfobjdir)/ld.so.
24201 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24204 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24205 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24206 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24207 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24208 of __vdso_gettimeofday.
24209 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24210 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24212 (_libc_vdso_platform_setup): Remove initialization of
24213 __vdso_gettimeofday and __vdso_time.
24215 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24217 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24218 and fgetc_unlocked.
24219 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24222 * elf/dl-open.c (add_to_global): Report additions to the global scope
24223 for LD_DEBUG=scopes.
24224 (dl_open_worker): Also print scope of newly loaded dependencies.
24225 (_dl_show_scope): Indicate if there is no scope.
24228 * stdio-common/Makefile (tests): Add bug24.
24229 * stdio-common/bug24.c: New file.
24231 2011-08-19 Andreas Jaeger <aj@suse.de>
24234 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24235 non-existant file when using close-on-exec mode.
24237 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24239 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24240 the very first instruction.
24242 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24243 the CFI state in the end.
24244 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24245 inclusion of dl-trampoline.h.
24246 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24248 2011-08-19 Andreas Schwab <schwab@redhat.com>
24250 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24251 expectations for long double.
24253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24254 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24256 2011-08-14 David S. Miller <davem@davemloft.net>
24258 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24259 artificual limit depends upon the system page size.
24261 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24263 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24264 * resolv/Makefile: Define CFLAGS-libresolv.
24266 2011-08-17 Andreas Schwab <schwab@redhat.com>
24268 * nss/makedb.c (compute_tables): Make variables used in nested
24271 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24273 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24274 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24275 if buffer was too small.
24277 * elf/pldd.c (main): Attach to all threads in the process.
24278 Rewrite /proc handling to use *at functions.
24280 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24282 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24283 specifies first scope to show.
24284 (dl_open_worker): Update callers. Move printing scope of new
24285 object to before the relocation.
24286 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24287 * sysdeps/generic/ldsodefs.h: Update declaration.
24289 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24290 string for the scope number.
24292 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24294 * nscd/servicescache.c (cache_addserv): Make sure written is always
24297 2011-08-14 Roland McGrath <roland@hack.frob.com>
24299 * sysdeps/i386/i486/bits/atomic.h
24300 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24301 statement expression, so as to suppress "set but not used" warning.
24302 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24304 * string/strncat.c (STRNCAT): Use prototype definition.
24306 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24307 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24309 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24310 (localedef-modules): Add localedef.
24311 (locale-modules): Add locale.
24313 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24314 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24315 to avoid a warning.
24317 2011-08-14 David S. Miller <davem@davemloft.net>
24319 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24320 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24322 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24324 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24325 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24326 * elf/rtld.c (dl_main): Set l_name of vDSO.
24327 Call _dl_show_scope when DL_DEBUG_SCOPES.
24328 (process_dl_debug): Recognize scopes flag and also set it for all.
24329 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24330 Declare _dl_show_scope.
24332 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24333 (do_dlopen): Pass caller_dlopen to dl_open.
24334 (__libc_dlopen_mode): Initialize caller_dlopen.
24336 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24337 of libc. Make tolower call locale-independent. Optimize a bit by
24338 using isdigit instead of isalnum.
24339 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24341 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24343 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24344 was a dependency or dynamically loaded.
24346 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24348 * intl/l10nflist.c: Allow architecture-specific pop function.
24349 * sysdeps/x86_64/l10nflist.c: New file.
24351 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24354 2011-08-10 Andreas Schwab <schwab@redhat.com>
24356 * include/dirent.h: Add libc_hidden_proto for scandirat and
24357 scandirat64. Don't declare __scandirat64.
24358 * dirent/scandirat.c: Add libc_hidden_def.
24359 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24360 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24362 2011-08-10 David S. Miller <davem@davemloft.net>
24364 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24368 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24370 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24372 * Versions.def [libc]: Add GLIBC_2.15.
24373 * dirent/Makefile (routines): Add scandirat and scandirat64.
24374 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24376 * dirent/dirent.h: Declare scandirat and scandirat64.
24377 * dirent/scandirat.c: New file.
24378 * dirent/scandirat64.c: New file.
24379 * sysdeps/wordsize-64/scandirat.c: New file.
24380 * sysdeps/wordsize-64/scandirat64.c: New file.
24381 * dirent/opendir.c: Define opendirat.
24382 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24384 * dirent/scandir64.c: Adjust for scandir.c change.
24385 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24386 __scandirat64, and __scandir_cancel_handler.
24387 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24388 additional parameter and use openat instead of open (outside of ld.so).
24389 Add new __opendir as wrapper around __opendirat.
24390 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24391 here without requiring old scandirat implementation.
24393 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24395 * dirent/scandir.c (cancel_handler): Renamed to
24396 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24397 defined. Adjust users.
24398 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24399 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24401 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24403 * string/test-string.h (IMPL): Use __STRING to expand name and then
24406 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24409 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24411 * string/Makefile: Update.
24412 (strop-tests): Append strncat.
24413 * string/test-wcscmp.c: New file.
24414 New comprehensive test for wcscmp.
24415 * string/test-strcmp.c: Update.
24416 (WIDE): New define.
24418 2011-07-22 Andreas Schwab <schwab@redhat.com>
24420 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24423 2011-07-26 Andreas Schwab <schwab@redhat.com>
24425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24426 encoding to ACE if AI_IDN.
24428 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24431 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24433 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24435 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24436 Fix overflow bug in strncat.
24437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24439 * string/test-strncat.c: Update.
24440 Add new tests for checking overflow bugs.
24442 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24445 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24446 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24447 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24449 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24450 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24451 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24452 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24455 (USE_AS_STRCAT): Define.
24456 Add strcat and strncat support.
24457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24459 2011-07-25 Andreas Schwab <schwab@redhat.com>
24461 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24462 __n bigger than INT_MAX+1.
24463 (__strncmp_g): Likewise.
24465 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24467 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24468 * libio/stido.h: Likewise.
24470 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24475 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24476 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24477 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24478 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24482 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24487 (_dl_x86_64_save_sse): Likewise.
24489 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24491 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24493 (_dl_x86_64_save_sse): Likewise.
24495 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24497 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24499 2011-07-21 Andreas Schwab <schwab@redhat.com>
24501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24503 (_dl_x86_64_save_sse): Use correct AVX check.
24505 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24508 bug in strncpy/strncat.
24509 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24511 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24513 * string/tester.c (test_strcat): Add tests for different alignments
24514 of source and destination.
24515 (test_strncat): Likewise.
24517 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24520 * posix/glob.c (glob): Check passed in values before using them in
24521 expressions to avoid some overflows.
24522 (glob_in_dir): Likewise.
24525 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24526 check for AVX enablement so that we don't crash with old kernels and
24528 * elf/tst-audit4.c: Add same checks here.
24529 * elf/tst-audit6.c: Likewise.
24531 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24533 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24535 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24537 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24539 * po/cs.po: Update from translation team.
24540 * po/bg.po: Likewise.
24542 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24544 * misc/sys/cdefs.h: Add support for const attribute.
24545 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24546 to gnu_dev_{major,minor,makedev} functions.
24548 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24550 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24552 2011-07-20 Andreas Schwab <schwab@redhat.com>
24554 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24557 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24560 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24561 register in order to avoid conflicts with the soft frame pointer
24562 being held in r11 when necessary.
24563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24564 (INTERNAL_VSYSCALL_NCS): Likewise.
24566 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24568 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24569 * elf/dl-fini.c (_dl_fini): Adjust caller.
24570 * elf/dl-close.c (_dl_close_worker): Likewise.
24571 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24573 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24575 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24576 "aux_cache->nlibs < 0".
24578 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24579 in the reload-count case.
24581 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24584 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24585 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24586 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24587 * sysdeps/x86_64/multiarch/strcat.S: New file.
24588 * sysdeps/x86_64/multiarch/strncat.S: New file.
24589 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24590 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24591 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24592 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24594 (USE_AS_STRCAT): Define.
24595 Add strcat and strncat support.
24596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24597 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24598 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24599 * string/strncat.c: Update.
24600 (USE_AS_STRNCAT): Define.
24601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24602 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24604 * sysdeps/x86_64/multiarch/init-arch.h
24605 (bit_Prefer_PMINUB_for_stringop): New.
24606 (index_Prefer_PMINUB_for_stringop): Likewise.
24607 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24608 bit_Prefer_PMINUB_for_stringop.
24610 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24612 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24614 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24615 of casting of buffer.
24616 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24617 buffer32 and buffer64.
24618 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24619 writes instead of casting of buffer.
24620 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24622 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24625 2011-07-19 Andreas Schwab <schwab@redhat.com>
24627 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24629 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24631 * nscd/nscd.c (termination_handler): Don't do anything for a database
24632 if it has not yet been initialized.
24634 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24636 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24638 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24640 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24642 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24644 * po/nl.po: Update from translation team.
24645 * po/sv.po: Likewise.
24647 2011-07-16 Roland McGrath <roland@hack.frob.com>
24649 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24650 now disallowed by GCC.
24652 * configure.in (use-default-link): Default to yes if a test -shared
24653 link meets our qualifications.
24654 * configure: Regenerated.
24656 * config.make.in (output-format): New variable.
24657 * configure.in: Check for ld --print-output-format support.
24658 * configure: Regenerated.
24659 * Makerules ($(common-objpfx)format.lds)
24660 [$(output-format) != unknown]: Just use $(output-format),
24661 instead of the linker-script munging.
24663 2011-07-14 Roland McGrath <roland@hack.frob.com>
24665 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24666 of $(common-objpfx)shlib.lds.
24667 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24669 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24670 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24672 * configure.in (-z relro check): Adjust test code to add a large
24673 writable data section after it.
24674 * configure: Regenerated.
24676 2011-07-11 Roland McGrath <roland@hack.frob.com>
24678 * configure.in (-z relro check): Fix test code to make the variable
24680 * configure: Regenerated.
24682 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24684 * nscd/nscd.h (struct traced_file): Define.
24685 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24686 elements. Add traced_files.
24687 (inotify_fd): Declare.
24688 (register_traced_file): Declare.
24689 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24690 (inotify_fd): Export.
24691 (resolv_conf_descr): Remove.
24692 (nscd_init): Move inotify descriptor creation to main.
24693 Don't register files for notification here.
24694 (register_traced_file): New function.
24695 (invalidate_cache): Don't use reset_res to determine whether to call
24696 res_init, go through the list of registered files.
24697 (main_loop_poll): The inotify descriptors are now stored in the
24698 structures for the traced files.
24699 (main_loop_epoll): Likewise
24700 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24701 to __nss_disable_nscd.
24702 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24703 for a database anymore. Check the records for all the registered
24705 * nss/Makefile (libnss_files-routines): Add files-init.
24706 (libnss_db-routines): Add db-init.
24707 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24708 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24709 * nss/nss_db/db-init.c: New file.
24710 * nss/nss_files/files-init.c: New file.
24711 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24712 __nss_lookup_function.
24713 (__nss_lookup_function): Call nss_load_library.
24714 (nss_load_all_libraries): New function.
24715 (__nss_disable_nscd): Take parameter with callback function for files
24716 to register. Set is_nscd. Load all the DSOs for the NSS modules
24717 used for the cached services.
24718 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24719 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24720 options for features to all the files in nscd.
24722 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24724 2011-07-10 Roland McGrath <roland@hack.frob.com>
24726 * csu/elf-init.c (__libc_csu_init): Comment typo.
24728 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24730 * po/pl.po: Update from translation team.
24731 * po/ja.po: Likewise.
24732 * po/ru.po: Likewise.
24733 * po/ko.po: Likewise.
24734 * po/fr.po: Likewise.
24736 2011-07-09 Roland McGrath <roland@hack.frob.com>
24738 * configure.in (.ctors/.dtors header and trailer check):
24739 Use an empirical test on a built program.
24740 * configure: Regenerated.
24742 * configure.in (-z relro check): Use an empirical test on a built DSO.
24743 Detect, but do not require, on ia64.
24744 * configure: Regenerated.
24746 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24747 Update tests that use readelf to use $READELF instead.
24748 * configure: Regenerated.
24750 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24752 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24753 if the result is not used.
24755 2011-07-05 Andreas Jaeger <aj@suse.de>
24758 * stdlib/tst-strtod.c: Add testcase.
24760 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24762 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24763 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24764 The latter has a higher limit. Take additional parameter to pass to
24766 (__pathconf): Pass file to __statfs_link_max.
24767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24769 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24773 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24774 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24776 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24777 (__statfs_filesize_max): Likewise.
24778 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24780 2011-07-05 Andreas Jaeger <aj@suse.de>
24782 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24784 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24786 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24788 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24791 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24793 * Makefile (strop-tests): Add strncat.
24794 * string/test-strncat.c: New file.
24796 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24798 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24800 2011-06-21 Andreas Jaeger <aj@suse.de>
24802 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24803 Copy rule from iconvdata/Makefile.
24805 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24808 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24809 but no long options are defined, just return 'W'.
24811 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24814 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24816 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24818 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24820 (innetgr): Likewise.
24822 2011-07-05 Roland McGrath <roland@hack.frob.com>
24824 * config.make.in (install_root): Default to $(DESTDIR).
24826 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24828 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24830 2011-07-02 Roland McGrath <roland@hack.frob.com>
24832 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24834 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24835 containing directory rather than embedding absolute directory names.
24837 * scripts/check-local-headers.sh: Rewritten using awk.
24838 Match by word, not by line. Print error messages for matches.
24839 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24841 * Makerules [shlib-lds-flags empty]:
24842 ($(common-objpfx)libc_pic.opts): New target.
24843 ($(common-objpfx)libc_pic.os.clean): New target.
24844 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24846 * config.make.in (OBJCOPY): New variable.
24847 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24848 * configure: Regenerated.
24850 * config.make.in (use-default-link): New variable.
24851 * configure.in (use_default_link): Grok --with-default-link to set it.
24852 * configure: Regenerated.
24853 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24854 (shlib-lds, shlib-lds-flags): Define to empty.
24856 * Makerules (shlib-lds): New variable.
24857 (shlib-lds-flags): New variable.
24858 (build-shlib, build-moduile, build-module-asneeded): Use it.
24859 ($(common-objpfx)libc.so): Use $(shlib-lds).
24860 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24861 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24863 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24864 DT_FLAGS/DT_FLAGS_1 with zero flags.
24866 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24867 linker script munging.
24869 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24871 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24873 * crypt/sha512.c (sha512_process_block): Perform total addition using
24874 128-bit if possible.
24875 (__sha512_finish_ctx): Likewise.
24876 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24878 * crypt/sha256.c (SWAP64): Define.
24879 (sha256_process_block): Perform total addition using 64-bit if
24881 (__sha256_finish_ctx): Likewise.
24883 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24885 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24887 * nscd/hstcache.c (cache_addhst): Likewise.
24888 * nscd/grpcache.c (cache_addgr): Likewise.
24889 * nscd/aicache.c (addhstaiX): Likewise
24890 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24892 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24894 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24895 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24896 * nscd/hstcache.c (cache_addhst): Likewise.
24897 * nscd/grpcache.c (cache_addgr): Likewise.
24898 * nscd/aicache.c (addhstaiX): Likewise
24900 2011-07-01 Andreas Schwab <schwab@redhat.com>
24902 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24903 domain only when needed.
24905 2011-06-30 Andreas Schwab <schwab@redhat.com>
24907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24908 is always restored.
24910 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24912 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24913 are re-adding the entry.
24914 * nscd/servicescache.c (cache_addserv): Likewise.
24916 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24918 * sysdeps/generic/dl-irel.h: fix protection against multiple
24920 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24922 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24925 * malloc/memusage.sh: Fix quoting in message.
24926 * debug/xtrace.sh: Likewise.
24928 * configure.in: Remove support for --experimental-malloc option, make
24930 * config.make.in: Likewise.
24931 * malloc/Makefile: Likewise.
24933 2011-06-27 Andreas Schwab <schwab@redhat.com>
24935 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24936 two-byte characters.
24938 2011-06-27 Roland McGrath <roland@hack.frob.com>
24940 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24941 AC_CACHE_CHECK invocation.
24942 * configure: Regenerated.
24944 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24946 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24949 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24950 bit from old_res_options.
24952 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24954 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24955 value type for setfct.
24957 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24959 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24960 __gettimeofday instead of gettimeofday.
24962 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24964 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24966 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24970 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24973 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24976 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24977 strcpy-sse2-unaligned strncpy-sse2-unaligned
24978 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24979 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24980 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24981 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24982 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24983 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24985 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24986 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24987 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24988 (STRCPY): Support SSE2 and SSSE3 versions.
24990 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24993 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24994 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24995 kernels which artificially limit size of requests.
24997 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25000 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25001 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25002 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25003 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25004 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25005 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25006 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25007 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25009 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25010 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25011 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25012 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25013 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25015 Enable unaligned load optimization for Intel Core i3, i5 and i7
25017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25019 (index_Fast_Unaligned_Load): Define.
25020 (HAS_FAST_UNALIGNED_LOAD): Define.
25022 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25024 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25026 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25030 until it is clear that the information is realy needed.
25031 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25033 2011-06-22 Andreas Schwab <schwab@redhat.com>
25035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25037 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25039 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25040 /sys/devices/system/cpu/online if it is usable.
25042 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25043 reading the information from the /proc filesystem to once a second.
25045 2011-06-21 Andreas Jaeger <aj@suse.de>
25047 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25048 NULL after inclusion of kernel headers.
25050 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25052 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25053 calls to internal_setent.
25056 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25057 addresses using gethostbyname4_r ignore IPv4 addresses.
25059 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25060 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25062 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25064 2011-06-20 David S. Miller <davem@davemloft.net>
25066 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25068 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25070 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25071 (elf_irel): Use it.
25072 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25073 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25074 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25075 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25076 * sysdeps/x86_64/dl-irel.h: Likewise.
25078 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25079 * elf/dl-sym.c: Likewise.
25081 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25083 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25084 need to dereference resplen2.
25086 2011-06-14 Andreas Schwab <schwab@redhat.com>
25088 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25090 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25092 * Makeconfig: Define vardbdir and inst_vardbdir.
25093 * nss/Makefile: Add rules to install db-Makefile.
25095 * nss/nss_db/db-XXX.c: Cleanup.
25097 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25098 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25100 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25101 * nss/makedb.c: Implement -g option to specify that value strings
25102 are generated and should not be added to table iterated over for
25104 * nss/nss_db/db-initgroups.c: New file.
25106 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25109 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25110 (internal_getgrouplist): Adjust to name change.
25111 Update use_initgroups_entry if this is not the first call.
25112 * nss/databases.def: Add initgroups entry.
25114 * nss/makedb.c (compute_tables): Check result of multiple hash table
25115 sizes to minimize maximum chain length.
25117 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25119 * Versions.def: Add entry for libnss_db.
25120 * shlib-versions: Likewise.
25121 * nss/Makefile: Add rules to build libnss_db.
25122 * nss/Versions: Add libnss_db information. Organize libnss_files
25124 * nss/db-Makefile: Add gshadow support. Change rules for the new
25125 makedb progra. Some minor improvements to generate smaller files.
25126 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25128 * nss/makedb.c: ...here.
25129 Improve database format to be smaller and require less memory at
25131 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25133 * nss/nss_db/db-netgrp.c: Likewise.
25134 * nss/nss_db/db-open.c: Likewise.
25135 * nss/nss_files/flies-XXX.x: Adjust comments.
25136 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25137 * nss/nss_files/files-grp.c: Likewise.
25138 * nss/nss_files/files-hosts.c: Likewise.
25139 * nss/nss_files/files-network.c: Likewise.
25140 * nss/nss_files/files-proto.c: Likewise.
25141 * nss/nss_files/files-pwd.c: Likewise.
25142 * nss/nss_files/files-rpc.c: Likewise.
25143 * nss/nss_files/files-service.c: Likewise.
25144 * nss/nss_files/files-sgrp.c: Likewise.
25145 * nss/nss_files/files-spwd.c: Likewise.
25146 * nss/nss_db/db-alias.c: Removed.
25147 * nss/nss_db/dummy-db.h: Removed.
25149 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25151 * nss/makedb.c: Rewritten to not use database library.
25152 * nss/Makefile: Update to build new makedb program.
25154 2011-06-14 Andreas Jaeger <aj@suse.de>
25156 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25157 memset declaration.
25159 2011-06-10 Andreas Schwab <schwab@redhat.com>
25161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25164 2011-06-10 Roland McGrath <roland@hack.frob.com>
25166 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25167 * elf/Makefile ($(objpfx)ld.so): Likewise.
25169 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25170 Don't list ld.so twice in dependencies.
25172 * posix/bug-regex31.c: Include <stdlib.h>.
25174 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25176 * nis/nss_compat/compat-spwd.c
25177 (getspent_next_nss_netgr): Remove unused variable.
25178 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25180 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25181 nonmembers" output to use the right array.
25183 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25185 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25187 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25188 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25189 * catgets/gencat.c (read_input_file): Likewise.
25190 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25192 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25193 variable definition inside #if's controlling its use.
25195 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25197 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25199 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25201 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25204 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25206 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25207 * configure: Regenerated.
25209 * Makerules: Revert last change.
25210 * elf/Makefile: Likewise.
25212 2011-06-09 Roland McGrath <roland@hack.frob.com>
25214 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25215 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25216 (reloc-link): Likewise.
25218 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25220 * elf/Makefile: Add rules to build pldd.
25221 * elf/pldd.c: New file.
25222 * elf/pldd-xx.c: New file.
25224 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25226 * version.h: Update for 2.15 development version.
25228 2011-06-07 David S. Miller <davem@davemloft.net>
25230 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25233 elf_machine_lazy_rel): Likewise.
25234 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25236 elf_machine_lazy_rel): Likewise.
25237 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25238 dl_hwcap via passed in argument.
25239 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25242 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25244 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25246 2011-06-06 Roland McGrath <roland@hack.frob.com>
25249 * manual/fdl-1.1.texi: New file, verbatim from:
25250 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25251 * manual/lgpl-2.1.texi: New file, verbatim from:
25252 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25253 * manual/Makefile (licenses): New variable, list those new file names.
25255 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25257 * manual/fdl.texi: File removed.
25258 * manual/lesser.texi: File removed.
25259 * manual/libc.texinfo (Copying, Documentation License):
25260 Use new @include file names, put @appendix directive before @include.
25262 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25265 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25266 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25267 (mq_open): Add __NTH.
25269 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25272 Assume Intel Core i3/i5/i7 processor if AVX is available.
25274 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25279 2011-05-31 Andreas Schwab <schwab@redhat.com>
25281 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25282 memory. Use alloca_account. Fix memory leak when retrying.
25284 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25286 * version.h (RELEASE): Bump for 2.14 release.
25287 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25289 * config.make.in (RANLIB): Remove entry.
25291 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25293 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25294 (libc.pot): Work around missing support for .ksh extension in xgettext.
25297 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25298 if both request failed.
25299 (send_dg): In case of server errors clear resplen or *resplen2.
25302 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25303 when there are multiple maps.
25304 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25305 (_dl_fini): Remove test here.
25307 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25309 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25312 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25313 bit from old_res_options.
25314 (gaih_inet): Likewise.
25317 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25320 * resolv/res_init.c (res_setoptions): Make the code more compact.
25323 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25327 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25329 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25332 * malloc/malloc.h: Declare malloc hook variables as volatile.
25334 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25338 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25339 raise in the comment.
25340 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25342 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25344 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25347 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25348 grow the buffers more if it already has to be sufficient.
25349 (build_wcs_upper_buffer): Likewise.
25350 * posix/regexec.c (check_matching): Likewise.
25351 (clean_state_log_if_needed): Likewise.
25352 (extend_buffers): Don't enlarge buffers beyond size of the input
25354 Patches mostly by Emil Wojak <emil@wojak.eu>.
25355 * posix/bug-regex32.c: New file.
25356 * posix/Makefile (tests): Add bug-regex32.
25358 * locale/findlocale.c (_nl_find_locale): Return right away if
25359 _nl_explode_name failed.
25360 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25362 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25364 * debug/xtrace.sh: Unify messages.
25365 * malloc/memusage.sh: Likewise.
25368 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25369 time symbol from vDSO. Substitute with vsyscall if not available.
25370 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25373 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25374 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25375 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25376 Add sendmmsg and internal_sendmmsg.
25377 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25378 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25379 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25381 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25382 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25383 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25385 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25388 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25389 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25391 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25395 * iconvdata/Makefile (tests): Add bug-iconv9.
25396 * iconvdata/bug-iconv9.c: New file.
25398 2011-05-27 Andreas Schwab <schwab@redhat.com>
25401 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25403 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25406 (struct user_regs_struct): Change intcs field back to cs.
25408 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25410 * po/ja.po: Update from translation team.
25412 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25415 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25416 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25418 2011-05-20 Andreas Schwab <schwab@redhat.com>
25420 * stdlib/longlong.h: Update from GCC.
25422 2011-05-23 Andreas Schwab <schwab@redhat.com>
25424 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25426 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25427 Add parameter name.
25428 (__sysconf): Pass it down.
25430 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25433 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25435 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25436 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25437 add in in __libc_use_alloca calls. Adjust callers.
25438 (glob): Use malloc in some situations.
25440 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25441 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25444 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25446 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25447 and CLOCK_BOOTTIME_ALARM.
25450 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25453 * string/_strerror.c (__strerror_r): Print negative errors as signed
25457 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25458 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25459 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25461 * configure.in: Fix typo in redirection and correct removal of test
25462 files in two cases.
25465 * locale/setlocale.c (new_composite_name): Fix test to check for
25466 identical name of all categories.
25469 * libio/filedoalloc.c (local_isatty): New function.
25470 (_IO_file_doallocate): Use local_isatty.
25471 * stdio-common/perror.c (perror): In case a new stream is used
25472 forward the stream error.
25473 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25476 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25481 * include/alloca.h (extend_alloca_account): Define.
25484 * posix/regex.h: Fix comments with documentation of user-accessible
25485 fields after compilation and describe correct free'ing of pattern
25486 after re_compile_pattern.
25487 Patch by Reuben Thomas <rrt@sc3d.org>.
25489 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25491 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25492 and -mno-altivec to prevent the compiler from using Altivec and/or
25493 VSX instructions when the corresponding registers are not available.
25495 2011-05-19 Andreas Schwab <schwab@redhat.com>
25497 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25499 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25501 * libio/freopen.c (freopen): Use __dup2, not dup2.
25502 * libio/freopen64.c (freopen64): Likewise.
25504 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25507 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25508 * math/Makefile (tests): Add test-powl.
25509 (CFLAGS-test-powl.c): Define.
25510 * math/test-powl.c: New file.
25512 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25514 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25516 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25519 * iconvdata/gb18030.c: Update to GB18020-2005.
25521 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25523 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25524 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25525 Patch by Aharon Robbins <arnold@skeeve.com>.
25528 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25532 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25533 through underflows.
25536 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25537 point to strings before performing equality test for error_one_per_line
25541 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25545 (struct user_fpregs_struct): Avoid __uint*_t types.
25548 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25549 symbol info. Use it instead of calling _dl_addr locally.
25550 (lock_and_info): New function.
25551 (tr_freehook): Call lock_and_info and pass symbol info as additional
25552 parameter to tr_where.
25553 (tr_mallochook): Likewise.
25554 (tr_reallochook): Likewise.
25555 (tr_memalignhook): Likewise.
25557 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25558 used and couldn't be at all thread-safe.
25560 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25562 * libio/freopen.c (freopen): Don't close old file descriptor
25563 before the new one is opened. Instead dup the new file descriptor
25564 to the old one after the new stream is created.
25565 * libio/freopen64.c (freopen64): Likewise.
25566 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25567 * libio/fileops.c (_IO_new_file_close_it): Handle new
25568 _IO_FLAGS2_NOCLOSE flag.
25569 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25570 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25571 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25572 _IO_FLAGS2_NOCLOSE flag.
25573 * include/unistd.h: Add hidden_proto for dup3.
25574 Define __have_dup3.
25575 * io/dup3.c: Define hidden symbol.
25576 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25579 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25580 when an incomplete long option is used.
25581 * posix/tst-getopt_long1.c: New file.
25582 * posix/Makefile (tests): Add tst-getopt_long1.
25585 * scripts/config.guess: Update from autoconf-2.68.
25586 * scripts/config.sub: Likewise.
25589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25591 (has_cpuclock): ...this. New function.
25592 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25593 macro here based on has_cpuclock code.
25596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25597 First byte (not low byte) is now always NUL.
25598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25601 Use non-cancelable interfaces.
25604 * locale/iso-639.def: Add entry for Sorani.
25607 * include/stdlib.h: Move include protection to the right place.
25608 Define abort_msg_s. Declare __abort_msg with it.
25609 * stdlib/abort.c (__abort_msg): Adjust type.
25610 * assert/assert.c (__assert_fail_base): New function. Majority
25611 of code from __assert_fail. Allocate memory for __abort_msg with
25613 (__assert_fail): Now call __assert_fail_base.
25614 * assert/assert-perr.c: Remove bulk of implementation. Use
25615 __assert_fail_base.
25616 * include/assert.hL Declare __assert_fail_base.
25617 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25619 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25621 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25625 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25626 until all modules are registered in the DTV.
25627 * elf/Makefile: Add rules to build and run tst-tls19.
25628 * elf/tst-tls19.c: New file.
25629 * elf/tst-tls19mod1.c: New file.
25630 * elf/tst-tls19mod2.c: New file.
25631 * elf/tst-tls19mod3.c: New file.
25632 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25635 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25639 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25640 two-byte sequence errors.
25641 * iconvdata/Makefile (tests): Add bug-iconv8.
25642 * iconvdata/bug-iconv8.c: New file.
25645 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25648 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25651 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25652 (dummy_getcfa): New function.
25653 (init): Get _Unwind_GetCFA address, use dummy if not found.
25654 (backtrace_helper): In recursion check, also check whether CFA changes.
25655 (__backtrace): Completely initialize arg.
25657 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25658 storing incomplete byte sequence in state object. Avoid testing for
25659 guaranteed too small input if we know there is enough data available.
25661 2011-05-11 Andreas Schwab <schwab@redhat.com>
25663 * Makeconfig (+link-pie): Indent.
25664 * Rules (binaries-pie): Define if $(have-fpie) and
25666 (binaries-shared): Also filter out $(binaries-pie).
25667 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25668 * nscd/Makefile (others-pie): Add nscd.
25669 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25670 ($(objpfx)nscd): Remove command override.
25671 * login/Makefile (others-pie): Add pt_chown.
25672 ($(objpfx)pt_chown): Remove command override.
25673 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25674 remove command overrides.
25676 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25678 * libio/tst_putwc.c: Fix error messages.
25681 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25682 currently writing and seek to current position when not.
25683 * libio/Makefile (tests): Add bug-fclose1.
25684 * libio/bug-fclose1.c: New file.
25686 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25689 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25690 don't set DF_1_NODELETE here.
25691 (do_lookup_x): When entering new entry test for copy relocation
25692 and if necessary set DF_1_NODELETE flag.
25693 * elf/tst-unique4.cc: New file.
25694 * elf/tst-unique4.h: New file.
25695 * elf/tst-unique4lib.cc: New file.
25696 * elf/Makefile: Add rules to build and run tst-unique4.
25697 Patch by Piotr Bury <pbury@goahead.com>.
25699 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25702 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25705 * misc/mntent_r.c (addmntent): Flush the stream after the output
25708 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25709 (is_trusted_path_normalize): Skip initial colon. Append slash
25710 to empty buffer. Duplicate is_trusted_path code but allow
25711 constructed patch to be prefix.
25712 (is_dst): Allow $ORIGIN followed by /.
25713 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25714 Correct testing of result of is_trusted_path_normalize
25715 (decompose_rpath): Fix warning.
25717 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25720 * grp/initgroups.c (internal_getgrouplist): When we found the service
25721 list through the initgroups entry in nsswitch.conf do not always
25722 continue on a successful lookup. Don't always use the
25723 __nss_group_database value if it is set.
25724 * nss/nsswitch.conf (initgroups): Change action for successful db
25725 lookup to continue for compatibility.
25727 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25730 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25732 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25734 * iconvdata/tst-tables.sh: Likewise.
25735 * iconvdata/cp770.c: New file.
25736 * iconvdata/cp771.c: New file.
25737 * iconvdata/cp772.c: New file.
25738 * iconvdata/cp773.c: New file.
25739 * iconvdata/cp774.c: New file.
25740 * iconvdata/testdata/CP770: New file.
25741 * iconvdata/testdata/CP770..UTF8: New file.
25742 * iconvdata/testdata/CP771: New file.
25743 * iconvdata/testdata/CP771..UTF8: New file.
25744 * iconvdata/testdata/CP772: New file.
25745 * iconvdata/testdata/CP772..UTF8: New file.
25746 * iconvdata/testdata/CP773: New file.
25747 * iconvdata/testdata/CP773..UTF8: New file.
25748 * iconvdata/testdata/CP774: New file.
25749 * iconvdata/testdata/CP774..UTF8: New file.
25751 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25753 * iconvdata/gen-8bit-gap.sh: Likewise.
25754 * iconvdata/gen-8bit.sh: Likewise.
25756 * locale/iso-639.def: Add ary entry.
25759 * locale/C-translit.h.in: Add U20A1 transliteration.
25762 * locale/iso-639.def: Add wae entry.
25763 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25766 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25770 * locale/C-translit.h.in: Add entry for U20B9.
25771 Patch by pravin.d.s@gmail.com.
25773 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25776 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25777 ENAMETOOLONG use generic getcwd.
25778 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25779 in rtld. Use *stat64.
25780 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25781 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25782 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25783 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25784 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25785 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25786 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25787 __fstatat64 macros.
25788 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25789 * dirent/rewinddir.c: Add libc_hidden_def.
25790 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25791 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25793 * include/dirent.h (__alloc_dir): Add flags parameter.
25794 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25795 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25797 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25798 from fdopendir if O_CLOEXEC is already set.
25800 2011-03-15 Alan Modra <amodra@gmail.com>
25802 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25803 l_tls_firstbyte_offset non-zero. Save padding offset in
25804 l_tls_firstbyte_offset for later use.
25805 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25806 freeing static tls block.
25808 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25810 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25811 where #ifdef was intended. The intent is to prevent ARG_MAX from
25812 being defined by the kernel headers.
25814 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25817 * resolv/resolv.h: Define RES_NOTLDQUERY.
25818 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25819 no-tld-query and set RES_NOTLDQUERY.
25820 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25821 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25822 modern BIND to search name as TLD unless forbidden.
25824 2011-05-07 Petr Baudis <pasky@suse.cz>
25825 Ulrich Drepper <drepper@gmail.com>
25828 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25829 (is_trusted_path): ...to here.
25830 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25831 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25832 using is_trusted_path_normalize() in setuid scripts.
25834 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25836 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25837 __BEGIN/__END_DECLS.
25839 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25842 NSS_STATUS_NOTFOUND if no record was found.
25844 2011-05-05 Andreas Schwab <schwab@redhat.com>
25846 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25847 (headers-not-in-tirpc): Remove rpc/netdb.h
25848 * resolv/netdb.h: Revert last change.
25850 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25852 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25853 circular dependency between libgcc.a and libc.a.
25855 2011-05-05 Andreas Schwab <schwab@redhat.com>
25857 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25858 * nis/Makefile: Don't install rpcsvc/*.
25859 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25860 instead of <rpc/types.h>.
25861 (MAXHOSTNAMELEN): Define.
25863 2011-05-03 Andreas Schwab <schwab@redhat.com>
25865 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25867 2011-04-28 Maciej Babinski <mbabinski@google.com>
25870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25871 gethostbyname4_r when IPv6 results are possible.
25873 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25876 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25877 _PC_PIPE_BUF handling.
25879 2011-04-30 Bruno Haible <bruno@clisp.org>
25882 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25883 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25885 * inet/getnameinfo.c (getnameinfo): Likewise.
25887 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25889 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25890 to groups setting in database lookup.
25891 * nss/nsswitch.conf: Add initgroups entry.
25893 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25896 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25898 Patch by Eric Blake <eblake@redhat.com>.
25900 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25902 * sunrpc/Makefile (need-export-routines): Add svc_run.
25903 (routines): Remove svc_run.
25904 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25905 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25906 * sunrpc/svc_run.c (svc_run): Likewise.
25907 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25909 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25912 problem in reallocation in last patch.
25914 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25916 * sunrpc/Makefile: Move inclusion of Rules.
25918 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25920 * nss/nss_files/files-initgroups.c: New file.
25921 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25922 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25923 _nss_files_initgroups_dyn.
25925 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25927 * elf/elf.h (R_ARM_IRELATIVE): Define.
25929 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25931 * po/ru.po: Update from translation team.
25933 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25935 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25938 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25941 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25942 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25944 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25945 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25947 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25949 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25951 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25955 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25958 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25960 * stdlib/bug-getcontext.c: New file.
25961 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25963 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25965 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25966 instructions into .machine "z9-109".
25967 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25968 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25970 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25972 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25973 between environment variables and auxiliary vector.
25975 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25977 * Makefile: Add rules to build linkobj/libc.so.
25978 * include/libc-symbols.h: Define libc_hidden_nolink.
25979 * include/rpc/auth.h: Mark functions which are to be hidden.
25980 * include/rpc/auth_des.h: Likewise.
25981 * include/rpc/auth_unix.h: Likewise.
25982 * include/rpc/clnt.h: Likewise.
25983 * include/rpc/des_crypt.h: Likewise.
25984 * include/rpc/key_prot.h: Likewise.
25985 * include/rpc/pmap_clnt.h: Likewise.
25986 * include/rpc/pmap_prot.h: Likewise.
25987 * include/rpc/pmap_rmt.h: Likewise.
25988 * include/rpc/rpc_msg.h: Likewise.
25989 * include/rpc/svc.h: Likewise.
25990 * include/rpc/svc_auth.h: Likewise.
25991 * include/rpc/xdr.h: Likewise.
25992 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25993 * nss/Makefile: Likewise.
25994 * sunrpc/Makefile: Don't install headers. Build library with normal
25995 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25996 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25997 for the compat linking library. Remove use of INTDEF/INTUSE.
25998 * sunrpc/auth_none.c: Likewise.
25999 * sunrpc/auth_unix.c: Likewise.
26000 * sunrpc/authdes_prot.c: Likewise.
26001 * sunrpc/authuxprot.c: Likewise.
26002 * sunrpc/clnt_gen.c: Likewise.
26003 * sunrpc/clnt_perr.c: Likewise.
26004 * sunrpc/clnt_raw.c: Likewise.
26005 * sunrpc/clnt_simp.c: Likewise.
26006 * sunrpc/clnt_tcp.c: Likewise.
26007 * sunrpc/clnt_udp.c: Likewise.
26008 * sunrpc/clnt_unix.c: Likewise.
26009 * sunrpc/des_crypt.c: Likewise.
26010 * sunrpc/des_soft.c: Likewise.
26011 * sunrpc/get_myaddr.c: Likewise.
26012 * sunrpc/key_call.c: Likewise.
26013 * sunrpc/key_prot.c: Likewise.
26014 * sunrpc/netname.c: Likewise.
26015 * sunrpc/pm_getmaps.c: Likewise.
26016 * sunrpc/pm_getport.c: Likewise.
26017 * sunrpc/pmap_clnt.c: Likewise.
26018 * sunrpc/pmap_prot.c: Likewise.
26019 * sunrpc/pmap_prot2.c: Likewise.
26020 * sunrpc/pmap_rmt.c: Likewise.
26021 * sunrpc/publickey.c: Likewise.
26022 * sunrpc/rpc_cmsg.c: Likewise.
26023 * sunrpc/rpc_common.c: Likewise.
26024 * sunrpc/rpc_dtable.c: Likewise.
26025 * sunrpc/rpc_prot.c: Likewise.
26026 * sunrpc/rpc_thread.c: Likewise.
26027 * sunrpc/rtime.c: Likewise.
26028 * sunrpc/svc.c: Likewise.
26029 * sunrpc/svc_auth.c: Likewise.
26030 * sunrpc/svc_authux.c: Likewise.
26031 * sunrpc/svc_raw.c: Likewise.
26032 * sunrpc/svc_run.c: Likewise.
26033 * sunrpc/svc_simple.c: Likewise.
26034 * sunrpc/svc_tcp.c: Likewise.
26035 * sunrpc/svc_udp.c: Likewise.
26036 * sunrpc/svc_unix.c: Likewise.
26037 * sunrpc/svcauth_des.c: Likewise.
26038 * sunrpc/xcrypt.c: Likewise.
26039 * sunrpc/xdr.c: Likewise.
26040 * sunrpc/xdr_array.c: Likewise.
26041 * sunrpc/xdr_float.c: Likewise.
26042 * sunrpc/xdr_intXX_t.c: Likewise.
26043 * sunrpc/xdr_mem.c: Likewise.
26044 * sunrpc/xdr_rec.c: Likewise.
26045 * sunrpc/xdr_ref.c: Likewise.
26046 * sunrpc/xdr_sizeof.c: Likewise.
26047 * sunrpc/xdr_stdio.c: Likewise.
26049 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26052 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26053 * sysdeps/ia64/dl-tls.h: Likewise.
26054 * sysdeps/powerpc/dl-tls.h: Likewise.
26055 * sysdeps/s390/dl-tls.h: Likewise.
26056 * sysdeps/sh/dl-tls.h: Likewise.
26057 * sysdeps/sparc/dl-tls.h: Likewise.
26058 * sysdeps/x86_64/dl-tls.h: Likewise.
26059 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26061 2011-03-14 Andreas Schwab <schwab@redhat.com>
26063 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26064 rpath element also skip the following colon.
26065 (expand_dynamic_string_token): Add is_path parameter and pass
26066 down to DL_DST_REQUIRED and _dl_dst_substitute.
26067 (decompose_rpath): Call expand_dynamic_string_token with
26068 non-zero is_path. Ignore empty rpaths.
26069 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26072 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26077 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26080 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26081 Patch by Filipe David Manana <fdmanana@apache.org>.
26083 2011-04-07 Andreas Schwab <schwab@redhat.com>
26085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26086 Maintain aligned stack.
26087 (CHECK_RSP): Remove unused macro.
26089 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26091 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26092 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26094 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26096 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26098 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26100 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26103 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26104 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26105 * sysdeps/x86_64/memmove.c: New file.
26106 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26107 (memcpy): Renamed to ...
26108 (__new_memcpy): This.
26109 (memcpy): Provide GLIBC_2_14 memcpy.
26110 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26111 (memcpy): Provide GLIBC_2_2_5 memcpy.
26113 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26116 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26118 2011-03-30 Andreas Schwab <schwab@redhat.com>
26120 * misc/syncfs.c: New file.
26121 * misc/Makefile (routines): Add syncfs.
26122 * posix/unistd.h: Declare syncfs.
26123 * sysdeps/unix/syscalls.list: Add syncfs.
26125 2011-04-01 Andreas Schwab <schwab@redhat.com>
26127 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26129 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26130 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26134 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26135 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26137 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26140 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26141 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26147 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26148 sync_file_range.c with -fexceptions.
26149 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26150 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26151 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26152 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26153 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26154 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26155 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26156 sync_file_range as cancellation point
26157 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26158 now a wrapper around __call_sync_file_range with cancellation handling.
26159 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26160 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26161 function name to __call_sync_file_range.
26162 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26163 Add call_sync_file_range.
26165 2011-04-01 Andreas Schwab <schwab@redhat.com>
26167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26170 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26172 * iconv/iconv.h: Fix typo in comment.
26173 * io/fcntl.h: Likewise.
26174 * libio/stdio.h: Likewise.
26175 * posix/spawn.h: Likewise.
26176 * posix/unistd.h: Likewise.
26177 * stdlib/stdlib.h: Likewise.
26178 * time/time.h: Likewise.
26179 * wcsmbs/wchar.h: Likewise.
26181 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26182 open_by_handle): Add.
26183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26184 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26185 Augment a few comments.
26186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26188 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26191 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26194 * io/fcntl.h (AT_EMPTY_PATH): Define.
26196 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26198 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26199 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26200 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26202 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26203 * Versions.def: Add GLIBC_2.14.
26204 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26207 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26209 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26211 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26213 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26216 * string/test-strncmp.c (do_page_test): New function.
26217 (check2): Likewise.
26218 (test_main): Call check2.
26219 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26221 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26224 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26225 Handle cache information in CPU leaf 4.
26226 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26228 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26231 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26232 character representation.
26233 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26235 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26237 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26238 END(__isnan) to END(__isnanf) to match function entry point/label
26239 EALIGN(__isnanf,...).
26241 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26243 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26245 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26248 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26249 copy from the symbol referenced in the relocation to initialize the
26251 Patch by Piotr Bury <pbury@goahead.com>.
26252 * elf/Makefile: Add rules to build and tst-unique3.
26253 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26254 * elf/tst-unique3.cc: New file.
26255 * elf/tst-unique3.h: New file.
26256 * elf/tst-unique3lib.cc: New file.
26257 * elf/tst-unique3lib2.cc: New file.
26259 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26261 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26263 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26264 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26267 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26269 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26270 to-be-loaded object along a path to loader is ld.so.
26272 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26273 Ulrich Drepper <drepper@gmail.com>
26275 * sysdeps/x86_64/memset.S: After aligning destination, code
26276 branches to different locations depending on the value of
26277 misalignment, when multiarch is enabled. Fix this.
26279 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26281 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26282 Set _x86_64_preferred_memory_instruction for AMD processsors.
26283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26284 Set bit_Prefer_SSE_for_memop for AMD processors.
26286 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26288 * libio/fmemopen.c (fmemopen): Optimize a bit.
26290 2011-03-03 Andreas Schwab <schwab@redhat.com>
26292 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26294 2011-03-03 Roland McGrath <roland@redhat.com>
26296 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26298 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26300 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26301 __bzero_ultra1 instead of __memset_ultra1.
26303 2011-02-23 Andreas Schwab <schwab@redhat.com>
26304 Ulrich Drepper <drepper@gmail.com>
26307 * include/link.h (struct link_map): Add l_orig_initfini.
26308 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26309 returning unsuccessfully.
26310 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26311 close of a file loaded at startup, restore the original l_initfini
26313 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26314 list, store the pointer.
26315 * elf/Makefile ($(objpfx)noload-mem): New rule.
26316 (noload-ENV): Define.
26317 (tests): Add $(objpfx)noload-mem.
26318 * elf/noload.c: Include <memcheck.h>.
26319 (main): Call mtrace. Close all opened handles.
26321 2011-02-17 Andreas Schwab <schwab@redhat.com>
26324 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26325 dependencies are missing.
26327 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26329 Fix __if_freereq crash: Unlike the generic version which uses free,
26331 * sysdeps/mach/hurd/ifreq.h: New file.
26333 2011-01-27 Petr Baudis <pasky@suse.cz>
26334 Ulrich Drepper <drepper@gmail.com>
26337 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26338 to extend_alloca().
26339 * stdio-common/bug23.c: New file.
26340 * stdio-common/Makefile (tests): Add bug23.
26342 2010-09-28 Andreas Schwab <schwab@redhat.com>
26343 Ulrich Drepper <drepper@gmail.com>
26346 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26347 before performing relro protection. At old place add assertion
26348 to make sure nothing changed.
26350 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26351 Glauber de Oliveira Costa <glommer@gmail.com>
26353 * elf/elf.h: Add new ARM TLS relocs.
26355 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26358 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26360 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26362 * sysdeps/wordsize-64/tst-writev.c: New file.
26364 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26366 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26367 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26368 insns in _dl_start to prevent a TOC reference before relocs are
26371 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26374 * Makeconfig: Remove RANLIB definition.
26375 * Makerules: Don't use RANLIB.
26376 * aclocal.m4: Remove ranlib test.
26377 * configure.in: No need to check for ranlib.
26378 * elf/rtld-Rules: Don't use RANLIB.
26380 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26382 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26384 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26385 inclusion protection macro.
26387 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26388 SIGRTMIN and SIGRTMAX and print information in that case only when
26389 SIGRTMIN is defined.
26391 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26393 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26394 arginfo fn returning -1.
26396 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26397 and thousands string is zero terminated.
26399 2011-02-03 Andreas Schwab <schwab@redhat.com>
26401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26402 sysdeps/unix/sysv/linux/bits/socket.h.
26404 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26406 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26407 (__CPU_COUNT): Remove old macros.
26408 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26409 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26410 (__CPU_ALLOC, __CPU_FREE): Add macros.
26411 (__sched_cpualloc, __sched_cpufree): Add declarations.
26413 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26415 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26416 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26417 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26418 (readdhstai): Return value of addhstaiX call.
26419 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26420 (addgrbyX): Return value returned by cache_addgr.
26421 (readdgrbyname): Return value returned by addgrbyX.
26422 (readdgrbygid): Likewise.
26423 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26424 (addpwbyX): Return value returned by cache_addpw.
26425 (readdpwbyname): Return value returned by addhstbyX.
26426 (readdpwbyuid): Likewise.
26427 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26428 (addservbyX): Return value returned by cache_addserv.
26429 (readdservbyname): Return value returned by addservbyX:
26430 (readdservbyport): Likewise.
26431 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26432 (addhstbyX): Return value returned by cache_addhst.
26433 (readdhstbyname): Return value returned by addhstbyX.
26434 (readdhstbyaddr): Likewise.
26435 (readdhstbynamev6): Likewise.
26436 (readdhstbyaddrv6): Likewise.
26437 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26438 (readdinitgroups): Return value returned by addinitgroupsX.
26439 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26440 (prune_cache): Keep track of timeout value of re-added entries.
26441 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26442 * nscd/nscd.h: Adjust prototypes of readd* functions.
26444 2011-02-04 Roland McGrath <roland@redhat.com>
26446 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26447 (nis_stats): Likewise.
26448 * nis/nis_modify.c (nis_modify): Likewise.
26449 * nis/nis_remove.c (nis_remove): Likewise.
26450 * nis/nis_add.c (nis_add): Likewise.
26452 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26454 * posix/fnmatch_loop.c: Add some consts.
26456 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26458 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26461 * config.make.in (config-cflags-novzeroupper): Define.
26462 * configure.in: Substitute libc_cv_cc_novzeroupper.
26463 * elf/Makefile (AVX-CFLAGS): Define.
26464 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26465 (CFLAGS-tst-auditmod4a.c): Likewise.
26466 (CFLAGS-tst-auditmod4b.c): Likewise.
26467 (CFLAGS-tst-auditmod6b.c): Likewise.
26468 (CFLAGS-tst-auditmod6c.c): Likewise.
26469 (CFLAGS-tst-auditmod7b.c): Likewise.
26470 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26472 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26474 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26475 function to the callback.
26476 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26478 2011-02-02 Andreas Schwab <schwab@redhat.com>
26480 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26483 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26486 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26488 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26490 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26493 * elf/Makefile: Add rules to build and run new test.
26494 * elf/tst-initorder.c: New file.
26495 * elf/tst-initorder.exp: New file.
26496 * elf/tst-initordera1.c: New file.
26497 * elf/tst-initordera2.c: New file.
26498 * elf/tst-initordera3.c: New file.
26499 * elf/tst-initordera4.c: New file.
26500 * elf/tst-initorderb1.c: New file.
26501 * elf/tst-initorderb2.c: New file.
26502 * elf/tst-order-a1.c: New file.
26503 * elf/tst-order-a2.c: New file.
26504 * elf/tst-order-a3.c: New file.
26505 * elf/tst-order-a4.c: New file.
26506 * elf/tst-order-b1.c: New file.
26507 * elf/tst-order-b2.c: New file.
26508 * elf/tst-order-main.c: New file.
26509 New test case by George Gensure <werkt0@gmail.com>.
26511 2010-10-01 Andreas Schwab <schwab@redhat.com>
26513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26514 decoding ACE if AI_CANONIDN.
26516 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26518 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26520 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26522 * version.h (RELEASE): Bump for 2.13 release.
26523 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26525 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26527 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26529 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26530 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26533 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26534 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26536 * posix/getconf.c: Update copyright year.
26537 * catgets/gencat.c: Likewise.
26538 * csu/version.c: Likewise.
26539 * debug/catchsegv.sh: Likewise.
26540 * debug/xtrace.sh: Likewise.
26541 * elf/ldconfig.c: Likewise.
26542 * elf/ldd.bash.in: Likewise.
26543 * elf/sprof.c (print_version): Likewise.
26544 * iconv/iconv_prog.c: Likewise.
26545 * iconv/iconvconfig.c: Likewise.
26546 * locale/programs/locale.c: Likewise.
26547 * locale/programs/localedef.c: Likewise.
26548 * malloc/memusage.sh: Likewise.
26549 * malloc/mtrace.pl: Likewise.
26550 * nscd/nscd.c (print_version): Likewise.
26551 * nss/getent.c: Likewise.
26553 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26554 PF_CAIF, and PF_ALG.
26555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26557 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26559 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26560 (modules-names): Use them.
26561 (ifunc-test-modules, ifunc-pie-tests): Define.
26562 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26563 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26564 (test-extras): Likewise.
26565 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26566 $(compile-command.c).
26567 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26568 (all-built-dso): Define.
26569 (check-textrel.out, check-execstack.out): Depend on it.
26571 * configure.in: Don't override --enable-multi-arch.
26573 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26576 * nscd/hstcache.c (tryagain): Define.
26577 (cache_addhst): Return tryagain not notfound for temporary errors.
26578 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26581 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26584 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26585 to make the syscall.
26586 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26589 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26590 and fall back to matching as normal character if the string ends before
26591 the matching ']' is found. This is what POSIX requires.
26592 * posix/testfnm.c: Adjust test result.
26593 * posix/globtest.sh: Adjust test result. Add new test.
26594 * posix/tst-fnmatch.input: Likewise.
26595 * posix/tst-fnmatch2.c: Add new test.
26597 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26599 * elf/Makefile (check-execstack): Revert last change. Depend on
26601 (check-execstack.h): New target.
26602 (generated): Add check-execstack.h.
26603 * elf/check-execstack.c: Include "check-execstack.h".
26604 (main): Revert last change.
26605 (handle_file): Return zero if GNU_STACK is absent and
26606 DEFAULT_STACK_PERMS doesn't include PF_X.
26608 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26610 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26611 in child fails because the descriptor is already closed.
26612 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26613 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26614 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26617 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26621 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26622 temporary buffer used to handle multi lookups locally.
26623 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26625 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26627 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26630 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26632 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26633 alignment for SSE2.
26635 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26638 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26639 characters. When rounding increased number of integer digits recompute
26641 * stdio-common/tst-grouping.c: New file.
26642 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26644 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26646 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26647 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26649 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26651 * bits/select.h: Likewise.
26653 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26655 * po/ja.po: Update from translation team.
26657 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26660 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26661 implementation just like for lxstat, fxstatat, et al.
26663 2010-12-27 Jim Meyering <meyering@redhat.com>
26666 * posix/regexec.c (build_trtable): Return failure indication upon
26667 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26669 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26672 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26673 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26674 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26675 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26678 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26681 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26682 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26684 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26686 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26687 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26688 script has SORT_BY_INIT_PRIORITY.
26689 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26690 NO_CTORS_DTORS_SECTIONS is defined.
26691 * elf/soinit.c: Likewise.
26692 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26693 NO_CTORS_DTORS_SECTIONS is defined.
26694 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26695 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26696 * sysdeps/sh/init-first.c: Likewise.
26697 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26699 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26701 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26702 always use the slow path.
26704 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26706 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26707 similar rule which adds the sysdep directories to the header search in
26708 order to pick up the correct platform stackinfo.h.
26709 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26710 perform test if it is, otherwise return successfully without testing.
26711 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26712 DEFAULT_STACK_PERMS define in stackinfo.h.
26713 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26714 defined in stackinfo.h.
26715 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26716 DEFAULT_STACK_PERMS defined in stackinfo.h.
26717 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26718 * sysdeps/ia64/stackinfo.h: Likewise.
26719 * sysdeps/s390/stackinfo.h: Likewise.
26720 * sysdeps/sh/stackinfo.h: Likewise.
26721 * sysdeps/sparc/stackinfo.h: Likewise.
26722 * sysdeps/x86_64/stackinfo.h: Likewise.
26723 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26724 PF_X for powerpc64. Retain PF_X for powerpc32.
26726 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26728 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26730 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26731 GETDENTS_64BIT_ALIGNED.
26733 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26735 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26737 2010-12-10 Andreas Schwab <schwab@redhat.com>
26739 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26742 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26743 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26745 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26746 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26748 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26751 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26754 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26756 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26758 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26760 * po/it.po: Update from translation team.
26762 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26767 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26769 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26771 2010-11-24 Andreas Schwab <schwab@redhat.com>
26773 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26775 (gaih_getanswer_slice): Likewise.
26777 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26781 2010-05-31 Petr Baudis <pasky@suse.cz>
26784 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26785 silently even in the chroot mode.
26787 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26789 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26790 last patch a bit. Pretty printing
26792 2010-05-31 Petr Baudis <pasky@suse.cz>
26795 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26796 initialization of skip_initgroups_dyn.
26798 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26800 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26801 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26803 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26805 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26807 2010-11-11 Andreas Schwab <schwab@redhat.com>
26809 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26810 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26811 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26812 ($(objpfx)tst-fnmatch-mem): New rule.
26813 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26814 * posix/tst-fnmatch.c (main): Call mtrace.
26816 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26819 Support Intel processor model 6 and model 0x2c.
26821 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26823 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26826 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26829 * string/test-strncasecmp.c (check_result): New function.
26830 (do_one_test): Use it.
26831 (check1): New function.
26832 (test_main): Use it.
26833 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26834 Support strcasecmp and strncasecmp.
26836 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26839 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26840 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26842 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26844 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26848 * sysdeps/x86_64/multiarch/bzero.S: New file.
26849 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26850 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26851 * sysdeps/x86_64/multiarch/memset.S: New file.
26852 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26854 Set bit_Prefer_SSE_for_memop for Intel processors.
26855 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26857 (index_Prefer_SSE_for_memop): Define.
26858 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26860 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26862 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26863 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26865 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26868 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26869 (__x86_64_raw_data_cache_size_half): Likewise.
26870 (__x86_64_raw_shared_cache_size): Likewise.
26871 (__x86_64_raw_shared_cache_size_half): Likewise.
26873 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26874 (__x86_64_raw_data_cache_size_half): Likewise.
26875 (__x86_64_raw_shared_cache_size): Likewise.
26876 (__x86_64_raw_shared_cache_size_half): Likewise.
26877 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26878 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26879 and __x86_64_raw_shared_cache_size_half. Round
26880 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26881 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26882 to multiple of 256 bytes.
26884 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26887 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26888 of inacessible symlinks. Verify result of symlink before returning it.
26889 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26890 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26892 2010-10-28 Erich Ritz <erichritz@gmail.com>
26894 * math/math.h (isinf): Fix typo in comment.
26896 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26898 * po/da.po: Update from translation team.
26900 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26902 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26903 is added to the list.
26905 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26906 Ulrich Drepper <drepper@gmail.com>
26908 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26909 the global list here. Move code to...
26910 (_dl_add_to_namespace_list): ...here. New function.
26911 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26912 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26913 * elf/dl-load.c (lose): Don't remove the element from the list.
26914 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26915 (_dl_map_object): Likewise.
26917 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26920 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26921 into all bytes of SSE register.
26922 Patch by Richard Li <richardpku@gmail.com>.
26924 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26927 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26930 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26932 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26933 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26934 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26940 2010-10-22 Andreas Schwab <schwab@redhat.com>
26942 * include/dlfcn.h (__RTLD_SECURE): Define.
26943 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26944 mode & __RTLD_SECURE instead.
26945 (open_path): Rename preloaded parameter to secure.
26946 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26947 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26948 * elf/dl-deps.c (openaux): Likewise.
26949 * elf/rtld.c (struct map_args): Remove is_preloaded.
26950 (map_doit): Don't use it.
26951 (dl_main): Likewise.
26952 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26953 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26955 2010-09-09 Andreas Schwab <schwab@redhat.com>
26957 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26958 (sysd-rules-targets): Remove duplicates.
26959 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26960 rtld-%.$o dependency.
26962 2010-10-18 Andreas Schwab <schwab@redhat.com>
26964 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26965 _dl_map_object do it.
26967 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26969 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26970 fast fma builtins, define the macros in the C99 standard.
26971 (FP_FAST_FMAF): Likewise.
26972 (FP_FAST_FMAL): Likewise.
26973 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26975 * bits/mathdef.h: Update copyright year.
26976 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26978 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26980 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26981 builtins, define the macros in the C99 standard.
26982 (FP_FAST_FMAF): Likewise.
26983 (FP_FAST_FMAL): Likewise.
26984 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26986 (FP_FAST_FMAF): Likewise.
26988 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26991 * math/libm-test.inc (fma_test): Some new testcases.
26992 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26994 y and infinite z. Do multiplication by C already in long double.
26995 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26997 y and infinite z. Do bitwise or of inexact bit into u.d.
26998 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26999 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27000 * sysdeps/i386/fpu/s_fma.S: Removed.
27001 * sysdeps/i386/fpu/s_fmal.S: Removed.
27003 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27006 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27008 computation is not scheduled after fetestexcept. Fix value
27009 of minimum denormal long double.
27011 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27014 * math/libm-test.inc (fma_test): Add some more tests.
27015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27018 2010-10-15 Andreas Schwab <schwab@redhat.com>
27020 * scripts/data/localplt-s390-linux-gnu.data: New file.
27021 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27023 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27026 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27027 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27029 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27031 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27033 if one of x and y is very large and the other is subnormal.
27034 * sysdeps/s390/fpu/s_fmaf.c: New file.
27035 * sysdeps/s390/fpu/s_fma.c: New file.
27036 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27037 * sysdeps/powerpc/fpu/s_fma.S: New file.
27038 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27039 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27040 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27042 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27045 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27047 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27048 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27049 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27050 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27051 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27052 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27055 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27058 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27059 * posix/bug-regex31.input: Add test case.
27061 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27063 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27064 * posix/bug-regex31.input: New file.
27067 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27068 (parse_sub_exp): Fix last change, use postorder.
27070 * posix/bug-regex31.c: New file.
27071 * posix/Makefile: Add rules to build and run bug-regex31.
27073 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27076 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27079 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27080 to have entries in sys_siglist.
27083 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27086 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27089 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27090 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27091 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27092 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27094 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27095 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27096 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27097 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27098 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27099 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27100 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27101 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27102 * math/ftestexcept.c (fetestexcept): Likewise.
27103 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27104 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27105 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27106 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27107 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27108 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27109 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27111 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27114 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27117 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27119 * string/bug-strstr1.c: New file.
27120 * string/Makefile: Add rules to build and run bug-strstr1.
27122 2010-10-05 Eric Blake <eblake@redhat.com>
27125 * string/str-two-way.h (two_way_long_needle): Always clear memory
27126 when skipping input due to the shift table.
27128 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27131 * malloc/mcheck.c: Handle large requests.
27134 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27135 for strncmp and strncasecmp.
27136 * string/stratcliff.c: Add tests for strcmp and strncmp.
27137 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27139 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27141 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27144 2010-09-30 Andreas Jaeger <aj@suse.de>
27146 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27147 (CGROUP_SUPER_MAGIC): Define.
27148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27149 Handle btrfs and cgroup file systems.
27150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27153 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27155 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27156 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27158 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27161 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27162 trying to locate the ELF header.
27164 2010-09-27 Andreas Schwab <schwab@redhat.com>
27167 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27168 Mask out sign-bit copies when constructing f_fsid.
27170 2010-09-24 Petr Baudis <pasky@suse.cz>
27172 * debug/stack_chk_fail_local.c: Add missing licence exception.
27173 * debug/warning-nop.c: Likewise.
27175 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27177 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27178 implementing getdents64 using getdents syscall, set d_type if
27179 __ASSUME_GETDENTS32_D_TYPE.
27181 2010-09-16 Andreas Schwab <schwab@redhat.com>
27183 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27184 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27186 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27189 * posix/unistd.h: Undo change of feature selection for ftruncate from
27192 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27194 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27197 2010-09-20 Andreas Schwab <schwab@redhat.com>
27199 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27201 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27203 2010-09-14 Andreas Schwab <schwab@redhat.com>
27205 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27206 variables after CHECK_SP call.
27207 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27209 2010-09-13 Andreas Schwab <schwab@redhat.com>
27210 Ulrich Drepper <drepper@redhat.com>
27212 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27213 re-relocationg ld.so.
27214 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27215 _dl_init_paths call.
27216 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27219 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27221 * resolv/res_init.c (__res_vinit): Count the default server we added.
27223 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27224 Ulrich Drepper <drepper@redhat.com>
27227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27228 (____longjmp_chk): Use %ebx for saving value across system call.
27231 2010-09-06 Andreas Schwab <schwab@redhat.com>
27233 * manual/Makefile: Don't mix pattern rules with normal rules.
27235 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27237 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27239 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27240 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27241 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27242 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27246 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27249 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27250 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27252 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27254 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27255 * sysdeps/x86_64/addmul_1.S: Likewise.
27256 * sysdeps/x86_64/lshift.S: Likewise.
27257 * sysdeps/x86_64/mul_1.S: Likewise.
27258 * sysdeps/x86_64/rshift.S: Likewise.
27259 * sysdeps/x86_64/sub_n.S: Likewise.
27260 * sysdeps/x86_64/submul_1.S: Likewise.
27262 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27264 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27265 Define __sched_param instead of SCHED_* and sched_param when
27266 <bits/sched.h> is included with __need_schedparam defined.
27267 * bits/sched.h [__need_schedparam]
27268 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27269 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27270 (__defined_schedparam): Define to 1.
27271 (__sched_param): New structure, identical to sched_param.
27272 (__need_schedparam): Undefine.
27274 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27276 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27277 (epoll_create1): Declare.
27279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27281 2010-08-31 Andreas Schwab <schwab@redhat.com>
27284 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27285 shifting retval into place.
27287 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27289 * nis/rpcsvc/nis.h: Update copyright notice.
27290 * nis/rpcsvc/nis.x: Likewise.
27291 * nis/rpcsvc/nis_callback.h: Likewise.
27292 * nis/rpcsvc/nis_callback.x: Likewise.
27293 * nis/rpcsvc/nis_object.x: Likewise.
27294 * nis/rpcsvc/nis_tags.h: Likewise.
27295 * nis/rpcsvc/yp.h: Likewise.
27296 * nis/rpcsvc/yp.x: Likewise.
27297 * nis/rpcsvc/ypupd.h: Likewise.
27298 * nis/yp_xdr.c: Likewise.
27299 * nis/ypupdate_xdr.c: Likewise.
27301 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27302 mainly the body of pmap_getport. Add parameters to specify timeouts.
27303 (pmap_getport): Use __libc_rpc_getport.
27304 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27305 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27306 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27308 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27313 2010-08-27 Roland McGrath <roland@redhat.com>
27315 * sysdeps/i386/i686/multiarch/Makefile
27316 (CFLAGS-varshift.c): New variable.
27318 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27320 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27321 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27323 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27325 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27327 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27329 * sysdeps/x86_64/strlen.S: Unroll the loop.
27330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27331 strlen-sse2 strlen-sse2-bsf.
27332 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27333 __strlen_no_bsf if bit_Slow_BSF is set.
27334 (__strlen_sse42): Removed.
27335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27336 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27338 2010-08-25 Roland McGrath <roland@redhat.com>
27340 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27341 * sysdeps/x86_64/multiarch/varshift.c: New file.
27342 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27343 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27344 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27345 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27347 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27350 strlen-sse2 strlen-sse2-bsf.
27351 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27352 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27353 (__strlen_sse2): Removed.
27354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27355 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27357 bit_Slow_BSF for Atom.
27358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27359 (index_Slow_BSF): Define.
27360 (HAS_SLOW_BSF): Define.
27362 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27365 * resolv/res_init.c (__res_vinit): When no server address at all
27366 is given default to loopback.
27368 2010-08-24 Roland McGrath <roland@redhat.com>
27370 * configure.in: Remove config-name.h generation.
27371 * configure: Regenerated.
27372 * config-name.in: File removed.
27373 * scripts/config-uname.sh: New file.
27374 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27375 ($(objdir)config-name.h): New target.
27377 * sunrpc/rpc_parse.h: Avoid nested comment.
27379 2010-08-24 Richard Henderson <rth@redhat.com>
27380 Ulrich Drepper <drepper@redhat.com>
27381 H.J. Lu <hongjiu.lu@intel.com>
27383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27385 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27386 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27387 _mm_alignr_epi8 with _mm_loadu_si128.
27388 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27389 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27390 (__m128i_shift_right): Removed.
27391 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27392 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27393 * sysdeps/x86_64/multiarch/varshift.h: New file.
27394 * sysdeps/x86_64/multiarch/varshift.S: New file.
27396 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27398 * configure.in: Move assembler checks to before sysdep dir checking.
27400 2010-08-20 Petr Baudis <pasky@suse.cz>
27402 * LICENSES: Sync the sunrpc license.
27404 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27406 * sunrpc/auth_des.c: Update copyright notice once again.
27407 * sunrpc/auth_none.c: Likewise.
27408 * sunrpc/auth_unix.c: Likewise.
27409 * sunrpc/authdes_prot.c: Likewise.
27410 * sunrpc/authuxprot.c: Likewise.
27411 * sunrpc/bindrsvprt.c: Likewise.
27412 * sunrpc/clnt_gen.c: Likewise.
27413 * sunrpc/clnt_perr.c: Likewise.
27414 * sunrpc/clnt_raw.c: Likewise.
27415 * sunrpc/clnt_simp.c: Likewise.
27416 * sunrpc/clnt_tcp.c: Likewise.
27417 * sunrpc/clnt_udp.c: Likewise.
27418 * sunrpc/clnt_unix.c: Likewise.
27419 * sunrpc/des_crypt.c: Likewise.
27420 * sunrpc/des_soft.c: Likewise.
27421 * sunrpc/get_myaddr.c: Likewise.
27422 * sunrpc/getrpcport.c: Likewise.
27423 * sunrpc/key_call.c: Likewise.
27424 * sunrpc/key_prot.c: Likewise.
27425 * sunrpc/openchild.c: Likewise.
27426 * sunrpc/pm_getmaps.c: Likewise.
27427 * sunrpc/pm_getport.c: Likewise.
27428 * sunrpc/pmap_clnt.c: Likewise.
27429 * sunrpc/pmap_prot.c: Likewise.
27430 * sunrpc/pmap_prot2.c: Likewise.
27431 * sunrpc/pmap_rmt.c: Likewise.
27432 * sunrpc/rpc/auth.h: Likewise.
27433 * sunrpc/rpc/auth_unix.h: Likewise.
27434 * sunrpc/rpc/clnt.h: Likewise.
27435 * sunrpc/rpc/des_crypt.h: Likewise.
27436 * sunrpc/rpc/key_prot.h: Likewise.
27437 * sunrpc/rpc/netdb.h: Likewise.
27438 * sunrpc/rpc/pmap_clnt.h: Likewise.
27439 * sunrpc/rpc/pmap_prot.h: Likewise.
27440 * sunrpc/rpc/pmap_rmt.h: Likewise.
27441 * sunrpc/rpc/rpc.h: Likewise.
27442 * sunrpc/rpc/rpc_des.h: Likewise.
27443 * sunrpc/rpc/rpc_msg.h: Likewise.
27444 * sunrpc/rpc/svc.h: Likewise.
27445 * sunrpc/rpc/svc_auth.h: Likewise.
27446 * sunrpc/rpc/types.h: Likewise.
27447 * sunrpc/rpc/xdr.h: Likewise.
27448 * sunrpc/rpc_clntout.c: Likewise.
27449 * sunrpc/rpc_cmsg.c: Likewise.
27450 * sunrpc/rpc_common.c: Likewise.
27451 * sunrpc/rpc_cout.c: Likewise.
27452 * sunrpc/rpc_dtable.c: Likewise.
27453 * sunrpc/rpc_hout.c: Likewise.
27454 * sunrpc/rpc_main.c: Likewise.
27455 * sunrpc/rpc_parse.c: Likewise.
27456 * sunrpc/rpc_parse.h: Likewise.
27457 * sunrpc/rpc_prot.c: Likewise.
27458 * sunrpc/rpc_sample.c: Likewise.
27459 * sunrpc/rpc_scan.c: Likewise.
27460 * sunrpc/rpc_scan.h: Likewise.
27461 * sunrpc/rpc_svcout.c: Likewise.
27462 * sunrpc/rpc_tblout.c: Likewise.
27463 * sunrpc/rpc_util.c: Likewise.
27464 * sunrpc/rpc_util.h: Likewise.
27465 * sunrpc/rpcinfo.c: Likewise.
27466 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27467 * sunrpc/rpcsvc/key_prot.x: Likewise.
27468 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27469 * sunrpc/rpcsvc/mount.x: Likewise.
27470 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27471 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27472 * sunrpc/rpcsvc/rex.x: Likewise.
27473 * sunrpc/rpcsvc/rstat.x: Likewise.
27474 * sunrpc/rpcsvc/rusers.x: Likewise.
27475 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27476 * sunrpc/rpcsvc/spray.x: Likewise.
27477 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27478 * sunrpc/rtime.c: Likewise.
27479 * sunrpc/svc.c: Likewise.
27480 * sunrpc/svc_auth.c: Likewise.
27481 * sunrpc/svc_authux.c: Likewise.
27482 * sunrpc/svc_raw.c: Likewise.
27483 * sunrpc/svc_run.c: Likewise.
27484 * sunrpc/svc_simple.c: Likewise.
27485 * sunrpc/svc_tcp.c: Likewise.
27486 * sunrpc/svc_udp.c: Likewise.
27487 * sunrpc/svc_unix.c: Likewise.
27488 * sunrpc/svcauth_des.c: Likewise.
27489 * sunrpc/xcrypt.c: Likewise.
27490 * sunrpc/xdr.c: Likewise.
27491 * sunrpc/xdr_array.c: Likewise.
27492 * sunrpc/xdr_float.c: Likewise.
27493 * sunrpc/xdr_mem.c: Likewise.
27494 * sunrpc/xdr_rec.c: Likewise.
27495 * sunrpc/xdr_ref.c: Likewise.
27496 * sunrpc/xdr_sizeof.c: Likewise.
27497 * sunrpc/xdr_stdio.c: Likewise.
27499 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27502 2010-08-19 Andreas Schwab <schwab@redhat.com>
27504 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27506 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27508 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27509 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27510 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27511 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27512 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27513 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27514 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27515 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27517 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27518 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27519 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27520 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27521 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27523 2010-07-26 Anton Blanchard <anton@samba.org>
27525 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27526 * malloc/arena.c (heap_trim): Likewise.
27528 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27530 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27533 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27535 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27537 * sysdeps/i386/elf/Makefile: New file.
27539 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27541 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27542 from fanotify_init.
27543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27546 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27548 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27550 * sysdeps/multiarch/strcmp.S: Likewise.
27552 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27554 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27555 strncase_l-nonascii.
27556 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27557 Add strncase_l-ssse3.
27558 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27559 * sysdeps/x86_64/strcmp.S: Likewise.
27560 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27561 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27562 * sysdeps/x86_64/strncase.S: New file.
27563 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27564 * sysdeps/x86_64/strncase_l.S: New file.
27565 * string/Makefile (strop-tests): Add strncasecmp.
27566 * string/test-strncasecmp.c: New file.
27568 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27571 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27572 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27574 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27576 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27578 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27580 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27581 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27582 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27584 2010-05-01 Alan Modra <amodra@gmail.com>
27586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27587 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27588 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27589 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27590 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27591 tidying. Don't tail-call __sigjmp_save for static lib.
27592 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27594 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27595 (CALL_MCOUNT): Add eh info, and nop after bl.
27596 (TAIL_CALL_SYSCALL_ERROR): New macro.
27597 (PSEUDO_RET): Use it.
27598 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27599 Correct save location of integer regs and cr.
27600 (_dl_profile_resolve): Correct cr save location. Delete nops
27601 after bl when SHARED. Reduce cfi size a little by better
27602 placement of cfi directives.
27603 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27604 make a stack frame. Instead use parm save area as a temp.
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27606 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27608 Don't make a stack frame for parent, use parm save area.
27609 Increase child stack frame to 112 bytes. Don't save unused reg,
27610 and adjust reg usage. Set up cfi on error recovery and
27611 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27613 (__makecontext): Add dummy nop after jump to exit.
27614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27615 Use correct parm save area and cr save, reduce stack frame.
27616 Correct cfi for possible PSEUDO_RET frame setup.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27618 Branch to local label emitted by PSEUDO_RET rather than
27621 2010-08-12 Andreas Schwab <schwab@redhat.com>
27624 * locale/programs/locale.c (print_assignment): New function.
27625 (show_locale_vars): Use it.
27627 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27629 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27631 (struct statfs64): Likewise.
27632 (_STATFS_F_FLAGS): Define.
27633 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27634 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27635 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27636 (ST_VALID): Define locally.
27637 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27638 __statvfs_getflags, use the provided value.
27639 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27640 __ASSUME_STATFS_F_FLAGS.
27642 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27644 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27645 Add sys/fanotify.h.
27646 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27647 fanotify_mask for GLIBC_2.13.
27648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27649 fanotify_init and fanotify_mark.
27650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27651 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27653 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27655 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27656 prlimit64 for GLIBC_2.13.
27657 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27662 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27663 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27664 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27665 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27667 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27670 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27671 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27673 * nss/Makefile: Add rules to build and run tst-nss-test1.
27674 * shlib-versions: Add entry for libnss_test1.
27675 * nss/nss_test1.c: New file.
27676 * nss/tst-nss-test1.c: New file.
27678 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27679 (__nss_configure_lookup): Set appropriate entry in
27680 __nss_configure_lookup to true.
27681 * nss/nsswitch.h: Define enum with indeces of databases in
27682 databases and __nss_database_custom arrays. Declare
27683 __nss_database_custom.
27684 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27685 to avoid using nscd when custom rules are installed.
27686 * nss/getXXbyYY_r.c: Likewise.
27687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27689 * nss/nss_files/files-parse.c: Whitespace fixes.
27691 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27694 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27695 * posix/fnmatch_loop.c: Likewise.
27697 2010-07-17 Andi Kleen <ak@linux.intel.com>
27699 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27700 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27701 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27702 * Versions.def [GLIBC_2.13]: Add.
27704 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27707 Also fail if tpwd after pwuid call is NULL.
27709 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27711 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27712 when converting to ms.
27714 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27716 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27717 EOPNOTSUPP errors with ENOTTY.
27718 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27719 EOPNOTSUPP errors with ENOTTY.
27721 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27723 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27724 Add strcasecmp_l-ssse3.
27725 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27727 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27728 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27729 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27731 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27733 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27735 * string/Makefile (strop-tests): Add strcasecmp.
27736 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27737 strcasecmp_l-nonascii.
27738 (gen-as-const-headers): Add locale-defines.sym.
27739 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27740 * sysdeps/x86_64/strcasecmp.S: New file.
27741 * sysdeps/x86_64/strcasecmp_l.S: New file.
27742 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27743 * sysdeps/x86_64/locale-defines.sym: New file.
27744 * string/test-strcasecmp.c: New file.
27746 * string/test-strcasestr.c: Test both ends of the range of characters.
27747 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27749 2010-07-29 Roland McGrath <roland@redhat.com>
27752 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27754 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27756 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27759 2010-07-27 Andreas Schwab <schwab@redhat.com>
27761 * manual/memory.texi (Malloc Tunable Parameters): Document
27764 2010-07-26 Roland McGrath <roland@redhat.com>
27767 * configure.in (-fgnu89-inline check): Set and substitute
27768 gnu89_inline, not libc_cv_gnu89_inline.
27769 * configure: Regenerated.
27770 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27772 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27774 * string/test-strnlen.c: New file.
27775 * string/Makefile (strop-tests): Add strnlen.
27776 * string/tester.c (test_strnlen): Add a few more test cases.
27777 * string/tst-strlen.c: Better error reporting.
27779 * sysdeps/x86_64/strnlen.S: New file.
27781 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27783 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27784 lower-latency instructions.
27786 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27788 * string/test-strcasestr.c: New file.
27789 * string/test-strstr.c: New file.
27790 * string/Makefile (strop-tests): Add strstr and strcasestr.
27791 * string/str-two-way.h: Don't undefine MAX.
27792 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27794 2010-07-21 Andreas Schwab <schwab@redhat.com>
27796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27797 strcasestr-nonascii.
27798 (CFLAGS-strcasestr-nonascii.c): Define.
27799 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27800 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27801 Remove unused attribute.
27803 2010-07-20 Roland McGrath <roland@redhat.com>
27805 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27806 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27807 ld.so.cache was broken. With it, there is no way to disable dsocaps
27808 like LD_HWCAP_MASK can disable hwcaps.
27810 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27812 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27814 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27816 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27817 call in strcasestr.
27818 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27819 __strcasestr_sse42_nonascii.
27820 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27821 strcasestr-nonascii.c.
27822 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27824 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27826 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27827 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27828 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27829 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27831 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27833 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27836 2010-07-06 Andreas Schwab <schwab@redhat.com>
27839 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27842 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27844 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27845 _PC_PIPE_BUF using F_GETPIPE_SZ.
27847 2010-07-05 Roland McGrath <roland@redhat.com>
27849 * manual/arith.texi (Rounding Functions): Fix rint description
27850 implicit in round description.
27852 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27854 * elf/Makefile: Fix linking for a few tests to make recent linker
27857 2010-06-30 Andreas Schwab <schwab@redhat.com>
27859 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27860 $(common-objpfx)libc_nonshared.a.
27862 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27864 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27865 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27866 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27867 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27868 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27869 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27870 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27871 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27886 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27887 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27888 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27889 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27890 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27891 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27892 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27893 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27894 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27895 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27896 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27897 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27913 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27915 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27916 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27917 * string/memmove.c (memmove): Renamed to ...
27918 (MEMMOVE): ...this. Default to memmove.
27919 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27920 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27923 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27924 mempcpy-ssse3-back memmove-ssse3-back.
27925 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27926 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27927 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27928 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27929 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27930 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27931 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27932 * sysdeps/x86_64/multiarch/memmove.c: New file.
27933 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27934 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27935 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27936 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27937 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27938 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27940 (index_Fast_Copy_Backward): Define.
27941 (HAS_ARCH_FEATURE): Define.
27942 (HAS_FAST_REP_STRING): Define.
27943 (HAS_FAST_COPY_BACKWARD): Define.
27945 2010-06-21 Andreas Schwab <schwab@redhat.com>
27947 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27948 Restore proper fallback handling.
27950 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27953 * posix/group_member.c (__group_member): Correct checking loop.
27955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27956 OOM in getpwuid_r correctly. Return error number when the caller
27957 should return, otherwise -1.
27958 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27959 call returning > 0 value.
27960 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27962 2010-06-07 Andreas Schwab <schwab@redhat.com>
27964 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27965 libc_nonshared.a from targets in modules-names.
27967 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27969 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27972 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27977 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27979 2010-06-02 Andreas Schwab <schwab@redhat.com>
27981 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27983 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27985 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27991 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27994 2010-06-14 Roland McGrath <roland@redhat.com>
27996 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27998 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28000 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28001 __REDIRECT followed by __THROW.
28002 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28003 * posix/getopt.h (getopt): Likewise.
28005 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28007 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28008 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28009 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28011 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28012 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28014 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28016 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28018 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28022 Properly check family and model.
28024 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28026 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28028 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28030 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28032 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28034 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28037 2010-05-19 Andreas Schwab <schwab@redhat.com>
28039 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28042 2010-05-21 Andreas Schwab <schwab@redhat.com>
28044 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28045 and internal_recvmmsg.
28046 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28047 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28048 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28049 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28051 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28052 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28053 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28055 2010-05-20 Andreas Schwab <schwab@redhat.com>
28057 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28059 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28061 POWER7 optimizations.
28062 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28063 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28065 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28067 * version.h: Update for 2.13 development version.
28069 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28071 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28072 exceptions. Return 0.
28074 2010-05-07 Roland McGrath <roland@redhat.com>
28076 * elf/ldconfig.c (main): Add a const.
28078 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28080 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28081 (args_options): Add no-idn option.
28082 (ahosts_keys_int): Add idn_flags to ai_flags.
28083 (parse_option): Handle 'i' option to clear idn_flags.
28085 * malloc/malloc.c (_int_free): Possible race in the most recently
28086 added check. Only act on the data if no current modification
28089 See ChangeLog.17 for earlier changes.