1 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (catan_test): Add more tests.
4 (catanh_test): Likewise.
6 * math/s_catanf.c (__catanf): Use suffixed floating-point
8 * math/s_catanhf.c (__catanhf): Likewise.
9 * math/s_catanhl.c (__catanhl): Likewise.
10 * math/s_catanl.c (__catanl): Likewise.
13 * math/s_catan.c (__catan): Calculate imaginary part of result
14 with log1p not log unless computing log of number close to 0.
15 * math/s_catanf.c (__catanf): Likewise.
16 * math/s_catanl.c (__catanl): Likewise.
17 * math/s_catanh.c (__catanh): Calculate real part of result with
18 log1p not log unless computing log of number close to 0.
19 * math/s_catanhf.c (__catanhf): Likewise.
20 * math/s_catanhl.c (__catanhl): Likewise.
21 * math/libm-test.inc (catan_test): Add more tests.
22 (catanh_test): Likewise.
23 * sysdeps/i386/fpu/libm-test-ulps: Update.
24 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28 * benchtests/Makefile: Mention files in which fast and slow
29 paths of math functions are implemented.
31 2013-04-23 Roland McGrath <roland@hack.frob.com>
33 * sysdeps/posix/timespec_get.c: New file.
35 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
39 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42 powerpc/power5/fpu folders.
43 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44 * benchtests/Makefile: Add modf testcase.
45 * benchtests/bench-modf.c: New file: Benchmark test for mo
47 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
50 * time/Makefile (tests): Add tst-strptime-whitespace.
51 * time/strptime_l.c (get_number): Use ISSPACE.
52 (__strptime_internal): Likewise.
53 * time/tst-strptime-whitespace.c: New test case.
55 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59 (_nss_files_init): Set it here.
61 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
63 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
69 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
71 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
73 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
76 2013-04-21 David S. Miller <davem@davemloft.net>
78 * po/ru.po: Update Russion translation from translation project.
80 2013-04-17 Adam Conrad <adconrad@0c3.net>
82 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
85 2013-04-17 Carlos O'Donell <carlos@redhat.com>
87 * configure.in: Remove i386 configure warning. Remove i386 case.
88 * configure: Regenerate.
89 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
90 Add example to error message.
91 * sysdeps/i386/configure: Regenerate.
93 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * benchtests/Makefile (bench): Add cos, tan, slowcos and
97 * benchtests/cos-inputs: New file.
98 * benchtests/slowcos-inputs: New file.
99 * benchtests/slowcos.c: New file.
100 * benchtests/slowtan-inputs: New file.
101 * benchtests/slowtan.c: New file.
102 * benchtests/tan-inputs: New file.
104 2013-04-16 Roland McGrath <roland@hack.frob.com>
106 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
109 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
111 * benchtests/Makefile: Include cppflags-iterator.mk to add
112 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
114 * Makefile.in (bench-clean): New target.
115 * benchtests/Makefile (bench-clean): Likewise.
117 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
119 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
121 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
123 * stdio-common/tstdiomisc.c: Fix coding-style violation.
125 2013-04-15 Andreas Schwab <schwab@suse.de>
127 * nscd/grpcache.c (cache_addgr): Properly check for short write.
128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
129 * nscd/pwdcache.c (cache_addpw): Likewise.
130 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
133 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
135 * benchtests/Makefile (bench): Write all output to
136 bench-out.tmp together.
138 2013-04-15 Andreas Schwab <schwab@suse.de>
140 * nscd/nscd.c (main): Don't fork again after closing files.
142 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
144 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
146 * benchtests/Rules (bench-deps): Collect dependencies into a
147 single variable. Add Makefile to dependencies.
148 ($(objpfx)bench-%.c): Depend on bench-deps.
150 2013-04-12 Roland McGrath <roland@hack.frob.com>
151 Xavier Roche <roche+kml2@exalead.com>
154 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
155 just that it's a file descriptor.
156 * manual/llio.texi (Synchronizing AIO Operations): Update description
157 for EBADF error from aio_fsync.
159 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
161 * Rules (bench): Move target definition...
162 * benchtests/Makefile: ... here.
164 2013-04-11 Carlos O'Donell <carlos@redhat.com>
166 * math/libm-test.inc (cos_test): Fix PI/2 test.
167 (sincos_test): Likewise.
168 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
169 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
171 2013-04-11 Andreas Schwab <schwab@suse.de>
174 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
175 accept exponent character only when digits were seen.
176 * stdio-common/Makefile (tests): Add bug26.
177 * stdio-common/bug26.c: New file.
180 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
183 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
185 * Makeconfig (rtld-prefix): Define built linker prefix.
186 * Rules (run-bench): Use it.
187 * math/Makefile (run-regen-ulps): Likewise.
189 * Rules (bench): Remove eval.
191 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
192 Roland McGrath <roland@hack.frob.com>
193 Ondrej Bilka <neleai@seznam.cz>
196 * time/getdate.c: Include ctype.h and alloca.h.
197 (__getdate_r): Trim leading and trailing spaces of input.
198 * time/tst-getdate.c (tests): Add tests with leading and
201 2013-04-08 Roland McGrath <roland@hack.frob.com>
204 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
205 when computing value.
207 2013-04-06 Carlos O'Donell <carlos@redhat.com>
209 * math/README.libm-test (How can I generate "libm-test-ulps"?):
210 Use testrun.sh to run libm tests.
213 * elf/dl-open.c (dl_open_worker): memset all of seen array.
215 2013-04-06 Marko Myllynen <myllynen@redhat.com>
218 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
220 2013-04-06 Carlos O'Donell <carlos@redhat.com>
222 * Makefile.in (regen-ulps): New target.
223 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
224 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
225 [ifneq (no,$(PERL)] (regen-ulps): New target.
226 [ifeq (no,$(PERL)] (regen-ulps): New target.
227 * math/libm-test.inc (ulps_file_name): Define.
228 (output_dir): New variable.
229 (options): Add "output-dir" option.
230 (parse_opt): Handle 'o' case.
231 (main): If output_dir is non-NULL use it as a prefix
233 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
235 2013-04-06 Carlos O'Donell <carlos@redhat.com>
238 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
239 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
240 fail configure if __sync_val_compare_and_swap is not inlined.
241 * sysdeps/i386/configure: Regenerate.
242 * configure.in: Build for i686 when configured for i386.
243 * configure: Regenerate.
244 * README: Remove i386 reference.
246 2013-04-06 Carlos O'Donell <carlos@redhat.com>
248 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
251 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
253 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
254 (lmsnanval): New variables.
255 (F): Add conversion tests.
256 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
257 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
259 * stdio-common/tstdiomisc.c (F): Properly collect individual
263 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
264 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
265 Instead, use input NaN values or generate a qNaN by arithmetic
266 operation. Also fix bugs to comply with the standard.
267 * math/libm-test.inc (remainder_test): Add more tests.
270 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
272 input NaN values or generate a qNaN by arithmetic operation.
274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
277 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
280 2013-04-03 Joseph Myers <joseph@codesourcery.com>
283 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
285 * math/s_cexpf.c (__cexpf): Likewise.
286 * math/s_cexpl.c (__cexpl): Likewise.
287 * math/libm-test.inc (cexp_test): Add more tests.
289 2013-04-03 Andreas Schwab <schwab@suse.de>
292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
293 order arrays from heap if bigger than alloca cutoff.
295 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
297 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
298 (SNAN_TESTS_double): Refer to GCC PR56831.
299 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
302 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
304 * Rules (bench): Move bench.out after the run is complete.
306 * Rules (bench): Echo currently running benchmark.
308 * benchtests/Makefile (bench): Add atan and slowatan.
309 * benchtests/atan-inputs: New file.
310 * benchtests/slowatan-inputs: New file.
311 * benchtests/slowatan.c: New file.
313 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
318 * sysdeps/unix/sysv/linux/kernel-features.h
319 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
320 __ASSUME_XFS_RESTRICTED_CHOWN.
321 * sysdeps/unix/sysv/linux/pathconf.c
322 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
323 Save and restore errno.
325 2013-04-02 Joseph Myers <joseph@codesourcery.com>
328 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
329 arguments using __kernel_casinh.
330 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
331 arguments using __kernel_casinhf.
332 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
333 arguments using __kernel_casinhl.
334 * math/libm-test.inc (cacosh_test): Add more tests.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
338 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
340 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
343 * bench/Makefile (bench): Add sin and slowsin.
344 * benchtests/sin-inputs: New file.
345 * benchtests/slowsin-inputs: New file.
346 * benchtests/slowsin.c: New file.
348 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
349 (bench): Add slowexp and slowpow.
350 (exp-ITER): Increase iterations.
351 (pow-ITER): Likewise.
352 * benchtests/exp-inputs: Change input.
353 * benchtests/pow-inputs: Likewise.
354 * benchtests/slowexp-inputs: New file.
355 * benchtests/slowexp.c: New file.
356 * benchtests/slowpow-inputs: New file.
357 * benchtests/slowpow.c: New file.
359 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
363 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
364 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
365 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
366 * benchtests/Makefile: Add rint benchtest.
367 * benchtests/rint-inputs: Input for rint benchtest.
369 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
371 * Versions.def (libm): Add GLIBC_2.18.
372 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
373 hidden libm prototypes.
374 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
375 * math/Makefile (libm-calls): Add s_issignaling.
376 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
377 __issignalingf, __issignalingl. Adjust all libm.abilist files.
378 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
380 * math/math.h [__USE_GNU] (issignaling): New macro.
381 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
382 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
383 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
384 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
385 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
386 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
387 * manual/arith.texi (issignaling): New section.
388 * manual/libm-err-tab.pl (@all_functions): Update comment.
389 * math/gen-libm-test.pl (parse_args): Apply special handling for
391 * math/libm-test.inc (print_float, issignaling_test): New
393 (check_float_internal): Add issignaling checks.
394 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
396 * sysdeps/powerpc/math-tests.h: New file.
397 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
399 * math/test-snan.c (TEST_FUNC): Likewise.
401 2013-03-30 David S. Miller <davem@davemloft.net>
403 * po/de.po: Update from translation team.
405 2013-03-30 Joseph Myers <joseph@codesourcery.com>
408 * math/k_casinh.c (__kernel_casinh): Handle arguments with
409 imaginary part less than 1.0 and real part less than 0.5
411 * math/k_casinhf.c (__kernel_casinhf): Likewise.
412 * math/k_casinhl.c (__kernel_casinhl): Likewise.
413 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
414 (cacos_test): Add more tests.
415 (casin_test): Likewise.
416 (casinh_test): Likewise.
417 * sysdeps/i386/fpu/libm-test-ulps: Update.
418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
420 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
422 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
425 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
426 (__pow_mp): Replace ONE and MONE with their values.
427 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
429 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
430 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
431 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
434 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
436 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
437 (__pow_mp): Replace ZERO and MZERO with their values.
438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
439 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
440 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
442 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
443 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
446 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
448 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
450 2013-03-28 Roland McGrath <roland@hack.frob.com>
452 * include/stdlib.h [!SHARED] (__call_tls_dtors):
453 Declare with __attribute__ ((weak)).
454 * stdlib/exit.c (__libc_atexit) [!SHARED]:
455 Call __call_tls_dtors only if it's not NULL.
457 2013-03-28 Roland McGrath <roland@hack.frob.com>
459 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
460 didn't do it already, then set _dl_phdr and _dl_phnum based on the
461 magic __ehdr_start linker symbol if it's defined.
462 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
463 them up here if it was already done.
465 * elf/dl-support.c (_dl_phdr): Make pointer to const.
466 (_dl_aux_init): Use const in cast when setting it.
467 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
468 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
469 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
471 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
473 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
474 * csu/libc-tls.c: Nor here.
475 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
477 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
478 (__libc_message): Never call vsyslog.
480 2013-03-28 Alan Modra <amodra@gmail.com>
482 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
484 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
487 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
490 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
494 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
497 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
498 Don't add gid passed as argument.
500 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
502 2013-03-27 Joseph Myers <joseph@codesourcery.com>
505 * math/k_casinh.c (__kernel_casinh): Handle arguments with
506 imaginary part between 1.0 and 1.5 and real part less than 0.5
508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
510 * math/libm-test.inc (cacos_test): Add more tests.
511 (casin_test): Likewise.
512 (casinh_test): Likewise.
513 * sysdeps/i386/fpu/libm-test-ulps: Update.
514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
516 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
518 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
522 (__dbl_mp): Likewise.
523 (add_magnitudes): Likewise.
524 (sub_magnitudes): Likewise.
532 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
534 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
535 (__dubcos): Likewise.
536 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
537 (__ieee754_acos): Likewise.
538 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
539 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
545 (checkint): Likewise.
546 * sysdeps/ieee754/dbl-64/e_remainder.c
547 (__ieee754_remainder): Likewise.
548 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
551 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
553 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
554 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
555 MANTISSA_STORE_T to store computations on mantissa. Use
556 macros for rounding and division.
558 (__dbl_mp): Likewise.
559 (add_magnitudes): Likewise.
560 (sub_magnitudes): Likewise.
563 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
564 powers of two in terms of TWOPOW macro.
565 (mp_no): Make type of mantissa as MANTISSA_T.
566 [!RADIXI]: Define RADIXI.
567 [!TWO52]: Define TWO52.
568 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
570 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
572 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
573 llroundl symbol when building for PPC32.
575 2013-03-24 Mark H Weaver <mhw@netris.org>
577 * manual/arith.texi (Normalization Functions): Fix prototypes for
578 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
580 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
584 high value to check if expl overflow.
585 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
586 to check for underflow and overflow.
587 * math/libm-test.inc: Add exp test.
589 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
592 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
595 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
600 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
602 * math/gen-libm-test.pl (parse_args, special_functions): Properly
603 wrap blocks consisting of several statements.
605 * sysdeps/generic/math-tests.h: New file.
606 * sysdeps/i386/fpu/math-tests.h: Likewise.
607 * math/test-snan.c: Include it.
608 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
610 2013-03-21 Joseph Myers <joseph@codesourcery.com>
613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
614 (__ieee754_j0l): Do not improve calculations using cos of twice
615 input for inputs above LDBL_MAX / 2.0L.
616 (__ieee754_y0l): Likewise.
617 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
618 (__ieee754_j1l): Do not improve calculations using cos of twice
619 input for inputs above LDBL_MAX / 2.0L.
620 (__ieee754_y1l): Likewise.
621 * math/libm-test.inc (j0_test): Add another test.
625 * sysdeps/i386/fpu/libm-test-ulps: Update.
627 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
629 * Rules ($(objpfx)bench-%.c): Include code from a C source
632 2013-03-21 Joseph Myers <joseph@codesourcery.com>
635 * math/k_casinh.c (__kernel_casinh): Handle arguments with
636 imaginary part 1.0 and real part less than 0.5 specially.
637 * math/k_casinhf.c (__kernel_casinhf): Likewise.
638 * math/k_casinhl.c (__kernel_casinhl): Likewise.
639 * math/libm-test.inc (cacos_test): Add more tests.
640 (casin_test): Likewise.
641 (casinh_test): Likewise.
642 * sysdeps/i386/fpu/libm-test-ulps: Update.
643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
645 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
647 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
648 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
650 2013-03-20 Joseph Myers <joseph@codesourcery.com>
652 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
653 * config.make.in (config-cflags-sse4): Remove variable.
654 (config-cflags-avx): Likewise.
655 (config-cflags-sse2avx): Likewise.
656 (config-cflags-novzeroupper): Likewise.
657 (config-asflags-i686): Likewise.
658 (have-mfma4): Likewise.
659 (have-as-vis3): Likewise.
661 * configure.in (MIG): Do not AC_SUBST.
662 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
663 (libc_cv_cc_sse4): Do not AC_SUBST.
664 (libc_cv_cc_avx): Likewise.
665 (libc_cv_cc_sse2avx): Likewise.
666 (libc_cv_cc_novzeroupper): Likewise.
667 (libc_cv_cc_fma4): Likewise.
668 (libc_cv_as_i686): Likewise.
669 (libc_cv_sparc_as_vis3): Likewise.
670 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
672 (config-asflags-i686): Likewise.
673 (config-cflags-avx): Likewise.
674 (config-cflags-sse2avx): Likewise.
675 (have-mfma4): Likewise.
676 (config-cflags-novzeroupper): Likewise.
677 * sysdeps/mach/configure.in (MIG): Likewise.
678 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
679 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
681 (config-cflags-avx): Likewise.
682 (config-cflags-sse2avx): Likewise.
683 (have-mfma4): Likewise.
684 (config-cflags-novzeroupper): Likewise.
685 * configure: Regenerated.
686 * sysdeps/i386/configure: Likewise.
687 * sysdeps/mach/configure: Likewise.
688 * sysdeps/sparc/configure: Likewise.
689 * sysdeps/x86_64/configure: Likewise.
691 2013-03-20 Roland McGrath <roland@hack.frob.com>
694 * locale/programs/localedef.c (options): Put N_ translation marker
695 on argument names, not just descriptions.
697 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
699 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
701 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
704 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
706 2013-03-19 Roland McGrath <roland@hack.frob.com>
708 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
709 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
710 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
711 [!BEFORE_ABORT] (before_abort): New function.
712 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
713 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
714 (writev_for_fatal): New function.
715 (WRITEV_FOR_FATAL): New macro; call that.
716 (backtrace_and_maps): New function.
717 (BEFORE_ABORT): New macro; call that.
718 (struct str_list): Type removed.
719 (__libc_message, __libc_fatal): Functions removed.
720 Include <sysdeps/posix/libc_fatal.c> instead.
722 2013-03-19 Joseph Myers <joseph@codesourcery.com>
724 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
726 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
729 2013-03-19 Andreas Schwab <schwab@suse.de>
731 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
732 * sysdeps/gnu/configure: Regenerate.
734 * configure.in: Substitute libc_cv_rtlddir.
735 * configure: Regenerate.
736 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
737 * Makeconfig (rtlddir, inst_rtlddir): New variables.
738 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
739 * elf/Makefile (install-others, CFLAGS-interp.c)
740 (ldso_install, common-ldd-rewrite): Likewise.
741 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
742 $(inst_slibdir)/$(rtld-installed-name).
743 * scripts/rellns-sh: Add -p option.
744 * Makerules (make-shlib-link): Use rellns-sh to get relative name
747 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
749 * manual/nptl.texi: Renamed to ...
750 * manual/threads.texi: ... this.
751 * manual/Makefile (chapters): Update.
753 2013-03-18 Roland McGrath <roland@hack.frob.com>
756 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
757 on argument names, not just descriptions.
758 * malloc/memusagestat.c (options): Likewise.
759 * nss/getent.c (options): Likewise.
761 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
764 * iconv/iconv_prog.c (options): Put N_ translation marker
765 on argument names, not just descriptions.
766 * iconv/iconvconfig.c (options): Likewise.
768 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
770 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
771 implementation which is faster on all x86_64 architectures.
772 Tested on AMD, Intel Nehalem, SNB, IVB.
773 * sysdeps/x86_64/strnlen.S: Likewise.
775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
776 Remove all multiarch strlen and strnlen versions.
777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
778 Remove strlen and strnlen related parts.
780 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
784 * sysdeps/x86_64/multiarch/strlen.S: Remove.
785 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
786 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
787 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
788 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
789 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
791 2013-03-17 Carlos O'Donell <carlos@redhat.com>
793 * manual/memory.texi (Malloc Tunable Parameters):
794 Sort parameters alphabetically. Add comments for missing entries.
796 2013-03-17 David S. Miller <davem@davemloft.net>
798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
800 2013-03-16 Joseph Myers <joseph@codesourcery.com>
803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
804 for arguments at most half maximum finite value.
805 * math/libm-test.inc (j0_test): Add more tests.
809 * sysdeps/i386/fpu/libm-test-ulps: Update.
810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
813 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
814 1 / x and functions P and Q for arguments above 0x1p256L.
815 (__ieee754_y0l): Likewise.
816 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
817 (__ieee754_y1l): Likewise.
818 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
823 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
825 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
828 2013-03-15 Roland McGrath <roland@hack.frob.com>
830 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
831 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
832 zero since it's initialized to EXEC_PAGESIZE.
834 * sysdeps/unix/sysv/linux/ldsodefs.h
835 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
836 * sysdeps/generic/ldsodefs.h: ... here.
838 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
840 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
842 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
844 * math/test-snan.c: Renamed from
845 sysdeps/powerpc/fpu/test-powerpc-snan.c.
846 * math/Makefile (tests): Add test-snan.
847 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
850 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
851 SUFFIX. Initialize qNaN_var with __builtin_nan family of
853 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
854 __builtin_nan family of functions.
855 * math/libm-test.inc (initialize): Initialize qnan_value with
856 __builtin_nan family of functions.
857 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
859 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
861 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
862 storage class. Initialize qNaN_var and sNaN_var with
863 __builtin_nan and __builtin_nans families of functions,
866 * math/libm-test.inc (acosh_test): Also test with qNaN input.
867 (sqrt_test): Remove duplicate test with qNaN input.
868 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
869 (round_test, signbit_test, significand_test): Note missing +/-Inf
870 as well as qNaN tests.
872 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
873 qNaN_var. Fix a few strings, too.
874 * math/libm-test.inc (nan_value): Rename to qnan_value.
875 * math/gen-libm-test.pl (%beautify): Adjust to that.
876 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
877 * math/test-misc.c (main): Likewise.
878 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
879 to __qnan_bytes, and __qnan_union, respectively.
880 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
882 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
883 and lqnanval, respectively.
884 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
885 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
886 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
887 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
889 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
890 * math/test-misc.c (main) [__x86_64__]: Enable test for long
893 * math/test-misc.c (main): Fix copy'n'pastos.
894 * misc/tst-efgcvt.c (special): Likewise.
896 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
899 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
901 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
902 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
903 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
904 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
906 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
909 macro to return vdso values correctly in IFUNC implementations.
910 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
911 Optimization by using IFUNC.
913 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
914 Richard Henderson <rth@redhat.com>
915 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
917 * Makefile.in (bench): New target.
918 * NEWS: Mention the benchmark framework.
919 * Rules (bench): Likewise.
920 (binaries-bench): Generate binaries for functions to
922 * benchtests/Makefile: New makefile for benchmark tests.
923 * benchtests/bench-skeleton.c: New skeleton file for benchmark
925 * benchtests/exp-inputs: New input file for EXP function.
926 * benchtests/pow-inputs: New input file for POW function.
927 * scripts/bench.pl: New script to generate source files for
930 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
932 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
933 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
934 computations on mantissa. Use macros for rounding and
937 (__dbl_mp): Likewise.
938 (add_magnitudes): Likewise.
939 (sub_magnitudes): Likewise.
942 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
943 powers of two in terms of TWOPOW macro.
944 (mp_no): Make type of mantissa as MANTISSA_T.
945 [!RADIXI]: Define RADIXI.
946 [!TWO52]: Define TWO52.
947 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
949 * manual/nptl.texi (cindex): Modify threads to pthreads.
951 2013-03-15 Joseph Myers <joseph@codesourcery.com>
953 * sysdeps/x86_64/preconfigure: Regenerated.
955 2013-03-14 Joseph Myers <joseph@codesourcery.com>
958 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
960 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
961 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
963 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
964 * math/libm-test.inc (j0_test): Do not allow one spurious
968 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
970 * manual/Makefile (chapters): Add nptl.
971 * manual/debug.texi (Debugging Support): Add link to Threads
973 * manual/nptl.texi: New file.
975 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
977 2013-03-14 Petr Baudis <pasky@ucw.cz>
979 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
980 for non-NULL pointer before the memory validity test. Pointed
981 out by Holger Brunck <holger.brunck@keymile.com>.
983 2013-03-13 Andreas Schwab <schwab@suse.de>
985 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
988 2013-03-13 Joseph Myers <joseph@codesourcery.com>
990 * timezone/zic.c: Update from tzcode 2013b.
992 2013-03-12 Carlos O'Donell <carlos@redhat.com>
994 * manual/install.texi (Configuring and compiling):
995 Mention i686 and i586.
996 * INSTALL: Regenerate.
998 2013-03-12 Roland McGrath <roland@hack.frob.com>
1000 * sysdeps/init_array/elf-init.c: New file.
1002 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1003 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1005 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1006 __gmon_start__ as global, but as static with a .preinit_array pointer.
1007 * sysdeps/init_array/gmon-start.c: New file. Use that.
1008 * sysdeps/init_array/crti.S: New file, empty except for comments.
1009 * sysdeps/init_array/crtn.S: Likewise.
1011 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1013 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1016 Remove Prefer_SSE_for_memop.
1017 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1018 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1019 HAS_PREFER_SSE_FOR_MEMOP.
1020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1023 Remove bzero, memset ifunc support.
1024 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1025 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1026 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1027 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1029 2013-03-11 Andreas Schwab <schwab@suse.de>
1032 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1035 (GLIBC_2.16): Remove pthread_atfork.
1037 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1039 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1040 (ptestcases.h): Likewise.
1042 2013-03-08 Roland McGrath <roland@hack.frob.com>
1044 * Makeconfig ($(common-objpfx)config.status): Depend on
1045 sysdeps/*/preconfigure{,.in} too.
1047 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1049 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1050 (__free_hook): Use void * instead of __malloc_ptr_t.
1051 (__malloc_hook): Likewise.
1052 (__realloc_hook): Likewise.
1053 (__memalign_hook): Likewise.
1054 (__after_morecore_hook): Likewise.
1055 * malloc/arena.c (save_malloc_hook): Likewise.
1056 (save_free_hook): Likewise.
1057 * malloc/hooks.c (malloc_hook_ini): Likewise.
1058 (realloc_hook_ini): Likewise.
1059 (memalign_hook_ini): Likewise.
1060 * malloc/malloc.c (malloc_hook_ini): Likewise.
1061 (realloc_hook_ini): Likewise.
1062 (memalign_hook_ini): Likewise.
1063 (__free_hook): Likewise.
1064 (__malloc_hook): Likewise.
1065 (__realloc_hook): Likewise.
1066 (__memalign_hook): Likewise.
1067 (__libc_malloc): Likewise.
1068 (__libc_free): Likewise.
1069 (__libc_realloc): Likewise.
1070 (__libc_memalign): Likewise.
1071 (__libc_valloc): Likewise.
1072 (__libc_pvalloc): Likewise.
1073 (__libc_calloc): Likewise.
1074 (__posix_memalign): Likewise.
1075 * malloc/morecore.c (__sbrk): Likewise.
1076 (__default_morecore): Likewise.
1078 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1080 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1081 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1084 * malloc/malloc.h (__malloc_size_t): Remove macro.
1085 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1087 (old_memalign_hook): Likewise.
1088 (old_realloc_hook): Likewise.
1089 (struct hdr): Likewise.
1091 (mallochook): Likewise.
1092 (memalignhook): Likewise.
1093 (reallochook): Likewise.
1094 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1095 (tr_old_realloc_hook): Likewise.
1096 (tr_old_memalign_hook): Likewise.
1097 (tr_mallochook): Likewise.
1098 (tr_reallochook): Likewise.
1099 (tr_memalignhook): Likewise.
1101 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1104 default_ldbl_pack and using as default implementation.
1105 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1107 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1108 redundant definition.
1109 (ldbl_insert_mantissa): Likewise.
1110 (ldbl_canonicalize): Likewise.
1111 (ldbl_nearbyint): Likewise.
1112 (ldbl_pack): Rename to ldbl_pack_ppc.
1113 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1114 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1115 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1117 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1120 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1121 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1122 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1124 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1125 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1126 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1128 2013-03-07 Andreas Jaeger <aj@suse.de>
1130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1133 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1135 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1136 Include mpa.h and declare __MPEXP.
1137 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1138 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1139 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1140 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1141 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1142 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1143 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1145 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1146 (__slowpow): Use long double EXPL and LOGL functions to
1148 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1149 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1150 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1151 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1152 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1153 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1156 intermediate variable to calculate exponent.
1158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1162 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1163 [!NO__SQR]: Define __sqr.
1164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1165 and NO__SQR. Remove all code except __mul and __sqr. Include
1166 sysdeps/ieee754/dbl-64/mpa.c.
1167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1170 * posix/Makefile (tests): Add tst-pathconf.
1171 * posix/tst-pathconf.c: New test case.
1172 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1174 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1176 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1178 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1180 2013-03-06 Andreas Jaeger <aj@suse.de>
1182 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1183 definition via __MAP_ANONYMOUS.
1185 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1186 it's not part of Linux headers.
1188 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1189 (MAP_HUGE_MASK): Define.
1191 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1193 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1196 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1197 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1199 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1200 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1202 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1204 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1205 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1206 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1207 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1208 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1209 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1211 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1214 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1215 Handle f2fs and efivarfs.
1217 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1220 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1221 (EFIVARFS_MAGIC): Add.
1222 (F2FS_LINK_MAX): Add.
1224 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1226 * stdio-common/vfprintf.c: Replace __builtin_expect with
1229 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1232 * sysdeps/generic/bp-sym.h: Remove file.
1233 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1234 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1235 <bp-sym.h> and <bp-asm.h>.
1236 (__longjmp): Don't use BP_SYM.
1237 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1239 (memcpy): Don't use BP_SYM.
1240 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1241 <bp-sym.h> and <bp-asm.h>.
1242 (memcpy): Don't use BP_SYM.
1243 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1245 (memcpy): Don't use BP_SYM.
1246 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1248 (memset): Don't use BP_SYM.
1249 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1250 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1251 (__bzero): Don't use BP_SYM.
1252 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1253 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1254 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1255 <bp-sym.h> and <bp-asm.h>.
1256 (memcmp): Don't use BP_SYM. Remove comment about bounded
1258 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1259 <bp-sym.h> and <bp-asm.h>.
1260 (memcpy): Don't use BP_SYM.
1261 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1262 <bp-sym.h> and <bp-asm.h>.
1263 (memset): Don't use BP_SYM.
1264 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1265 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1266 (__bzero): Don't use BP_SYM.
1267 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1268 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1269 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1270 <bp-sym.h> and <bp-asm.h>.
1271 (strncmp): Don't use BP_SYM. Remove comment about bounded
1273 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1274 <bp-sym.h> and <bp-asm.h>.
1275 (memcpy): Don't use BP_SYM.
1276 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1277 <bp-sym.h> and <bp-asm.h>.
1278 (memset): Don't use BP_SYM.
1279 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1280 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1281 (__bzero): Don't use BP_SYM.
1282 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1283 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1284 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1285 <bp-sym.h> and <bp-asm.h>.
1286 (__memchr): Don't use BP_SYM.
1287 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1288 <bp-sym.h> and <bp-asm.h>.
1289 (memcmp): Don't use BP_SYM. Remove comment about bounded
1291 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1292 <bp-sym.h> and <bp-asm.h>.
1293 (memcpy): Don't use BP_SYM.
1294 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1295 <bp-sym.h> and <bp-asm.h>.
1296 (__mempcpy): Don't use BP_SYM.
1297 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1298 <bp-sym.h> and <bp-asm.h>.
1299 (__memrchr): Don't use BP_SYM.
1300 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1301 <bp-sym.h> and <bp-asm.h>.
1302 (memset): Don't use BP_SYM.
1303 (__bzero): Likewise.
1304 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1305 <bp-sym.h> and <bp-asm.h>.
1306 (__rawmemchr): Don't use BP_SYM.
1307 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1308 <bp-sym.h> and <bp-asm.h>.
1309 (__STRCMP): Don't use BP_SYM.
1310 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1311 <bp-sym.h> and <bp-asm.h>.
1312 (strchr): Don't use BP_SYM.
1313 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1314 <bp-sym.h> and <bp-asm.h>.
1315 (__strchrnul): Don't use BP_SYM.
1316 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (strlen): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1320 <bp-sym.h> and <bp-asm.h>.
1321 (strncmp): Don't use BP_SYM. Remove comment about bounded
1323 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1324 <bp-sym.h> and <bp-asm.h>.
1325 (__strnlen): Don't use BP_SYM.
1326 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1327 <bp-sym.h> and <bp-asm.h>.
1328 (__GI__setjmp): Don't use BP_SYM.
1329 (_setjmp): Likewise.
1330 (__sigsetjmp): Likewise.
1331 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1332 (L(start_addresses)): Don't use BP_SYM.
1334 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1336 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1337 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1338 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1339 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1340 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1342 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1343 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1344 about bounded pointers.
1345 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1346 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1347 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1349 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1350 about bounded pointers. Remove GKM FIXME comments.
1351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1352 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1354 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1355 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1356 Remove GKM FIXME comments.
1357 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1358 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1359 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1361 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1362 about bounded pointers. Remove GKM FIXME comment.
1363 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1365 (strncmp): Don't use BP_SYM. Remove comment about bounded
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1368 <bp-sym.h> and <bp-asm.h>.
1369 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1371 <bp-sym.h> and <bp-asm.h>.
1372 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1375 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1377 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1380 2013-03-05 David S. Miller <davem@davemloft.net>
1382 * po/es.po: Update from translation team.
1384 2013-03-05 Andreas Jaeger <aj@suse.de>
1386 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1387 <bits/mman-linux.h>.
1388 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1390 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1391 <bits/mman-linux.h> to end of file.
1392 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1394 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1395 <bits/mman-linux.h> to end of file.
1396 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1398 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1399 <bits/mman-linux.h> to end of file.
1401 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1402 (MCL_CURRENT, MCL_FUTURE): Define here.
1404 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1407 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1409 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1411 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1413 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1414 fourth parameter needed for rt_sigprocmask syscall.
1415 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1416 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1417 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1420 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1422 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1425 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1426 comment about bounded pointers.
1427 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1428 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1430 2013-03-04 Andreas Jaeger <aj@suse.de>
1432 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1435 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1436 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1437 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1438 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1439 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1442 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1445 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1446 __ieee754_sqrl instead of __sqrl.
1448 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1450 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1451 * sysdeps/powerpc/fpu_control.h: ... here.
1452 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1453 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1454 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1455 * sysdeps/powerpc/bits/mathinline.h: ... here.
1457 2013-03-01 Roland McGrath <roland@hack.frob.com>
1459 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1460 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1461 to just [NEED_DL_SYSINFO_DSO].
1462 * elf/dl-support.c: Likewise.
1463 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1464 * elf/rtld.c (dl_main): Likewise.
1465 * elf/setup-vdso.h (setup_vdso): Likewise.
1466 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1467 * sysdeps/unix/sysv/linux/dl-sysdep.c
1468 (_dl_discover_osversion): Likewise.
1470 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1472 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1473 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1475 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1477 * NEWS: Mention libm performance improvements and non-x86 PI
1480 * csu/libc-start.c (__pthread_initialize_minimal): Change
1482 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1484 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1487 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1488 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1489 <bp-sym.h> and <bp-asm.h>.
1490 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1491 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1493 (memcpy): Don't use BP_SYM.
1494 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1496 (__mpn_add_n): Don't use BP_SYM.
1497 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1498 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1500 (__mpn_addmul_1): Don't use BP_SYM.
1501 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1502 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1504 (_setjmp): Don't use BP_SYM.
1505 (__novmx_setjmp): Likewise.
1506 (__GI__setjmp): Likewise.
1507 (__vmx_setjmp): Likewise.
1508 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1510 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1511 (__bzero): Don't use BP_SYM.
1512 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1513 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1514 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1515 <bp-sym.h> and <bp-asm.h>.
1516 (memcpy): Don't use BP_SYM.
1517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1518 <bp-sym.h> and <bp-asm.h>.
1519 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1520 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1521 <bp-sym.h> and <bp-asm.h>.
1522 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1523 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1525 (__mpn_lshift): Don't use BP_SYM.
1526 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1527 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1529 (memset): Don't use BP_SYM.
1530 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1531 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1532 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1534 (__mpn_mul_1): Don't use BP_SYM.
1535 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1536 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1537 <bp-sym.h> and <bp-asm.h>.
1538 (memcmp): Don't use BP_SYM.
1539 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1540 <bp-sym.h> and <bp-asm.h>.
1541 (memcpy): Don't use BP_SYM.
1542 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1543 <bp-sym.h> and <bp-asm.h>.
1544 (memset): Don't use BP_SYM.
1545 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1546 <bp-sym.h> and <bp-asm.h>.
1547 (strncmp): Don't use BP_SYM.
1548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1549 <bp-sym.h> and <bp-asm.h>.
1550 (memcpy): Don't use BP_SYM.
1551 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1552 <bp-sym.h> and <bp-asm.h>.
1553 (memset): Don't use BP_SYM.
1554 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1555 <bp-sym.h> and <bp-asm.h>.
1556 (__memchr): Don't use BP_SYM.
1557 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1558 <bp-sym.h> and <bp-asm.h>.
1559 (memcmp): Don't use BP_SYM.
1560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1561 <bp-sym.h> and <bp-asm.h>.
1562 (memcpy): Don't use BP_SYM.
1563 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1564 <bp-sym.h> and <bp-asm.h>.
1565 (__mempcpy): Don't use BP_SYM.
1566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1567 <bp-sym.h> and <bp-asm.h>.
1568 (__memrchr): Don't use BP_SYM.
1569 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1570 <bp-sym.h> and <bp-asm.h>.
1571 (memset): Don't use BP_SYM.
1572 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1573 <bp-sym.h> and <bp-asm.h>.
1574 (__rawmemchr): Don't use BP_SYM.
1575 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1576 <bp-sym.h> and <bp-asm.h>.
1577 (__STRCMP): Don't use BP_SYM.
1578 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1579 <bp-sym.h> and <bp-asm.h>.
1580 (strchr): Don't use BP_SYM.
1581 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1582 <bp-sym.h> and <bp-asm.h>.
1583 (__strchrnul): Don't use BP_SYM.
1584 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1585 <bp-sym.h> and <bp-asm.h>.
1586 (strlen): Don't use BP_SYM.
1587 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1588 <bp-sym.h> and <bp-asm.h>.
1589 (strncmp): Don't use BP_SYM.
1590 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1591 <bp-sym.h> and <bp-asm.h>.
1592 (__strnlen): Don't use BP_SYM.
1593 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1595 (__mpn_rshift): Don't use BP_SYM.
1596 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1597 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1598 <bp-sym.h> and <bp-asm.h>.
1599 (__sigsetjmp): Don't use BP_SYM.
1600 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1601 (L(start_addresses)): Don't use BP_SYM.
1603 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1605 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1606 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1607 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1608 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1610 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1611 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1612 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1613 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1615 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1617 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1618 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1620 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1622 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1623 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1624 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1626 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1628 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1630 (strncmp): Don't use BP_SYM,
1631 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1633 (__mpn_sub_n): Don't use BP_SYM.
1634 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1635 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1637 (__mpn_submul_1): Don't use BP_SYM.
1638 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1640 <bp-sym.h> and <bp-asm.h>.
1641 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1643 <bp-sym.h> and <bp-asm.h>.
1644 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1647 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1650 Use ZK to minimize writes to Z.
1651 (sub_magnitudes): Simplify code a bit.
1652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1653 Use ZK to minimize writes to Z.
1654 (sub_magnitudes): Simplify code a bit.
1656 2013-02-27 Roland McGrath <roland@hack.frob.com>
1658 * csu/gmon-start.c: Add special exception to license text.
1660 2013-02-27 Richard Henderson <rth@redhat.com>
1662 * scripts/config.guess: Update from config.git.
1663 * scripts/config.sub: Likewise.
1665 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1669 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1671 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1673 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1675 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1677 2013-02-26 Roland McGrath <roland@hack.frob.com>
1679 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1680 [$(build-shared = yes].
1682 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1684 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1685 (__mul): Reduce iterations for calculating mantissa.
1687 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1689 (__mpranred): Likewise.
1692 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1693 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1695 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1697 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1698 Define __attribute__.
1700 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1702 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1704 * posix/regex_internal.h (__attribute): Remove.
1705 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1706 (re_string_context_at): Likewise.
1707 (bitset_not): Use __attribute__ and mark function as possibly
1709 (bitset_merge): Likewise.
1710 (bitset_mask): Likewise.
1711 (re_string_char_size_at): Likewise.
1712 (re_string_wchar_at): Likewise.
1713 (re_string_elem_size_at): Likewise.
1715 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1717 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1721 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1726 (__dbl_mp): Likewise.
1727 (add_magnitudes): Likewise.
1728 (sub_magnitudes): Likewise.
1732 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1735 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1738 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1742 up changes with default code.
1743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1746 2013-02-24 Allan McRae <allan@archlinux.org>
1748 * manual/socket.texi (The Internet Namespace): Order menu items
1749 to match that in the file.
1751 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1752 node listing of the info page menu.
1754 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1757 * sysdeps/i386/bp-asm.h: Remove file.
1758 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1759 (PARMS): Do not use macros from bp-asm.h.
1763 (__mpn_add_n): Do not use BP_SYM
1764 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1766 (PARMS): Do not use macros from bp-asm.h.
1769 (__mpn_addmul_1): Do not use BP_SYM
1770 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1772 (PARMS): Do not use macros from bp-asm.h.
1774 (_setjmp): Likewise. Do not use BP_SYM.
1775 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1777 (PARMS): Do not use macros from bp-asm.h.
1779 (setjmp): Likewise. Do not use BP_SYM.
1780 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1782 (PARMS): Do not use macros from bp-asm.h.
1783 (__frexp): Do not use BP_SYM.
1785 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1787 (PARMS): Do not use macros from bp-asm.h.
1788 (__frexpf): Do not use BP_SYM.
1790 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (__frexpl): Do not use BP_SYM.
1795 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1797 (PARMS): Do not use macros from bp-asm.h.
1798 (__remquo): Do not use BP_SYM.
1800 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1802 (PARMS): Do not use macros from bp-asm.h.
1803 (__remquof): Do not use BP_SYM.
1804 (remquof): Likewise.
1805 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1807 (PARMS): Do not use macros from bp-asm.h.
1808 (__remquol): Do not use BP_SYM.
1809 (remquol): Likewise.
1810 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1812 (PARMS): Do not use macros from bp-asm.h.
1815 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1816 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1818 (PARMS): Do not use macros from bp-asm.h.
1819 (strlen): Do not use BP_SYM.
1820 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1822 (PARMS): Do not use macros from bp-asm.h.
1826 (__mpn_add_n): Do not use BP_SYM.
1827 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1829 (PARMS): Do not use macros from bp-asm.h.
1832 (__mpn_addmul_1): Do not use BP_SYM.
1833 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1836 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1838 (PARMS): Do not use macros from bp-asm.h.
1841 (__mpn_lshift): Do not use BP_SYM.
1842 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1844 (PARMS): Do not use macros from bp-asm.h.
1848 (memcpy): Likewise. Do not use BP_SYM.
1849 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1850 libc_hidden_def and weak_alias.
1851 (mempcpy): Do not use BP_SYM in weak_alias.
1852 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1854 (PARMS): Do not use macros from bp-asm.h.
1857 [!BZERO_P] (CHR): Likewise.
1858 (memset): Likewise. Do not use BP_SYM.
1859 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1861 (PARMS): Do not use macros from bp-asm.h.
1864 (__mpn_mul_1): Do not use BP_SYM.
1865 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1867 (PARMS): Do not use macros from bp-asm.h.
1870 (__mpn_rshift): Do not use BP_SYM.
1871 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1873 (PARMS): Do not use macros from bp-asm.h.
1876 (strchr): Likewise. Do not use BP_SYM.
1877 (index): Do not use BP_SYM in weak_alias.
1878 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1880 (PARMS): Do not use macros from bp-asm.h.
1883 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1884 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1886 (PARMS): Do not use macros from bp-asm.h.
1887 (strlen): Do not use BP_SYM.
1888 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1890 (PARMS): Do not use macros from bp-asm.h.
1894 (__mpn_sub_n): Do not use BP_SYM.
1895 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1897 (PARMS): Do not use macros from bp-asm.h.
1900 (__mpn_submul_1): Do not use BP_SYM.
1901 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1903 (PARMS): Do not use macros from bp-asm.h.
1907 (__mpn_add_n): Do not use BP_SYM.
1908 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1911 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1913 (PARMS): Do not use macros from bp-asm.h.
1916 (memcmp): Do not use BP_SYM.
1917 (bcmp): Do not use BP_SYM in weak_alias.
1918 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1920 (PARMS): Do not use macros from bp-asm.h.
1924 (memcpy): Likewise. Do not use BP_SYM.
1925 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1927 (PARMS): Do not use macros from bp-asm.h.
1931 (memmove): Likewise. Do not use BP_SYM.
1932 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1934 (PARMS): Do not use macros from bp-asm.h.
1938 (__mempcpy): Likewise. Do not use BP_SYM.
1939 (mempcpy): Do not use BP_SYM in weak_alias.
1940 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1942 (PARMS): Do not use macros from bp-asm.h.
1945 [!BZERO_P] (CHR): Likewise.
1946 (memset): Likewise. Do not use BP_SYM.
1947 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1949 (PARMS): Do not use macros from bp-asm.h.
1951 (strcmp): Do not use BP_SYM.
1952 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1954 (PARMS): Do not use macros from bp-asm.h.
1957 [USE_AS_STRTOK_R] (SAVE): Likewise.
1958 (FUNCTION): Likewise. Do not use BP_SYM.
1959 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1961 (strtok_r): Likewise.
1962 (__GI___strtok_r): Likewise.
1963 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1964 (PARMS): Do not use macros from bp-asm.h.
1967 (__mpn_lshift): Do not use BP_SYM.
1968 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1969 (PARMS): Do not use macros from bp-asm.h.
1972 (__memchr): Do not use BP_SYM.
1973 (memchr): Do not use BP_SYM in weak_alias.
1974 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1975 (PARMS): Do not use macros from bp-asm.h.
1978 (memcmp): Do not use BP_SYM.
1979 (bcmp): Do not use BP_SYM in weak_alias.
1980 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1981 (PARMS): Do not use macros from bp-asm.h.
1984 (__mpn_mul_1): Do not use BP_SYM.
1985 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1987 (PARMS): Do not use macros from bp-asm.h.
1990 (__rawmemchr): Do not use BP_SYM.
1991 (rawmemchr): Do not use BP_SYM in weak_alias.
1992 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1993 (PARMS): Do not use macros from bp-asm.h.
1996 (__mpn_rshift): Do not use BP_SYM.
1997 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1998 (PARMS): Do not use macros from bp-asm.h.
2000 (__sigsetjmp): Likewise. Do not use BP_SYM.
2001 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2002 (_start): Do not use BP_SYM.
2003 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2004 (PARMS): Do not use macros from bp-asm.h.
2007 (__stpcpy): Likewise. Do not use BP_SYM.
2008 (stpcpy): Do not use BP_SYM in weak_alias.
2009 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2011 (PARMS): Do not use macros from bp-asm.h.
2015 (__stpncpy): Likewise. Do not use BP_SYM.
2016 (stpncpy): Do not use BP_SYM in weak_alias.
2017 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2018 (PARMS): Do not use macros from bp-asm.h.
2021 (strchr): Likewise. Do not use BP_SYM.
2022 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2024 (PARMS): Do not use macros from bp-asm.h.
2027 (__strchrnul): Likewise. Do not use BP_SYM.
2028 (strchrnul): Do not use BP_SYM in weak_alias.
2029 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2031 (PARMS): Do not use macros from bp-asm.h.
2033 (strcspn): Do not use BP_SYM.
2034 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2036 (PARMS): Do not use macros from bp-asm.h.
2039 (strpbrk): Likewise. Do not use BP_SYM.
2040 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2042 (PARMS): Do not use macros from bp-asm.h.
2045 (strrchr): Likewise. Do not use BP_SYM.
2046 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2047 (PARMS): Do not use macros from bp-asm.h.
2049 (strspn): Do not use BP_SYM.
2050 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2051 (PARMS): Do not use macros from bp-asm.h.
2055 (FUNCTION): Likewise. Do not use BP_SYM.
2056 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2058 (strtok_r): Likewise.
2059 (__GI___strtok_r): Likewise.
2060 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2061 (PARMS): Do not use macros from bp-asm.h.
2065 (__mpn_sub_n): Do not use BP_SYM.
2066 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2068 (PARMS): Do not use macros from bp-asm.h.
2071 (__mpn_submul_1): Do not use BP_SYM.
2072 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2074 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2076 (PARMS): Do not use macros from bp-asm.h.
2081 (__clone): Do not use BP_SYM.
2082 (clone): Do not use BP_SYM in weak_alias.
2083 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2085 (PARMS): Do not use macros from bp-asm.h.
2087 (__mmap64): Do not use BP_SYM.
2088 (mmap64): Do not use BP_SYM in weak_alias.
2089 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2090 <bp-sym.h> and <bp-asm.h>.
2091 (PARMS): Do not use macros from bp-asm.h.
2092 (__posix_fadvise64_l64): Do not use BP_SYM.
2093 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2094 (PARMS): Do not use macros from bp-asm.h.
2096 (semtimedop): Do not use BP_SYM.
2097 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2100 2013-02-21 Allan McRae <allan@archlinux.org>
2102 * manual/message.texi (Charset conversion in gettext):
2103 Move @end statement to beginning of line.
2105 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2112 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2117 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2119 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2120 tail-call to the resolved function if pltexit isn't needed.
2122 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2125 or Y being zero as being unlikely.
2126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2129 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2131 * manual/nss.texi (System Databases and Name Service Switch):
2132 Remove frobnicate @pxref.
2134 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2136 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2137 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2139 2013-02-20 Petr Machata <pmachata@redhat.com>
2141 * elf/elf.h (R_ARM_TARGET1): New macro.
2142 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2143 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2144 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2145 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2146 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2147 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2148 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2149 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2150 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2151 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2152 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2153 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2154 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2155 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2156 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2157 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2158 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2159 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2160 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2161 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2162 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2163 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2164 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2165 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2166 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2167 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2168 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2169 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2170 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2171 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2172 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2173 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2174 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2175 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2176 (R_ARM_THM_GOT_BREL12): Likewise.
2177 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2178 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2179 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2180 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2181 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2182 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2183 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2184 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2185 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2187 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2189 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2190 __attribute_used__ to __attribute__ ((unused)).
2192 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2194 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2200 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2203 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2205 (ENTER): Remove both macro definitions.
2207 (CHECK_BOUNDS_LOW): Likewise.
2208 (CHECK_BOUNDS_HIGH): Likewise.
2209 (CHECK_BOUNDS_BOTH): Likewise.
2210 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2211 (RETURN_BOUNDED_POINTER): Likewise.
2212 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2213 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2214 (POP_ERRNO_LOCATION_RETURN): Likewise.
2215 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2216 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2217 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2219 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2220 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2221 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2222 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2223 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2224 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2225 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2226 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2227 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2228 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2229 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2230 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2231 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2232 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2234 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2235 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2237 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2238 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2239 * sysdeps/i386/i586/memset.S (memset): Likewise.
2240 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2241 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2242 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2244 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2245 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2246 Change uses of L(2) to L(out).
2247 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2248 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2249 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2250 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2251 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2253 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2254 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2256 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2257 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2258 (RETURN): Do not use macro LEAVE.
2259 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2260 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2261 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2262 * sysdeps/i386/i686/memset.S (memset): Likewise.
2263 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2264 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2265 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2266 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2268 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2269 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2270 L(1_2) and L(1_3) into L(1).
2271 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2272 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2273 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2274 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2275 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2276 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2277 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2278 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2279 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2281 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2282 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2283 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2284 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2285 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2286 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2287 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2288 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2289 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2290 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2291 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2292 * sysdeps/i386/strspn.S (strspn): Likewise.
2293 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2295 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2296 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2297 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2298 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2300 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2301 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2302 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2304 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2306 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2308 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2311 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * math/atest-exp.c (exp_mpn): Remove ROUND.
2314 * math/atest-exp2.c (exp_mpn): Likewise.
2315 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2317 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2318 * stdlib/tst-tls-atexit-lib.c: Likewise.
2319 * stdlib/tst-tls-atexit.c: Likewise.
2321 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2323 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2324 and __attribute_alloc_size__.
2326 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2328 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2329 __attribute_alloc_size__.
2330 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2331 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2333 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2335 * include/programs/xmalloc.h: New file.
2336 * catgets/gencat.c: Include it.
2337 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2338 * elf/pldd.c: Likewise.
2339 * iconv/iconv_charmap.c: Likewise.
2340 * iconv/iconvconfig.c: Likewise.
2341 * iconv/strtab.c: Likewise.
2342 * locale/programs/locale.c: Likewise.
2343 * locale/programs/localedef.h: Likewise.
2344 * locale/programs/simple-hash.c: Likewise.
2345 * nscd/nscd.h: Likewise.
2346 * nss/makedb.c: Likewise.
2347 * sysdeps/generic/ldconfig.h: Likewise.
2349 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2351 * Versions.def: Add GLIBC_2.18.
2352 * include/link.h (struct link_map): New member l_tls_dtor_count.
2353 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2354 (__call_tls_dtors): Likewise.
2355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2356 __cxa_thread_atexit_impl.
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2373 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2374 (tests): Add test case tst-tls-atexit.
2375 (modules-names): Add shared library for tst-tls-atexit.
2376 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2377 (GLIBC_PRIVATE): Add __call_tls_dtors.
2378 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2380 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2381 * stdlib/tst-tls-atexit.c: New test case.
2382 * stdlib/tst-tls-atexit-lib.c: New test case.
2384 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2386 * elf/Versions (ld): Add _dl_find_dso_for_object.
2387 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2388 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2389 (dl_open_worker): Use _dl_find_dso_for_object.
2390 * elf/dl-sym.c (do_sym): Likewise.
2391 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2393 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2395 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2396 Syntactic changes only.
2397 (_dl_runtime_profile): Do a tail-call to the resolved function.
2399 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2402 * sysdeps/x86_64/bp-asm.h: Remove file.
2403 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2404 <bp-sym.h> and <bp-asm.h>.
2405 (__clone): Do not use BP_SYM.
2406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2407 <bp-sym.h> and <bp-asm.h>.
2408 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2409 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2411 (_setjmp): Do not use BP_SYM.
2412 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2414 (setjmp): Do not use BP_SYM.
2415 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2417 (mempcpy): Do not use BP_SYM in weak_alias.
2418 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2420 (strchr): Do not use BP_SYM.
2421 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2423 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2424 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2425 (_start): Do not use BP_SYM.
2426 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2428 (strcat): Do not use BP_SYM.
2429 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2431 (STRCMP): Do not use BP_SYM.
2432 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2434 (STRCPY): Do not use BP_SYM.
2435 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2437 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2439 (FUNCTION): Do not use BP_SYM.
2440 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2442 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2444 2013-02-17 Andreas Jaeger <aj@suse.de>
2446 * time/Versions: Sort entries.
2447 * string/Versions: Likewise.
2448 * resolv/Versions: Likewise.
2449 * posix/Versions: Likewise.
2450 * iconv/Versions: Likewise.
2451 * elf/Versions: Likewise.
2452 * wcsmbs/Versions: Likewise.
2454 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2457 loop termination condition.
2459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2460 variable to calculate EZ.
2463 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2464 the lower precision input.
2466 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2469 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2470 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2471 (run-via-rtld-prefix): Do not handle %-bp tests.
2472 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2473 (all-object-suffixes): Remove .ob.
2474 (bppfx): Remove variable.
2475 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2476 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2477 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2478 [$(build-bounded) = yes] (libtype.ob): Likewise.
2479 * Makerules (elide-routines.ob): Remove variable.
2480 (do-tests-clean): Do not handle *-bp.out.
2481 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2482 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2483 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2484 (tests): Do not include $(tests-bp.out).
2485 (xtests): Do not include $(xtests-bp.out).
2486 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2487 [$(build-bounded) = yes] ($(addprefix
2488 $(objpfx),$(binaries-bounded))): Remove rule.
2489 ($(objpfx)%-bp.out): Remove rule.
2490 * config.make.in (build-bounded): Remove variable.
2491 * crypt/Makefile [$(build-bounded) = yes]
2492 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2493 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2495 [$(build-bounded) = yes] (install-lib): Likewise.
2496 [$(build-bounded) = yes] (generated): Likewise.
2497 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2499 * intl/Makefile [$(build-bounded) = yes]
2500 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2501 * math/Makefile [$(build-bounded) = yes]
2502 ($(tests:%=$(objpfx)%-bp): Likewise.
2503 * misc/Makefile [$(build-bounded) = yes]
2504 ($(objpfx)tst-tsearch-bp): Likewise.
2505 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2506 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2508 * string/Makefile (o-objects.ob): Remove variable.
2509 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2510 (CFLAGS-.ob): Remove variable.
2511 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2512 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2513 both definitions of variable.
2514 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2515 (ASFLAGS-.ob): Remove variable.
2517 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2520 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2521 Remove __BOUNDED_POINTERS__ from condition.
2522 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2523 * string/bits/string2.h [!__NO_STRING_INLINES &&
2524 !__BOUNDED_POINTERS__]: Likewise.
2525 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2527 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2528 Remove conditional code.
2529 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2530 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2531 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2535 * csu/libc-start.c: Do not include <bp-sym.h>.
2536 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2537 * elf/dl-open.c: Do not include <bp-sym.h>.
2538 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2539 * math/fegetenv.c: Do not include <bp-sym.h>.
2540 (fegetenv): Do not use BP_SYM in versioned symbols.
2541 * nptl/sysdeps/pthread/bits/libc-lockP.h
2542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2545 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2547 (__pthread_mutex_destroy): Likewise.
2548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2549 (__pthread_mutex_lock): Likewise.
2550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2551 (__pthread_mutex_trylock): Likewise.
2552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2553 (__pthread_mutex_unlock): Likewise.
2554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2555 (__pthread_mutexattr_init): Likewise.
2556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2557 (__pthread_mutexattr_destroy): Likewise.
2558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2559 (__pthread_mutexattr_settype): Likewise.
2560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2561 (__pthread_rwlock_init): Likewise.
2562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2563 (__pthread_rwlock_destroy): Likewise.
2564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2565 (__pthread_rwlock_rdlock): Likewise.
2566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2567 (__pthread_rwlock_tryrdlock): Likewise.
2568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2569 (__pthread_rwlock_wrlock): Likewise.
2570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2571 (__pthread_rwlock_trywrlock): Likewise.
2572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2573 (__pthread_rwlock_unlock): Likewise.
2574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2575 (__pthread_key_create): Likewise.
2576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2577 (__pthread_setspecific): Likewise.
2578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2579 (__pthread_getspecific): Likewise.
2580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2583 (_pthread_cleanup_push_defer): Likewise.
2584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2585 (_pthread_cleanup_pop_restore): Likewise.
2586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2587 (pthread_setcancelstate): Likewise.
2588 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2590 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2591 (memchr): Do not use BP_SYM in weak_alias.
2592 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2593 (fegetenv): Do not use BP_SYM in versioned symbols.
2594 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2595 (fesetenv): Do not use BP_SYM in versioned symbols.
2596 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2597 (feupdateenv): Do not use BP_SYM in versioned symbols.
2598 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2599 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2600 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2601 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2602 (open64): Do not use BP_SYM in weak_alias.
2603 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2604 (fegetenv): Do not use BP_SYM in versioned symbols.
2605 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2606 (fesetenv): Do not use BP_SYM in versioned symbols.
2607 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2608 (feupdateenv): Do not use BP_SYM in versioned symbols.
2609 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2610 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2611 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2612 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2613 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2614 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2615 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2617 (__libc_start_main): Do not use BP_SYM.
2619 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2622 redundant return line.
2626 (sub_magnitudes): Likewise.
2632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2636 (sub_magnitudes): Likewise.
2643 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2645 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2646 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2649 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2650 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2652 of __mul for squares.
2653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2657 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2658 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2660 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2663 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2665 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2666 prototype or function definition. Rename ubp_* variables and
2667 parameters. Remove argv definitions conditional on
2668 [__BOUNDED_POINTERS__].
2669 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2670 * elf/dl-runtime.c (_dl_fixup): Likewise.
2671 * include/set-hooks.h (RUN_HOOK): Likewise.
2672 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2674 * string/strcpy.c (strcpy): Do not use __unbounded.
2675 * sysdeps/generic/frame.h (struct layout): Likewise.
2676 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2677 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2678 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2679 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2680 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2681 (__backtrace): Likewise.
2682 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2684 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2685 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2686 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2688 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2689 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2690 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2691 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2692 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2693 Do not use __unbounded.
2694 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2695 Rename __unboundedrlimits parameter to rlimits in prototype.
2696 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2697 Do not use __unbounded.
2698 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2700 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2701 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2702 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2703 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2704 __ptrvalue or __unbounded.
2705 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2706 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2708 (__new_msgctl): Do not use __ptrvalue.
2709 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2711 (__libc_msgrcv): Do not use __ptrvalue.
2712 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2713 startup_info): Do not use __unbounded.
2714 (__libc_start_main): Likewise. Rename ubp_* variables and
2715 parameters. Remove argv definitions conditional on
2716 [__BOUNDED_POINTERS__].
2717 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2719 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2723 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2725 (__new_shmctl): Do not use __ptrvalue.
2726 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2727 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2729 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2730 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2731 (__libc_sigaction): Likewise.
2732 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2733 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2735 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2737 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2739 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2741 * string/mempcpy.c: Implement by calling memcpy.
2743 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2750 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2751 values in the mantissa.
2753 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2754 minimize writes to Z.
2755 (sub_magnitudes): Simplify code a bit.
2757 2013-02-12 Roland McGrath <roland@hack.frob.com>
2759 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2760 from the message. The linker prefixes all warnings with that already.
2762 2013-02-12 Andreas Schwab <schwab@suse.de>
2765 * posix/regexec.c (extend_buffers): Add parameter min_len.
2766 (check_matching): Pass minimum needed length.
2767 (clean_state_log_if_needed): Likewise.
2768 (get_subexp): Likewise.
2769 * posix/Makefile (tests): Add bug-regex34.
2770 (bug-regex34-ENV): Define.
2771 * posix/bug-regex34.c: New file.
2774 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2775 elements compare against the byte sequence of it, not its name.
2776 * posix/Makefile (tests): Add bug-regex35.
2777 (bug-regex35-ENV): Define.
2778 * posix/bug-regex35.c: New file.
2780 2013-02-11 Tom de Vries <tom@codesourcery.com>
2782 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2784 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2785 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2786 (CHECK_EOL): Add undef.
2788 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2790 * bits/stdlib-bsearch.h: New file.
2791 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2792 * stdlib/stdlib.h: Likewise.
2794 2013-02-11 Roland McGrath <roland@hack.frob.com>
2796 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2797 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2799 * manual/search.texi (Array Search Function): Add missing const in
2801 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2802 declaration to use rlim_t.
2803 (Basic Scheduling Functions): Remove erroneous const from
2804 sched_getparam prototype. Remove erroneous * from
2805 sched_get_priority_max and sched_get_priority_min prototypes.
2806 (Resource Usage): Fix summary @comment on vtimes to refer to
2807 sys/vtimes.h rather than vtimes.h.
2808 Add missing *s in vtimes prototype.
2809 (Limits on Resources): Fix ulimit prototype to return long int.
2810 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2811 prototypes to use long int rather than double.
2812 (BSD Random): Fix initstate and setstate to use char *, not void *.
2813 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2814 prototype to make second argument 'struct aiocb64 *const[]'.
2815 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2816 (Status of AIO Operations): Remove erroneous const in aio_return and
2817 aio_return64 prototypes.
2818 (Synchronizing I/O): Fix sync prototype to return void.
2819 * manual/startup.texi (Suboptions): Remove an erroneous const in
2820 getsubopt prototype.
2821 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2822 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2823 use size_t rather than int.
2824 (Scanning All Users): Likewise for getpwent_r.
2825 (Setting Groups): Add missing const to setgroups prototype.
2826 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2827 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2828 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2829 'const void *' rather than 'const char *'.
2830 (Host Address Functions): Likewise for inet_ntop.
2831 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2832 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2833 ssize_t for return value.
2834 (Sending Data): Likewise for send, sendto, sendmsg.
2835 (Socket Option Functions): Add a missing const in setsockopt prototype.
2836 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2837 use wchar_t for the argument.
2838 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2839 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2841 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2842 double/float/long double for second argument.
2843 Fix return types of significand, significandf, significandl.
2844 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2845 argument in fchmod prototype.
2846 (File Owner): Use uid_t and gid_t in fchown prototype.
2847 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2848 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2849 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2850 use 'const struct dirent **' as argument types to CMP function pointer
2852 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2853 (File Times): Fix summary magic @comment for struct utimbuf and utime
2854 to refer to utime.h, not time.h.
2855 * manual/string.texi (Argz Functions): Add missing const in
2856 argz_extract and argz_next prototypes.
2857 (Finding Tokens in a String): Likewise for basename.
2858 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2859 (Copying and Concatenation): Fix typo in wmemmove prototype.
2860 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2861 (Signal Stack): Remove erroneous const in sigstack prototype.
2862 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2864 (Simple Calendar Time): Likewise for stime.
2865 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2867 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2868 say sys/sysctl.h instead.
2869 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2870 and vsyslog prototypes.
2872 2013-02-11 Tom de Vries <tom@codesourcery.com>
2874 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2877 2013-02-11 Roland McGrath <roland@hack.frob.com>
2879 * misc/sys/mman.h: Fix typo in mremap comment.
2881 2013-02-08 Roland McGrath <roland@hack.frob.com>
2883 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2884 the '\0' terminator.
2886 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2889 * debug/segfault.c: Don't include <bp-checks.h>.
2890 * sysdeps/generic/bp-checks.h: Remove file.
2891 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2892 (__GETDENTS): Don't use CHECK_N.
2893 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2894 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2895 (__getgroups): Don't use CHECK_N.
2896 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2897 (setgroups): Don't use CHECK_N.
2898 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2899 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2900 (__libc_msgrcv): Don't use CHECK_N.
2901 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2902 (__libc_msgsnd): Don't use CHECK_N.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2905 (__libc_pread): Don't use CHECK_N.
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2907 include <bp-checks.h>.
2908 (__libc_pread64): Don't use CHECK_N.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2910 include <bp-checks.h>.
2911 (__libc_pwrite): Don't use CHECK_N.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2913 include <bp-checks.h>.
2914 (__libc_pwrite64): Don't use CHECK_N.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2917 (__libc_pread): Don't use CHECK_N.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2919 include <bp-checks.h>.
2920 (__libc_pread64): Don't use CHECK_N.
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2922 include <bp-checks.h>.
2923 (__libc_pwrite): Don't use CHECK_N.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2925 include <bp-checks.h>.
2926 (__libc_pwrite64): Don't use CHECK_N.
2927 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2928 (do_pread): Don't use CHECK_N.
2929 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2930 (do_pread64): Don't use CHECK_N.
2931 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2932 (do_pwrite): Don't use CHECK_N.
2933 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2934 (do_pwrite64): Don't use CHECK_N.
2935 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2936 (__libc_readv): Don't use CHECK_N.
2937 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2938 (semop): Don't use CHECK_N.
2939 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2941 (semtimedop): Don't use CHECK_N.
2942 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2943 (__libc_pread): Don't use CHECK_N.
2944 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2946 (__libc_pread64): Don't use CHECK_N.
2947 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2949 (__libc_pwrite): Don't use CHECK_N.
2950 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2952 (__libc_pwrite64): Don't use CHECK_N.
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2955 (__libc_msgrcv): Don't use CHECK_N.
2956 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2957 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2958 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2959 (__libc_writev): Don't use CHECK_N.
2961 2013-02-08 Roland McGrath <roland@hack.frob.com>
2963 * string/strcpy.c: Removed unused variable.
2965 * Makeconfig (+sysdep-includes): Define with := rather than =.
2966 Use an existing include/ subdir of each sysdeps dir before it.
2968 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2970 * nscd/connection.c (register_traced_file): Comment function.
2971 [HAVE_INOTIFY] (union __inev): Define.
2972 [HAVE_INOTIFY] (inotify_check_files): New function.
2973 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2974 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2976 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2978 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2980 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2981 loaded if not already and that a failure is permanent.
2983 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2986 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2987 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2989 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2993 (CHECK_1_NULL_OK): Likewise.
2994 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2995 (__fxstat): Do not use CHECK_1.
2996 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2998 (___fxstat64): Do not use CHECK_1.
2999 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3001 (__fxstatat): Do not use CHECK_1.
3002 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3004 (__fxstatat64): Do not use CHECK_1.
3005 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3007 (__fxstat): Do not use CHECK_1.
3008 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3010 (__fxstatat): Do not use CHECK_1.
3011 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3013 (__getresgid): Do not use CHECK_1.
3014 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3016 (__getresuid): Do not use CHECK_1.
3017 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3019 (__lxstat): Do not use CHECK_1.
3020 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3022 (__old_msgctl): Do not use CHECK_1.
3023 (__new_msgctl): Likewise.
3024 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3026 (__new_setrlimit): Do not use CHECK_1.
3027 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3029 (__old_shmctl): Do not use CHECK_1.
3030 (__new_shmctl): Likewise.
3031 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3033 (__xstat): Do not use CHECK_1.
3034 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3035 (__lxstat): Do not use CHECK_1.
3036 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3038 (___lxstat64): Do not use CHECK_1.
3039 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3040 (__old_msgctl): Do not use CHECK_1.
3041 (__new_msgctl): Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3044 (__gettimeofday): Do not use CHECK_1.
3045 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3046 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3047 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3049 (__gettimeofday): Do not use CHECK_1.
3050 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3051 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3052 (__new_shmctl): Do not use CHECK_1.
3053 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3055 (do_sigtimedwait): Do not use CHECK_1.
3056 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3058 (do_sigwaitinfo): Do not use CHECK_1.
3059 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3061 (msgctl): Do not use CHECK_1.
3062 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3064 (shmctl): Do not use CHECK_1.
3065 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3066 (ustat): Do not use CHECK_1.
3067 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3069 (__fxstat): Do not use CHECK_1.
3070 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3072 (__fxstatat): Do not use CHECK_1.
3073 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3075 (__lxstat): Do not use CHECK_1.
3076 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3078 (__xstat): Do not use CHECK_1.
3079 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3080 (__xstat): Do not use CHECK_1.
3081 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3082 (___xstat64): Do not use CHECK_1.
3085 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3087 (CHECK_BOUNDS_HIGH): Likewise.
3088 * string/strcpy.c: Do not include <bp-checks.h>.
3089 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3091 2013-02-07 Roland McGrath <roland@hack.frob.com>
3093 * nscd/nscd-client.h (__nscd_drop_map_ref):
3094 Add __attribute__ ((unused)).
3095 * nis/nss-nisplus.h (niserr2nss): Likewise.
3097 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3098 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3100 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3101 Remove inline keyword.
3102 * include/rounding-mode.h (round_away): Likewise.
3103 * libio/wfileops.c (adjust_wide_data): Likewise.
3104 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3105 (__m128i_strloadu_tolower): Likewise.
3106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3107 (__m128i_strloadu_tolower): Likewise.
3108 * time/mktime.c (ydhms_diff): Likewise.
3109 * locale/elem-hash.h (elem_hash): Likewise.
3110 * locale/setlocale.c (setdata): Likewise.
3111 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3112 (re_string_wchar_at): Likewise.
3113 (bitset_not, bitset_merge, bitset_mask): Likewise.
3114 [!(__GNUC__ > 3)] (inline): Remove macro.
3115 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3116 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3117 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3118 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3119 * string/memcmp.c (memcmp_bytes): Likewise.
3120 * locale/programs/locarchive.c (compute_hashval): Likewise.
3121 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3122 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3123 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3124 * nss/getent.c (print_rpc, print_protocols): Likewise.
3125 (print_passwd, print_group, print_aliases): Likewise.
3126 * nis/nss-nisplus.h (niserr2nss): Likewise.
3127 * nscd/connections.c (restart_p): Likewise.
3128 Change return type to bool.
3130 2013-02-05 Roland McGrath <roland@hack.frob.com>
3132 * Makeconfig (all-Depend-files): Add existing
3133 $(sorted-subdirs:=/Depend) files.
3134 (all-subdirs): Remove nss.
3135 * sysdeps/unix/inet/Subdirs: Add it here instead.
3136 * hesiod/Depend: New file.
3138 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3139 instead of calling alloca.
3141 * io/lseek.c (__lseek): Rename to __libc_lseek.
3142 Define __lseek as an alias.
3144 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3146 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3148 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3149 else clause and remove check for non-standard endianness.
3151 2013-02-04 David S. Miller <davem@davemloft.net>
3153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3155 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3158 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3159 (__ubp_memchr): Remove prototype.
3160 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3161 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3162 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3163 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3164 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3166 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3167 (__ubp_memchr): Likewise.
3168 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3169 (__ubp_memchr): Likewise.
3170 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3171 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3172 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3173 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3175 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3176 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3177 (__getcwd): Do not use CHECK_STRING.
3178 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3180 (__real_chown): Do not use CHECK_STRING.
3181 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3183 (fchownat): Do not use CHECK_STRING.
3184 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3186 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3188 (__lchown): Do not use CHECK_STRING.
3189 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3190 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3191 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3192 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3194 include <bp-checks.h>.
3195 (truncate64): Do not use CHECK_STRING.
3196 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3198 (__real_chown): Do not use CHECK_STRING.
3199 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3201 (__lchown): Do not use CHECK_STRING.
3202 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3204 (__chown): Do not use CHECK_STRING.
3205 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3207 (truncate64): Do not use CHECK_STRING.
3208 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3210 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3211 (__xmknod): Do not use CHECK_STRING.
3212 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3214 (__xmknodat): Do not use CHECK_STRING.
3215 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3216 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3218 2013-02-04 Andreas Schwab <schwab@suse.de>
3221 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3222 * include/netdb.h: Likewise for h_errno.
3223 * elf/tst-stackguard1.c: Include <tls.h>.
3225 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3227 * elf/link.h (struct link_map): Extend the l_addr comment.
3228 * include/link.h (struct link_map): Likewise.
3230 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3233 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3234 (BOUNDED_1): Remove macro.
3235 * debug/backtrace.c: Don't include <bp-checks.h>.
3236 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3237 (__backtrace): Likewise.
3238 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3240 (__backtrace): Don't use BOUNDED_1.
3241 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3243 (__backtrace): Don't use BOUNDED_1.
3244 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3245 (__backtrace): Don't use BOUNDED_1.
3246 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3247 (shmat): Don't use BOUNDED_N.
3249 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3252 * sysdeps/generic/bp-start.h: Remove file.
3253 * csu/libc-start.c: Don't include <bp-start.h>.
3254 (LIBC_START_MAIN): Set up __environ directly instead of using
3255 INIT_ARGV_and_ENVIRON.
3256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3260 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3262 (CHECK_FCNTL): Likewise.
3263 (CHECK_N_PAGES): Likewise.
3266 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3268 (CHECK_SIGSET_NULL_OK): Likewise.
3269 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3271 (sigpending): Don't use CHECK_SIGSET.
3272 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3274 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3275 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3277 (do_sigsuspend): Don't use CHECK_SIGSET.
3278 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3280 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3281 (do_sigwait): Don't use CHECK_SIGSET.
3282 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3285 include <bp-checks.h>.
3286 (sigpending): Don't use CHECK_SIGSET.
3287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3288 include <bp-checks.h>.
3289 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3290 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3292 (sigpending): Don't use CHECK_SIGSET.
3293 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3295 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3298 * sysdeps/generic/bp-semctl.h: Remove file.
3299 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3300 <bp-checks.h> and <bp-semctl.h>.
3301 (__old_semctl): Don't use CHECK_SEMCTL.
3302 (__new_semctl): Likewise.
3303 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3305 (__old_semctl): Don't use CHECK_SEMCTL.
3306 (__new_semctl): Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3308 <bp-checks.h> and <bp-semctl.h>.
3309 (__old_semctl): Don't use CHECK_SEMCTL.
3310 (__new_semctl): Likewise.
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3312 <bp-checks.h> and <bp-semctl.h>.
3313 (semctl): Don't use CHECK_SEMCTL.
3316 * Makerules (elide-bp-thunks): Remove variable.
3317 (elide-routines.oS): Don't use $(elide-bp-thunks).
3318 (elide-routines.os): Likewise.
3319 (elide-routines.o): Likewise.
3320 (elide-routines.op): Likewise.
3321 (elide-routines.og): Likewise.
3322 (objects): Don't use $(bp-thunks).
3323 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3325 (common-generated): Do not add s-proto-bp.d.
3326 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3329 Do not generate makefile rules for bounded-pointer thunks.
3330 * sysdeps/generic/bp-thunks.h: Remove file.
3331 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3332 * sysdeps/unix/s-proto-bp.S: Likewise.
3335 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3336 parts of result separately when argument is not close to line from
3337 -i to i and one part of argument is small.
3338 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3339 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3340 * math/libm-test.inc (cacos_test): Add more tests.
3341 (casin_test): Likewise.
3342 (casinh_test): Likewise.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346 2013-01-31 David S. Miller <davem@davemloft.net>
3348 * po/de.po: Update from translation team.
3350 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3352 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3354 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3356 * configure.in (_AC_PROG_CC_C89): New definition.
3357 * configure: Regenerate.
3359 * configure.in (AC_PROG_CPP): New definition.
3360 * configure: Regenerate.
3362 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3364 * debug/tst-backtrace.h: New file.
3365 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3366 (ret): Remove variable.
3368 (FAIL): Remove macro.
3369 (NO_INLINE): Likewise.
3370 (fn1): Use match function instead of strstr.
3371 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3372 (ret): Remove variable.
3374 (FAIL): Remove macro.
3375 (NO_INLINE): Likewise.
3376 (fn): Use match function instead of strstr.
3377 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3378 (ret): Remove variable.
3380 (FAIL): Remove macro.
3381 (NO_INLINE): Likewise.
3382 (handle_signal): Use match function instead of strstr.
3383 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3384 (ret): Remove variable.
3386 (FAIL): Remove macro.
3387 (NO_INLINE): Likewise.
3388 (handle_signal): Use match function instead of strstr.
3390 2013-01-23 Roland McGrath <roland@hack.frob.com>
3392 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3394 2013-01-23 David S. Miller <davem@davemloft.net>
3396 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3397 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3398 argument of CAS if possible.
3399 * sysdeps/sparc/sparc64/bits/atomic.h
3400 (__arch_compare_and_exchange_val_32_acq): Likewise.
3401 (__arch_compare_and_exchange_val_64_acq): Likewise.
3403 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3405 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3406 * sysdeps/posix/ulimit.c: ... this.
3408 * sysdeps/unix/bsd/ulimit.c: Remove file.
3410 2013-01-23 Adam Conrad <adconrad@0c3.net>
3412 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3413 (LDFLAGS-tst-array5): Likewise.
3415 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3418 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3419 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3420 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3421 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3423 2013-01-21 David S. Miller <davem@davemloft.net>
3425 * sysdeps/sparc/backtrace.c: New file.
3426 * sysdeps/sparc/sparc32/backtrace.h: New file.
3427 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3428 * sysdeps/sparc/sparc64/backtrace.h: New file.
3429 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3430 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3433 2013-01-21 Andreas Schwab <schwab@suse.de>
3436 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3439 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3445 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3446 Mark Mitchell <mark@codesourcery.com>
3447 Tom de Vries <tom@codesourcery.com>
3448 Paul Pluzhnikov <ppluzhnikov@google.com>
3450 * debug/tst-backtrace2.c: New file.
3451 * debug/tst-backtrace3.c: Likewise.
3452 * debug/tst-backtrace4.c: Likewise.
3453 * debug/tst-backtrace5.c: Likewise.
3454 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3455 (CFLAGS-tst-backtrace3.c): Likewise.
3456 (CFLAGS-tst-backtrace4.c): Likewise.
3457 (CFLAGS-tst-backtrace5.c): Likewise.
3458 (LDFLAGS-tst-backtrace2): Likewise.
3459 (LDFLAGS-tst-backtrace3): Likewise.
3460 (LDFLAGS-tst-backtrace4): Likewise.
3461 (LDFLAGS-tst-backtrace5): Likewise.
3462 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3463 tst-backtrace4 and tst-backtrace5.
3465 2013-01-18 Anton Blanchard <anton@samba.org>
3466 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3468 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3469 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3470 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3471 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3473 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3474 "+r" and remove output regs list as redundant. Add explicit inline
3475 asm to specify register of return val to work around compiler codegen
3476 bug. Remove (int) cast on return value. Add return type parameter to
3477 use in macro so that this macro does not truncate return value for
3479 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3480 pass to INTERNAL_VSYSCALL_NCS.
3481 (INLINE_VSYSCALL): Add 'long int' as return type to
3482 INTERNAL_VSYSCALL_NCS macro invocation.
3483 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3484 INTERNAL_VSYSCALL_NCS macro invocation.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3487 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3490 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3491 Fix application of SIMD FP exception mask.
3493 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3494 mp_no from a power of two.
3495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3496 __mpexp_twomm1. Use __pow_mp.
3498 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3501 2013-01-17 David S. Miller <davem@davemloft.net>
3503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3505 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3508 * include/complex.h: Condition contents on [!_COMPLEX_H].
3509 (__kernel_casinhf): New prototype.
3510 (__kernel_casinh): Likewise.
3511 (__kernel_casinhl): Likewise.
3512 * math/Makefile (libm_calls): Add k_casinh.
3513 * math/k_casinh.c: New file.
3514 * math/k_casinhf.c: Likewise.
3515 * math/k_casinhl.c: Likewise.
3516 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3517 finite nonzero arguments.
3518 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3519 finite nonzero arguments.
3520 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3521 finite nonzero arguments.
3522 * math/s_casinh.c: Do not include <float.h>.
3523 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3524 * math/s_casinhf.c: Do not include <float.h>.
3525 (__casinhf): Move code for finite nonzero arguments to
3527 * math/s_casinhl.c: Do not include <float.h>.
3528 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3530 (__casinhl): Move code for finite nonzero arguments to
3532 * math/libm-test.inc (cacos_test): Add more tests.
3533 * sysdeps/i386/fpu/libm-test-ulps: Update.
3534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3536 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3538 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3539 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3540 [!HAVE_MREMAP]: Remove [defined linux] case.
3541 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3543 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3545 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3547 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3549 * elf/elf.h (R_386_SIZE32): New relocation.
3550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3552 (elf_machine_rela): Likewise.
3553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3554 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3556 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3558 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3559 (FP_FAST_FMA): Do not define.
3560 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3561 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3562 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3563 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3564 !_SOFT_FLOAT]: Likewise.
3565 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3566 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3568 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3569 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3570 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3571 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3572 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3573 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3576 2013-01-16 Andreas Schwab <schwab@suse.de>
3579 * include/stdlib.h (__mktemp): Add declaration.
3580 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3581 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3583 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3585 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3587 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3588 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3589 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3591 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3592 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3594 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3596 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3597 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3598 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3600 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3601 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3603 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3605 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3607 2013-01-15 David S. Miller <davem@davemloft.net>
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3610 trunc{,f} to libm-sysdep_routes.
3611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3622 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3625 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3626 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3629 nearbyint{,f} to libm-sysdep_routes.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3641 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3643 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3644 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3646 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3647 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3648 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3650 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3651 libc_feholdexcept and libc_fesetenv.
3653 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3655 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3657 2013-01-14 David S. Miller <davem@davemloft.net>
3659 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3660 (SPARC_ASM_VIS2_IFUNC): Likewise.
3661 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3663 use of 'siam' instruction.
3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3697 routines to libm-sysdep_routines.
3698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3701 fdim/fdimf to libm-sysdep_routines.
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3710 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3711 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3712 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3713 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3715 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3720 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3725 local variable MPTWO.
3726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3729 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3731 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3734 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3736 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3738 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3740 * manual/pattern.texi (glob_t): Document gl_flags.
3741 (glob64_t): Likewise.
3743 2013-01-11 David S. Miller <davem@davemloft.net>
3745 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3746 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3747 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3748 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3749 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3750 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3751 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3752 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3753 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3754 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3755 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3756 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3757 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3759 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3760 sparc V9 rather than using V8 code.
3761 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3762 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3766 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3769 2013-01-11 Roland McGrath <roland@hack.frob.com>
3771 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3772 not in the main loop.
3773 * configure: Regenerated.
3775 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3777 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3778 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3780 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3781 [!__GLIBC_HAVE_LONG_LONG] case.
3782 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3783 condition to just #else.
3784 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3785 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3786 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3787 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3789 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3790 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3791 #elif condition to just #else.
3792 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3793 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3794 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3795 #elif condition to just #else.
3797 2013-01-11 Steve Ellcey <sellcey@mips.com>
3799 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3800 (EF_MIPS_ARCH_64): Fix value.
3801 (EF_MIPS_ARCH_32R2): New.
3802 (EF_MIPS_ARCH_64R2): New.
3804 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3806 * Makeconfig (+link-pie-before-libc): New.
3807 (+link-pie-after-libc): Likewise.
3808 (+link-pie-tests): Likewise.
3809 (+link-pie): Rewritten.
3810 (link-before-libc): Remove $(config-LDFLAGS).
3811 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3812 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3813 (config-LDFLAGS): Renamed to ...
3814 (rtld-LDFLAGS): This.
3815 (rtld-tests-LDFLAGS): New macro.
3816 (link-libc-rpath-link): Likewise.
3817 (link-libc-tests-rpath-link): Likewise.
3818 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3819 (link-libc): Prepand $(link-libc-rpath-link).
3820 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3821 (test-program-prefix): New macro.
3822 (test-via-rtld-prefix): Likewise.
3823 (test-program-cmd): Likewise.
3824 (host-test-program-cmd): Likewise.
3825 * Makefile ($(common-objpfx)testrun.sh): Replace
3826 $(run-program-prefix) with $(test-program-prefix).
3827 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3829 ($(common-objpfx)shlib.lds): Likewise.
3830 (build-module-helper): Likewise.
3831 ($(common-objpfx)format.lds): Likewise.
3832 * Rules (binaries-pie-tests): New.
3833 (binaries-pie-notests): Likewise.
3834 (binaries-pie): Rewritten.
3835 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3836 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3837 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3838 (make-test-out): Replace $(host-built-program-cmd) with
3839 $(host-test-program-cmd).
3840 * config.make.in (build-hardcoded-path-in-tests): New variable.
3841 * configure.in (--enable-hardcoded-path-in-tests): New configure
3843 (hardcoded_path_in_tests): New AC_SUBST.
3844 * configure: Regenerated.
3845 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3846 $(built-program-cmd) with $(test-program-cmd).
3847 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3848 (test_program_cmd): This.
3849 * elf/Makefile ($(objpfx)order.out): Run test with
3850 $(test-program-prefix).
3851 ($(objpfx)order2.out): Likewise.
3852 ($(objpfx)tst-initorder.out): Likewise.
3853 ($(objpfx)tst-initorder2.out): Likewise.
3854 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3855 $(test-program-cmd).
3856 ($(objpfx)tst-array1-static.out): Likewise.
3857 ($(objpfx)tst-array2.out): Likewise.
3858 ($(objpfx)tst-array3.out): Likewise.
3859 ($(objpfx)tst-array4.out): Likewise.
3860 ($(objpfx)tst-array5.out): Likewise.
3861 ($(objpfx)tst-array5-static.out): Likewise.
3862 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3863 $(test-program-cmd).
3864 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3865 $(run-program-prefix) with $(test-program-prefix).
3866 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3867 (test_program_prefix): This.
3868 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3869 $(run-program-prefix) with $(test-program-prefix).
3870 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3871 (test_program_prefix): This.
3872 * iconvdata/tst-tables.sh: Likewise.
3873 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3874 $(run-program-prefix) with $(test-program-prefix).
3875 ($(objpfx)tst-translit.out): Likewise.
3876 ($(objpfx)tst-gettext2.out): Likewise.
3877 ($(objpfx)tst-gettext4.out): Likewise.
3878 ($(objpfx)tst-gettext6.out): Likewise.
3879 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3880 (test_program_prefix): This.
3881 * intl/tst-gettext2.sh: Likewise.
3882 * intl/tst-gettext4.sh Likewise.
3883 * intl/tst-gettext6.sh: Likewise.
3884 * intl/tst-translit.sh: Likewise.
3885 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3886 with $(test-program-cmd).
3887 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3888 $(run-program-prefix) with $(test-program-prefix).
3889 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3890 (test_program_prefix): This.
3891 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3892 $(run-program-prefix) with $(test-program-prefix).
3893 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3894 (test_program_prefix): This.
3895 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3896 * posix/Makefile ($(objpfx)globtest.out): Replace
3897 $(run-via-rtld-prefix) and $(test-wrapper) with
3898 $(test-program-prefix) and $(test-via-rtld-prefix).
3899 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3900 $(test-program-prefix).
3901 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3902 $(host-test-program-cmd).
3903 (tst-spawn-ARGS): Likewise.
3904 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3905 $(test-program-prefix).
3906 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3907 (test_via_rtld_prefix): This.
3908 (test_wrapper): Renamed to ...
3909 (test_program_prefix): This.
3910 (run_program_prefix): Replaced by test_program_prefix.
3911 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3912 (test_program_prefix): This.
3913 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3914 with $(host-test-program-cmd).
3915 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3916 $(run-program-prefix) with $(test-program-prefix).
3917 ($(objpfx)tst-printf.out): Likewise.
3918 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3919 $(test-program-cmd).
3920 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3921 (test_program_prefix): This.
3922 * stdio-common/tst-unbputc.sh: Likewise.
3923 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3924 $(run-program-prefix) with $(test-program-prefix).
3925 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3926 (test_program_prefix): This.
3927 * string/Makefile ($(objpfx)tst-svc.out): Replace
3928 $(built-program-cmd) with $(test-program-cmd).
3930 2013-01-11 Andreas Jaeger <aj@suse.de>
3933 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3934 value. Sync with Linux 3.7.
3936 2013-01-10 David S. Miller <davem@davemloft.net>
3938 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3939 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3940 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3942 2013-01-10 Roland McGrath <roland@hack.frob.com>
3944 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3946 * configure: Regenerated.
3948 2013-01-10 David S. Miller <davem@davemloft.net>
3950 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3951 sparc V9 rather than using V8 code.
3952 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3953 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3955 2013-01-10 Roland McGrath <roland@hack.frob.com>
3957 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3958 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3959 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3960 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3961 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3962 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3963 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3964 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3965 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3966 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3967 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3968 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3969 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3970 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3971 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3972 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3973 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3974 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3975 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3976 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3977 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3978 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3979 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3980 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3981 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3982 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3983 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3985 2013-01-10 David S. Miller <davem@davemloft.net>
3987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3989 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3991 * posix/Makefile (tests-static): New variable.
3992 (tests): Add $(tests-static).
3993 (tst-exec-static-ARGS): New variable.
3994 (tst-spawn-static-ARGS): Likewise.
3995 * posix/tst-exec-static.c: New file.
3996 * posix/tst-spawn-static.c: Likewise.
3997 * posix/tst-exec.c: Support run directly.
3998 * posix/tst-spawn.c: Likewise.
4000 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4002 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4004 * math/bits/mathcalls.h (llrint): Likewise.
4005 (llround): Likewise.
4006 * stdlib/stdlib.h (struct drand48_data): Likewise.
4007 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4008 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4009 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4011 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4013 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4014 (elf_greg_t): Likewise.
4015 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4016 (__jmp_buf): Likewise.
4017 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4019 (llrint): Likewise, for all definitions.
4020 (llrintl): Likewise.
4022 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4023 Remove [__GNUC__] condition.
4024 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4025 condition to just [__USE_ISOC99].
4026 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4028 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4031 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4032 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4034 (_POSIX_V6_ILP32_OFF32): Likewise.
4035 (_XBS5_ILP32_OFF32): Likewise.
4036 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4037 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4039 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4041 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4044 doubles __mpexp_twomm1. Adjust usage.
4045 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4048 2013-01-10 Andreas Schwab <schwab@suse.de>
4051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4052 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4054 2013-01-09 David S. Miller <davem@davemloft.net>
4057 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4058 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4059 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4060 TCP_FASTOPEN): Define.
4061 (tcp_repair_opt): New structure.
4062 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4064 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4065 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4066 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4067 (tcp_cookie_transactions): New structure.
4069 2013-01-09 Anton Blanchard <anton@samba.org>
4071 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4072 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4074 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4076 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4078 * include/features.h (__USE_ANSI): Remove.
4080 2013-01-09 Roland McGrath <roland@hack.frob.com>
4082 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4084 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4086 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4088 * sysdeps/s390/fpu/libm-test-ulps: Update.
4090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4092 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4097 (__mp_dbl): Likewise.
4098 (__dbl_mp): Likewise.
4099 (add_magnitudes): Likewise.
4100 (sub_magnitudes): Likewise.
4106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4111 (__mp_dbl): Likewise.
4112 (__dbl_mp): Likewise.
4113 (add_magnitudes): Likewise.
4114 (sub_magnitudes): Likewise.
4120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4125 (__mp_dbl): Likewise.
4126 (__dbl_mp): Likewise.
4127 (add_magnitudes): Likewise.
4128 (sub_magnitudes): Likewise.
4135 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4137 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4138 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4139 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4140 2 && __USE_EXTERN_INLINES]: Likewise.
4142 2013-01-08 Andreas Jaeger <aj@suse.de>
4145 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4147 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4148 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4150 2013-01-07 Anton Blanchard <anton@samba.org>
4152 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4153 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4154 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4155 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4156 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4157 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4158 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4159 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4161 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4162 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4164 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4166 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4167 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4168 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4169 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4170 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4171 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4172 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4173 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4175 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4176 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4177 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4178 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4179 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4181 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4182 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4184 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4185 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4188 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4189 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4190 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4192 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4194 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4196 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4198 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4199 (__MALLOC_PMT): Likewise.
4200 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4201 [__GNUC__], only on [_LIBC].
4202 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4203 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4204 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4205 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4206 forward declaration.
4207 (realloc_hook_ini): Likewise.
4208 (memalign_hook_ini): Likewise.
4209 (__libc_memalign): Do not use __MALLOC_PMT in variable
4211 (__libc_valloc): Likewise.
4212 (__libc_pvalloc): Likewise.
4213 (__libc_calloc): Likewise.
4214 (__posix_memalign): Likewise.
4217 * math/s_casinh.c: Include <float.h>.
4218 (__casinh): Do not do computation with squaring and square root
4219 for large arguments.
4220 * math/s_casinhf.c: Include <float.h>.
4221 (__casinhf): Do not do computation with squaring and square root
4222 for large arguments.
4223 * math/s_casinhl.c: Include <float.h>.
4224 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4225 (__casinhl): Do not do computation with squaring and square root
4226 for large arguments.
4227 * math/libm-test.inc (casin_test): Add more tests.
4228 (casinh_test): Likewise.
4229 * sysdeps/i386/fpu/libm-test-ulps: Update.
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4232 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4234 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4235 (__x86_64_raw_data_cache_size): Likewise.
4236 (__x86_64_data_cache_size_half): Likewise.
4237 (__x86_64_raw_data_cache_size_half): Likewise.
4238 (__x86_64_shared_cache_size): Likewise.
4239 (__x86_64_raw_shared_cache_size): Likewise.
4240 (__x86_64_shared_cache_size_half): Likewise.
4241 (__x86_64_raw_shared_cache_size_half): Likewise.
4242 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4244 (__x86_data_cache_size): This.
4245 (__x86_64_raw_data_cache_size): Renamed to ...
4246 (__x86_raw_data_cache_size): This.
4247 (__x86_64_data_cache_size_half): Renamed to ...
4248 (__x86_data_cache_size_half): This.
4249 (__x86_64_raw_data_cache_size_half): Renamed to ...
4250 (__x86_raw_data_cache_size_half): This.
4251 (__x86_64_shared_cache_size): Renamed to ...
4252 (__x86_shared_cache_size): This.
4253 (__x86_64_raw_shared_cache_size): Renamed to ...
4254 (__x86_raw_shared_cache_size): This.
4255 (__x86_64_shared_cache_size_half): Renamed to ...
4256 (__x86_shared_cache_size_half): This.
4257 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4258 (__x86_raw_shared_cache_size_half): This.
4259 * sysdeps/x86_64/memcpy.S: Updated.
4260 * sysdeps/x86_64/memset.S: Likewise.
4261 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4265 2013-01-04 David S. Miller <davem@davemloft.net>
4267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4269 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4271 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4272 1 to avoid redefinition warning.
4273 (__USE_GNU): Don't define.
4274 (init_signaling_nan): Protoize.
4276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4278 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4280 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4282 (__cpymn): Likewise.
4283 (norm): Remove commented code.
4285 (__mp_dbl): Likewise.
4287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4288 (__cpymn): Likewise.
4289 (norm): Remove commented code.
4291 (__mp_dbl): Likewise.
4294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4295 mp_no value for 1.0 and 2.0.
4296 (norm): Use RADIXI instead of radixi.d.
4298 (__mul): Use 0.0 instead of zero.d.
4299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4300 mp_no value for 1.0 and 2.0.
4301 (norm): Use RADIXI instead of radixi.d.
4303 (__mul): Use 0.0 instead of zero.d.
4305 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4308 * math/s_casinh.c (__casinh): Reduce finite argument to first
4309 quadrant then set signs of results at the end.
4310 * math/s_casinhf.c (__casinhf): Likewise.
4311 * math/s_casinhl.c (__casinhl): Likewise.
4312 * math/libm-test.inc (casin_test): Add more tests.
4313 (casinh_test): Likewise.
4314 * sysdeps/i386/fpu/libm-test-ulps: Update.
4315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4317 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4319 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4321 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4323 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4326 (__mp_dbl): Likewise.
4329 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4330 and adjust the header comment.
4332 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4333 variable name from declaration.
4335 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4338 Initialize COMMON_CPUID_INDEX_7 element.
4339 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4340 (CPUID_RTM): Likewise.
4341 (HAS_RTM): Likewise.
4342 (COMMON_CPUID_INDEX_7): New enum.
4344 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4347 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4348 size is zero, record memory as freed.
4350 2013-01-03 Andreas Jaeger <aj@suse.de>
4352 * po/ia.po: Add new Interlingua translation.
4354 2012-01-03 Allan McRae <allan@archlinux.org>
4356 * locale/programs/localedef.c: Fix description of '--posix' flag.
4358 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4360 * NEWS: Update dates in second copyright notice.
4361 * README: Update copyright dates in example.
4362 * manual/libc.texinfo: Update copyright dates.
4363 * scripts/test-installation.pl: Update copyright date in --version
4366 * hurd/ctty-input.c: Fix copyright notice formatting.
4367 * hurd/ctty-output.c: Likewise.
4368 * hurd/dtable.c: Likewise.
4369 * hurd/hurd-raise.c: Likewise.
4370 * hurd/hurdprio.c: Likewise.
4371 * hurd/msgportdemux.c: Likewise.
4372 * misc/sys/file.h: Likewise.
4373 * misc/sys/ioctl.h: Likewise.
4374 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4375 * sysdeps/mach/hurd/chdir.c: Likewise.
4376 * sysdeps/mach/hurd/fchdir.c: Likewise.
4377 * sysdeps/mach/hurd/rename.c: Likewise.
4378 * sysdeps/mach/hurd/rmdir.c: Likewise.
4379 * sysdeps/mach/hurd/seekdir.c: Likewise.
4380 * sysdeps/mach/hurd/setsid.c: Likewise.
4381 * sysdeps/posix/wait3.c: Likewise.
4383 * All files with FSF copyright notices: Update copyright dates
4384 using scripts/update-copyrights.
4385 * intl/plural.c: Regenerated.
4386 * locale/programs/charmap-kw.h: Likewise.
4387 * locale/programs/locfile-kw.h: Likewise.
4389 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4391 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4394 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4395 calculation loop and add branch prediction.
4397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4398 check access beyond bounds of m1np.
4400 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4402 (__inv): Remove local variable MPTWO to use the global
4404 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4405 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4407 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4408 MP3HALFS static const.
4410 2013-01-01 David S. Miller <davem@davemloft.net>
4412 * po/ca.po: Update from translation team.
4414 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4416 * scripts/update-copyrights: New file.
4417 * Makeconfig: Reformat copyright notice.
4418 * ctype/ctype.h: Likewise.
4419 * debug/swprintf_chk.c: Likewise.
4420 * elf/dl-cache.c: Likewise.
4421 * elf/dl-debug.c: Likewise.
4422 * elf/dl-object.c: Likewise.
4423 * grp/initgroups.c: Likewise.
4424 * hurd/Makefile: Likewise.
4425 * hurd/hurd/signal.h: Likewise.
4426 * hurd/hurdfault.c: Likewise.
4427 * hurd/hurdioctl.c: Likewise.
4428 * hurd/hurdlookup.c: Likewise.
4429 * hurd/intr-msg.c: Likewise.
4430 * iconv/gconv_open.c: Likewise.
4431 * libio/swprintf.c: Likewise.
4432 * locale/lc-ctype.c: Likewise.
4433 * locale/nl_langinfo.c: Likewise.
4434 * mach/Machrules: Likewise.
4435 * mach/Makefile: Likewise.
4436 * malloc/obstack.h: Likewise.
4437 * manual/Makefile: Likewise.
4438 * manual/tsort.awk: Likewise.
4439 * misc/bits/stab.def: Likewise.
4440 * nis/nis_print_group_entry.c: Likewise.
4441 * nis/nis_table.c: Likewise.
4442 * nis/nss_compat/compat-pwd.c: Likewise.
4443 * nis/nss_compat/compat-spwd.c: Likewise.
4444 * po/Makefile: Likewise.
4445 * posix/fnmatch.c: Likewise.
4446 * posix/regex.h: Likewise.
4447 * resolv/Makefile: Likewise.
4448 * resolv/nss_dns/dns-network.c: Likewise.
4449 * resolv/res_hconf.c: Likewise.
4450 * scripts/gen-sorted.awk: Likewise.
4451 * soft-fp/soft-fp.h: Likewise.
4452 * stdio-common/printf.h: Likewise.
4453 * stdlib/monetary.h: Likewise.
4454 * stdlib/random.c: Likewise.
4455 * stdlib/random_r.c: Likewise.
4456 * sysdeps/generic/Makefile: Likewise.
4457 * sysdeps/gnu/Makefile: Likewise.
4458 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4462 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4465 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4468 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4469 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4470 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4481 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4486 * sysdeps/mach/hurd/errnos.awk: Likewise.
4487 * sysdeps/mach/hurd/fork.c: Likewise.
4488 * sysdeps/mach/hurd/getcwd.c: Likewise.
4489 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4490 * sysdeps/mach/hurd/mmap.c: Likewise.
4491 * sysdeps/mach/hurd/utimes.c: Likewise.
4492 * sysdeps/mach/hurd/xmknod.c: Likewise.
4493 * sysdeps/posix/profil.c: Likewise.
4494 * sysdeps/posix/readdir_r.c: Likewise.
4495 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4496 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4497 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4498 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4500 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4501 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4502 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4504 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4506 * sysdeps/pthread/lio_listio.c: Likewise.
4507 * sysdeps/sparc/dl-procinfo.h: Likewise.
4508 * sysdeps/unix/i386/sysdep.S: Likewise.
4509 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4510 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4511 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4512 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4514 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4515 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4516 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4517 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4518 * sysdeps/wordsize-32/divdi3.c: Likewise.
4519 * time/sys/time.h: Likewise.
4520 * wcsmbs/Makefile: Likewise.
4522 2013-01-01 David S. Miller <davem@davemloft.net>
4524 * po/fr.po: Update from translation team.
4526 * catgets/gencat.c: Update copyright year.
4527 * csu/version.c: Likewise.
4528 * debug/catchsegv.sh: Likewise.
4529 * debug/pcprofiledump.c: Likewise.
4530 * debug/xtrace.sh: Likewise.
4531 * elf/ldconfig.c: Likewise.
4532 * elf/ldd.bash.in: Likewise.
4533 * elf/pldd.c: Likewise.
4534 * elf/sotruss.ksh: Likewise.
4535 * elf/sprof.c: Likewise.
4536 * iconv/iconv_prog.c: Likewise.
4537 * iconv/iconvconfig.c: Likewise.
4538 * locale/programs/locale.c: Likewise.
4539 * locale/programs/localedef.c: Likewise.
4540 * login/programs/pt_chown.c: Likewise.
4541 * malloc/memusage.sh: Likewise.
4542 * malloc/memusagestat.c: Likewise.
4543 * malloc/mtrace.pl: Likewise.
4544 * nscd/nscd.c: Likewise.
4545 * nss/getent.c: Likewise.
4546 * nss/makedb.c: Likewise.
4547 * posix/getconf.c: Likewise.
4549 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4551 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4554 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4556 * math/bits/mathcalls.h (modf): Use __nonnull.
4558 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4560 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4561 (split): Use macro CN instead of the bare value.
4562 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4565 instead of the bare value.
4568 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4570 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4572 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4574 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4576 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4577 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4578 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4579 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4581 2012-12-28 Andreas Jaeger <aj@suse.de>
4583 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4584 values are from Linux 3.7.
4586 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4587 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4589 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4591 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4594 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4596 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4597 variables with preprocessor constants.
4598 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4599 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4600 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4602 2012-12-27 Bruno Haible <bruno@clisp.org>
4605 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4608 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4611 and use variable directly.
4612 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4614 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4616 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4617 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4619 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4621 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4622 include directive. Remove local variable MPONE.
4623 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4624 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4625 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4627 2012-12-25 David S. Miller <davem@davemloft.net>
4629 * version.h (RELEASE): Set to "development".
4630 (VERSION): Set to "2.17.90".
4631 * NEWS: Add 2.18 section.
4633 2012-12-21 David S. Miller <davem@davemloft.net>
4635 * po/hr.po: Update from translation team.
4637 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4639 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4641 2012-12-19 Steve Ellcey <sellcey@mips.com>
4643 * NEWS: Mention new memcpy for MIPS.
4645 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4647 * manual/contrib.texi (Contributors): Spelling correction.
4649 2012-12-15 David S. Miller <davem@davemloft.net>
4651 * po/ru.po: Update from translation team.
4653 2012-12-13 David S. Miller <davem@davemloft.net>
4655 * NEWS: Mention IFUNC testsuite enhancements.
4657 * po/pl.po: Update from translation team.
4658 * po/bg.po: Likewise.
4660 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4661 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4663 2012-12-11 David S. Miller <davem@davemloft.net>
4665 * po/sv.po: Update from translation team.
4667 * po/vi.po: Update from translation team.
4669 * po/cs.po: Update from translation team.
4671 * po/de.po: Update from translation team.
4672 * po/eo.po: Likewise.
4673 * po/nl.po: Likewise.
4675 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4678 * manual/argp.texi (Argp Helper Functions): Move node to follow
4682 * manual/conf.texi (Limits on File System Capacity): Mention if
4683 terminating null is included in the max size.
4685 2012-12-10 Andreas Jaeger <aj@suse.de>
4687 * po/cs.po: Update from translation team.
4689 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4691 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4692 void pointer and cast to uintptr_t.
4693 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4695 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4696 * sysdeps/s390/s390-64/memset.S: Likewise.
4698 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4701 * menual/message.texi (Message Translation): Fix typos.
4702 (Helper programs for gettext): Likewise.
4704 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4707 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4710 2012-12-07 David S. Miller <davem@davemloft.net>
4712 * po/libc.pot: Update.
4714 2012-12-07 Richard Henderson <rth@redhat.com>
4717 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4718 normal/normal case to before the switch.
4719 (_FP_DIV): Likewise.
4721 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4722 Mike Frysinger <vapier@gentoo.org>
4724 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4725 check for __NR_fadvise64_64.
4727 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4729 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4730 0, not just to plain "0" as a statement.
4731 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4734 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4736 * NEWS: Use sourceware.org in Bugzilla URL.
4738 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4741 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4743 * stdio-common/tst-put-error.c (do_test): Add newline to the
4744 padded test to ensure flush.
4746 2012-12-05 Jeff Law <law@redhat.com>
4748 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4750 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4752 * README: Don't refer to ports add-on as distributed separately.
4753 Mention AArch64 in list of systems supported in the ports add-on.
4755 * LICENSES: Add more non-FSF copyright and license notices.
4757 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4760 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4762 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4763 10000 as width of padded output.
4765 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4767 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4770 variable LX with __attribute__ ((unused)).
4771 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4773 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4776 with __attribute__ ((unused)).
4778 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4780 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4782 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4784 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4785 (CFLAGS-nldbl-acos.c): New variable.
4786 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4787 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4788 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4789 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4790 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4791 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4792 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4793 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4794 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4795 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4796 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4797 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4798 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4799 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4800 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4801 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4802 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4803 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4804 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4805 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4806 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4807 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4808 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4809 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4810 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4811 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4812 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4813 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4814 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4815 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4816 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4817 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4818 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4819 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4820 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4821 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4822 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4823 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4824 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4825 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4826 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4827 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4828 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4829 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4830 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4831 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4832 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4833 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4834 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4835 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4836 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4837 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4838 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4839 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4840 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4841 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4842 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4843 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4844 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4845 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4846 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4847 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4848 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4849 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4850 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4851 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4852 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4853 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4854 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4855 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4856 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4857 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4858 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4859 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4860 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4861 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4862 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4863 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4864 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4865 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4866 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4867 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4868 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4869 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4870 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4871 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4872 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4873 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4874 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4875 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4876 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4877 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4878 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4879 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4880 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4881 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4882 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4885 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4889 whole low double instead of just low 47 bits when splitting values
4892 2012-12-03 Allan McRae <allan@archlinux.org>
4894 * manual/stdio.texi (Predefined Printf Handlers): Remove
4895 @hsep and @vsep usage.
4897 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4899 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4900 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4902 2012-12-03 Jeff Law <law@redhat.com>
4904 * time/sys/time.h (settimeofday): Do not mark TV argument
4907 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4909 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4910 when currently writing and seek to current position when not.
4911 * libio/Makefile (tests): Remove bug-fclose1.
4912 * libio/bug-fclose1.c: Delete.
4914 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4916 * manual/arith.texi (feenableexcept): Fix typo.
4917 (fedisableexcept): Likewise.
4919 2012-11-30 Roland McGrath <roland@hack.frob.com>
4921 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4922 second, differently-typed declaration, rather than a cast.
4924 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4926 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4927 * include/rpc/svc.h: ... here.
4929 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4932 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4933 depending n and resplen2 to catch cases where answer
4936 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4938 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4939 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4941 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4945 2012-11-29 Roland McGrath <roland@hack.frob.com>
4947 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4949 2012-11-28 Jeff Law <law@redhat.com>
4952 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4953 dataset_temporary. Track alloca usage into alloca_used.
4954 If dataset is large allocate and release it via malloc/free.
4956 2012-06-04 Florian Weimer <fweimer@redhat.com>
4959 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4961 2012-11-28 David S. Miller <davem@davemloft.net>
4963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4965 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4968 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4969 of pi/2 rounded to nearest to 64 bits.
4970 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4972 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4975 2012-11-28 Jeff Law <law@redhat.com>
4976 Martin Osvald <mosvald@redhat.com>
4979 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4980 * sunrpc/svc.c: Include time.h.
4981 (__svc_accept_failed): New function.
4982 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4983 any reason other than EINTR, call __svc_accept_failed.
4984 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4985 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4987 2012-11-28 Andreas Schwab <schwab@suse.de>
4989 * scripts/abilist.awk: Also handle indirect functions in .opd
4992 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4995 * sysdeps/x86/fpu/powl_helper.c: New file.
4996 * sysdeps/x86/fpu/Makefile: Likewise.
4997 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4999 (__ieee754_powl): Use __powl_helper for finite arguments except
5000 integer exponents below 8.
5001 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5003 (__ieee754_powl): Use __powl_helper for finite arguments except
5004 integer exponents below 8.
5005 * math/libm-test.inc (pow_test): Add more tests and enable some
5006 previously disabled tests.
5007 * sysdeps/i386/fpu/libm-test-ulps: Update.
5008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5010 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5011 Carlos O'Donell <carlos_odonell@mentor.com>
5013 * nss/makedb.c (is_prime): Assert that input is odd and greater
5014 than 4. Note that fact in a comment too.
5015 (next_prime): Add 4 to input.
5017 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5020 * libio/Makefile (tests): Add test case tst-fwrite-error.
5021 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5022 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5023 * libio/tst-fwrite-error.c: New test case.
5025 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5027 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5028 before casting to void *.
5029 * include/libc-internal.h (__pointer_type): New macro.
5030 (__integer_if_pointer_type_sub): Likewise.
5031 (__integer_if_pointer_type): Likewise.
5032 (cast_to_integer): Likewise.
5033 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5034 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5035 before casting to atomic64_t.
5036 (atomic_exchange_acq): Likewise.
5037 (__arch_exchange_and_add_body): Likewise.
5038 (__arch_add_body): Likewise.
5039 (atomic_add_negative): Likewise.
5040 (atomic_add_zero): Likewise.
5042 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5045 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5046 (add_fdes): Likewise.
5047 (linear_search_fdes): Likewise.
5048 (binary_search_unencoded_fdes): Likewise.
5050 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5052 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5054 2012-11-24 Adam Conrad <adconrad@0c3.net>
5056 * configure.in: Autodetect C++ header directories.
5057 * configure: Regenerated.
5059 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5061 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5063 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5067 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5069 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5070 LDBL_MANT_DIG == 106]: Disable some tests.
5071 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5073 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5077 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5078 input for small inputs. Return +/- pi/2 for large inputs.
5079 * math/libm-test.inc (atan_test): Add more tests.
5081 * sysdeps/generic/unwind-dw2-fde-glibc.c
5082 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5083 __attribute__ ((unused)).
5086 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5087 x * y if x and y are nonzero and z is zero.
5090 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5091 nonzero exponents with absolute value below 0x1p-117 to +/-
5095 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5096 up arguments below 2**-450, not just those below 2**-500.
5097 * math/libm-test.inc (hypot_test): Add another test.
5100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5101 Return a+b for ratio over 2**120, not 2**60.
5102 * math/libm-test.inc (hypot_test): Add another test.
5104 * math/libm-test.inc (clog_test): Use
5105 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5106 (clog10_test): Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5111 2012-11-22 Andreas Schwab <schwab@suse.de>
5113 * sysdeps/i386/fpu/libm-test-ulps: Update.
5115 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5117 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5118 printf output with newline.
5120 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5123 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5124 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5125 -z nodlopen, -z initfirst and -z execstack support.
5126 * configure: Regenerated.
5128 * elf/elf.h (DF_1_NODIRECT): New macro.
5129 (DF_1_IGNMULDEF): Likewise.
5130 (DF_1_NOKSYMS): Likewise.
5131 (DF_1_NOHDR): Likewise.
5132 (DF_1_EDITED): Likewise.
5133 (DF_1_NORELOC): Likewise.
5134 (DF_1_SYMINTPOSE): Likewise.
5135 (DF_1_GLOBAUDIT): Likewise.
5136 (DF_1_SINGLETON): Likewise.
5137 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5138 DT_1_SUPPORTED_MASK bits.
5139 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5141 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5143 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5145 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5147 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5150 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5151 (sendmmsg): Move declarations...
5152 * socket/sys/socket.h: ... here.
5153 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5154 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5156 * socket/recvmmsg.c: ... this new file.
5157 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5158 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5159 definition of __sendmmsg hidden.
5160 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5161 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5162 Move ENOSYS stub into and include it from...
5163 * socket/sendmmsg.c: ... this new file.
5164 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5165 (sysdep_routines): Move recvmmsg and sendmmsg...
5166 * socket/Makefile (routines): ... here.
5167 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5168 (GLIBC_PRIVATE): Add __sendmmsg.
5169 * include/sys/socket.h (__sendmmsg): Add declarations.
5170 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5173 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5176 variable I1 with __attribute__ ((unused)).
5177 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5179 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5181 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5182 DUMMY variables with __attribute__ ((unused)).
5184 * bits/byteswap.h: Include <bits/types.h>.
5185 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5187 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5189 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5190 string_t. Do not manually set errno.
5191 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5192 length with __strnlen. Make sure to both set errno and return it on
5195 2012-11-19 David S. Miller <davem@davemloft.net>
5197 With help from Joseph Myers.
5198 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5199 very large arguments properly.
5200 * math/libm-test.inc (atan_test): New tests.
5201 (atan2_test): New tests.
5202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5205 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5208 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5211 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5212 [POSIX] (EADDRNOTAVAIL): Likewise.
5213 [POSIX] (EAFNOSUPPORT): Likewise.
5214 [POSIX] (EALREADY): Likewise.
5215 [POSIX] (ECONNABORTED): Likewise.
5216 [POSIX] (ECONNREFUSED): Likewise.
5217 [POSIX] (ECONNRESET): Likewise.
5218 [POSIX] (EDESTADDRREQ): Likewise.
5219 [POSIX] (EDQUOT): Likewise.
5220 [POSIX] (EHOSTUNREACH): Likewise.
5221 [POSIX] (EIDRM): Likewise.
5222 [POSIX] (EISCONN): Likewise.
5223 [POSIX] (ELOOP): Likewise.
5224 [POSIX] (EMULTIHOP): Likewise.
5225 [POSIX] (ENETDOWN): Likewise.
5226 [POSIX] (ENETUNREACH): Likewise.
5227 [POSIX] (ENOBUFS): Likewise.
5228 [POSIX] (ENODATA): Likewise.
5229 [POSIX] (ENOLINK): Likewise.
5230 [POSIX] (ENOMSG): Likewise.
5231 [POSIX] (ENOPROTOOPT): Likewise.
5232 [POSIX] (ENOSR): Likewise.
5233 [POSIX] (ENOSTR): Likewise.
5234 [POSIX] (ENOTCONN): Likewise.
5235 [POSIX] (ENOTSOCK): Likewise.
5236 [POSIX] (EOPNOTSUPP): Likewise.
5237 [POSIX] (EOVERFLOW): Likewise.
5238 [POSIX] (EPROTO): Likewise.
5239 [POSIX] (EPROTONOSUPPORT): Likewise.
5240 [POSIX] (EPROTOTYPE): Likewise.
5241 [POSIX] (ESTALE): Likewise.
5242 [POSIX] (ETIME): Likewise.
5243 [POSIX] (ETXTBSY): Likewise.
5244 [POSIX] (EWOULDBLOCK): Likewise.
5245 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5246 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5247 [POSIX] (SEEK_CUR): Likewise.
5248 [POSIX] (SEEK_END): Likewise.
5249 [POSIX || UNIX98] (mode_t): Do not require.
5250 [POSIX] (off_t): Likewise.
5251 [POSIX] (pid_t): Likewise.
5252 [POSIX] (sys/stat.h): Do not allow header.
5253 [POSIX] (unistd.h): Likewise.
5254 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5255 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5256 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5257 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5259 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5260 sigevent): Specify elements.
5261 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5263 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5264 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5266 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5267 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5268 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5269 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5270 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5271 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5272 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5273 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5274 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5275 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5276 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5277 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5278 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5279 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5281 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5283 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5285 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5287 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5288 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5289 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5290 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5291 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5292 Specify lower bound on value.
5293 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5294 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5295 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5296 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5297 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5298 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5299 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5300 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5302 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5304 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5305 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5306 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5307 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5308 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5309 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5310 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5311 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5312 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5313 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5314 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5315 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5316 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5317 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5318 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5319 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5321 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5323 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5324 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5325 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5326 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5327 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5328 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5330 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5331 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5332 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5333 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5334 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5335 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5336 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5338 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5339 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5340 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5341 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5342 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5343 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5344 specify as optional.
5345 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5346 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5347 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5348 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5349 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5350 [XPG3] (NL_LANGMAX): Likewise.
5351 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5352 [POSIX || XPG3] (NL_NMAX): Likewise.
5353 [POSIX || XPG3] (NL_SETMAX): Likewise.
5354 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5355 [XPG3] (NZERO): Likewise.
5356 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5357 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5358 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5359 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5360 (REG_ERANGE): Expect.
5361 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5363 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5364 Use (void) in prototype.
5365 [POSIX] (*_t): Allow.
5366 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5367 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5368 (WRDE_BADVAL): Expect.
5370 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5372 [XPG3 || XPG4] (O_RSYNC): Likewise.
5373 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5375 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5376 [XPG3 || XPG4] (sigqueue): Likewise.
5377 [XPG3 || XPG4] (sigtimedwait): Likewise.
5378 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5379 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5380 [XPG3 || XPG4] (vsnprintf): Likewise.
5381 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5383 [XPG3 || XPG4] (blksize_t): Likewise.
5384 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5386 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5387 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5388 [XPG3 || XPG4] (struct itimerspec): Likewise.
5389 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5390 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5391 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5392 [XPG3 || XPG4] (clockid_t): Likewise.
5393 [XPG3 || XPG4] (timer_t): Likewise.
5394 [XPG3 || XPG4] (clock_getres): Likewise.
5395 [XPG3 || XPG4] (clock_gettime): Likewise.
5396 [XPG3 || XPG4] (clock_settime): Likewise.
5397 [XPG3 || XPG4] (nanosleep): Likewise.
5398 [XPG3 || XPG4] (timer_create): Likewise.
5399 [XPG3 || XPG4] (timer_delete): Likewise.
5400 [XPG3 || XPG4] (timer_gettime): Likewise.
5401 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5402 [XPG3 || XPG4] (timer_settime): Likewise.
5403 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5404 [XPG3 || XPG4] (getlogin_r): Likewise.
5405 [XPG3 || XPG4] (pread): Likewise.
5406 [XPG3 || XPG4] (pthread_atfork): Likewise.
5407 [XPG3 || XPG4] (pwrite): Likewise.
5410 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5413 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5415 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5416 finalizing MALLSTREAM.
5418 * sysdeps/mach/hurd/syncfs.c: New file.
5420 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5423 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5424 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5425 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5426 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5427 (_nss_dns_gethostbyname4_r): Likewise.
5428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5429 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5431 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5434 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5436 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5438 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5439 * elf/cache.c (print_entry): Print ",AArch64" for
5442 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5443 * elf/cache.c (print_entry): Print ",hard-float" for
5446 2012-11-18 David S. Miller <davem@davemloft.net>
5448 With help from Joseph Myers.
5449 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5451 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5453 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5454 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5456 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5457 * math/libm-test.inc (y0_test): New tests.
5458 (y1_test): New tests.
5459 * sysdeps/i386/fpu/libm-test-ulps: Update.
5460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5463 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5465 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5467 * configure: Regenerated.
5469 2012-11-17 David S. Miller <davem@davemloft.net>
5472 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5473 nonzero exponents with absolute value below 0x1p-128 to +/-
5476 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5478 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5480 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5482 * posix/getconf-speclist.c: New file.
5483 * posix/posix-envs.def: Likewise.
5484 * posix/confstr.c (START_ENV_GROUP): New macro.
5485 (END_ENV_GROUP): Likewise.
5486 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5487 (KNOWN_PRESENT_ENV_STRING): Likewise.
5488 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5489 (UNKNOWN_ENVIRONMENT): Likewise.
5490 (confstr): Include posix-envs.def instead of handling
5491 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5492 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5493 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5494 (END_ENV_GROUP): Likewise.
5495 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5496 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5497 (UNKNOWN_ENVIRONMENT): Likewise.
5498 (__sysconf): Include posix-envs.def instead of handling associated
5499 cases directly here.
5500 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5501 preprocessing getconf-speclist.c rather than running getconf or
5502 generating empty file.
5504 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5506 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5508 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5511 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5513 2012-11-16 David S. Miller <davem@davemloft.net>
5515 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5516 smaller than LDBL_EPSILON/2.0L, just return xm1.
5518 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5520 * elf/tst-array1.c (init): Set constructor priority to 1000.
5521 (fini): Set destructor priority to 1000.
5522 * elf/tst-array2dep.c: Likewise.
5524 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5527 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5528 (_IO_new_file_xsputn): Also return EOF if none of the input
5529 data was written when overflow failed.
5530 * libio/iopadn.c (_IO_padn): Likewise.
5531 * libio/iowpadn.c (_IO_wpadn): Likewise.
5532 * stdio-common/tst-put-error.c: Add copyright notice.
5533 (do_test): Add case for printing padded string.
5534 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5535 _IO_padn returned error.
5536 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5537 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5540 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5542 * libio/libioP.h: Add comment note that the references to C++
5543 bits are now obsolete.
5545 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5547 * math/libm-test.inc (check_complex): Use asprintf.
5549 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5551 * debug/pcprofiledump.c (print_version): Update copyright year.
5552 * malloc/memusagestat.c (print_version): Likewise.
5554 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5557 * elf/Makefile (tests): Add tst-audit8.
5558 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5559 ($(objpfx)tst-audit8.out): New target.
5560 (tst-audit8-ENV): New variable.
5561 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5562 audit if l_reloc_result is NULL.
5563 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5564 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5565 * elf/tst-audit8.c: New file.
5567 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5569 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5570 * misc/Makefile (CFLAGS-select.c): Define.
5571 * posix/Makefile (CFLAGS-pause.c): Define.
5573 2012-11-13 David S. Miller <davem@davemloft.net>
5575 * crypt/Makefile: Move test targets after toplevel Rules
5576 inclusion. Grab any necessary sysdep routines when linking.
5577 * crypt/md5.c (md5_process_block): Remove define, we will always
5578 name it __md5_process_block.
5579 (md5_finish_ctx): Update md5_process_block call.
5580 (md5_stream): Likewise.
5581 (md5_process_bytes): Likewise.
5582 (md5_process_block): Rename to __md5_process_block and move to ...
5583 * crypt/md5-block.c: ... here.
5584 * crypt/sha256.c (sha256_process_block): Move to ...
5585 * crypt/sha256-block.c: ... here.
5586 * crypt/sha512.c (sha512_process_block): Move to ...
5587 * crypt/sha512-block.c: ... here.
5588 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5590 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5591 * sysdeps/sparc/sparc64/multiarch/Makefile
5592 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5594 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5595 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5597 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5598 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5599 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5600 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5601 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5602 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5603 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5604 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5605 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5607 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5608 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5610 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5612 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5614 * timezone/tzselect.ksh: Update from tzcode git revision
5615 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5616 * timezone/zdump.c: Likewise.
5617 * timezone/zic.c: Likewise.
5618 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5619 in TZVERSION setting, not $(PKGVERSION).
5620 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5621 REPORT_BUGS_TO settings.
5624 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5627 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5629 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5630 detection to immediately after _FP_ROUND().
5631 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5634 2012-11-11 David S. Miller <davem@davemloft.net>
5636 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5638 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5639 __close rather than their public counterparts.
5641 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5643 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5645 [UNIX98] (sem_timedwait): Do not expect.
5646 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5647 [XPG4 || UNIX98] (sockatmark): Do not expect.
5648 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5649 (clock_getcpuclockid): Do not expect.
5650 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5651 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5653 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5654 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5655 [UNIX98] (vwscanf): Likewise.
5656 [UNIX98] (vswscanf): Likewise.
5658 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5660 * timezone/version.h: Remove file.
5661 * timezone/README: Do not refer to version.h.
5662 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5664 ($(objpfx)zdump.o): Likewise.
5665 ($(objpfx)version.h): New target.
5667 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5669 * timezone/README: Don't mention modification to tzselect.ksh.
5670 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5671 work on unmodified tzselect.ksh. Substitute version numbers in
5674 * Makefile (format-me): Remove.
5675 (INSTALL): Adjust indentation. Use commands directly instead of
5678 * aclocal.m4 (ACX_PKGVERSION): New macro.
5679 (ACX_BUGURL): Likewise.
5680 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5681 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5682 (REPORT_BUGS_TO): Likewise.
5683 * configure: Regenerated.
5684 * config.h.in (PKGVERSION): New macro.
5685 (REPORT_BUGS_TO): Likewise.
5686 * config.make.in (PKGVERSION): New variable.
5687 (PKGVERSION_TEXI): Likewise.
5688 (REPORT_BUGS_TO): Likewise.
5689 (REPORT_BUGS_TEXI): Likewise.
5690 * Makefile (format-me): Use -I$(common-objpfx)manual.
5691 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5692 ($(common-objpfx)manual/%): New target.
5693 (manual/%): Remove target.
5694 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5695 (print_version): Use PKGVERSION.
5696 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5697 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5699 ($(objpfx)xtrace): Likewise.
5700 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5701 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5702 (print_version): Use PKGVERSION.
5703 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5704 (do_version): Use PKGVERSION.
5705 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5707 (common-ldd-rewrite): Likewise.
5708 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5709 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5710 (print_version): Use PKGVERSION.
5711 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5712 * elf/pldd.c (argp_program_bug_address): Remove variable.
5713 (more_help): New function.
5714 (argp): Use more_help.
5715 (print_version): Use PKGVERSION.
5716 * elf/sln.c (main): Use PKGVERSION.
5717 (usage): Use REPORT_BUGS_TO.
5718 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5719 (top level): Use PKGVERSION.
5720 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5721 (print_version): Use PKGVERSION.
5722 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5723 (print_version): Use PKGVERSION.
5724 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5725 (print_version): Use PKGVERSION.
5726 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5727 (print_version): Use PKGVERSION.
5728 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5729 (print_version): Use PKGVERSION.
5730 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5731 (print_version): Use PKGVERSION.
5732 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5734 ($(objpfx)memusage): Likewise.
5735 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5736 (do_version): Use PKGVERSION.
5737 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5738 (print_version): Use PKGVERSION.
5739 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5740 ($PKGVERSION): New variable.
5741 ($REPORT_BUGS_TO): Likewise.
5742 (usage): Use $REPORT_BUGS_TO.
5743 (top level): Use $PKGVERSION.
5744 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5745 ($(objpfx)pkgvers.texi): New rule.
5746 ($(objpfx)stamp-pkgvers): Likewise.
5747 * manual/install.texi: Include pkgvers.texi.
5748 (--with-pkgversion): Document new configure option.
5749 (--with-bugurl): Likewise.
5750 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5751 than necessarily for this particular distribution. Use
5752 REPORT_BUGS_TO for where to report bugs.
5753 * INSTALL: Regenerated.
5754 * manual/libc.texinfo: Include pkgvers.texi.
5755 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5756 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5757 (print_version): Use PKGVERSION.
5758 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5759 (print_version): Use PKGVERSION.
5760 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5761 (print_version): Use PKGVERSION.
5762 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5763 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5765 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5766 (print_version): Use PKGVERSION.
5767 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5768 (print_version): Use PKGVERSION.
5769 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5772 * timezone/checktab.awk: Update from tzcode 2012i.
5773 * timezone/ialloc.c: Likewise.
5774 * timezone/private.h: Likewise.
5775 * timezone/scheck.c: Likewise.
5776 * timezone/tzfile.h: Likewise.
5777 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5778 (TZVERSION): Hardcode tzcode version number.
5779 * timezone/zdump.c: Update from tzcode 2012i.
5780 * timezone/zic.c: Likewise.
5781 * timezone/version.h: New file.
5782 * timezone/README: Describe version.h. Update upstream location.
5785 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5786 (mktemp): Enable declaration.
5787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5788 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5790 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5792 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5794 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5796 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5804 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5805 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5806 for copies of such integer values.
5807 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5808 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5810 2012-11-09 Andreas Jaeger <aj@suse.de>
5812 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5813 definitions and declarations that are provided by
5814 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5816 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5818 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5819 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5820 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5823 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5825 * elf/elf.h: Update comment before AArch64 relocations.
5827 2012-11-07 David S. Miller <davem@davemloft.net>
5829 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5830 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5831 (__start_context): Declare.
5832 (__makecontext_ret): Delete.
5833 (__makecontext): Hook up __start_context instead of
5835 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5836 (sysdep_routines): Add __start_context when in stdlib.
5838 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5840 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5841 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5842 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5844 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5845 (READELF): New variable. Use it instead of hardcoded "readelf".
5847 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5849 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5850 * sysdeps/x86/Makefile: Here.
5851 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5852 * sysdeps/x86/tst-xmmymm.sh: This.
5854 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5856 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5858 [UNIX98] (pthread_barrier_t): Do not expect.
5859 [UNIX98] (pthread_barrierattr_t): Likewise.
5860 [UNIX98] (pthread_spinlock_t): Likewise.
5861 [UNIX98] (pthread_barrier_destroy): Likewise.
5862 [UNIX98] (pthread_barrier_init): Likewise.
5863 [UNIX98] (pthread_barrier_wait): Likewise.
5864 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5865 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5866 [UNIX98] (pthread_barrierattr_init): Likewise.
5867 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5868 [UNIX98] (pthread_getcpuclockid): Likewise.
5869 [UNIX98] (pthread_mutex_timedlock): Likewise.
5870 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5871 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5872 [UNIX98] (pthread_sigmask): Likewise.
5873 [UNIX98] (pthread_spin_destroy): Likewise.
5874 [UNIX98] (pthread_spin_init): Likewise.
5875 [UNIX98] (pthread_spin_lock): Likewise.
5876 [UNIX98] (pthread_spin_trylock): Likewise.
5877 [UNIX98] (pthread_spin_unlock): Likewise.
5878 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5880 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5882 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5883 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5884 [XPG3 || XPG4] (pthread_key_t): Likewise.
5885 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5886 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5887 [XPG3 || XPG4] (pthread_once_t): Likewise.
5888 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5889 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5891 [XPG3 || XPG4] (pthread_t): Likewise.
5893 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5895 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5897 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5898 Change function return type to int.
5900 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5901 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5902 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5903 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5904 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5905 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5906 [!POSIX] (posix_madvise): Likewise.
5907 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5909 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5910 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5912 (posix_mem_offset): Likewise.
5913 (posix_typed_mem_get_info): Likewise.
5914 (posix_typed_mem_open): Likewise.
5916 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5917 Change condition to [XOPEN2K8].
5919 * conform/conformtest.pl: Preprocess allow-header data with -x c
5920 instead of from stdin.
5921 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5922 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5923 [C99-based standards] (cerfc): Likewise.
5924 [C99-based standards] (cexp2): Likewise.
5925 [C99-based standards] (cexpm1): Likewise.
5926 [C99-based standards] (clog10): Likewise.
5927 [C99-based standards] (clog1p): Likewise.
5928 [C99-based standards] (clog2): Likewise.
5929 [C99-based standards] (clgamma): Likewise.
5930 [C99-based standards] (ctgamma): Likewise.
5931 [C99-based standards] (cerff): Likewise.
5932 [C99-based standards] (cerfcf): Likewise.
5933 [C99-based standards] (cexp2f): Likewise.
5934 [C99-based standards] (cexpm1f): Likewise.
5935 [C99-based standards] (clog10f): Likewise.
5936 [C99-based standards] (clog1pf): Likewise.
5937 [C99-based standards] (clog2f): Likewise.
5938 [C99-based standards] (clgammaf): Likewise.
5939 [C99-based standards] (ctgammaf): Likewise.
5940 [C99-based standards] (cerfl): Likewise.
5941 [C99-based standards] (cerfcl): Likewise.
5942 [C99-based standards] (cexp2l): Likewise.
5943 [C99-based standards] (cexpm1l): Likewise.
5944 [C99-based standards] (clog10l): Likewise.
5945 [C99-based standards] (clog1pl): Likewise.
5946 [C99-based standards] (clog2l): Likewise.
5947 [C99-based standards] (clgammal): Likewise.
5948 [C99-based standards] (ctgammal): Likewise.
5949 * conform/data/inttypes.h-data [C99-based standards]: Include
5950 stdint.h-data. Remove all expectations for stdint.h contents.
5951 [C99-based standards] (PRI*): Do not allow.
5952 [C99-based standards] (SCN*): Likewise.
5953 [C99-based standards] (*_t): Likewise.
5954 [C99-based-standards] (PRId8): Expect macro.
5955 [C99-based-standards] (PRIi8): Likewise.
5956 [C99-based-standards] (PRIo8): Likewise.
5957 [C99-based-standards] (PRIu8): Likewise.
5958 [C99-based-standards] (PRIx8): Likewise.
5959 [C99-based-standards] (PRIX8): Likewise.
5960 [C99-based-standards] (SCNd8): Likewise.
5961 [C99-based-standards] (SCNi8): Likewise.
5962 [C99-based-standards] (SCNo8): Likewise.
5963 [C99-based-standards] (SCNu8): Likewise.
5964 [C99-based-standards] (SCNx8): Likewise.
5965 [C99-based-standards] (PRIdLEAST8): Likewise.
5966 [C99-based-standards] (PRIiLEAST8): Likewise.
5967 [C99-based-standards] (PRIoLEAST8): Likewise.
5968 [C99-based-standards] (PRIuLEAST8): Likewise.
5969 [C99-based-standards] (PRIxLEAST8): Likewise.
5970 [C99-based-standards] (PRIXLEAST8): Likewise.
5971 [C99-based-standards] (SCNdLEAST8): Likewise.
5972 [C99-based-standards] (SCNiLEAST8): Likewise.
5973 [C99-based-standards] (SCNoLEAST8): Likewise.
5974 [C99-based-standards] (SCNuLEAST8): Likewise.
5975 [C99-based-standards] (SCNxLEAST8): Likewise.
5976 [C99-based-standards] (PRIdFAST8): Likewise.
5977 [C99-based-standards] (PRIiFAST8): Likewise.
5978 [C99-based-standards] (PRIoFAST8): Likewise.
5979 [C99-based-standards] (PRIuFAST8): Likewise.
5980 [C99-based-standards] (PRIxFAST8): Likewise.
5981 [C99-based-standards] (PRIXFAST8): Likewise.
5982 [C99-based-standards] (SCNdFAST8): Likewise.
5983 [C99-based-standards] (SCNiFAST8): Likewise.
5984 [C99-based-standards] (SCNoFAST8): Likewise.
5985 [C99-based-standards] (SCNuFAST8): Likewise.
5986 [C99-based-standards] (SCNxFAST8): Likewise.
5987 [C99-based-standards] (PRId16): Likewise.
5988 [C99-based-standards] (PRIi16): Likewise.
5989 [C99-based-standards] (PRIo16): Likewise.
5990 [C99-based-standards] (PRIu16): Likewise.
5991 [C99-based-standards] (PRIx16): Likewise.
5992 [C99-based-standards] (PRIX16): Likewise.
5993 [C99-based-standards] (SCNd16): Likewise.
5994 [C99-based-standards] (SCNi16): Likewise.
5995 [C99-based-standards] (SCNo16): Likewise.
5996 [C99-based-standards] (SCNu16): Likewise.
5997 [C99-based-standards] (SCNx16): Likewise.
5998 [C99-based-standards] (PRIdLEAST16): Likewise.
5999 [C99-based-standards] (PRIiLEAST16): Likewise.
6000 [C99-based-standards] (PRIoLEAST16): Likewise.
6001 [C99-based-standards] (PRIuLEAST16): Likewise.
6002 [C99-based-standards] (PRIxLEAST16): Likewise.
6003 [C99-based-standards] (PRIXLEAST16): Likewise.
6004 [C99-based-standards] (SCNdLEAST16): Likewise.
6005 [C99-based-standards] (SCNiLEAST16): Likewise.
6006 [C99-based-standards] (SCNoLEAST16): Likewise.
6007 [C99-based-standards] (SCNuLEAST16): Likewise.
6008 [C99-based-standards] (SCNxLEAST16): Likewise.
6009 [C99-based-standards] (PRIdFAST16): Likewise.
6010 [C99-based-standards] (PRIiFAST16): Likewise.
6011 [C99-based-standards] (PRIoFAST16): Likewise.
6012 [C99-based-standards] (PRIuFAST16): Likewise.
6013 [C99-based-standards] (PRIxFAST16): Likewise.
6014 [C99-based-standards] (PRIXFAST16): Likewise.
6015 [C99-based-standards] (SCNdFAST16): Likewise.
6016 [C99-based-standards] (SCNiFAST16): Likewise.
6017 [C99-based-standards] (SCNoFAST16): Likewise.
6018 [C99-based-standards] (SCNuFAST16): Likewise.
6019 [C99-based-standards] (SCNxFAST16): Likewise.
6020 [C99-based-standards] (PRId32): Likewise.
6021 [C99-based-standards] (PRIi32): Likewise.
6022 [C99-based-standards] (PRIo32): Likewise.
6023 [C99-based-standards] (PRIu32): Likewise.
6024 [C99-based-standards] (PRIx32): Likewise.
6025 [C99-based-standards] (PRIX32): Likewise.
6026 [C99-based-standards] (SCNd32): Likewise.
6027 [C99-based-standards] (SCNi32): Likewise.
6028 [C99-based-standards] (SCNo32): Likewise.
6029 [C99-based-standards] (SCNu32): Likewise.
6030 [C99-based-standards] (SCNx32): Likewise.
6031 [C99-based-standards] (PRIdLEAST32): Likewise.
6032 [C99-based-standards] (PRIiLEAST32): Likewise.
6033 [C99-based-standards] (PRIoLEAST32): Likewise.
6034 [C99-based-standards] (PRIuLEAST32): Likewise.
6035 [C99-based-standards] (PRIxLEAST32): Likewise.
6036 [C99-based-standards] (PRIXLEAST32): Likewise.
6037 [C99-based-standards] (SCNdLEAST32): Likewise.
6038 [C99-based-standards] (SCNiLEAST32): Likewise.
6039 [C99-based-standards] (SCNoLEAST32): Likewise.
6040 [C99-based-standards] (SCNuLEAST32): Likewise.
6041 [C99-based-standards] (SCNxLEAST32): Likewise.
6042 [C99-based-standards] (PRIdFAST32): Likewise.
6043 [C99-based-standards] (PRIiFAST32): Likewise.
6044 [C99-based-standards] (PRIoFAST32): Likewise.
6045 [C99-based-standards] (PRIuFAST32): Likewise.
6046 [C99-based-standards] (PRIxFAST32): Likewise.
6047 [C99-based-standards] (PRIXFAST32): Likewise.
6048 [C99-based-standards] (SCNdFAST32): Likewise.
6049 [C99-based-standards] (SCNiFAST32): Likewise.
6050 [C99-based-standards] (SCNoFAST32): Likewise.
6051 [C99-based-standards] (SCNuFAST32): Likewise.
6052 [C99-based-standards] (SCNxFAST32): Likewise.
6053 [C99-based-standards] (PRId64): Likewise.
6054 [C99-based-standards] (PRIi64): Likewise.
6055 [C99-based-standards] (PRIo64): Likewise.
6056 [C99-based-standards] (PRIu64): Likewise.
6057 [C99-based-standards] (PRIx64): Likewise.
6058 [C99-based-standards] (PRIX64): Likewise.
6059 [C99-based-standards] (SCNd64): Likewise.
6060 [C99-based-standards] (SCNi64): Likewise.
6061 [C99-based-standards] (SCNo64): Likewise.
6062 [C99-based-standards] (SCNu64): Likewise.
6063 [C99-based-standards] (SCNx64): Likewise.
6064 [C99-based-standards] (PRIdLEAST64): Likewise.
6065 [C99-based-standards] (PRIiLEAST64): Likewise.
6066 [C99-based-standards] (PRIoLEAST64): Likewise.
6067 [C99-based-standards] (PRIuLEAST64): Likewise.
6068 [C99-based-standards] (PRIxLEAST64): Likewise.
6069 [C99-based-standards] (PRIXLEAST64): Likewise.
6070 [C99-based-standards] (SCNdLEAST64): Likewise.
6071 [C99-based-standards] (SCNiLEAST64): Likewise.
6072 [C99-based-standards] (SCNoLEAST64): Likewise.
6073 [C99-based-standards] (SCNuLEAST64): Likewise.
6074 [C99-based-standards] (SCNxLEAST64): Likewise.
6075 [C99-based-standards] (PRIdFAST64): Likewise.
6076 [C99-based-standards] (PRIiFAST64): Likewise.
6077 [C99-based-standards] (PRIoFAST64): Likewise.
6078 [C99-based-standards] (PRIuFAST64): Likewise.
6079 [C99-based-standards] (PRIxFAST64): Likewise.
6080 [C99-based-standards] (PRIXFAST64): Likewise.
6081 [C99-based-standards] (SCNdFAST64): Likewise.
6082 [C99-based-standards] (SCNiFAST64): Likewise.
6083 [C99-based-standards] (SCNoFAST64): Likewise.
6084 [C99-based-standards] (SCNuFAST64): Likewise.
6085 [C99-based-standards] (SCNxFAST64): Likewise.
6086 [C99-based-standards] (PRIdMAX): Likewise.
6087 [C99-based-standards] (PRIiMAX): Likewise.
6088 [C99-based-standards] (PRIoMAX): Likewise.
6089 [C99-based-standards] (PRIuMAX): Likewise.
6090 [C99-based-standards] (PRIxMAX): Likewise.
6091 [C99-based-standards] (PRIXMAX): Likewise.
6092 [C99-based-standards] (SCNdMAX): Likewise.
6093 [C99-based-standards] (SCNiMAX): Likewise.
6094 [C99-based-standards] (SCNoMAX): Likewise.
6095 [C99-based-standards] (SCNuMAX): Likewise.
6096 [C99-based-standards] (SCNxMAX): Likewise.
6097 [C99-based-standards] (PRIdPTR): Likewise.
6098 [C99-based-standards] (PRIiPTR): Likewise.
6099 [C99-based-standards] (PRIoPTR): Likewise.
6100 [C99-based-standards] (PRIuPTR): Likewise.
6101 [C99-based-standards] (PRIxPTR): Likewise.
6102 [C99-based-standards] (PRIXPTR): Likewise.
6103 [C99-based-standards] (SCNdPTR): Likewise.
6104 [C99-based-standards] (SCNiPTR): Likewise.
6105 [C99-based-standards] (SCNoPTR): Likewise.
6106 [C99-based-standards] (SCNuPTR): Likewise.
6107 [C99-based-standards] (SCNxPTR): Likewise.
6108 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6110 * conform/data/stdint.h-data: Update comments to clarify
6112 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6114 [C99-based standards] (INT8_MAX): Likewise.
6115 [C99-based standards] (INT16_MIN): Likewise.
6116 [C99-based standards] (INT16_MAX): Likewise.
6117 [C99-based standards] (INT32_MIN): Likewise.
6118 [C99-based standards] (INT32_MAX): Likewise.
6119 [C99-based standards] (INT64_MIN): Likewise.
6120 [C99-based standards] (INT64_MAX): Likewise.
6121 [C99-based standards] (UINT8_MAX): Likewise.
6122 [C99-based standards] (UINT16_MAX): Likewise.
6123 [C99-based standards] (UINT32_MAX): Likewise.
6124 [C99-based standards] (UINT64_MAX): Likewise.
6125 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6126 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6127 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6128 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6129 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6130 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6131 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6132 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6133 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6134 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6135 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6136 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6137 [C99-based standards] (INT_FAST8_MIN): Likewise.
6138 [C99-based standards] (INT_FAST8_MAX): Likewise.
6139 [C99-based standards] (INT_FAST16_MIN): Likewise.
6140 [C99-based standards] (INT_FAST16_MAX): Likewise.
6141 [C99-based standards] (INT_FAST32_MIN): Likewise.
6142 [C99-based standards] (INT_FAST32_MAX): Likewise.
6143 [C99-based standards] (INT_FAST64_MIN): Likewise.
6144 [C99-based standards] (INT_FAST64_MAX): Likewise.
6145 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6146 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6147 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6148 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6149 [C99-based standards] (INTPTR_MIN): Likewise.
6150 [C99-based standards] (INTPTR_MAX): Likewise.
6151 [C99-based standards] (UINTPTR_MAX): Likewise.
6152 [C99-based standards] (INTMAX_MIN): Likewise.
6153 [C99-based standards] (INTMAX_MAX): Likewise.
6154 [C99-based standards] (UINTMAX_MAX): Likewise.
6155 [C99-based standards] (PTRDIFF_MIN): Likewise.
6156 [C99-based standards] (PTRDIFF_MAX): Likewise.
6157 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6158 [C99-based standards] (SIZE_MAX): Likewise.
6159 [C99-based standards] (WCHAR_MAX): Likewise.
6160 [C99-based standards] (WINT_MAX): Likewise.
6161 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6162 constraint on value.
6163 [C99-based standards] (WCHAR_MIN): Likewise.
6164 [C99-based standards] (WINT_MIN): Likewise.
6165 [C99-based standards] (*_t): Allow.
6166 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6167 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6168 Include math.h-data and complex.h-data. Remove all expectations
6169 of math.h and complex.h contents.
6170 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6172 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6173 (struct tm): Expect tag.
6174 [C99-based-standards] (wcstof): Expect function.
6175 [C99-based-standards] (wcstold): Likewise.
6176 [C99-based-standards] (wcstoll): Likewise.
6177 [C99-based-standards] (wcstoull): Likewise.
6178 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6179 macro-int-constant. Specify type.
6180 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6181 constraint on value.
6182 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6184 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6186 [ISO C standards]: Do not allow headers.
6187 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6188 wcs[abcdefghijklmnopqrstuvwxyz]*.
6189 [ISO C standards] (*_t): Do not allow.
6190 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6192 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6193 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6195 [ISO C standards]: Do not allow headers.
6196 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6197 is[abcdefghijklmnopqrstuvwxyz]*.
6198 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6199 to[abcdefghijklmnopqrstuvwxyz]*.
6200 [ISO C standards] (*_t): Do not allow.
6201 * conform/data/stdalign.h-data: New file.
6202 * conform/data/stdbool.h-data: Likewise.
6203 * conform/data/stdnoreturn.h-data: Likewise.
6205 2012-11-07 Roland McGrath <roland@hack.frob.com>
6208 * manual/filesys.texi (Directory Entries): Typo fix.
6209 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6211 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6213 * elf/elf.h (EM_AARCH64): New macro.
6214 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6215 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6216 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6217 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6218 (R_AARCH64_TLSDESC): Likewise.
6219 (NT_ARM_TLS): Likewise.
6220 (NT_ARM_HW_BREAK): Likewise.
6221 (NT_ARM_HW_WATCH): Likewise.
6223 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6226 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6227 (__ieee754_powl): Saturate nonzero exponents with absolute value
6228 below 0x1p-79 to +/- 0x1p-79.
6229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6230 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6231 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6232 nonzero exponents with absolute value below 0x1p-32 to +/-
6234 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6235 (__ieee754_powl): Saturate nonzero exponents with absolute value
6236 below 0x1p-79 to +/- 0x1p-79.
6237 * math/libm-test.inc (pow_test): Add more tests.
6239 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6241 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6242 _dl_s390_cap_flags with kernel. Increase string length.
6243 (_dl_s390_platforms): Add z196 and zEC12.
6245 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6247 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6248 Change XOPEN21K to XOPEN2K.
6250 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6252 * string/memmove.c: Use memcpy when possible.
6254 2012-11-06 Andreas Jaeger <aj@suse.de>
6256 * po/eo.po: Update from translation team.
6258 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6262 exponent and small x and y exponents, scale x or y up. Increase
6263 by 2 the exponent used in scaling up.
6264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6266 * math/libm-test.inc (fma_test): Add more tests.
6267 (fma_test_towardzero): Likewise.
6268 (fma_test_downward): Likewise.
6269 (fma_test_upward): Likewise.
6271 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6274 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6278 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6279 namespace for names of struct fields.
6280 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6282 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6283 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6285 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6288 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6290 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6292 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6296 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6299 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6303 definitely overflow as x * y not x * y + z.
6304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6306 * math/libm-test.inc (fma_test): Add more tests.
6307 (fma_test_towardzero): Likewise.
6308 (fma_test_downward): Likewise.
6309 (fma_test_upward): Likewise.
6311 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6315 * include/stub-tag.h: Remove file.
6316 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6318 * manual/maint.texi (Porting): Don't reference it.
6319 * Makerules ($(objpfx)stubs): Likewise.
6320 * dirent/closedir.c: Don't include <stub-tag.h>.
6321 * dirent/dirfd.c: Likewise.
6322 * dirent/fdopendir.c: Likewise.
6323 * dirent/getdents.c: Likewise.
6324 * dirent/getdents64.c: Likewise.
6325 * dirent/opendir.c: Likewise.
6326 * dirent/readdir.c: Likewise.
6327 * dirent/readdir64.c: Likewise.
6328 * dirent/readdir64_r.c: Likewise.
6329 * dirent/readdir_r.c: Likewise.
6330 * dirent/rewinddir.c: Likewise.
6331 * dirent/seekdir.c: Likewise.
6332 * dirent/telldir.c: Likewise.
6333 * gmon/profil.c: Likewise.
6334 * grp/setgroups.c: Likewise.
6335 * inet/if_index.c: Likewise.
6336 * io/access.c: Likewise.
6337 * io/chdir.c: Likewise.
6338 * io/chmod.c: Likewise.
6339 * io/chown.c: Likewise.
6340 * io/close.c: Likewise.
6341 * io/dup.c: Likewise.
6342 * io/dup2.c: Likewise.
6343 * io/dup3.c: Likewise.
6344 * io/euidaccess.c: Likewise.
6345 * io/faccessat.c: Likewise.
6346 * io/fchdir.c: Likewise.
6347 * io/fchmod.c: Likewise.
6348 * io/fchmodat.c: Likewise.
6349 * io/fchown.c: Likewise.
6350 * io/fchownat.c: Likewise.
6351 * io/fcntl.c: Likewise.
6352 * io/flock.c: Likewise.
6353 * io/fstatfs.c: Likewise.
6354 * io/fstatfs64.c: Likewise.
6355 * io/fstatvfs.c: Likewise.
6356 * io/fstatvfs64.c: Likewise.
6357 * io/futimens.c: Likewise.
6358 * io/fxstat.c: Likewise.
6359 * io/fxstat64.c: Likewise.
6360 * io/fxstatat.c: Likewise.
6361 * io/fxstatat64.c: Likewise.
6362 * io/getcwd.c: Likewise.
6363 * io/isatty.c: Likewise.
6364 * io/lchmod.c: Likewise.
6365 * io/lchown.c: Likewise.
6366 * io/link.c: Likewise.
6367 * io/linkat.c: Likewise.
6368 * io/lseek.c: Likewise.
6369 * io/lseek64.c: Likewise.
6370 * io/lxstat64.c: Likewise.
6371 * io/mkdir.c: Likewise.
6372 * io/mkdirat.c: Likewise.
6373 * io/mkfifo.c: Likewise.
6374 * io/mkfifoat.c: Likewise.
6375 * io/open.c: Likewise.
6376 * io/open64.c: Likewise.
6377 * io/openat.c: Likewise.
6378 * io/openat64.c: Likewise.
6379 * io/pipe.c: Likewise.
6380 * io/pipe2.c: Likewise.
6381 * io/poll.c: Likewise.
6382 * io/posix_fadvise.c: Likewise.
6383 * io/posix_fadvise64.c: Likewise.
6384 * io/posix_fallocate.c: Likewise.
6385 * io/posix_fallocate64.c: Likewise.
6386 * io/read.c: Likewise.
6387 * io/readlink.c: Likewise.
6388 * io/readlinkat.c: Likewise.
6389 * io/rmdir.c: Likewise.
6390 * io/sendfile.c: Likewise.
6391 * io/sendfile64.c: Likewise.
6392 * io/statfs.c: Likewise.
6393 * io/statfs64.c: Likewise.
6394 * io/statvfs.c: Likewise.
6395 * io/statvfs64.c: Likewise.
6396 * io/symlink.c: Likewise.
6397 * io/symlinkat.c: Likewise.
6398 * io/ttyname.c: Likewise.
6399 * io/ttyname_r.c: Likewise.
6400 * io/umask.c: Likewise.
6401 * io/unlink.c: Likewise.
6402 * io/unlinkat.c: Likewise.
6403 * io/utime.c: Likewise.
6404 * io/utimensat.c: Likewise.
6405 * io/write.c: Likewise.
6406 * io/xmknod.c: Likewise.
6407 * io/xmknodat.c: Likewise.
6408 * io/xstat.c: Likewise.
6409 * io/xstat64.c: Likewise.
6410 * login/getpt.c: Likewise.
6411 * login/grantpt.c: Likewise.
6412 * login/unlockpt.c: Likewise.
6413 * math/e_acoshl.c: Likewise.
6414 * math/e_acosl.c: Likewise.
6415 * math/e_asinl.c: Likewise.
6416 * math/e_atan2l.c: Likewise.
6417 * math/e_atanhl.c: Likewise.
6418 * math/e_coshl.c: Likewise.
6419 * math/e_expl.c: Likewise.
6420 * math/e_fmodl.c: Likewise.
6421 * math/e_gammal_r.c: Likewise.
6422 * math/e_hypotl.c: Likewise.
6423 * math/e_j0l.c: Likewise.
6424 * math/e_j1l.c: Likewise.
6425 * math/e_jnl.c: Likewise.
6426 * math/e_lgammal_r.c: Likewise.
6427 * math/e_log10l.c: Likewise.
6428 * math/e_log2l.c: Likewise.
6429 * math/e_logl.c: Likewise.
6430 * math/e_powl.c: Likewise.
6431 * math/e_rem_pio2l.c: Likewise.
6432 * math/e_sinhl.c: Likewise.
6433 * math/e_sqrtl.c: Likewise.
6434 * math/fclrexcpt.c: Likewise.
6435 * math/fedisblxcpt.c: Likewise.
6436 * math/feenablxcpt.c: Likewise.
6437 * math/fegetenv.c: Likewise.
6438 * math/fegetexcept.c: Likewise.
6439 * math/fegetround.c: Likewise.
6440 * math/feholdexcpt.c: Likewise.
6441 * math/fesetenv.c: Likewise.
6442 * math/fesetround.c: Likewise.
6443 * math/feupdateenv.c: Likewise.
6444 * math/fgetexcptflg.c: Likewise.
6445 * math/fraiseexcpt.c: Likewise.
6446 * math/fsetexcptflg.c: Likewise.
6447 * math/ftestexcept.c: Likewise.
6448 * math/k_cosl.c: Likewise.
6449 * math/k_rem_pio2l.c: Likewise.
6450 * math/k_sinl.c: Likewise.
6451 * math/k_tanl.c: Likewise.
6452 * math/s_asinhl.c: Likewise.
6453 * math/s_atanl.c: Likewise.
6454 * math/s_cbrtl.c: Likewise.
6455 * math/s_erfl.c: Likewise.
6456 * math/s_expm1l.c: Likewise.
6457 * math/s_log1pl.c: Likewise.
6458 * math/s_tanhl.c: Likewise.
6459 * misc/acct.c: Likewise.
6460 * misc/brk.c: Likewise.
6461 * misc/chflags.c: Likewise.
6462 * misc/chroot.c: Likewise.
6463 * misc/fchflags.c: Likewise.
6464 * misc/fgetxattr.c: Likewise.
6465 * misc/flistxattr.c: Likewise.
6466 * misc/fremovexattr.c: Likewise.
6467 * misc/fsetxattr.c: Likewise.
6468 * misc/fsync.c: Likewise.
6469 * misc/ftruncate.c: Likewise.
6470 * misc/futimes.c: Likewise.
6471 * misc/futimesat.c: Likewise.
6472 * misc/getdomain.c: Likewise.
6473 * misc/getdtsz.c: Likewise.
6474 * misc/gethostid.c: Likewise.
6475 * misc/gethostname.c: Likewise.
6476 * misc/getloadavg.c: Likewise.
6477 * misc/getpagesize.c: Likewise.
6478 * misc/getsysstats.c: Likewise.
6479 * misc/getxattr.c: Likewise.
6480 * misc/gtty.c: Likewise.
6481 * misc/ioctl.c: Likewise.
6482 * misc/lgetxattr.c: Likewise.
6483 * misc/listxattr.c: Likewise.
6484 * misc/llistxattr.c: Likewise.
6485 * misc/lremovexattr.c: Likewise.
6486 * misc/lsetxattr.c: Likewise.
6487 * misc/lutimes.c: Likewise.
6488 * misc/madvise.c: Likewise.
6489 * misc/mincore.c: Likewise.
6490 * misc/mlock.c: Likewise.
6491 * misc/mlockall.c: Likewise.
6492 * misc/mmap.c: Likewise.
6493 * misc/mprotect.c: Likewise.
6494 * misc/msync.c: Likewise.
6495 * misc/munlock.c: Likewise.
6496 * misc/munlockall.c: Likewise.
6497 * misc/munmap.c: Likewise.
6498 * misc/preadv.c: Likewise.
6499 * misc/preadv64.c: Likewise.
6500 * misc/ptrace.c: Likewise.
6501 * misc/pwritev.c: Likewise.
6502 * misc/pwritev64.c: Likewise.
6503 * misc/readv.c: Likewise.
6504 * misc/reboot.c: Likewise.
6505 * misc/remap_file_pages.c: Likewise.
6506 * misc/removexattr.c: Likewise.
6507 * misc/revoke.c: Likewise.
6508 * misc/select.c: Likewise.
6509 * misc/setdomain.c: Likewise.
6510 * misc/setegid.c: Likewise.
6511 * misc/seteuid.c: Likewise.
6512 * misc/sethostid.c: Likewise.
6513 * misc/sethostname.c: Likewise.
6514 * misc/setregid.c: Likewise.
6515 * misc/setreuid.c: Likewise.
6516 * misc/setxattr.c: Likewise.
6517 * misc/sstk.c: Likewise.
6518 * misc/stty.c: Likewise.
6519 * misc/swapoff.c: Likewise.
6520 * misc/swapon.c: Likewise.
6521 * misc/sync.c: Likewise.
6522 * misc/syncfs.c: Likewise.
6523 * misc/syscall.c: Likewise.
6524 * misc/truncate.c: Likewise.
6525 * misc/ualarm.c: Likewise.
6526 * misc/usleep.c: Likewise.
6527 * misc/ustat.c: Likewise.
6528 * misc/utimes.c: Likewise.
6529 * misc/vhangup.c: Likewise.
6530 * misc/writev.c: Likewise.
6531 * posix/_exit.c: Likewise.
6532 * posix/alarm.c: Likewise.
6533 * posix/execve.c: Likewise.
6534 * posix/fexecve.c: Likewise.
6535 * posix/fork.c: Likewise.
6536 * posix/fpathconf.c: Likewise.
6537 * posix/getaddrinfo.c: Likewise.
6538 * posix/getegid.c: Likewise.
6539 * posix/geteuid.c: Likewise.
6540 * posix/getgid.c: Likewise.
6541 * posix/getgroups.c: Likewise.
6542 * posix/getlogin.c: Likewise.
6543 * posix/getlogin_r.c: Likewise.
6544 * posix/getpgid.c: Likewise.
6545 * posix/getpid.c: Likewise.
6546 * posix/getppid.c: Likewise.
6547 * posix/getresgid.c: Likewise.
6548 * posix/getresuid.c: Likewise.
6549 * posix/getsid.c: Likewise.
6550 * posix/getuid.c: Likewise.
6551 * posix/glob64.c: Likewise.
6552 * posix/nanosleep.c: Likewise.
6553 * posix/pathconf.c: Likewise.
6554 * posix/pause.c: Likewise.
6555 * posix/posix_madvise.c: Likewise.
6556 * posix/pread.c: Likewise.
6557 * posix/pread64.c: Likewise.
6558 * posix/pwrite.c: Likewise.
6559 * posix/pwrite64.c: Likewise.
6560 * posix/sched_getaffinity.c: Likewise.
6561 * posix/sched_getp.c: Likewise.
6562 * posix/sched_gets.c: Likewise.
6563 * posix/sched_primax.c: Likewise.
6564 * posix/sched_primin.c: Likewise.
6565 * posix/sched_rr_gi.c: Likewise.
6566 * posix/sched_setaffinity.c: Likewise.
6567 * posix/sched_setp.c: Likewise.
6568 * posix/sched_sets.c: Likewise.
6569 * posix/sched_yield.c: Likewise.
6570 * posix/setgid.c: Likewise.
6571 * posix/setlogin.c: Likewise.
6572 * posix/setpgid.c: Likewise.
6573 * posix/setresgid.c: Likewise.
6574 * posix/setresuid.c: Likewise.
6575 * posix/setsid.c: Likewise.
6576 * posix/setuid.c: Likewise.
6577 * posix/sleep.c: Likewise.
6578 * posix/spawni.c: Likewise.
6579 * posix/sysconf.c: Likewise.
6580 * posix/times.c: Likewise.
6581 * posix/wait.c: Likewise.
6582 * posix/wait3.c: Likewise.
6583 * posix/wait4.c: Likewise.
6584 * posix/waitpid.c: Likewise.
6585 * resolv/gai_sigqueue.c: Likewise.
6586 * resource/getpriority.c: Likewise.
6587 * resource/getrlimit.c: Likewise.
6588 * resource/getrusage.c: Likewise.
6589 * resource/nice.c: Likewise.
6590 * resource/setpriority.c: Likewise.
6591 * resource/setrlimit.c: Likewise.
6592 * resource/ulimit.c: Likewise.
6593 * rt/aio_cancel.c: Likewise.
6594 * rt/aio_fsync.c: Likewise.
6595 * rt/aio_read.c: Likewise.
6596 * rt/aio_sigqueue.c: Likewise.
6597 * rt/aio_suspend.c: Likewise.
6598 * rt/aio_write.c: Likewise.
6599 * rt/clock_getres.c: Likewise.
6600 * rt/clock_gettime.c: Likewise.
6601 * rt/clock_nanosleep.c: Likewise.
6602 * rt/clock_settime.c: Likewise.
6603 * rt/lio_listio.c: Likewise.
6604 * rt/mq_close.c: Likewise.
6605 * rt/mq_getattr.c: Likewise.
6606 * rt/mq_notify.c: Likewise.
6607 * rt/mq_open.c: Likewise.
6608 * rt/mq_receive.c: Likewise.
6609 * rt/mq_send.c: Likewise.
6610 * rt/mq_setattr.c: Likewise.
6611 * rt/mq_timedreceive.c: Likewise.
6612 * rt/mq_timedsend.c: Likewise.
6613 * rt/mq_unlink.c: Likewise.
6614 * rt/shm_open.c: Likewise.
6615 * rt/shm_unlink.c: Likewise.
6616 * rt/timer_create.c: Likewise.
6617 * rt/timer_delete.c: Likewise.
6618 * rt/timer_getoverr.c: Likewise.
6619 * rt/timer_gettime.c: Likewise.
6620 * rt/timer_settime.c: Likewise.
6621 * setjmp/__longjmp.c: Likewise.
6622 * setjmp/setjmp.c: Likewise.
6623 * signal/kill.c: Likewise.
6624 * signal/killpg.c: Likewise.
6625 * signal/raise.c: Likewise.
6626 * signal/sigaction.c: Likewise.
6627 * signal/sigaltstack.c: Likewise.
6628 * signal/sigblock.c: Likewise.
6629 * signal/sigignore.c: Likewise.
6630 * signal/sigintr.c: Likewise.
6631 * signal/signal.c: Likewise.
6632 * signal/sigpause.c: Likewise.
6633 * signal/sigpending.c: Likewise.
6634 * signal/sigqueue.c: Likewise.
6635 * signal/sigreturn.c: Likewise.
6636 * signal/sigset.c: Likewise.
6637 * signal/sigsetmask.c: Likewise.
6638 * signal/sigstack.c: Likewise.
6639 * signal/sigsuspend.c: Likewise.
6640 * signal/sigtimedwait.c: Likewise.
6641 * signal/sigvec.c: Likewise.
6642 * signal/sigwait.c: Likewise.
6643 * signal/sigwaitinfo.c: Likewise.
6644 * signal/sysv_signal.c: Likewise.
6645 * socket/accept.c: Likewise.
6646 * socket/accept4.c: Likewise.
6647 * socket/bind.c: Likewise.
6648 * socket/connect.c: Likewise.
6649 * socket/getpeername.c: Likewise.
6650 * socket/getsockname.c: Likewise.
6651 * socket/getsockopt.c: Likewise.
6652 * socket/isfdtype.c: Likewise.
6653 * socket/listen.c: Likewise.
6654 * socket/recv.c: Likewise.
6655 * socket/recvfrom.c: Likewise.
6656 * socket/recvmsg.c: Likewise.
6657 * socket/send.c: Likewise.
6658 * socket/sendmsg.c: Likewise.
6659 * socket/sendto.c: Likewise.
6660 * socket/setsockopt.c: Likewise.
6661 * socket/shutdown.c: Likewise.
6662 * socket/sockatmark.c: Likewise.
6663 * socket/socket.c: Likewise.
6664 * socket/socketpair.c: Likewise.
6665 * stdio-common/ctermid.c: Likewise.
6666 * stdio-common/cuserid.c: Likewise.
6667 * stdio-common/remove.c: Likewise.
6668 * stdio-common/rename.c: Likewise.
6669 * stdio-common/renameat.c: Likewise.
6670 * stdio-common/tempname.c: Likewise.
6671 * stdlib/getcontext.c: Likewise.
6672 * stdlib/makecontext.c: Likewise.
6673 * stdlib/setcontext.c: Likewise.
6674 * stdlib/swapcontext.c: Likewise.
6675 * stdlib/system.c: Likewise.
6676 * streams/fattach.c: Likewise.
6677 * streams/fdetach.c: Likewise.
6678 * streams/getmsg.c: Likewise.
6679 * streams/getpmsg.c: Likewise.
6680 * streams/putmsg.c: Likewise.
6681 * streams/putpmsg.c: Likewise.
6682 * sysdeps/unix/bsd/getpt.c: Likewise.
6683 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6684 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6685 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6688 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6689 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6690 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6691 * sysvipc/msgctl.c: Likewise.
6692 * sysvipc/msgget.c: Likewise.
6693 * sysvipc/msgrcv.c: Likewise.
6694 * sysvipc/msgsnd.c: Likewise.
6695 * sysvipc/semctl.c: Likewise.
6696 * sysvipc/semget.c: Likewise.
6697 * sysvipc/semop.c: Likewise.
6698 * sysvipc/semtimedop.c: Likewise.
6699 * sysvipc/shmat.c: Likewise.
6700 * sysvipc/shmctl.c: Likewise.
6701 * sysvipc/shmdt.c: Likewise.
6702 * sysvipc/shmget.c: Likewise.
6703 * termios/tcdrain.c: Likewise.
6704 * termios/tcflow.c: Likewise.
6705 * termios/tcflush.c: Likewise.
6706 * termios/tcgetattr.c: Likewise.
6707 * termios/tcgetpgrp.c: Likewise.
6708 * termios/tcsendbrk.c: Likewise.
6709 * termios/tcsetattr.c: Likewise.
6710 * termios/tcsetpgrp.c: Likewise.
6711 * time/adjtime.c: Likewise.
6712 * time/clock.c: Likewise.
6713 * time/getitimer.c: Likewise.
6714 * time/gettimeofday.c: Likewise.
6715 * time/setitimer.c: Likewise.
6716 * time/settimeofday.c: Likewise.
6717 * time/stime.c: Likewise.
6718 * time/time.c: Likewise.
6720 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6722 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6725 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6727 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6729 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6733 FE_TONEAREST before applying Dekker multiplication and Knuth
6734 addition. Clear inexact exceptions and check for exact zero
6736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6739 * math/libm-test.inc (fma_test): Add more tests.
6740 (fma_test_towardzero): Likewise.
6741 (fma_test_downward): Likewise.
6742 (fma_test_upward): Likewise.
6743 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6745 (libc_fesetround): New macro.
6746 (libc_fesetroundf): Likewise.
6747 (libc_fesetroundl): Likewise.
6748 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6750 (libc_fesetround_387): Likewise.
6751 (libc_fesetroundf): New macro.
6752 (libc_fesetround): Likewise.
6753 (libc_fesetroundl): Likewise.
6754 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6756 (libc_fesetroundf): New macro.
6757 (libc_fesetround): Likewise.
6758 (libc_fesetroundl): Likewise.
6759 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6760 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6761 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6763 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6764 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6766 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6767 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6769 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6773 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6774 integer constant usable in #if and use that to give value to enum
6776 (FE_DIVBYZERO): Likewise.
6777 (FE_UNDERFLOW): Likewise.
6778 (FE_OVERFLOW): Likewise.
6779 (FE_INVALID): Likewise.
6780 (FE_INVALID_SNAN): Likewise.
6781 (FE_INVALID_ISI): Likewise.
6782 (FE_INVALID_IDI): Likewise.
6783 (FE_INVALID_ZDZ): Likewise.
6784 (FE_INVALID_IMZ): Likewise.
6785 (FE_INVALID_COMPARE): Likewise.
6786 (FE_INVALID_SOFTWARE): Likewise.
6787 (FE_INVALID_SQRT): Likewise.
6788 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6789 (FE_TONEAREST): Likewise.
6790 (FE_TOWARDZERO): Likewise.
6791 (FE_UPWARD): Likewise.
6792 (FE_DOWNWARD): Likewise.
6793 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6794 (FE_DIVBYZERO): Likewise.
6795 (FE_OVERFLOW): Likewise.
6796 (FE_UNDERFLOW): Likewise.
6797 (FE_INEXACT): Likewise.
6798 (FE_TONEAREST): Likewise.
6799 (FE_DOWNWARD): Likewise.
6800 (FE_UPWARD): Likewise.
6801 (FE_TOWARDZERO): Likewise.
6802 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6803 (FE_UNDERFLOW): Likewise.
6804 (FE_OVERFLOW): Likewise.
6805 (FE_DIVBYZERO): Likewise.
6806 (FE_INVALID): Likewise.
6807 (FE_TONEAREST): Likewise.
6808 (FE_TOWARDZERO): Likewise.
6809 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6810 (FE_OVERFLOW): Likewise.
6811 (FE_UNDERFLOW): Likewise.
6812 (FE_DIVBYZERO): Likewise.
6813 (FE_INEXACT): Likewise.
6814 (FE_TONEAREST): Likewise.
6815 (FE_TOWARDZERO): Likewise.
6816 (FE_UPWARD): Likewise.
6817 (FE_DOWNWARD): Likewise.
6818 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6819 (FE_DIVBYZERO): Likewise.
6820 (FE_OVERFLOW): Likewise.
6821 (FE_UNDERFLOW): Likewise.
6822 (FE_INEXACT): Likewise.
6823 (FE_TONEAREST): Likewise.
6824 (FE_DOWNWARD): Likewise.
6825 (FE_UPWARD): Likewise.
6826 (FE_TOWARDZERO): Likewise.
6828 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6830 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6832 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6834 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6835 commands. Quote $PWD.
6836 (blacklist_exports): Don't use remove_newlines. Replace "declare
6838 (remove_newlines): Remove.
6840 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6842 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6843 * stdlib/stdlib.h (atof): Moved to ...
6844 * include/bits/stdlib-float.h: Here. New file.
6845 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6846 * stdlib/bits/stdlib-float.h: New file.
6847 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6849 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6852 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6854 * conform/conformtest.pl (@headers): Add fenv.h.
6855 * conform/data/fenv.h-data: New file.
6856 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6857 include of <math/fenv.h>.
6859 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6860 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6861 && !UNIX98]. Enables tests for XOPEN2K8.
6862 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6863 POSIX2008]: Likewise.
6865 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6866 (struct rusage): Do not expect type or its members.
6869 * math/math.h (FP_NAN): Define macro to integer constant usable in
6870 #if and use that to give value to enum constant.
6871 (FP_INFINITE): Likewise.
6872 (FP_ZERO): Likewise.
6873 (FP_SUBNORMAL): Likewise.
6874 (FP_NORMAL): Likewise.
6876 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6878 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6879 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6882 2012-11-02 Roland McGrath <roland@hack.frob.com>
6884 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6885 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6886 autoconf-time if not.
6887 * configure.in: Remove AC_PREREQ.
6889 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6891 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6892 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6893 of the internal implementation.
6895 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6897 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6898 except include of <misc/sys/syslog.h>.
6900 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6903 function returns with a NULL context exit with zero.
6905 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6907 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6909 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6911 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6912 (run_program_cmd): This.
6913 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6914 (tst_langinfo): New variable. Use it.
6916 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6918 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6919 floating point opcodes.
6921 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6923 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6926 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6928 * sysdeps/mach/hurd/powerpc: Remove directory.
6929 * sysdeps/mach/powerpc: Likewise.
6931 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6933 * scripts/check-local-headers.sh: Ignore c++ headers.
6935 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6937 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6938 __libc_cleanup_region_start argument.
6940 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6945 x * y using scaling, not as x * y + z.
6946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6948 * math/libm-test.inc (fma_test): Add more tests.
6949 (fma_test_towardzero): Likewise.
6950 (fma_test_downward): Likewise.
6951 (fma_test_upward): Likewise.
6953 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6955 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6957 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6959 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6962 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6964 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6966 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6973 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6976 Fix the order of the list for glibc 2.17.
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6980 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6984 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6988 for low part of x being zero before using __atanl (y).
6989 * math/libm-test.inc (atan2_test): Add another test.
6991 * manual/install.texi (Configuring and compiling): Document
6992 general use of test-wrapper and test-wrapper-env.
6993 * INSTALL: Regenerated.
6995 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6996 (__fma): Do not extract and scale down low bits on after-rounding
6997 systems when result rounded to normal precision would have normal
6999 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7000 (__fmal): Do not extract and scale down low bits on after-rounding
7001 systems when result rounded to normal precision would have normal
7003 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7004 (__fmal): Do not extract and scale down low bits on after-rounding
7005 systems when result rounded to normal precision would have normal
7007 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7009 (fma_test): Add more tests.
7010 (fma_test_towardzero): Likewise.
7011 (fma_test_downward): Likewise.
7012 (fma_test_upward): Likewise.
7014 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7016 * sysdeps/i386/tininess.h: Renamed to ...
7017 * sysdeps/x86/tininess.h: This.
7018 * sysdeps/x86_64/tininess.h: Removed.
7020 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7022 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7023 input. Use $(build-program-cmd).
7024 ($(objpfx)tst-array1-static.out): Likewise.
7025 ($(objpfx)tst-array2.out): Likewise.
7026 ($(objpfx)tst-array3.out): Likewise.
7027 ($(objpfx)tst-array4.out): Likewise.
7028 ($(objpfx)tst-array5.out): Likewise.
7029 ($(objpfx)tst-array5-static.out): Likewise.
7031 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7033 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7036 * nss/nsswitch.h (nss_interface_function): Provide new
7037 macro for use with NSS functions.
7038 * grp/initgroups.c: Use new macro.
7039 * nss/getXXbyYY.c: Likewise.
7040 * nss/getXXbyYY_r.c: Likewise.
7041 * nss/getXXent.c: Likewise.
7042 * nss/getXXent_r.c: Likewise.
7043 * sysdeps/posix/getaddrinfo.c: Likewise.
7045 2012-10-30 Andreas Jaeger <aj@suse.de>
7047 * po/ru.po: Update Russion translation from translation project.
7049 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7054 result and shift together with sticky bit instead of replicating
7055 round-to-nearest rounding.
7056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7058 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7059 missing underflow exceptions.
7060 (fma_test_towardzero): Add more tests.
7061 (fma_test_downward): Likewise.
7062 (fma_test_upward): Likewise.
7065 * sysdeps/generic/tininess.h: New file.
7066 * sysdeps/i386/tininess.h: Likewise.
7067 * sysdeps/sh/tininess.h: Likewise.
7068 * sysdeps/x86_64/tininess.h: Likewise.
7069 * stdlib/tst-strtod-underflow.c: Likewise.
7070 * stdlib/tst-tininess.c: Likewise.
7071 * stdlib/strtod_l.c: Include <tininess.h>.
7072 (round_and_return): Do not set errno for exact underflow cases.
7073 Force an underflow exception when setting errno for underflow.
7074 Determine underflow based on rounding to normal precision if
7075 TININESS_AFTER_ROUNDING.
7076 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7077 ERANGE for exact underflow cases.
7078 * stdlib/Makefile (tests): Add tst-tininess and
7079 tst-strtod-underflow.
7080 ($(objpfx)tst-tininess): Use $(link-libm).
7081 ($(objpfx)tst-strtod-underflow): Likewise.
7083 2012-10-30 Andreas Jaeger <aj@suse.de>
7086 * elf/Makefile (tests): Remove conditional for have-initfini-array
7087 since this is now always required and the variable does not exist
7089 (tests-static): Likewise.
7090 (modules-names): Likewise.
7092 * po/eo.po: Add Esperanto translation from translation project.
7094 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7095 merged with constructor/destructor.
7096 (init_array): Likewise.
7097 * elf/tst-array2dep.c (fini_array): Likewise.
7098 (init_array): Likewise.
7100 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7102 * manual/message.texi: Delete @cartouche tags.
7104 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7106 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7108 * sysdeps/mach/hurd/fsync.c: Likewise.
7110 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7111 [_POSIX_REALTIME_SIGNALS]: Change condition to
7112 [_POSIX_REALTIME_SIGNALS > 0].
7114 2012-10-27 Andreas Jaeger <aj@suse.de>
7116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7117 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7119 [__WORDSIZE != 64]: Likewise.
7121 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7123 * iconvdata/tst-table.sh: Remove ${SHELL}.
7124 * iconvdata/tst-tables.sh: Likewise.
7126 2012-10-25 David S. Miller <davem@davemloft.net>
7128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7129 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7135 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7136 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7139 2012-10-25 Roland McGrath <roland@hack.frob.com>
7141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7142 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7145 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7146 Jim Blandy <jimb@codesourcery.com>
7148 * scripts/cross-test-ssh.sh: New file.
7149 * manual/install.texi (Configuring and compiling): Document use of
7151 * INSTALL: Regenerated.
7153 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7155 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7158 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7160 * Makeconfig (run-program-prefix): Fix comment.
7162 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7163 Jim Blandy <jimb@codesourcery.com>
7165 * Makeconfig (test-wrapper): New variable,
7166 (test-wrapper-env): Likewise.
7167 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7168 (run-built-tests): Define to yes.
7169 (run-program-prefix): Use $(test-wrapper).
7170 (built-program-cmd): Likewise.
7171 * Rules (make-test-out): Use $(test-wrapper-env) and
7172 $(host-built-program-cmd).
7173 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7174 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7176 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7177 $(test-wrapper-env) to tst-rtld-load-self.sh.
7178 ($(objpfx)order2.out): Use $(test-wrapper).
7179 ($(objpfx)tst-initorder.out): Likewise.
7180 ($(objpfx)tst-initorder2.out): Likewise.
7181 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7182 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7183 (test_wrapper_env): New variable. Use it to run ld.so.
7184 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7185 Use it to run ld.so.
7186 (test_wrapper_env): Likewise.
7187 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7188 $(test-wrapper) to run-iconv-test.sh.
7189 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7190 (ICONV): Use $test_wrapper.
7191 * posix/Makefile ($(objpfx)globtest.out): Pass
7192 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7193 globtest.sh, not $(run-program-prefix).
7194 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7195 (test_wrapper): Likewise.
7196 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7197 set together with run_via_rtld_prefix.
7198 (run_program_prefix): Define in terms of test_wrapper and
7199 run_via_rtld_prefix.
7201 2012-10-24 Roland McGrath <roland@hack.frob.com>
7203 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7204 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7208 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7209 Declare __clock_getres, __clock_gettime, __clock_settime,
7210 __clock_nanosleep, and __clock_getcpuclockid.
7211 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7212 Remove librt_hidden_def (clock_gettime).
7213 * sysdeps/unix/clock_gettime.c: Likewise.
7214 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7216 * rt/clock_getres.c: Define __clock_getres as an alias.
7217 * sysdeps/posix/clock_getres.c: Likewise.
7218 * rt/clock_settime.c: Define __clock_settime as an alias.
7219 * sysdeps/unix/clock_settime.c: Likewise.
7220 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7221 * sysdeps/unix/clock_nanosleep.c: Likewise.
7222 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7223 * rt/clock-compat.c: New file.
7224 * rt/Makefile (librt-routines): Add clock-compat and move
7225 $(clock-routines) to ...
7226 (routines): ... here, new variable.
7227 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7228 Don't add get_clockfreq here.
7229 * rt/Versions (libc: GLIBC_2.17): New version set.
7230 Add clock_* symbols here.
7231 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7233 (GLIBC_2.17): Add clock_* symbols.
7234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7245 * NEWS: Mention the move.
7247 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7248 Use __open, __read, __close rather than their public counterparts.
7249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7250 (__get_clockfreq_via_cpuinfo): Likewise.
7251 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7252 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7254 * config.h.in (HAVE_IFUNC): New #undef.
7255 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7257 * configure: Regenerated.
7259 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7261 * configure.in: Move READELF check to start of file.
7262 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7263 libc_cv_asm_gnu_indirect_function in the process.
7264 * configure: Regenerated.
7266 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7268 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7269 send the output to /dev/null.
7270 (libc_cv_cc_with_libunwind): Likewise.
7271 (libc_cv_as_noexecstack): Likewise.
7272 * configure: Regenerate.
7274 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7276 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7278 * posix/globtest.sh (TMPDIR): Do not set.
7279 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7280 (testout): Likewise.
7282 2012-10-24 Andreas Jaeger <aj@suse.de>
7284 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7285 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7286 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7287 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7288 posix_fadvise64, posix_fallocate64.
7290 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7291 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7292 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7294 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7296 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7299 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7300 <bits/fcntl-linux.h>.
7301 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7304 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7305 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7306 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7307 [__WORDSIZE != 64]: Likewise.
7309 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7311 * Makeconfig (run-built-tests): New variable.
7312 * Rules [$(cross-compiling) = yes]: Change condition to
7313 [$(run-built-tests) = no].
7314 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7315 to [$(run-built-tests) = yes].
7316 * elf/Makefile [$(cross-compiling) = no]: Likewise
7317 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7318 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7319 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7320 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7321 * io/Makefile [$(cross-compiling) = no]: Likewise.
7322 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7323 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7324 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7325 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7326 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7327 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7328 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7329 * string/Makefile [$(cross-compiling) = no]: Likewise.
7331 * posix/Makefile ($(objpfx)globtest.out): Pass
7332 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7333 $(rtld-installed-name).
7334 * posix/globtest.sh (elf_objpfx): Remove variable.
7335 (rtld_installed_name): Likewise.
7336 (library_path): Likewise.
7337 (run_program_prefix): New variable. Use for running globtest
7340 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7341 Joseph Myers <joseph@codesourcery.com>
7343 * Makeconfig (host-built-program-cmd): New variable.
7344 * elf/Makefile (tst-stackguard1-ARGS): Use
7345 $(host-built-program-cmd).
7346 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7347 (tst-spawn-ARGS): Likewise.
7348 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7350 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7351 Jim Blandy <jimb@codesourcery.com>
7353 * Makeconfig (run-via-rtld-prefix): New variable.
7354 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7355 (built-program-cmd): Likewise.
7357 2012-10-22 Andreas Jaeger <aj@suse.de>
7359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7360 __O_RSYNC if it exists, otherwise to O_SYNC.
7362 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7363 Joseph Myers <joseph@codesourcery.com>
7365 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7367 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7369 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7372 2012-10-22 Andreas Jaeger <aj@suse.de>
7374 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7382 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7389 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7390 Joseph Myers <joseph@codesourcery.com>
7392 * config.make.in (NM): New variable.
7394 2012-10-21 Andreas Jaeger <aj@suse.de>
7396 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7397 definitions and declarations that are provided by
7398 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7400 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7403 * elf/Makefile (tests-static): Add tst-leaks1-static.
7404 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7405 ($(objpfx)tst-leaks1-static): New rule.
7406 ($(objpfx)tst-leaks1-static-mem): Likewise.
7407 (tst-leaks1-static-ENV): New macro.
7408 * elf/dl-open.c (dl_open_worker): Check the main application
7409 only if SHARED is defined.
7410 * elf/tst-leaks1-static.c: New file.
7412 2012-10-20 Andreas Jaeger <aj@suse.de>
7414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7415 generic values for Linux.
7416 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7417 and declarations that are provided by <bits/fcntl-linux.h> and
7418 include <bits/fcntl-linux.h>.
7419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7422 2012-10-20 Roland McGrath <roland@hack.frob.com>
7424 * io/fcntl.h: Move include of <bits/types.h> to the top and
7425 include it unconditionally.
7427 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7429 * wcsmbs/Makefile (tests-ifunc): New variable.
7430 (tests): Add $(tests-ifunc).
7431 * wcsmbs/test-wcschr-ifunc.c: New file.
7432 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7433 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7434 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7435 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7436 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7438 * string/Makefile (tests-ifunc): New variable.
7439 (tests): Add $(tests-ifunc).
7440 * string/test-memccpy.c (TEST_NAME): New macro.
7441 * string/test-memchr.c (TEST_NAME): Likewise.
7442 * string/test-memcmp.c (TEST_NAME): Likewise.
7443 * string/test-memcpy.c (TEST_NAME): Likewise.
7444 * string/test-memmem.c (TEST_NAME): Likewise.
7445 * string/test-memmove.c (TEST_NAME): Likewise.
7446 * string/test-memset.c (TEST_NAME): Likewise.
7447 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7448 * string/test-stpcpy.c (TEST_NAME): Likewise.
7449 * string/test-stpncpy.c (TEST_NAME): Likewise.
7450 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7451 * string/test-strcasestr.c (TEST_NAME): Likewise.
7452 * string/test-strcat.c (TEST_NAME): Likewise.
7453 * string/test-strchr.c (TEST_NAME): Likewise.
7454 * string/test-strcmp.c(TEST_NAME): Likewise.
7455 * string/test-strcpy.c (TEST_NAME): Likewise.
7456 * string/test-strcspn.c (TEST_NAME): Likewise.
7457 * string/test-strlen.c (TEST_NAME): Likewise.
7458 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7459 * string/test-strncmp.c (TEST_NAME): Likewise.
7460 * string/test-strncpy.c (TEST_NAME): Likewise.
7461 * string/test-strnlen.c (TEST_NAME): Likewise.
7462 * string/test-strpbrk.c (TEST_NAME): Likewise.
7463 * string/test-strrchr.c (TEST_NAME): Likewise.
7464 * string/test-strspn.c (TEST_NAME): Likewise.
7465 * string/test-strstr.c (TEST_NAME): Likewise.
7466 * string/test-bcopy-ifunc.c: New file.
7467 * string/test-bzero-ifunc.c: Likewise.
7468 * string/test-memccpy-ifunc.c: Likewise.
7469 * string/test-memchr-ifunc.c: Likewise.
7470 * string/test-memcmp-ifunc.c: Likewise.
7471 * string/test-memcpy-ifunc.c: Likewise.
7472 * string/test-memmem-ifunc.c: Likewise.
7473 * string/test-memmove-ifunc.c: Likewise.
7474 * string/test-mempcpy-ifunc.c: Likewise.
7475 * string/test-memset-ifunc.c: Likewise.
7476 * string/test-rawmemchr-ifunc.c: Likewise.
7477 * string/test-stpcpy-ifunc.c: Likewise.
7478 * string/test-stpncpy-ifunc.c: Likewise.
7479 * string/test-strcasecmp-ifunc.c: Likewise.
7480 * string/test-strcasestr-ifunc.c: Likewise.
7481 * string/test-strcat-ifunc.c: Likewise.
7482 * string/test-strchr-ifunc.c: Likewise.
7483 * string/test-strchrnul-ifunc.c: Likewise.
7484 * string/test-strcmp-ifunc.c: Likewise.
7485 * string/test-strcpy-ifunc.c: Likewise.
7486 * string/test-strcspn-ifunc.c: Likewise.
7487 * string/test-strlen-ifunc.c: Likewise.
7488 * string/test-strncasecmp-ifunc.c: Likewise.
7489 * string/test-strncat-ifunc.c: Likewise.
7490 * string/test-strncmp-ifunc.c: Likewise.
7491 * string/test-strncpy-ifunc.c: Likewise.
7492 * string/test-strnlen-ifunc.c: Likewise.
7493 * string/test-strpbrk-ifunc.c: Likewise.
7494 * string/test-strrchr-ifunc.c: Likewise.
7495 * string/test-strspn-ifunc.c: Likewise.
7496 * string/test-strstr-ifunc.c: Likewise.
7498 * debug/Makefile (tests-ifunc): New variable.
7499 (tests): Add $(tests-ifunc).
7500 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7501 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7502 * debug/test-stpcpy_chk-ifunc.c: New file.
7503 * debug/test-strcpy_chk-ifunc.c: Likewise.
7505 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7508 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7509 header is not read in.
7511 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7513 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7514 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7515 directly. Pass built executable to script as
7516 $(built-program-cmd).
7517 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7518 $testprogram without using LD_LIBRARY_PATH and $ldso.
7520 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7521 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7522 $(rtld-installed-name).
7523 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7524 (rtld_installed_name): Likewise.
7525 (library_path): Likewise.
7526 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7527 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7528 $(run-program-prefix) to tst-tables.sh.
7529 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7530 it to run tst-table-from and tst-table-to.
7531 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7532 Pass it to tst-table.sh.
7533 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7534 $(run-program-prefix) to tst-gettext.sh.
7535 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7537 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7539 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7541 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7542 to run tst-gettext2.
7543 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7544 to run tst-translit.
7545 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7546 $(run-program-prefix) to tst-mtrace.sh.
7547 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7549 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7550 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7551 $(rtld-installed-name).
7552 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7553 (rtld_installed_name): Likewise.
7554 (run_program_prefix): New variable. Use it to run wordexp-test.
7556 * Makeconfig (ARCH): Remove all definitions.
7557 (machine): Likewise.
7558 [ARCH]: Remove conditional code.
7559 [!objdir]: Give error.
7560 [!objdir] (objpfx): Remove.
7561 [!objdir] (common-objpfx): Likewise.
7562 [!objdir] (common-objdir): Likewise.
7563 * configure.in (config_makefile): Remove. Hardcode Makefile in
7564 AC_CONFIG_FILES call.
7565 * configure: Regenerated.
7568 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7570 (testout): Likewise.
7572 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7573 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7574 $(rtld-installed-name).
7575 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7576 (rtld_installed_name): Likwise.
7577 (runit): Remove function.
7578 (run_getconf): New variable, Use it for running getconf binary.
7580 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7583 * string/test-memmem.c (check_result): New function.
7584 (do_one_test): Use it.
7585 (check1): New function.
7586 (test_main): Use it.
7588 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7590 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7592 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7594 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7595 (_G_LSEEK64): Likewise.
7596 (_G_MMAP64): Likewise.
7597 (_G_FSTAT64): Likewise.
7598 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7599 (_G_LSEEK64): Likewise.
7600 (_G_MMAP64): Likewise.
7601 (_G_FSTAT64): Likewise.
7602 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7603 unconditional. Call __mmap64 directly.
7604 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7605 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7607 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7608 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7610 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7611 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7613 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7614 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7616 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7617 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7619 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7620 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7621 __fxstat64 directly.
7622 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7623 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7625 (freopen64) [!_G_OPEN64]: Remove conditional code.
7626 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7628 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7629 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7631 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7632 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7634 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7635 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7637 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7638 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7640 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7641 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7643 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7644 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7646 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7648 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7651 * manual/memory.texi (Malloc Tunable Parameters): Add note
7652 about free list pointers overwriting some perturb bytes.
7653 Wording suggested by Roland McGrath.
7655 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7657 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7658 (lgamma_test): Likewise.
7659 (tgamma_test): Likewise.
7661 2012-10-16 Florian Weimer <fweimer@redhat.com>
7664 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7665 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7667 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7669 * NEWS: Mention BZ #14716.
7670 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7671 when removing AVAILABLE1_USES_J macro.
7673 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7675 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7676 (__bswap_64): __uint64_t for unsigned 64-bit int.
7678 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7680 * include/string.h (memmem): Declare libc hidden alias.
7681 * string/memmem.c (memmem): Define libc hidden alias.
7682 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7683 __read, __close instead of open, read, close.
7685 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7688 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7690 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7691 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7692 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7694 (__rawmemchr_sse2): Likewise.
7695 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7696 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7697 (__strchr_sse2): Likewise.
7698 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7699 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7700 (__strcasecmp_sse2): Likewise.
7701 (__strncasecmp_sse2): Likewise.
7702 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7703 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7704 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7705 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7706 (__strrchr_sse2): Likewise.
7707 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7709 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7710 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7711 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7712 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7713 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7714 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7715 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7716 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7717 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7718 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7719 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7720 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7721 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7722 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7723 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7724 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7725 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7726 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7727 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7728 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7729 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7730 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7731 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7732 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7733 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7734 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7735 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7736 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7737 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7738 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7740 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7742 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7743 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7744 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7745 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7747 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7749 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7750 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7751 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7752 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7754 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7755 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7756 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7757 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7758 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7759 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7760 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7761 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7762 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7763 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7764 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7765 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7766 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7767 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7768 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7769 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7770 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7771 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7772 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7773 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7774 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7775 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7776 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7777 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7779 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7780 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7781 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7782 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7783 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7784 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7785 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7786 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7787 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7788 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7789 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7790 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7791 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7792 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7793 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7794 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7796 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7797 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7798 * include/ifunc-impl-list.h: New file.
7799 * misc/ifunc-impl-list.c: Likewise.
7800 * misc/Makefile (routines): Add ifunc-impl-list.
7801 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7802 * string/test-string.h: Include <ifunc-impl-list.h>.
7803 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7804 impl_array): New variables.
7805 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7807 (test_init): Call __libc_ifunc_impl_list to initialize
7808 func_list if TEST_IFUNC and TEST_NAME are defined.
7810 * string/Makefile (strop-tests): Add bcopy and bzero.
7811 * string/test-bcopy.c: New file.
7812 * string/test-bzero.c: Likewise.
7813 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7815 * string/test-memset.c: Support bzero test if TEST_BZERO is
7817 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7819 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7821 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7824 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7826 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7827 * configure: Regenerated.
7829 * Makeconfig (+link-static-before-libc): Don't include
7830 $(link-static-libc).
7832 * libio/libio.h (_IO_pos_t): Remove.
7834 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7836 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7839 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7841 * crypt/crypt-entry.c: Include fips-private.h.
7842 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7843 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7844 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7845 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7847 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7849 * crypt/crypt-private.h: Include stdbool.h.
7850 (_ufc_setup_salt_r): Return bool.
7851 * crypt/crypt-entry.c: Include errno.h.
7852 (__crypt_r): Return NULL with EINVAL for bad salt.
7853 * crypt/crypt_util.c (bad_for_salt): New.
7854 (_ufc_setup_salt_r): Check that salt is long enough and within
7855 the specified alphabet.
7856 * crypt/badsalttest.c: New file.
7857 * crypt/Makefile (tests): Add it.
7858 ($(objpfx)badsalttest): New.
7860 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7862 * NEWS: Add entry for BZ #14602.
7864 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7866 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7868 * math/libm-test.inc: Update comment listing what functions and
7870 (isgreater_test): New function.
7871 (isgreaterequal_test): Likewise.
7872 (isless_test): Likewise.
7873 (islessequal_test): Likewise.
7874 (islessgreater_test): Likewise.
7875 (isunordered_test): Likewise.
7876 (main): Call the new functions.
7878 2012-10-09 Roland McGrath <roland@hack.frob.com>
7880 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7881 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7882 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7883 * sysdeps/i386/configure: Regenerated.
7884 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7885 * sysdeps/mach/configure: Regenerated.
7886 * sysdeps/mach/hurd/configure: Regenerated.
7887 * sysdeps/powerpc/configure: Regenerated.
7888 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7889 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7890 * sysdeps/s390/s390-32/configure: Regenerated.
7891 * sysdeps/s390/s390-64/configure: Regenerated.
7892 * sysdeps/sh/configure: Regenerated.
7893 * sysdeps/sparc/configure: Regenerated.
7894 * sysdeps/unix/sysv/linux/configure: Regenerated.
7895 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7896 * sysdeps/x86_64/configure: Regenerated.
7898 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7899 defined. Don't check if MAP is NULL.
7901 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7903 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7904 (_G_stat64): Likewise.
7905 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7906 (_G_stat64): Likewise.
7907 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7908 instead of struct _G_stat64.
7909 * libio/fileops.c (mmap_remap_check): Likewise.
7910 (decide_maybe_mmap): Likewise.
7911 (_IO_new_file_seekoff): Likewise.
7912 (_IO_file_stat): Likewise.
7913 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7915 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7916 instead of struct _G_stat64.
7917 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7919 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7922 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7924 (CHECK_EOL): New macro.
7925 (two_way_short_needle): Check beginning of haystack for EOL. Use
7927 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7928 Replace with CHECK_EOL.
7929 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7930 Replace with CHECK_EOL.
7932 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7934 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7936 * math/libm-test.inc: Update comment listing what functions and
7938 (finite_test): New function.
7939 (isinf_test): Likewise.
7940 (isnan_test): Likewise.
7941 (fpclassify_test): Test subnormal input.
7942 (isfinite_test): Likewise.
7943 (isnormal_test): Likewise.
7944 (main): Call the new functions.
7946 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7949 * Makerules (%.dynsym): Force C locale when running
7950 $(OBJDUMP) --dynamic-syms.
7952 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7954 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7957 2012-10-06 David S. Miller <davem@davemloft.net>
7959 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7960 upper 32-bits of the length value in %o2 since we use branch-on-register
7961 tests which consider the entire 64-bit register.
7963 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7965 * string/test-strstr.c (check2): Add a test for page boundary.
7967 2012-10-05 David S. Miller <davem@davemloft.net>
7969 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7970 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7972 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7974 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7975 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7976 and bzero when HWCAP_SPARC_CRYPTO is present.
7978 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7981 * string/test-strstr.c (check2): New function.
7982 (test_main): Call check2.
7984 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7986 * string/bug-strcasestr1.c (do_test): Moved to ...
7987 * string/test-strcasestr.c (check1): Here. New function.
7988 (do_one_test): Break out result checking code into ...
7989 (check_result): This. New function.
7990 (do_one_test): Call check_result.
7991 (test_main): Call check1.
7992 * string/bug-strchr1.c (do_test): Moved to ...
7993 * string/test-strchr.c (check1): Here. New function.
7994 (do_one_test): Break out result checking code into ...
7995 (check_result): This. New function.
7996 (do_one_test): Call check_result.
7997 (test_main): Call check1.
7998 * string/bug-strstr1.c (main): Moved to ...
7999 * string/test-strstr.c (check1): Here. New function.
8000 (do_one_test): Break out result checking code into ...
8001 (check_result): This. New function.
8002 (do_one_test): Call check_result.
8003 (test_main): Call check1.
8004 * string/bug-strcasestr1.c: Removed.
8005 * string/bug-strchr1.c: Likewise.
8006 * string/bug-strstr1.c: Likewise.
8008 * elf/Makefile (dl-routines): Add hwcaps.
8009 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8010 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8011 (_dl_important_hwcaps): Moved to ...
8012 * elf/dl-hwcaps.c: Here. New file.
8013 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8016 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8017 if IS_IN_rtld isn't defined.
8019 * elf/dl-support.c (_dl_sysinfo_map): New.
8020 Include "get-dynamic-info.h" and "setup-vdso.h".
8021 (_dl_non_dynamic_init): Call setup_vdso.
8022 * elf/dynamic-link.h: Don't include <assert.h>.
8023 (elf_get_dynamic_info): Moved to ...
8024 * elf/get-dynamic-info.h: Here. New file.
8025 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8026 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8027 * elf/setup-vdso.h: Here. New file.
8028 * elf/rtld.c: Include "setup-vdso.h".
8029 (dl_main): Call setup_vdso.
8031 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8033 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8034 creal in comment listing functions tested. List finite, isinf,
8035 isnan, isless, islessequal, isgreater, isgreaterequal,
8036 islessgreater, isunordered, lgamma_r and pow10 as functions and
8037 macros not tested. Mention which functions not tested are aliases
8038 for other functions. Fix typo. Note that signs of NaNs are not
8041 * scripts/config.guess: Update from config.git.
8042 * scripts/config.sub: Likewise.
8044 2012-10-04 Roland McGrath <roland@hack.frob.com>
8046 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8047 * misc/madvise.c (madvise): Renamed to __madvise.
8048 Make madvise a weak alias.
8049 * include/sys/mman.h: Declare __madvise.
8050 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8051 * sysdeps/unix/syscalls.list
8052 (madvise): Make __madvise the strong name, and madvise a weak alias.
8053 * sysdeps/unix/sysv/linux/syscalls.list
8054 (madvise, mmap): Remove redundant entries.
8055 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8056 * malloc/malloc.c (mtrim): Likewise.
8057 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8059 2012-10-03 Roland McGrath <roland@hack.frob.com>
8061 * sysdeps/mach/hurd/dl-cache.c: File removed.
8062 * config.h.in (USE_LDCONFIG): New #undef.
8063 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8064 * configure: Regenerated.
8065 * elf/Makefile (dl-routines): Add dl-cache only under
8066 [$(use-ldconfig) = yes].
8067 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8068 cache on [USE_LDCONFIG].
8069 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8071 * elf/rtld.c (dl_main): Likewise.
8073 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8075 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8076 _SC_LEVEL4_CACHE_LINESIZE.
8078 2012-10-03 Roland McGrath <roland@hack.frob.com>
8080 * sysdeps/unix/bsd/confstr.h: File removed.
8082 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8084 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8087 2012-10-02 Roland McGrath <roland@hack.frob.com>
8089 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8090 Make 'mapoff' field ElfW(Off) rather than off_t.
8092 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8094 * nscd/Makefile: Remove nscd-cflags and all its users.
8095 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8096 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8099 * malloc.c (malloc_printerr): Clarify error message.
8101 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8105 Set bit_FMA_Usable if FMA is supported.
8106 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8108 (bit_FMA4_Usable): Updated.
8109 (index_FMA_Usable): New macro.
8110 (CPUID_FMA): Likewise
8111 (HAS_FMA): Defined with bit_FMA_Usable.
8113 2012-10-01 Roland McGrath <roland@hack.frob.com>
8115 * bits/types.h (__swblk_t): Type removed.
8116 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8117 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8118 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8119 (__SWBLK_T_TYPE): Likewise.
8120 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8121 (__SWBLK_T_TYPE): Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8123 (__SWBLK_T_TYPE): Likewise.
8124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8125 (__SWBLK_T_TYPE): Likewise.
8127 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8128 Honza Horak <hhorak@redhat.com>
8130 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8131 (xdr_mapname): Use YPMAXMAP as maxsize.
8132 (xdr_peername): Use YPMAXPEER as maxsize.
8133 (xdr_keydat): Use YPAXRECORD as maxsize.
8134 (xdr_valdat): Use YPMAXRECORD as maxsize.
8136 2012-10-01 Roland McGrath <roland@hack.frob.com>
8138 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8140 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8141 * csu/init-first.c: ... here.
8142 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8143 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8144 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8145 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8146 * sysdeps/i386/init-first.c: File removed.
8147 * sysdeps/sh/init-first.c: File removed.
8149 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8153 if x * y might underflow to zero and z is zero.
8154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8156 * math/libm-test.inc (min_subnorm_value): New variable.
8157 (fma_test): Add more tests.
8158 (fma_test_towardzero): Likewise.
8159 (fma_test_downward): Likewise
8160 (fma_test_upward): Likewise.
8161 (initialize): Set min_subnorm_value.
8163 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8168 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8169 mode for addition resulting in exact zero.
8170 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8173 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8174 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8175 * math/libm-test.inc (fma_test): Add more tests.
8176 (fma_test_towardzero): New function.
8177 (fma_test_downward): Likewise.
8178 (fma_test_upward): Likewise.
8179 (main): Call the new functions.
8181 2012-09-28 David S. Miller <davem@davemloft.net>
8183 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8185 2012-09-28 Roland McGrath <roland@hack.frob.com>
8187 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8190 * sysdeps/gnu/_G_config.h: Moved to ...
8191 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8192 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8193 * sysdeps/generic/_G_config.h: ... here.
8195 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8197 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8199 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8200 Conditionalize target on [libnss_test1.so-version].
8202 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8204 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8205 (elfobjdir): Move out of conditionals.
8207 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8208 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8209 (__nss_lookup_function): Conditionalize label remove_from_tree on
8210 [!DO_STATIC_NSS || SHARED], matching its only use.
8212 2012-09-28 David S. Miller <davem@davemloft.net>
8214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8215 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8217 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8221 when HWCAP_SPARC_CRYPTO is present.
8223 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8225 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8227 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8230 * stdio-common/vfprintf.c (process_string_arg): Revert
8233 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8235 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8237 * stdio-common/tst-sprintf.c: Include <locale.h>
8238 (main): Test sprintf's handling of incomplete multibyte
8241 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8243 * elf/dl-runtime.c (VERSYMIDX): Removed.
8244 * elf/dl-version.c (VERSYMIDX): Likewise.
8245 * elf/do-rel.h (VERSYMIDX): Likewise.
8247 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8248 * elf/rtld.c (VALIDX): Likewise.
8249 (ADDRIDX): Likewise.
8250 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8251 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8252 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8253 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8255 (ADDRIDX): Likewise.
8257 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8259 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8261 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8264 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8266 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8267 addresses are in the same scope as 192.0.2/24.
8268 * posix/gai.conf: Document new scope table defaults.
8270 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8273 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8274 for ftell. Compute offsets from write pointers instead.
8275 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8277 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8280 * libio/Makefile (tests): New test case tst-fseek.
8281 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8282 combination works in wide mode.
8283 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8284 state when the external buffer state changes.
8286 2012-09-27 David S. Miller <davem@davemloft.net>
8289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8290 pass reloc->r_addend in as the 'high' argument to
8291 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8295 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8297 * rt/tst-aio2.c: Include <pthread.h>.
8298 * rt/tst-aio3.c: Likewise.
8300 2012-09-27 Steve Ellcey <sellcey@mips.com>
8302 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8304 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8306 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8307 contents on [SHARED].
8309 2012-09-26 Marek Polacek <polacek@redhat.com>
8313 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8314 for C++ and GCC <4.3 as well as for non GCC compilers.
8316 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8320 2012-09-25 Roland McGrath <roland@hack.frob.com>
8322 * Makefile.in (all, install): Declare with .PHONY.
8323 Reported by Michael Hope <michael.hope@linaro.org>.
8325 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8327 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8328 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8330 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8332 (sydep_routines): Add the new and the internal functions.
8333 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8334 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8336 (GLIBC_2.17): Add the new function.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8338 (GLIBC_2.17): Likewise.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8340 (GLIBC_2.17): Likewise.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8342 (GLIBC_2.17): Likewise.
8343 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8345 2012-09-25 Alan Modra <amodra@gmail.com>
8347 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8348 Add release barrier before setting once_control to say
8349 initialisation is done. Add hints on lwarx. Use macro in
8351 (clear_once_control): Add release barrier.
8353 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8356 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8358 * math/s_clog10.c (__clog10): Likewise.
8359 * math/s_clog10f.c (__clog10f): Likewise.
8360 * math/s_clog10l.c (__clog10l): Likewise.
8361 * math/s_clogf.c (__clogf): Likewise.
8362 * math/s_clogl.c (__clogl): Likewise.
8363 * math/Makefile (libm-calls): Add x2y2m1.
8364 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8365 (__x2y2m1): Likewise.
8366 (__x2y2m1l): Likewise.
8367 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8368 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8373 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8374 * sysdeps/i386/fpu/libm-test-ulps: Update.
8375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8378 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8379 int as type of variable DEPTH.
8380 (glob): Use size_t instead of int as type of variables NEWCOUNT
8383 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8385 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8387 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8388 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8389 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8390 macros for using routine as __sincosf_ia32.
8391 Use macro for function declaration and weak_alias.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8394 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8397 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8399 * math/s_cexpf.c (__cexpf): Likewise.
8400 * math/s_csinf.c (__csinf): Likewise.
8401 * math/s_csinhf.c (__csinhf): Likewise.
8402 * math/s_ctanf.c (__ctanf): Likewise.
8403 * math/s_ctanhf.c (__ctanhf): Likewise.
8404 * math/s_ccosh.c (__ccoshf): Likewise.
8405 * math/s_cexp.c (__cexpl): Likewise.
8406 * math/s_csin.c (__csin): Likewise.
8407 * math/s_csinh.c (__csinh): Likewise.
8408 * math/s_ctan.c (__ctan): Likewise.
8409 * math/s_ctanh.c (ctanh): Likewise.
8410 * math/s_ccoshl.c (__ccoshl): Likewise.
8411 * math/s_cexpl.c (__cexpl): Likewise.
8412 * math/s_csinl.c (__csinl): Likewise.
8413 * math/s_csinhl.c (__csinhl): Likewise.
8414 * math/s_ctanl.c (__ctanl): Likewise.
8415 * math/s_ctanhl.c (__ctanhl): Likewise.
8417 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8419 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8420 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8421 (_IO_off_t): Define to __off_t, not _G_off_t.
8422 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8423 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8424 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8425 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8426 type of __dummy and __dummy2 fields.
8427 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8428 (_G_ssize_t): Likewise.
8429 (_G_off_t): Likewise.
8430 (_G_pid_t): Likewise.
8431 (_G_uid_t): Likewise.
8432 (_G_wchar_t): Likewise.
8433 (_G_wint_t): Likewise.
8434 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8435 (_G_ssize_t): Likewise.
8436 (_G_off_t): Likewise.
8437 (_G_pid_t): Likewise.
8438 (_G_uid_t): Likewise.
8439 (_G_wchar_t): Likewise.
8440 (_G_wint_t): Likewise.
8441 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8442 (_G_ssize_t): Likewise.
8443 (_G_off_t): Likewise.
8444 (_G_pid_t): Likewise.
8445 (_G_uid_t): Likewise.
8446 (_G_wchar_t): Likewise.
8447 (_G_wint_t): Likewise.
8449 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8451 * malloc/arena.c: Include malloc-sysdep.h.
8452 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8453 is sufficient to shrink the heap or an unmap is needed.
8454 * sysdeps/generic/malloc-sysdep.h: New file. Define
8455 new function check_may_shrink_heap.
8456 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8457 new function check_may_shrink_heap.
8459 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8461 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8464 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8466 * catgets/test-gencat.sh: Add "set -e".
8467 * elf/tst-pathopt.sh: Likewise.
8468 * grp/tst_fgetgrent.sh: Likewise.
8469 * iconvdata/run-iconv-test.sh: Likewise.
8470 * intl/tst-gettext.sh: Likewise.
8471 * intl/tst-gettext2.sh: Likewise.
8472 * intl/tst-gettext4.sh: Likewise.
8473 * intl/tst-gettext6.sh: Likewise.
8474 * intl/tst-translit.sh: Likewise.
8475 * io/ftwtest-sh: Likewise.
8476 * libio/test-freopen.sh: Likewise.
8477 * malloc/tst-mtrace.sh: Likewise.
8478 * posix/globtest.sh: Likewise.
8479 * posix/tst-getconf.sh: Likewise.
8480 * posix/wordexp-tst.sh: Likewise.
8481 * stdio-common/tst-printf.sh: Likewise.
8482 * stdio-common/tst-unbputc.sh: Likewise.
8483 * stdlib/tst-fmtmsg.sh: Likewise.
8484 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8485 * catgets/Makefile: Do not specify -e option when running
8486 testsuite shell scripts.
8487 * elf/Makefile: Likewise.
8488 * grp/Makefile: Likewise.
8489 * iconvdata/Makefile: Likewise.
8490 * intl/Makefile: Likewise.
8491 * io/Makefile: Likewise.
8492 * libio/Makefile: Likewise.
8493 * malloc/Makefile: Likewise.
8494 * posix/Makefile: Likewise.
8495 * stdio-common/Makefile: Likewise.
8496 * stdlib/Makefile: Likewise.
8497 * sysdeps/x86_64/Makefile: Likewise.
8499 * io/ftwtest-sh: Add copyright header.
8500 * posix/globtest.sh: Likewise.
8501 * posix/tst-getconf.sh: Likewise.
8502 * posix/wordexp-tst.sh: Likewise.
8503 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8505 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8508 * Makeconfig (+link): Defined as $(+link-static) if
8509 $(build-shared) isn't yes.
8510 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8512 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8514 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8517 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8518 new chunk size with MALLOC_ALIGN_MASK.
8520 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8523 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8525 (__printf_fphex): Determine rounding using get_rounding_mode and
8527 * stdio-common/tst-printf-round.c (struct hex_test): New
8529 (hex_tests): New variable.
8530 (test_hex_in_one_mode): New function.
8531 (do_test): Also run tests for hex float output.
8533 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8535 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8536 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8537 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8538 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8539 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8540 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8541 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8542 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8544 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8546 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8547 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8548 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8549 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8551 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8554 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8556 * elf/tst-rtld-load-self.sh: New test.
8557 * elf/Makefile: Run it.
8559 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8561 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8562 (tst-writev-ENV): Remove.
8563 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8565 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8567 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8569 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8571 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8573 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8575 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8576 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8577 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8580 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8583 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8584 * config.make.in (have-cpp-asm-debuginfo): Removed.
8585 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8586 * configure: Regenerated.
8588 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8591 * stdio-common/printf_fp.c: Include <stdbool.h> and
8593 (___printf_fp): Determine rounding using get_rounding_mode and
8595 * stdio-common/tst-printf-round.c: New file.
8596 * stdio-common/Makefile (tests): Add tst-printf-round.
8597 (link-libm): New variable.
8598 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8600 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8603 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8604 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8606 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8609 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8611 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8612 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8613 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8614 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8616 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8619 * include/rounding-mode.h: New file.
8620 * sysdeps/generic/get-rounding-mode.h: Likewise.
8621 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8622 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8623 (MAX_VALUE): New macro.
8624 (MIN_VALUE): Likewise.
8625 (overflow_value): New function.
8626 (underflow_value): Likewise.
8627 (round_and_return): Use overflow_value and underflow_value to
8628 determine return values in overflow and underflow cases. Use
8629 round_away to determine rounding depending on rounding mode.
8630 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8631 determine return values in overflow and underflow cases.
8632 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8633 (struct test_results): New structure.
8634 (struct test): Use struct test_results to store expected results
8635 for all rounding modes.
8636 (TEST): Include expected results for all rounding modes.
8637 (test_in_one_mode): New function.
8638 (do_test): Use test_in_one_mode to compute and check results.
8639 Check results for all rounding modes.
8640 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8643 2012-12-09 Allan McRae <allan@archlinux.org>
8645 * sysdeps/i386/fpu/libm-test-ulps: Update
8647 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8649 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8650 (_G_int32_t): Likewise.
8651 (_G_uint16_t): Likewise.
8652 (_G_uint32_t): Likewise.
8653 (_G_HAVE_BOOL): Likewise.
8654 (_G_HAVE_ATEXIT): Likewise.
8655 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8656 (_G_HAVE_IO_FILE_OPEN): Likewise.
8657 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8658 (_G_int32_t): Likewise.
8659 (_G_uint16_t): Likewise.
8660 (_G_uint32_t): Likewise.
8661 (_G_HAVE_BOOL): Likewise.
8662 (_G_HAVE_ATEXIT): Likewise.
8663 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8664 (_G_HAVE_IO_FILE_OPEN): Likewise.
8665 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8666 (_G_int32_t): Likewise.
8667 (_G_uint16_t): Likewise.
8668 (_G_uint32_t): Likewise.
8669 (_G_HAVE_BOOL): Likewise.
8670 (_G_HAVE_ATEXIT): Likewise.
8671 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8672 (_G_HAVE_IO_FILE_OPEN): Likewise.
8674 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8676 * csu/libc-tls.c: Update copyright years.
8678 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8680 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8681 [!_G_USING_THUNKS]: Remove conditional code.
8682 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8683 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8685 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8686 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8687 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8688 (_G_VTABLE_LABEL_PREFIX): Likewise.
8689 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8690 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8691 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8692 (_G_VTABLE_LABEL_PREFIX): Likewise.
8693 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8694 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8695 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8696 (_G_VTABLE_LABEL_PREFIX): Likewise.
8697 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8699 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8701 * libio/Makefile: Include ../Makeconfig before tests.
8702 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8703 only if $(build-shared) is yes.
8705 * iconv/gconv_db.c: Update copyright years.
8707 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8709 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8710 unwind info if defined PIC. Fix special cases description.
8711 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8713 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8715 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8717 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8719 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8721 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8724 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8725 (LDLIBS-tst-chk4): This.
8726 (LDFLAGS-tst-chk5): Renamed to ...
8727 (LDLIBS-tst-chk5): This.
8728 (LDFLAGS-tst-chk6): Renamed to ...
8729 (LDLIBS-tst-chk6): This.
8730 (LDFLAGS-tst-lfschk4): Renamed to ...
8731 (LDLIBS-tst-lfschk4): This.
8732 (LDFLAGS-tst-lfschk5): Renamed to ...
8733 (LDLIBS-tst-lfschk5): This.
8734 (LDFLAGS-tst-lfschk6): Renamed to ...
8735 (LDLIBS-tst-lfschk6): This.
8737 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8738 on $(common-objpfx)soversions.mk.
8740 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8743 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8746 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8748 * malloc/arena.c (arena_get_retry): New function that gets
8749 another arena for the caller to try its request on.
8750 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8751 current arena cannot fulfill the request.
8752 (__libc_memalign): Likewise.
8753 (__libc_memalign): Likewise.
8754 (__libc_pvalloc): Likewise.
8755 (__libc_calloc): Likewise.
8757 2012-09-05 John Tobey <john.tobey@gmail.com>
8760 * manual/arith.texi (Operations on Complex): Fix description
8763 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8766 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8770 * manual/memory.texi (Memory): Make order of menu items match
8773 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8775 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8776 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8777 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8779 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8781 * csu/libc-tls.c (static_dtv): Renamed to ...
8782 (_dl_static_dtv): This. Make it global.
8783 (_dl_initial_dtv): Removed.
8784 (__libc_setup_tls): Updated.
8785 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8786 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8789 2012-09-06 Petr Machata <pmachata@redhat.com>
8791 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8792 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8793 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8794 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8796 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8799 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8800 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8803 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8806 * Makeconfig (link-static-before-libc): Replace $(+prector)
8808 (link-static-after-libc): Replace $(+postctor) with
8810 (link-bounded): Replace $(+prector)/$(+postctor) with
8811 $(+prectorT)/$(+postctorT).
8812 (+prectorT): New macro.
8813 (+postctorT): Likewise.
8815 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8817 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8818 (round_str): Handle values above the maximum for IBM long double
8820 * stdlib/tst-strtod-round.c (tests): Regenerated.
8822 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8824 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8826 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8827 zarch_nohighgprs around the zarch optimized routines.
8828 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8829 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8830 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8833 2012-09-05 David S. Miller <davem@davemloft.net>
8835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8837 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8838 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8839 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8840 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8843 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8845 * malloc/arena.c: Fold copyright years.
8846 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8848 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8850 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8852 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8854 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8856 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8858 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8859 change internal state upon failure.
8861 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8863 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8864 * malloc/memusage.c (mmap): Likewise.
8865 (mmap64, mremap): Likewise. Adjust name in comment.
8867 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8869 * libio/fileops.c: Fix typos in comments.
8870 * libio/oldfileops.c: Likewise.
8871 * libio/wfileops.c: Likewise.
8873 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8876 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8877 (tst-malloc-usable-ENV): Set environment for test case.
8878 * malloc/hooks.c (malloc_check_get_size): New function to get
8880 * malloc/malloc.c (musable): Use malloc_check_get_size.
8881 * malloc/tst-malloc-usable.c: New test case.
8883 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8885 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8887 2012-09-05 Allan McRae <allan@archlinux.org>
8890 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8891 determine header location.
8892 * configure: Regenerated.
8894 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8896 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8898 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8899 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8903 2012-09-04 David S. Miller <davem@davemloft.net>
8905 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8906 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8907 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8909 2012-09-04 Florian Weimer <fweimer@redhat.com>
8911 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8914 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8916 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8919 * libio/iogetdelim.c: Include <limits.h>.
8920 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8921 + len + 1 would overflow.
8923 2012-09-03 Andreas Jaeger <aj@suse.de>
8925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8926 * sysdeps/i386/fpu/libm-test-ulps: Update.
8928 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8930 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8931 Add s_sinf-sse2, s_conf-sse2.
8933 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8934 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8935 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8936 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8938 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8939 for using routine as __sinf_ia32.
8940 Use macro for function declaration and weak_alias.
8941 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8942 for using routine as __cosf_ia32.
8943 Use macro for function declaration and weak_alias.
8945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8946 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8948 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8949 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8952 * math/libm-test.inc (cos_test): Add more test cases.
8953 (sin_test): Likewise.
8954 (sincos_test): Likewise.
8956 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8958 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8959 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8961 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8963 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8966 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8967 first element of the GOT.
8968 (elf_machine_load_address): Return the difference between
8969 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8971 2012-09-01 Allan McRae <allan@archlinux.org>
8974 * configure.in (AWK): Require gawk version 3.0 or later.
8975 * configure: Regenerated.
8977 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8979 * sysdeps/unix/sysv/linux/kernel-features.h
8980 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8982 [__NR_clock_getres]: Make code unconditional.
8983 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8984 (clock_getcpuclockid): Remove code left unreachable by removal of
8986 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8988 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8989 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8990 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8991 Make code unconditional.
8992 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8993 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8994 * sysdeps/unix/sysv/linux/clock_settime.c
8995 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8997 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8998 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9000 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9003 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9004 scripts/test-installation.pl.
9006 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9007 and $ld_so_version if it is set.
9009 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9012 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9013 failure if reading from procfs failed.
9014 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9016 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9018 * sysdeps/unix/sysv/linux/kernel-features.h
9019 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9020 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9021 Remove conditional code.
9022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9023 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9024 Remove conditional code.
9025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9026 * sysdeps/unix/sysv/linux/i386/fxstat.c
9027 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9029 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9030 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9032 * sysdeps/unix/sysv/linux/i386/lxstat.c
9033 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9035 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9036 Remove conditional code.
9037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9038 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9039 Remove conditional code.
9040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9041 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9042 <kernel-features.h>.
9043 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9045 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9046 Remove conditional code.
9047 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9048 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9051 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9054 * NEWS: Add fixed bug number.
9056 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9059 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9060 underflowing exponent in case of negative sign.
9061 * stdlib/tst-strtod-round-data: Add more tests.
9062 * stdlib/tst-strtod-round.c (tests): Regenerated.
9065 * stdlib/strtod_l.c (NDIG): Remove.
9066 (HEXNDIG): Likewise.
9067 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9068 smallest representable value.
9069 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9070 lie within an exact representation of 1/2 ulp of the result.
9071 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9073 (TENS_P9_IDX): Define unconditionally.
9074 (TENS_P9_SIZE): Likewise.
9075 (TENS_P10_IDX): Likewise.
9076 (TENS_P10_SIZE): Likewise.
9077 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9078 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9079 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9080 entries for 10^2^13 and 10^2^14.
9081 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9082 (TENS_P13_IDX): Define.
9083 (TENS_P13_SIZE): Likewise.
9084 (TENS_P14_IDX): Likewise.
9085 (TENS_P14_SIZE): Likewise.
9086 (_fpioconst_pow10): Change array size to
9087 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9089 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9090 1024]: Add entries for 10^2^13 and 10^2^14.
9091 [LAST_POW10 > _LAST_POW10]: Remove #error.
9092 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9093 (_fpioconst_pow10): Change array size to
9094 FPIOCONST_POW10_ARRAY_SIZE.
9095 * stdlib/gen-fpioconst.c: New file.
9096 * stdlib/gen-tst-strtod-round.c: Likewise.
9097 * stdlib/tst-strtod-round-data: Likewise.
9098 * stdlib/tst-strtod-round.c: Likewise.
9099 * stdlib/Makefile (tests): Add tst-strtod-round.
9102 * stdlib/strtod_l.c: Include <stdint.h>.
9103 (NDEBUG): Do not define.
9104 (round_and_return): Change EXPONENT parameter to type intmax_t.
9105 Rearrange calculations to avoid internal overflow possibilities.
9106 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9107 Rearrange calculations to avoid internal overflow possibilities.
9108 Assert that number fits inside MPNSIZE limbs.
9109 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9110 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9111 calculations and add assertions to avoid internal overflow
9112 possibilities. Add casts to avoid signed/unsigned operations.
9113 * stdlib/tst-strtod-overflow.c: New file.
9114 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9116 2012-08-25 Marek Polacek <polacek@redhat.com>
9118 * time/time.h: Fix some typos in comments.
9120 2012-08-23 Roland McGrath <roland@hack.frob.com>
9122 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9123 * posix/tst-rfc3484-2.c: Likewise.
9124 * posix/tst-rfc3484-3.c: Likewise.
9126 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9128 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9129 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9131 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9133 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9134 #include of fxstatat64.c.
9136 2012-08-22 Roland McGrath <roland@hack.frob.com>
9138 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9139 * shadow/getspent_r.c: Likewise.
9140 * shadow/getspnam.c: Likewise.
9141 * shadow/getspnam_r.c: Likewise.
9142 * gshadow/getsgent.c: Likewise.
9143 * gshadow/getsgent_r.c: Likewise.
9144 * gshadow/getsgnam.c: Likewise.
9145 * gshadow/getsgnam_r.c: Likewise.
9146 * inet/getnetbyad.c: Likewise.
9147 * inet/getnetbyad_r.c: Likewise.
9148 * inet/getnetbynm.c: Likewise.
9149 * inet/getnetbynm_r.c: Likewise.
9150 * inet/getnetent.c: Likewise.
9151 * inet/getnetent_r.c: Likewise.
9152 * inet/getproto.c: Likewise.
9153 * inet/getproto_r.c: Likewise.
9154 * inet/getprtent.c: Likewise.
9155 * inet/getprtent_r.c: Likewise.
9156 * inet/getprtname.c: Likewise.
9157 * inet/getprtname_r.c: Likewise.
9158 * inet/getrpcbyname.c: Likewise.
9159 * inet/getrpcbyname_r.c: Likewise.
9160 * inet/getrpcbynumber.c: Likewise.
9161 * inet/getrpcbynumber_r.c: Likewise.
9162 * inet/getrpcent.c: Likewise.
9163 * inet/getrpcent_r.c: Likewise.
9164 * inet/getaliasent.c: Likewise.
9165 * inet/getaliasent_r.c: Likewise.
9166 * inet/getaliasname.c: Likewise.
9167 * inet/getaliasname_r.c: Likewise.
9168 * nscd/getgrgid_r.c: Likewise.
9169 * nscd/getgrnam_r.c: Likewise.
9170 * nscd/gethstbyad_r.c: Likewise.
9171 * nscd/gethstbynm3_r.c: Likewise.
9172 * nscd/getpwnam_r.c: Likewise.
9173 * nscd/getpwuid_r.c: Likewise.
9174 * nscd/getsrvbynm_r.c: Likewise.
9175 * nscd/getsrvbypt_r.c: Likewise.
9176 * nscd/gai.c: Likewise.
9178 * configure.in (build_nscd): New substituted variable, set
9179 by --disable-build-nscd and defaults to $use_nscd.
9180 * configure: Regenerated.
9181 * config.make.in (build-nscd): New substituted variable.
9182 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9183 Change conditional to require [$(build-nscd) = yes] as well.
9184 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9187 * configure.in (use_nscd): New substituted variable, set by
9188 --disable-nscd. If enabled, define USE_NSCD.
9189 * configure: Regenerated.
9190 * config.h.in: Add USE_NSCD.
9191 * config.make.in (use-nscd): New substituted variable.
9192 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9193 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9194 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9195 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9196 (CFLAGS-getgrnam_r.c): Likewise.
9197 (CFLAGS-initgroups.c): Likewise.
9198 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9199 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9201 * inet/getnetgrent_r.c
9202 (nscd_setnetgrent): New function, broken out of ...
9203 (setnetgrent): ... here. Call it.
9204 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9205 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9206 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9207 * nscd/Makefile (routines, aux): Move definitions after include of
9208 Makeconfig. Conditionalize on [$(use-nscd) != no].
9209 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9210 Conditionalize on [USE_NSCD].
9211 (is_nscd, nscd_init_cb): Likewise.
9212 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9213 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9214 * nss/nss_db/db-init.c: Likewise.
9215 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9217 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9218 (make_request): Use it.
9219 (cache_valid_p): New function.
9220 (__check_pf): Use it.
9221 * NEWS: Add item for --disable-nscd.
9223 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9225 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9226 to support sed >= 4.2.1-20-ga9bf076.
9227 * configure: Regenerated.
9229 2012-08-22 Roland McGrath <roland@hack.frob.com>
9231 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9232 Conditionalize whole body on [IREL].
9234 2012-08-22 Jeff Law <law@redhat.com>
9237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9238 if the family is PF_UNSPEC.
9240 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9242 * Makerules (lib-version): Rename from V.
9243 (install-lib-nosubdir): Change V to lib-version.
9245 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9248 * powerpc32/power6/wcschr.c: New file.
9249 * powerpc32/power6/wcscpy.c: New file.
9250 * powerpc32/power6/wcsrchr.c: New file.
9251 * powerpc64/power6/wcschr.c: New file.
9252 * powerpc64/power6/wcscpy.c: New file.
9253 * powerpc64/power6/wcsrchr.c: New file.
9255 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9257 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9258 (two_way_short_needle): Use it.
9259 * string/strstr.c (AVAILABLE1_USES_J): Define.
9260 * string/strcasestr.c: Likewise.
9262 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9264 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9267 * NEWS: Add an entry.
9268 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9269 define their defaults.
9270 (two_way_short_needle): Detect end-of-string on-the-fly.
9271 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9272 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9273 * string/bug-strcasestr1.c: New test.
9274 * string/Makefile: Run it.
9276 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9279 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9280 the first character.
9282 2012-08-21 Roland McGrath <roland@hack.frob.com>
9284 * csu/elf-init.c (__libc_csu_irel): Function removed.
9285 * csu/libc-start.c (apply_irel): New function.
9286 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9288 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9290 * sysdeps/unix/sysv/linux/kernel-features.h
9291 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9292 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9293 <kernel-features.h>.
9294 [__NR_fadvise64_64]: Make code unconditional.
9295 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9296 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9297 !__NR_fadvise64_64)]: Likewise.
9298 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9299 !__NR_fadvise64_64))]: Likewise.
9300 [__NR_fadvise64]: Make code unconditional.
9301 [!__NR_fadvise64]: Remove conditional code.
9302 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9303 <kernel-features.h>.
9304 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9306 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9309 not include <kernel-features.h>.
9310 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9312 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9314 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9315 include <kernel-features.h>.
9316 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9318 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9321 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9323 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9324 slight instruction rearrangements per scrollpipe analysis.
9325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9327 2012-08-20 Roland McGrath <roland@hack.frob.com>
9329 * manual/syslog.texi (syslog; vsyslog, closelog):
9330 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9331 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9333 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9334 DSOCAPS to match condition on defining it.
9336 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9338 * sysdeps/unix/sysv/linux/kernel-features.h
9339 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9341 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9342 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9344 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9345 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9347 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9348 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9350 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9351 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9353 * sysdeps/unix/sysv/linux/kernel-features.h
9354 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9355 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9357 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9358 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9359 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9360 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9361 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9362 Make code unconditional.
9363 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9364 (__mmap64) [!__NR_mmap2]: Likewise.
9365 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9366 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9367 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9368 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9369 [__NR_mmap2]: Make code unconditional.
9370 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9371 (__mmap64) [!__NR_mmap2]: Likewise.
9373 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9375 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9377 2012-08-18 Andreas Jaeger <aj@suse.de>
9379 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9381 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9383 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9384 * include/unistd.h (__have_sock_cloexec): Likewise.
9385 (__have_pipe2): Likewise.
9386 (__have_dup3): Likewise.
9388 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9391 * include/unistd.h (__have_pipe2): Change define into an extern int.
9392 (__have_dup3): Likewise.
9393 * socket/have_sock_cloexec.c: Include fcntl.h.
9394 (__have_pipe2): New variable.
9395 (__have_dup3): Likewise.
9397 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9399 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9401 2012-08-17 Marek Polacek <polacek@redhat.com>
9403 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9404 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9406 2012-08-17 Roland McGrath <roland@hack.frob.com>
9408 * configure.in: Add AC_SUBST for sysheaders.
9409 * configure: Regenerated.
9410 * config.make.in (sysheaders): New substituted variable.
9412 * sysdeps/unix/mkfifo.c: Moved ...
9413 * sysdeps/posix/mkfifo.c: ... here.
9414 * sysdeps/unix/mkfifoat.c: Moved ...
9415 * sysdeps/posix/mkfifoat.c: ... here.
9417 * sysdeps/unix/utime.c: Moved ...
9418 * sysdeps/posix/utime.c: ... here.
9420 * sysdeps/unix/time.c: Moved ...
9421 * sysdeps/posix/time.c: ... here.
9422 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9425 * sysdeps/unix/nice.c: Moved ...
9426 * sysdeps/posix/nice.c: ... here.
9428 * sysdeps/unix/alarm.c: Moved ...
9429 * sysdeps/posix/alarm.c: ... here.
9431 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9433 2012-08-17 Jeff Law <law@redhat.com>
9435 * intl/Makefile (codeset_mo): New variable.
9436 ($(codeset_mo)): New target.
9437 (tst-codeset.out): Depend on that. Remove explicit rule.
9438 (tst-gettext3.out, tst-gettext5.out): Likewise.
9439 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9440 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9441 * intl/tst-codeset.sh: Remove.
9442 * intl/tst-gettext3.sh: Likewise.
9443 * intl/tst-gettext5.sh: Likewise.
9445 2012-08-17 Roland McGrath <roland@hack.frob.com>
9447 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9448 * sysdeps/unix/syscalls.list: ... here.
9450 * sysdeps/posix/getaddrinfo.c
9451 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9452 (gaiconf_init, gaiconf_reload): Use them.
9454 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9455 Define using time_t rather than struct timespec.
9457 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9458 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9460 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9462 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9463 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9466 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9467 __libc_cleanup_push argument.
9469 * bits/param.h: New file.
9470 * misc/sys/param.h: New file.
9471 * include/sys/param.h: New file.
9472 * misc/Makefile (headers): Add bits/param.h.
9473 * sysdeps/generic/sys/param.h: File removed.
9474 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9475 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9476 * sysdeps/mach/hurd/bits/param.h: New file.
9477 * sysdeps/mach/hurd/sys/param.h: File removed.
9479 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9482 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9484 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9485 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9488 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9489 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9490 rather than -D_IO_MTSAFE_IO conditionally.
9491 * stdio-common/Makefile (CPPFLAGS): Likewise.
9492 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9493 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9494 Use $(libio-mtsafe).
9495 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9497 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9498 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9499 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9500 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9501 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9502 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9503 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9504 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9505 (CFLAGS-fread_u_chk.c): Likewise.
9506 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9507 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9508 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9509 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9510 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9511 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9512 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9513 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9514 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9516 * libio/Makefile: Test [$(libc-reentrant) = yes]
9517 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9520 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9521 * sysdeps/pthread/configure: File removed.
9522 * sysdeps/pthread/Makeconfig: New file.
9523 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9524 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9526 2012-08-16 Gary Benson <gbenson@redhat.com>
9528 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9529 unmapping the first object in a namespace.
9531 2012-08-16 Roland McGrath <roland@hack.frob.com>
9533 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9534 (__internal_setnetgrent): ... this. Add internal_function to
9535 definition. Add libc_hidden_def.
9536 (setnetgrent): Update caller.
9537 (internal_endnetgrent): Renamed to ...
9538 (__internal_endnetgrent): ... this. Add internal_function to
9539 definition. Add libc_hidden_def.
9540 (endnetgrent): Update caller.
9541 (internal_getnetgrent_r): Renamed to ...
9542 (__internal_getnetgrent_r): ... this. Add internal_function to
9543 definition. Add libc_hidden_def.
9544 (__getnetgrent_r): Update caller.
9545 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9547 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9549 * stdlib/longlong.h: Update from GCC.
9551 2012-08-16 Roland McGrath <roland@hack.frob.com>
9553 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9554 on _QL, which is set by umul_ppmm but never used.
9555 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9556 variables, which are set by GMP macros but never used.
9557 * stdio-common/_itowa.c (_itowa): Likewise.
9558 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9559 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9561 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9563 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9564 struct La_sh_regs is not constant.
9565 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9566 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9567 and struct La_sparc64_regs are not constant.
9569 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9571 * sysdeps/unix/sysv/linux/kernel-features.h
9572 (__ASSUME_POSIX_TIMERS): Remove.
9573 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9574 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9575 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9576 Make code unconditional.
9577 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9578 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9579 Make code unconditional.
9580 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9581 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9582 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9583 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9584 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9585 Make code unconditional.
9586 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9587 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9588 (__libc_missing_posix_timers): Remove.
9590 2012-08-15 Roland McGrath <roland@hack.frob.com>
9592 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9593 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9595 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9597 * elf/dl-sym.c: Include <stdlib.h>.
9599 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9600 constants, which avoids warnings in 32-bit builds.
9602 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9603 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9605 * misc/lseek.c: File moved to ...
9606 * io/lseek.c: ... here.
9608 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9610 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9611 shifting LEN more than 31 bits at once.
9613 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9616 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9617 segmentation fault for a case of two empty input strings.
9618 * string/test-strncasecmp.c (check1): Renamed to...
9620 (bz14195): Add new testcase for two empty input strings and N > 0.
9621 (test_main): Call new testcase, adapt for renamed function.
9623 2012-08-15 Andreas Jaeger <aj@suse.de>
9626 * crypt/md5test2.c: New test, based on test supplied by Serge
9627 Belyshev <belyshev@depni.sinp.msu.ru>.
9628 * crypt/Makefile (xtests): Add md5test-giant..
9629 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9631 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9634 * crypt/md5.c (md5_process_block): Don't assume the buffer
9635 length is less than 2**32.
9636 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9637 length is less than 2**64.
9639 2012-08-15 Roland McGrath <roland@hack.frob.com>
9641 * string/str-two-way.h: Include <sys/param.h>.
9642 (MAX): Macro removed.
9644 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9645 Move #define and #undef of memmove to just before and after
9646 including <string.h>.
9648 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9649 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9650 and after including <string.h>. Move declarations of
9651 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9652 to before #include "string/memmove.c".
9654 * include/dirent.h: Declare __getdirentries.
9656 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9657 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9659 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9661 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9662 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9663 * sysdeps/i386/configure: Regenerated.
9664 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9665 STABS_CURRENT_FILE, and STABS_FUN.
9666 (END): Remove call to STABS_FUN_END.
9667 (STABS_CURRENT_FILE1): Delete.
9668 (STABS_CURRENT_FILE): Likewise.
9669 (STABS_FUN): Likewise.
9670 (STABS_FUN_END): Likewise.
9671 (STABS_FUN2): Likewise.
9672 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9673 * sysdeps/x86_64/configure: Regenerated.
9675 2012-08-14 Roland McGrath <roland@hack.frob.com>
9677 * elf/dl-open.c: Include <atomic.h>.
9678 * elf/dl-lookup.c: Likewise.
9680 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9682 * sysdeps/unix/sysv/linux/kernel-features.h
9683 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9684 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9686 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9688 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9689 condition on __ASSUME_CLONE_THREAD_FLAGS.
9691 2012-08-14 Andreas Jaeger <aj@suse.de>
9693 * sysdeps/i386/fpu/libm-test-ulps: Update.
9695 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9697 * include/atomic.h (atomic_exchange_and_add): Split into ...
9698 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9701 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9705 2012-08-13 Jeff Law <law@redhat.com>
9707 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9708 null byte in the output string.
9710 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9712 * sysdeps/unix/sysv/linux/kernel-features.h
9713 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9714 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9715 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9716 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9717 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9718 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9719 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9721 2012-08-09 Jeff Law <law@redhat.com>
9724 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9725 When avoid_arena is set, don't retry in the that arena. Pick the
9726 next one, whatever it might be.
9727 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9728 (arena_lock): Pass in new parameter to arena_get2.
9729 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9731 (__libc_malloc): Unify retrying after main arena failure with
9732 __libc_memalign version.
9733 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9735 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9738 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9739 to __redirect_strstr.
9740 (__strstr_sse42): Use typeof __redirect_strstr.
9741 (__strstr_ia32): Likewise.
9742 (__libc_strstr): New prototype.
9743 (strstr): Renamed to ...
9744 (__libc_strstr): This.
9745 (strstr): New strong alias of __libc_strstr.
9746 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9747 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9750 (__libc_time): New prototype.
9751 (time_ifunc): Replace time with __libc_time.
9752 (time): New strong alias and hidden definition of __libc_time.
9753 (__GI_time): Remove strong alias.
9754 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9756 (memmove): Redefined to __redirect_memmove.
9757 (__memmove_sse2): Use typeof __redirect_memmove.
9758 (__memmove_ssse3): Likewise.
9759 (__memmove_ssse3_back): Likewise.
9760 (__libc_memmove): New prototype.
9761 (memmove): Renamed to ...
9762 (__libc_memmove): This.
9763 (memmove): New strong alias of __libc_memmove.
9765 2012-08-08 Mark Salter <msalter@redhat.com>
9768 (R_MN10300_TLS_GD): Define.
9769 (R_MN10300_TLS_LD): Likewise.
9770 (R_MN10300_TLS_LDO): Likewise.
9771 (R_MN10300_TLS_GOTIE): Likewise.
9772 (R_MN10300_TLS_IE): Likewise.
9773 (R_MN10300_TLS_LE): Likewise.
9774 (R_MN10300_TLS_DTPMOD): Likewise.
9775 (R_MN10300_TLS_DTPOFF): Likewise.
9776 (R_MN10300_TLS_TPOFF): Likewise.
9777 (R_MN10300_SYM_DIFF): Likewise.
9778 (R_MN10300_ALIGN): Likewise.
9779 (R_MN10300_NUM): Update.
9781 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9786 2012-08-08 Roland McGrath <roland@hack.frob.com>
9788 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9790 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9791 sysdeps/unix -> sysdeps/posix move.
9792 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9794 2012-08-07 Allan McRae <allan@archlinux.org>
9797 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9798 (SUNOS_CPP): Likewise.
9799 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9801 (open_input): Call CPP using execvp.
9803 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9805 * sysdeps/unix/sysv/linux/kernel-features.h
9806 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9807 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9808 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9809 (__ASSUME_WAITID_SYSCALL): Likewise.
9810 * sysdeps/unix/sysv/linux/dl-execstack.c
9811 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9813 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9816 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9817 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9819 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9821 [__ASSUME_WAITID_SYSCALL]: Likewise.
9822 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9824 2012-08-07 Roland McGrath <roland@hack.frob.com>
9826 * sysdeps/unix/closedir.c: Renamed to ...
9827 * sysdeps/posix/closedir.c: ... here.
9828 * sysdeps/unix/dirfd.c: Renamed to ...
9829 * sysdeps/posix/dirfd.c: ... here.
9830 * sysdeps/unix/dirstream.h: Renamed to ...
9831 * sysdeps/posix/dirstream.h: ... here.
9832 * sysdeps/unix/fdopendir.c: Renamed to ...
9833 * sysdeps/posix/fdopendir.c: ... here.
9834 * sysdeps/unix/opendir.c: Renamed to ...
9835 * sysdeps/posix/opendir.c: ... here.
9836 * sysdeps/unix/readdir.c: Renamed to ...
9837 * sysdeps/posix/readdir.c: ... here.
9838 * sysdeps/unix/readdir_r.c: Renamed to ...
9839 * sysdeps/posix/readdir_r.c: ... here.
9840 * sysdeps/unix/rewinddir.c: Renamed to ...
9841 * sysdeps/posix/rewinddir.c: ... here.
9842 * sysdeps/unix/seekdir.c: Renamed to ...
9843 * sysdeps/posix/seekdir.c: ... here.
9844 * sysdeps/unix/telldir.c: Renamed to ...
9845 * sysdeps/posix/telldir.c: ... here.
9846 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9847 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9848 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9849 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9851 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9852 * bits/fcntl.h: ... here.
9854 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9856 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9857 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9858 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9859 (struct flock): Move l_start, l_len to the beginning.
9860 Use __pid_t for l_pid.
9861 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9862 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9863 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9864 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9865 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9866 [__USE_LARGEFILE64] (struct flock64): New type.
9867 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9869 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9870 * bits/dirent.h: ... here.
9872 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9873 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9875 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9878 Change from 2.6.0 to 2.6.16.
9879 * sysdeps/unix/sysv/linux/configure: Regenerated.
9880 * sysdeps/unix/sysv/linux/kernel-features.h
9881 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9882 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9884 (__ASSUME_UTIMES): Likewise.
9885 (__ASSUME_CLONE_STOPPED): Remove.
9886 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9887 architectures, not kernel version.
9888 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9889 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9890 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9891 (__ASSUME_WAITID_SYSCALL): Likewise.
9892 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9893 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9894 * README: State 2.6.16 as minimum Linux kernel version. Do not
9895 refer to older versions.
9897 2012-08-06 Roland McGrath <roland@hack.frob.com>
9899 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9900 Define alphasort64 as an alias.
9901 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9902 Define versionsort64 as an alias.
9903 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9904 Define scandir64 as an alias.
9905 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9906 Define scandirat64 as an alias.
9907 * dirent/alphasort64.c (alphasort64):
9908 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9909 * dirent/versionsort64.c: Likewise.
9910 * dirent/scandir64.c: Likewise.
9911 * dirent/scandirat64.c: Likewise.
9912 * sysdeps/wordsize-64/alphasort.c: File removed.
9913 * sysdeps/wordsize-64/alphasort64.c: File removed.
9914 * sysdeps/wordsize-64/scandir.c: File removed.
9915 * sysdeps/wordsize-64/scandir64.c: File removed.
9916 * sysdeps/wordsize-64/scandirat.c: File removed.
9917 * sysdeps/wordsize-64/scandirat64.c: File removed.
9918 * sysdeps/wordsize-64/versionsort.c: File removed.
9919 * sysdeps/wordsize-64/versionsort64.c: File removed.
9920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9921 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9922 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9923 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9924 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9927 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9929 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9931 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9933 [defined __arch64__ || defined __sparcv9]
9934 (__INO_T_MATCHES_INO64_T): New macro.
9935 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9936 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9937 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9938 * sysdeps/unix/sysv/linux/bits/dirent.h
9939 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9940 (_DIRENT_MATCHES_DIRENT64): New macro.
9942 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9943 Define lockf64 as an alias.
9944 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9945 Define fseeko64 as an alias.
9946 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9947 Define ftello64 as an alias.
9948 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9949 Define _IO_fgetpos64 and fgetpos64 as aliases.
9950 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9951 Define _IO_fsetpos64 and fsetpos64 as aliases.
9952 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9953 Conditionalize body on this.
9954 * libio/fseeko64.c: Likewise.
9955 * libio/ftello64.c: Likewise.
9956 * libio/iofgetpos64.c: Likewise.
9957 * libio/iofsetpos64.c: Likewise.
9958 * sysdeps/wordsize-64/lockf.c: File removed.
9959 * sysdeps/wordsize-64/lockf64.c: File removed.
9960 * sysdeps/wordsize-64/fseeko.c: File removed.
9961 * sysdeps/wordsize-64/fseeko64.c: File removed.
9962 * sysdeps/wordsize-64/ftello.c: File removed.
9963 * sysdeps/wordsize-64/ftello64.c: File removed.
9964 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9965 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9966 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9967 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9968 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9969 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9970 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9971 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9972 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9973 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9974 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9975 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9976 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9977 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9979 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9981 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9983 [defined __arch64__ || defined __sparcv9]
9984 (__OFF_T_MATCHES_OFF64_T): New macro.
9985 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9986 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9988 (__OFF_T_MATCHES_OFF64_T): New macro.
9990 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9992 * stdlib/secure-getenv.c (__secure_getenv): Replace
9993 GLIBC_2_16 with GLIBC_2_17.
9995 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9997 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9998 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10000 2012-08-03 David S. Miller <davem@davemloft.net>
10002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10004 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10006 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10008 (__ASSUME_CORRECT_SI_PID): Likewise.
10009 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10010 (__ASSUME_TMPFS_NAME): Likewise.
10011 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10012 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10013 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10014 (HAVE_AUX_SECURE): Make definition unconditional.
10015 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10016 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10018 2012-08-03 Roland McGrath <roland@hack.frob.com>
10020 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10021 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10022 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10023 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10024 __eloop_threshold instead of SYMLOOP_MAX.
10026 * sysdeps/generic/eloop-threshold.h: New file.
10027 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10029 * elf/chroot_canon.c (chroot_canon): Likewise.
10031 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10035 Change to 2.6.0 everywhere.
10036 * sysdeps/unix/sysv/linux/configure: Regenerated.
10037 * sysdeps/unix/sysv/linux/kernel-features.h
10038 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10039 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10041 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10042 (__ASSUME_FUTEX_REQUEUE): Remove.
10043 (__ASSUME_STATFS64): Define unconditionally.
10044 (__ASSUME_AT_SECURE): Likewise.
10045 (__ASSUME_CORRECT_SI_PID): Likewise.
10046 (__ASSUME_TGKILL): Define without depending on kernel version for
10048 (__ASSUME_UTIMES): Likewise.
10049 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10051 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10052 (__ASSUME_TMPFS_NAME): Likewise.
10053 * README: Update reference to Linux kernel versions.
10055 2012-08-02 Marek Polacek <polacek@redhat.com>
10058 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10059 libc_cv_asm_type_prefix with %.
10060 * configure: Regenerated.
10061 * include/libc-symbols.h: Remove comment about
10062 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10063 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10064 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10065 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10066 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10067 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10068 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10069 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10070 * elf/tst-unique2mod1.c: Likewise.
10071 * elf/tst-unique1mod2.c: Likewise.
10072 * elf/tst-unique1mod1.c: Likewise.
10073 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10074 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10075 Replace ASM_TYPE_DIRECTIVE with .type.
10076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10077 * sysdeps/i386/sysdep.h: Likewise.
10078 * sysdeps/x86_64/sysdep.h: Likewise.
10079 * sysdeps/sh/sysdep.h: Likewise.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10081 Do not define ASM_TYPE_DIRECTIVE.
10082 * sysdeps/powerpc/sysdep.h: Likewise.
10083 * sysdeps/powerpc/powerpc32/sysdep.h:
10084 Replace ASM_TYPE_DIRECTIVE with .type.
10085 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10086 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10087 * sysdeps/i386/fpu/e_powf.S: Likewise.
10088 * sysdeps/i386/fpu/e_expl.S: Likewise.
10089 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10090 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10091 * sysdeps/i386/fpu/e_pow.S: Likewise.
10092 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10094 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10095 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10096 * sysdeps/i386/fpu/e_log2.S: Likewise.
10097 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10099 * sysdeps/i386/fpu/e_powl.S: Likewise.
10100 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10101 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10102 * sysdeps/i386/fpu/e_logl.S: Likewise.
10103 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10104 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10105 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10106 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10107 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10108 * sysdeps/i386/fpu/e_log.S: Likewise.
10109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10110 * sysdeps/i386/fpu/e_logf.S: Likewise.
10111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10112 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10113 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10114 * sysdeps/i386/fpu/e_log10.S: Likewise.
10115 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10116 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10117 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10118 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10119 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10120 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10121 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10122 * sysdeps/i386/i686/strtok.S: Likewise.
10123 * sysdeps/i386/i386-mcount.S: Likewise.
10124 * sysdeps/i386/strtok.S: Likewise.
10125 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10126 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10128 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10129 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10131 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10132 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10133 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10134 * sysdeps/x86_64/_mcount.S: Likewise.
10135 * sysdeps/x86_64/strtok.S: Likewise.
10136 * sysdeps/sh/_mcount.S: Likewise.
10138 2012-08-01 Roland McGrath <roland@hack.frob.com>
10140 * libio/iofopen.c: Include <fcntl.h>.
10141 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10142 (_IO_fopen64, fopen64): Define as aliases.
10143 * libio/iofopen64.c: Include <fcntl.h>.
10144 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10145 Conditionalize body on this.
10146 * sysdeps/wordsize-64/iofopen.c: File removed.
10147 * sysdeps/wordsize-64/iofopen64.c: File removed.
10149 2012-08-01 Marek Polacek <polacek@redhat.com>
10151 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10152 Use dlfcn directly instead of a variable.
10153 (binfmt-subdir): Do not define.
10156 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10159 Remove all definitions.
10160 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10161 <kernel-features.h>.
10162 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10163 (miss_F_GETOWN_EX): Remove all definitions.
10164 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10166 [!__ASSUME_FCNTL64]: Remove conditional code.
10167 [__ASSUME_FCNTL64]: Make code unconditional.
10168 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10169 <kernel-features.h>.
10170 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10171 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10172 (lockf64) [__NR_fcntl64]: Make code unconditional.
10173 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10175 * sysdeps/unix/sysv/linux/kernel-features.h
10176 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10177 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10178 Make code unconditional.
10179 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10180 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10182 [__NR_vfork]: Make code unconditional.
10183 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10184 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10186 [__NR_vfork]: Make code unconditional.
10187 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10188 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10190 2012-08-01 Roland McGrath <roland@hack.frob.com>
10192 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10193 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10195 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10196 Define mkstemp64 as an alias.
10197 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10198 Define mkstemps64 as an alias.
10199 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10200 Define mkostemp64 as an alias.
10201 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10202 Define mkostemps64 as an alias.
10203 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10204 Conditionalize body on this.
10205 * misc/mkostemp64.c: Likewise.
10206 * misc/mkostemps64.c: Likewise.
10207 * misc/mkstemps64.c: Likewise.
10208 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10209 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10210 * sysdeps/wordsize-64/mkostemp.c: File removed.
10211 * sysdeps/wordsize-64/mkstemp.c: File removed.
10212 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10213 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10214 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10215 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10218 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10219 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10220 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10221 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10223 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10224 compat_symbol macros from <shlib-compat.h> rather than the underlying
10225 default_symbol_version and symbol_version macros, so that DEFAULT
10226 lines in shlib-versions are respected.
10227 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10229 2012-08-01 Florian Weimer <fweimer@redhat.com>
10231 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10232 Declare with warn_unused_result.
10233 (setgid, setregid, setegid, setresgid): Likewise.
10234 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10236 * WUR-REPORT: Remove set*id functions.
10238 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10240 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10242 2012-07-31 Roland McGrath <roland@hack.frob.com>
10244 * include/sys/socket.h (__libc_accept, __libc_accept4):
10245 Add attribute_hidden.
10246 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10250 * inet/getnetgrent_r.c (setup): Likewise.
10252 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10254 2012-07-31 David S. Miller <davem@davemloft.net>
10256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10258 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10261 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10262 value between 1.0 and 2.0 and smaller part has absolute value less
10264 * math/s_clog10.c (__clog10): Likewise.
10265 * math/s_clog10f.c (__clog10f): Likewise.
10266 * math/s_clog10l.c (__clog10l): Likewise.
10267 * math/s_clogf.c (__clogf): Likewise.
10268 * math/s_clogl.c (__clogl): Likewise.
10269 * math/libm-test.inc (clog_test): Add more tests.
10270 (clog10_test): Likewise.
10271 * sysdeps/i386/fpu/libm-test-ulps: Update.
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10274 2012-07-31 Florian Weimer <fweimer@redhat.com>
10276 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10277 Exit with zero in case no suitable GID is found, and write a
10278 message to standard error.
10280 2012-07-30 Roland McGrath <roland@hack.frob.com>
10282 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10284 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10285 (MAXPATHLEN): Removed.
10286 (NOGROUP, NODEV): New macros.
10287 (setbit, clrbit, isset, isclr): New macros.
10288 (howmany, roundup, powerof2): New macros.
10289 (DEV_BSIZE): New macro.
10291 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10292 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10294 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10295 definition on [!__NO_LONG_DOUBLE_MATH].
10297 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10298 PTR_MANGLE and PTR_DEMANGLE.
10300 * socket/accept4.c (accept4): Rename to __libc_accept4.
10301 Define accept4 as a weak alias.
10303 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10304 on [_DIRENT_HAVE_D_TYPE].
10305 * io/ftw.c (ftw_dir): Likewise.
10307 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10309 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10311 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10312 Use the BSD numbers rather than the arbitrary ones we had.
10313 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10314 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10315 (SIGXCPU, SIGXFSZ): New macros.
10318 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10319 initializer on [_LIBC_REENTRANT].
10321 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10322 definitions inside [_POSIX_MAPPED_FILES].
10324 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10326 * dirent/opendir.c: Include <fcntl.h>.
10328 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10329 (__libc_getspecific): Likewise.
10330 (__libc_key_create): Likewise.
10332 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10333 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10334 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10335 (tmpfile64): Define as alias.
10336 * sysdeps/wordsize-64/tmpfile.c: File removed.
10337 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10339 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10341 * stdio-common/vfscanf.c: Include <stdbool.h>.
10342 * nss/makedb.c: Likewise.
10343 * stdio-common/_i18n_number.h: Likewise.
10344 * argp/argp-help.c: Likewise.
10345 * posix/wordexp.c: Likewise.
10346 * sysdeps/posix/spawni.c: Likewise.
10347 * nss/nss_files/files-initgroups.c: Likewise.
10348 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10349 * nss/nss_files/files-initgroups.c: Likewise.
10350 * nss/nss_db/db-netgrp.c: Likewise.
10351 * nss/nss_db/db-initgroups.c: Likewise.
10352 * io/fchmodat.c: Include <sys/stat.h>.
10354 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10355 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10357 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10360 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10361 Add multiple inclusion protection.
10363 2012-07-27 David S. Miller <davem@davemloft.net>
10365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10367 2012-07-27 Gary Benson <gbenson@redhat.com>
10370 * elf/rtld.c: Include <stap-probe.h>.
10371 (dl_main): Added static probes "init_start" and "init_complete".
10372 * elf/dl-load.c: Include <stap-probe.h>.
10373 (lose): Take new parameter "nsid".
10374 Added static probe "map_failed".
10375 (_dl_map_object_from_fd): Pass namespace id to lose.
10376 Added static probe "map_start".
10377 (open_verify): Pass namespace id to lose.
10378 * elf/dl-open.c: Include <stap-probe.h>.
10379 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10380 and "reloc_complete".
10381 * elf/dl-close.c: Include <stap-probe.h>.
10382 (_dl_close_worker): Added static probes "unmap_start" and
10384 * elf/rtld-debugger-interface.txt: New file documenting the above.
10386 2012-07-26 Roland McGrath <roland@hack.frob.com>
10388 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10389 rather than a string variable.
10390 * sunrpc/rpc_main.c (h_output): Likewise.
10391 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10393 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10395 * inet/check_native.c: New file.
10397 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10400 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10401 if larger part has absolute value 1.0.
10402 * math/s_clog10.c (__clog10): Likewise.
10403 * math/s_clog10f.c (__clog10f): Likewise.
10404 * math/s_clog10l.c (__clog10l): Likewise.
10405 * math/s_clogf.c (__clogf): Likewise.
10406 * math/s_clogl.c (__clogl): Likewise.
10407 * math/libm-test.inc (clog_test): Add more tests.
10408 (clog10_test): Likewise.
10409 * sysdeps/i386/fpu/libm-test-ulps: Update.
10410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10413 (pltexit): Likewise.
10414 (La_regs): Likewise.
10415 (La_retval): Likewise.
10416 (int_retval): Likewise.
10417 Update #error for removed macros to refer only to definitions in
10419 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10421 (pltexit): Likewise.
10422 (La_regs): Likewise.
10423 (La_retval): Likewise.
10424 (int_retval): Likewise.
10425 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10427 (pltexit): Likewise.
10428 (La_regs): Likewise.
10429 (La_retval): Likewise.
10430 (int_retval): Likewise.
10431 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10433 (pltexit): Likewise.
10434 (La_regs): Likewise.
10435 (La_retval): Likewise.
10436 (int_retval): Likewise.
10437 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10439 (pltexit): Likewise.
10440 (La_regs): Likewise.
10441 (La_retval): Likewise.
10442 (int_retval): Likewise.
10443 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10445 (pltexit): Likewise.
10446 (La_regs): Likewise.
10447 (La_retval): Likewise.
10448 (int_retval): Likewise.
10449 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10451 (pltexit): Likewise.
10452 (La_regs): Likewise.
10453 (La_retval): Likewise.
10454 (int_retval): Likewise.
10455 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10456 macro definitions in tst-audit.h.
10457 * sysdeps/i386/tst-audit.h: New file.
10458 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10459 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10460 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10461 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10462 * sysdeps/sh/tst-audit.h: Likewise.
10463 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10464 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10465 * sysdeps/x86_64/tst-audit.h: Likewise.
10467 2012-07-26 Andreas Jaeger <aj@suse.de>
10469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10472 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10473 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10474 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10476 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10477 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10483 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10485 (si_call_addr, si_syscall, si_arch): Define new macro.
10486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10488 (si_call_addr, si_syscall, si_arch): Define new marcro.
10489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10491 (si_call_addr, si_syscall, si_arch): Define new macro.
10492 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10494 (si_call_addr, si_syscall, si_arch): Define new macro.
10496 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10499 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10500 Change to 2.4.21 where previously 2.4.1.
10501 * sysdeps/unix/sysv/linux/configure: Regenerated.
10502 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10503 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10504 Linux kernel version.
10505 (__ASSUME_STD_AUXV): Remove.
10506 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10508 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10509 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10510 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10511 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10512 (__ASSUME_NETLINK_SUPPORT): Likewise.
10513 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10514 (__no_netlink_support): Remove conditional definition.
10515 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10517 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10518 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10519 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10520 (if_nameindex_ioctl): Remove.
10521 (if_nameindex_netlink): Do not handle __no_netlink_support.
10522 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10524 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10525 Remove conditional code.
10526 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10528 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10530 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10531 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10532 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10534 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10535 [!__ASSUME_STD_AUXV]: Remove conditional code.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10537 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10538 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10540 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10541 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10543 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10545 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10546 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10548 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10550 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10553 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10556 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10557 code unconditional.
10558 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10560 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10562 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10565 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10567 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10570 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10571 code unconditional.
10572 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10574 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10576 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10579 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10580 code unconditional.
10581 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10583 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10585 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10588 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10590 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10591 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10592 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10593 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10594 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10595 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10596 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10597 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10598 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10599 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10600 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10601 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10602 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10603 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10604 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10605 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10606 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10607 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10608 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10610 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10611 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10614 2012-07-25 Florian Weimer <fweimer@redhat.com>
10616 * Versions.def: Add GLIBC_2.17.
10617 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10618 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10619 Introduce __libc_secure_getenv.
10620 * stdlib/Versions (2.17): Add secure_getenv
10621 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10622 * stdlib/secure-getenv.c: Rename __secure_getenv to
10623 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10624 symbol __secure_getenv for GLIBC_2.0.
10625 * stdlib/tst-secure-getenv.c: New.
10626 * stdlib/Makefile (tests): Add testcase.
10627 * manual/startup.texi (Environment Access): Document
10629 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10630 __libc_secure_getenv.
10631 * inet/ruserpass.c (ruserpass): Likewise.
10632 * malloc/mtrace.c (mtrace): Likewise.
10633 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10634 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10635 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10636 * sysdeps/posix/tempname.c: Likewise. Evaluate
10637 HAVE_SECURE_GETENV.
10638 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10639 __secure_getenv to __libc_secure_getenv.
10640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10653 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10655 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10656 (struct La_i86_retval): Likewise.
10657 (struct La_x86_64_regs): Likewise.
10658 (struct La_x86_64_retval): Likewise.
10659 (struct La_x32_regs): Likewise.
10660 (struct La_x32_retval): Likewise.
10661 (struct La_ppc32_regs): Likewise.
10662 (struct La_ppc32_retval): Likewise.
10663 (struct La_ppc64_regs): Likewise.
10664 (struct La_ppc64_retval): Likewise.
10665 (struct La_sh_regs): Likewise.
10666 (struct La_sh_retval): Likewise.
10667 (struct La_s390_32_regs): Likewise.
10668 (struct La_s390_32_retval): Likewise.
10669 (struct La_s390_64_regs): Likewise.
10670 (struct La_s390_64_retval): Likewise.
10671 (struct La_sparc32_regs): Likewise.
10672 (struct La_sparc32_retval): Likewise.
10673 (struct La_sparc64_regs): Likewise.
10674 (struct La_sparc64_retval): Likewise.
10675 (struct audit_ifaces): Remove architecture-specific pltenter and
10677 * sysdeps/i386/ldsodefs.h: New file.
10678 * sysdeps/powerpc/ldsodefs.h: Likewise.
10679 * sysdeps/s390/ldsodefs.h: Likewise.
10680 * sysdeps/sh/ldsodefs.h: Likewise.
10681 * sysdeps/sparc/ldsodefs.h: Likewise.
10682 * sysdeps/x86_64/ldsodefs.h: Likewise.
10684 2012-07-25 Marek Polacek <polacek@redhat.com>
10687 * math/libm-test.inc (yn_test): Add another test.
10688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10689 to ERANGE when the result is +-Inf.
10690 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10691 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10692 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10693 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10695 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10697 * conform/data/time.h-data (NULL): Use macro-constant. Require
10699 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10701 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10703 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10705 * configure.in <sysdeps resolving>: Correct printing
10707 * configure: Regenerate.
10709 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10711 * math/w_ilogb.c: Include <limits.h>.
10712 * math/w_ilogbl.c: Likewise.
10714 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10716 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10717 va_copy. Document allowing for unavailable va_copy only as
10718 pre-C99 compatibility.
10719 * manual/string.texi (Copying and Concatenation): Use va_copy
10720 instead of __va_copy in concat example.
10722 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10724 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10725 (__sendto): Use create_address_port. Initialize APORT and deallocate
10728 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10729 with O_NOLINK passed to __file_name_lookup.
10731 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10732 with O_NOLINK passed to __file_name_lookup.
10734 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10735 negative N or less than NGIDS.
10737 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10738 type to string_t. Set ERANGE as errno and return it if NAME is not big
10739 enough. Use memcpy instead of strncpy.
10741 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10743 * elf/Makefile (check-data): Remove.
10744 (localplt.data): New vpath directive.
10745 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10746 instead of $(check-data).
10747 * scripts/data/localplt-generic.data: Move to ...
10748 * sysdeps/generic/localplt.data: ... here.
10749 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10750 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10751 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10754 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10757 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10760 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10763 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10766 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10770 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10772 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10773 PPC32 and PPC64 files.
10774 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10775 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10777 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10779 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10780 __makecontext_ret to ...
10781 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10782 ... here and call exit if uc_link is NULL. New file.
10783 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10784 __makecontext_ret.S.
10785 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10786 __makecontext_ret to ...
10787 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10788 ... here and call exit if uc_link is NULL. New file.
10789 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10790 __makecontext_ret.S.
10792 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10794 * elf/elf.h (R_390_IRELATIVE): New definition.
10795 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10796 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10797 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10798 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10799 (elf_machine_lazy_rel): Likewise.
10800 * sysdeps/s390/dl-irel.h: New file.
10801 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10802 * sysdeps/s390/s390-64/memset.S: New asm code.
10803 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10804 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10805 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10806 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10807 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10808 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10810 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10811 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10812 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10813 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10814 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10815 * sysdeps/s390/s390-32/memset.S: New asm code.
10816 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10818 2012-07-17 Marek Polacek <polacek@redhat.com>
10821 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10822 * sysdeps/s390/s390-64/configure.in: Likewise.
10823 * sysdeps/sparc/configure.in: Likewise.
10824 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10825 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10826 * sysdeps/i386/configure.in: Likewise.
10827 * sysdeps/x86_64/configure.in: Likewise.
10828 * sysdeps/sh/configure.in: Likewise.
10829 * sysdeps/s390/s390-32/configure: Regenerated.
10830 * sysdeps/s390/s390-64/configure: Likewise.
10831 * sysdeps/x86_64/configure: Likewise.
10832 * sysdeps/sh/configure: Likewise.
10833 * sysdeps/powerpc/powerpc64/configure: Likewise.
10834 * sysdeps/powerpc/powerpc32/configure: Likewise.
10835 * sysdeps/sparc/configure: Likwise.
10836 * sysdeps/i386/configure: Likewise.
10838 * elf/dl-open.c: Comment fixes.
10840 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10842 * Makefile [CXX] (check-data): Remove.
10843 [CXX] (c++-types.data): New vpath directive.
10844 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10845 vpath. Do not allow for C++ type data being missing.
10846 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10847 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10848 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10849 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10850 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10851 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10852 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10855 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10858 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10861 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10864 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10867 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10870 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10873 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10876 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10877 definitions to architecture-specific files.
10878 (TLS_IE): Likewise.
10879 (TLS_LD): Likewise.
10880 (TLS_GD): Likewise.
10881 * sysdeps/i386/tls-macros.h: New file.
10882 * sysdeps/powerpc/tls-macros.h: Likewise.
10883 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10884 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10885 * sysdeps/sh/tls-macros.h: Likewise.
10886 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10887 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10888 * sysdeps/x86_64/tls-macros.h: Likewise.
10890 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10893 zero value for regular exit case.
10895 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10896 (__start_context): Preserve zero value for regular exit case.
10898 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10899 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10901 * manual/setjmp.texi (setcontext): Clarify normal process
10902 termination when uc_link is the null pointer.
10903 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10906 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10908 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10909 preprocessor. Test for each exception mask separately.
10911 2012-07-16 Andreas Jaeger <aj@suse.de>
10913 * po/ru.po: Update from translation team.
10915 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10917 * conform/data/string.h-data (NULL): Use macro-constant. Require
10919 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10920 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10921 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10922 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10923 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10925 2012-07-13 Andreas Jaeger <aj@suse.de>
10927 * po/fr.po: Update from translation team.
10929 2012-07-12 Marek Polacek <polacek@redhat.com>
10932 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10933 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10936 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10940 Change to 2.4.1 where previously 2.4.0.
10941 * sysdeps/unix/sysv/linux/configure: Regenerated.
10942 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10943 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10945 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10946 (__ASSUME_AT_CLKTCK): Remove.
10947 (__ASSUME_AT_PAGESIZE): Likewise.
10948 (__ASSUME_AT_XID): Likewise.
10949 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10950 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10951 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10953 (HAVE_AUX_PAGESIZE): Likewise.
10954 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10955 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10956 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10958 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10962 the temporary buffer used to invoke __gethostbyname2_r,
10963 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10964 host_data / struct gaih_addrtuple.
10965 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10966 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10967 header file nss/nsswitch.h.
10968 * nss/nsswitch.h (global scope): Add definition of implementation
10969 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10970 resolv/nss_dns/dns-host.c).
10972 2012-07-11 Andreas Jaeger <aj@suse.de>
10974 * po/fr.po: Update from translation team.
10976 * po/sv.po: Update from translation team
10977 * po/fr.po: Another update from translation team.
10979 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10981 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10982 for subnormals or multiply small sinh result by itself.
10983 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10986 2012-07-11 David S. Miller <davem@davemloft.net>
10988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10990 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10993 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10994 (INTERNAL_MARK): Shift it here.
10996 2012-07-10 Marek Polacek <polacek@redhat.com>
10999 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11000 libc_cv_asm_global_directive with .globl.
11001 * configure: Regenerated.
11002 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11004 * sysdeps/i386/configure: Regenerated.
11005 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11007 * sysdeps/x86_64/configure: Regenerated.
11008 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11009 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11010 * elf/tst-unique2mod2.c: Likewise.
11011 * elf/tst-unique2mod1.c: Likewise.
11012 * elf/tst-unique1mod2.c: Likewise.
11013 * elf/tst-unique1mod1.c: Likewise.
11014 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11015 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11017 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11018 * sysdeps/mach/sysdep.h: Likewise.
11019 * sysdeps/i386/sysdep.h: Likewise.
11020 * sysdeps/i386/i386-mcount.S: Likewise.
11021 * sysdeps/x86_64/_mcount.S: Likewise.
11022 * sysdeps/x86_64/sysdep.h: Likewise.
11023 * sysdeps/sh/_mcount.S: Likewise.
11024 * sysdeps/sh/sysdep.h: Likewise.
11025 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11026 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11027 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11028 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11029 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11030 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11031 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11032 * locale/localeinfo.h: Likewise.
11033 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11034 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11036 2012-07-09 Roland McGrath <roland@hack.frob.com>
11039 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11041 * manual/message.texi (The Uniforum approach): Likewise.
11042 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11043 (glibc iconv Implementation): Likewise.
11045 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11048 * math/s_clog.c (__clog): Avoid scaling a value down where that
11049 could result in underflow.
11050 * math/s_clog10.c (__clog10): Likewise.
11051 * math/s_clog10f.c (__clog10f): Likewise.
11052 * math/s_clog10l.c (__clog10l): Likewise.
11053 * math/s_clogf.c (__clogf): Likewise.
11054 * math/s_clogl.c (__clogl): Likewise.
11055 * math/libm-test.inc (clog_test): Add more tests.
11056 (clog10_test): Likewise.
11057 * sysdeps/i386/fpu/libm-test-ulps: Update.
11058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11060 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11063 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11064 by 7 not 8 to examine high bit of fractional part.
11067 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11068 for call to __mcount_internal.
11069 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11070 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11071 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11073 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11076 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11077 approximation for values within 0x1p-13f of an odd multiple of
11079 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11080 exception. Add more tests.
11081 * sysdeps/i386/fpu/libm-test-ulps: Update.
11084 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11085 inputs and return -1 for them. Do not check for +Inf in case not
11086 reachable for +Inf.
11087 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11088 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11090 and return -1 for them. Do not check for +Inf in case not
11091 reachable for +Inf.
11092 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11095 and return -1 for them. Do not check for +Inf in case not
11096 reachable for +Inf.
11097 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11098 spurious underflow.
11099 * sysdeps/i386/fpu/libm-test-ulps: Update.
11100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11102 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11104 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11106 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11110 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11111 could result in spurious underflow. Scale down values above
11112 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11113 * math/s_csqrtf.c (__csqrtf): Likewise.
11114 * math/s_csqrtl.c (__csqrtl): Likewise.
11115 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11116 spurious underflow.
11117 * sysdeps/i386/fpu/libm-test-ulps: Update.
11118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11120 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11122 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11124 * catgets/xopen-msg.awk: New file.
11125 * catgets/xopen-msg.sed: Removed.
11127 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11129 * intl/po2test.awk: New file.
11130 * intl/po2test.sed: Removed.
11132 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11135 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11136 or multiply small sinh result by itself.
11137 * math/s_ctanf.c (__ctanf): Likewise.
11138 * math/s_ctanh.c (__ctanh): Likewise.
11139 * math/s_ctanhf.c (__ctanhf): Likewise.
11140 * math/s_ctanhl.c (__ctanhl): Likewise.
11141 * math/s_ctanl.c (__ctanl): Likewise.
11142 * math/libm-test.inc (ctan_test_tonearest): New function.
11143 (ctan_test_towardzero): Likewise.
11144 (ctan_test_downward): Likewise.
11145 (ctan_test_upward): Likewise.
11146 (ctanh_test_tonearest): Likewise.
11147 (ctanh_test_towardzero): Likewise.
11148 (ctanh_test_downward): Likewise.
11149 (ctanh_test_upward): Likewise.
11150 (main): Call these new functions.
11151 * sysdeps/i386/fpu/libm-test-ulps: Update.
11152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11154 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11156 * .gitignore: Delete /ports entry.
11158 2012-07-03 Andreas Jaeger <aj@suse.de>
11160 * po/bg.po: Update from translation team.
11161 * po/cs.po: Likewise.
11162 * po/de.po: Likewise.
11163 * po/hr.po: Likewise.
11164 * po/nl.pl: Likewise.
11165 * po/pl.po: Likewise.
11166 * po/vi.po: Likewise.
11168 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11170 * Makeconfig [!+link] (+link-before-libc): New variable.
11171 [!+link] (+link-after-libc): Likewise.
11172 [!+link] (+link-tests): Likewise.
11173 [!+link] (+link): Define in terms of $(+link-before-libc) and
11174 $(+link-after-libc).
11175 [!+link-static] (+link-static-before-libc): New variable.
11176 [!+link-static] (+link-static-after-libc): Likewise.
11177 [!+link-static] (+link-static-tests): Likewise.
11178 [!+link-static] (+link-static): Define in terms of
11179 $(+link-static-before-libc) and $(+link-static-after-libc).
11180 [build-shared] (link-libc-before-gnulib): New variable.
11181 [build-shared] (link-libc-tests): Likewise.
11182 [build-shared] (link-libc): Define in terms of
11183 $(link-libc-before-gnulib).
11184 [!build-shared] (link-libc-tests): New variable.
11185 (link-libc-static-tests): New variable.
11186 [!gnulib] (gnulib-arch): New variable.
11187 [!gnulib] (gnulib-tests): Likewise.
11188 [!gnulib] (static-gnulib-arch): Likewise.
11189 [!gnulib] (static-gnulib-tests): Likewise.
11190 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11191 Define with "=" instead of ":=".
11192 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11193 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11194 * Rules (binaries-all-notests): New variable.
11195 (binaries-all-tests): Likewise.
11196 (binaries-static-notests): Likewise.
11197 (binaries-static-tests): Likewise.
11198 (binaries-all): Define using $(binaries-all-notests) and
11199 $(binaries-all-tests).
11200 (binaries-static): Define using $(binaries-static-notests) and
11201 $(binaries-static-tests).
11202 (binaries-shared-tests): New variable.
11203 (binaries-shared-notests): Likewise.
11204 (binaries-shared): Remove variable.
11205 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11206 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11207 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11208 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11209 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11210 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11211 * elf/Makefile (sln-modules): New variable.
11212 (extra-objs): Add $(sln-modules:=.o).
11213 (ldconfig-modules): Add static-stubs.
11214 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11215 * elf/static-stubs.c: New file.
11218 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11219 by 7 not 8 to examine high bit of fractional part. Use volatile
11220 variables when splitting into final array of floats if
11221 __FLT_EVAL_METHOD__ != 0.
11222 * math/libm-test.inc (cos_test): Add another test.
11223 (sin_test): Likewise.
11224 * sysdeps/i386/fpu/libm-test-ulps: Update.
11227 * math/libm-test.inc (cosh_test): Add more tests.
11229 * version.h (RELEASE): Set to "development".
11230 (VERSION): Set to "2.16.90".
11232 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11234 * NEWS: Update copyright. Remove last-updated date.
11235 Mention math library bug fixes and timezone data changes.
11236 * README: Mention GNU/Hurd, x32, and HPPA support status.
11238 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11240 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11242 2012-06-27 Andreas Jaeger <aj@suse.de>
11244 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11246 2012-06-25 Andreas Jaeger <aj@suse.de>
11248 * sysdeps/s390/fpu/libm-test-ulps: Update.
11250 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11251 Thomas Schwinge <thomas@codesourcery.com>
11253 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11254 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11258 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11260 * sysdeps/mach/start.c: Remove file.
11261 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11262 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11263 * sysdeps/sh/init-first.c: Likewise.
11265 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11266 registers for frame unwinding purposes, add CFI directives.
11267 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11268 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11269 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11272 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11273 __fortify_fail returning.
11274 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11276 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11277 sysdeps/sh/____longjmp_chk.S.
11278 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11279 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11280 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11281 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11283 * sysdeps/sh/abort-instr.h: New file.
11284 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11285 process in case exit returns.
11287 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11288 initialize the GOT register before use.
11290 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11291 calculation of ARGC > 4.
11293 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11294 meaningful names to some local labels.
11296 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11297 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11299 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11300 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11301 (__arch_compare_and_exchange_val_16_acq): Likewise.
11302 (__arch_compare_and_exchange_val_32_acq): Likewise.
11303 (atomic_exchange_and_add): Fix gUSA sequence.
11304 (atomic_add): Likewise.
11305 (atomic_add_negative): Likewise.
11306 (atomic_add_zero): Likewise.
11307 (atomic_bit_test_set): Likewise.
11309 2012-06-22 Andreas Schwab <schwab@redhat.com>
11312 * include/link.h (struct link_map): Add l_free_initfini.
11313 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11315 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11316 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11317 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11320 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11322 * configure.in: Use AC_LANG_SOURCE.
11323 * configure: Regenerate.
11325 2012-06-22 Roland McGrath <roland@hack.frob.com>
11327 * configure.in (libc_cv_localstatedir): New substituted variable.
11328 * configure: Regenerated.
11329 * config.make.in (localstatedir): New variable, substituted from
11330 libc_cv_localstatedir.
11331 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11332 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11333 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11334 * sysdeps/gnu/configure: Regenerated.
11336 2012-06-21 Jeff Law <law@redhat.com>
11339 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11340 free. Simplify list management for _LIBC case.
11342 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11345 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11346 Clear sign bit of 64-bit integer value before comparing against
11349 * sysdeps/mach/configure: Regenerated.
11351 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11354 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11356 2012-06-21 Jeff Law <law@redhat.com>
11359 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11360 uint16_t for elements in the "seen" array to avoid char overflows.
11361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11362 * elf/dl-open.c (dl_open_worker): Likewise.
11364 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11366 * scripts/list-sources.sh: Scan PORTS for translations.
11367 * po/libc.pot: Regenerated.
11369 2012-06-21 Andreas Jaeger <aj@suse.de>
11372 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11374 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11375 * bits/byteswap-16.h (__bswap_16): Likewise.
11376 * bits/byteswap.h (__bswap_constant_16): Likewise.
11378 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11381 * sysdeps/i386/fpu_control.h: Removed.
11382 * sysdeps/x86_64/fpu_control.h: Moved to ...
11383 * sysdeps/x86/fpu_control.h: Here.
11385 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11386 (_FPU_SETCW): Likewise.
11388 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11391 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11392 * sysdeps/x86/fpu/bits/mathinline.h: This.
11393 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11397 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11398 functions if __x86_64__ is defined.
11400 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11402 * string/endian.h: Add !__ASSEMBLER__ condition for including
11403 conversion interfaces.
11405 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11409 of ABS(x) in calculating zero to negative powers other than odd
11411 * math/libm-test.inc (pow_test): Add more tests.
11413 2012-06-15 Andreas Jaeger <aj@suse.de>
11415 * manual/contrib.texi (Contributors): Update entry of Liubov
11416 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11419 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11421 * string/string.h: Add __wur to GNU version of strerror_r.
11423 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11426 * string/Makefile (tests): Add tst-strtok_r.
11427 * string/tst-strtok_r.c: New file.
11428 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11429 RAX_LP/RDX_LP on SAVE_PTR.
11431 2012-06-14 Roland McGrath <roland@hack.frob.com>
11433 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11435 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11437 * libm_test.inc (csqrt_test): Allow more spurious underflow
11439 (j0_test): Likewise.
11440 (j1_test): Likewise.
11441 (y0_test): Likewise.
11442 (y1_test): Likewise.
11444 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11446 * po/Makefile (libc.pot): Use UTF-8 charset.
11448 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11451 Suppress sign-conversion warning from FD_SET.
11452 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11453 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11454 not unsigned long int.
11455 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11457 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11461 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11462 __extern_always_inline instead of __extern_inline.
11463 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11464 (__signbit): Likewise.
11465 (__signbitl): Support C++ namespace.
11466 (lrintf): New inline function.
11468 (llrintf): Likewise.
11469 (llrint): Likewise.
11479 (floorf): Likewise.
11480 (nearbyint): Likewise.
11481 (nearbyintf): Likewise.
11483 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11485 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11486 non-default versions.
11488 2012-06-11 Roland McGrath <roland@hack.frob.com>
11491 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11493 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11495 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11496 (FE_UPWARD, FE_DOWNWARD): Don't define.
11497 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11498 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11500 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11502 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11503 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11505 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11507 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11509 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11510 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11512 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11515 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11516 * sysdeps/i386/fpu/Implies: New file.
11517 * sysdeps/x86_64/fpu/Implies: Likewise.
11518 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11519 * sysdeps/x86/fpu/bits/fenv.h: This.
11521 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11524 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11527 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11528 character 0xffff that matches the last element of the
11531 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11536 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11539 values higher than 25.6283.
11541 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11543 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11544 subnormal exponent extraction and add some __builtin_expect.
11545 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11546 Fix for subnormal mantissa calculation.
11548 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11550 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11551 cpu2 is -1 and errno is not ENOSYS.
11553 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11556 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11557 * sysdeps/x86/bits/string.h: This.
11558 * sysdeps/x86_64/bits/string.h: Removed.
11560 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11561 if not compiling for x86-64, but compiling for >= i486.
11563 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11564 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11566 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11567 New macro from Linux kernel 3.4.0.
11568 (FP_XSTATE_MAGIC2): Likewise.
11569 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11570 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11571 (struct _fpx_sw_bytes): New struct.
11572 (struct _xsave_hdr): Likewise.
11573 (struct _ymmh_state): Likewise.
11574 (struct _xstate): Likewise.
11576 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11577 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11579 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11581 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11583 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11584 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11585 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11586 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11587 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11588 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11590 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11593 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11594 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11595 (sysdep_headers): Include sys/platform/ppc.h.
11596 * sysdeps/powerpc/test-gettimebase.c: Test for
11597 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11598 * manual/Makefile (appendices): Include platform.texi.
11599 * manual/contrib.texi (Contributors): Update @node pointers.
11600 * manual/maint.texi (Maintenance): Likewise.
11601 (Platform): New node.
11602 * manual/platform.texi: New file. Document the new features.
11604 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11605 Jakub Jelinek <jakub@redhat.com>
11608 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11609 where __builtin_expect is unavailable.
11611 2012-06-03 David S. Miller <davem@davemloft.net>
11613 * stdlib/longlong.h: Updated from GCC.
11615 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11618 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11619 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11622 (GLIBC_2.16): Likewise.
11624 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11626 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11628 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11631 (default-abi): New variable.
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11633 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11635 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11637 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11639 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11642 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11643 definition. Document in comment.
11645 2012-06-01 David S. Miller <davem@davemloft.net>
11647 * stdlib/longlong.h: Updated from GCC.
11649 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11652 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11653 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11654 sys/debugreg.h sys/io.h here.
11655 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11656 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11658 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11659 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11660 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11661 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11662 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11663 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11665 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11666 Define only if __x86_64__ is defined.
11668 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11672 Use int64_t for variable i.
11673 * math/libm-test.inc (fmod_test): Add more tests.
11675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11676 z computation is not scheduled after fetestexcept.
11677 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11678 Use math_force_eval instead of asm to ensure calculation scheduled
11679 before exception test.
11680 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11681 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11683 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11686 computation is not scheduled after fetestexcept.
11688 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11691 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11692 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11694 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11697 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11699 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11702 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11704 (__WCHAR_MIN): Support __WORDSIZE == 64.
11705 (__WCHAR_MAX): Likewise.
11707 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11708 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11712 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11715 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11716 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11718 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11719 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11721 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11722 Defined to 1 if __x86_64__ isn't defined.
11723 (_STAT_VER_LINUX_OLD): New.
11724 (st_atime): Remove duplicate.
11725 (st_mtime): Likewise.
11726 (st_ctime): Likewise.
11728 2012-05-31 David S. Miller <davem@davemloft.net>
11730 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11733 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11735 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11739 * elf/dl-reloc.c: Include <_itoa.h>.
11740 (_dl_reloc_bad_type): Remove use of INTUSE.
11741 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11742 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11743 * stdio-common/psiginfo.c (psiginfo): Likewise.
11744 * stdio-common/psignal.c (psignal): Likewise.
11745 * string/strsignal.c (strsignal): Likewise.
11746 * include/signal.h (_sys_siglist): Declare hidden proto.
11747 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11748 INTVARDEF with libc_hidden_data_def.
11749 * stdio-common/itoa-udigits.c: Likewise.
11750 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11751 (_itoa_lower_digits_internal): Remove declaration.
11752 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11753 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11754 (_sys_sigabbrev_internal): Remove aliases.
11755 (_sys_siglist): Define hidden alias.
11757 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11762 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11765 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11766 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11768 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11769 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11770 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11771 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11772 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11773 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11775 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11776 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11777 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11779 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11788 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11789 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11791 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11792 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11794 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11795 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11796 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11798 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11799 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11801 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11802 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11808 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11809 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11811 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11813 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11814 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11815 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11817 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11819 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11821 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11823 * math/math.h (M_El): Use two more decimal places.
11824 (M_LOG2El): Likewise.
11825 (M_LOG10El): Likewise.
11826 (M_LN2l): Likewise.
11827 (M_LN10l): Likewise.
11829 (M_PI_2l): Likewise.
11830 (M_PI_4l): Likewise.
11831 (M_1_PIl): Likewise.
11832 (M_2_PIl): Likewise.
11833 (M_2_SQRTPIl): Likewise.
11834 (M_SQRT2l): Likewise.
11835 (M_SQRT1_2l): Likewise.
11837 2012-05-31 David S. Miller <davem@davemloft.net>
11839 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11840 values between float registers.
11841 * sysdeps/sparc/sparc64/memset.S: Likewise.
11842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11844 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11846 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11847 -D_FORTIFY_SOURCE=1.
11848 (CPPFLAGS-tst-longjmp_chk.c): Define.
11849 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11850 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11851 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11852 CFLAGS-tst-wchar-h.c.
11854 2012-05-31 Marek Polacek <polacek@redhat.com>
11857 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11858 __endmntent_internal): Remove declaration.
11859 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11860 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11861 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11863 2012-05-30 David S. Miller <davem@davemloft.net>
11865 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11866 (___Q_simulate_exceptions): Use real FP ops rather than writing
11868 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11871 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11874 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11875 * sysdeps/x86/bits/xtitypes.h: This.
11877 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11878 * sysdeps/x86/bits/wordsize.h: This.
11880 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11881 * sysdeps/x86/bits/huge_vall.h: This.
11883 * sysdeps/i386/bits/select.h: Removed.
11884 * sysdeps/x86_64/bits/select.h: Renamed to ...
11885 * sysdeps/x86/bits/select.h: This.
11887 * sysdeps/i386/bits/setjmp.h: Removed.
11888 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11889 * sysdeps/x86/bits/setjmp.h: This.
11891 * sysdeps/i386/bits/mathdef.h: Removed.
11892 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11893 * sysdeps/x86/bits/mathdef.h: This.
11895 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11898 * include/sys/socket.h (__connect_internal)
11899 (__libc_sa_len_internal): Remove declaration.
11900 (__connect, __libc_sa_len): Declare hidden_proto.
11901 (SA_LEN): Remove use of INTUSE.
11902 * socket/connect.c: Add libc_hidden_def.
11903 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11904 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11905 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11907 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11908 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11909 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11910 of adding _internal alias.
11912 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11915 * sysdeps/i386/bits/link.h: Removed.
11916 * sysdeps/i386/bits/linkmap.h: Likewise.
11917 * sysdeps/x86_64/bits/link.h: Renamed to ...
11918 * sysdeps/x86/bits/link.h: This.
11919 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11920 * sysdeps/x86/bits/linkmap.h: This.
11922 * sysdeps/i386/bits/endian.h: Removed.
11923 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11924 * sysdeps/x86/bits/endian.h: This.
11926 * sysdeps/i386/bits/byteswap.h: Removed.
11927 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11928 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11929 * sysdeps/x86/bits/byteswap.h: This.
11930 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11931 * sysdeps/x86/bits/byteswap-16.h: This.
11932 * sysdeps/i386/Implies: Add x86.
11933 * sysdeps/x86_64/Implies: Likewise.
11935 2012-05-30 David S. Miller <davem@davemloft.net>
11937 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11938 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11939 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11940 (FP_TRAPPING_EXCEPTIONS): Define.
11941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11942 (FP_TRAPPING_EXCEPTIONS): Define.
11943 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11944 subnormals only when inexact has been signalled or underflow
11945 exceptions are enabled.
11946 (_FP_PACK_CANONICAL): Likewise.
11948 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11952 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11954 2012-05-30 Richard Henderson <rth@twiddle.net>
11956 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11957 with #ifndef NOT_IN_libc.
11959 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11960 marked to avoid plt entry.
11962 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11965 * Makeconfig (default-abi): New macro.
11966 (abi-includes): Likewise.
11967 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11968 $(abi-$(default-abi)-lib-soname) for soname if defined.
11969 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11971 * Makefile (installed-stubs): Likewise.
11972 * include/stubs-biarch.h: Removed.
11973 * scripts/lib-names.awk: Only handle one library at a time.
11974 * scripts/soversions.awk: Remove WORDSIZE support.
11975 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11977 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11979 (syscall-list-default-condition): Likewise.
11980 (syscall-list-default-condition): Likewise.
11981 (syscall-list-includes): Likewise.
11982 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11983 syscall-list-* with abi-*. Handle undefined abi-variants.
11984 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11985 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11986 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11987 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11988 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11989 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11991 (syscall-list-32-options): Likewise.
11992 (syscall-list-32-condition): Likewise.
11993 (syscall-list-64-options): Likewise.
11994 (syscall-list-64-condition): Likewise.
11995 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11997 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12000 (abi-64-ld-soname): New macro.
12001 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12002 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12005 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12006 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12008 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12010 * sysdeps/unix/sysv/linux/kernel-features.h
12011 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12012 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12013 include <kernel-features.h>.
12014 [!__NR_ftruncate64]: Remove conditional code.
12015 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12016 [__NR_ftruncate64]: Make code unconditional.
12017 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12018 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12019 include <kernel-features.h>.
12020 [!__NR_ftruncate64]: Remove conditional code.
12021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12022 [__NR_ftruncate64]: Make code unconditional.
12023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12025 include <kernel-features.h>.
12026 [!__NR_ftruncate64]: Remove conditional code.
12027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12028 [__NR_ftruncate64]: Make code unconditional.
12029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12031 include <kernel-features.h>.
12032 [!__NR_ftruncate64]: Remove conditional code.
12033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12034 [__NR_ftruncate64]: Make code unconditional.
12035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12037 * configure.in (libc_cv_fpie): Weaken to a compile test using
12038 LIBC_TRY_CC_OPTION.
12039 * configure: Regenerated.
12041 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12056 2012-05-27 David S. Miller <davem@davemloft.net>
12058 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12060 (__Q_simulate_exceptions): Return void. Change to simulate
12061 exceptions by writing into the %fsr.
12062 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12063 (__Qp_handle_exceptions): Likewise.
12065 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12066 __Qp_handle_exceptions.
12067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12068 __Qp_handle_exceptions.
12069 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12070 as unused and give dummy FP_RND_NEAREST initializer.
12071 (FP_INHIBIT_RESULTS): Define.
12072 (___Q_simulate_exceptions): Update declaration.
12073 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12076 as unused and give dummy FP_RND_NEAREST initializer.
12077 (__Qp_handle_exceptions): Update declaration.
12078 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12081 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12083 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12084 the temporary FPU control word.
12085 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12086 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12087 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12088 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12089 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12090 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12091 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12093 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12094 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12097 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12099 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12102 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12104 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12105 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12106 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12107 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12109 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12110 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12113 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12115 * po/h.po: Update from translation team.
12117 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12119 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12121 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12122 handling of denormals.
12123 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12124 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12126 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12132 2012-05-26 Marek Polacek <polacek@redhat.com>
12135 * math/libm-test.inc (fma_test): Don't always expect underflow
12138 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12141 * elf/tst-execstack.c: Include stackinfo.h.
12142 (do_test): Adjust test case to ensure that pthread_getattr_np
12143 behaviour remains the same after marking stack executable.
12145 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12147 * sysdeps/unix/sysv/linux/kernel-features.h
12148 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12149 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12151 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12152 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12153 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12155 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12156 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12158 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12160 * configure.in: Define the default includes to being none.
12161 * configure: Regenerated.
12163 2012-05-25 Roland McGrath <roland@hack.frob.com>
12165 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12166 * sysdeps/x86_64/setjmp.S: Likewise.
12167 * sysdeps/i386/bsd-setjmp.S: Likewise.
12168 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12169 * sysdeps/i386/setjmp.S: Likewise.
12170 * sysdeps/i386/__longjmp.S: Likewise.
12171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12172 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12174 * include/stap-probe.h: New file.
12175 * configure.in: Handle --enable-systemtap.
12176 * configure: Regenerated.
12177 * config.h.in (USE_STAP_PROBE): New #undef.
12178 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12179 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12180 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12182 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12186 to 2.4.0 where earlier.
12187 * sysdeps/unix/sysv/linux/configure: Regenerated.
12188 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12189 <kernel-features.h>.
12190 [__ASSUME_32BITUIDS]: Make code unconditional.
12191 [!__ASSUME_32BITUIDS]: Remove conditional code.
12192 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12193 <kernel-features.h>.
12194 [__ASSUME_32BITUIDS]: Make code unconditional.
12195 [!__ASSUME_32BITUIDS]: Remove conditional code.
12196 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12197 [__ASSUME_32BITUIDS]: Make code unconditional.
12198 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12199 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12200 <kernel-features.h>.
12201 [__ASSUME_32BITUIDS]: Make code unconditional.
12202 [!__ASSUME_32BITUIDS]: Remove conditional code.
12203 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12204 <kernel-features.h>.
12205 [__ASSUME_32BITUIDS]: Make code unconditional.
12206 [!__ASSUME_32BITUIDS]: Remove conditional code.
12207 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12208 <kernel-features.h>.
12209 [__ASSUME_32BITUIDS]: Make code unconditional.
12210 [!__ASSUME_32BITUIDS]: Remove conditional code.
12211 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12212 <kernel-features.h>.
12213 [__ASSUME_32BITUIDS]: Make code unconditional.
12214 [!__ASSUME_32BITUIDS]: Remove conditional code.
12215 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12216 <kernel-features.h>.
12217 [__ASSUME_32BITUIDS]: Make code unconditional.
12218 [!__ASSUME_32BITUIDS]: Remove conditional code.
12219 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12220 <kernel-features.h>.
12221 [__ASSUME_32BITUIDS]: Make code unconditional.
12222 [!__ASSUME_32BITUIDS]: Remove conditional code.
12223 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12224 <kernel-features.h>.
12225 [__ASSUME_32BITUIDS]: Make code unconditional.
12226 [!__ASSUME_32BITUIDS]: Remove conditional code.
12227 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12228 <kernel-features.h>.
12229 [__ASSUME_32BITUIDS]: Make code unconditional.
12230 [!__ASSUME_32BITUIDS]: Remove conditional code.
12231 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12232 <kernel-features.h>.
12233 [__ASSUME_32BITUIDS]: Make code unconditional.
12234 [!__ASSUME_32BITUIDS]: Remove conditional code.
12235 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12236 <kernel-features.h>.
12237 [__ASSUME_32BITUIDS]: Make code unconditional.
12238 [!__ASSUME_32BITUIDS]: Remove conditional code.
12239 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12240 <kernel-features.h>.
12241 [__NR_setresgid] (__setresgid): Do not declare.
12242 [__ASSUME_32BITUIDS]: Make code unconditional.
12243 [!__ASSUME_32BITUIDS]: Remove conditional code.
12244 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12245 <kernel-features.h>.
12246 [__NR_setresuid] (__setresuid): Do not declare.
12247 [__ASSUME_32BITUIDS]: Make code unconditional.
12248 [!__ASSUME_32BITUIDS]: Remove conditional code.
12249 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12250 <kernel-features.h>.
12251 [__ASSUME_32BITUIDS]: Make code unconditional.
12252 [!__ASSUME_32BITUIDS]: Remove conditional code.
12253 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12254 <kernel-features.h>.
12255 [__ASSUME_32BITUIDS]: Make code unconditional.
12256 [!__ASSUME_32BITUIDS]: Remove conditional code.
12257 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12258 <kernel-features.h>.
12259 [__ASSUME_32BITUIDS]: Make code unconditional.
12260 [!__ASSUME_32BITUIDS]: Remove conditional code.
12261 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12262 <kernel-features.h>.
12263 [__ASSUME_32BITUIDS]: Make code unconditional.
12264 [!__ASSUME_32BITUIDS]: Remove conditional code.
12265 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12266 <kernel-features.h>.
12267 [__ASSUME_32BITUIDS]: Make code unconditional.
12268 [!__ASSUME_32BITUIDS]: Remove conditional code.
12269 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12270 <kernel-features.h>.
12271 [__ASSUME_32BITUIDS]: Make code unconditional.
12272 [!__ASSUME_32BITUIDS]: Remove conditional code.
12273 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12274 <kernel-features.h>.
12275 [__ASSUME_32BITUIDS]: Make code unconditional.
12276 [!__ASSUME_32BITUIDS]: Remove conditional code.
12277 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12278 <kernel-features.h>.
12279 [__ASSUME_32BITUIDS]: Make code unconditional.
12280 [!__ASSUME_32BITUIDS]: Remove conditional code.
12281 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12282 <kernel-features.h>.
12283 [__ASSUME_32BITUIDS]: Make code unconditional.
12284 [!__ASSUME_32BITUIDS]: Remove conditional code.
12285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12286 <kernel-features.h>.
12287 [__ASSUME_32BITUIDS]: Make code unconditional.
12288 [!__ASSUME_32BITUIDS]: Remove conditional code.
12289 * sysdeps/unix/sysv/linux/kernel-features.h
12290 (__ASSUME_SETRESUID_SYSCALL): Remove.
12291 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12292 (__ASSUME_32BITUIDS): Likewise.
12293 (__ASSUME_LDT_WORKS): Likewise.
12294 (__ASSUME_O_DIRECTORY): Likewise.
12295 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12296 architecture but not kernel version.
12297 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12298 (__ASSUME_MMAP2_SYSCALL): Likewise.
12299 (__ASSUME_STAT64_SYSCALL): Likewise.
12300 (__ASSUME_IPC64): Likewise.
12301 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12302 <kernel-features.h>.
12303 [__ASSUME_32BITUIDS]: Make code unconditional.
12304 [!__ASSUME_32BITUIDS]: Remove conditional code.
12305 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12306 <kernel-features.h>.
12307 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12308 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12309 132096]: Remove conditional code.
12310 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12311 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12312 <kernel-features.h>.
12313 [__ASSUME_32BITUIDS]: Make code unconditional.
12314 [!__ASSUME_32BITUIDS]: Remove conditional code.
12315 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12316 <kernel-features.h>.
12317 [__ASSUME_32BITUIDS]: Make code unconditional.
12318 [!__ASSUME_32BITUIDS]: Remove conditional code.
12319 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12320 <kernel-features.h>.
12321 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12323 (__setresgid): Do not declare.
12324 [__ASSUME_32BITUIDS]: Make code unconditional.
12325 [!__ASSUME_32BITUIDS]: Remove conditional code.
12326 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12327 <kernel-features.h>.
12328 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12330 (__setresuid): Do not declare.
12331 [__ASSUME_32BITUIDS]: Make code unconditional.
12332 [!__ASSUME_32BITUIDS]: Remove conditional code.
12333 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12334 <kernel-features.h>.
12335 [__ASSUME_32BITUIDS]: Make code unconditional.
12336 [!__ASSUME_32BITUIDS]: Remove conditional code.
12337 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12338 <kernel-features.h>.
12339 [__ASSUME_32BITUIDS]: Make code unconditional.
12340 [!__ASSUME_32BITUIDS]: Remove conditional code.
12342 2012-05-25 Richard Henderson <rth@twiddle.net>
12344 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12345 dl_hwcap to ifunc resolver.
12346 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12348 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12349 dl_hwcap to ifunc resolver.
12350 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12352 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12355 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12356 for |x| <= 2**-26, not 2**-57.
12357 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12360 2012-05-24 Jeff Law <law@redhat.com>
12362 * stdio-common/Makefile (tests): Add bug25.
12363 * stdio-common/bug25.c: New test.
12365 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12368 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12369 multiple of MALLOC_ALIGNMENT in size.
12370 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12372 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12374 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12376 (FILENAME_MAX): Use macro-int-constant.
12377 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12378 (_IOFBF): Use macro-int-constant.
12379 (_IOLBF): Likewise.
12380 (_IONBF): Likewise.
12381 (SEEK_CUR): Likewise.
12382 (SEEK_END): Likewise.
12383 (SEEK_SET): Likewise.
12384 (TMP_MAX): Likewise.
12385 (EOF): Use macro-int-constant. Require < 0.
12386 (NULL): Use macro-constant. Require == 0.
12387 (stdin): Require type to be FILE *.
12388 (stdout): Likewise.
12389 (stderr): Likewise.
12390 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12391 macro-int-constant.
12392 (EXIT_SUCCESS): Likewise.
12393 (NULL): Use macro-constant. Require == 0.
12394 (RAND_MAX): Use macro-int-constant.
12395 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12396 [C99-based standards] (strtof): Require function.
12397 [C99-based standards] (strtold): Likewise.
12398 [C99-based standards] (strtoll): Likewise.
12399 [C99-based standards] (strtoull): Likewise.
12400 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12401 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12402 [ISO || ISO99 || ISO11] (math.h): Likewise.
12403 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12404 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12407 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12410 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12411 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12412 * intl/dgettext.c (DCGETTEXT): Likewise.
12413 * intl/gettext.c (DCGETTEXT): Likewise.
12414 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12415 * posix/regex_internal.h (gettext): Likewise.
12416 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12417 Remove declaration.
12418 * include/argz.h (__argz_count_internal)
12419 (__argz_stringify_internal): Remove declaration.
12420 (__argz_count, __argz_stringify): Declare hidden proto.
12421 * intl/dcgettext.c: Remove use of INTDEF.
12422 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12423 * string/argz-stringify.c: Likewise.
12424 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12425 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12426 Declare hidden proto.
12427 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12428 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12429 Declare hidden proto.
12430 * include/stdio.h (__asprintf_internal): Don't declare.
12431 (__asprintf): Don't define as macro. Declare hidden proto.
12432 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12433 (__fsetlocking): Declare hidden proto.
12434 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12435 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12437 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12438 (_IO_setlinebuf): Remove use of INTUSE.
12439 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12440 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12441 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12442 Remove declaration.
12443 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12444 (_IO_do_flush): Remove use of INTUSE.
12445 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12446 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12447 (_IO_adjust_column, _IO_least_wmarker)
12448 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12449 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12450 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12451 (_IO_default_doallocate, _IO_wdefault_doallocate)
12452 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12453 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12454 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12455 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12456 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12457 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12458 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12459 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12460 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12461 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12462 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12463 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12464 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12466 (_IO_flush_all_internal, _IO_adjust_column_internal)
12467 (_IO_default_uflow_internal, _IO_default_finish_internal)
12468 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12469 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12470 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12471 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12472 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12473 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12474 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12475 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12476 (_IO_file_close_internal, _IO_file_close_it_internal)
12477 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12478 (_IO_file_init_internal, _IO_file_attach_internal)
12479 (_IO_file_fopen_internal, _IO_file_read_internal)
12480 (_IO_file_sync_internal, _IO_file_seek_internal)
12481 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12482 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12483 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12484 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12485 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12486 (_IO_list_all_internal, _IO_link_in_internal)
12487 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12488 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12489 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12490 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12491 (_IO_do_write_internal, _IO_padn_internal)
12492 (_IO_getline_info_internal, _IO_getline_internal)
12493 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12494 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12495 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12496 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12497 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12498 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12499 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12500 with libc_hidden_ver, remove use of INTUSE.
12501 * libio/genops.c: Likewise.
12502 * libio/freopen.c: Likewise.
12503 * libio/freopen64.c: Likewise.
12504 * libio/iofclose.c: Likewise.
12505 * libio/iofdopen.c: Likewise.
12506 * libio/iofflush.c: Likewise.
12507 * libio/iofflush_u.c: Likewise.
12508 * libio/iofgets.c: Likewise.
12509 * libio/iofgets_u.c: Likewise.
12510 * libio/iofopen.c: Likewise.
12511 * libio/iofopncook.c: Likewise.
12512 * libio/iofread.c: Likewise.
12513 * libio/iofread_u.c: Likewise.
12514 * libio/ioftell.c: Likewise.
12515 * libio/iofwrite.c: Likewise.
12516 * libio/iogetline.c: Likewise.
12517 * libio/iogets.c: Likewise.
12518 * libio/iogetwline.c: Likewise.
12519 * libio/iopadn.c: Likewise.
12520 * libio/iopopen.c: Likewise.
12521 * libio/ioseekoff.c: Likewise.
12522 * libio/ioseekpos.c: Likewise.
12523 * libio/iosetbuffer.c: Likewise.
12524 * libio/iosetvbuf.c: Likewise.
12525 * libio/ioungetc.c: Likewise.
12526 * libio/ioungetwc.c: Likewise.
12527 * libio/iovdprintf.c: Likewise.
12528 * libio/iovsprintf.c: Likewise.
12529 * libio/iovsscanf.c: Likewise.
12530 * libio/memstream.c: Likewise.
12531 * libio/obprintf.c: Likewise.
12532 * libio/oldfileops.c: Likewise.
12533 * libio/oldiofclose.c: Likewise.
12534 * libio/oldiofdopen.c: Likewise.
12535 * libio/oldiofopen.c: Likewise.
12536 * libio/oldiopopen.c: Likewise.
12537 * libio/oldstdfiles.c: Likewise.
12538 * libio/putc.c: Likewise.
12539 * libio/setbuf.c: Likewise.
12540 * libio/setlinebuf.c: Likewise.
12541 * libio/stdfiles.c: Likewise.
12542 * libio/strops.c: Likewise.
12543 * libio/vasprintf.c: Likewise.
12544 * libio/vscanf.c: Likewise.
12545 * libio/vsnprintf.c: Likewise.
12546 * libio/vswprintf.c: Likewise.
12547 * libio/wfiledoalloc.c: Likewise.
12548 * libio/wfileops.c: Likewise.
12549 * libio/wgenops.c: Likewise.
12550 * libio/wmemstream.c: Likewise.
12551 * libio/wstrops.c: Likewise.
12552 * libio/__fpurge.c: Likewise.
12553 * libio/__fsetlocking.c: Likewise.
12554 * assert/assert.c: Likewise.
12555 * debug/fgets_chk.c: Likewise.
12556 * debug/fgets_u_chk.c: Likewise.
12557 * debug/fread_chk.c: Likewise.
12558 * debug/fread_u_chk.c: Likewise.
12559 * debug/gets_chk.c: Likewise.
12560 * debug/obprintf_chk.c: Likewise.
12561 * debug/vasprintf_chk.c: Likewise.
12562 * debug/vdprintf_chk.c: Likewise.
12563 * debug/vsnprintf_chk.c: Likewise.
12564 * debug/vsprintf_chk.c: Likewise.
12565 * malloc/mtrace.c: Likewise.
12566 * misc/error.c: Likewise.
12567 * misc/syslog.c: Likewise.
12568 * stdio-common/asprintf.c: Likewise.
12569 * stdio-common/fxprintf.c: Likewise.
12570 * stdio-common/getw.c: Likewise.
12571 * stdio-common/isoc99_fscanf.c: Likewise.
12572 * stdio-common/isoc99_scanf.c: Likewise.
12573 * stdio-common/isoc99_vfscanf.c: Likewise.
12574 * stdio-common/isoc99_vscanf.c: Likewise.
12575 * stdio-common/isoc99_vsscanf.c: Likewise.
12576 * stdio-common/printf-prs.c: Likewise.
12577 * stdio-common/printf_fp.c: Likewise.
12578 * stdio-common/printf_fphex.c: Likewise.
12579 * stdio-common/printf_size.c: Likewise.
12580 * stdio-common/putw.c: Likewise.
12581 * stdio-common/scanf.c: Likewise.
12582 * stdio-common/sprintf.c: Likewise.
12583 * stdio-common/tmpfile.c: Likewise.
12584 * stdio-common/vfprintf.c: Likewise.
12585 * stdio-common/vfscanf.c: Likewise.
12586 * stdlib/strfmon_l.c: Likewise.
12587 * sunrpc/openchild.c: Likewise.
12588 * sunrpc/xdr_stdio.c: Likewise.
12589 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12590 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12592 2012-05-24 Roland McGrath <roland@hack.frob.com>
12594 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12596 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12597 in the third column, to generate for the shared library an IFUNC
12598 that uses _dl_vdso_vsym.
12599 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12600 * Makeconfig (object-suffixes-noshared): New variable.
12602 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12603 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12604 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12605 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12608 * include/sys/time.h (__gettimeofday): Remove macro.
12609 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12610 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12612 (__gettimeofday): Add libc_hidden_def.
12613 (gettimeofday): Add libc_hidden_weak.
12614 * sysdeps/mach/gettimeofday.c: Likewise.
12615 * sysdeps/posix/gettimeofday.c: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12617 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12619 (__gettimeofday_internal): Remove strong_alias.
12620 (__gettimeofday): Add libc_hidden_def.
12621 (gettimeofday): Add libc_hidden_weak.
12622 * sysdeps/unix/syscalls.list (gettimeofday):
12623 Remove __gettimeofday_internal alias.
12625 2012-05-24 Daniel Jacobowitz <drow@false.org>
12626 H.J. Lu <hongjiu.lu@intel.com>
12629 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12630 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12631 (largebin_index_32_big): New.
12632 (largebin_index): Use it for 16-byte alignment.
12633 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12634 correction with front_misalign.
12636 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12664 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12665 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12667 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12671 * math/libm-test.inc (exp_test): Add test from bug 14036.
12672 (pow_test): Add test from bug 10846.
12674 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12676 (special_function): Do not include flags in test name.
12677 (parse_args): Likewise.
12678 * sysdeps/i386/fpu/libm-test-ulps: Update.
12679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12680 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12681 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12684 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12686 * math/libm-test.inc ("Philosophy"): Update comment about
12688 (UNDERFLOW_EXCEPTION): New macro.
12689 (UNDERFLOW_EXCEPTION_OK): Likewise.
12690 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12691 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12692 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12693 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12694 (INVALID_EXCEPTION_OK): Update value.
12695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12696 (OVERFLOW_EXCEPTION_OK): Likewise.
12697 (IGNORE_ZERO_INF_SIGN): Likewise.
12698 (test_exceptions): Handle underflow exceptions.
12699 (acos_test): Update for underflow exception expectations.
12700 (cexp_test): Likewise.
12701 (clog_test): Likewise.
12702 (clog10_test): Likewise.
12703 (csqrt_test): Likewise.
12704 (ctan_test): Likewise.
12705 (ctanh_test): Likewise.
12706 (exp_test): Likewise.
12707 (exp10_test): Likewise.
12708 (exp2_test): Likewise.
12709 (expm1_test): Likewise.
12710 (fma_test): Likewise.
12711 (j0_test): Likewise.
12712 (jn_test): Likewise.
12713 (nexttoward_test): Likewise.
12714 (pow_test): Likewise.
12715 (scalbn_test): Likewise.
12716 (scalbln_test): Likewise.
12717 (tan_test): Likewise.
12718 (y1_test): Likewise.
12719 * sysdeps/i386/fpu/libm-test-ulps: Update.
12720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12722 2012-05-23 David S. Miller <davem@davemloft.net>
12724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12725 (__libc_sigaction): Remove unused local variables.
12727 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12729 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12731 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12733 mktime: avoid signed integer overflow
12734 * time/mktime.c (__mktime_internal): Do not mishandle the case
12735 where diff == INT_MIN.
12737 mktime: simplify computation of average
12738 * time/mktime.c (ranged_convert): Use new time_t_avg function
12739 instead of rolling our own (probably-slower) code.
12741 mktime: do not assume signed right shift propagates sign bit
12742 * time/mktime.c (isdst_differ): New static function.
12743 (__mktime_internal): No need to normalize tm_isdst now.
12744 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12747 mktime: merge another wrapv change from gnulib
12748 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12749 from some compilers.
12751 mktime: remove incorrect attempt at unusual arithmetics
12752 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12753 The code didn't really work on such machines anyway.
12754 (TYPE_MINIMUM): Assume two's complement.
12755 (twos_complement_arithmetic): Verify that long_int and time_t
12756 are two's complement (or unsigned, in the latter case).
12758 mktime: check signed shifts on long_int and time_t, too
12759 * time/mktime.c (SHR): Check that shifts work as desired
12760 on the types long_int and time_t too, as SHR is used on
12763 mktime: do not assume 'long' is wide enough
12764 * time/mktime.c (verify): Move decl up.
12765 (long_int): New type.
12766 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12767 to remove assumption in the code that 'long' is wide enough to
12768 store year values. This assumption is not true on x32 and on
12769 some non-glibc platforms.
12771 mktime: merge wrapv change from gnulib
12772 * time/mktime.c (WRAPV): New macro.
12773 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12774 (guess_time_tm, __mktime_internal): Do not assume that signed
12775 integer overflow wraps around; modern compilers generate code
12776 where this assumption is no longer valid.
12778 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12780 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12781 Replace "jmp L(pseudo_end)" with "ret".
12782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12785 2012-05-23 Andreas Jaeger <aj@suse.de>
12787 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12788 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12790 2012-05-23 Andreas Jaeger <aj@suse.de>
12791 Maximilian Attems <max@stro.at>
12793 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12796 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12799 code so that pseudo_end is just ret and the stack pointer is
12800 correct also for static library in error case.
12802 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12804 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12805 move to syscalls.list.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12811 * manual/install.texi (Running make install): Do not mention Linux
12812 kernel version for which pt_chown is not needed.
12813 (Linux): Do not mention problems with nscd with 2.0 kernels.
12814 * INSTALL: Regenerated.
12816 2012-05-23 Andreas Jaeger <aj@suse.de>
12818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12819 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12821 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12822 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12823 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12825 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12826 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12829 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12830 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12831 * sysdeps/unix/sysv/linux/bits/in.h
12832 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12834 2012-05-22 Roland McGrath <roland@hack.frob.com>
12836 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12837 (PREPARE_VERSION): Just use assert instead, it will be elided
12838 under [NDEBUG] anyway.
12840 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12842 * sysdeps/unix/sysv/linux/Makefile: Include
12843 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12844 (sysdep_routines): Remove sysctl.
12845 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12846 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12847 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12848 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12849 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12851 2012-05-22 Andreas Jaeger <aj@suse.de>
12853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12854 that pseudo_end is just ret and the stack pointer is correct also
12855 for static library in error case.
12857 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12860 * nss/nsswitch.c (defconfig_entries): New variable.
12861 (__nss_database_lookup): Don't leak defconfig entries.
12862 (nss_parse_service_list): Don't leak on error paths.
12863 (free_database_entries): New function.
12864 (free_defconfig): New function.
12865 (free_mem): Move common code to free_database_entries.
12867 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12869 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12871 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12873 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12874 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12877 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12878 (INTERNAL_SYSCALL_TYPES): Likewise.
12879 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12880 (LOAD_REGS_TYPES_[1-6]): Likewise.
12881 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12882 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12884 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12886 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12887 copysignl for GLIBC_2_0.
12888 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12889 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12891 logbl for GLIBC_2_0.
12892 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12893 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12895 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12900 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12903 * time/mktime.c: Update copyright years.
12905 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12907 mktime: merge comment-quoting-style change from gnulib
12908 * time/mktime.c: Quote 'like this' in comments.
12909 The GNU coding standards suggest that we no longer quote `like this',
12910 as "`" and "'" are typically rendered asymmetrically nowadays.
12911 The typical gnulib style is to quote 'like this' when quoting
12912 code, and "like this" when quoting English.
12914 * time/mktime.c (compile-command): Add "-I.".
12916 mktime: merge mktime-internal.h change from gnulib
12917 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12919 mktime: merge time_r change from gnulib
12920 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12922 mktime: merge DEBUG change from gnulib
12923 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12924 case system <time.h> has a #define.
12926 mktime: merge <sys/types.h> change from gnulib
12927 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12928 since <time.t> is now guaranteed to define time_t.
12930 mktime: merge HAVE_CONFIG_H change from gnulib
12931 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12933 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12938 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12940 (struct rusage): Use anonymous union to pad each field to
12943 2012-05-21 David S. Miller <davem@davemloft.net>
12945 * Makefules (o-iterator): Remove .s cases.
12946 (compile-command.s): Delete.
12947 (COMPILE.s): Delete.
12948 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12950 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12952 * configure.in (libc_cv_predef_stack_protector): Only consider
12953 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12954 * configure: Regenerated.
12956 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12959 New macro. Use R*LP on int and pointer.
12960 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12961 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12962 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12963 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12965 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12966 [__WORDSIZE_TIME64_COMPAT32] instead of
12967 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12968 (struct utmp): Likewise.
12969 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12970 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12972 (__WORDSIZE_TIME64_COMPAT32): This.
12973 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12974 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12975 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12976 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12977 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12978 (__WORDSIZE_TIME64_COMPAT32): New macro.
12980 2012-05-21 Andreas Jaeger <aj@suse.de>
12982 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12983 only if [SHARED]. Add prototype for __wcschr_ia32.
12985 2012-05-21 Roland McGrath <roland@hack.frob.com>
12987 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12988 of %rbp unmolested in the jmp_buf while mangling the low bits.
12989 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12990 unmolested high bits of %rbp while demangling the low bits.
12991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12993 2012-05-21 Andreas Jaeger <aj@suse.de>
12995 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12996 * sunrpc/svc_simple.c: Use it for registerrpc.
12997 * sunrpc/xcrypt.c: Use it for passwd2des.
12999 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13001 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13003 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13004 Don't define if [__SYSCALL_WORDSIZE != 32].
13005 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13008 2012-05-21 Bruno Haible <bruno@clisp.org>
13009 Andreas Jaeger <aj@suse.de>
13011 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13012 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13013 inptr and inend for must_buffer_ch.
13014 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13015 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13016 * stdio-common/Makefile (tests): Remove bug15.
13017 (bug15-ENV): Remove macro.
13018 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13021 2012-05-19 Andreas Jaeger <aj@suse.de>
13022 Roland McGrath <roland@hack.frob.com>
13024 * manual/contrib.texi: Completely rewritten. It contains now an
13025 alphabetical list of contributors and their contributions.
13027 2012-05-21 Richard Henderson <rth@twiddle.net>
13029 * misc/getauxval.c (__getauxval): Use unsigned long int.
13030 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13031 (getauxval): Use unsigned long int.
13033 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13035 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13037 2012-05-21 Roland McGrath <roland@hack.frob.com>
13039 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13040 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13041 __alignof__ (long double).
13043 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13047 2012-05-20 Richard Henderson <rth@twiddle.net>
13049 * misc/getauxval.c: New file.
13050 * misc/sys/auxv.h: New file.
13051 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13052 (routines): Add getauxval.
13053 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13054 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13055 * elf/dl-sysdep.c (_dl_auxv): Remove.
13056 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13057 * elf/dl-support.c (_dl_auxv): New variable.
13058 (_dl_aux_init): Initialize it.
13059 * manual/startup.texi (Auxiliary Vector): New node.
13060 * sysdeps/generic/bits/hwcap.h: New file.
13061 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13062 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13063 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13064 * sysdeps/sparc/sysdep.h: ... here. Include it.
13065 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13066 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13072 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13078 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13082 2012-05-19 David S. Miller <davem@davemloft.net>
13084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13086 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13089 * math/s_ccosh.c: Include <float.h>
13090 (__ccosh): Avoid internal overflow calculating sinh and cosh
13091 values before multiplying by sin and cos values.
13092 * math/s_ccoshf.c: Likewise.
13093 * math/s_ccoshl.c: Likewise.
13094 * math/s_csin.c: Likewise.
13095 * math/s_csinf.c: Likewise.
13096 * math/s_csinl.c: Likewise.
13097 * math/s_csinh.c: Likewise.
13098 * math/s_csinhf.c: Likewise.
13099 * math/s_csinhl.c: Likewise.
13100 * math/libm-test.inc (ccos_test): Add more tests.
13101 (ccosh_test): Likewise.
13102 (csin_test): Likewise.
13103 (csinh_test): Likewise.
13104 * sysdeps/i386/fpu/libm-test-ulps: Update.
13105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13107 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13109 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13110 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13112 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13114 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13116 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13117 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13118 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13119 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13120 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13121 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13122 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13123 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13124 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13125 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13126 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13127 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13128 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13129 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13130 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13131 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13132 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13133 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13134 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13135 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13136 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13137 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13138 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13139 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13140 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13141 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13142 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13143 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13144 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13145 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13146 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13148 2012-05-18 Andreas Jaeger <aj@suse.de>
13150 * csu/.gitignore: Delete.
13152 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13154 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13155 (timex): Use __syscall_slong_t.
13157 2012-05-18 Andreas Jaeger <aj@suse.de>
13158 Carlos O'Donell <carlos_odonell@mentor.com>
13160 * manual/install.texi (Configuring and compiling): Update
13161 description about files modified in the source directory.
13162 * INSTALL: Regenerated.
13164 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13166 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13167 value. Use "or" to set return value to -1.
13168 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13169 negate return value.
13171 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13173 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13174 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13175 failure if the compiler has Graphite support disabled.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13178 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13179 CFLAGS-memmove.c): Likewise.
13180 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13183 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13185 * sysdeps/x86_64/x32/_itoa.h: New file.
13187 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13188 getdents system call only if kernel and user dirents have the
13189 same d_ino and d_off.
13191 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13192 LLONG_MAX != LONG_MAX.
13193 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13194 (_fitoa_word): Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13203 include <bits/wordsize.h>. Check __x86_64__ instead of
13205 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13206 if __x86_64__ is defined. Use anonymous union on fpstate.
13208 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13211 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13213 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13214 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13216 Refer to _rtld_local_ro instead of _rtld_global_ro.
13217 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13219 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13221 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13223 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13224 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13225 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13227 * sysdeps/powerpc/powerpc32/dl-machine.c
13228 (__elf_machine_runtime_setup) [PROF]: Don't reference
13231 2012-05-18 Andreas Jaeger <aj@suse.de>
13233 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13234 function only available for GCCs before 3.4 since GCC 3.4
13235 introduced a builtin.
13237 (llrintf): Likewise.
13238 (llrint): Likewise.
13245 (nearbyint): Likewise.
13246 (nearbyintf): Likewise.
13250 (floorf): Likewise.
13252 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13254 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13255 on both fields and cast pointer to __syscall_ulong_t.
13257 * bits/types.h (__fsword_t): New type.
13258 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13259 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13261 (__FSWORD_T_TYPE): Likewise.
13262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13263 (__FSWORD_T_TYPE): Likewise.
13264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13265 (__FSWORD_T_TYPE): Likewise.
13266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13267 (__FSWORD_T_TYPE): Likewise.
13268 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13269 __SWORD_TYPE with __fsword_t.
13270 (statfs64): Likewise.
13272 2012-05-17 David S. Miller <davem@davemloft.net>
13274 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13276 2012-05-17 Andreas Jaeger <aj@suse.de>
13278 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13281 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13283 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13285 2012-05-17 Andreas Jaeger <aj@suse.de>
13287 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13290 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13292 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13294 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13296 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13297 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13299 2012-05-17 Andreas Jaeger <aj@suse.de>
13300 Carlos O'Donell <carlos_odonell@mentor.com>
13303 * sysdeps/x86_64/multiarch/init-arch.h
13304 (bit_YMM_Usable): Rename to...
13305 (bit_AVX_Usable): ... this.
13306 (bit_FMA4_Usable): New macro.
13307 (bit_XMM_state): New macro.
13308 (bit_YMM_state): New macro.
13309 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13310 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13311 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13312 (CPUID_OSXSAVE): New macro.
13313 (CPUID_AVX): New macro.
13314 (CPUID_FMA4): New macro.
13315 (index_YMM_Usable): Rename to...
13316 (index_AVX_Usable): ... this.
13317 (HAS_AVX): Use HAS_ARCH_FEATURE.
13318 (HAS_FMA4): Likewise.
13319 (HAS_YMM_USABLE): Remove.
13320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13321 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13323 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13324 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13325 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13326 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13327 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13329 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13331 * math/libm-test.c: Support platforms without multiple rounding modes.
13332 * math/bug-nextafter.c: Support platforms without FP exceptions.
13333 * math/bug-nexttoward.c: Likewise.
13334 * math/test-fenv.c: Likewise.
13335 * math/test-misc.c: Likewise.
13336 * stdlib/bug-getcontext.c: Likewise.
13338 2012-05-17 Andreas Jaeger <aj@suse.de>
13340 * manual/examples/search.c (critter_cmp): Change signature to
13342 * manual/string.texi (Collation Functions): Likewise.
13344 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13346 * bits/types.h: Fold copyright years.
13347 * bits/typesizes.h: Likewise.
13348 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13352 * time/time.h: Likewise.
13354 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13357 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13358 in instead of returning them. Return void.
13359 (__libc_mallinfo): Accumulate over all arenas.
13360 (__malloc_stats): Adjust for change in int_mallinfo interface.
13362 2012-05-16 Roland McGrath <roland@hack.frob.com>
13365 * configure.in (NM): Add AC_CHECK_TOOL for it.
13366 (libc_extra_cflags): New substituted variable.
13367 Check for -fstack-protector being used implicitly.
13368 * configure: Regenerated.
13369 * config.make.in (config-extra-cflags): New variable,
13370 gets @libc_extra_cflags@.
13371 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13374 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13375 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13376 * configure: Regenerated.
13377 * config.make.in (CPPUNDEFS): New substituted variable.
13378 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13379 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13380 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13382 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13384 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13385 (mq_attr): Use __syscall_slong_t.
13387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13389 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13390 Check __x86_64__ instead of __WORDSIZE.
13391 (_STAT_VER_LINUX): Likewise.
13392 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13393 __syscall_ulong_t and __syscall_slong_t.
13394 (stat64): Likewise.
13396 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13400 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13402 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13404 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13406 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13409 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13410 include <bits/wordsize.h>. Check __x86_64__ instead of
13412 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13414 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13417 include <bits/wordsize.h>. Check __x86_64__ instead of
13419 (user_regs_struct): Use "__extension__ unsigned long long"
13420 instead of "unsigned long" if __x86_64__ is defined.
13421 (user): Likewise. Pad after pointer field if __ILP32__ is
13424 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13426 * configure.in (makeinfo): Require version 4.5 or later. Allow
13428 * configure: Regenerated.
13429 * manual/install.texi (texinfo): Increase version requirement to
13431 * INSTALL: Regenerated.
13433 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13435 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13437 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13439 * sysdeps/x86_64/x32/ffs.c: New file.
13441 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13443 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13444 defined. Use __syscall_ulong_t.
13445 (shminfo): Use __syscall_ulong_t.
13446 (shm_info): Likewise.
13448 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13451 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13453 (msgqnum_t): Use __syscall_ulong_t.
13454 (msglen_t): Likewise.
13455 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13458 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13459 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13461 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13463 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13464 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13466 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13469 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13470 include <bits/wordsize.h>. Check __x86_64__ instead of
13473 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13474 "unsigned long long int" if __x86_64__ is defined.
13475 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13477 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13478 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13479 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13481 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13483 (GET_PC): Cast to uintptr_t first.
13484 (GET_FRAME): Likewise.
13485 (GET_STACK): Likewise.
13487 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13488 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13489 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13490 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13492 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13493 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13494 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13495 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13496 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13497 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13499 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13502 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13503 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13505 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13507 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13508 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13509 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13510 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13511 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13513 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13515 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13517 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13519 * Makerules (+depfiles): Also collect depfiles from .oS in
13521 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13522 .oS, $(libnldbl-routines)).
13524 * Makerules (native-compile-mkdep-flags): Define.
13525 * sunrpc/Makefile (extra-objs): Add $(addprefix
13526 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13527 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13528 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13529 calling $(make-target-directory).
13531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13533 * bits/types.h (__snseconds_t): Removed.
13534 * time/time.h (struct timespec): Replace __snseconds_t with
13536 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13537 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13540 (__SNSECONDS_T_TYPE): Likewise.
13541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13542 (__SNSECONDS_T_TYPE): Likewise.
13543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13544 (__SNSECONDS_T_TYPE): Likewise.
13546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13548 * sysdeps/mach/hurd/bits/typesizes.h
13549 (__SYSCALL_SLONG_TYPE): New macro.
13550 (__SYSCALL_ULONG_TYPE): Likewise.
13552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13554 * bits/types.h (__syscall_slong_t): New type.
13555 (__syscall_ulong_t): Likewise.
13557 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13558 (__SYSCALL_ULONG_TYPE): Likewise.
13559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13560 (__SYSCALL_SLONG_TYPE): Likewise.
13561 (__SYSCALL_ULONG_TYPE): Likewise.
13562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13563 (__SYSCALL_SLONG_TYPE): Likewise.
13564 (__SYSCALL_ULONG_TYPE): Likewise.
13565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13566 (__SYSCALL_SLONG_TYPE): Likewise.
13567 (__SYSCALL_ULONG_TYPE): Likewise.
13569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13571 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13572 Add sigaltstack-offsets.sym.
13573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13574 <sigaltstack-offsets.h>.
13575 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13576 longjmp_msg pointer.
13577 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13578 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13580 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13582 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13584 * elf/stackguard-macros.h: Remove file.
13585 * sysdeps/generic/stackguard-macros.h: New file.
13586 * sysdeps/i386/stackguard-macros.h: Likewise.
13587 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13588 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13589 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13590 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13591 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13592 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13593 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13594 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13595 <elf/stackguard-macros.h>.
13598 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13599 __aligned__ in attribute.
13600 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13601 (gregset_t): Likewise.
13603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13605 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13606 * sysdeps/x86_64/64/Implies-after: Here. New file.
13607 * sysdeps/x86_64/x32/Implies-after: New file.
13609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13611 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13612 and access return value for _dl_profile_fixup. Use R10_LP to
13615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13617 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13621 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13622 * sysdeps/x86_64/x32/sysdep.h: New file.
13624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13626 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13627 * sysdeps/x86_64/setjmp.S: Likewise.
13629 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13632 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13633 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13635 remove unused global constant.
13637 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13639 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13640 include of <not-cancel.h>.
13642 2012-05-15 Roland McGrath <roland@hack.frob.com>
13644 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13646 2012-05-15 Jeff Law <law@redhat.com>
13647 Andreas Jaeger <aj@suse.de>
13650 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13652 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13653 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13654 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13655 code changing __hst_map_handle.map.
13657 2012-05-15 Roland McGrath <roland@hack.frob.com>
13659 * configure.in (sysnames): Look for Implies-before and Implies-after
13661 * configure: Regenerated.
13663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13665 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13666 8-byte data alignment with LP_SIZE alignment.
13668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13670 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13675 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13679 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13680 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13681 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13687 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13688 (stackinfo_sub_sp): Likewise.
13690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13692 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13707 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13711 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13712 into R11_LP and load __x86_64_shared_cache_size_half into
13715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13717 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13720 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13729 powerpc32/power7/fpu/s_logb.c via #include.
13730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13731 powerpc32/power7/fpu/s_logbf.c via #include.
13732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13733 powerpc32/power7/fpu/s_logbl.c via #include.
13735 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13737 * README.libm: Remove file.
13739 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13741 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13742 count for x32. Use R*_LP and omit operand-size suffix.
13744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13746 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13747 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13748 * sysdeps/x86_64/x32/shlib-versions: New file.
13750 2012-05-14 Roland McGrath <roland@hack.frob.com>
13752 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13753 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13754 Use _dl_fatal_printf instead.
13756 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13758 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13759 set if not set by the user. Do not allow for being unset.
13760 * sysdeps/unix/sysv/linux/configure: Regenerated.
13762 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13764 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13765 the `q' suffix from lea and replace .quad with ASM_ADDR.
13767 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13770 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13772 (PTR_DEMANGLE): Likewise.
13774 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13776 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13778 (ASM_ADDR): Likewise.
13779 (RAX_LP): Likewise.
13780 (RBP_LP): Likewise.
13781 (RBX_LP): Likewise.
13782 (RCX_LP): Likewise.
13783 (RDI_LP): Likewise.
13784 (RSI_LP): Likewise.
13785 (RSP_LP): Likewise.
13788 (R10_LP): Likewise.
13789 (R10_LP): Likewise.
13790 (R11_LP): Likewise.
13791 (R12_LP): Likewise.
13792 (R13_LP): Likewise.
13793 (R14_LP): Likewise.
13794 (R15_LP): Likewise.
13796 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13798 * sysdeps/x86_64/x32/dl-machine.h: New file.
13800 2012-05-14 Andreas Jaeger <aj@suse.de>
13802 * manual/Makefile (subdir): Remove export of subdir.
13803 (all): Remove target.
13804 (.PHONY): Remove all from list.
13805 (mkinstalldirs): Remove.
13806 (.PHONY): Remove installdirs from list.
13807 ($(inst_infodir)/libc.info): Use make-target-directory.
13808 (installdirs): Remove.
13809 (subdir_%): Remove.
13810 (glibc-targets): Remove.
13813 ($(objpfx)stubs ../po/manual.pot): Remove.
13814 ($(objpfx)stamp%): Remove.
13815 (make-target-directory): Remove.
13816 (subdir_install): Remove.
13817 (routines): Remove.
13824 * manual/.gitignore: Remove, it's not needed anymore.
13825 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13827 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13829 (texis): Renamed to $(objpfx)texis.
13830 (texis-path): New, contains path to generated files.
13831 (chapters.%): Use texis-path for complete path, add extra argument
13833 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13834 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13835 (summary,texi, stamp-summary): Use complete path of
13836 files. Generate files in build dir.
13837 (dir-add.texi): Build in build dir.
13838 (libm-err.texi,stamp-libm-err): Likewise.
13839 (version.texi, stamp-version): Likewise.
13840 (.%c.texi): Likewise.
13841 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13842 (mostlyclean): Remove target.
13843 (realclean): Remove target.
13844 (generated): Add new variable with contents from mostlyclean and
13845 realclean, remove entries duplicated in common-mostlyclean, add
13846 stamp-libm-err and stamp-version.
13847 (generated-dirs): Add libc directory.
13848 ($(inst_infodir)/libc.info): Install files from build dir.
13850 * manual/install.texi (Configuring and compiling): Adjust since
13851 the info files are not part of the tar ball anymore.
13853 2012-05-14 Andreas Jaeger <aj@suse.de>
13855 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13858 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13861 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13862 to 2.2.0 where earlier.
13863 * sysdeps/unix/sysv/linux/configure: Regenerated.
13864 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13865 Remove conditional code.
13866 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13867 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13868 Remove conditional code.
13869 [!__NR_lchown]: Likewise.
13870 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13871 [__NR_lchown]: Likewise.
13872 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13873 comment referencing __ASSUME_LCHOWN_SYSCALL.
13874 * sysdeps/unix/sysv/linux/i386/sigaction.c
13875 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13876 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13877 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13878 Remove conditional code.
13879 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13880 (__protocol_available): Remove #if 0 code.
13881 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13883 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13884 * sysdeps/unix/sysv/linux/kernel-features.h
13885 (__ASSUME_GETCWD_SYSCALL): Don't define.
13886 (__ASSUME_REALTIME_SIGNALS): Likewise.
13887 (__ASSUME_PREAD_SYSCALL): Likewise.
13888 (__ASSUME_PWRITE_SYSCALL): Likewise.
13889 (__ASSUME_POLL_SYSCALL): Likewise.
13890 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13891 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13893 (__ASSUME_SIOCGIFNAME): Don't define.
13894 (__ASSUME_MSG_NOSIGNAL): Likewise.
13895 (__ASSUME_SENDFILE): Define unconditionally.
13896 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13897 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13899 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13900 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13901 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13902 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13903 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13904 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13905 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13910 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13911 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13916 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13917 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13919 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13922 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13923 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13928 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13929 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13930 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13931 Remove conditional code.
13932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13933 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13934 Remove conditional code.
13935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13936 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13937 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13938 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13939 Remove conditional code.
13940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13941 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13942 Remove conditional code.
13943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13944 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13945 Remove conditional code.
13946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13947 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13948 Remove conditional code.
13949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13950 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13951 Remove conditional code.
13952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13953 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13954 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/sigaction.c
13957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13959 * sysdeps/unix/sysv/linux/sigpending.c
13960 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13961 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13962 * sysdeps/unix/sysv/linux/sigprocmask.c
13963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13965 * sysdeps/unix/sysv/linux/sigsuspend.c
13966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13969 (__libc_missing_rt_sigs): Remove.
13970 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13971 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13972 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13973 Remove conditional code.
13974 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13975 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13977 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13978 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13979 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13980 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13982 2012-05-14 Andreas Jaeger <aj@suse.de>
13984 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13985 it's not used in glibc.
13986 (__coshm1): Likewise.
13987 (__acosh1p): Likewise.
13990 * manual/string.texi (Copying and Concatenation): Add missing
13991 variable in concat example.
13992 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13997 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13998 __builtin_clzl with __builtin_clzll.
14000 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14003 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14006 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14008 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14009 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14010 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14011 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14013 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14015 * NEWS: Update ia64 info.
14017 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14019 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14022 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14024 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14025 * sysdeps/unix/syscalls.list (dup3): Likewise.
14026 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14027 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14029 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14031 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14032 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14034 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14036 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14038 (TLS_IE): Use mov/add instead of movq/addq to load thread
14040 (TLS_GD_PREFIX): New.
14043 2012-05-11 David S. Miller <davem@davemloft.net>
14045 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14046 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14047 (_FPU_SETCW): Likewise.
14049 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14051 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14052 is 32-byte aligned.
14054 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14057 * iconvdata/gb18030.c: Update tables.
14058 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14059 characters specially.
14060 (BODY for TO_LOOP): Add encoding of missing ranges.
14062 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14065 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14066 * sysdeps/mach/hurd/dup3.c: Likewise.
14067 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14068 * sysdeps/powerpc/memmove.c:: Likewise.
14070 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14073 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14075 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14077 * elf/elf.h (R_X86_64_RELATIVE64): New.
14078 (R_X86_64_NUM): Updated.
14079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14080 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14081 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14082 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14083 tst-quad1pie tst-quad2pie
14084 (modules-names): Add tst-quadmod1 tst-quadmod2.
14085 ($(objpfx)tst-quad1): New dependency.
14086 ($(objpfx)tst-quad2): Likewise.
14087 ($(objpfx)tst-quad1pie): Likewise.
14088 ($(objpfx)tst-quad2pie): Likewise.
14089 * sysdeps/x86_64/tst-quad1.c: New file.
14090 * sysdeps/x86_64/tst-quad1pie.c: New file.
14091 * sysdeps/x86_64/tst-quad2.c: Likewise.
14092 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14093 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14094 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14095 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14096 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14100 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14101 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14102 * streams/stropts.h (t_scalar_t): Define type.
14104 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14105 (_PATH_PRESERVE): Set to "/var/lib".
14106 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14108 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14111 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14112 if __dir_mkfile succeeded.
14114 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14115 checking for _hurd_dtablesize. Unlock it right after having
14116 finished _hurd_dtable allocation.
14118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14120 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14121 * sysdeps/mach/hurd/configure: Regenerated.
14122 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14123 special-casing to...
14124 * sysdeps/gnu/configure.in: ... this new file.
14125 * sysdeps/unix/sysv/linux/configure: Regenerated.
14126 * sysdeps/gnu/configure: New generated file.
14128 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14129 for Linux: use nsec instead of usec, as well as:
14130 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14131 members of type struct timespec.
14132 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14134 (struct stat64): Likewise.
14135 (_STATBUF_ST_NSEC): New macro.
14136 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14138 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14139 __strtoul_internal rather than strtoul.
14141 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14143 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14148 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14149 which preserves existing values.
14150 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14152 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14154 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14155 TIMEOUT values. Return EINVAL for NFDS values either negative or
14156 greater than FD_SETSIZE.
14158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14160 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14161 allocated, call __vm_protect to finish enabling the existing space, and
14162 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14163 allocate the remainder.
14165 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14167 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14168 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14172 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14173 sysdeps/mach/hurd/readlink.c.
14175 * posix/tst-sysconf.c (posix_options): Only use
14176 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14177 _POSIX_SYNCHRONIZED_IO when they are defined
14178 * sysdeps/mach/hurd/bits/posix_opt.h:
14179 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14180 (_XOPEN_REALTIME): Undefine macro.
14181 (_XOPEN_REALTIME_THREADS): Undefine macro.
14182 (_XOPEN_SHM): Undefine macro.
14183 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14185 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14187 (_POSIX_ASYNC_IO): Undefine macro.
14188 (_POSIX_PRIORITIZED_IO): Undefine macro.
14189 (_POSIX_SPIN_LOCKS): Define macro to -1.
14191 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14192 SA_NODEFER, SA_RESETHAND.
14193 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14194 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14199 * elf/Makefile (pldd-modules): Define unconditionally.
14201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14203 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14207 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14208 Return ENOENT when name is empty.
14209 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14213 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14215 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14219 Fix mlock in all cases except non-readable pages.
14220 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14221 instead of VM_PROT_ALL as parameter to __vm_wire function.
14223 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14224 (__mkdir): When path is `/', just fail with EEXIST.
14225 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14227 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14229 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14230 <sys/uio.h> (for writev).
14231 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14232 and <sys/param.h> (for MIN).
14234 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14236 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14237 REQUESTED_TIME. Properly set the remaining time and return EINTR
14240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14242 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14243 Depend on against $(link-rpcuserlibs).
14245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14247 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14248 (__libc_stack_end): Do not use attribute_relro.
14249 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14250 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14251 to libthread-provided value.
14252 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14255 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14258 * bits/libc-lock.h (__libc_once_get): New macro.
14259 * sysdeps/mach/bits/libc-lock.h: Likewise.
14260 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14262 instead of using implementation details.
14264 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14265 * libio/freopen.c: Likewise.
14266 * libio/freopen64.c: Likewise.
14267 * misc/syslog.c: Likewise.
14268 * nscd/connections.c: Likewise.
14269 * nscd/netgroupcache.c: Likewise.
14270 * sysdeps/posix/getcwd.c: Likewise.
14272 2012-05-10 Roland McGrath <roland@hack.frob.com>
14274 * math/w_ilogbf.c: Add #include <limits.h>.
14276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14278 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14279 path instead of returning without unlocking.
14281 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14282 immediate-write ioctls.
14283 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14287 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14288 __builtin_frame_address instead of making assumptions about the
14289 location of the return address relative to DATA. Force early load of
14290 the return address.
14291 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14292 __builtin_frame_address.
14295 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14296 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14297 implement dup3 and do some further code clean-ups.
14298 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14299 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14303 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14305 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14306 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14307 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14308 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14309 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14312 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14313 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14314 when handler == SIG_ERR, not when handler != SIG_ERR.
14316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14318 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14319 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14322 accept4 for GNU Hurd.
14323 * include/sys/socket.h (__libc_accept4): New prototype.
14324 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14325 to implement __libc_accept4.
14326 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14328 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14330 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14331 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14332 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14333 signal-defines.sym.
14335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14337 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14339 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14341 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14342 assertion on O_CLOEXEC flag.
14343 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14344 * hurd/intern-fd.c: Likewise.
14345 * hurd/port2fd.c: Likewise.
14347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14350 * bits/in.h (IPV6_PKTINFO): Define new macro.
14351 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14353 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14358 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14359 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14360 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14361 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14364 * math/libm-test.inc (logb_test) : Additional logb tests.
14366 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14367 Andreas Jaeger <aj@suse.de>
14369 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14370 * configure: Regenerated.
14371 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14372 * config.make.in (link-obsolete-rpc): New substituted variable.
14373 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14374 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14375 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14376 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14377 so that libc.a contains the symbols.
14378 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14379 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14380 * sunrpc/auth_none.c: Likewise.
14381 * sunrpc/auth_unix.c: Likewise.
14382 * sunrpc/authdes_prot.c: Likewise.
14383 * sunrpc/authuxprot.c: Likewise.
14384 * sunrpc/clnt_gen.c: Likewise.
14385 * sunrpc/clnt_perr.c: Likewise.
14386 * sunrpc/clnt_raw.c: Likewise.
14387 * sunrpc/clnt_simp.c: Likewise.
14388 * sunrpc/clnt_tcp.c: Likewise.
14389 * sunrpc/clnt_udp.c: Likewise.
14390 * sunrpc/clnt_unix.c: Likewise.
14391 * sunrpc/des_crypt.c: Likewise.
14392 * sunrpc/des_soft.c: Likewise.
14393 * sunrpc/get_myaddr.c: Likewise.
14394 * sunrpc/key_call.c: Likewise.
14395 * sunrpc/key_prot.c: Likewise.
14396 * sunrpc/netname.c: Likewise.
14397 * sunrpc/pm_getmaps.c: Likewise.
14398 * sunrpc/pm_getport.c: Likewise.
14399 * sunrpc/pmap_clnt.c: Likewise.
14400 * sunrpc/pmap_prot.c: Likewise.
14401 * sunrpc/pmap_prot2.c: Likewise.
14402 * sunrpc/pmap_rmt.c: Likewise.
14403 * sunrpc/publickey.c: Likewise.
14404 * sunrpc/rpc_cmsg.c: Likewise.
14405 * sunrpc/rpc_common.c: Likewise.
14406 * sunrpc/rpc_dtable.c: Likewise.
14407 * sunrpc/rpc_prot.c: Likewise.
14408 * sunrpc/rpc_thread.c: Likewise.
14409 * sunrpc/rtime.c: Likewise.
14410 * sunrpc/svc.c: Likewise.
14411 * sunrpc/svc_auth.c: Likewise.
14412 * sunrpc/svc_raw.c: Likewise.
14413 * sunrpc/svc_run.c: Likewise.
14414 * sunrpc/svc_tcp.c: Likewise.
14415 * sunrpc/svc_udp.c: Likewise.
14416 * sunrpc/svc_unix.c: Likewise.
14417 * sunrpc/svcauth_des.c: Likewise.
14418 * sunrpc/xcrypt.c: Likewise.
14419 * sunrpc/xdr.c: Likewise.
14420 * sunrpc/xdr_array.c: Likewise.
14421 * sunrpc/xdr_float.c: Likewise.
14422 * sunrpc/xdr_intXX_t.c: Likewise.
14423 * sunrpc/xdr_mem.c: Likewise.
14424 * sunrpc/xdr_rec.c: Likewise.
14425 * sunrpc/xdr_ref.c: Likewise.
14426 * sunrpc/xdr_sizeof.c: Likewise.
14427 * sunrpc/xdr_stdio.c: Likewise.
14429 2012-05-10 Roland McGrath <roland@hack.frob.com>
14431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14432 change. Update copyright years.
14434 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14436 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14438 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14439 Joseph Myers <joseph@codesourcery.com>
14440 Paul Pluzhnikov <ppluzhnikov@google.com>
14443 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14445 [cross-compiling] (extra-libs): Likewise.
14446 [cross-compiling] (extra-libs-others): Likewise.
14447 [cross-compiling] (librpcsvc-routines): Likewise.
14448 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14449 [cross-compiling] (omit-deps): Likewise.
14450 (sunrpc-CPPFLAGS): New variable.
14451 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14452 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14453 (cross-rpcgen-objs): New variable.
14454 (extra-objs): Append $(cross-rpcgen-objs).
14455 ($(cross-rpcgen-objs)): New rule.
14456 ($(objpfx)cross-rpcgen): Likewise.
14457 (rpcgen-cmd): Define to use $(built-program-file). Expand
14459 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14460 ($(objpfx)x%.stmp): Likewise.
14461 * sunrpc/proto.h [IS_IN_build] (_): Define.
14462 [IS_IN_build] (_libc_intl_domainname): Likewise.
14464 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14467 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14468 and R_X86_64_TPOFF64.
14470 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14472 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14473 sysdeps/unix/sysv/syscalls.list.
14476 * sysdeps/unix/sysv/syscalls.list: Remove file.
14478 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14481 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14482 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14483 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14484 (__LC_IDENTIFICATION): Make these macros useful in #if
14485 expressions, as required by C99.
14487 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14489 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14490 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14493 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14495 * stdlib/longlong.h: Updated from GCC.
14497 2012-05-09 Andreas Jaeger <aj@suse.de>
14499 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14500 default is first entry.
14501 (run_mode): Set type.
14502 (main): Remove informal message about syslog.
14503 (options): Fix typo.
14506 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14509 (llrintf): Likewise.
14510 (llrint): Likewise.
14513 (nearbyint): Likewise.
14514 (nearbyintf): Likewise.
14516 2012-05-09 Andreas Jaeger <aj@suse.de>
14517 Pedro Alves <palves@redhat.com>
14519 * nscd/nscd.c (run_mode): Use enum.
14520 (main): Cleanup coding style issue.
14522 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14523 Andreas Jaeger <aj@suse.de>
14525 * nscd/nscd.c (go_background): Replaced with...
14526 (run_mode): ... this.
14527 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14528 (options): Add -F --foreground.
14529 (main): Implement it.
14530 (parse_opt): Parse it.
14532 2012-05-09 Andreas Jaeger <aj@suse.de>
14535 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14536 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14537 -Wconversion warning.
14538 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14541 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14543 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14545 (LC_ALL): Use macro-int-constant.
14546 (LC_COLLATE): Likewise.
14547 (LC_CTYPE): Likewise.
14548 (LC_MESSAGES): Likewise.
14549 (LC_MONETARY): Likewise.
14550 (LC_NUMERIC): Likewise.
14551 (LC_TIME): Likewise.
14552 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14553 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14555 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14557 [C99-based standards] (float_t): Expect type.
14558 [C99-based standards] (double_t): Expect type.
14559 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14561 [C99-based standards] (HUGE_VALL): Likewise.
14562 [C99-based standards] (INFINITY): Likewise.
14563 [C99-based standards] (NAN): Likewise.
14564 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14565 [C99-based standards] (FP_NAN): Likewise.
14566 [C99-based standards] (FP_NORMAL): Likewise.
14567 [C99-based standards] (FP_SUBNORMAL): Likewise.
14568 [C99-based standards] (FP_ZERO): Likewise.
14569 [C99-based standards] (FP_FAST_FMA): Use
14570 optional-macro-int-constant. Specify type. Require == 1.
14571 [C99-based standards] (FP_FAST_FMAF): Likewise.
14572 [C99-based standards] (FP_FAST_FMAL): Likewise.
14573 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14574 [C99-based standards] (FP_ILOGBNAN): Likewise.
14575 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14577 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14578 [C99-based standards] (math_errhandling): Specify type.
14579 [ISO99 || ISO11] (signgam): Do not allow.
14580 [non-C99-based standards] (copysignf): Do not allow.
14581 [non-C99-based standards] (exp2f): Likewise.
14582 [non-C99-based standards] (log2f): Likewise.
14583 [non-C99-based standards] (modff): Allow.
14584 [non-C99-based standards] (erff): Do not allow.
14585 [non-C99-based standards] (erfcf): Likewise.
14586 [non-C99-based standards] (gammaf): Likewise.
14587 [non-C99-based standards] (hypotf): Likewise.
14588 [non-C99-based standards] (j0f): Likewise.
14589 [non-C99-based standards] (j1f): Likewise.
14590 [non-C99-based standards] (jnf): Likewise.
14591 [non-C99-based standards] (lgammaf): Likewise.
14592 [non-C99-based standards] (tgammaf): Likewise.
14593 [non-C99-based standards] (y0f): Likewise.
14594 [non-C99-based standards] (y1f): Likewise.
14595 [non-C99-based standards] (ynf): Likewise.
14596 [non-C99-based standards] (isnanf): Likewise.
14597 [non-C99-based standards] (acoshf): Likewise.
14598 [non-C99-based standards] (asinhf): Likewise.
14599 [non-C99-based standards] (atanhf): Likewise.
14600 [non-C99-based standards] (cbrtf): Likewise.
14601 [non-C99-based standards] (expm1f): Likewise.
14602 [non-C99-based standards] (ilogbf): Likewise.
14603 [non-C99-based standards] (log1pf): Likewise.
14604 [non-C99-based standards] (logbf): Likewise.
14605 [non-C99-based standards] (nextafterf): Likewise.
14606 [non-C99-based standards] (remainderf): Likewise.
14607 [non-C99-based standards] (rintf): Likewise.
14608 [non-C99-based standards] (scalbf): Likewise.
14609 [non-C99-based standards] (copysignl): Likewise.
14610 [non-C99-based standards] (exp2l): Likewise.
14611 [non-C99-based standards] (log2l): Likewise.
14612 [non-C99-based standards] (modfl): Allow.
14613 [non-C99-based standards] (erfl): Do not allow.
14614 [non-C99-based standards] (erfcl): Likewise.
14615 [non-C99-based standards] (gammal): Likewise.
14616 [non-C99-based standards] (hypotl): Likewise.
14617 [non-C99-based standards] (j0l): Likewise.
14618 [non-C99-based standards] (j1l): Likewise.
14619 [non-C99-based standards] (jnl): Likewise.
14620 [non-C99-based standards] (lgammal): Likewise.
14621 [non-C99-based standards] (tgammal): Likewise.
14622 [non-C99-based standards] (y0l): Likewise.
14623 [non-C99-based standards] (y1l): Likewise.
14624 [non-C99-based standards] (ynl): Likewise.
14625 [non-C99-based standards] (isnanl): Likewise.
14626 [non-C99-based standards] (acoshl): Likewise.
14627 [non-C99-based standards] (asinhl): Likewise.
14628 [non-C99-based standards] (atanhl): Likewise.
14629 [non-C99-based standards] (cbrtl): Likewise.
14630 [non-C99-based standards] (expm1l): Likewise.
14631 [non-C99-based standards] (ilogbl): Likewise.
14632 [non-C99-based standards] (log1pl): Likewise.
14633 [non-C99-based standards] (logbl): Likewise.
14634 [non-C99-based standards] (nextafterl): Likewise.
14635 [non-C99-based standards] (remainderl): Likewise.
14636 [non-C99-based standards] (rintl): Likewise.
14637 [non-C99-based standards] (scalbl): Likewise.
14638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14639 [non-C99-based standards] (FP_*): Do not allow.
14640 [C99-based standards] (FP_*): Change to
14641 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14642 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14644 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14645 (SIG_ERR): Likewise.
14646 [X/Open-based standards] (SIG_HOLD): Likewise.
14647 (SIG_IGN): Likewise.
14648 (SIGABRT): Use macro-int-constant. Specify type. Require
14650 (SIGFPE): Likewise.
14651 (SIGILL): Likewise.
14652 (SIGINT): Likewise.
14653 (SIGSEGV): Likewise.
14654 (SIGTER): Likewise.
14655 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14656 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14657 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14658 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14659 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14660 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14661 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14662 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14663 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14664 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14665 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14666 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14667 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14668 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14669 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14670 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14671 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14672 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14673 [X/Open-based standards] (SIGTRAP): Likewise.
14674 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14675 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14677 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14678 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14681 2012-05-08 Ian Wienand <ianw@vmware.com>
14684 * time/tzset.c (__tzset_parse_tz): Update default rules for
14685 daylight time changes in the Energy Policy Act of 2005.
14687 2012-05-09 Andreas Jaeger <aj@suse.de>
14690 * elf/ldconfig.c (parse_conf): Change string to make clear that
14691 ldconfig only issued a warning if ld.so.conf does not exist.
14693 2012-05-08 David S. Miller <davem@davemloft.net>
14695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14696 movxtod instead of popping the value on the stack.
14698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14700 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14702 * config.h.in: Add HAVE_ARM_PCS_VFP.
14704 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14707 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14708 checking but the checks are disabled for any reason.
14710 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14712 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14713 and ELF64_R_TYPE with ELFW(R_TYPE).
14715 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14717 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14718 (ulimit): Likewise.
14720 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14721 (settimeofday): Likewise.
14723 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14725 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14726 a struct th_u2 inside the union, and move tu_block/tu_code into
14727 a new th_u3 union of tu_block/tu_code inside of that. Move
14728 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14729 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14730 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14731 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14732 (th_stuff): Change to th_u1.tu_stuff.
14734 (th_msg): Change to th_u1.th_u2.tu_data.
14736 2012-05-07 David S. Miller <davem@davemloft.net>
14738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14741 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14742 (SETUP_PIC_REG): Use it.
14743 (SETUP_PIC_REG_LEAF): Use it.
14745 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14749 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14751 (EXPL_FINITE): Likewise.
14752 (FLDLOG): Likewise.
14753 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14754 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14758 (EXPL_FINITE): Likewise.
14759 (FLDLOG): Likewise.
14760 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14761 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14763 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14764 test of -max_value argument for long double.
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768 2012-05-06 David S. Miller <davem@davemloft.net>
14770 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14771 quad soft-float symbols whose references which are compiler
14773 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14775 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14779 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14781 (EXPL_FINITE): Likewise.
14782 (FLDLOG): Likewise.
14785 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14786 Adjust comments for base varying.
14787 (__expl_finite): Change alias to EXPL_FINITE.
14788 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14790 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14791 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14793 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14794 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14796 (EXPL_FINITE): Likewise.
14797 (FLDLOG): Likewise.
14800 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14801 Adjust comments for base varying.
14802 (__expl_finite): Change alias to EXPL_FINITE.
14803 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14808 * math/libm-test.inc (check_float_internal): Correct ulp
14809 calculation for subnormal expected results.
14811 2012-05-06 Andreas Jaeger <aj@suse.de>
14813 * Makeconfig (+math-flags): New, set to -frounding-math.
14814 (+cflags): Add +math-flags so that all of glibc gets compiled with
14817 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14819 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14821 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14827 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14828 (__ieee754_expl): Allow for and saturate large arguments.
14829 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14830 (u_threshold): Likewise.
14831 (__exp): Call __ieee754_exp before checking for overflow and
14833 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14834 (u_threshold): Likewise.
14835 (__expf): Call __ieee754_expf before checking for overflow and
14837 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14838 (u_threshold): Likewise.
14839 (__expl): Call __ieee754_expl before checking for overflow and
14841 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14842 (__ieee754_expl): Allow for and saturate large arguments.
14843 * math/libm-test.inc (exp_test): Add another test. Do not allow
14844 missing overflow exception on overflow.
14845 (expm1_test): Do not allow missing overflow exception on overflow.
14847 * sysdeps/i386/fpu/e_expl.c: Move to ...
14848 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14849 rather than using inline asm.
14850 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14851 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14852 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14854 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14857 (signal): Likewise.
14861 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14863 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14864 sysdeps/unix/common/syscalls.list.
14865 (fchmod): Likewise.
14866 (fchown): Likewise.
14867 (ftruncate): Likewise.
14868 (getrusage): Likewise.
14869 (gettimeofday): Likewise.
14870 (setpgid): Likewise.
14871 (setregid): Likewise.
14872 (setreuid): Likewise.
14873 (sigaction): Likewise.
14874 (truncate): Likewise.
14875 (vhangup): Likewise.
14876 * sysdeps/unix/common/syscalls.list: Remove file.
14877 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14878 * sysdeps/unix/sysv/linux/Implies: Likewise.
14880 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14882 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14884 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14888 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14891 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14894 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14897 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14900 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14903 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14906 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14910 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14914 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14917 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14921 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14925 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14927 * sysdeps/unix/common/bits/dirent.h: Remove file.
14928 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14930 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14931 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14932 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14933 * sysdeps/unix/bsd/isatty.c: Likewise.
14934 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14935 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14936 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14938 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14942 long double comparison inaccuracies.
14943 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14946 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14948 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14949 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14951 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14954 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14955 nonzero digits before rounding a hex value.
14956 * stdlib/tst-strtod.c (tests): Add another test.
14958 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14960 * sysdeps/s390/fpu/libm-test-ulps: Update.
14962 2012-05-03 Andreas Jaeger <aj@suse.de>
14964 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14965 does not get optimized out.
14966 (malloc_opt_barrier): New.
14968 2012-05-03 Andreas Jaeger <aj@suse.de>
14969 Roland McGrath <roland@hack.frob.com>
14971 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14972 intermediate file deletion.
14973 (generated): Add .symlist files.
14975 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14978 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14979 Redirect under this condition.
14980 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14981 [__USE_GNU] (__dprintf_chk): Not under this condition.
14982 [__USE_GNU] (__vdprintf_chk): Likewise.
14983 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14984 under this condition.
14985 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14986 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14987 [__USE_XOPEN2K8] (vdprintf): Likewise.
14988 [__USE_GNU] (__dprintf_chk): Not under this condition.
14989 [__USE_GNU] (__vdprintf_chk): Likewise.
14990 [__USE_GNU] (dprintf): Likewise.
14991 [__USE_GNU] (vdprintf): Likewise.
14993 2012-05-03 Roland McGrath <roland@hack.frob.com>
14995 * elf/Makefile (common-generated): Set this instead of generated for
14996 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14997 $(all-built-dso)-derived lists.
14999 2012-05-03 Andreas Jaeger <aj@suse.de>
15001 * sysdeps/i386/fpu/libm-test-ulps: Update.
15004 * FAQ.in: Likewise.
15005 * scripts/gen-FAQ.pl: Likewise.
15006 * manual/install.texi (Installation): Point to online location of
15008 * Makefile (files-for-dist): Remove FAQ.
15011 2012-05-02 Allan McRae <allan@archlinux.org>
15013 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15014 (LDFLAGS-reldepmod5.so): Likewise.
15015 (LDFLAGS-reldep6mod1.so): Likewise.
15016 (LDFLAGS-reldep6mod4.so): Likewise.
15017 (LDFLAGS-reldep8mod3.so): Likewise.
15018 (LDFLAGS-unload4mod1.so): Likewise.
15019 (LDFLAGS-unload4mod2.so): Likewise.
15020 (LDFLAGS-tst-initorder): Likewise.
15021 (LDFLAGS-tst-initordera2.so): Likewise.
15022 (LDFLAGS-tst-initordera3.so): Likewise.
15023 (LDFLAGS-tst-initordera4.so): Likewise.
15024 (LDFLAGS-tst-initorderb2.so): Likewise.
15025 (LDFLAGS-noload): Likewise.
15026 (LDFLAGS-next): Likewise.
15027 (LDFLAGS-order2mod1.so): Likewise.
15028 (LDFLAGS-order2mod2.so): Likewise.
15029 (LDFLAGS-tst-initorder2): Likewise.
15030 (LDFLAGS-tst-initorder2a.so): Likewise.
15031 (LDFLAGS-tst-initorder2b.so): Likewise.
15032 (LDFLAGS-tst-initorder2c.so): Likewise.
15033 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15035 2012-05-02 David S. Miller <davem@davemloft.net>
15037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15039 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15042 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15044 2012-05-02 Andreas Jaeger <aj@suse.de>
15046 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15047 since we manipulate rounding mode.
15048 (CPPFLAGS-test-idouble.c): Likewise.
15049 (CPPFLAGS-test-ifloat.c): Likewise.
15050 (CFLAGS-test-ldouble.c): Likewise.
15051 (CFLAGS-test-double.c): Likewise.
15052 (CFLAGS-test-float.c): Likewise.
15053 (CFLAGS-test-misc.c): Likewise.
15054 (CFLAGS-test-test-fenv.c): Likewise.
15056 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15061 comparisons to determine direction to adjust input.
15063 2012-05-01 Roland McGrath <roland@hack.frob.com>
15065 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15066 output to the target.
15068 * scripts/localplt.awk: New file.
15069 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15070 (check-localplt-CFLAGS): Variable removed.
15071 ($(all-built-dso:=.jmprel)): New static pattern rule.
15072 (generated): Add those targets.
15073 (localplt-built-dso): New variable.
15074 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15076 * elf/check-localplt.c: File removed.
15078 * scripts/check-execstack.awk: New file.
15079 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15080 (check-execstack-CFLAGS): Variable removed.
15081 ($(objpfx)check-execstack.h): Target removed.
15082 ($(objpfx)execstack-default): New target.
15083 (generated): Add that instead of check-execstack.h.
15084 ($(all-built-dso:=.phdr)): New static pattern rule.
15085 (generated): Add those targets.
15086 * elf/check-execstack.c: File removed.
15088 * scripts/check-textrel.awk: New file.
15089 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15090 (check-textrel-CFLAGS): Variable removed.
15091 (all-built-dso): Use := to define.o
15092 ($(all-built-dso:=.dyn)): New static pattern rule.
15093 (generated): Add those targets.
15094 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15095 * config.make.in (READELF): New substituted variable.
15096 * elf/check-textrel.c: File removed.
15098 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15100 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15102 * conform/data/ctype.h-data [C99-based standards] (isblank):
15104 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15105 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15107 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15108 Specify type. Require positive value.
15109 (EILSEQ): Likewise.
15110 (ERANGE): Likewise.
15111 [ISO || POSIX] (EILSEQ): Do not expect.
15112 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15113 Specify type. Require positive value.
15114 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15115 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15116 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15117 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15118 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15119 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15120 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15121 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15122 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15123 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15124 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15125 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15126 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15127 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15128 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15129 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15130 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15131 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15132 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15133 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15134 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15135 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15136 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15137 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15138 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15139 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15140 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15141 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15142 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15143 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15144 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15145 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15146 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15147 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15148 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15149 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15150 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15151 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15152 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15153 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15154 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15155 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15156 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15157 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15158 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15159 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15160 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15161 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15162 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15163 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15164 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15165 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15166 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15167 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15168 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15169 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15170 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15171 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15172 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15173 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15174 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15175 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15176 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15177 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15178 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15179 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15181 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15182 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15184 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15185 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15186 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15188 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15189 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15190 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15192 (FLT_ROUNDS): Expect as macro, not constant.
15193 (FLT_MANT_DIG): Use macro-int-constant.
15194 (DBL_MANT_DIG): Likewise.
15195 (LDBL_MANT_DIG): Likewise.
15196 (FLT_DIG): Likewise.
15197 (DBL_DIG): Likewise.
15198 (LDBL_DIG): Likewise.
15199 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15200 (DBL_MIN_EXP): Likewise.
15201 (LDBL_MIN_EXP): Likewise.
15202 (FLT_MAX_EXP): Use macro-int-constant.
15203 (DBL_MAX_EXP): Likewise.
15204 (LDBL_MAX_EXP): Likewise.
15205 (FLT_MAX_10_EXP): Likewise.
15206 (DBL_MAX_10_EXP): Likewise.
15207 (LDBL_MAX_10_EXP): Likewise.
15208 (FLT_MAX): Use macro-constant.
15209 (DBL_MAX): Likewise.
15210 (LDBL_MAX): Likewise.
15211 (FLT_EPSILON): Use macro-constant. Give upper bound.
15212 (DBL_EPSILON): Likewise.
15213 (LDBL_EPSILON): Likewise.
15214 (FLT_MIN): Likewise.
15215 (DBL_MIN): Likewise.
15216 (LDBL_MIN): Likewise.
15217 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15218 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15219 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15220 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15221 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15222 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15223 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15224 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15225 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15226 [ISO11] (FLT_TRUE_MIN): Likewise.
15227 [ISO11] (LDBL_TRUE_MIN): Likewise.
15228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15229 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15230 (SCHAR_MIN): Use macro-int-constant. Specify type.
15231 (SCHAR_MAX): Likewise.
15232 (UCHAR_MAX): Likewise.
15233 (CHAR_MIN): Likewise.
15234 (CHAR_MAX): Likewise.
15235 (MB_LEN_MAX): Use macro-int-constant.
15236 (SHRT_MIN): Use macro-int-constant. Specify type.
15237 (SHRT_MAX): Likewise.
15238 (USHRT_MAX): Likewise.
15239 (INT_MAX): Likewise.
15240 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15242 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15244 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15246 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15247 bound negative. Suffix upper bound with "L".
15248 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15250 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15252 [C99-based standards] (LLONG_MAX): Likewise.
15253 [C99-based standards] (ULLONG_MAX): Likewise.
15254 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15256 [ISO11] (max_align_t): Require type.
15257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15259 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15260 from $CFLAGS, without defining away __attribute__ calls.
15261 (checknamespace): Use $CFLAGS_namespace.
15263 * conform/conformtest.pl (@keywords): Only include C99 keywords
15264 for standards based on C99 or C11.
15266 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15268 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15271 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15272 usability of symbols in #if.
15274 * conform/conformtest.pl: If macro or constant types start
15275 "promoted:", expect the symbol to be of the following type
15276 promoted by the integer promotions.
15278 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15279 in one place. Also handle "macro-constant".
15281 * conform/conformtest.pl: Only accept expected macro values with
15282 "==". Parse all "macro" lines in one place.
15283 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15285 * conform/conformtest.pl: Handle braced types on "constant" lines
15286 instead of handling "typed-constant".
15287 * conform/data/signal.h-data: Use "constant" instead of
15290 * conform/conformtest.pl: Handle "optional-" at start of lines in
15291 one place rather than duplicating several cases. Handle each
15292 format of "macro" line with initial "optional-".
15294 * conform/conformtest.pl: Only accept expected constant or
15295 optional-constant values with "==". Parse all "constant" lines in
15296 one place. Parse all "optional-constant" lines in one place.
15297 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15298 * conform/data/fmtmsg.h-data: Likewise.
15299 * conform/data/netinet/in.h-data: Likewise.
15300 * conform/data/tar.h-data: Likewise.
15301 * conform/data/limits.h-data: Use "==" form on "constant" and
15302 "optional-constant" lines.
15304 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15305 Use -std=c99 for XOPEN2K.
15306 (@knownproblems): Remove.
15307 (newtoken): Don't check %isknown.
15309 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15310 Do not expect macro.
15311 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15317 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15318 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15319 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15320 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15321 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15322 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15323 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15324 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15335 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15336 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15341 [XPG3] (acosh): Likewise.
15342 [XPG3] (asinh): Likewise.
15343 [XPG3] (atanh): Likewise.
15344 [XPG3] (cbrt): Likewise.
15345 [XPG3] (expm1): Likewise.
15346 [XPG3] (ilogb): Likewise.
15347 [XPG3] (log1p): Likewise.
15348 [XPG3] (logb): Likewise.
15349 [XPG3] (nextafter): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15352 [XPG3] (remainder): Likewise.
15353 [XPG3] (rint): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15355 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15356 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15357 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15358 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15359 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15360 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15361 [UNIX98 || XOPEN2K] (scalb): Expect.
15362 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15363 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15364 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15365 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15367 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15368 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15369 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15370 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15371 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15372 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15373 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15374 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15375 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15376 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15377 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15378 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15379 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15381 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15382 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15383 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15384 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15385 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15386 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15387 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15388 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15389 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15390 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15391 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15392 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15393 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15394 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15395 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15396 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15397 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15398 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15399 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15400 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15401 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15402 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15403 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15404 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15405 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15406 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15407 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15408 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15409 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15410 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15411 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15412 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15413 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15414 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15415 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15416 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15417 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15418 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15419 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15420 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15421 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15422 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15423 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15424 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15425 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15426 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15427 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15428 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15429 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15430 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15431 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15432 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15433 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15434 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15435 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15436 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15437 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15438 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15439 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15440 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15441 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15442 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15443 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15444 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15445 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15446 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15447 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15448 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15449 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15450 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15451 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15452 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15453 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15454 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15455 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15456 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15457 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15458 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15459 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15460 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15461 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15462 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15463 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15464 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15465 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15466 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15467 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15468 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15469 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15470 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15471 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15472 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15473 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15474 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15475 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15476 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15477 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15478 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15479 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15480 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15481 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15482 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15483 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15484 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15485 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15486 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15487 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15488 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15489 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15490 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15491 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15492 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15493 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15494 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15495 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15496 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15497 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15498 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15500 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15501 _XOPEN_SOURCE_EXTENDED for XPG4.
15503 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15505 * Makeconfig (localtime): Remove variable.
15506 (inst_localtime-file): Likewise.
15508 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15529 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15533 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15534 comparisons to determine direction to adjust input.
15535 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15536 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15539 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15541 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15543 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15544 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15546 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15548 * math/libm-test.inc (nexttoward_test): Add more tests.
15550 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15553 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15554 in version GLIBC_2.1, not GLIBC_2.0.
15555 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15558 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15561 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15563 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15564 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15565 * math/libm-test.inc (acos_test): Add more tests.
15566 (asin_test): Likewise.
15567 * sysdeps/i386/fpu/libm-test-ulps: Update.
15568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15573 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15574 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15575 * math/libm-test.inc (acos_test_tonearest): New function.
15576 (acos_test_towardzero): Likewise.
15577 (acos_test_downward): Likewise.
15578 (acos_test_upward): Likewise.
15579 (asin_test_tonearest): Likewise.
15580 (asin_test_towardzero): Likewise.
15581 (asin_test_downward): Likewise.
15582 (asin_test_upward): Likewise.
15583 (main): Call the new functions.
15584 * sysdeps/i386/fpu/libm-test-ulps: Update.
15585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15589 * math/e_exp10.c: Include <float.h>.
15590 (__ieee754_exp10): Handle underflow here rather than multiplying
15591 large negative argument by M_LN10.
15592 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15594 * math/e_exp10l.c: Include <float.h>.
15595 (__ieee754_exp10l): Handle underflow here rather than multiplying
15596 large negative argument by M_LN10l.
15597 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15598 spurious overflow exception on underflow.
15600 2012-04-29 Marek Polacek <polacek@redhat.com>
15602 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15603 (__fortify_function): New macro.
15604 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15605 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15606 __extern_always_inline.
15607 * libio/bits/stdio2.h: Likewise.
15608 * libio/bits/stdio.h: Likewise.
15609 * string/string.h: Likewise.
15610 * string/bits/string3.h: Likewise.
15611 * include/stdio.h: Likewise.
15612 * stdlib/bits/stdlib.h: Likewise.
15613 * stdlib/stdlib.h: Likewise.
15614 * rt/bits/mqueue2.h: Likewise.
15615 * rt/mqueue.h: Likewise.
15616 * posix/bits/unistd.h: Likewise.
15617 * posix/unistd.h: Likewise.
15618 * io/bits/poll2.h: Likewise.
15619 * io/bits/fcntl2.h: Likewise.
15620 * io/fcntl.h: Likewise.
15621 * io/sys/poll.h: Likewise.
15622 * misc/bits/syslog.h: Likewise.
15623 * misc/bits/syslog-ldbl.h: Likewise.
15624 * misc/sys/syslog.h: Likewise.
15625 * socket/bits/socket2.h: Likewise.
15626 * socket/sys/socket.h: Likewise.
15627 * debug/tst-chk1.c: Likewise.
15628 * wcsmbs/bits/wchar2.h: Likewise.
15629 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15630 * wcsmbs/wchar.h: Likewise.
15632 2012-04-29 Andreas Jaeger <aj@suse.de>
15634 * Makerules (tests): Remove enable-check-abi protection.
15635 (check-abi-warn): Remove.
15636 (check-abi-%): Remove check-abi-warn usage.
15638 * configure.in: Remove check-abi configure option.
15639 * configure: Regenerated.
15640 * config.make.in (enable-check-abi): Remove.
15642 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15645 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15646 double functions to double *_finite functions.
15649 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15650 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15652 * stdio-common/Makefile (tests): Add tst-sprintf3.
15653 * stdio-common/tst-sprintf3.c: New file.
15655 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15656 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15658 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15660 * conform/conformtest.pl: Remove duplicate typed-constant
15663 2012-04-28 David S. Miller <davem@davemloft.net>
15665 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15666 (check-abi-%): Remove AWK script prerequisite and explicit
15668 (check-abi): Rewrite to just diff the symlist with the abilist.
15669 (config-tls, config-abi-config): Delete, no longer used.
15670 (update-abi-%): Remove AWK script and explicit abilist directory.
15671 (update-abi): Rewrite to simply compare and conditionally copy the
15672 symlist and the sysdep abilist file. Remove update-abi-config
15674 * abilist/ld.abilist: Remove.
15675 * abilist/libBrokenLocale.abilist: Remove.
15676 * abilist/libanl.abilist: Remove.
15677 * abilist/libcrypt.abilist: Remove.
15678 * abilist/libdl.abilist: Remove.
15679 * abilist/librt.abilist: Remove.
15680 * abilist/libthread_db.abilist: Remove.
15681 * abilist/libutil.abilist: Remove.
15682 * scripts/extract-abilist.awk: Remove.
15683 * scripts/merge-abilist.awk: Remove.
15684 * sysdeps/generic/libcidn.abilist: New file.
15685 * sysdeps/generic/libnss_compat.abilist: New file.
15686 * sysdeps/generic/libnss_db.abilist: New file.
15687 * sysdeps/generic/libnss_dns.abilist: New file.
15688 * sysdeps/generic/libnss_files.abilist: New file.
15689 * sysdeps/generic/libnss_hesiod.abilist: New file.
15690 * sysdeps/generic/libnss_nis.abilist: New file.
15691 * sysdeps/generic/libnss_nisplus.abilist: New file.
15692 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15693 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15694 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15696 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15697 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15698 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15699 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15700 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15701 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15702 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15703 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15704 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15706 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15707 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15708 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15709 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15711 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15713 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15714 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15715 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15716 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15718 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15719 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15720 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15722 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15825 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15826 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15827 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15830 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15831 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15832 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15833 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15834 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15835 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15836 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15837 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15838 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15890 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15892 * conform/conformtest.pl: Fix typo in handling typed-constant from
15895 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15897 * README: Cut down references to pre-2.6 Linux kernels and
15898 Linuxthreads. Update lists of configurations in libc and ports
15899 and sort alphabetically. Say "or newer" with Linux kernel version
15902 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15904 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15907 * math/libm-test.inc (logb_test_downward): New test to expose
15908 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15911 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15914 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15916 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15917 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15919 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15921 * sysdeps/unix/i386/brk.S: Remove file.
15922 * sysdeps/unix/i386/dl-brk.S: Likewise.
15923 * sysdeps/unix/i386/pipe.S: Likewise.
15924 * sysdeps/unix/i386/sigreturn.S: Likewise.
15925 * sysdeps/unix/i386/syscall.S: Likewise.
15926 * sysdeps/unix/i386/vfork.S: Likewise.
15927 * sysdeps/unix/i386/wait.S: Likewise.
15929 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15930 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15932 * configure.in (arm*-none*): Do not allow without
15933 --enable-hacker-mode.
15934 (netbsd*): Remove case setting base_os.
15935 (386bsd*): Likewise.
15936 (freebsd*): Likewise.
15939 (sunos*): Likewise.
15940 (ultrix*): Likewise.
15941 (newsos*): Likewise.
15942 (dynix*): Likewise.
15948 (minix*): Likewise.
15949 (irix4*): Likewise.
15950 (irix6*): Likewise.
15951 (solaris[2-9]*): Likewise.
15953 * configure: Regenerated.
15955 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15959 overflow or cancellation in calculating denominator.
15960 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15962 down expression to avoid unexpected rounding in newer GCCs.
15963 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15965 2012-04-26 David S. Miller <davem@davemloft.net>
15967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15968 long-double compat symbols.
15969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15983 2012-04-25 David S. Miller <davem@davemloft.net>
15985 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15986 HWCAP_* values only after the memory barriers have been defined.
15987 (atomic_full_barrier): Define.
15988 (atomic_read_barrier): Define.
15989 (atomic_write_barrier): Define.
15991 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15993 * shlib-versions: Add libgcc_s version information.
15994 * sysdeps/generic/libgcc_s.h: Remove.
15995 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15997 * sysdeps/gnu/unwind-resume.c: Likewise.
15998 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16000 2012-04-25 David S. Miller <davem@davemloft.net>
16002 * sysdeps/unix/sparc/brk.S: Delete.
16003 * sysdeps/unix/sparc/dl-brk.S: Delete.
16004 * sysdeps/unix/sparc/pipe.S: Delete.
16005 * sysdeps/unix/sparc/sysdep.S: Delete.
16006 * sysdeps/unix/sparc/sysdep.h: Delete.
16007 * sysdeps/unix/sparc/vfork.S: Delete.
16008 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16009 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16011 ret_ERRVAL, r0, r1, MOVE): Define.
16012 (JUMPTARGET): Remove.
16013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16014 sysdeps/unix/sparc/sysdep.h
16015 (ENTRY, END): Remove.
16016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16018 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16020 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16021 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16024 * timezone/README: Update upstream location and email address for
16026 * timezone/zdump.c: Update from tzcode 2012b.
16027 * timezone/zic.c: Likewise.
16029 * configure.in (libc_cv_as_needed): Remove test.
16030 * configure: Regenerated.
16031 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16032 conditional definition.
16033 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16034 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16035 * config.make.in (have-as-needed): Remove variable.
16037 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16038 Paul Pluzhnikov <ppluzhnikov@google.com>
16040 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16043 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16045 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16046 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16047 * sysdeps/sh/strlen.S: Likewise.
16049 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16051 * sysdeps/unix/fork.S: Remove file.
16052 * sysdeps/unix/i386/fork.S: Likewise.
16053 * sysdeps/unix/sparc/fork.S: Likewise.
16055 * sysdeps/unix/system.c: Remove file.
16056 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16058 * sysdeps/unix/getegid.S: Remove file.
16059 * sysdeps/unix/geteuid.S: Likewise.
16061 2012-04-24 Roland McGrath <roland@hack.frob.com>
16063 * scripts/check-localplt.awk: New file.
16064 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16066 * scripts/data/localplt-generic.data: Add a comment.
16068 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16069 NODE when __dir_mkfile failed.
16070 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16071 Reported by Ludovic Courtès <ludo@gnu.org>.
16073 2012-04-24 Andreas Jaeger <aj@suse.de>
16075 * Makerules (common-clean): Also remove gen-as-const-headers
16078 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16080 * Makerules (native-compile): Do not change working directory for
16081 build. Use $(OUTPUT_OPTION) in command.
16082 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16084 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16087 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16088 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16089 * math/libm-test.inc (floor_test): Add more tests.
16090 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16094 * sysdeps/unix/getdents.c: Remove file.
16095 * sysdeps/unix/sysv/getdents.c: Likewise.
16096 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16098 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16099 sysdeps/unix/mman/syscalls.list.
16101 (mprotect): Likewise.
16103 (munmap): Likewise.
16104 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16105 * sysdeps/unix/mman/syscalls.list: Remove.
16106 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16108 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16109 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16110 * configure: Regenerated.
16111 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16112 $(libgcc_s_suffix).
16113 * config.make.in (libgcc_s_suffix): Remove variable.
16115 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16117 * sysdeps/unix/sysv/gethostname.c: Move to ...
16118 * sysdeps/posix/gethostname.c: ... here.
16120 * sysdeps/unix/execve.S: Remove file.
16122 * sysdeps/unix/_exit.S: Remove file.
16124 2012-04-23 Andreas Jaeger <aj@suse.de>
16127 * manual/Makefile: Remove make dist support, there's no
16128 need for a stand-alone documentation tar ball.
16129 (TEXI2DVI): Define always, it's not in Makeconfig.
16132 (edition): Removed.
16133 (glibc-doc-$(edition).tar): Removed
16137 (ETAGS): Remove, it's in Makeconfig.
16138 (move-if-change): Remove, it's in Makeconfig.
16140 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16143 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16144 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16145 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16146 (strtod_l, strtof_l, strtold_l): Remove __wur.
16147 It is not necessarily an error to ignore strtol's return value.
16148 One can reliably look at the stored endptr to decide whether
16149 the number had valid syntax.
16151 2012-04-21 Andreas Jaeger <aj@suse.de>
16154 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16156 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16158 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16159 * sysdeps/unix/sysv/Versions: Remove file.
16161 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16166 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16170 version from __vm86.
16172 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16174 * sysdeps/unix/common/lxstat.c: Remove file.
16175 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16177 * sysdeps/unix/sysv/Makefile: Remove file.
16179 * sysdeps/unix/sysv/direct.h: Remove file.
16181 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16182 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16183 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16184 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16185 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16186 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16187 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16189 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16191 * sysdeps/unix/xmknod.c: Remove file.
16192 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16194 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16196 * sysdeps/unix/sysv/i386/time.S: Remove file.
16198 * sysdeps/unix/fxstat.c: Remove file.
16199 * sysdeps/unix/xstat.c: Likewise.
16200 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16202 * sysdeps/unix/sysv/sigaction.c: Remove file.
16204 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16205 (sysdep_headers): Remove variable.
16206 [termio.h not in sysdep_headers] (generated): Likewise.
16207 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16208 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16209 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16210 * sysdeps/unix/sysv/tcflow.c: Likewise.
16211 * sysdeps/unix/sysv/tcflush.c: Likewise.
16212 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16213 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16214 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16215 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16216 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16218 * sysdeps/unix/siglist.c: Remove file.
16220 * sysdeps/unix/getppid.S: Remove file.
16222 * sysdeps/unix/mkdir.c: Remove file.
16223 * sysdeps/unix/rmdir.c: Likewise.
16225 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16227 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16229 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16230 errlist-compat value.
16232 2012-04-18 David S. Miller <davem@davemloft.net>
16234 * sysdeps/generic/memcopy.h (reg_char): Delete.
16235 * debug/strcat_chk.c: Use char, not reg_char.
16236 * debug/strcpy_chk.c: Likewise.
16237 * debug/strncat_chk.c: Likewise.
16238 * debug/strncpy_chk.c: Likewise.
16239 * string/memchr.c: Likewise.
16240 * string/memrchr.c: Likewise.
16241 * string/rawmemchr.c: Likewise.
16242 * string/strcat.c: Likewise.
16243 * string/strchr.c: Likewise.
16244 * string/strchrnul.c: Likewise.
16245 * string/strcmp.c: Likewise.
16246 * string/strcpy.c: Likewise.
16247 * string/strncat.c: Likewise.
16248 * string/strncmp.c: Likewise.
16249 * string/strncpy.c: Likewise.
16251 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16253 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16254 __builtin_memcopy is called when src and dest ranges are known to not
16257 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16259 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16260 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16261 fwd_align_merge macro call.
16262 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16263 bwd_align_merge macro call.
16264 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16266 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16269 bwd_align_merge macros.
16270 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16271 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16272 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16274 2012-04-18 David S. Miller <davem@davemloft.net>
16276 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16278 2012-04-18 Andreas Jaeger <aj@suse.de>
16281 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16282 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16283 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16286 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16287 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16289 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16290 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16291 Adjust for changed ldbl-128 files.
16293 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16294 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16295 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16297 2012-04-17 David S. Miller <davem@davemloft.net>
16299 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16301 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16303 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16304 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16305 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16306 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16307 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16308 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16310 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16313 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16314 * math/libm-test.inc: Add ilogb errno and exception tests.
16315 * math/w_ilogb.c: New file: ilogb wrapper.
16316 * math/w_ilogbf.c: New file: ilogbf wrapper.
16317 * math/w_ilogbl.c: New file: ilogbl wrapper.
16318 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16319 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16320 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16321 exception being thrown with 0.0 as argument.
16322 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16323 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16324 exception being thrown with 0.0 as argument.
16325 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16326 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16327 exception being thrown with 0.0 as argument.
16328 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16329 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16330 exception being thrown with 0.0 as argument.
16331 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16332 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16333 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16334 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16335 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16336 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16337 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16338 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16339 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16341 2012-04-17 Petr Baudis <pasky@ucw.cz>
16343 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16346 2012-04-16 Marek Polacek <polacek@redhat.com>
16348 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16350 2012-04-16 Marek Polacek <polacek@redhat.com>
16352 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16353 operands of fdivp instruction.
16355 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16357 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16358 * elf/tst-auditmod3b.c: Likewise.
16359 * elf/tst-auditmod4b.c: Likewise.
16360 * elf/tst-auditmod5b.c: Likewise.
16361 * elf/tst-auditmod6b.c: Likewise.
16362 * elf/tst-auditmod6c.c: Likewise.
16363 * elf/tst-auditmod7b.c: Likewise.
16364 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16365 * sysdeps/x86_64/preconfigure.in: Likewise.
16366 * sysdeps/x86_64/preconfigure: Regenerated.
16368 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16370 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16373 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16376 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16378 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16381 * locale/iso-639.def: Fix gl language name. Spotted by
16384 2012-04-12 Roland McGrath <roland@hack.frob.com>
16387 * libio/libio.h (__io_write_fn): Update comment.
16389 2012-04-12 Petr Baudis <pasky@ucw.cz>
16392 * stdio.texi (Hook Functions): The user provided writer function
16393 is not allowed to return -1.
16395 2012-04-11 David S. Miller <davem@davemloft.net>
16397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16399 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16401 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16402 Add a leading slash to rtkaio.
16404 2012-04-11 Jim Meyering <meyering@redhat.com>
16407 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16408 It is not necessarily an error to ignore fwrite's return
16409 value. One can reliably use ferror to test for errors after
16412 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16414 * bits/types.h (__snseconds_t): New type.
16415 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16417 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16419 (__SNSECONDS_T_TYPE): Likewise.
16420 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16421 (__SNSECONDS_T_TYPE): Likewise.
16422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16423 (__SNSECONDS_T_TYPE): Likewise.
16425 2012-04-10 Andreas Jaeger <aj@suse.de>
16428 * manual/time.texi (Processor Time): Return type of times is
16429 elapsed real time since an arbitrary point in the past.
16430 (CPU Time): Move CLK_TCK from here...
16431 (Processor Time): ...to here. Correct description.
16432 * manual/conf.texi (Constants for Sysconf): Correct description of
16435 2012-04-10 David S. Miller <davem@davemloft.net>
16438 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16439 where the is a gap between DT_REL(A) and DT_JMPREL.
16441 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16443 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16444 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16445 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16447 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16449 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16450 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16451 (dl_main): Handle --inhibit-cache.
16452 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16454 * elf/dl-load.c (_dl_map_object): Use it.
16455 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16457 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16460 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16461 (__ieee754_powl): Saturate large exponents rather than testing for
16462 overflow of y*log2(x).
16463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16464 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16468 * math/s_ctan.c: Include <float.h>.
16469 (__ctan): Avoid internal overflow or cancellation in calculating
16471 * math/s_ctanf.c: Likewise.
16472 * math/s_ctanl.c: Likewise.
16473 * math/s_ctanh.c: Likewise.
16474 * math/s_ctanhf.c: Likewise.
16475 * math/s_ctanhl.c: Likewise.
16476 * math/libm-test.inc (ctan_test): Add more tests.
16477 (ctanh_test): Likewise.
16478 * sysdeps/i386/fpu/libm-test-ulps: Update.
16479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16481 2012-04-09 Andreas Jaeger <aj@suse.de>
16484 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16485 is an optional BSD extension.
16488 * manual/stdio.texi (Opening Streams): Document additional fopen
16491 2012-04-09 Roland McGrath <roland@hack.frob.com>
16493 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16494 %eax without telling the compiler.
16496 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16499 * manual/install.texi: Use sourceware.org.
16501 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16504 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16505 (__ieee754_pow): Generate overflow and underflow using huge*huge
16506 and tiny*tiny rather than just returning constant infinity or zero
16507 for large exponents.
16508 * math/libm-test.inc (pow_test): Require overflow exceptions for
16509 applicable cases of large exponents.
16512 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16513 (__ieee754_pow): Use iterative multiplication algorithm only for
16514 integer exponents with absolute value below 1024. Check for odd
16515 integer exponents when using algorithm for real exponents.
16516 * math/libm-test.inc (pow_test): Add more tests.
16517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16519 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16522 * math/libm-test.inc (exp_test): Do not allow overflow exception
16525 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16528 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16529 instead of __kernel_standard_f.
16531 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16533 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16534 * sysdeps/x86_64/memset_chk.S: Likewise.
16536 2012-04-08 Andreas Jaeger <aj@suse.de>
16539 * manual/startup.texi (Environment Access): Describe return value
16540 for putenv and setenv.
16543 * manual/filesys.texi (Directory Entries): Add description for
16547 * manual/filesys.texi (Directory Entries): Clarify that it's file
16548 system not operating system in the description of DT_UNKNOWN.
16551 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16553 2012-04-08 Stephen Compall <s11@member.fsf.org>
16556 * manual/llio.texi (Opening and Closing Files): Add cross
16557 reference to explain mode argument.
16559 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16561 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16562 * sysdeps/x86_64/memset_chk.S: Likewise.
16564 2012-04-07 David S. Miller <davem@davemloft.net>
16566 * elf/elf.h (R_SPARC_WDISP10): Define.
16567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16570 R_SPARC_SIZE64 and R_SPARC_H34.
16572 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16574 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16575 conditions and remove no longer applicable assertion.
16577 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16579 * bits/byteswap.h: Include <features.h>.
16580 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16581 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16583 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16585 * bits/byteswap.h (__bswap_16): Removed.
16586 Include <bits/byteswap-16.h> to get __bswap_16.
16587 * sysdeps/i386/bits/byteswap.h: Likewise.
16588 * sysdeps/s390/bits/byteswap.h: Likewise.
16589 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16590 * bits/byteswap-16.h: New file.
16591 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16592 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16593 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16594 * string/Makefile (headers): Add bits/byteswap-16.h.
16596 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16599 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16601 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16602 * nss/tst-nss-static.c: New.
16604 2012-04-06 Robert Millan <rmh@gnu.org>
16607 * manual/llio.texi (File Position Primitive): lseek
16608 refers to WHENCE when it really means OFFSET.
16610 2012-04-06 Andreas Jaeger <aj@suse.de>
16612 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16613 strncmp declarations.
16615 * abilist/libc.abilist: Add __poll and __ppoll.
16617 2012-04-05 David S. Miller <davem@davemloft.net>
16619 * scripts/check-local-headers.sh: Accept a host triplet in the
16620 path matched by the exclude regexp.
16622 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16624 * sysdeps/powerpc/powerpc32/dl-machine.h
16625 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16626 * sysdeps/s390/s390-32/dl-machine.h
16627 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16628 * sysdeps/sparc/sparc32/dl-machine.h
16629 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16630 * sysdeps/sparc/sparc64/dl-machine.h
16631 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16633 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16635 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16636 undefined symbol errors.
16638 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16641 2012-04-05 Michael Matz <matz@suse.de>
16644 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16646 2012-04-05 Andreas Jaeger <aj@suse.de>
16649 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16652 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16654 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16655 which ROUND is no valid rounding mode.
16657 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16659 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16661 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16663 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16665 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16666 an exception using FPU order intentionally.
16668 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16670 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16671 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16672 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16673 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16675 2012-04-05 Simon Josefsson <simon@josefsson.org>
16678 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16679 EINVAL when BUFLEN is too smal.
16681 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16684 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16685 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16687 2012-04-03 Andreas Jaeger <aj@suse.de>
16690 * manual/setjmp.texi (System V contexts): Fix sentence.
16693 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16694 New macro for this case.
16695 [!__GNUC__] (__bswap_64): New inline function for this case.
16696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16697 * bits/byteswap.h: Likewise.
16698 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16699 ull, guard with __GLIBC_HAVE_LONG_LONG.
16701 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16702 __GLIBC_HAVE_LONG_LONG.
16704 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16705 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16707 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16710 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16711 inptr and inend, rather than using last_ch.
16713 2012-04-02 David S. Miller <davem@davemloft.net>
16715 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16716 * stdio-common/printf-parse.h (read_int): Change return type to
16717 'int', return -1 on INT_MAX overflow.
16718 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16719 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16720 overflows INT_MAX. Check for overflow of in-format-string precision
16721 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16722 SIZE_MAX not INT_MAX for integer overflow test.
16723 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16724 skip the construct in the format string but do not record anything.
16725 * stdio-common/bug22.c: Adjust to test both width/prevision
16726 INT_MAX overflow as well as total length INT_MAX overflow. Check
16727 explicitly for proper errno values.
16729 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16731 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16733 * string/test-strcmp.c [! WIDE]: Likewise.
16734 * time/tst-mktime2.c: Likewise for INT_MAX.
16735 * string/test-string.h: #include <sys/param.h> for MIN.
16737 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16738 * sysdeps/i386/init-first.c (init): Likewise.
16739 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16740 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16741 * sysdeps/sh/init-first.c (init): Likewise.
16743 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16745 * po/ru.po: Update from translation team.
16746 * po/vi.po: Likewise.
16748 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16750 * resolv/nss_dns/dns-host.c: Merge copyright years.
16752 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16754 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16755 Optimize memcpy with prefetch if
16756 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16757 src, dst pointers have unequal 16 byte alignments.
16759 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16762 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16763 from a CNAME entry and return the minimum ttl for the query.
16764 (gaih_getanswer_slice): Likewise.
16766 2012-03-30 Jeff Law <law@redhat.com>
16768 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16770 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16771 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16773 * resolv/nss_dns/dns-host.c: Update copyright year.
16775 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16777 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16778 requests to save a system call. Fix check that all bytes are sent.
16780 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16781 comments for sendmmsg.
16783 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16786 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16787 with only 1 character between 0x0041 and 0x01b0.
16788 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16789 * wcsmbs/tst-mbsnrtowcs.c: New file.
16791 2012-03-29 David S. Miller <davem@davemloft.net>
16793 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16794 small copies by hand.
16796 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16799 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16800 _nss_compat_initgroups_dyn): Fall back to malloc/free
16801 for large group memberships.
16803 2012-03-28 David S. Miller <davem@davemloft.net>
16805 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16806 that branches into memcpy.
16807 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16810 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16813 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16814 implementation too.
16815 * sysdeps/sparc/mempcpy.S: New file.
16817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16818 the IFUNC routine in the libc case.
16819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16821 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16822 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16823 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16824 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16825 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16826 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16827 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16828 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16830 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16831 loop to 256 bytes instead of 64 bytes and fix test signedness.
16833 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16834 * sysdeps/sparc/sparc32/Makefile: rather than here...
16835 * sysdeps/sparc/sparc64/Makefile: and here.
16837 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16839 * malloc/mallocbug.c: Avoid warnings about unused variables.
16841 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16844 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16845 in the right place. Discard and retry query if response is
16846 larger than input buffer size.
16848 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16853 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16854 x for large integer exponent.
16855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16856 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16857 sign of result as needed afterwards.
16858 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16859 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16860 result for underflowing pow the same as for overflow.
16861 (__kernel_standard_l): Handle powl overflow and underflow here
16862 rather than calling __kernel_standard.
16863 * math/libm-test.inc (pow_test): Add more tests.
16878 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16879 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16880 (__kernel_standard_l): New function.
16881 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16883 * math/w_acosl.c (__acosl): Likewise.
16884 * math/w_asinl.c (__asinl): Likewise.
16885 * math/w_atan2l.c (__atan2l): Likewise.
16886 * math/w_atanhl.c (__atanhl): Likewise.
16887 * math/w_coshl.c (__coshl): Likewise.
16888 * math/w_exp10l.c (__exp10l): Likewise.
16889 * math/w_exp2l.c (__exp2l): Likewise.
16890 * math/w_fmodl.c (__fmodl): Likewise.
16891 * math/w_hypotl.c (__hypotl): Likewise.
16892 * math/w_j0l.c (__j0l, __y0l): Likewise.
16893 * math/w_j1l.c (__j1l, __y1l): Likewise.
16894 * math/w_jnl.c (__jnl, __ynl): Likewise.
16895 * math/w_lgammal.c (__lgammal): Likewise.
16896 * math/w_log10l.c (__log10l): Likewise.
16897 * math/w_log2l.c (__log2l): Likewise.
16898 * math/w_logl.c (__logl): Likewise.
16899 * math/w_powl.c (__powl): Likewise.
16900 * math/w_remainderl.c (__remainderl): Likewise.
16901 * math/w_scalbl.c (sysv_scalbl): Likewise.
16902 * math/w_sinhl.c (__sinhl): Likewise.
16903 * math/w_sqrtl.c (__sqrtl): Likewise.
16904 * math/w_tgammal.c (__tgammal): Likewise.
16905 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16906 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16907 * math/libm-test.inc (acos_test): Add more tests.
16908 (acosh_test): Likewise.
16909 (asin_test): Likewise.
16910 (atanh_test): Likewise.
16911 (exp_test): Likewise.
16912 (exp10_test): Likewise.
16913 (exp2_test): Likewise.
16914 (expm1_test): Likewise.
16915 (lgamma_test): Likewise.
16916 (log_test): Likewise.
16917 (log10_test): Likewise.
16918 (log1p_test): Likewise.
16919 (log2_test): Likewise.
16920 (pow_test): Do not allow some spurious overflow exceptions.
16921 (sqrt_test): Add more tests.
16922 (tgamma_test): Likewise.
16923 (y0_test): Likewise.
16924 (y1_test): Likewise.
16925 (yn_test): Likewise.
16927 2012-03-27 Anton Blanchard <anton@samba.org>
16929 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16931 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16935 2012-03-27 David S. Miller <davem@davemloft.net>
16937 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16939 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16940 have-as-vis3 check.
16942 2012-03-27 Andreas Jaeger <aj@suse.de>
16944 * sysdeps/x86_64/elf/configure.in: Moved to ...
16945 * sysdeps/x86_64/configure.in: ... here.
16946 * sysdeps/x86_64/elf/start.S: Moved to ...
16947 * sysdeps/x86_64/start.S: ... here.
16948 * sysdeps/x86_64/elf/configure: Delete.
16950 * sysdeps/x86_64/configure.in: Merge contents from
16951 sysdeps/i386/configure.in (without i686 check).
16953 * sysdeps/i386/elf/Versions: Merge into ...
16954 * sysdeps/i386/Versions: ... this.
16955 * sysdeps/i386/elf/Versions: Delete file.
16956 * sysdeps/i386/elf/start.S: Moved to ...
16957 * sysdeps/i386/start.S: ...here.
16958 * sysdeps/i386/elf/configure.in: Merge into...
16959 * sysdeps/i386/configure.in: ...here.
16960 * sysdeps/i386/elf/configure.in: Delete file.
16961 * sysdeps/i386/elf/configure: Delete file.
16963 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16964 * debug/backtracesyms.c: ... here.
16965 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16966 * debug/backtracesymsfd.c: ... here.
16967 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16968 * sysdeps/generic/ifunc-sel.h: ... here.
16970 * sysdeps/unix/i386/start.c: Delete file.
16971 * sysdeps/unix/sparc/start.c: Delete file.
16972 * sysdeps/unix/start.c: Delete file.
16974 * sysdeps/sh/elf/configure.in: Moved to ...
16975 * sysdeps/sh/configure.in: ... here.
16976 * sysdeps/sh/elf/start.S: Moved to ...
16977 * sysdeps/sh/start.S: ... here.
16978 * sysdeps/sh/elf/configure: Delete file.
16980 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16981 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16982 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16983 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16984 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16985 * sysdeps/powerpc/powerpc64/start.S: here.
16986 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16987 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16988 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16989 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16990 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16992 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16993 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16994 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16995 * sysdeps/powerpc/powerpc32/start.S: ... here.
16996 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16997 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16998 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17000 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17001 * sysdeps/powerpc/ifunc-sel.h: ... here.
17002 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17003 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17005 * sysdeps/sparc/elf/configure.in: Moved to ...
17006 * sysdeps/sparc/configure.in: ... here.
17007 * sysdeps/sparc/elf/configure: Delete file.
17008 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17009 * sysdeps/sparc/sparc32/start.S: ... here.
17010 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17011 * sysdeps/sparc/sparc64/start.S: ... here.
17012 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17013 * sysdeps/sparc/sparc32/Makefile: ... this.
17014 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17015 * sysdeps/sparc/sparc64/Makefile: ... this.
17017 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17018 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17019 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17020 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17021 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17022 * sysdeps/s390/s390-32/setjmp.S: ... here.
17023 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17024 * sysdeps/s390/s390-32/configure.in: ... here.
17025 * sysdeps/s390/s390-32/elf/configure: Delete file.
17026 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17027 * sysdeps/s390/s390-32/start.S: ... here.
17029 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17030 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17031 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17032 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17033 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17034 * sysdeps/s390/s390-64/setjmp.S: ... here.
17035 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17036 * sysdeps/s390/s390-64/configure.in: ... here
17037 * sysdeps/s390/s390-64/elf/configure: Delete file.
17038 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17039 * sysdeps/s390/s390-64/start.S: ... here.
17040 * sysdeps/s390/s390-64/elf/configure: Delete.
17042 * configure.in: Remove support for elf directories in sysdeps.
17044 * configure: Regenerated.
17045 * sysdeps/i386/configure: Regenerated.
17046 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17047 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17048 * sysdeps/s390/s390-32/configure: Regenerated.
17049 * sysdeps/s390/s390-64/configure: Regenerated.
17050 * sysdeps/sh/configure: Regenerated.
17051 * sysdeps/sparc/configure: Regenerated.
17052 * sysdeps/x86_64/configure: Regenerated.
17054 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17059 denormal result into account.
17061 2012-03-25 Roland McGrath <roland@hack.frob.com>
17063 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17064 Reported by Allan McRae <allan@archlinux.org>.
17066 2012-03-23 Jeff Law <law@redhat.com>
17068 * nss/getnssent.c (__nss_getent): Fix typo.
17070 2012-03-23 David S. Miller <davem@davemloft.net>
17072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17074 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17076 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17077 to pad to uint64_t for each field.
17078 (dl_tls_index): Replace unsigned long with uint64_t.
17080 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17081 Paul Pluzhnikov <ppluzhnikov@google.com>
17084 * grp/Makefile (otherlibs): Don't set it.
17085 * inet/Makefile (otherlibs): Likewise.
17086 * login/Makefile (otherlibs): Likewise.
17087 * nscd/Makefile (otherlibs): Likewise.
17088 * posix/Makefile (otherlibs): Likewise.
17089 * pwd/Makefile (otherlibs): Likewise.
17090 * rt/Makefile (otherlibs): Likewise.
17091 * sunrpc/Makefile (otherlibs): Likewise.
17092 * nss/Makefile (otherlibs): Likewise.
17093 Add libnss_files to routines and static-only-routines.
17094 ($(objpfx)getent): Remove rule.
17095 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17096 static-only-routines.
17098 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17101 * math/s_cexp.c: Include <float.h>.
17102 (__cexp): Handle exp result overflowing not necessarily
17103 overflowing both real and imaginary parts of result.
17104 * math/s_cexpf.c: Likewise.
17105 * math/s_cexpl.c: Likewise.
17106 * math/libm-test.inc (cexp_test): Add more tests.
17107 * sysdeps/i386/fpu/libm-test-ulps: Update.
17108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17110 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17112 * include/link.h (ELFW): New macro.
17113 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17114 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17116 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17118 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17121 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17123 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17125 (struct La_x32_retval): Likewise.
17127 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17129 * sysdeps/x86_64/preconfigure.in: New file.
17130 * sysdeps/x86_64/preconfigure: New generated file.
17132 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17135 * math/e_exp2l.c: Include <float.h>.
17136 (__ieee754_exp2l): Handle overflow and underflow cases
17137 separately. Only pass fractional part of argument to
17139 * math/libm-test.inc (exp2_test): Add more tests.
17141 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17142 negating x to take absolute value.
17143 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17145 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17148 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17149 computing low part if x was negated.
17150 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17152 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17154 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17155 la_x32_gnu_pltexit.
17156 (pltexit): Cast int_retval to ptrdiff_t.
17157 * elf/tst-auditmod3b.c: Likewise.
17158 * elf/tst-auditmod4b.c: Likewise.
17159 * elf/tst-auditmod5b.c: Likewise.
17160 * elf/tst-auditmod6b.c: Likewise.
17161 * elf/tst-auditmod6c.c: Likewise.
17162 * elf/tst-auditmod7b.c: Likewise.
17164 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17165 and x32_gnu_pltexit.
17167 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17168 __ELF_NATIVE_CLASS.
17169 (La_x32_regs): New macro.
17170 (La_x32_retval): Likewise.
17171 (la_x32_gnu_pltenter): New function prototype.
17172 (la_x32_gnu_pltexit): Likewise.
17174 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17181 * configure.in (libc_cv_cc_nofma): Check for option to disable
17182 generation of FMA instructions.
17183 * configure: Regenerate.
17184 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17185 * sysdeps/ieee754/dbl-64/Makefile: New file.
17186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17187 Remove brandred-fma4.
17188 (CFLAGS-brandred-fma4.c): Remove.
17189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17190 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17197 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17198 LLONG_MAX != LONG_MAX.
17199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17200 (_fitoa_word): Likewise.
17201 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17202 LLONG_MAX != LONG_MAX.
17203 * stdio-common/_itowa.h: Include <_itoa.h>.
17204 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17205 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17206 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17207 only if not defined.
17208 (_ITOA_WORD_TYPE): Likewise.
17209 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17210 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17212 2012-03-21 David S. Miller <davem@davemloft.net>
17214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17216 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17218 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17219 of x86_64 when setting libc_cv_slibdir, libdir and
17221 * sysdeps/unix/sysv/linux/configure: Regenerated.
17223 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17225 * manual/lang.texi (Old Varargs): Remove section.
17226 (How Variadic): Update menu.
17227 (va_start): Do not mention varargs.h.
17229 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17230 Joseph Myers <joseph@codesourcery.com>
17232 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17234 * configure: Regenerated.
17236 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17238 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17239 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17242 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17245 * Makefile (files-for-dist): Remove NOTES.
17246 (NOTES): Remove rule.
17247 * README: Don't refer to NOTES.
17248 * manual/creature.texi: Don't include macros.texi.
17249 * manual/intro.texi (creature.texi): Remove comment referring to
17252 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17253 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17254 * configure: Regenerated.
17255 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17256 LIBC_TRY_CC_OPTION.
17257 (libc_cv_as_i686): Likewise.
17258 (libc_cv_cc_avx): Likewise.
17259 (libc_cv_cc_sse2avx): Likewise.
17260 (libc_cv_cc_fma4): Likewise.
17261 (libc_cv_cc_novzeroupper): Likewise.
17262 * sysdeps/i386/configure: Regenerated.
17265 * sysdeps/i386/fpu/s_cexp.S: Remove.
17266 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17267 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17268 * math/libm-test.inc (cexp_test): Add more tests.
17269 * sysdeps/i386/fpu/libm-test-ulps: Update.
17270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17272 2012-03-21 Allan McRae <allan@archlinux.org>
17274 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17276 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17279 * math/w_exp2.c: Do not include <float.h>.
17280 (o_threshold, u_threshold): Remove.
17281 (__exp2): Calculate result before checking finiteness and calling
17283 * math/w_exp2f.c: Likewise.
17284 * math/w_exp2l.c: Likewise.
17285 * math/libm-test.inc (exp2_test): Require overflow exception for
17289 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17290 range of signed 64-bit integers before using fistpll. Remove
17291 checks for whether integers fit in mantissa bits.
17292 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17293 the range of signed 32-bit integers before using fistpl. Remove
17294 checks for whether integers fit in mantissa bits.
17295 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17296 (__ieee754_powl): Test for y outside the range of signed 64-bit
17297 integers before using fistpll. Reduce 64-bit values to 63-bit
17299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17300 divide-by-zero is raised for zero to large negative powers.
17301 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17302 (__ieee754_powl): Test for y outside the range of signed 64-bit
17303 integers before using fistpll. Reduce 64-bit values to 63-bit
17305 * math/libm-test.inc (pow_test): Add more tests.
17307 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17309 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17310 <stdio-common/_itoa.h>.
17311 * debug/segfault.c: Likewise.
17312 * elf/dl-cache.c: Likewise.
17313 * elf/dl-minimal.c: Likewise.
17314 * elf/dl-misc.c: Likewise.
17315 * elf/dl-sysdep.c: Likewise.
17316 * elf/dl-version.c: Likewise.
17317 * elf/rtld.c: Likewise.
17318 * hurd/hurdsock.c: Likewise.
17319 * hurd/lookup-retry.c: Likewise.
17320 * malloc/malloc.c: Likewise.
17321 * malloc/mtrace.c: Likewise.
17322 * nscd/nscd_getgr_r.c: Likewise.
17323 * nscd/nscd_getpw_r.c: Likewise.
17324 * nscd/nscd_getserv_r.c: Likewise.
17325 * posix/getopt_init.c: Likewise.
17326 * posix/wordexp.c: Likewise.
17327 * stdio-common/_itoa.c: Likewise.
17328 * stdio-common/printf_fphex.c: Likewise.
17329 * stdio-common/vfprintf.c: Likewise.
17330 * string/_strerror.c: Likewise.
17331 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17332 * sysdeps/i386/i686/hp-timing.h: Likewise.
17333 * sysdeps/mach/_strerror.c: Likewise.
17334 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17335 * sysdeps/mach/hurd/sethostid.c: Likewise.
17336 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17337 * sysdeps/mach/xpg-strerror.c: Likewise.
17338 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17339 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17340 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17341 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17342 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17343 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17344 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17345 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17346 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17347 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17348 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17349 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17350 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17351 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17352 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17353 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17354 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17355 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17356 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17357 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17358 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17360 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17362 * stdio-common/_itoa.h: Moved to ...
17363 * sysdeps/generic/_itoa.h: Here.
17365 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17367 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17368 instead of "_itoa.h" and "_itowa.h".
17369 * stdio-common/vfprintf.: Likewise.
17371 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17373 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17375 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17376 (__signbit): Likwise.
17377 (llrintf): Likwise.
17380 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17382 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17385 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17387 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17388 OVERFLOW_EXCEPTION_OK.
17389 * math/libm-test.inc ("Philosophy"): Update comment about
17391 (OVERFLOW_EXCEPTION): Define.
17392 (OVERFLOW_EXCEPTION_OK): Likewise.
17393 (INVALID_EXCEPTION_OK): Renumber.
17394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17395 (IGNORE_ZERO_INF_SIGN): Likewise.
17396 (test_exceptions): Handle FE_OVERFLOW.
17397 (exp10_test): Expect overflow exceptions.
17398 (exp2_test): Likewise.
17399 (expm1_test): Likewise.
17400 (nextafter_test): Likewise.
17401 (pow_test): Likewise.
17402 (scalbn_test): Likewise.
17403 (scalbln_test): Likewise.
17405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17407 * sysdeps/x86_64/bits/atomic.h
17408 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17410 (atomic_exchange_acq): Likewise.
17411 (__arch_exchange_and_add_body): Likewise.
17412 (__arch_add_body): Likewise.
17413 (atomic_add_negative): Likewise.
17414 (atomic_add_zero): Likewise.
17416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17418 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17419 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17421 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17423 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17424 Check __x86_64__ instead of __WORDSIZE.
17426 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17428 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17430 2012-03-19 David S. Miller <davem@davemloft.net>
17432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17434 * sysdeps/sparc/fpu/fenv_private.h: New file.
17435 * sysdeps/sparc/fpu/math_private.h: Use it.
17436 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17438 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17439 (libc_feholdexcept_setroundl): Remove.
17440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17442 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17443 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17445 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17447 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17448 int64_t instead of long int.
17449 (INSERT_WORDS64): Likwise.
17451 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17453 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17454 _Unwind_GetCFA return to _Unwind_Ptr first.
17456 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17459 * math/s_clog.c: Include <float.h>.
17460 (__clog): Scale large or subnormal inputs.
17461 * math/s_clogf.c: Likewise.
17462 * math/s_clogl.c: Likewise.
17463 * math/s_clog10.c: Include <float.h>.
17464 (M_LOG10_2): Define.
17465 (__clog10): Scale large or subnormal inputs.
17466 * math/s_clog10f.c: Likewise.
17467 * math/s_clog10l.c: Likewise.
17468 * math/libm-test.inc (clog_test): Add more tests.
17469 (clog10_test): Likewise.
17470 * sysdeps/i386/fpu/libm-test-ulps: Update.
17471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17474 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17476 * math/libm-test.inc (atan2_test): Add another test.
17478 * Makerules (common-objdir-compile): Remove.
17479 * sysdeps/unix/Makefile (config-generated): Do not add
17480 $(unix-generated) to variable.
17481 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17482 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17484 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17486 [generic bits/local_lim.h] (before-compile): Do not append to
17488 [generic bits/local_lim.h] (common-generated): Likewise.
17489 [generic sys/param.h] (before-compile): Do not append to variable.
17490 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17491 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17492 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17493 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17495 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17496 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17497 [generic sys/param.h] ($(addprefix
17498 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17499 [generic sys/param.h] (common-generated): Do not append to
17501 [generic sys/param.h] (sysdep_headers): Likewise.
17502 [generic bits/errno.h] (before-compile): Do not append to
17504 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17506 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17507 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17508 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17509 [generic bits/errno.h] (common-generated): Do not append to
17511 [generic bits/ioctls.h] (before-compile): Do not append to
17513 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17515 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17516 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17517 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17519 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17520 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17521 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17522 [generic bits/ioctls.h] (common-generated): Do not append to
17524 [generic sys/syscall.h] (syscall.h): Remove variable.
17525 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17527 [generic sys/syscall.h] (before-compile): Do not append to
17529 [generic sys/syscall.h] (common-generated): Likewise.
17530 * sysdeps/unix/errnos-tmpl.c: Remove file.
17531 * sysdeps/unix/errnos.awk: Likewise.
17532 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17533 * sysdeps/unix/ioctls.awk: Likewise.
17534 * sysdeps/unix/mk-local_lim.c: Likewise.
17535 * sysdeps/unix/snarf-ioctls: Likewise.
17537 2012-03-19 Richard Henderson <rth@twiddle.net>
17539 * sysdeps/i386/fpu/fenv_private.h: New file.
17540 * sysdeps/i386/fpu/math_private.h: Use it.
17541 (math_opt_barrier, math_force_eval): Remove.
17542 (libc_feholdexcept_setround_53bit): Remove.
17543 (libc_feupdateenv_53bit): Remove.
17544 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17545 (math_opt_barrier, math_force_eval): Remove.
17546 (libc_feholdexcept): Remove.
17547 (libc_feholdexcept_setround): Remove.
17548 (libc_fetestexcept, libc_fesetenv): Remove.
17549 (libc_feupdateenv_test): Remove.
17550 (libc_feupdateenv, libc_feholdsetround): Remove.
17551 (libc_feresetround): Remove.
17553 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17554 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17556 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17557 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17558 (libc_feupdateenv_testl): New.
17559 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17560 (libc_feupdateenv_testf): New.
17561 (libc_feupdateenv): Use libc_feupdateenv_test.
17562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17563 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17565 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17566 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17567 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17568 (libc_feresetround_noex): New.
17569 (libc_feresetround_noexf): New.
17570 (libc_feresetround_noexl): New.
17571 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17572 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17573 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17574 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17579 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17581 SET_RESTORE_ROUND_NOEX.
17582 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17583 SET_RESTORE_ROUND_NOEXF.
17584 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17585 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17586 (libc_feholdsetroundf): New.
17587 (libc_feresetround, libc_feresetroundf): New.
17589 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17590 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17591 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17593 * sysdeps/generic/math_private.h: Include <fenv.h>.
17594 (default_libc_feholdexcept): New.
17595 (default_libc_feholdexcept_setround): New.
17596 (default_libc_fesetenv, default_libc_feupdateenv): New.
17597 (libc_feholdexcept): Only define if undefined.
17598 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17600 (libc_feholdexcept_setroundl): Likewise.
17601 (libc_feholdexcept_setround_53bit): Likewise.
17602 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17605 (libc_feupdateenv_53bit): Likewise.
17606 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17607 (libc_feholdexcept): Convert from macro to inline function.
17608 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17609 (libc_fesetenv, libc_feupdateenv): Likewise.
17611 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17612 not previously defined.
17613 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17614 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17615 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17616 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17617 * sysdeps/ieee754/flt-32/math_private.h: New file.
17618 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17619 math_private.h below SET_FLOAT_WORD.
17620 (__isnan, __isinf_ns, __finite): Remove.
17621 (__isnanf, __isinf_nsf, __finitef): Remove.
17623 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17627 2012-03-17 David S. Miller <davem@davemloft.net>
17630 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17633 2012-03-16 David S. Miller <davem@davemloft.net>
17635 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17639 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17641 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17642 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17643 sysdep_routines when subdir is sysvipc.
17644 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17645 __getshmlba helper.
17647 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17649 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17651 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17654 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17656 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17657 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17658 (__lround): Renamed to ...
17659 (__llround): This. Replace long int with long long int.
17660 Define lround functions as aliases of llround functions.
17661 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17663 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17665 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17666 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17667 adresses to uintptr_t. Replace "long int" and "unsigned long
17668 int" with "greg_t" on va_arg.
17670 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17672 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17673 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17675 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17676 Move e_machine check before EI_CLASS check. Handle x32
17677 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17678 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17679 SKIP_EM_IA_64 and include
17680 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17682 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17683 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17684 (add_system_dir): New macro.
17686 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17687 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17689 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17700 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17702 * math/w_j0f.c (j0f): Likewise.
17704 * math/w_j0l.c (__j0l): Likewise.
17706 * math/w_j1.c (j1): Likewise.
17708 * math/w_j1f.c (j1f): Likewise.
17710 * math/w_j1l.c (__j1l): Likewise.
17712 * math/w_jn.c (jn): Likewise.
17714 * math/w_jnf.c (jnf): Likewise.
17716 * math/w_jnl.c (__jnl): Likewise.
17718 * math/libm-test.inc (j0_test): Add more tests.
17719 (j1_test): Likewise.
17720 (jn_test): Likewise. Add trailing semicolon to existing test.
17721 (y0_test): Likewise.
17722 (y1_test): Likewise.
17723 * sysdeps/i386/fpu/libm-test-ulps: Update.
17724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17728 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17729 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17730 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17731 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17732 (__tanl): Set errno for infinite argument.
17733 * sysdeps/i386/fpu/mptan.c: Remove.
17734 * sysdeps/i386/fpu/s_tan.S: Likewise.
17735 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17736 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17737 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17738 * math/libm-test.inc (tan_test): Add more tests and enable more
17739 tests for double and long double.
17740 * sysdeps/i386/fpu/libm-test-ulps: Update.
17741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17743 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17745 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17746 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17748 2012-03-16 Roland McGrath <roland@hack.frob.com>
17750 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17751 * configure.in: Use it for both main tree and add-ons.
17752 * configure: Regenerated.
17754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17756 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17758 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17760 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17764 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17765 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17770 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17771 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17772 != 0 for prec == 2.
17773 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17774 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17775 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17776 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17777 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17778 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17779 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17780 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17781 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17782 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17783 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17784 * math/libm-test.inc (cos_test): Add more tests and enable more
17785 tests for long double.
17786 (sin_test): Likewise.
17787 (sincos_test): Likewise.
17788 * sysdeps/i386/fpu/libm-test-ulps: Update.
17789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17791 2012-03-16 David S. Miller <davem@davemloft.net>
17793 * sysdeps/sparc/fpu/math_private.h: New file.
17795 2012-03-15 David S. Miller <davem@davemloft.net>
17797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17811 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17812 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17814 * sysdeps/sparc/sparc-ifunc.h: New file.
17815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17860 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17862 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17866 2012-03-15 Andreas Jaeger <aj@suse.de>
17869 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17870 ieee754/flt-32 implementation for sin, cos and sincos.
17871 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17872 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17873 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17874 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17875 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17876 ieee754/flt-32 implementation for tan.
17878 * math/libm-test.inc (cos_test): Enable some large input tests for
17880 (sin_test): Likewise.
17881 (sincos_test): Likewise.
17882 (tan_test): Add tests for large input.
17884 * sysdeps/i386/fpu/libm-test-ulps: Update.
17886 2012-03-15 Andreas Jaeger <aj@suse.de>
17889 * math/libm-test.inc (cos_test): Add more test cases.
17890 (sin_test): Likewise.
17891 (sincos_test): Likewise.
17893 2012-03-15 Andreas Jaeger <aj@suse.de>
17896 * math/libm-test.inc (cos_test): Add a test case for large input
17898 (sin_test): Likewise.
17899 (sincos_test): Likewise.
17901 2012-03-15 Andreas Jaeger <aj@suse.de>,
17902 Joseph Myers <joseph@codesourcery.com>
17905 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17906 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17907 * sysdeps/i386/fpu/branred.c: Likewise.
17908 * sysdeps/i386/fpu/dosincos.c: Likewise.
17909 * sysdeps/i386/fpu/mpa.c: Likewise.
17910 * sysdeps/i386/fpu/s_cos.S: Likewise.
17911 * sysdeps/i386/fpu/s_sin.S: Likewise.
17912 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17913 * sysdeps/i386/fpu/sincos32.c: Likewise.
17915 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17917 (libc_feupdateenv_53bit): Define.
17918 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17920 (libc_feupdateenv_53bit): Define.
17922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17923 53 bit (without extend i386 double precision).
17925 * math/libm-test.inc (sincos_test): Add tests for large input.
17929 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17931 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17935 2012-03-15 David S. Miller <davem@davemloft.net>
17937 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17938 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17939 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17940 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17965 fmin/fmax sysdep routines.
17966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17968 2012-03-14 David S. Miller <davem@davemloft.net>
17970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18042 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18047 * sysdeps/sparc/configure.in: New file.
18048 * sysdeps/sparc/configure: Generate.
18049 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18050 * configure: Regenerate.
18051 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18052 * config.make.in (have-as-vis3): New.
18053 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18054 available use -Av9d instead of -Av9a.
18055 * sysdeps/sparc/sparc64/Makefile: Likewise.
18056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18069 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18071 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18072 fzeros/fnegs to load 0x80000000 into a float register instead of
18074 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18076 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18080 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18081 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18082 ($(inst_includedir)/bits/syscall.h): Remove rule.
18083 ($(objpfx)bits/syscall.d): Include instead of
18084 $(objpfx)syscall-list.d.
18085 (generated): Change syscall-list.h and syscall-list.d to
18086 bits/syscall.h and bits/syscall.d.
18088 2012-03-14 Roland McGrath <roland@hack.frob.com>
18091 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18093 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18096 * math/s_csqrt.c: Include <float.h>.
18097 (__csqrt): Scale large or subnormal inputs.
18098 * math/s_csqrtf.c: Likewise.
18099 * math/s_csqrtl.c: Likewise.
18100 * math/libm-test.inc (csqrt_test): Add more tests.
18101 * sysdeps/i386/fpu/libm-test-ulps: Update.
18102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105 * math/libm-test.inc (hypot_test): Add more tests.
18107 2012-03-13 David S. Miller <davem@davemloft.net>
18110 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18111 double-precision for the calculation instead of scaling.
18113 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18115 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18116 manipulate bits before adding and subtracting TWO52[sx].
18117 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18118 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18122 2012-03-13 David S. Miller <davem@davemloft.net>
18124 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18125 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18127 rtld-global-offsets.h
18128 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18133 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18135 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18136 'err' in the ifdef scope in which it is actually used.
18138 * nss/nss_db/db-init.c: Include string.h
18140 2012-03-12 David S. Miller <davem@davemloft.net>
18142 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18143 masking out of the most significant byte of random value used.
18144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18145 Fix coding style in previous change.
18147 * sysdeps/unix/sysv/linux/kernel-features.h
18148 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18149 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18151 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18154 2012-03-11 David S. Miller <davem@davemloft.net>
18156 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18157 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18159 for 'resultvar' otherwise things get truncated on 64-bit.
18161 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18162 Fix masking out of the most significant byte of random value used.
18164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18166 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18170 2012-03-09 David S. Miller <davem@davemloft.net>
18172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18173 variables with appropriate CPP guards.
18174 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18175 frame pointer, not the stack pointer. Correct layout comments. Fix test
18176 on resulting framesize and the management of the outregs buffer for pltexit.
18177 Preserve floating point return values across _dl_call_pltexit call.
18178 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18179 framesize and the management of the outregs buffer for pltexit.
18180 Preserve floating point return values across _dl_call_pltexit
18182 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18183 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18184 (print_exit): Fix format string for return register value.
18186 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18188 * sunrpc/Makefile (others): Add rpcgen.
18189 ($(objpfx)rpcgen): Remove special build rule and dependency on
18191 * sunrpc/rpcgen.c: New file.
18193 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18196 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18197 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18198 * sysdeps/i386/crti.S: Likewise.
18199 * sysdeps/i386/crtn.S: Likewise.
18200 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18202 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18203 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18204 * sysdeps/sh/crti.S: Likewise.
18205 * sysdeps/sh/crtn.S: Likewise.
18206 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18209 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18211 * locale/programs/locfile-kw.gperf: Likewise.
18212 * locale/programs/charmap-kw.h: Regenerated.
18213 * locale/programs/locfile-kw.h: Likewise.
18216 * intl/plural.y: Replace FSF snail mail address with URL.
18217 * intl/plural.c: Regenerated.
18219 2012-03-09 Richard Henderson <rth@twiddle.net>
18221 * include/math_private.h: Remove file.
18222 * math/math_private.h: Move file ...
18223 * sysdeps/generic/math_private.h: ... here.
18225 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18226 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18227 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18229 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18230 and <math_private.h>.
18231 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18232 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18233 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18234 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18235 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18286 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18288 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18289 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18290 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18292 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18295 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18296 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18297 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18298 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18299 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18300 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18319 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18320 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18321 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18322 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18324 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18325 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18326 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18327 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18328 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18329 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18335 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18336 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18337 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18338 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18344 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18345 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18347 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18348 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18350 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18351 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18352 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18354 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18355 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18357 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18358 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18359 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18360 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18361 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18362 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18364 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18365 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18366 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18367 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18368 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18369 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18371 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18372 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18373 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18374 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18375 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18376 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18377 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18378 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18379 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18380 * sysdeps/ieee754/k_standard.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18390 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18398 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18418 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18419 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18420 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18423 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18425 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18426 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18427 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18431 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18432 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18433 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18434 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18437 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18440 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18443 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18447 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18451 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18453 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18458 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18463 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18464 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18466 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18477 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18488 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18491 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18494 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18495 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18496 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18497 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18501 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18506 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18507 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18508 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18509 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18510 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18511 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18512 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18513 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18514 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18515 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18516 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18517 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18518 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18520 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18521 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18522 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18523 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18524 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18525 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18530 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18532 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18533 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18534 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18535 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18536 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18537 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18538 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18541 * sysdeps/ieee754/s_lib_version.c: Likewise.
18542 * sysdeps/ieee754/s_matherr.c: Likewise.
18543 * sysdeps/ieee754/s_signgam.c: Likewise.
18544 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18546 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18547 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18548 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18549 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18550 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18551 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18552 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18553 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18554 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18555 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18556 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18557 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18558 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18559 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18560 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18561 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18562 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18566 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18568 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18569 * sunrpc/rpc_main.c: Likewise.
18570 * sunrpc/rpc_svcout.c: Likewise.
18572 2012-03-09 David S. Miller <davem@davemloft.net>
18574 * include/math_private.h: New file.
18576 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18578 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18579 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18580 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18581 from <bits/socket_type.h>.
18582 (enum __socket_type): Don't define here.
18583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18585 bits/socket_type.h.
18588 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18589 checking __USE_GNU.
18591 * Makerules ($(inst_includedir)/%.h): New rule.
18592 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18593 (install-others): Remove variable setting.
18594 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18596 2012-03-08 Richard Henderson <rth@twiddle.net>
18598 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18599 from macro to inline function; merge with the
18600 !__LIBC_INTERNAL_MATH_INLINES version.
18601 (__ieee754_sqrtf): Likewise.
18603 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18604 to inline function.
18605 (__rintf, __floor, __floorf): Likewise.
18607 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18608 macro to inline function.
18609 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18612 not <math/math_private.h>.
18614 2012-03-08 David S. Miller <davem@davemloft.net>
18616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18618 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18620 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18622 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18624 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18625 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18627 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18629 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18630 be defined individually, they must be defined as a block. Define
18631 S for printing a string instead of hidint the different by using a
18632 macro for adding the 'l'.
18633 * stdio-common/tst-fphex-wide.c: Adjust.
18635 2012-03-07 Marek Polacek <polacek@redhat.com>
18637 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18639 2012-03-08 Marek Polacek <polacek@redhat.com>
18642 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18643 * stdio-common/tst-fphex.c: Define a few macros to make the
18644 test reusable. Use them.
18645 * stdio-common/tst-fphex-wide.c: New file.
18647 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18650 * manual/macros.texi (gnusystems): New macro.
18651 (nongnusystems): Likewise.
18652 (gnulinuxhurdsystems): Likewise.
18653 (gnuhurdsystems): Likewise..
18654 (gnulinuxsystems): Likewise.
18655 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18656 variants of the GNU system, not "GNU system".
18657 * manual/conf.texi: Likewise.
18658 * manual/errno.texi: Likewise. Update example of errno macro
18660 * manual/filesys.texi: Likewise.
18661 (getumask): Document as specific to GNU/Hurd.
18662 * manual/install.texi: Likewise. Reword some references to
18664 * manual/intro.texi: Likewise.
18665 * manual/io.texi: Likewise.
18666 (File Name Portability): Detail which constraints are inapplicable
18667 to all GNU systems and which are only inapplicable to GNU/Hurd.
18668 * manual/job.texi: Likewise.
18669 * manual/llio.texi: Likewise.
18670 (O_NOCTTY): Document as present on GNU/Linux.
18671 * manual/maint.texi: Likewise.
18672 * manual/memory.texi: Likewise.
18673 * manual/pattern.texi: Likewise.
18674 * manual/pipe.texi: Likewise.
18675 * manual/process.texi: Likewise.
18676 * manual/resource.texi: Likewise.
18677 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18679 * manual/setjmp.texi: Likewise.
18680 * manual/signal.texi: Likewise.
18681 * manual/startup.texi: Likewise.
18682 * manual/stdio.texi: Likewise.
18683 * manual/terminal.texi: Likewise.
18684 (ONLCR): Document as POSIX.
18685 (OXTABS): Document availability on GNU/Linux as XTABS.
18686 (ONOEOT): Document availability separately from other bits.
18687 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18688 * manual/time.texi: Likewise.
18689 * manual/users.texi: Likewise.
18690 * INSTALL: Regenerated.
18691 * sysdeps/gnu/errlist.c: Regenerated.
18693 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18694 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18695 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18697 * configure: Regenerated.
18699 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18702 default includes instead of AC_HEADER_CHECK.
18703 * sysdeps/i386/configure: Regenerated.
18706 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18707 * math/s_cacoshf.c (__cacoshf): Likewise.
18708 * math/s_cacoshl.c (__cacoshl): Likewise.
18709 * math/s_casinh.c (__casinh): Set signs of result from argument.
18710 * math/s_casinhf.c (__casinhf): Likewise.
18711 * math/s_casinhl.c (__casinhl): Likewise.
18712 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18713 (casinh_test): Add more tests.
18714 * sysdeps/i386/fpu/libm-test-ulps: Update.
18715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18717 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18719 * po/zh_TW.po: Update from translation team.
18721 * login/Makefile (distribute): Remove variable.
18722 * catgets/Makefile: Likewise.
18723 * mach/Makefile: Likewise.
18724 * malloc/Makefile: Likewise.
18725 * misc/Makefile: Likewise.
18726 * iconv/Makefile: Likewise.
18727 * nscd/Makefile: Likewise.
18728 * hurd/Makefile: Likewise.
18729 * manual/Makefile: Likewise.
18730 * locale/Makefile: Likewise.
18731 * intl/Makefile: Likewise.
18732 * conform/Makefile: Likewise.
18733 * nss/Makefile: Likewise.
18734 * time/Makefile: Likewise.
18735 * soft-fp/Makefile: Likewise.
18736 * dirent/Makefile: Likewise.
18737 * gmon/Makefile: Likewise.
18738 * po/Makefile: Likewise.
18739 * rt/Makefile: Likewise.
18740 * socket/Makefile: Likewise.
18741 * math/Makefile: Likewise.
18742 * signal/Makefile: Likewise.
18743 * debug/Makefile: Likewise.
18744 * elf/Makefile: Likewise.
18745 * timezone/Makefile: Likewise.
18746 * stdlib/Makefile: Likewise.
18747 * iconvdata/Makefile: Likewise.
18748 * sunrpc/Makefile: Likewise.
18749 * io/Makefile: Likewise.
18750 * argp/Makefile: Likewise.
18751 * inet/Makefile: Likewise.
18752 * hesiod/Makefile: Likewise.
18753 * grp/Makefile: Likewise.
18754 * csu/Makefile: Likewise.
18755 * wctype/Makefile: Likewise.
18756 * crypt/Makefile: Likewise.
18757 * libio/Makefile: Likewise.
18758 * string/Makefile: Likewise.
18759 * nis/Makefile: Likewise.
18760 * resolv/Makefile: Likewise.
18761 * stdio-common/Makefile: Likewise.
18762 * wcsmbs/Makefile: Likewise.
18763 * dlfcn/Makefile: Likewise.
18764 * posix/Makefile: Likewise.
18767 * timezone/Makefile: Don't install timezone files, just the programs
18770 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18772 * nss/databases.def: Add missing gshadow entry.
18774 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18776 2012-03-06 Marek Polacek <polacek@redhat.com>
18779 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18780 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18781 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18782 * stdio-common/tst-long-dbl-fphex.c: New file.
18784 2012-03-06 David S. Miller <davem@davemloft.net>
18786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18787 (set_obp_int): New function.
18788 (get_obp_int): New function.
18789 (__get_clockfreq_via_dev_openprom): Likewise.
18790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18791 Avoid unused variable warnings on 'val' and use builtin_expect.
18792 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18794 (INLINE_CLONE_SYSCALL): Likewise.
18796 2012-03-05 David S. Miller <davem@davemloft.net>
18798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18800 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18804 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18805 only for |x| >= 40.
18806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18808 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18811 Replace gettimeofday with __vdso_gettimeofday.
18813 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18814 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18815 __vdso_clock_gettime and __vdso_getcpu.
18817 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18818 time with __vdso_time.
18820 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18822 * manual/lang.texi (size_t): Note types to which size_t may be
18823 equivalent with the GNU C Library, but do not describe when
18824 differences between them are significant.
18826 2012-03-05 Andreas Jaeger <aj@suse.de>
18828 * sysdeps/i386/fpu/libm-test-ulps: Update.
18830 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18833 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18834 (__ieee754_pow): Save and restore rounding mode and use
18835 round-to-nearest for main computations.
18836 * math/libm-test.inc (pow_test_tonearest): New function.
18837 (pow_test_towardzero): Likewise.
18838 (pow_test_downward): Likewise.
18839 (pow_test_upward): Likewise.
18840 (main): Call the new functions.
18841 * sysdeps/i386/fpu/libm-test-ulps: Update.
18842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18845 * math/libm-test.inc (cosh_test_tonearest): New function.
18846 (cosh_test_towardzero): Likewise.
18847 (cosh_test_downward): Likewise.
18848 (cosh_test_upward): Likewise.
18849 (sinh_test_tonearest): Likewise.
18850 (sinh_test_towardzero): Likewise.
18851 (sinh_test_downward): Likewise.
18852 (sinh_test_upward): Likewise.
18853 (main): Call the new functions.
18854 * sysdeps/i386/fpu/libm-test-ulps: Update.
18855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18857 2012-03-05 Tom de Vries <tom@codesourcery.com>
18859 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18860 default stack guard is set in last bytes.
18861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18863 2012-03-05 Kees Cook <keescook@chromium.org>
18865 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18868 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18869 possibly allocate from heap instead of stack.
18870 * stdio-common/bug-vfprintf-nargs.c: New file.
18871 * stdio-common/Makefile (tests): Add nargs overflow test.
18873 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18877 2012-03-03 Marek Polacek <polacek@redhat.com>
18879 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18880 * math/math_private.h: Likewise.
18881 * stdlib/tst-strtod.c: Likewise.
18882 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18883 * sysdeps/x86_64/bits/atomic.h: Likewise.
18885 2012-03-02 David S. Miller <davem@davemloft.net>
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18891 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18892 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18893 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18894 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18896 2012-03-02 Roland McGrath <roland@hack.frob.com>
18899 * manual/examples/README: New file, says the example source files
18900 can be used under GPL>=2.
18901 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18902 line containing just "*/".
18903 * manual/examples/add.c: Add copyright header (GPL>=2).
18904 * manual/examples/argp-ex1.c: Likewise.
18905 * manual/examples/argp-ex2.c: Likewise.
18906 * manual/examples/argp-ex3.c: Likewise.
18907 * manual/examples/argp-ex4.c: Likewise.
18908 * manual/examples/atexit.c: Likewise.
18909 * manual/examples/db.c: Likewise.
18910 * manual/examples/dir.c: Likewise.
18911 * manual/examples/dir2.c: Likewise.
18912 * manual/examples/execinfo.c: Likewise.
18913 * manual/examples/filecli.c: Likewise.
18914 * manual/examples/filesrv.c: Likewise.
18915 * manual/examples/fmtmsgexpl.c: Likewise.
18916 * manual/examples/genpass.c: Likewise.
18917 * manual/examples/inetcli.c: Likewise.
18918 * manual/examples/inetsrv.c: Likewise.
18919 * manual/examples/isockad.c: Likewise.
18920 * manual/examples/longopt.c: Likewise.
18921 * manual/examples/memopen.c: Likewise.
18922 * manual/examples/memstrm.c: Likewise.
18923 * manual/examples/mkfsock.c: Likewise.
18924 * manual/examples/mkisock.c: Likewise.
18925 * manual/examples/mygetpass.c: Likewise.
18926 * manual/examples/pipe.c: Likewise.
18927 * manual/examples/popen.c: Likewise.
18928 * manual/examples/rprintf.c: Likewise.
18929 * manual/examples/search.c: Likewise.
18930 * manual/examples/select.c: Likewise.
18931 * manual/examples/setjmp.c: Likewise.
18932 * manual/examples/sigh1.c: Likewise.
18933 * manual/examples/sigusr.c: Likewise.
18934 * manual/examples/stpcpy.c: Likewise.
18935 * manual/examples/strdupa.c: Likewise.
18936 * manual/examples/strftim.c: Likewise.
18937 * manual/examples/strncat.c: Likewise.
18938 * manual/examples/subopt.c: Likewise.
18939 * manual/examples/swapcontext.c: Likewise.
18940 * manual/examples/termios.c: Likewise.
18941 * manual/examples/testopt.c: Likewise.
18942 * manual/examples/testpass.c: Likewise.
18943 * manual/examples/timeval_subtract.c: Likewise.
18946 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18948 * manual/timeval_subtract.c.texi: ... here, new file.
18950 2012-03-02 David S. Miller <davem@davemloft.net>
18952 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18954 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18957 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18958 (__sin): Save and restore rounding mode and use round-to-nearest
18959 for all computations.
18960 (__cos): Save and restore rounding mode and use round-to-nearest
18961 for all computations.
18962 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18964 (tan): Save and restore rounding mode and use round-to-nearest for
18966 * math/libm-test.inc (cos_test_tonearest): New function.
18967 (cos_test_towardzero): Likewise.
18968 (cos_test_downward): Likewise.
18969 (cos_test_upward): Likewise.
18970 (sin_test_tonearest): Likewise.
18971 (sin_test_towardzero): Likewise.
18972 (sin_test_downward): Likewise.
18973 (sin_test_upward): Likewise.
18974 (tan_test_tonearest): Likewise.
18975 (tan_test_towardzero): Likewise.
18976 (tan_test_downward): Likewise.
18977 (tan_test_upward): Likewise.
18978 (main): Call the new functions.
18979 * sysdeps/i386/fpu/libm-test-ulps: Update.
18980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18984 small n, then large n, before computing and testing k+n.
18985 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18990 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18991 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18996 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18998 * math/libm-test.inc (scalbn_test): Add more tests.
18999 (scalbln_test): Likewise.
19001 * manual/filesys.texi (mode_t): Describe constraints on size and
19002 signedness, not exact equivalence to a particular type.
19004 (ino64_t): Likewise.
19006 (nlink_t): Likewise.
19007 (blkcnt_t): Likewise.
19008 (blkcnt64_t): Likewise.
19009 * manual/llio.texi (off_t): Likewise.
19012 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19013 (__ieee754_exp): Save and restore rounding mode and use
19014 round-to-nearest for all computations.
19015 * math/libm-test.inc (exp_test_tonearest): New function.
19016 (exp_test_towardzero): Likewise.
19017 (exp_test_downward): Likewise.
19018 (exp_test_upward): Likewise.
19019 (main): Call the new functions.
19020 * sysdeps/i386/fpu/libm-test-ulps: Update.
19021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19023 2012-03-01 Chris Demetriou <cgd@google.com>
19025 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19026 have predictable order.
19028 2012-03-01 David S. Miller <davem@davemloft.net>
19030 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19032 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19033 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19034 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19035 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19037 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19038 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19039 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19041 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19042 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19043 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19044 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19045 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19050 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19051 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19053 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19054 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19055 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19056 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19057 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19062 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19063 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19067 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19069 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19070 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19071 * sysdeps/sparc/elf/configure: Regenerated.
19073 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19075 * configure.in (AS, LD): Require binutils 2.20 or later.
19076 * configure: Regenerated.
19077 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19078 as required minimum version.
19079 * INSTALL: Regenerated.
19083 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19084 before squaring exponent.
19085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19086 bottom long double and 27 bits of top long double before squaring
19088 * math/libm-test.inc (erfc_test): Add more tests.
19089 * sysdeps/i386/fpu/libm-test-ulps: Update.
19090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19093 2012-03-01 Kai Tietz <ktietz@redhat.com>
19095 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19096 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19097 containing bit-fields.
19098 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19099 * soft-fp/single.h (_FP_UNION_S): Likewise.
19100 * soft-fp/double.h (_FP_UNION_D): Likewise.
19102 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19105 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19106 not include ../strcmp.S.
19107 [USE_AS_STRNCASECMP_L]: Likewise.
19108 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19109 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19110 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19111 (__strncasecmp_l_ia32): Define as alias to
19112 __strncasecmp_l_nonascii.
19115 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19116 * sysdeps/i386/fpu/libm-test-ulps: Update.
19117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19119 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19122 2012-02-29 Jeff Law <law@redhat.com>
19124 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19125 out of bounds read.
19127 2012-02-29 Marek Polacek <polacek@redhat.com>
19130 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19131 * elf/Makefile: Add rules to run tst-unused-dep.out.
19133 2012-02-28 David S. Miller <davem@davemloft.net>
19135 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19136 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19139 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19140 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19142 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19144 * math/libm-test.inc (llround_test): Move one test from
19145 lround_test. Use TEST_f_L in moved test.
19146 (lround_test): Move misplaced test to llround_test. Add testcase
19149 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19151 * sysdeps/x86_64/fpu/e_expf.S: New file.
19152 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19154 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19157 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19158 of remain_len that may cause incomplete multi-byte character and
19160 * posix/bug-regex33.c: New file.
19161 * posix/Makefile (tests): Add bug-regex33.
19163 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19165 * manual/macros.texi: New file.
19166 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19167 * manual/libc.texinfo: Include macros.texi.
19168 * manual/creatute.texi: Likewise.
19169 * manual/install.texi: Likewise.
19170 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19171 @glibcadj{} in references to the GNU C Library.
19172 * manual/charset.texi: Likewise.
19173 * manual/conf.texi: Likewise.
19174 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19175 when not using those macros.
19176 * manual/creature.texi: Likewise.
19177 * manual/crypt.texi: Likewise.
19178 * manual/errno.texi: Likewise.
19179 * manual/filesys.texi: Likewise.
19180 * manual/header.texi: Likewise.
19181 * manual/install.texi: Likewise.
19182 * manual/intro.texi: Likewise.
19183 * manual/io.texi: Likewise.
19184 * manual/job.texi: Likewise.
19185 * manual/lang.texi: Likewise.
19186 * manual/libc.texiinfo: Likewise.
19187 * manual/llio.texi: Likewise.
19188 * manual/locale.texi: Likewise.
19189 * manual/maint.texi: Likewise.
19190 * manual/math.texi: Likewise.
19191 * manual/memory.texi: Likewise.
19192 * manual/message.texi: Likewise.
19193 * manual/nss.texi: Likewise.
19194 * manual/pattern.texi: Likewise.
19195 * manual/process.texi: Likewise.
19196 * manual/resource.texi: Likewise.
19197 * manual/search.texi: Likewise.
19198 * manual/setjmp.texi: Likewise.
19199 * manual/signal.texi: Likewise.
19200 * manual/socket.texi: Likewise.
19201 * manual/startup.texi: Likewise.
19202 * manual/stdio.texi: Likewise.
19203 * manual/string.texi: Likewise.
19204 * manual/sysinfo.texi: Likewise.
19205 * manual/syslog.texi: Likewise.
19206 * manual/terminal.texi: Likewise.
19207 * manual/time.texi: Likewise.
19208 * manual/users.texi: Likewise.
19209 * INSTALL: Regenerated.
19210 * NOTES: Regenerated.
19211 * sysdeps/gnu/errlist.c: Regenerated.
19213 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19215 * include/dirent.h: Include <dirstream.h> before
19218 2012-02-28 David S. Miller <davem@davemloft.net>
19220 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19221 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19222 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19223 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19225 2012-02-27 David S. Miller <davem@davemloft.net>
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19229 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19230 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19233 frame pointer instead of stack pointer relative arg slot.
19234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19235 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19236 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19238 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19241 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19243 2012-02-27 David S. Miller <davem@davemloft.net>
19245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19249 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19250 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19251 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19252 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19254 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19256 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19257 later. Allow versions 5-9.
19258 * configure: Regenerated.
19259 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19260 required minimum version and 4.6 as recommended version. Do not
19261 mention bugs in GCC 2.7 and 2.8.
19262 * INSTALL: Regenerated.
19264 2012-02-27 David S. Miller <davem@davemloft.net>
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19270 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19271 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19272 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19273 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19275 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19276 manipulate bits before adding and subtracting TWO112[sx].
19277 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19279 2012-02-27 Roland McGrath <roland@hack.frob.com>
19282 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19283 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19284 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19285 being in POSIX, because they are in 1003.1-2008.
19287 * rt/tst-aio.c: Include <fcntl.h>.
19288 * rt/tst-aio7.c: Likewise.
19289 * rt/tst-aio64.c: Likewise.
19291 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19293 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19295 * manual/install.texi (--with-headers): Describe headers as
19296 interface headers, not private headers.
19297 (Specific advice for GNU/Linux systems): Describe use of headers
19298 from "make headers_install", not private headers from older
19300 * INSTALL: Regenerated.
19301 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19303 * sysdeps/unix/sysv/linux/configure: Regenerated.
19305 * manual/llio.texi (fclean): Remove documentation.
19307 * manual/Makefile (libc-texi-generated): New variable. Include
19309 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19310 $(libc-texi-generated), not duplicated list of files.
19311 (version.texi, stamp-version): New rules.
19312 (realclean): Remove $(libc-texi-generated), not individual files
19313 from that list. Do not remove dir-add.texinfo.
19314 * manual/libc.texinfo: Comment out uses of edition numbers and
19315 references to printed manual. Remove last-updated dates.
19316 (EDITION): Comment out.
19318 (VERSION, UPDATED): Remove.
19319 (version.texi): Include.
19321 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19323 * sysdeps/posix/spawni.c: Include <signal.h>.
19324 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19325 * sysdeps/pthread/aio_fsync.c: Likewise.
19327 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19329 * conform/Makefile (tests): Run only when not cross-compiling and
19330 when fast-check is not defined.
19332 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19333 * conform/data/limits.h-data: Fixes for POSIX2008.
19334 * conform/run-conformtest.sh: Run all tests.
19335 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19337 * include/bits/dlfcn.h: Likewise.
19338 * include/langinfo.h: Likewise.
19339 * include/monetary.h: Likewise.
19340 * include/sys/poll.h: Likewise.
19342 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19344 * posix/spawn.h: Define __need_sigset_t.
19345 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19346 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19347 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19348 to get sigevent_t only.
19349 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19350 only for __USE_GNU.
19351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19352 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19353 process_vm_writev only for __USE_GNU.
19354 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19356 * conform/Makefile: For now ignore errors from run-conformtest.
19357 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19358 POSIX to avoid namespace pollution. Don't prepend headers.
19359 * conform/data/aio.h-data: Fixes for POSIX testing.
19360 * conform/data/fcntl.h-data: Likewise.
19361 * conform/data/glob.h-data: Likewise.
19362 * conform/data/grp.h-data: Likewise.
19363 * conform/data/pthread.h-data: Likewise.
19364 * conform/data/pwd.h-data: Likewise.
19365 * conform/data/signal.h-data: Likewise.
19366 * conform/data/spawn.h-data: Likewise.
19367 * conform/data/stdio.h-data: Likewise.
19368 * conform/data/stdlib.h-data: Likewise.
19369 * conform/data/stropts.h-data: Likewise.
19370 * conform/data/sys/mman.h-data: Likewise.
19371 * conform/data/sys/stat.h-data: Likewise.
19372 * conform/data/sys/types.h-data: Likewise.
19373 * conform/data/sys/wait.h-data: Likewise.
19374 * conform/data/time.h-data: Likewise.
19375 * conform/data/unistd.h-data: Likewise.
19376 * conform/data/utime.h-data: Likewise.
19378 * io/sys/stat.h: fchmod was always in POSIX.
19379 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19380 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19381 * rt/aio.h: Define __need_timespec before including <time.h>.
19382 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19383 struct. Add forward declaration of pthread_attr_t and use it in
19385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19387 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19388 always remove CLK_TCK definition.
19390 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19392 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19394 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19396 * conform/run-conformtest.sh: New file.
19397 * conform/Makefile: Run run-conformtest for tests.
19398 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19401 * conform/data/uchar.h-data: New file.
19402 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19403 * conform/data/arpa/inet.h-data: Likewise.
19404 * conform/data/assert.h-data: Likewise.
19405 * conform/data/complex.h-data: Likewise.
19406 * conform/data/cpio.h-data: Likewise.
19407 * conform/data/ctype.h-data: Likewise.
19408 * conform/data/dirent.h-data: Likewise.
19409 * conform/data/dlfcn.h-data: Likewise.
19410 * conform/data/errno.h-data: Likewise.
19411 * conform/data/fcntl.h-data: Likewise.
19412 * conform/data/float.h-data: Likewise.
19413 * conform/data/fmtmsg.h-data: Likewise.
19414 * conform/data/fnmatch.h-data: Likewise.
19415 * conform/data/ftw.h-data: Likewise.
19416 * conform/data/glob.h-data: Likewise.
19417 * conform/data/grp.h-data: Likewise.
19418 * conform/data/iconv.h-data: Likewise.
19419 * conform/data/inttypes.h-data: Likewise.
19420 * conform/data/langinfo.h-data: Likewise.
19421 * conform/data/libgen.h-data: Likewise.
19422 * conform/data/limits.h-data: Likewise.
19423 * conform/data/locale.h-data: Likewise.
19424 * conform/data/math.h-data: Likewise.
19425 * conform/data/monetary.h-data: Likewise.
19426 * conform/data/mqueue.h-data: Likewise.
19427 * conform/data/ndbm.h-data: Likewise.
19428 * conform/data/net/if.h-data: Likewise.
19429 * conform/data/netdb.h-data: Likewise.
19430 * conform/data/netinet/in.h-data: Likewise.
19431 * conform/data/nl_types.h-data: Likewise.
19432 * conform/data/poll.h-data: Likewise.
19433 * conform/data/pthread.h-data: Likewise.
19434 * conform/data/pwd.h-data: Likewise.
19435 * conform/data/regex.h-data: Likewise.
19436 * conform/data/sched.h-data: Likewise.
19437 * conform/data/search.h-data: Likewise.
19438 * conform/data/semaphore.h-data: Likewise.
19439 * conform/data/setjmp.h-data: Likewise.
19440 * conform/data/signal.h-data: Likewise.
19441 * conform/data/spawn.h-data: Likewise.
19442 * conform/data/stdarg.h-data: Likewise.
19443 * conform/data/stdio.h-data: Likewise.
19444 * conform/data/stdlib.h-data: Likewise.
19445 * conform/data/string.h-data: Likewise.
19446 * conform/data/strings.h-data: Likewise.
19447 * conform/data/stropts.h-data: Likewise.
19448 * conform/data/sys/ipc.h-data: Likewise.
19449 * conform/data/sys/mman.h-data: Likewise.
19450 * conform/data/sys/msg.h-data: Likewise.
19451 * conform/data/sys/resource.h-data: Likewise.
19452 * conform/data/sys/select.h-data: Likewise.
19453 * conform/data/sys/sem.h-data: Likewise.
19454 * conform/data/sys/shm.h-data: Likewise.
19455 * conform/data/sys/socket.h-data: Likewise.
19456 * conform/data/sys/stat.h-data: Likewise.
19457 * conform/data/sys/statvfs.h-data: Likewise.
19458 * conform/data/sys/time.h-data: Likewise.
19459 * conform/data/sys/timeb.h-data: Likewise.
19460 * conform/data/sys/times.h-data: Likewise.
19461 * conform/data/sys/types.h-data: Likewise.
19462 * conform/data/sys/uio.h-data: Likewise.
19463 * conform/data/sys/un.h-data: Likewise.
19464 * conform/data/sys/utsname.h-data: Likewise.
19465 * conform/data/sys/wait.h-data: Likewise.
19466 * conform/data/syslog.h-data: Likewise.
19467 * conform/data/tar.h-data: Likewise.
19468 * conform/data/termios.h-data: Likewise.
19469 * conform/data/utime.h-data: Likewise.
19470 * conform/data/utmpx.h-data: Likewise.
19471 * conform/data/varargs.h-data: Likewise.
19472 * conform/data/wchar.h-data: Likewise.
19473 * conform/data/wctype.h-data: Likewise.
19474 * conform/data/wordexp.h-data: Likewise.
19476 * include/stropts.h: New file.
19477 * include/uchar.h: New file.
19478 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19479 * include/assert.h: Likewise.
19480 * include/ctype.h: Likewise.
19481 * include/dirent.h: Likewise.
19482 * include/dlfcn.h: Likewise.
19483 * include/fcntl.h: Likewise.
19484 * include/fnmatch.h: Likewise.
19485 * include/glob.h: Likewise.
19486 * include/grp.h: Likewise.
19487 * include/libio.h: Likewise.
19488 * include/locale.h: Likewise.
19489 * include/math.h: Likewise.
19490 * include/net/if.h: Likewise.
19491 * include/netdb.h: Likewise.
19492 * include/netinet/in.h: Likewise.
19493 * include/pthread.h: Likewise.
19494 * include/pwd.h: Likewise.
19495 * include/regex.h: Likewise.
19496 * include/sched.h: Likewise.
19497 * include/search.h: Likewise.
19498 * include/setjmp.h: Likewise.
19499 * include/signal.h: Likewise.
19500 * include/stdio.h: Likewise.
19501 * include/stdlib.h: Likewise.
19502 * include/string.h: Likewise.
19503 * include/sys/cdefs.h: Likewise.
19504 * include/sys/mman.h: Likewise.
19505 * include/sys/msg.h: Likewise.
19506 * include/sys/resource.h: Likewise.
19507 * include/sys/select.h: Likewise.
19508 * include/sys/socket.h: Likewise.
19509 * include/sys/stat.h: Likewise.
19510 * include/sys/statvfs.h: Likewise.
19511 * include/sys/time.h: Likewise.
19512 * include/sys/times.h: Likewise.
19513 * include/sys/uio.h: Likewise.
19514 * include/sys/utsname.h: Likewise.
19515 * include/sys/wait.h: Likewise.
19516 * include/termios.h: Likewise.
19517 * include/time.h: Likewise.
19518 * include/ulimit.h: Likewise.
19519 * include/unistd.h: Likewise.
19520 * include/utime.h: Likewise.
19521 * include/wchar.h: Likewise.
19522 * include/wctype.h: Likewise.
19523 * include/wordexp.h: Likewise.
19525 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19527 * time/time.h: TIME_UTC must be a macro.
19528 Make timespec_get available for ISO C11 only as well.
19530 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19532 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19533 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19535 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19537 * configure.in: Use -o not -a in test for unsupported multi-arch.
19539 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19541 * manual/texinfo.tex: Update to version 2012-01-19.16.
19543 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19545 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19547 2012-02-24 Roland McGrath <roland@hack.frob.com>
19550 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19551 * manual/fdl-1.3.texi: New file.
19552 * manual/fdl-1.1.texi: File removed.
19555 * manual/libc.texinfo (FDL_VERSION): New @set.
19556 Use it for mention of FDL in cover text.
19557 (Documentation License): Use it in @include file name.
19559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19560 Roland McGrath <roland@hack.frob.com>
19563 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19564 not LONG_LONG_MAX and LONG_LONG_MIN.
19565 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19566 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19568 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19574 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19575 manipulate bits before adding and subtracting TWO23[sx].
19576 * math/libm-test.inc (nearbyint_test): Add more tests.
19578 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19581 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19582 bits before adding and subtracting TWO23[sx].
19583 * math/libm-test.inc (rint_test): Add more tests.
19584 (rint_test_tonearest): Likewise.
19585 (rint_test_towardzero): Likewise.
19586 (rint_test_downward): Likewise.
19587 (rint_test_upward: Likewise.
19589 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19592 * include/stdc-predef.h: New file. Extracted from features.h.
19593 * include/features.h: Include stdc-predef.h.
19594 * Makefile (headers): Add stdc-predef.h.
19595 * CONFORMANCE (Compiler limitations): Update.
19597 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19599 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19601 2012-02-21 David S. Miller <davem@davemloft.net>
19603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19606 2012-02-20 David S. Miller <davem@davemloft.net>
19608 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19609 using a normal save/restore sequence, rather than allocating a
19610 dummy stack frame just to store a frame pointer and restore.
19611 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19613 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19615 * manual/install.texi: Fix stray word in line-wrapped comment.
19617 2012-02-20 David S. Miller <davem@davemloft.net>
19619 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19620 both binutils and gcc support GOTDATA.
19622 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19623 "rd %pc" in the PIC register setup sequences.
19625 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19626 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19627 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19628 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19634 (SYSCALL_ERROR_HANDLER): Likewise.
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19636 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19638 (SYSCALL_ERROR_HANDLER): Likewise.
19640 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19641 (HAVE_GCC_GOTDATA): New.
19642 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19643 relocation support in both binutils and gcc.
19644 * sysdeps/sparc/elf/configure: Regenerate.
19646 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19647 * sysdeps/sparc/sparc32/elf/configure: Delete.
19648 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19649 * sysdeps/sparc/sparc64/elf/configure: Delete.
19650 * sysdeps/sparc/elf/configure.in: New file.
19651 * sysdeps/sparc/elf/configure: Generate.
19653 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19654 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19655 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19656 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19657 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19659 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19661 * manual/install.texi: Do not mention specific glibc version
19663 * manual/libc.texinfo (VERSION, UPDATED): Update.
19664 (@copying): Use @copyright{} and range of years.
19666 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19669 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19670 [crti.S not in sysdirs] (generated): Do not append.
19671 [crti.S not in sysdirs] (omit-deps): Likewise.
19672 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19673 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19674 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19675 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19676 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19678 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19679 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19680 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19681 * csu/defs.awk: Remove file.
19682 * sysdeps/generic/initfini.c: Likewise.
19683 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19685 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19688 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19690 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19691 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19692 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19695 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19697 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19698 (__EPOLL_PACKED): Define to empty if not defined by
19700 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19704 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19706 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19707 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19708 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19709 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19711 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19715 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19717 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19724 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19726 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19727 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19729 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19731 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19732 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19734 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19736 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19739 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19741 * math/w_acos.c: Use non-signaling floating-point comparisons.
19742 * math/w_acosf.c: Likewise.
19743 * math/w_acosh.c: Likewise.
19744 * math/w_acoshf.c: Likewise.
19745 * math/w_acoshl.c: Likewise.
19746 * math/w_acosl.c: Likewise.
19747 * math/w_asin.c: Likewise.
19748 * math/w_asinf.c: Likewise.
19749 * math/w_asinl.c: Likewise.
19750 * math/w_atanh.c: Likewise.
19751 * math/w_atanhf.c: Likewise.
19752 * math/w_atanhl.c: Likewise.
19753 * math/w_exp2.c: Likewise.
19754 * math/w_exp2f.c: Likewise.
19755 * math/w_exp2l.c: Likewise.
19756 * math/w_j0.c: Likewise.
19757 * math/w_j0f.c: Likewise.
19758 * math/w_j0l.c: Likewise.
19759 * math/w_j1.c: Likewise.
19760 * math/w_j1f.c: Likewise.
19761 * math/w_j1l.c: Likewise.
19762 * math/w_jn.c: Likewise.
19763 * math/w_jnf.c: Likewise.
19764 * math/w_log.c: Likewise.
19765 * math/w_log10.c: Likewise.
19766 * math/w_log10f.c: Likewise.
19767 * math/w_log10l.c: Likewise.
19768 * math/w_log2.c: Likewise.
19769 * math/w_log2f.c: Likewise.
19770 * math/w_log2l.c: Likewise.
19771 * math/w_logf.c: Likewise.
19772 * math/w_logl.c: Likewise.
19773 * math/w_sqrt.c: Likewise.
19774 * math/w_sqrtf.c: Likewise.
19775 * math/w_sqrtl.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19779 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19780 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19782 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19785 * manual/string.texi (strnlen): Use correct parameter name in
19786 equivalent expression.
19788 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19791 * manual/users.texi (seteuid): Consistently use neweuid for
19794 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19797 * manual/nss.texi (Services in the NSS configuration): Correct
19798 list of services in example configuration file.
19800 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19803 * manual/arith.texi: Remove statements about negative zero
19804 behaving identically to zero.
19806 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19809 * manual/install.texi: Do not document upgrading from libc5.
19811 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19814 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19816 2012-02-18 David S. Miller <davem@davemloft.net>
19818 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19819 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19820 %o7 across the call.
19821 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19824 SETUP_PIC_REG_LEAF.
19825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19826 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19827 * sysdeps/sparc/crtn.S: Likewise.
19829 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19831 * aout/Makefile: Remove.
19833 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19836 * manual/examples/argp-ex1.c (main): Format definition in GNU
19838 * manual/examples/argp-ex2.c (main): Likewise.
19839 * manual/examples/argp-ex3.c (main): Likewise.
19840 * manual/examples/argp-ex4.c (main): Likewise.
19841 * manual/examples/longopt.c (main): Use new-style prototype
19843 * manual/examples/strncat.c (main): Specify return type and use
19844 (void) for arguments.
19845 * manual/examples/subopt.c (main): Use char **argv argument.
19847 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19850 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19853 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19856 * manual/string.texi (strchr): Change when strchrnul is
19859 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19862 * manual/locale.texi (setlocale): Document LOCPATH.
19864 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19867 * manual/process.texi (execle): Move @dots{} before last argument.
19869 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19872 * manual/charset.texi (Generic Charset Conversion): Fix typo
19873 (LC_TYPE -> LC_CTYPE).
19875 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19878 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19879 (scalbnf): Likewise.
19880 (scalbnl): Likewise.
19881 (scalbln): Likewise.
19882 (scalblnf): Likewise.
19883 (scalblnl): Likewise.
19884 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19885 (vwarnx): Likewise.
19888 * manual/filesys.texi (telldir): Use braces around return type.
19889 * manual/llio.texi (mmap): Add space after comma.
19890 (mmap64): Likewise.
19891 * manual/math.texi (jn): Use @var{} on parameter names.
19897 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19899 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19901 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19902 (sched_get_priority_max): Likewise.
19903 * manual/signal.texi (sigvec): Add space after comma.
19904 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19906 (if_indextoname): Likewise.
19907 (if_freenameindex): Likewise.
19908 (sendto): Use ',' instead of '.' in prototype.
19909 * manual/startup.texi (syscall): Use @dots{} instead of literal
19911 * manual/stdio.texi (__fpending): Separate initial words of
19912 paragraph from @deftypefun line.
19913 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19915 (vsyslog): Use @var{} on parameter names.
19916 * manual/terminal.texi (stty): Use @var{} on parameter names.
19917 * manual/users.texi (getutmp): Use @var{} on parameter names.
19918 (getutmpx): Likewise.
19920 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19923 * manual/stdio.texi (fopen): Fix typos in description of
19926 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19929 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19930 get clock_id definition.
19932 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19935 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19936 (madvise): Cast every argument to void on its own.
19938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19941 * manual/startup.texi (Exit Status): Fix typo.
19943 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19946 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19947 * manual/examples/argp-ex2.c: Likewise.
19948 * manual/examples/argp-ex3.c: Likewise.
19950 2012-02-16 Richard Henderson <rth@redhat.com>
19952 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19953 * sysdeps/s390/s390-32/initfini.c: Remove.
19954 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19955 * sysdeps/s390/s390-64/initfini.c: Remove.
19957 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19959 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19960 compiler output for sysdeps/generic/initfini.c.
19961 * sysdeps/sh/elf/initfini.c: Remove file.
19963 2012-02-16 David S. Miller <davem@davemloft.net>
19966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19968 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19969 * sysdeps/sparc/crti.S: New file.
19970 * sysdeps/sparc/crtn.S: New file.
19971 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19972 * sysdeps/sparc/sparc64/Makefile: Likewise.
19974 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19977 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19979 2012-02-15 Roland McGrath <roland@hack.frob.com>
19982 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19984 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19985 (write, read, close): Likewise.
19986 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19988 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19990 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19991 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19992 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19993 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19995 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19999 2012-02-14 Marek Polacek <polacek@redhat.com>
20001 * sysdeps/x86_64/crti.S: New file.
20002 * sysdeps/x86_64/crtn.S: New file.
20003 * sysdeps/x86_64/elf/initfini.c: Remove file.
20005 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20007 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20008 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20009 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20010 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20012 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20016 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20018 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20019 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20020 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20021 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20023 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20027 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20029 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20030 __feraiseexcept instead of feraiseexcept.
20032 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20033 nanosleep invocations.
20034 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20035 strings, and add error checking for a nanosleep invocations.
20037 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20039 Replace FSF snail mail address with URLs, as per GNU coding standards.
20040 Most of the snail mail addresses were wrong anyway, and omitting
20041 them makes the source code easier to maintain. Almost all of the
20042 changes are to license notices and to locale LC_IDENTIFICATION
20043 addresses, except for this one:
20044 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20045 not its snail mail address.
20047 2012-02-09 Richard Henderson <rth@twiddle.net>
20049 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20050 of kernel-features.h.
20052 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20054 2012-02-08 Marek Polacek <polacek@redhat.com>
20056 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20057 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20058 * sysdeps/gnu/_G_config.h: Likewise.
20059 * sysdeps/generic/_G_config.h: Likewise.
20061 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20063 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20067 * sysdeps/powerpc/powerpc32/crti.S: New file.
20068 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20069 * sysdeps/powerpc/powerpc64/crti.S: New file.
20070 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20072 * Makeconfig (have-initfini): Don't set.
20073 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20074 * configure.in (nopic_initfini): Don't substitute.
20075 * config.h.in (HAVE_INITFINI): Don't #undef.
20076 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20077 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20079 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20081 Support crti.S and crtn.S provided directly by architectures.
20082 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20083 [crti.S in sysdirs] (omit-deps): Likewise.
20084 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20085 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20086 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20087 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20088 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20089 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20090 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20091 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20092 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20093 compiler output for sysdeps/generic/initfini.c.
20094 * sysdeps/i386/elf/Makefile: Remove file.
20095 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20097 2012-02-07 Marek Polacek <polacek@redhat.com>
20099 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20100 * sysdeps/gnu/_G_config.h: Likewise.
20101 * sysdeps/mach/hurd/_G_config.h: Likewise.
20103 2012-02-07 Marek Polacek <polacek@redhat.com>
20105 * math/Makefile (tests): Add tst-CMPLX2.
20106 * math/tst-CMPLX2.c: New file.
20108 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20110 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20112 * math/libm-test.inc (jn_test): Add missing L suffix.
20114 2012-02-06 Marek Polacek <polacek@redhat.com>
20116 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20117 * sysdeps/i386/fpu/e_powf.S: Likewise.
20118 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20119 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20120 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20121 * sysdeps/i386/fpu/e_pow.S: Likewise.
20122 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20123 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20124 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20125 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20126 * sysdeps/i386/fpu/e_log2.S: Likewise.
20127 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20128 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20129 * sysdeps/i386/fpu/e_powl.S: Likewise.
20130 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20131 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20132 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20133 * sysdeps/i386/fpu/e_logl.S: Likewise.
20134 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20135 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20136 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20137 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20139 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20140 * sysdeps/i386/fpu/e_log.S: Likewise.
20141 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20142 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20143 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20144 * sysdeps/i386/fpu/e_logf.S: Likewise.
20145 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20146 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20147 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20148 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20149 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20150 * sysdeps/i386/fpu/e_log10.S: Likewise.
20151 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20152 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20153 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20154 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20155 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20156 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20157 * sysdeps/i386/asm-syntax.h: Likewise.
20158 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20159 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20160 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20161 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20162 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20163 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20164 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20165 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20167 * sysdeps/powerpc/sysdep.h: Likewise.
20168 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20171 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20174 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20176 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20178 * sysdeps/i386/sysdep.h: Include <features.h>.
20179 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20182 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20184 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20186 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20189 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20191 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20192 (SETUP_PIC_REG): Use GET_PC_THUNK.
20193 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20196 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20198 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20199 for non-PIC compilation.
20200 (SETUP_PIC_REG): Add .p2align directive.
20201 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20202 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20203 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20204 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20205 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20206 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20207 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20208 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20209 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20210 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20211 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20212 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20213 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20214 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20215 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20217 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20222 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20223 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20224 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20226 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20227 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20231 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20233 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20234 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20235 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20236 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20237 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20238 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20239 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20240 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20241 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20243 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20245 * math/tst-CMPLX.c: Include <stdio.h>.
20247 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20249 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20251 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20252 * sysdeps/sparc/bits/mathdef.h: Likewise.
20254 2012-01-31 Marek Polacek <polacek@redhat.com>
20256 * libio/libio.h: Don't define _PARAMS.
20257 * locale/programs/config.h: Don't define PARAMS.
20258 * stdlib/strtol_l.c: Likewise.
20259 (__strtol_l): Remove PARAMS from the prototype.
20261 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20263 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20264 names. Just use the correct names. Remove unnecessary wrapper
20266 * malloc/arena.c: Likewise.
20267 * malloc/hooks.c: Likewise.
20269 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20270 ARENA_TEST says not to. Simplify test for creation of a new arena.
20271 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20273 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20275 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20277 (update_get_addr): New function.
20278 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20279 GET_ADDR_MODULE parameter.
20281 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20283 * crypt/cert.c: Remove __STDC__ conditionals.
20284 * crypt/crypt-entry.c: Likewise.
20285 * crypt/crypt_util.c: Likewise.
20286 * libio/filedoalloc.c: Likewise.
20287 * libio/fileops.c: Likewise.
20288 * libio/genops.c: Likewise.
20289 * libio/iofclose.c: Likewise.
20290 * libio/iofdopen.c: Likewise.
20291 * libio/iofopen.c: Likewise.
20292 * libio/iofopen64.c: Likewise.
20293 * libio/iogetdelim.c: Likewise.
20294 * libio/iopopen.c: Likewise.
20295 * libio/obprintf.c: Likewise.
20296 * libio/oldfileops.c: Likewise.
20297 * libio/oldiofclose.c: Likewise.
20298 * libio/oldiofdopen.c: Likewise.
20299 * libio/oldiofopen.c: Likewise.
20300 * libio/oldiopopen.c: Likewise.
20301 * libio/wfiledoalloc.c: Likewise.
20302 * libio/wgenops.c: Likewise.
20303 * locale/programs/xmalloc.c: Likewise.
20304 * misc/syslog.c: Likewise.
20305 * stdio-common/xbug.c: Likewise.
20306 * string/memchr.c: Likewise.
20307 * string/memcmp.c: Likewise.
20308 * string/memrchr.c: Likewise.
20309 * string/rawmemchr.c: Likewise.
20310 * sysdeps/posix/getcwd.c: Likewise.
20311 * time/strftime_l.c: Likewise.
20313 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20315 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20316 * config.make.in (config-cflags-sse2avx): Define.
20317 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20320 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20322 * scripts/config.guess: Update from upstream config git repository.
20323 * scripts/config.sub: Likewise.
20325 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20327 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20329 (R_TILEPRO_*, R_TILEGX_*): New macros.
20331 * scripts/firstversions.awk: Fix bug in version range handling.
20333 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20335 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20337 * include/sys/epoll.h: New file.
20338 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20341 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20343 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20344 Avoid unnecessary __WORDSIZE == 64 test.
20345 (fmaxf): Use VEX format if possible.
20350 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20351 * math/math_private.h: Remove libc_fegetround* and
20353 * sysdeps/i386/configure.in: Check for -msse2avx.
20354 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20355 also if SSE2AVX is defined.
20356 Remove libc_fegetround* and libc_fesetround*.
20357 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20358 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20359 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20362 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20367 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20369 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20371 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20375 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20378 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20380 * Makeconfig (libm): Define.
20381 * elf/Makefile: Add rules to build and run tst-relsort1.
20382 * elf/tst-relsort1.c: New file.
20383 * elf/tst-relsort1mod1.c: New file.
20384 * elf/tst-relsort1mod2.c: New file.
20386 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20388 * math/s_ldexp.c: Remove __STDC__ conditionals.
20389 * math/s_ldexpf.c: Likewise.
20390 * math/s_ldexpl.c: Likewise.
20391 * math/s_nextafter.c: Likewise.
20392 * math/s_nexttowardf.c: Likewise.
20393 * math/s_significand.c: Likewise.
20394 * math/s_significandf.c: Likewise.
20395 * math/s_significandl.c: Likewise.
20396 * math/w_jnl.c: Likewise.
20397 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20398 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20399 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20400 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20401 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20405 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20407 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20416 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20419 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20421 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20422 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20423 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20425 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20427 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20428 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20430 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20431 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20433 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20434 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20435 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20436 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20437 * sysdeps/ieee754/k_standard.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20457 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20460 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20468 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20470 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20474 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20487 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20496 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20498 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20499 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20502 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20503 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20504 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20505 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20506 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20508 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20509 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20510 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20511 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20512 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20513 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20514 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20515 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20516 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20517 * sysdeps/ieee754/s_matherr.c: Likewise.
20518 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20523 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20525 * crypt/md5.h: Remove __STDC__ conditionals.
20526 * libio/libioP.h: Likewise.
20527 * locale/programs/config.h: Likewise.
20528 * sysdeps/generic/sysdep.h: Likewise.
20529 * sysdeps/i386/asm-syntax.h: Likewise.
20530 * sysdeps/s390/asm-syntax.h: Likewise.
20531 * sysdeps/unix/sysdep.h: Likewise.
20532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20535 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20537 * libio/libio.h: Remove __STDC__ conditionals.
20538 * malloc/obstack.h: Likewise.
20539 * math/complex.h: Likewise.
20540 * math/math.h: Likewise.
20541 * sysdeps/generic/_G_config.h: Likewise.
20542 * sysdeps/gnu/_G_config.h: Likewise.
20543 * sysdeps/mach/hurd/_G_config.h: Likewise.
20544 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20545 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20546 * sysdeps/sparc/bits/mathdef.h: Likewise.
20548 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20551 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20552 Clean up HAS_* macros.
20553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20554 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20564 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20566 * elf/tst-unique3.cc (gets): Remove declaration.
20567 * elf/tst-unique3lib.cc (gets): Likewise.
20568 * elf/tst-unique3lib2.cc (gets): Likewise.
20569 * elf/tst-unique4.cc (gets): Likewise.
20571 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20573 * include/stdio.h: Add C++ protection. Add gets declarations and
20575 * debug/tst-chk1.c: Don't declare gets here.
20576 * stdio-common/tst-gets.c: Likewise.
20578 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20580 * posix/glob: Remove directory.
20582 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20584 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20586 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20588 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20589 of the non-standard EPFNOSUPPORT.
20591 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20593 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20594 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20595 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20597 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20599 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20601 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20603 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20605 * nscd/grpcache.c (cache_addgr): Likewise.
20606 * nscd/hstcache.c (cache_addhst): Likewise.
20607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20608 * nscd/pwdcache.c (cache_addpw): Likewise.
20609 * nscd/servicescache.c (cache_addserv): Likewise.
20611 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20613 * malloc/malloc.c: Various cleanups.
20614 * malloc/hooks.c: Likewise.
20616 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20617 * stdlib/bug-fmtmsg1.c: New file.
20619 * stdlib/fmtmsg.c (init): Add missing unlock.
20620 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20622 2012-01-12 Marek Polacek <polacek@redhat.com>
20624 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20627 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20629 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20630 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20631 macro to ensure uniqueness of label name.
20632 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20633 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20635 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20637 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20639 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20644 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20646 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20648 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20649 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20650 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20652 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20654 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20655 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20659 * math/bits/math-finite.h: Add ldexp support.
20661 2012-01-10 Marek Polacek <polacek@redhat.com>
20663 * locale/programs/localedef.h (show_archive_content): Add noreturn
20666 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20668 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20670 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20672 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20674 * io/Makefile (headers): Add bits/poll2.h.
20676 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20679 typo #include statement.
20681 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20683 * include/sys/cdefs.h: Define __attribute_alloc_size.
20684 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20685 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20686 * elf/pldd.c: Likewise.
20687 * iconv/iconv_charmap.c: Likewise.
20688 * iconv/iconvconfig.c: Likewise.
20689 * iconv/strtab.c: Likewise.
20690 * locale/programs/locale.c: Likewise.
20691 * locale/programs/localedef.h: Likewise.
20692 * locale/programs/simple-hash.c: Likewise.
20693 * nscd/nscd.h: Likewise.
20694 * nss/makedb.c: Likewise.
20695 * sysdeps/generic/ldconfig.h: Likewise.
20696 * locale/programs/localedef.c: Remove xmalloc prototype.
20697 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20699 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20701 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20704 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20706 * math/Makefile (tests): Add tst-CMPLX.
20707 * math/tst-CMPLX.c: New file.
20709 * math/complex.h (CMPLXL): Fix typo.
20711 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20712 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20714 * debug/tst-chk1.c: Add poll and ppoll tests.
20715 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20716 * include/sys/poll.h: Add hidden proto for ppoll.
20717 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20718 * sysdeps/mach/hurd/ppoll.c: Likewise.
20719 * io/ppoll.c: Likewise.
20720 * debug/poll_chk.c: New file.
20721 * debug/ppoll_chk.c: New file.
20722 * include/bits/poll2.h: New file.
20723 * io/bits/poll2.h: New file.
20726 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20728 * configure.in: static is always set to yes. Remove.
20729 * config.make.in: Don't set build-static.
20730 * Makeconfig: Remove use of build-static.
20731 * dlfcn/Makefile: Likewise.
20732 * elf/Makefile: Likewise.
20733 * math/Makefile: Likewise.
20734 * misc/Makefile: Likewise.
20735 * nptl/Makefile: Likewise.
20736 * sysdeps/mach/hurd/Makefile: Likewise.
20738 * configure.in: PWD_P is not used anymore.
20739 * config.make.in: Remove PWD_P entry.
20741 * configure.in: Remove last remnants of RANLIB.
20742 No need to check for signed size_t anymore.
20743 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20745 Remove __builtin_expect test because we require at least gcc 3.4.
20746 * aclocal.m4: Likewise.
20748 * wcsmbs/mbrtoc16.c: Implement using towc function.
20749 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20750 * wcsmbs/wcsmbsload.c: Likewise.
20751 * iconv/gconv_simple.c: Likewise.
20752 * iconv/gconv_int.h: Likewise.
20753 * iconv/gconv_builtin.h: Likewise.
20754 * iconv/iconv_prog.c: Remove CHAR16 handling.
20756 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20758 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20760 * configure.in: Remove --with-elf and --enable-bounded options.
20761 Dont set base_machine for ia64. More non-ELF conditions removed.
20762 Remove testing and setting of leading underscore information.
20763 * config.make.in (build-bounded): Set to no.
20764 * config.h.in: Remove NO_UNDERSCORES entry.
20765 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20767 * csu/start.c: Remove !NO_UNDERSCORE code.
20768 * locale/localeinfo.h: Likewise.
20769 * sysdeps/generic/machine-gmon.h: Likewise.
20770 * sysdeps/generic/sysdep.h: Likewise.
20771 * sysdeps/i386/sysdep.h: Likewise.
20772 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20773 * sysdeps/mach/sysdep.h: Likewise.
20774 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20776 * sysdeps/sh/sysdep.h: Likewise.
20777 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20778 * sysdeps/unix/i386/sysdep.S: Likewise.
20779 * sysdeps/unix/sparc/start.c: Likewise.
20780 * sysdeps/unix/sparc/sysdep.S: Likewise.
20781 * sysdeps/unix/sparc/sysdep.h: Likewise.
20782 * sysdeps/unix/start.c: Likewise.
20783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20784 * sysdeps/x86_64/sysdep.h: Likewise.
20786 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20789 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20791 * argp/argp-fmtstream.h: Use const instead __const.
20792 * argp/argp.h: Likewise.
20793 * assert/assert.h: Likewise.
20794 * bits/fenv.h: Likewise.
20795 * bits/sched.h: Likewise.
20796 * bits/sigset.h: Likewise.
20797 * bits/sigthread.h: Likewise.
20798 * catgets/nl_types.h: Likewise.
20799 * conform/data/pthread.h-data: Likewise.
20800 * crypt/crypt-private.h: Likewise.
20801 * crypt/crypt.h: Likewise.
20802 * crypt/crypt_util.c: Likewise.
20803 * ctype/ctype.h: Likewise.
20804 * debug/execinfo.h: Likewise.
20805 * debug/mbsnrtowcs_chk.c: Likewise.
20806 * debug/mbsrtowcs_chk.c: Likewise.
20807 * debug/wcsnrtombs_chk.c: Likewise.
20808 * debug/wcsrtombs_chk.c: Likewise.
20809 * debug/wcstombs_chk.c: Likewise.
20810 * dirent/dirent.h: Likewise.
20811 * dlfcn/dlfcn.h: Likewise.
20812 * elf/neededtest4.c: Likewise.
20813 * grp/grp.h: Likewise.
20814 * gshadow/gshadow.h: Likewise.
20815 * iconv/gconv.h: Likewise.
20816 * iconv/gconv_int.h: Likewise.
20817 * iconv/gconv_simple.c: Likewise.
20818 * iconv/iconv.h: Likewise.
20819 * iconv/loop.c: Likewise.
20820 * iconv/skeleton.c: Likewise.
20821 * include/aio.h: Likewise.
20822 * include/aliases.h: Likewise.
20823 * include/argz.h: Likewise.
20824 * include/arpa/inet.h: Likewise.
20825 * include/assert.h: Likewise.
20826 * include/dirent.h: Likewise.
20827 * include/dlfcn.h: Likewise.
20828 * include/execinfo.h: Likewise.
20829 * include/fcntl.h: Likewise.
20830 * include/fenv.h: Likewise.
20831 * include/glob.h: Likewise.
20832 * include/grp.h: Likewise.
20833 * include/libintl.h: Likewise.
20834 * include/mntent.h: Likewise.
20835 * include/netdb.h: Likewise.
20836 * include/pwd.h: Likewise.
20837 * include/rpc/netdb.h: Likewise.
20838 * include/sched.h: Likewise.
20839 * include/search.h: Likewise.
20840 * include/shadow.h: Likewise.
20841 * include/signal.h: Likewise.
20842 * include/stdio.h: Likewise.
20843 * include/stdlib.h: Likewise.
20844 * include/string.h: Likewise.
20845 * include/sys/socket.h: Likewise.
20846 * include/sys/stat.h: Likewise.
20847 * include/sys/statfs.h: Likewise.
20848 * include/sys/statvfs.h: Likewise.
20849 * include/sys/syslog.h: Likewise.
20850 * include/sys/time.h: Likewise.
20851 * include/sys/uio.h: Likewise.
20852 * include/time.h: Likewise.
20853 * include/unistd.h: Likewise.
20854 * include/utmp.h: Likewise.
20855 * include/wchar.h: Likewise.
20856 * include/wctype.h: Likewise.
20857 * inet/aliases.h: Likewise.
20858 * inet/arpa/inet.h: Likewise.
20859 * inet/netinet/ether.h: Likewise.
20860 * inet/netinet/in.h: Likewise.
20861 * intl/libintl.h: Likewise.
20862 * io/bits/fcntl2.h: Likewise.
20863 * io/fcntl.h: Likewise.
20864 * io/ftw.h: Likewise.
20865 * io/sys/poll.h: Likewise.
20866 * io/sys/stat.h: Likewise.
20867 * io/sys/statfs.h: Likewise.
20868 * io/sys/statvfs.h: Likewise.
20869 * io/utime.h: Likewise.
20870 * libio/bits/stdio.h: Likewise.
20871 * libio/bits/stdio2.h: Likewise.
20872 * libio/libio.h: Likewise.
20873 * libio/libioP.h: Likewise.
20874 * libio/stdio.h: Likewise.
20875 * locale/lc-ctype.c: Likewise.
20876 * locale/locale.h: Likewise.
20877 * login/utmp.h: Likewise.
20878 * malloc/arena.c: Likewise.
20879 * malloc/malloc.c: Likewise.
20880 * malloc/malloc.h: Likewise.
20881 * malloc/mcheck.c: Likewise.
20882 * malloc/mtrace.c: Likewise.
20883 * math/bits/mathcalls.h: Likewise.
20884 * math/fenv.h: Likewise.
20885 * math/math_private.h: Likewise.
20886 * misc/bits/error.h: Likewise.
20887 * misc/bits/syslog.h: Likewise.
20888 * misc/err.h: Likewise.
20889 * misc/error.h: Likewise.
20890 * misc/fstab.h: Likewise.
20891 * misc/mntent.h: Likewise.
20892 * misc/regexp.h: Likewise.
20893 * misc/search.h: Likewise.
20894 * misc/sgtty.h: Likewise.
20895 * misc/sys/mman.h: Likewise.
20896 * misc/sys/syslog.h: Likewise.
20897 * misc/sys/uio.h: Likewise.
20898 * misc/sys/xattr.h: Likewise.
20899 * misc/ttyent.h: Likewise.
20900 * nis/rpcsvc/ypclnt.h: Likewise.
20901 * nss/nss.h: Likewise.
20902 * posix/bits/unistd.h: Likewise.
20903 * posix/fnmatch.h: Likewise.
20904 * posix/glob.h: Likewise.
20905 * posix/sched.h: Likewise.
20906 * posix/spawn.h: Likewise.
20907 * posix/sys/wait.h: Likewise.
20908 * posix/unistd.h: Likewise.
20909 * posix/wordexp.h: Likewise.
20910 * pwd/pwd.h: Likewise.
20911 * resolv/netdb.h: Likewise.
20912 * resource/sys/resource.h: Likewise.
20913 * rt/aio.h: Likewise.
20914 * rt/bits/mqueue2.h: Likewise.
20915 * rt/mqueue.h: Likewise.
20916 * shadow/shadow.h: Likewise.
20917 * signal/signal.h: Likewise.
20918 * socket/send.c: Likewise.
20919 * socket/sendto.c: Likewise.
20920 * socket/sys/socket.h: Likewise.
20921 * stdio-common/printf.h: Likewise.
20922 * stdlib/bits/stdlib.h: Likewise.
20923 * stdlib/fmtmsg.h: Likewise.
20924 * stdlib/monetary.h: Likewise.
20925 * stdlib/stdlib.h: Likewise.
20926 * stdlib/ucontext.h: Likewise.
20927 * streams/stropts.h: Likewise.
20928 * string/argz.h: Likewise.
20929 * string/bits/string2.h: Likewise.
20930 * string/string.h: Likewise.
20931 * string/strings.h: Likewise.
20932 * sunrpc/rpc/auth.h: Likewise.
20933 * sunrpc/rpc/auth_des.h: Likewise.
20934 * sunrpc/rpc/clnt.h: Likewise.
20935 * sunrpc/rpc/netdb.h: Likewise.
20936 * sunrpc/rpc/pmap_clnt.h: Likewise.
20937 * sunrpc/rpc/xdr.h: Likewise.
20938 * sysdeps/generic/inttypes.h: Likewise.
20939 * sysdeps/generic/net/if.h: Likewise.
20940 * sysdeps/generic/sys/swap.h: Likewise.
20941 * sysdeps/gnu/net/if.h: Likewise.
20942 * sysdeps/gnu/utmpx.h: Likewise.
20943 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20944 * sysdeps/i386/i486/bits/string.h: Likewise.
20945 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20946 * sysdeps/s390/bits/string.h: Likewise.
20947 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20948 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20949 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20950 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20951 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20952 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20953 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20954 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20955 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20956 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20957 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20958 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20959 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20960 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20961 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20962 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20963 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20968 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20969 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20970 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20971 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20972 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20973 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20975 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20976 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20977 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20978 * sysvipc/sys/ipc.h: Likewise.
20979 * sysvipc/sys/msg.h: Likewise.
20980 * sysvipc/sys/sem.h: Likewise.
20981 * sysvipc/sys/shm.h: Likewise.
20982 * termios/termios.h: Likewise.
20983 * time/sys/time.h: Likewise.
20984 * time/time.h: Likewise.
20985 * wcsmbs/bits/wchar2.h: Likewise.
20986 * wcsmbs/uchar.h: Likewise.
20987 * wcsmbs/wchar.h: Likewise.
20988 * wctype/wctype.h: Likewise.
20991 * Makeconfig: Remove all but ELF support including AIX support.
20992 * Makerules: Likewise.
20993 * config.h.in: Likewise.
20994 * config.make.in: Likewise.
20995 * configure: Likewise.
20996 * configure.in: Likewise.
20997 * csu/Makefile: Likewise.
20998 * csu/version.c: Likewise.
20999 * debug/Makefile: Likewise.
21000 * dlfcn/Makefile: Likewise.
21001 * elf/Makefile: Likewise.
21002 * extra-lib.mk: Likewise.
21003 * iconv/Makefile: Likewise.
21004 * include/libc-symbols.h: Likewise.
21005 * include/shlib-compat.h: Likewise.
21006 * resolv/Makefile: Likewise.
21007 * resolv/res_libc.c: Likewise.
21008 * rt/Makefile: Likewise.
21009 * sysdeps/i386/asm-syntax.h: Likewise.
21010 * sysdeps/i386/sysdep.h: Likewise.
21011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21012 * sysdeps/mach/sysdep.h: Likewise.
21013 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21014 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21015 * sysdeps/s390/asm-syntax.h: Likewise.
21016 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21017 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21018 * sysdeps/sh/sysdep.h: Likewise.
21019 * sysdeps/unix/sparc/sysdep.h: Likewise.
21020 * sysdeps/wordsize-32/divdi3.c: Likewise.
21021 * sysdeps/x86_64/sysdep.h: Likewise.
21023 * argp/Versions: Remove _argp_unlock_xxx.
21026 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21027 * abilist/libBrokenLocale.abilist: Likewise.
21028 * abilist/libanl.abilist: Likewise.
21029 * abilist/libc.abilist: Likewise.
21030 * abilist/libcrypt.abilist: Likewise.
21031 * abilist/libdl.abilist: Likewise.
21032 * abilist/libm.abilist: Likewise.
21033 * abilist/libnsl.abilist: Likewise.
21034 * abilist/libpthread.abilist: Likewise.
21035 * abilist/libresolv.abilist: Likewise.
21036 * abilist/librt.abilist: Likewise.
21037 * abilist/libthread_db.abilist: Likewise.
21038 * abilist/libutil.abilist: Likewise.
21039 * abilist/libnss_db.abilist: New file.
21041 * scripts/abilist.awk: Add support for indirect functions.
21043 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21045 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21047 * shlib-versions: Remove entries for ports architectures.
21049 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21051 * elf/stackguard-macros.h: Remove support for IA-64.
21052 * elf/tst-auditmod1.c: Likewise.
21053 * sysdeps/generic/ldsodefs.h: Likewise.
21055 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21056 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21060 * configure.in: Remove --enable-omitfp support.
21062 * config.make.in: Likewise.
21063 * Makeconfig: Likewise.
21064 * manual/install.texi: Likewise.
21066 In case anyone cares, the IA-64 architecture could move to ports.
21067 * sysdeps/ia64/*: Removed.
21068 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21069 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21072 * configure.in: Remove entries for unsupported architectures.
21075 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21076 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21078 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21079 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21080 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21081 fall back to using wcrtomb.
21082 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21083 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21085 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21086 * wcsmbs/tst-c16c32-1.c: New file.
21088 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21091 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21093 * elf/tst-unique3.cc: Add explicit declaration of gets.
21094 * elf/tst-unique3lib.cc: Likewise.
21095 * elf/tst-unique3lib2.cc: Likewise.
21096 * elf/tst-unique4.cc: Likewise.
21098 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21100 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21103 * assert/assert.h (static_assert): Don't define for C++.
21104 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21105 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21107 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21109 * iconv/loop.c (single loop): Fix assertion in storing of
21112 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21114 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21116 * posix/getconf.c: Update copyright year.
21117 * nss/getent.c: Likewise.
21118 * nss/makedb.c: Likewise.
21119 * iconv/iconvconfig.c: Likewise.
21120 * iconv/iconv_prog.c: Likewise.
21121 * elf/ldconfig.c: Likewise.
21122 * elf/pldd.c: Likewise.
21123 * elf/sotruss.ksh: Likewise.
21124 * catgets/gencat.c: Likewise.
21125 * csu/version.c: Likewise.
21126 * elf/ldd.bash.in: Likewise.
21127 * elf/sprof.c (print_version): Likewise.
21128 * locale/programs/locale.c: Likewise.
21129 * locale/programs/localedef.c: Likewise.
21130 * login/programs/pt_chown.c: Likewise.
21131 * nscd/nscd.c (print_version): Likewise.
21132 * debug/xtrace.sh: Likewise.
21133 * malloc/memusage.sh: Likewise.
21134 * malloc/mtrace.pl: Likewise.
21135 * debug/catchsegv.sh: Likewise.
21137 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21139 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21142 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21145 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21146 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21148 * iconv/gconv_int.h: Likewise.
21149 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21150 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21151 from libc for GLIBC_2.16.
21152 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21153 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21154 * wcsmbs/uchar.h: Really define mbstate_t.
21155 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21156 * wcsmbs/c16rtomb.c: New file.
21157 * wcsmbs/mbrtoc16.c: New file.
21158 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21159 for C/POSIX locale.
21160 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21161 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21163 * wcsmbs/wchar.h: Add missing __restrict.
21165 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21168 * time/Makefile (routines): Add timespec_get.
21169 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21170 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21171 timespec for ISO C11.
21172 * time/timespec_get.c: New file.
21173 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21174 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21177 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21178 * stdlib/stdlib.h: Declare aligned_alloc.
21179 * Versions.def: Add GLIBC_2.16 for libc.
21180 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21183 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21186 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21190 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21193 * assert/assert.h (static_assert): Define.
21195 * version.h: Update for 2.16 development version.
21198 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21201 * version.h (RELEASE): Bump for 2.15 release.
21202 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21204 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21205 Patch by Marek Polacek <mpolacek@redhat.com>.
21207 * bits/byteswap.h: Protect long long constants with __extension__.
21208 * sysdeps/i386/bits/byteswap.h: Likewise.
21209 * sysdeps/ia64/bits/byteswap.h: Likewise.
21210 * sysdeps/s390/bits/byteswap.h: Likewise.
21211 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21213 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21217 destination buffer.
21218 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21220 2011-12-23 Marek Polacek <polacek@redhat.com>
21222 * elf/dl-addr.c (determine_info): Add inline keyword.
21223 * elf/tst-auditmod4b.c (check_avx): Likewise.
21224 * elf/tst-auditmod6b.c (check_avx): Likewise.
21225 * elf/tst-auditmod6c.c (check_avx): Likewise.
21226 * elf/tst-auditmod7b.c (check_avx): Likewise.
21228 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21230 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21233 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21236 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21237 processing for last bytes.
21239 2011-08-06 Bruno Haible <bruno@clisp.org>
21242 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21243 U+0385, not to U+1FEE.
21246 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21247 entry for U+00A5 U+0301.
21249 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21252 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21253 buffer for the output is too small.
21255 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21259 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21260 SSE flags if possible.
21262 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21265 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21266 processing for last bytes.
21268 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21270 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21271 (syscall-list-default-options, syscall-list-default-condition)
21272 (syscall-list-includes): Define.
21273 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21274 list of ABIs and options and #if conditions for each ABI. Do not
21275 handle common syscalls between ABIs specially.
21276 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21278 (syscall-list-variants, syscall-list-32bit-options)
21279 (syscall-list-32bit-condition, syscall-list-64bit-options)
21280 (syscall-list-64bit-condition): Define.
21281 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21282 (syscall-list-variants, syscall-list-32bit-options)
21283 (syscall-list-32bit-condition, syscall-list-64bit-options)
21284 (syscall-list-64bit-condition): Define.
21285 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21287 (syscall-list-variants, syscall-list-32bit-options)
21288 (syscall-list-32bit-condition, syscall-list-64bit-options)
21289 (syscall-list-64bit-condition): Define.
21290 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21292 (syscall-list-variants, syscall-list-32bit-options)
21293 (syscall-list-32bit-condition, syscall-list-64bit-options)
21294 (syscall-list-64bit-condition): Define.
21296 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21298 * locale/iso-639.def: Add brx entry.
21301 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21302 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21304 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21305 __feraiseexcept_renamed.
21307 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21310 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21311 EPOLLET with unsigned values.
21312 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21315 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21316 to large cancellation.
21317 * math/s_cacoshf.c: Likewise.
21318 * math/s_cacoshl.c: Likewise.
21320 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21324 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21325 * math/s_cacoshf.c: Likewise.
21326 * math/s_cacoshl.c: Likewise.
21328 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21331 * iconv/gconv.h: Define __GCONV_SWAP.
21332 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21333 * iconvdata/utf-16.c: Likewise.
21334 * iconvdata/utf-32.c: Likewise.
21336 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21340 numerator after shifting it by one limb.
21342 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21344 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21345 under [__USE_EXTERN_INLINES].
21347 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21350 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21352 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21354 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21355 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21357 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21358 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21359 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21360 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21361 for strncasecmp/strncasecmp_l compilation.
21362 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21363 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21365 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21368 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21371 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21374 * time/tzfile.c (__tzfile_read): Check values from file header.
21376 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21378 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21379 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21380 * powerpc/powerpc32/dl-start.S: Likewise.
21381 * powerpc/powerpc32/elf/start.S: Likewise.
21382 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21383 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21384 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21385 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21386 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21387 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21388 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21389 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21390 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21391 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21392 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21393 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21394 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21395 * powerpc/powerpc32/memset.S: Likewise.
21396 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21397 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21398 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21399 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21400 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21401 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21402 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21403 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21404 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21405 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21406 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21407 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21408 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21410 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21412 * math/libm-test.inc: Added more nearbyint tests.
21413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21418 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21420 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21423 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21425 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21426 Add wcscpy-ssse3 wcscpy-c.
21427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21428 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21429 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21430 * sysdeps/x86_64/wcschr.S: New file.
21431 * sysdeps/x86_64/wcsrchr.S: New file.
21432 * string/test-strcmp.c: Remove checking of wcscmp function for
21434 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21435 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21436 wcsrchr-sse2 wcsrchr-c.
21437 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21438 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21439 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21440 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21441 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21442 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21443 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21444 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21445 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21446 * wcsmbc/wcschr.c (WCSCHR): New macro.
21448 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21450 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21451 * wcsmbs/test-wcsrchr.c: New file.
21452 * string/test-strrchr.c: Add wcsrchr support.
21454 * wcsmbs/test-wcscpy.c: New file.
21455 * string/test-strcpy.c: Add wcscpy support.
21458 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21460 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21463 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21466 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21468 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21471 Minor optimizations.
21473 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21474 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21475 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21477 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21479 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21480 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21481 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21482 for gcc to avoid warnings.
21483 * inet/Makefile (tests): Add tst-checks.
21484 * inet/tst-checks.c: New file.
21486 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21489 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21492 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21493 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21495 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21497 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21499 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21502 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21504 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21506 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21507 conditional on GCC version.
21508 (__arch_compare_and_exchange_val_8_acq)
21509 (__arch_compare_and_exchange_val_16_acq)
21510 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21511 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21512 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21514 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21516 * sysdeps/sh/backtrace.c: New file.
21518 2011-12-02 Andreas Schwab <schwab@redhat.com>
21520 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21523 2011-12-01 Andreas Schwab <schwab@redhat.com>
21525 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21526 falling back to utime.
21528 2011-11-30 Andreas Schwab <schwab@redhat.com>
21530 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21531 expectations for float.
21533 2011-11-29 Andreas Schwab <schwab@redhat.com>
21535 * locale/weight.h (findidx): Add parameter len.
21536 * locale/weightwc.h (findidx): Likewise.
21537 * posix/fnmatch_loop.c (FCT): Adjust caller.
21538 * posix/regcomp.c (build_equiv_class): Likewise.
21539 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21540 * posix/regexec.c (check_node_accept_bytes): Likewise.
21541 * string/strcoll_l.c (STRCOLL): Likewise.
21542 * string/strxfrm_l.c (STRXFRM): Likewise.
21544 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21546 * Makefile.in: Remove CVSOPT handling.
21547 * configure.in: Remove use of AC_REVISION.
21548 * iconvdata/Makefile (distribute): No need to filter out CVS.
21549 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21552 2011-11-16 Andreas Schwab <schwab@redhat.com>
21554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21555 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21556 [USE_AS_STRNCASECMP_L]: Likewise.
21557 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21558 NO_TLS_DIRECT_SEG_REFS.
21559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21560 Fix argument offsets for non-PIC.
21561 [USE_AS_STRNCASECMP_L]: Likewise.
21562 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21563 NO_TLS_DIRECT_SEG_REFS.
21565 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21567 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21569 * locale/loadlocale.c (_nl_load_locale): Likewise.
21571 2011-11-15 Andreas Schwab <schwab@redhat.com>
21573 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21574 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21576 (SYSCALL_GETTIME): Set errno on error.
21578 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21579 count references to noai6ai_cached.
21581 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21583 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21585 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21586 FD_CLOEXEC for /proc/self/maps.
21588 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21589 FD_CLOEXEC for /proc/meminfo.
21591 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21594 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21595 FD_CLOEXEC for given file.
21597 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21599 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21600 FD_CLOEXEC for /etc/hosts.
21601 (_gethtent): Likewise.
21603 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21605 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21606 cancellation and set FD_CLOEXEC for /etc/netgroup.
21608 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21609 reading /etc/publickey.
21611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21612 allow cancellation when reading /etc/group.
21614 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21616 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21618 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21619 when using data file.
21621 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21623 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21624 (write_nis_obj): Use "c" and "e" in fopen.
21626 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21628 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21630 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21632 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21634 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21637 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21639 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21641 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21643 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21644 file parsing and set FD_CLOEXEC.
21646 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21648 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21650 2011-11-14 Andreas Schwab <schwab@redhat.com>
21652 * malloc/arena.c (arena_get2): Don't call reused_arena when
21653 _int_new_arena failed.
21655 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21657 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21658 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21660 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21661 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21663 to compile strcasecmp and strncasecmp.
21664 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21665 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21669 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21671 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21672 locale-defines.sym to gen-as-const-headers.
21673 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21674 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21676 to compile strcasecmp and strncasecmp.
21677 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21678 strcasecmp_l and strncasecmp_l.
21679 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21680 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21681 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21682 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21683 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21684 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21685 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21686 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21687 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21688 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21689 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21691 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21693 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21694 result of SYSDEP_GETTIME_CPU to retval.
21695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21696 parameter list to macro. Remove trailing semicolon. Adjust users.
21698 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21701 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21705 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21706 from unused variable.
21708 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21710 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21713 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21716 * sunrpc/rpc_prot.c (rejected): Fix case value.
21718 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21719 unsigned long long int to avoid warnings in shift.
21721 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21723 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21726 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21727 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21728 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21730 * nis/nis_table.c (nis_list): Use variable of correct type for
21731 result of __follow_path call.
21733 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21735 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21736 of math functions ceil, trunc, floor, round, and sqrt, when
21737 avaliable on the platform.
21738 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21741 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21742 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21744 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21746 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21749 2011-11-11 Roland McGrath <roland@hack.frob.com>
21751 * include/unistd.h: Fix __readlink return type.
21752 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21754 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21756 * stdlib/ucontext.h: Undo last change for makecontext.
21758 2011-11-11 Andreas Schwab <schwab@redhat.com>
21760 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21762 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21763 * setjmp/setjmp.h: Mark functions as non-leaf.
21764 * setjmp/bits/setjmp2.h: Likewise.
21765 * stdlib/ucontext.h: Likewise.
21767 2011-11-10 Andreas Schwab <schwab@redhat.com>
21769 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21770 (reused_arena): Don't check arena limit.
21771 (arena_get2): Atomically check arena limit.
21773 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21775 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21776 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21781 2011-11-07 Andreas Schwab <schwab@redhat.com>
21783 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21784 handler when locking.
21786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21787 Fix size of allocated buffer.
21789 2011-11-04 Andreas Schwab <schwab@redhat.com>
21792 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21793 declarations for long double functions.
21794 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21796 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21798 2011-11-03 Andreas Schwab <schwab@redhat.com>
21800 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21803 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21806 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21808 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21810 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21812 * include/alloca.h (stackinfo_alloca_round): Define.
21813 (extend_alloca): Use it.
21814 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21815 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21818 * scripts/check-local-headers.sh: Ignore libaudit.h.
21820 * nscd/Makefile (extra-objs): Make recursively expanded.
21822 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21824 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21827 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21828 * posix/tst-rfc3484-2.c: Likewise.
21829 * posix/tst-rfc3484-3.c: Likewise.
21831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21833 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21835 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21836 process_vm_writev from libc using GLIBC_2.15 version.
21838 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21840 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21842 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21845 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21848 * nss/getent.c (initgroups_keys): Show error message in case no group
21851 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21852 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21853 __bump_nl_timestamp.
21854 * nscd/connections (nscd_init): When host database is served open
21855 netlink socket and request notification about configuration changes.
21856 (main_loop_poll): Track netlink file descriptor and bump timestamp
21857 in case data becomes available.
21858 (main_loop_epoll): Likewise.
21859 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21860 (database_pers_head): Add extra_data fileds.
21861 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21862 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21863 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21866 in6ai data, call __free_in6ai.
21867 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21868 Add -DHAVE_NETLINK.
21869 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21870 interface information. Reuse previous data if netlink timestamp
21872 (__bump_nl_timestamp): New function.
21873 (__free_in6ai): New function.
21875 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21877 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21878 close_not_cancel_no_status here.
21879 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21881 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21884 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21887 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21888 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21889 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21891 2011-07-03 Andreas Jaeger <aj@suse.de>
21894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21895 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21896 * math/libm-test.inc (sin_test): Add test case.
21898 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21901 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21902 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21904 * elf/chroot_canon.c (chroot_canon): Cleanups.
21906 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21909 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21910 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21912 * string/test-strchr.c: Make usable for strchrnul testing.
21913 * string/test-strchrnul.c: New file.
21914 * string/Makefile (strop-tests): Add strchrnul.
21916 * po/it.po: Update from translation team.
21917 * po/es.po: Likewise.
21919 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21921 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21922 the three constants needed as parameters. Drop the others.
21923 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21924 __m128i_strloadu_tolower.
21925 Create and initialize variable zero and use it in all the places
21926 where _mm_setzero_si128 was used.
21928 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21929 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21930 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21933 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21934 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21935 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21936 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21938 __mpranred, __mptan.
21939 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21940 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21941 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21942 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21943 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21944 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21946 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21947 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21949 2011-10-28 Andreas Schwab <schwab@redhat.com>
21951 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21952 redefine if SHARED.
21953 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21956 wide char related routines to wcsmbs subdir.
21958 2011-10-27 Andreas Schwab <schwab@redhat.com>
21961 * misc/sys/cdefs.h (__THROWNL): Define.
21962 * posix/unistd.h: Use __THREADNL instead of __THREAD
21963 for memory synchronization functions.
21965 2011-10-26 Roland McGrath <roland@hack.frob.com>
21968 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21970 * manual/stdio.texi (Obstack Streams): Node removed.
21972 2011-10-26 Andreas Schwab <schwab@redhat.com>
21974 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21975 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21976 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21978 * math/math_private.h (math_force_eval): Allow non-addressable
21980 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21982 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21984 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21985 file is not needed.
21987 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21994 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21996 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21997 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21998 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21999 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22000 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22001 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22002 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22003 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22004 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22005 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22006 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22007 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22008 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22009 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22010 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22011 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22012 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22013 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22014 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22016 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22017 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22020 place. Use VEX encoding when compiling for AVX.
22022 2011-10-25 Andreas Schwab <schwab@redhat.com>
22024 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22025 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22027 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22029 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22031 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22032 useless if() expression.
22033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22044 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22046 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22048 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22050 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22053 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22055 2011-10-25 Andreas Schwab <schwab@redhat.com>
22057 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22059 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22061 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22063 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22064 .text section. Avoid duplicate constants.
22065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22074 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22075 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22077 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22082 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22089 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22090 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22091 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22092 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22093 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22094 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22095 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22096 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22098 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22099 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22100 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22101 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22103 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22104 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22105 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22106 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22107 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22108 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22109 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22111 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22113 * sysdeps/x86_64/dla.h: Move to ...
22114 * sysdeps/x86_64/fpu/dla.h: ...here.
22115 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22116 situations. Use __builtin_fma only for gcc 4.6 and up.
22118 * config.make.in: Add have-mfma4 entry.
22119 * configure.in: Substitute libc_cv_cc_fma4.
22120 * math/Makefile (dbl-only-routines): Add sincostab.
22121 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22122 Use __sincostab not sincos.
22123 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22130 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22131 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22132 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22133 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22135 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22136 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22138 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22139 define aliases when function name is a macro.
22140 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22141 sysdeps/ieee754/dbl-64/sincos.tbl.
22142 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22143 fma4-enabled routines.
22144 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22145 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22146 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22147 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22148 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22149 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22151 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22153 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22154 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22155 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22156 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22157 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22159 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22160 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22162 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22164 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22167 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22169 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22171 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22172 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22173 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22175 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22186 2011-10-24 Andreas Schwab <schwab@redhat.com>
22188 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22190 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22192 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22194 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22198 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22199 Remove unused variable magic_bits.
22200 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22202 * string/strnlen.c: Define and use STRNLEN macro.
22203 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22204 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22206 * wcsmbs/wcslen.c: Define and use WCSLEN.
22207 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22208 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22209 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22210 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22211 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22212 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22213 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22215 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22218 strnlen-sse2-no-bsf.
22219 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22221 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22222 Add strnlen support.
22223 (USE_AS_STRNLEN): New macro.
22224 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22225 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22226 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22227 * sysdeps/x86_64/wcslen.S: New file.
22229 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22232 XMM-moves are used for copying on small sizes.
22234 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22236 * wcsmbs/Makefile (strop-tests): Add wcschr.
22237 * wcsmbs/test-wcschr.c: New file.
22238 * string/test-strchr.c: Update.
22239 Add wcschr support.
22242 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22244 * wcsmbs/Makefile (strop-tests): Add wcslen.
22245 * wcsmbs/test-wcslen.c: New file.
22246 * string/test-strlen.c: Update.
22247 Add wcslen support.
22250 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22252 * po/it.po: Update from translation team.
22254 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22256 * sysdeps/x86_64/wcscmp.S: Update.
22257 Fix wrong comparison semantics.
22258 wcscmp shall use signed comparison not unsigned.
22259 Don't use substraction to avoid overflow bug.
22260 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22261 * wcsmbc/wcscmp.c: Likewise.
22262 * string/test-strcmp.c: Likewise.
22263 Add new tests to check cases with negative values.
22265 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22267 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22268 * sysdeps/x86_64/dla.h: ...here. New file.
22269 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22279 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22282 __ynl_finite aliases.
22284 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22288 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22290 [DLA_FMA] (EMULV): Use DLA_FMA.
22291 [DLA_FMA] (MUL12): Use EMULV.
22292 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22293 that are not needed.
22294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22302 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22304 * math/s_nan.c: Undef __nan.
22305 * math/s_nanf.c: Undef __nanf.
22306 * math/s_nanl.c: Undef __nanl.
22307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22310 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22312 * math/s_catan.c: Add branch predictions.
22313 * math/s_catanf.c: Likewise.
22314 * math/s_catanh.c: Likewise.
22315 * math/s_catanhf.c: Likewise.
22316 * math/s_catanhl.c: Likewise.
22317 * math/s_catanl.c: Likewise.
22318 * math/s_cexp.c: Likewise.
22319 * math/s_cexpf.c: Likewise.
22320 * math/s_cexpl.c: Likewise.
22321 * math/s_clog.c: Likewise.
22322 * math/s_clog10.c: Likewise.
22323 * math/s_clog10f.c: Likewise.
22324 * math/s_clog10l.c: Likewise.
22325 * math/s_clogf.c: Likewise.
22326 * math/s_clogl.c: Likewise.
22327 * math/s_csqrt.c: Likewise.
22328 * math/s_csqrtf.c: Likewise.
22329 * math/s_csqrtl.c: Likewise.
22330 * math/s_ctanf.c: Likewise.
22331 * math/s_ctanh.c: Likewise.
22332 * math/s_ctanhf.c: Likewise.
22333 * math/s_ctanhl.c: Likewise.
22334 * math/s_ctanl.c: Likewise.
22336 * math/math_private.h: Define __nan, __nanf, __nanl.
22337 * math/s_cacosh.c: Include <math_private.h>.
22338 * math/s_cacoshl.c: Likewise.
22339 * math/s_casinh.c: Likewise.
22340 * math/s_casinhf.c: Likewise.
22341 * math/s_casinhl.c: Likewise.
22342 * math/s_ccos.c: Rely entire on ccosh.
22343 * math/s_ccosf.c: Rely entire on ccoshf.
22344 * math/s_ccosl.c: Rely entirely on ccoshl.
22345 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22346 Remove tests for FE_INVALID.
22347 * math/s_ccoshf.c: Likewise.
22348 * math/s_ccoshl.c: Likewise.
22349 * math/s_csin.c: Likewise.
22350 * math/s_csinf.c: Likewise.
22351 * math/s_csinh.c Likewise.
22352 * math/s_csinhf.c: Likewise.
22353 * math/s_csinhl.c: Likewise.
22354 * math/s_csinl.c: Likewise.
22355 * math/s_ctan.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22357 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22360 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22363 compilation problems.
22365 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22368 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22370 * sysdeps/i386/configure.in: Test for -mfma4 option.
22371 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22372 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22373 COMMON_CPUID_INDEX_80000001.
22374 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22375 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22376 use it if FMA3 is not supported.
22377 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22379 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22380 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22382 2011-10-20 Andreas Schwab <schwab@redhat.com>
22385 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22386 it would create a cycle with a link time dependency.
22388 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22390 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22392 * string/Makefile (strop-tests): Add rawmemchr.
22393 * string/test-rawmemchr.c: New file.
22395 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22397 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22398 when compiling str{,n}casecmp and when AVX is available. Hook up
22399 new optimized code in initializers.
22401 2011-10-19 Andreas Schwab <schwab@redhat.com>
22403 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22404 __feraiseexcept instead of feraiseexcept.
22406 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22408 * math/math_private.h: Define defaults for libc_fetestexcept and
22410 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22411 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22413 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22415 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22416 libc_fetestexcept and libc_feupdateenv.
22418 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22419 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22420 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22421 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22422 libc_feholdexcept_setround.
22424 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22425 Add s_nearbyint-c and s_nearbyintf-c.
22426 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22427 nearbyintf inlines.
22428 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22429 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22431 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22433 * math/math_private.h: Define defaults for libc_fegetround,
22434 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22435 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22436 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22438 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22439 standard functions.
22440 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22441 Remove comments and hacks for old compiler versions.
22442 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22443 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22444 libc_feholdexceptl.
22446 2011-10-18 Andreas Schwab <schwab@redhat.com>
22448 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22449 (__feraiseexcept_renamed): Add __NTH.
22450 (feraiseexcept): Add __NTH. Rename local variables to fix
22451 namespace violations.
22453 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22457 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22459 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22460 recently added interfaces.
22461 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22463 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22464 about macro parameter expansion.
22466 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22467 __NO_MATH_INLINES is defined. Cleanups.
22469 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22470 and __floorf is target has SSE4.1.
22471 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22472 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22473 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22474 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22476 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22478 (floorf): Likewise.
22480 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22482 2011-10-17 Andreas Schwab <schwab@redhat.com>
22484 * misc/sys/cdefs.h: Fix last change.
22486 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22489 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22491 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22493 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22495 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22498 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22499 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22501 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22502 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22503 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22504 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22505 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22506 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22507 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22508 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22509 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22510 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22511 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22512 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22513 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22514 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22516 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22517 ceil, ceilf, floor, floorf.
22519 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22520 Perform IRELATIVE relocations last.
22522 * elf/do-rel.h: Add another parameter nrelative, replacing the
22523 local variable with the same name. Change name of the function
22524 to end in Rel or Rela (uppercase).
22525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22526 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22527 elf_dynamic_do_##reloc function.
22529 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22531 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22532 is sufficient, at least on modern CPUs.
22534 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22536 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22537 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22539 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22541 * math/bits/math-finite.h: Add entries for exp.
22542 * math/e_expl.c: Add __*_finite alias.
22543 * sysdeps/i386/fpu/e_exp.S: Likewise.
22544 * sysdeps/i386/fpu/e_expf.S: Likewise.
22545 * sysdeps/i386/fpu/e_expl.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22554 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22555 is sufficient, at least on modern CPUs.
22557 * ctype/ctype-info.c (__ctype_init): Define.
22558 * include/ctype.h (__ctype_init): Declare.
22559 (__ctype_b_loc): The variable is always initialized.
22560 (__ctype_toupper_loc): Likewise.
22561 (__ctype_tolower_loc): Likewise.
22562 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22563 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22565 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22567 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22569 * configure.in: Also look in $cxxmachine/include for C++ system
22572 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22574 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22575 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22576 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22577 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22579 (USE_AS_WMEMCMP): New macro.
22581 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22582 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22583 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22584 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22586 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22587 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22588 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22589 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22590 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22592 (USE_AS_WMEMCMP): New macro.
22593 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22594 * sysdeps/string/test-memcmp.c: Update.
22595 Fix simple_wmemcmp.
22597 * wcsmbs/wmemcmp.c: Update.
22598 (WMEMCMP): New macro.
22601 2011-10-12 Andreas Jaeger <aj@suse.de>
22604 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22606 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22608 * libio/iofwide.c (do_length): Avoid warning.
22610 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22612 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22614 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22616 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22617 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22618 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22619 * sysdeps/i386/i686/fpu/e_log.S: New file.
22620 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22621 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22623 * ctype/ctype.h: Add support for inlined isXXX functions when
22624 compiling C++ code.
22626 2011-10-14 Andreas Schwab <schwab@redhat.com>
22628 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22630 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22632 2011-10-13 Roland McGrath <roland@hack.frob.com>
22635 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22637 2011-10-13 Andreas Schwab <schwab@redhat.com>
22639 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22640 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22643 * sysdeps/x86_64/memrchr.S: Check for zero size.
22645 * string/stratcliff.c: Add memrchr tests.
22647 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22650 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22651 rawmemchr-sse2 rawmemchr-sse2-bsf.
22652 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22653 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22654 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22655 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22656 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22657 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22658 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22659 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22660 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22661 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22662 * string/memrchr.c (MEMRCHR): New macro.
22664 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22666 Add integration with gcc's -ffinite-math-only and optimize wrapper
22668 * Versions.def: Define GLIBC_2.15 version for libm.
22669 * math/Makefile (headers): Add bits/math-finite.h.
22670 * math/bits/math-finite.h: New file.
22671 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22672 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22673 * math/e_acoshl.c: Add __*_finite alias.
22674 * math/e_acosl.c: Likewise.
22675 * math/e_asinl.c: Likewise.
22676 * math/e_atan2l.c: Likewise.
22677 * math/e_atanhl.c: Likewise.
22678 * math/e_coshl.c: Likewise.
22679 * math/e_exp10.c: Likewise.
22680 * math/e_exp10f.c: Likewise.
22681 * math/e_exp10l.c: Likewise.
22682 * math/e_exp2l.c: Likewise.
22683 * math/e_fmodl.c: Likewise.
22684 * math/e_gammal_r.c: Likewise.
22685 * math/e_hypotl.c: Likewise.
22686 * math/e_j0l.c: Likewise.
22687 * math/e_j1l.c: Likewise.
22688 * math/e_jnl.c: Likewise.
22689 * math/e_lgammal_r.c: Likewise.
22690 * math/e_log10l.c: Likewise.
22691 * math/e_log2l.c: Likewise.
22692 * math/e_logl.c: Likewise.
22693 * math/e_powl.c: Likewise.
22694 * math/e_sinhl.c: Likewise.
22695 * math/e_sqrtl.c: Likewise.
22696 * math/e_scalb.c: Completely rewritten and optimized.
22697 * math/e_scalbf.c: Likewise.
22698 * math/e_scalbl.c: Likewise.
22699 * math/w_acos.c: Likewise.
22700 * math/w_acosf.c: Likewise.
22701 * math/w_acosl.c: Likewise.
22702 * math/w_acosh.c: Likewise.
22703 * math/w_acoshf.c: Likewise.
22704 * math/w_acoshl.c: Likewise.
22705 * math/w_asin.c: Likewise.
22706 * math/w_asinf.c: Likewise.
22707 * math/w_asinl.c: Likewise.
22708 * math/w_atan2.c: Likewise.
22709 * math/w_atan2f.c: Likewise.
22710 * math/w_atan2l.c: Likewise.
22711 * math/w_atanh.c: Likewise.
22712 * math/w_atanhf.c: Likewise.
22713 * math/w_atanhl.c: Likewise.
22714 * math/w_exp10.c: Likewise.
22715 * math/w_exp10f.c: Likewise.
22716 * math/w_exp10l.c: Likewise.
22717 * math/w_fmod.c: Likewise.
22718 * math/w_fmodf.c: Likewise.
22719 * math/w_fmodl.c: Likewise.
22720 * math/w_j0.c: Likewise.
22721 * math/w_j0f.c: Likewise.
22722 * math/w_j0l.c: Likewise.
22723 * math/w_j1.c: Likewise.
22724 * math/w_j1f.c: Likewise.
22725 * math/w_j1l.c: Likewise.
22726 * math/w_jn.c: Likewise.
22727 * math/w_jnf.c: Likewise.
22728 * math/w_log.c: Likewise.
22729 * math/w_logf.c: Likewise.
22730 * math/w_logl.c: Likewise.
22731 * math/w_log10.c: Likewise.
22732 * math/w_log10f.c: Likewise.
22733 * math/w_log10l.c: Likewise.
22734 * math/w_log2.c: Likewise.
22735 * math/w_log2f.c: Likewise.
22736 * math/w_log2l.c: Likewise.
22737 * math/w_pow.c: Likewise.
22738 * math/w_powf.c: Likewise.
22739 * math/w_powl.c: Likewise.
22740 * math/w_remainder.c: Likewise.
22741 * math/w_remainderf.c: Likewise.
22742 * math/w_remainderl.c: Likewise.
22743 * math/w_scalb.c: Likewise.
22744 * math/w_scalbf.c: Likewise.
22745 * math/w_scalbl.c: Likewise.
22746 * math/w_sqrt.c: Likewise.
22747 * math/w_sqrtf.c: Likewise.
22748 * math/w_sqrtl.c: Likewise.
22749 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22750 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22752 * math/math_private.h: Declare __kernel_standard_f.
22753 * math/w_cosh.c: Remove cruft and optimize a bit.
22754 * math/w_coshf.c: Likewise.
22755 * math/w_coshl.c: Likewise.
22756 * math/w_exp2.c: Likewise.
22757 * math/w_exp2f.c: Likewise.
22758 * math/w_exp2l.c: Likewise.
22759 * math/w_hypot.c: Likewise.
22760 * math/w_hypotf.c: Likewise.
22761 * math/w_hypotl.c: Likewise.
22762 * math/w_lgamma.c: Likewise.
22763 * math/w_lgamma_r.c: Likewise.
22764 * math/w_lgammaf.c: Likewise.
22765 * math/w_lgammaf_r.c: Likewise.
22766 * math/w_lgammal.c: Likewise.
22767 * math/w_lgammal_r.c: Likewise.
22768 * math/w_sinh.c: Likewise.
22769 * math/w_sinhf.c: Likewise.
22770 * math/w_sinhl.c: Likewise.
22771 * math/w_tgamma.c: Likewise.
22772 * math/w_tgammaf.c: Likewise.
22773 * math/w_tgammal.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22775 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22776 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22777 Minor optimizations. Pretty printing. Remove cruft.
22778 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22781 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22782 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22783 * sysdeps/i386/fpu/e_asin.S: Likewise.
22784 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22785 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22786 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22787 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22788 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22789 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22790 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22791 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22792 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22793 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22794 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22795 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22796 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22797 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22798 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22799 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22800 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22801 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22802 * sysdeps/i386/fpu/e_log.S: Likewise.
22803 * sysdeps/i386/fpu/e_log10.S: Likewise.
22804 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22805 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22806 * sysdeps/i386/fpu/e_log2.S: Likewise.
22807 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22808 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22809 * sysdeps/i386/fpu/e_logf.S: Likewise.
22810 * sysdeps/i386/fpu/e_logl.S: Likewise.
22811 * sysdeps/i386/fpu/e_pow.S: Likewise.
22812 * sysdeps/i386/fpu/e_powf.S: Likewise.
22813 * sysdeps/i386/fpu/e_powl.S: Likewise.
22814 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22815 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22816 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22817 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22818 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22819 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22820 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22821 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22822 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22840 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22844 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22845 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22846 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22847 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22849 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22850 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22851 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22852 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22854 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22855 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22857 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22858 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22859 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22860 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22861 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22862 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22863 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22864 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22906 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22908 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22909 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22911 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22915 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22916 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22917 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22918 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22919 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22920 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22921 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22922 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22923 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22924 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22925 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22926 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22927 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22928 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22929 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22931 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22933 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22934 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22935 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22936 (__isnanf): Likewise.
22937 (__isinf_ns): Likewise.
22938 (__isinf_nsf): Likewise.
22939 (__finite): Likewise.
22940 (__finitef): Likewise.
22941 (__ieee754_sqrt): Define as macro.
22942 (__ieee754_sqrtf): Define as macro.
22943 (__ieee754_sqrtl): Define as macro.
22944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22946 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22947 __FINITE_MATH_ONLY__ consistent.
22948 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22950 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22952 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22955 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22957 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22959 * po/ja.po: Update from translation team.
22961 2011-10-08 Roland McGrath <roland@hack.frob.com>
22963 * locale/programs/locarchive.c (prepare_address_space): New function.
22964 (create_archive, enlarge_archive, open_archive): Use it.
22966 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22967 inside [SHARED], where it is used.
22969 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22971 * nss/getent.c (netgroup_keys): Remove unused variable.
22972 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22974 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22976 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22977 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22979 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22980 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22981 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22982 * math/Makefile (libm-calls): Add s_isinf_ns.
22983 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22984 * math/multc3.c: Likewise.
22985 * math/s_casin.c: Likewise.
22986 * math/s_casinf.c: Likewise.
22987 * math/s_casinl.c: Likewise.
22988 * math/s_ccos.c: Likewise.
22989 * math/s_ccosf.c: Likewise.
22990 * math/s_ccosl.c: Likewise.
22991 * math/s_ctan.c: Likewise.
22992 * math/s_ctanf.c: Likewise.
22993 * math/s_ctanh.c: Likewise.
22994 * math/s_ctanhf.c: Likewise.
22995 * math/s_ctanhl.c: Likewise.
22996 * math/s_ctanl.c: Likewise.
22997 * math/w_fmod.c: Likewise.
22998 * math/w_fmodf.c: Likewise.
22999 * math/w_fmodl.c: Likewise.
23000 * math/w_remainder.c: Likewise.
23001 * math/w_remainderf.c: Likewise.
23002 * math/w_remainderl.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23004 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23005 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23007 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23008 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23009 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23010 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23012 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23014 * stdio-common/printf_fphex.c: Likewise.
23015 * stdio-common/printf_size.c: Likewise.
23017 * math/e_exp10.c: Include math_private.h using <...> not "...".
23018 * math/e_exp10f.c: Likewise.
23019 * math/e_exp10l.c: Likewise.
23020 * math/e_exp2l.c: Likewise.
23021 * math/e_j0l.c: Likewise.
23022 * math/e_j1l.c: Likewise.
23023 * math/e_jnl.c: Likewise.
23024 * math/e_lgammal_r.c: Likewise.
23025 * math/e_rem_pio2l.c: Likewise.
23026 * math/e_scalb.c: Likewise.
23027 * math/e_scalbf.c: Likewise.
23028 * math/e_scalbl.c: Likewise.
23029 * math/k_cosl.c: Likewise.
23030 * math/k_sinl.c: Likewise.
23031 * math/k_tanl.c: Likewise.
23032 * math/s_cacoshf.c: Likewise.
23033 * math/s_catan.c: Likewise.
23034 * math/s_catanf.c: Likewise.
23035 * math/s_catanh.c: Likewise.
23036 * math/s_catanhf.c: Likewise.
23037 * math/s_catanhl.c: Likewise.
23038 * math/s_catanl.c: Likewise.
23039 * math/s_ccosh.c: Likewise.
23040 * math/s_ccoshf.c: Likewise.
23041 * math/s_ccoshl.c: Likewise.
23042 * math/s_cexp.c: Likewise.
23043 * math/s_cexpf.c: Likewise.
23044 * math/s_cexpl.c: Likewise.
23045 * math/s_clog.c: Likewise.
23046 * math/s_clog10.c: Likewise.
23047 * math/s_clog10f.c: Likewise.
23048 * math/s_clog10l.c: Likewise.
23049 * math/s_clogf.c: Likewise.
23050 * math/s_clogl.c: Likewise.
23051 * math/s_csin.c: Likewise.
23052 * math/s_csinf.c: Likewise.
23053 * math/s_csinh.c: Likewise.
23054 * math/s_csinhf.c: Likewise.
23055 * math/s_csinhl.c: Likewise.
23056 * math/s_csinl.c: Likewise.
23057 * math/s_csqrt.c: Likewise.
23058 * math/s_csqrtf.c: Likewise.
23059 * math/s_csqrtl.c: Likewise.
23060 * math/s_ctan.c: Likewise.
23061 * math/s_ctanf.c: Likewise.
23062 * math/s_ctanh.c: Likewise.
23063 * math/s_ctanhf.c: Likewise.
23064 * math/s_ctanhl.c: Likewise.
23065 * math/s_ctanl.c: Likewise.
23066 * math/s_ldexp.c: Likewise.
23067 * math/s_ldexpf.c: Likewise.
23068 * math/s_ldexpl.c: Likewise.
23069 * math/s_significand.c: Likewise.
23070 * math/s_significandf.c: Likewise.
23071 * math/s_significandl.c: Likewise.
23072 * math/w_acos.c: Likewise.
23073 * math/w_acosf.c: Likewise.
23074 * math/w_acosh.c: Likewise.
23075 * math/w_acoshf.c: Likewise.
23076 * math/w_acoshl.c: Likewise.
23077 * math/w_acosl.c: Likewise.
23078 * math/w_asin.c: Likewise.
23079 * math/w_asinf.c: Likewise.
23080 * math/w_asinl.c: Likewise.
23081 * math/w_atan2.c: Likewise.
23082 * math/w_atan2f.c: Likewise.
23083 * math/w_atan2l.c: Likewise.
23084 * math/w_atanh.c: Likewise.
23085 * math/w_atanhf.c: Likewise.
23086 * math/w_atanhl.c: Likewise.
23087 * math/w_cosh.c: Likewise.
23088 * math/w_coshf.c: Likewise.
23089 * math/w_coshl.c: Likewise.
23090 * math/w_dremf.c: Likewise.
23091 * math/w_exp10.c: Likewise.
23092 * math/w_exp10f.c: Likewise.
23093 * math/w_exp10l.c: Likewise.
23094 * math/w_exp2.c: Likewise.
23095 * math/w_exp2f.c: Likewise.
23096 * math/w_fmod.c: Likewise.
23097 * math/w_fmodf.c: Likewise.
23098 * math/w_fmodl.c: Likewise.
23099 * math/w_hypot.c: Likewise.
23100 * math/w_hypotf.c: Likewise.
23101 * math/w_hypotl.c: Likewise.
23102 * math/w_j0.c: Likewise.
23103 * math/w_j0f.c: Likewise.
23104 * math/w_j0l.c: Likewise.
23105 * math/w_j1.c: Likewise.
23106 * math/w_j1f.c: Likewise.
23107 * math/w_j1l.c: Likewise.
23108 * math/w_jn.c: Likewise.
23109 * math/w_jnf.c: Likewise.
23110 * math/w_jnl.c: Likewise.
23111 * math/w_lgamma.c: Likewise.
23112 * math/w_lgamma_r.c: Likewise.
23113 * math/w_lgammaf.c: Likewise.
23114 * math/w_lgammaf_r.c: Likewise.
23115 * math/w_lgammal.c: Likewise.
23116 * math/w_lgammal_r.c: Likewise.
23117 * math/w_log.c: Likewise.
23118 * math/w_log10.c: Likewise.
23119 * math/w_log10f.c: Likewise.
23120 * math/w_log10l.c: Likewise.
23121 * math/w_log2.c: Likewise.
23122 * math/w_log2f.c: Likewise.
23123 * math/w_log2l.c: Likewise.
23124 * math/w_logf.c: Likewise.
23125 * math/w_logl.c: Likewise.
23126 * math/w_pow.c: Likewise.
23127 * math/w_powf.c: Likewise.
23128 * math/w_powl.c: Likewise.
23129 * math/w_remainder.c: Likewise.
23130 * math/w_remainderf.c: Likewise.
23131 * math/w_remainderl.c: Likewise.
23132 * math/w_scalb.c: Likewise.
23133 * math/w_scalbf.c: Likewise.
23134 * math/w_scalbl.c: Likewise.
23135 * math/w_sinh.c: Likewise.
23136 * math/w_sinhf.c: Likewise.
23137 * math/w_sinhl.c: Likewise.
23138 * math/w_sqrt.c: Likewise.
23139 * math/w_sqrtf.c: Likewise.
23140 * math/w_sqrtl.c: Likewise.
23141 * math/w_tgamma.c: Likewise.
23142 * math/w_tgammaf.c: Likewise.
23143 * math/w_tgammal.c: Likewise.
23145 * po/ja.po: Update from translation team.
23147 2011-09-29 Andreas Jaeger <aj@suse.de>
23150 * sunrpc/netname.c (netname2host): Fix logic.
23154 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23156 * math/w_remainder.c (__remainder): Likewise.
23157 * math/w_remainderf.c (__remainderf): Likewise.
23158 * math/libm-test.inc (remainder_test): Add test cases.
23160 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23162 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23165 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23167 * string/test-memcmp.c: Avoid unncessary #defines.
23168 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23170 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23172 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23173 Use new sse2 version for core i3 - i7 as it's faster
23174 than sse42 version.
23175 (bit_Prefer_PMINUB_for_stringop): New.
23176 * sysdeps/x86_64/rawmemchr.S: Update.
23177 Replace with faster SSE2 version.
23178 * sysdeps/x86_64/memrchr.S: New file.
23179 * sysdeps/x86_64/memchr.S: Update.
23180 Replace with faster SSE2 version.
23182 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23184 * elf/dl-load.c (lose): Add cast to avoid warning.
23186 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23188 * po/ca.po: Update from translation team.
23190 * inet/getnetgrent_r.c: Hook up nscd.
23191 * nscd/Makefile (routines): Add nscd_netgroup.
23192 (nscd-modules): Add netgroupcache.
23193 (CFLAGS-netgroupcache.c): Define.
23194 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23195 (cache_search): Add const to second parameter.
23196 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23198 (dbs): Add netgrdb entry.
23199 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23200 (verify_persistent_db): Handle netgrdb.
23201 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23202 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23204 (netgroup_response_header): Define.
23205 (innetgroup_response_header): Define.
23206 (datahead): Add netgroup_response_header and innetgroup_response_header
23208 * nscd/nscd.conf: Add entries for netgroup cache.
23209 * nscd/nscd.h (dbtype): Add netgrdb.
23210 (_PATH_NSCD_NETGROUP_DB): Define.
23211 (netgroup_iov_disabled): Declare.
23212 (xmalloc, xcalloc, xrealloc): Move declarations here.
23213 (cache_search): Adjust prototype.
23214 Add netgroup-related prototypes.
23215 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23216 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23217 (__nscd_innetgr): Declare.
23218 * nscd/selinux.c (perms): Use access_vector_t as element type and
23219 add netgroup-related initializers.
23220 * nscd/netgroupcache.c: New file.
23221 * nscd/nscd_netgroup.c: New file.
23222 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23223 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23224 For four parameters use innetgr.
23225 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23226 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23227 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23228 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23230 * nscd/connections.c (register_traced_file): Don't register file
23231 for disabled databases.
23233 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23235 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23237 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23238 from tree and freeing node.
23240 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23242 * nss/nsswitch.c (__nss_database_lookup): Handle
23243 nss_parse_service_list out of memory case.
23245 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23247 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23248 out of memory case.
23250 2011-10-04 Andreas Schwab <schwab@redhat.com>
23252 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23253 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23255 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23256 elf_machine_rela, elf_machine_lazy_rel.
23257 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23258 (ELF_DYNAMIC_DO_REL): Likewise.
23259 (ELF_DYNAMIC_DO_RELA): Likewise.
23260 (ELF_DYNAMIC_RELOCATE): Likewise.
23261 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23262 to ELF_DYNAMIC_DO_REL.
23263 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23264 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23265 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23267 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23268 skip_ifunc, don't call ifunc function if non-zero.
23269 (elf_machine_rela): Likewise.
23270 (elf_machine_lazy_rel): Likewise.
23271 (elf_machine_lazy_rela): Likewise.
23272 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23273 (elf_machine_lazy_rel): Likewise.
23274 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23276 (elf_machine_lazy_rel): Likewise.
23277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23279 (elf_machine_lazy_rel): Likewise.
23280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23281 (elf_machine_lazy_rel): Likewise.
23282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23283 (elf_machine_lazy_rel): Likewise.
23284 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23285 (elf_machine_lazy_rel): Likewise.
23286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23287 (elf_machine_lazy_rel): Likewise.
23288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23289 (elf_machine_lazy_rel): Likewise.
23290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23291 (elf_machine_lazy_rel): Likewise.
23293 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23295 * nss/nss_files/files-init.c (_nss_files_init): Use static
23296 initialization for all the *_traced_file variables.
23298 2011-09-28 Andreas Schwab <schwab@redhat.com>
23300 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23302 2011-09-27 Roland McGrath <roland@hack.frob.com>
23305 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23307 2011-09-27 Andreas Schwab <schwab@redhat.com>
23309 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23310 Reread the line before reparsing it.
23312 2011-09-26 Andreas Schwab <schwab@redhat.com>
23314 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23316 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23317 Maxim Kuvyrkov <maxim@codesourcery.com>
23318 Joseph Myers <joseph@codesourcery.com>
23320 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23321 if needed for __stack_chk_guard.
23323 2011-09-19 Roland McGrath <roland@hack.frob.com>
23325 * sysdeps/posix/spawni.c (script_execute): Always define it.
23326 It will be optimized away if unused.
23327 (maybe_script_execute): New function.
23328 (__spawni): Call it.
23330 * Makerules: Don't include tls.make.
23331 (config-tls): Always set to thread.
23332 * tls.make.c: File removed.
23334 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23336 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23337 * config.make.in (CPPFLAGS-config): New substituted variable.
23339 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23344 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23345 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23347 2011-09-15 Roland McGrath <roland@hack.frob.com>
23349 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23350 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23352 (CALL_FAIL): Likewise.
23353 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23354 (CALL_FAIL): Macro removed.
23355 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23357 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23359 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23360 for __FINITE_MATH_ONLY__ == 1.
23362 2011-09-15 Andreas Schwab <schwab@redhat.com>
23364 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23365 __ieee754_sqrt instead of sqrt.
23366 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23367 __ieee754_sqrtf instead of sqrtf.
23368 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23369 __floorf instead of floorf.
23370 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23371 __floorf, __truncf instead of floorf, truncf.
23373 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23375 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23377 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23378 __extern_always_inline.
23379 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23382 2011-09-14 Andreas Schwab <schwab@redhat.com>
23384 * elf/rtld.c (dl_main): Also relocate in dependency order when
23385 doing symbol dependency testing.
23387 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23390 Always define `refsym'.
23392 2011-09-13 Andreas Schwab <schwab@redhat.com>
23394 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23395 (__FD_ELT): Renamed from __FDELT.
23396 * misc/bits/select2.h (__FD_ELT): Likewise.
23397 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23398 __FD_MASK instead of __FDELT, __FDMASK.
23399 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23401 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23404 * elf/Makefile (gen-ldd): Fix pattern.
23406 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23407 (init_tls): Likewise.
23409 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23413 2011-09-12 Andreas Schwab <schwab@redhat.com>
23415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23416 `struct cmsghdr *' instead of `void *'.
23417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23420 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23422 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23424 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23425 ldd_rewrite_script.
23427 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23429 * configure.in: Remove --with-tls option.
23430 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23431 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23432 out in case it is missing.
23433 * sysdeps/ia64/elf/configure.in: Likewise.
23434 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23435 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23436 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23437 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23438 * sysdeps/sh/elf/configure.in: Likewise.
23439 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23440 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23441 * sysdeps/x86_64/elf/configure.in: Likewise.
23442 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23443 * sysdeps/mach/hurd/tls.h: Likewise.
23446 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23449 * configure.in: Fix use of AC_INIT.
23451 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23453 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23455 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23457 * malloc/hooks.c: Likewise.
23460 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23461 variables statically.
23462 (narenas): Initialize.
23463 (list_lock): Initialize.
23464 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23465 initializtion of main_arena and list_lock. Small cleanups.
23466 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23467 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23468 Add initializers to main_arena and mp_.
23469 (malloc_state): Remove pagesize member. Change all users to use
23472 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23473 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23474 is always initialized.
23476 * malloc/malloc.c: Removed unused configurations and dead code.
23477 * malloc/arena.c: Likewise.
23478 * malloc/hooks.c: Likewise.
23479 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23481 * include/tls.h: Removed. USE___THREAD must always be defined.
23482 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23483 * elf/dl-libc.c: Likewise.
23484 * elf/dl-tsd.c: Likewise.
23485 * include/errno.h: Likewise.
23486 * include/netdb.h: Likewise.
23487 * include/resolv.h: Likewise.
23488 * inet/herrno-loc.c: Likewise.
23489 * inet/herrno.c: Likewise.
23490 * malloc/arena.c: Likewise.
23491 * malloc/hooks.c: Likewise.
23492 * malloc/malloc.c: Likewise.
23493 * resolv/res-state.c: Likewise.
23494 * resolv/res_libc.c: Likewise.
23495 * sysdeps/i386/dl-machine.h: Likewise.
23496 * sysdeps/ia64/dl-machine.h: Likewise.
23497 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23498 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23499 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23500 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23501 * sysdeps/sh/dl-machine.h: Likewise.
23502 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23503 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23504 * sysdeps/unix/i386/sysdep.S: Likewise.
23505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23506 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23507 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23511 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23515 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23516 * sysdeps/x86_64/dl-machine.h: Likewise.
23517 * tls.make.c: Likewise.
23519 * configure.in: Remove --with-__thread option. Make tests for
23520 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23521 tls_model attribute fail if no support is available. Remove
23523 * Makeconfig: Adjust for dropped configure option. All features are
23525 * Makerules: Likewise.
23526 * Versions.def: Likewise.
23527 * argp/argp-fmtstream.c: Likewise.
23528 * argp/argp-fmtstream.h: Likewise.
23529 * argp/argp-help.c: Likewise.
23530 * assert/assert.c: Likewise.
23531 * config.h.in: Likewise.
23532 * config.make.in: Likewise.
23533 * configure: Likewise.
23534 * configure.in: Likewise.
23535 * csu/Versions: Likewise.
23536 * csu/init.c: Likewise.
23537 * elf/tst-audit2.c: Likewise.
23538 * elf/tst-tls10.c: Likewise.
23539 * elf/tst-tls10.h: Likewise.
23540 * elf/tst-tls11.c: Likewise.
23541 * elf/tst-tls12.c: Likewise.
23542 * elf/tst-tls14.c: Likewise.
23543 * elf/tst-tlsmod11.c: Likewise.
23544 * elf/tst-tlsmod12.c: Likewise.
23545 * elf/tst-tlsmod13.c: Likewise.
23546 * elf/tst-tlsmod13a.c: Likewise.
23547 * elf/tst-tlsmod14a.c: Likewise.
23548 * elf/tst-tlsmod15b.c: Likewise.
23549 * elf/tst-tlsmod16a.c: Likewise.
23550 * elf/tst-tlsmod16b.c: Likewise.
23551 * elf/tst-tlsmod7.c: Likewise.
23552 * elf/tst-tlsmod8.c: Likewise.
23553 * elf/tst-tlsmod9.c: Likewise.
23554 * gmon/gmon.c: Likewise.
23555 * grp/fgetgrent_r.c: Likewise.
23556 * grp/putgrent.c: Likewise.
23557 * hurd/fopenport.c: Likewise.
23558 * include/libc-symbols.h: Likewise.
23559 * include/tls.h: Likewise.
23560 * intl/gettextP.h: Likewise.
23561 * intl/loadinfo.h: Likewise.
23562 * locale/global-locale.c: Likewise.
23563 * locale/localeinfo.h: Likewise.
23564 * mach/devstream.c: Likewise.
23565 * malloc/arena.c: Likewise.
23566 * malloc/set-freeres.c: Likewise.
23567 * misc/err.c: Likewise.
23568 * misc/getttyent.c: Likewise.
23569 * misc/mntent_r.c: Likewise.
23570 * posix/getopt.c: Likewise.
23571 * posix/wordexp.c: Likewise.
23572 * pwd/fgetpwent_r.c: Likewise.
23573 * resolv/Versions: Likewise.
23574 * resolv/res_hconf.c: Likewise.
23575 * shadow/fgetspent_r.c: Likewise.
23576 * shadow/putspent.c: Likewise.
23577 * stdio-common/printf_fphex.c: Likewise.
23578 * stdio-common/tmpfile.c: Likewise.
23579 * stdlib/abort.c: Likewise.
23580 * stdlib/fmtmsg.c: Likewise.
23581 * sunrpc/auth_unix.c: Likewise.
23582 * sunrpc/clnt_perr.c: Likewise.
23583 * sunrpc/clnt_tcp.c: Likewise.
23584 * sunrpc/clnt_udp.c: Likewise.
23585 * sunrpc/clnt_unix.c: Likewise.
23586 * sunrpc/openchild.c: Likewise.
23587 * sunrpc/svc_simple.c: Likewise.
23588 * sunrpc/svc_tcp.c: Likewise.
23589 * sunrpc/svc_udp.c: Likewise.
23590 * sunrpc/svc_unix.c: Likewise.
23591 * sunrpc/xdr.c: Likewise.
23592 * sunrpc/xdr_array.c: Likewise.
23593 * sunrpc/xdr_rec.c: Likewise.
23594 * sunrpc/xdr_ref.c: Likewise.
23595 * sunrpc/xdr_stdio.c: Likewise.
23597 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23599 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23601 2011-07-03 Andreas Jaeger <aj@suse.de>
23603 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23604 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23605 regenerate with gen-libm-tests.pl.
23607 2010-05-12 Petr Baudis <pasky@suse.cz>
23610 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23611 around j0() zero points by switching to j1().
23612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23617 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23619 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23621 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23624 Patch in part by Pavel Roskin <proski@gnu.org>.
23627 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23629 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23630 Free memory block if necessary.
23633 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23634 be NULL. Don't lock in this case.
23636 2011-09-09 Roland McGrath <roland@hack.frob.com>
23638 * elf/elf.h (ELFOSABI_GNU): New macro.
23639 (ELFOSABI_LINUX): Define to that.
23641 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23643 * string/strncat.c (strncat): Undef the symbol in case it has been
23644 defined in bits/string.h.
23646 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23648 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23650 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23653 2011-08-17 Andreas Jaeger <aj@suse.de>
23655 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23657 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23658 Ian Lance Taylor <iant@google.com>
23660 * math/libm-test.inc (lround_test): New testcase.
23661 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23663 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23665 * Makefile: Remove support for automatic cvs check-ins.
23666 * Makerules: Likewise.
23667 * config.make.in: Likewise.
23668 * configure.in: Likewise.
23669 * intl/Makefile: Likewise.
23670 * locale/Makefile: Likewise.
23671 * po/Makefile: Likewise.
23672 * posix/Makefile: Likewise.
23673 * sysdeps/gnu/Makefile: Likewise.
23674 * sysdeps/mach/hurd/Makefile: Likewise.
23675 * sysdeps/sparc/sparc32/Makefile: Likewise.
23678 * posix/Makefile (bug-regex32-ENV): Define.
23679 Patch by John Stanley <jpsinthemix@verizon.net>.
23681 * misc/Makefile (headers): Add bits/select2.h.
23682 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23683 * misc/bits/select2.h: New file.
23684 * include/bits/select2.h: New file.
23685 * debug/Makefile (routines): Add fdelt_chk.
23686 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23687 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23689 * debug/fdelt_chk.c: New file.
23691 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23692 * wcsmbs/test-wmemcmp.c: Likewise.
23693 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23694 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23696 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23698 * string/Makefile (strop-tests): Add memcmp.
23699 * string/test-wmemcmp.c: New file.
23700 * string/test-memcmp.c: Add wmemcmp support.
23702 2011-09-08 Roland McGrath <roland@hack.frob.com>
23705 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23708 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23709 garbage value in a __mach_port_mod_refs call in the cases of the
23710 task-self and thread-self ports.
23712 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23714 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23716 2011-09-08 Andreas Schwab <schwab@redhat.com>
23718 * elf/dl-load.c (lose): Check for non-null L.
23720 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23722 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23724 * elf/dl-libc.c (dlerror_run): Pass back error code from
23728 * elf/dl-load.c (lose): Free l_origin if it is valid.
23730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23732 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23733 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23734 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23736 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23737 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23739 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23741 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23742 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23744 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23745 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23746 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23747 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23748 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23749 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23750 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23752 2011-08-15 Alan Modra <amodra@gmail.com>
23755 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23756 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23757 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23758 ppc_mcount to static-only-routines.
23759 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23761 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23762 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23764 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23767 for finite and infinity parameters.
23769 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23772 and add nop instructions for throughput optimization.
23773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23775 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23777 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23778 aligned copy for power7 with vector-scalar instructions.
23779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23781 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23786 2011-09-07 Andreas Schwab <schwab@redhat.com>
23789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23792 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23794 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23795 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23796 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23800 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23802 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23803 Forgot to demangle the pointer.
23805 * sysdeps/i386/sysdep.h: Define atom_text_section.
23806 * sysdeps/x86_64/sysdep.h: Likewise.
23807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23808 section with atom_text_section.
23809 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23810 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23811 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23813 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23816 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23817 already be defined. Change to take two parameters and don't assign
23818 result to variable. Adjust all users.
23819 Define INTERNAL_GETTIME if not already defined.
23820 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23823 HAVE_CLOCK_GETTIME_VSYSCALL.
23824 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23827 gettimeofday vsyscall, just use time.
23829 2011-09-06 Andreas Schwab <schwab@redhat.com>
23831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23834 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23836 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23840 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23842 syscall if possible.
23844 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23846 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23847 e_ident. Don't pass to find_mapsXX.
23848 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23850 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23853 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23854 * sysdeps/x86_64/multiarch/strchr.S: Update.
23855 Check bit_slow_BSF bit.
23856 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23857 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23860 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23863 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23865 (tryshell): Define.
23866 (__spawni): Change last parameter to be flag. Test
23867 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23868 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23869 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23870 * posix/spawni.c: Likewise.
23871 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23872 * posix/spawnp.c: Likewise. Change normal version to use
23873 SPAWN_XFLAGS_USE_PATH.
23874 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23875 SPAWN_XFLAGS_TRY_SHELL.
23878 * posix/glob.h: Remove gcc 1.x support.
23881 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23883 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23886 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23888 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23889 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23890 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23892 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23895 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23897 * sysdeps/x86_64/wcscmp.S: New file.
23899 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23900 wcscmp-c wcscmp-sse2
23901 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23902 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23903 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23904 * wcsmbs/wcscmp.c: Allow renaming.
23906 2011-09-05 David S. Miller <davem@davemloft.net>
23908 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23909 stack slot, rather than the struct return pointer slot.
23910 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23911 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23913 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23915 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23917 * po/ja.po: Update from translation team.
23920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23921 kernel in 64-bit binaries.
23923 2011-09-01 David S. Miller <davem@davemloft.net>
23925 * elf/elf.h (HWCAP_SPARC_*): Move to..
23926 * sysdeps/sparc/sysdep.h: this new file and add new values.
23927 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23928 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23929 _DL_HWCAP_COUNT to 24.
23930 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23932 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23933 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23934 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23936 instead of magic constants.
23937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23939 2011-08-31 David S. Miller <davem@davemloft.net>
23941 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23943 Reimplement to do errno handling inline.
23944 (SYSCALL_ERROR_HANDLER): New macro.
23945 (__SYSCALL_STRING): Do not do errno handling in asm.
23946 (__CLONE_SYSCALL_STRING): Delete.
23947 (__INTERNAL_SYSCALL_STRING): Delete.
23948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23949 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23950 (PSEUDO): Reimplement to do errno handling inline.
23951 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23952 (SYSCALL_ERROR_HANDLER): New macro.
23953 (__SYSCALL_STRING): Do not do errno handling in asm.
23954 (__CLONE_SYSCALL_STRING): Delete.
23955 (__INTERNAL_SYSCALL_STRING): Delete.
23956 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23957 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23959 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23960 (inline_syscall*): Add 'err' argument.
23961 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23962 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23963 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23964 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23966 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23969 2011-08-30 Andreas Schwab <schwab@redhat.com>
23971 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23973 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23975 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23978 2011-08-24 David S. Miller <davem@davemloft.net>
23980 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23982 2011-08-24 Andreas Schwab <schwab@redhat.com>
23984 * elf/Makefile: Add rules to build and run unload8 test.
23985 * elf/unload8.c: New file.
23986 * elf/unload8mod1.c: New file.
23987 * elf/unload8mod1x.c: New file.
23988 * elf/unload8mod2.c: New file.
23989 * elf/unload8mod3.c: New file.
23991 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23994 2011-08-23 David S. Miller <davem@davemloft.net>
23996 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23997 subtract stack bias.
23998 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23999 %sp not %fp in calculations.
24000 (_JMPBUF_UNWINDS_ADJ): Likewise.
24002 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24003 (aio_suspend): Call it to force an exception region around the
24004 AIO_MISC_WAIT() invocation.
24006 2011-08-23 Andreas Schwab <schwab@redhat.com>
24008 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24011 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24013 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24015 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24016 and <dl-machine.h>.
24017 (Elf64_FuncDesc): Remove.
24019 2011-08-22 David S. Miller <davem@davemloft.net>
24021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24022 sigaltstack check, add missing cfi directives.
24023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24024 missing cfi directives, and sigaltstack handling.
24026 2011-08-16 Andreas Schwab <schwab@redhat.com>
24029 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24030 object is seen twice.
24031 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24033 * elf/Makefile (distribute): Add tst-initorder2.c.
24034 (tests): Add tst-initorder2.
24035 (modules-names): Add tst-initorder2a tst-initorder2b
24036 tst-initorder2c tst-initorder2d. Add rules to build them.
24037 ($(objpfx)tst-initorder2.out): New rule.
24038 * elf/tst-initorder2.c: New file.
24039 * elf/tst-initorder2.exp: New file.
24041 2011-08-22 Andreas Schwab <schwab@redhat.com>
24043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24045 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24046 dependencies back to end of function.
24048 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24049 $(elfobjdir)/ld.so.
24051 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24054 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24056 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24057 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24058 of __vdso_gettimeofday.
24059 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24060 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24062 (_libc_vdso_platform_setup): Remove initialization of
24063 __vdso_gettimeofday and __vdso_time.
24065 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24067 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24068 and fgetc_unlocked.
24069 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24072 * elf/dl-open.c (add_to_global): Report additions to the global scope
24073 for LD_DEBUG=scopes.
24074 (dl_open_worker): Also print scope of newly loaded dependencies.
24075 (_dl_show_scope): Indicate if there is no scope.
24078 * stdio-common/Makefile (tests): Add bug24.
24079 * stdio-common/bug24.c: New file.
24081 2011-08-19 Andreas Jaeger <aj@suse.de>
24084 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24085 non-existant file when using close-on-exec mode.
24087 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24090 the very first instruction.
24092 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24093 the CFI state in the end.
24094 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24095 inclusion of dl-trampoline.h.
24096 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24098 2011-08-19 Andreas Schwab <schwab@redhat.com>
24100 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24101 expectations for long double.
24103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24104 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24106 2011-08-14 David S. Miller <davem@davemloft.net>
24108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24109 artificual limit depends upon the system page size.
24111 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24113 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24114 * resolv/Makefile: Define CFLAGS-libresolv.
24116 2011-08-17 Andreas Schwab <schwab@redhat.com>
24118 * nss/makedb.c (compute_tables): Make variables used in nested
24121 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24123 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24124 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24125 if buffer was too small.
24127 * elf/pldd.c (main): Attach to all threads in the process.
24128 Rewrite /proc handling to use *at functions.
24130 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24132 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24133 specifies first scope to show.
24134 (dl_open_worker): Update callers. Move printing scope of new
24135 object to before the relocation.
24136 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24137 * sysdeps/generic/ldsodefs.h: Update declaration.
24139 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24140 string for the scope number.
24142 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24144 * nscd/servicescache.c (cache_addserv): Make sure written is always
24147 2011-08-14 Roland McGrath <roland@hack.frob.com>
24149 * sysdeps/i386/i486/bits/atomic.h
24150 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24151 statement expression, so as to suppress "set but not used" warning.
24152 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24154 * string/strncat.c (STRNCAT): Use prototype definition.
24156 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24157 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24159 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24160 (localedef-modules): Add localedef.
24161 (locale-modules): Add locale.
24163 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24164 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24165 to avoid a warning.
24167 2011-08-14 David S. Miller <davem@davemloft.net>
24169 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24170 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24172 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24174 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24175 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24176 * elf/rtld.c (dl_main): Set l_name of vDSO.
24177 Call _dl_show_scope when DL_DEBUG_SCOPES.
24178 (process_dl_debug): Recognize scopes flag and also set it for all.
24179 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24180 Declare _dl_show_scope.
24182 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24183 (do_dlopen): Pass caller_dlopen to dl_open.
24184 (__libc_dlopen_mode): Initialize caller_dlopen.
24186 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24187 of libc. Make tolower call locale-independent. Optimize a bit by
24188 using isdigit instead of isalnum.
24189 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24191 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24193 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24194 was a dependency or dynamically loaded.
24196 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24198 * intl/l10nflist.c: Allow architecture-specific pop function.
24199 * sysdeps/x86_64/l10nflist.c: New file.
24201 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24204 2011-08-10 Andreas Schwab <schwab@redhat.com>
24206 * include/dirent.h: Add libc_hidden_proto for scandirat and
24207 scandirat64. Don't declare __scandirat64.
24208 * dirent/scandirat.c: Add libc_hidden_def.
24209 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24210 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24212 2011-08-10 David S. Miller <davem@davemloft.net>
24214 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24217 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24218 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24220 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24222 * Versions.def [libc]: Add GLIBC_2.15.
24223 * dirent/Makefile (routines): Add scandirat and scandirat64.
24224 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24226 * dirent/dirent.h: Declare scandirat and scandirat64.
24227 * dirent/scandirat.c: New file.
24228 * dirent/scandirat64.c: New file.
24229 * sysdeps/wordsize-64/scandirat.c: New file.
24230 * sysdeps/wordsize-64/scandirat64.c: New file.
24231 * dirent/opendir.c: Define opendirat.
24232 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24234 * dirent/scandir64.c: Adjust for scandir.c change.
24235 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24236 __scandirat64, and __scandir_cancel_handler.
24237 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24238 additional parameter and use openat instead of open (outside of ld.so).
24239 Add new __opendir as wrapper around __opendirat.
24240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24241 here without requiring old scandirat implementation.
24243 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24245 * dirent/scandir.c (cancel_handler): Renamed to
24246 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24247 defined. Adjust users.
24248 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24249 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24251 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24253 * string/test-string.h (IMPL): Use __STRING to expand name and then
24256 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24259 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24261 * string/Makefile: Update.
24262 (strop-tests): Append strncat.
24263 * string/test-wcscmp.c: New file.
24264 New comprehensive test for wcscmp.
24265 * string/test-strcmp.c: Update.
24266 (WIDE): New define.
24268 2011-07-22 Andreas Schwab <schwab@redhat.com>
24270 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24273 2011-07-26 Andreas Schwab <schwab@redhat.com>
24275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24276 encoding to ACE if AI_IDN.
24278 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24280 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24281 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24283 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24285 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24286 Fix overflow bug in strncat.
24287 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24289 * string/test-strncat.c: Update.
24290 Add new tests for checking overflow bugs.
24292 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24295 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24296 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24297 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24298 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24299 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24300 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24301 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24302 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24305 (USE_AS_STRCAT): Define.
24306 Add strcat and strncat support.
24307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24309 2011-07-25 Andreas Schwab <schwab@redhat.com>
24311 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24312 __n bigger than INT_MAX+1.
24313 (__strncmp_g): Likewise.
24315 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24317 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24318 * libio/stido.h: Likewise.
24320 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24325 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24326 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24328 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24332 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24337 (_dl_x86_64_save_sse): Likewise.
24339 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24343 (_dl_x86_64_save_sse): Likewise.
24345 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24347 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24349 2011-07-21 Andreas Schwab <schwab@redhat.com>
24351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24353 (_dl_x86_64_save_sse): Use correct AVX check.
24355 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24358 bug in strncpy/strncat.
24359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24361 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24363 * string/tester.c (test_strcat): Add tests for different alignments
24364 of source and destination.
24365 (test_strncat): Likewise.
24367 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24370 * posix/glob.c (glob): Check passed in values before using them in
24371 expressions to avoid some overflows.
24372 (glob_in_dir): Likewise.
24375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24376 check for AVX enablement so that we don't crash with old kernels and
24378 * elf/tst-audit4.c: Add same checks here.
24379 * elf/tst-audit6.c: Likewise.
24381 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24383 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24385 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24387 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24389 * po/cs.po: Update from translation team.
24390 * po/bg.po: Likewise.
24392 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24394 * misc/sys/cdefs.h: Add support for const attribute.
24395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24396 to gnu_dev_{major,minor,makedev} functions.
24398 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24400 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24402 2011-07-20 Andreas Schwab <schwab@redhat.com>
24404 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24407 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24410 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24411 register in order to avoid conflicts with the soft frame pointer
24412 being held in r11 when necessary.
24413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24414 (INTERNAL_VSYSCALL_NCS): Likewise.
24416 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24418 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24419 * elf/dl-fini.c (_dl_fini): Adjust caller.
24420 * elf/dl-close.c (_dl_close_worker): Likewise.
24421 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24423 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24425 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24426 "aux_cache->nlibs < 0".
24428 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24429 in the reload-count case.
24431 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24434 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24435 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24436 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24437 * sysdeps/x86_64/multiarch/strcat.S: New file.
24438 * sysdeps/x86_64/multiarch/strncat.S: New file.
24439 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24441 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24442 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24444 (USE_AS_STRCAT): Define.
24445 Add strcat and strncat support.
24446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24447 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24448 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24449 * string/strncat.c: Update.
24450 (USE_AS_STRNCAT): Define.
24451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24452 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24454 * sysdeps/x86_64/multiarch/init-arch.h
24455 (bit_Prefer_PMINUB_for_stringop): New.
24456 (index_Prefer_PMINUB_for_stringop): Likewise.
24457 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24458 bit_Prefer_PMINUB_for_stringop.
24460 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24462 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24464 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24465 of casting of buffer.
24466 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24467 buffer32 and buffer64.
24468 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24469 writes instead of casting of buffer.
24470 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24472 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24475 2011-07-19 Andreas Schwab <schwab@redhat.com>
24477 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24479 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24481 * nscd/nscd.c (termination_handler): Don't do anything for a database
24482 if it has not yet been initialized.
24484 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24486 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24488 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24490 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24492 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24494 * po/nl.po: Update from translation team.
24495 * po/sv.po: Likewise.
24497 2011-07-16 Roland McGrath <roland@hack.frob.com>
24499 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24500 now disallowed by GCC.
24502 * configure.in (use-default-link): Default to yes if a test -shared
24503 link meets our qualifications.
24504 * configure: Regenerated.
24506 * config.make.in (output-format): New variable.
24507 * configure.in: Check for ld --print-output-format support.
24508 * configure: Regenerated.
24509 * Makerules ($(common-objpfx)format.lds)
24510 [$(output-format) != unknown]: Just use $(output-format),
24511 instead of the linker-script munging.
24513 2011-07-14 Roland McGrath <roland@hack.frob.com>
24515 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24516 of $(common-objpfx)shlib.lds.
24517 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24519 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24520 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24522 * configure.in (-z relro check): Adjust test code to add a large
24523 writable data section after it.
24524 * configure: Regenerated.
24526 2011-07-11 Roland McGrath <roland@hack.frob.com>
24528 * configure.in (-z relro check): Fix test code to make the variable
24530 * configure: Regenerated.
24532 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24534 * nscd/nscd.h (struct traced_file): Define.
24535 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24536 elements. Add traced_files.
24537 (inotify_fd): Declare.
24538 (register_traced_file): Declare.
24539 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24540 (inotify_fd): Export.
24541 (resolv_conf_descr): Remove.
24542 (nscd_init): Move inotify descriptor creation to main.
24543 Don't register files for notification here.
24544 (register_traced_file): New function.
24545 (invalidate_cache): Don't use reset_res to determine whether to call
24546 res_init, go through the list of registered files.
24547 (main_loop_poll): The inotify descriptors are now stored in the
24548 structures for the traced files.
24549 (main_loop_epoll): Likewise
24550 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24551 to __nss_disable_nscd.
24552 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24553 for a database anymore. Check the records for all the registered
24555 * nss/Makefile (libnss_files-routines): Add files-init.
24556 (libnss_db-routines): Add db-init.
24557 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24558 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24559 * nss/nss_db/db-init.c: New file.
24560 * nss/nss_files/files-init.c: New file.
24561 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24562 __nss_lookup_function.
24563 (__nss_lookup_function): Call nss_load_library.
24564 (nss_load_all_libraries): New function.
24565 (__nss_disable_nscd): Take parameter with callback function for files
24566 to register. Set is_nscd. Load all the DSOs for the NSS modules
24567 used for the cached services.
24568 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24569 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24570 options for features to all the files in nscd.
24572 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24574 2011-07-10 Roland McGrath <roland@hack.frob.com>
24576 * csu/elf-init.c (__libc_csu_init): Comment typo.
24578 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24580 * po/pl.po: Update from translation team.
24581 * po/ja.po: Likewise.
24582 * po/ru.po: Likewise.
24583 * po/ko.po: Likewise.
24584 * po/fr.po: Likewise.
24586 2011-07-09 Roland McGrath <roland@hack.frob.com>
24588 * configure.in (.ctors/.dtors header and trailer check):
24589 Use an empirical test on a built program.
24590 * configure: Regenerated.
24592 * configure.in (-z relro check): Use an empirical test on a built DSO.
24593 Detect, but do not require, on ia64.
24594 * configure: Regenerated.
24596 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24597 Update tests that use readelf to use $READELF instead.
24598 * configure: Regenerated.
24600 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24602 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24603 if the result is not used.
24605 2011-07-05 Andreas Jaeger <aj@suse.de>
24608 * stdlib/tst-strtod.c: Add testcase.
24610 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24612 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24613 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24614 The latter has a higher limit. Take additional parameter to pass to
24616 (__pathconf): Pass file to __statfs_link_max.
24617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24619 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24623 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24624 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24627 (__statfs_filesize_max): Likewise.
24628 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24630 2011-07-05 Andreas Jaeger <aj@suse.de>
24632 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24634 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24636 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24638 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24641 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24643 * Makefile (strop-tests): Add strncat.
24644 * string/test-strncat.c: New file.
24646 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24648 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24650 2011-06-21 Andreas Jaeger <aj@suse.de>
24652 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24653 Copy rule from iconvdata/Makefile.
24655 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24658 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24659 but no long options are defined, just return 'W'.
24661 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24664 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24666 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24668 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24670 (innetgr): Likewise.
24672 2011-07-05 Roland McGrath <roland@hack.frob.com>
24674 * config.make.in (install_root): Default to $(DESTDIR).
24676 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24680 2011-07-02 Roland McGrath <roland@hack.frob.com>
24682 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24684 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24685 containing directory rather than embedding absolute directory names.
24687 * scripts/check-local-headers.sh: Rewritten using awk.
24688 Match by word, not by line. Print error messages for matches.
24689 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24691 * Makerules [shlib-lds-flags empty]:
24692 ($(common-objpfx)libc_pic.opts): New target.
24693 ($(common-objpfx)libc_pic.os.clean): New target.
24694 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24696 * config.make.in (OBJCOPY): New variable.
24697 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24698 * configure: Regenerated.
24700 * config.make.in (use-default-link): New variable.
24701 * configure.in (use_default_link): Grok --with-default-link to set it.
24702 * configure: Regenerated.
24703 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24704 (shlib-lds, shlib-lds-flags): Define to empty.
24706 * Makerules (shlib-lds): New variable.
24707 (shlib-lds-flags): New variable.
24708 (build-shlib, build-moduile, build-module-asneeded): Use it.
24709 ($(common-objpfx)libc.so): Use $(shlib-lds).
24710 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24711 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24713 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24714 DT_FLAGS/DT_FLAGS_1 with zero flags.
24716 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24717 linker script munging.
24719 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24721 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24723 * crypt/sha512.c (sha512_process_block): Perform total addition using
24724 128-bit if possible.
24725 (__sha512_finish_ctx): Likewise.
24726 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24728 * crypt/sha256.c (SWAP64): Define.
24729 (sha256_process_block): Perform total addition using 64-bit if
24731 (__sha256_finish_ctx): Likewise.
24733 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24735 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24737 * nscd/hstcache.c (cache_addhst): Likewise.
24738 * nscd/grpcache.c (cache_addgr): Likewise.
24739 * nscd/aicache.c (addhstaiX): Likewise
24740 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24742 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24744 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24746 * nscd/hstcache.c (cache_addhst): Likewise.
24747 * nscd/grpcache.c (cache_addgr): Likewise.
24748 * nscd/aicache.c (addhstaiX): Likewise
24750 2011-07-01 Andreas Schwab <schwab@redhat.com>
24752 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24753 domain only when needed.
24755 2011-06-30 Andreas Schwab <schwab@redhat.com>
24757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24758 is always restored.
24760 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24762 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24763 are re-adding the entry.
24764 * nscd/servicescache.c (cache_addserv): Likewise.
24766 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24768 * sysdeps/generic/dl-irel.h: fix protection against multiple
24770 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24772 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24775 * malloc/memusage.sh: Fix quoting in message.
24776 * debug/xtrace.sh: Likewise.
24778 * configure.in: Remove support for --experimental-malloc option, make
24780 * config.make.in: Likewise.
24781 * malloc/Makefile: Likewise.
24783 2011-06-27 Andreas Schwab <schwab@redhat.com>
24785 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24786 two-byte characters.
24788 2011-06-27 Roland McGrath <roland@hack.frob.com>
24790 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24791 AC_CACHE_CHECK invocation.
24792 * configure: Regenerated.
24794 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24796 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24799 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24800 bit from old_res_options.
24802 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24804 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24805 value type for setfct.
24807 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24810 __gettimeofday instead of gettimeofday.
24812 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24814 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24816 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24818 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24823 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24826 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24827 strcpy-sse2-unaligned strncpy-sse2-unaligned
24828 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24829 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24830 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24831 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24832 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24835 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24836 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24837 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24838 (STRCPY): Support SSE2 and SSSE3 versions.
24840 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24844 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24845 kernels which artificially limit size of requests.
24847 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24850 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24851 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24852 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24853 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24854 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24855 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24856 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24859 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24860 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24861 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24862 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24863 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24865 Enable unaligned load optimization for Intel Core i3, i5 and i7
24867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24869 (index_Fast_Unaligned_Load): Define.
24870 (HAS_FAST_UNALIGNED_LOAD): Define.
24872 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24874 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24876 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24880 until it is clear that the information is realy needed.
24881 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24883 2011-06-22 Andreas Schwab <schwab@redhat.com>
24885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24887 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24890 /sys/devices/system/cpu/online if it is usable.
24892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24893 reading the information from the /proc filesystem to once a second.
24895 2011-06-21 Andreas Jaeger <aj@suse.de>
24897 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24898 NULL after inclusion of kernel headers.
24900 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24902 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24903 calls to internal_setent.
24906 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24907 addresses using gethostbyname4_r ignore IPv4 addresses.
24909 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24910 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24912 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24914 2011-06-20 David S. Miller <davem@davemloft.net>
24916 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24918 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24920 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24921 (elf_irel): Use it.
24922 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24923 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24924 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24925 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24926 * sysdeps/x86_64/dl-irel.h: Likewise.
24928 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24929 * elf/dl-sym.c: Likewise.
24931 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24933 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24934 need to dereference resplen2.
24936 2011-06-14 Andreas Schwab <schwab@redhat.com>
24938 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24940 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24942 * Makeconfig: Define vardbdir and inst_vardbdir.
24943 * nss/Makefile: Add rules to install db-Makefile.
24945 * nss/nss_db/db-XXX.c: Cleanup.
24947 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24948 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24950 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24951 * nss/makedb.c: Implement -g option to specify that value strings
24952 are generated and should not be added to table iterated over for
24954 * nss/nss_db/db-initgroups.c: New file.
24956 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24959 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24960 (internal_getgrouplist): Adjust to name change.
24961 Update use_initgroups_entry if this is not the first call.
24962 * nss/databases.def: Add initgroups entry.
24964 * nss/makedb.c (compute_tables): Check result of multiple hash table
24965 sizes to minimize maximum chain length.
24967 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24969 * Versions.def: Add entry for libnss_db.
24970 * shlib-versions: Likewise.
24971 * nss/Makefile: Add rules to build libnss_db.
24972 * nss/Versions: Add libnss_db information. Organize libnss_files
24974 * nss/db-Makefile: Add gshadow support. Change rules for the new
24975 makedb progra. Some minor improvements to generate smaller files.
24976 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24978 * nss/makedb.c: ...here.
24979 Improve database format to be smaller and require less memory at
24981 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24983 * nss/nss_db/db-netgrp.c: Likewise.
24984 * nss/nss_db/db-open.c: Likewise.
24985 * nss/nss_files/flies-XXX.x: Adjust comments.
24986 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24987 * nss/nss_files/files-grp.c: Likewise.
24988 * nss/nss_files/files-hosts.c: Likewise.
24989 * nss/nss_files/files-network.c: Likewise.
24990 * nss/nss_files/files-proto.c: Likewise.
24991 * nss/nss_files/files-pwd.c: Likewise.
24992 * nss/nss_files/files-rpc.c: Likewise.
24993 * nss/nss_files/files-service.c: Likewise.
24994 * nss/nss_files/files-sgrp.c: Likewise.
24995 * nss/nss_files/files-spwd.c: Likewise.
24996 * nss/nss_db/db-alias.c: Removed.
24997 * nss/nss_db/dummy-db.h: Removed.
24999 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25001 * nss/makedb.c: Rewritten to not use database library.
25002 * nss/Makefile: Update to build new makedb program.
25004 2011-06-14 Andreas Jaeger <aj@suse.de>
25006 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25007 memset declaration.
25009 2011-06-10 Andreas Schwab <schwab@redhat.com>
25011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25014 2011-06-10 Roland McGrath <roland@hack.frob.com>
25016 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25017 * elf/Makefile ($(objpfx)ld.so): Likewise.
25019 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25020 Don't list ld.so twice in dependencies.
25022 * posix/bug-regex31.c: Include <stdlib.h>.
25024 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25026 * nis/nss_compat/compat-spwd.c
25027 (getspent_next_nss_netgr): Remove unused variable.
25028 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25030 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25031 nonmembers" output to use the right array.
25033 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25035 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25037 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25038 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25039 * catgets/gencat.c (read_input_file): Likewise.
25040 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25042 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25043 variable definition inside #if's controlling its use.
25045 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25047 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25049 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25051 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25054 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25056 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25057 * configure: Regenerated.
25059 * Makerules: Revert last change.
25060 * elf/Makefile: Likewise.
25062 2011-06-09 Roland McGrath <roland@hack.frob.com>
25064 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25065 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25066 (reloc-link): Likewise.
25068 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25070 * elf/Makefile: Add rules to build pldd.
25071 * elf/pldd.c: New file.
25072 * elf/pldd-xx.c: New file.
25074 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25076 * version.h: Update for 2.15 development version.
25078 2011-06-07 David S. Miller <davem@davemloft.net>
25080 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25083 elf_machine_lazy_rel): Likewise.
25084 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25086 elf_machine_lazy_rel): Likewise.
25087 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25088 dl_hwcap via passed in argument.
25089 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25092 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25094 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25096 2011-06-06 Roland McGrath <roland@hack.frob.com>
25099 * manual/fdl-1.1.texi: New file, verbatim from:
25100 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25101 * manual/lgpl-2.1.texi: New file, verbatim from:
25102 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25103 * manual/Makefile (licenses): New variable, list those new file names.
25105 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25107 * manual/fdl.texi: File removed.
25108 * manual/lesser.texi: File removed.
25109 * manual/libc.texinfo (Copying, Documentation License):
25110 Use new @include file names, put @appendix directive before @include.
25112 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25115 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25116 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25117 (mq_open): Add __NTH.
25119 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25122 Assume Intel Core i3/i5/i7 processor if AVX is available.
25124 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25129 2011-05-31 Andreas Schwab <schwab@redhat.com>
25131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25132 memory. Use alloca_account. Fix memory leak when retrying.
25134 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25136 * version.h (RELEASE): Bump for 2.14 release.
25137 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25139 * config.make.in (RANLIB): Remove entry.
25141 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25143 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25144 (libc.pot): Work around missing support for .ksh extension in xgettext.
25147 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25148 if both request failed.
25149 (send_dg): In case of server errors clear resplen or *resplen2.
25152 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25153 when there are multiple maps.
25154 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25155 (_dl_fini): Remove test here.
25157 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25159 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25162 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25163 bit from old_res_options.
25164 (gaih_inet): Likewise.
25167 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25170 * resolv/res_init.c (res_setoptions): Make the code more compact.
25173 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25177 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25179 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25182 * malloc/malloc.h: Declare malloc hook variables as volatile.
25184 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25188 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25189 raise in the comment.
25190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25192 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25194 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25197 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25198 grow the buffers more if it already has to be sufficient.
25199 (build_wcs_upper_buffer): Likewise.
25200 * posix/regexec.c (check_matching): Likewise.
25201 (clean_state_log_if_needed): Likewise.
25202 (extend_buffers): Don't enlarge buffers beyond size of the input
25204 Patches mostly by Emil Wojak <emil@wojak.eu>.
25205 * posix/bug-regex32.c: New file.
25206 * posix/Makefile (tests): Add bug-regex32.
25208 * locale/findlocale.c (_nl_find_locale): Return right away if
25209 _nl_explode_name failed.
25210 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25212 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25214 * debug/xtrace.sh: Unify messages.
25215 * malloc/memusage.sh: Likewise.
25218 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25219 time symbol from vDSO. Substitute with vsyscall if not available.
25220 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25223 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25224 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25225 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25226 Add sendmmsg and internal_sendmmsg.
25227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25228 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25229 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25231 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25232 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25235 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25238 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25239 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25241 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25245 * iconvdata/Makefile (tests): Add bug-iconv9.
25246 * iconvdata/bug-iconv9.c: New file.
25248 2011-05-27 Andreas Schwab <schwab@redhat.com>
25251 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25253 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25256 (struct user_regs_struct): Change intcs field back to cs.
25258 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25260 * po/ja.po: Update from translation team.
25262 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25265 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25266 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25268 2011-05-20 Andreas Schwab <schwab@redhat.com>
25270 * stdlib/longlong.h: Update from GCC.
25272 2011-05-23 Andreas Schwab <schwab@redhat.com>
25274 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25276 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25277 Add parameter name.
25278 (__sysconf): Pass it down.
25280 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25283 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25286 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25287 add in in __libc_use_alloca calls. Adjust callers.
25288 (glob): Use malloc in some situations.
25290 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25291 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25294 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25296 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25297 and CLOCK_BOOTTIME_ALARM.
25300 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25303 * string/_strerror.c (__strerror_r): Print negative errors as signed
25307 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25308 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25309 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25311 * configure.in: Fix typo in redirection and correct removal of test
25312 files in two cases.
25315 * locale/setlocale.c (new_composite_name): Fix test to check for
25316 identical name of all categories.
25319 * libio/filedoalloc.c (local_isatty): New function.
25320 (_IO_file_doallocate): Use local_isatty.
25321 * stdio-common/perror.c (perror): In case a new stream is used
25322 forward the stream error.
25323 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25326 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25331 * include/alloca.h (extend_alloca_account): Define.
25334 * posix/regex.h: Fix comments with documentation of user-accessible
25335 fields after compilation and describe correct free'ing of pattern
25336 after re_compile_pattern.
25337 Patch by Reuben Thomas <rrt@sc3d.org>.
25339 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25341 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25342 and -mno-altivec to prevent the compiler from using Altivec and/or
25343 VSX instructions when the corresponding registers are not available.
25345 2011-05-19 Andreas Schwab <schwab@redhat.com>
25347 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25349 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25351 * libio/freopen.c (freopen): Use __dup2, not dup2.
25352 * libio/freopen64.c (freopen64): Likewise.
25354 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25357 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25358 * math/Makefile (tests): Add test-powl.
25359 (CFLAGS-test-powl.c): Define.
25360 * math/test-powl.c: New file.
25362 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25364 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25366 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25369 * iconvdata/gb18030.c: Update to GB18020-2005.
25371 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25373 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25374 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25375 Patch by Aharon Robbins <arnold@skeeve.com>.
25378 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25382 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25383 through underflows.
25386 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25387 point to strings before performing equality test for error_one_per_line
25391 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25395 (struct user_fpregs_struct): Avoid __uint*_t types.
25398 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25399 symbol info. Use it instead of calling _dl_addr locally.
25400 (lock_and_info): New function.
25401 (tr_freehook): Call lock_and_info and pass symbol info as additional
25402 parameter to tr_where.
25403 (tr_mallochook): Likewise.
25404 (tr_reallochook): Likewise.
25405 (tr_memalignhook): Likewise.
25407 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25408 used and couldn't be at all thread-safe.
25410 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25412 * libio/freopen.c (freopen): Don't close old file descriptor
25413 before the new one is opened. Instead dup the new file descriptor
25414 to the old one after the new stream is created.
25415 * libio/freopen64.c (freopen64): Likewise.
25416 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25417 * libio/fileops.c (_IO_new_file_close_it): Handle new
25418 _IO_FLAGS2_NOCLOSE flag.
25419 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25420 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25421 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25422 _IO_FLAGS2_NOCLOSE flag.
25423 * include/unistd.h: Add hidden_proto for dup3.
25424 Define __have_dup3.
25425 * io/dup3.c: Define hidden symbol.
25426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25429 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25430 when an incomplete long option is used.
25431 * posix/tst-getopt_long1.c: New file.
25432 * posix/Makefile (tests): Add tst-getopt_long1.
25435 * scripts/config.guess: Update from autoconf-2.68.
25436 * scripts/config.sub: Likewise.
25439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25441 (has_cpuclock): ...this. New function.
25442 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25443 macro here based on has_cpuclock code.
25446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25447 First byte (not low byte) is now always NUL.
25448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25451 Use non-cancelable interfaces.
25454 * locale/iso-639.def: Add entry for Sorani.
25457 * include/stdlib.h: Move include protection to the right place.
25458 Define abort_msg_s. Declare __abort_msg with it.
25459 * stdlib/abort.c (__abort_msg): Adjust type.
25460 * assert/assert.c (__assert_fail_base): New function. Majority
25461 of code from __assert_fail. Allocate memory for __abort_msg with
25463 (__assert_fail): Now call __assert_fail_base.
25464 * assert/assert-perr.c: Remove bulk of implementation. Use
25465 __assert_fail_base.
25466 * include/assert.hL Declare __assert_fail_base.
25467 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25469 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25471 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25475 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25476 until all modules are registered in the DTV.
25477 * elf/Makefile: Add rules to build and run tst-tls19.
25478 * elf/tst-tls19.c: New file.
25479 * elf/tst-tls19mod1.c: New file.
25480 * elf/tst-tls19mod2.c: New file.
25481 * elf/tst-tls19mod3.c: New file.
25482 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25485 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25489 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25490 two-byte sequence errors.
25491 * iconvdata/Makefile (tests): Add bug-iconv8.
25492 * iconvdata/bug-iconv8.c: New file.
25495 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25498 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25501 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25502 (dummy_getcfa): New function.
25503 (init): Get _Unwind_GetCFA address, use dummy if not found.
25504 (backtrace_helper): In recursion check, also check whether CFA changes.
25505 (__backtrace): Completely initialize arg.
25507 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25508 storing incomplete byte sequence in state object. Avoid testing for
25509 guaranteed too small input if we know there is enough data available.
25511 2011-05-11 Andreas Schwab <schwab@redhat.com>
25513 * Makeconfig (+link-pie): Indent.
25514 * Rules (binaries-pie): Define if $(have-fpie) and
25516 (binaries-shared): Also filter out $(binaries-pie).
25517 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25518 * nscd/Makefile (others-pie): Add nscd.
25519 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25520 ($(objpfx)nscd): Remove command override.
25521 * login/Makefile (others-pie): Add pt_chown.
25522 ($(objpfx)pt_chown): Remove command override.
25523 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25524 remove command overrides.
25526 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25528 * libio/tst_putwc.c: Fix error messages.
25531 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25532 currently writing and seek to current position when not.
25533 * libio/Makefile (tests): Add bug-fclose1.
25534 * libio/bug-fclose1.c: New file.
25536 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25539 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25540 don't set DF_1_NODELETE here.
25541 (do_lookup_x): When entering new entry test for copy relocation
25542 and if necessary set DF_1_NODELETE flag.
25543 * elf/tst-unique4.cc: New file.
25544 * elf/tst-unique4.h: New file.
25545 * elf/tst-unique4lib.cc: New file.
25546 * elf/Makefile: Add rules to build and run tst-unique4.
25547 Patch by Piotr Bury <pbury@goahead.com>.
25549 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25552 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25555 * misc/mntent_r.c (addmntent): Flush the stream after the output
25558 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25559 (is_trusted_path_normalize): Skip initial colon. Append slash
25560 to empty buffer. Duplicate is_trusted_path code but allow
25561 constructed patch to be prefix.
25562 (is_dst): Allow $ORIGIN followed by /.
25563 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25564 Correct testing of result of is_trusted_path_normalize
25565 (decompose_rpath): Fix warning.
25567 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25570 * grp/initgroups.c (internal_getgrouplist): When we found the service
25571 list through the initgroups entry in nsswitch.conf do not always
25572 continue on a successful lookup. Don't always use the
25573 __nss_group_database value if it is set.
25574 * nss/nsswitch.conf (initgroups): Change action for successful db
25575 lookup to continue for compatibility.
25577 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25580 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25582 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25584 * iconvdata/tst-tables.sh: Likewise.
25585 * iconvdata/cp770.c: New file.
25586 * iconvdata/cp771.c: New file.
25587 * iconvdata/cp772.c: New file.
25588 * iconvdata/cp773.c: New file.
25589 * iconvdata/cp774.c: New file.
25590 * iconvdata/testdata/CP770: New file.
25591 * iconvdata/testdata/CP770..UTF8: New file.
25592 * iconvdata/testdata/CP771: New file.
25593 * iconvdata/testdata/CP771..UTF8: New file.
25594 * iconvdata/testdata/CP772: New file.
25595 * iconvdata/testdata/CP772..UTF8: New file.
25596 * iconvdata/testdata/CP773: New file.
25597 * iconvdata/testdata/CP773..UTF8: New file.
25598 * iconvdata/testdata/CP774: New file.
25599 * iconvdata/testdata/CP774..UTF8: New file.
25601 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25603 * iconvdata/gen-8bit-gap.sh: Likewise.
25604 * iconvdata/gen-8bit.sh: Likewise.
25606 * locale/iso-639.def: Add ary entry.
25609 * locale/C-translit.h.in: Add U20A1 transliteration.
25612 * locale/iso-639.def: Add wae entry.
25613 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25616 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25620 * locale/C-translit.h.in: Add entry for U20B9.
25621 Patch by pravin.d.s@gmail.com.
25623 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25626 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25627 ENAMETOOLONG use generic getcwd.
25628 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25629 in rtld. Use *stat64.
25630 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25631 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25632 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25633 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25634 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25635 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25636 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25637 __fstatat64 macros.
25638 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25639 * dirent/rewinddir.c: Add libc_hidden_def.
25640 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25641 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25643 * include/dirent.h (__alloc_dir): Add flags parameter.
25644 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25645 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25647 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25648 from fdopendir if O_CLOEXEC is already set.
25650 2011-03-15 Alan Modra <amodra@gmail.com>
25652 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25653 l_tls_firstbyte_offset non-zero. Save padding offset in
25654 l_tls_firstbyte_offset for later use.
25655 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25656 freeing static tls block.
25658 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25660 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25661 where #ifdef was intended. The intent is to prevent ARG_MAX from
25662 being defined by the kernel headers.
25664 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25667 * resolv/resolv.h: Define RES_NOTLDQUERY.
25668 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25669 no-tld-query and set RES_NOTLDQUERY.
25670 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25671 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25672 modern BIND to search name as TLD unless forbidden.
25674 2011-05-07 Petr Baudis <pasky@suse.cz>
25675 Ulrich Drepper <drepper@gmail.com>
25678 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25679 (is_trusted_path): ...to here.
25680 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25681 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25682 using is_trusted_path_normalize() in setuid scripts.
25684 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25687 __BEGIN/__END_DECLS.
25689 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25692 NSS_STATUS_NOTFOUND if no record was found.
25694 2011-05-05 Andreas Schwab <schwab@redhat.com>
25696 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25697 (headers-not-in-tirpc): Remove rpc/netdb.h
25698 * resolv/netdb.h: Revert last change.
25700 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25702 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25703 circular dependency between libgcc.a and libc.a.
25705 2011-05-05 Andreas Schwab <schwab@redhat.com>
25707 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25708 * nis/Makefile: Don't install rpcsvc/*.
25709 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25710 instead of <rpc/types.h>.
25711 (MAXHOSTNAMELEN): Define.
25713 2011-05-03 Andreas Schwab <schwab@redhat.com>
25715 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25717 2011-04-28 Maciej Babinski <mbabinski@google.com>
25720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25721 gethostbyname4_r when IPv6 results are possible.
25723 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25726 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25727 _PC_PIPE_BUF handling.
25729 2011-04-30 Bruno Haible <bruno@clisp.org>
25732 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25733 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25735 * inet/getnameinfo.c (getnameinfo): Likewise.
25737 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25739 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25740 to groups setting in database lookup.
25741 * nss/nsswitch.conf: Add initgroups entry.
25743 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25746 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25748 Patch by Eric Blake <eblake@redhat.com>.
25750 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25752 * sunrpc/Makefile (need-export-routines): Add svc_run.
25753 (routines): Remove svc_run.
25754 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25755 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25756 * sunrpc/svc_run.c (svc_run): Likewise.
25757 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25759 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25761 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25762 problem in reallocation in last patch.
25764 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25766 * sunrpc/Makefile: Move inclusion of Rules.
25768 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25770 * nss/nss_files/files-initgroups.c: New file.
25771 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25772 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25773 _nss_files_initgroups_dyn.
25775 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25777 * elf/elf.h (R_ARM_IRELATIVE): Define.
25779 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25781 * po/ru.po: Update from translation team.
25783 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25785 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25788 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25792 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25795 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25797 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25799 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25802 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25803 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25805 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25808 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25810 * stdlib/bug-getcontext.c: New file.
25811 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25813 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25815 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25816 instructions into .machine "z9-109".
25817 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25818 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25820 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25822 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25823 between environment variables and auxiliary vector.
25825 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25827 * Makefile: Add rules to build linkobj/libc.so.
25828 * include/libc-symbols.h: Define libc_hidden_nolink.
25829 * include/rpc/auth.h: Mark functions which are to be hidden.
25830 * include/rpc/auth_des.h: Likewise.
25831 * include/rpc/auth_unix.h: Likewise.
25832 * include/rpc/clnt.h: Likewise.
25833 * include/rpc/des_crypt.h: Likewise.
25834 * include/rpc/key_prot.h: Likewise.
25835 * include/rpc/pmap_clnt.h: Likewise.
25836 * include/rpc/pmap_prot.h: Likewise.
25837 * include/rpc/pmap_rmt.h: Likewise.
25838 * include/rpc/rpc_msg.h: Likewise.
25839 * include/rpc/svc.h: Likewise.
25840 * include/rpc/svc_auth.h: Likewise.
25841 * include/rpc/xdr.h: Likewise.
25842 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25843 * nss/Makefile: Likewise.
25844 * sunrpc/Makefile: Don't install headers. Build library with normal
25845 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25846 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25847 for the compat linking library. Remove use of INTDEF/INTUSE.
25848 * sunrpc/auth_none.c: Likewise.
25849 * sunrpc/auth_unix.c: Likewise.
25850 * sunrpc/authdes_prot.c: Likewise.
25851 * sunrpc/authuxprot.c: Likewise.
25852 * sunrpc/clnt_gen.c: Likewise.
25853 * sunrpc/clnt_perr.c: Likewise.
25854 * sunrpc/clnt_raw.c: Likewise.
25855 * sunrpc/clnt_simp.c: Likewise.
25856 * sunrpc/clnt_tcp.c: Likewise.
25857 * sunrpc/clnt_udp.c: Likewise.
25858 * sunrpc/clnt_unix.c: Likewise.
25859 * sunrpc/des_crypt.c: Likewise.
25860 * sunrpc/des_soft.c: Likewise.
25861 * sunrpc/get_myaddr.c: Likewise.
25862 * sunrpc/key_call.c: Likewise.
25863 * sunrpc/key_prot.c: Likewise.
25864 * sunrpc/netname.c: Likewise.
25865 * sunrpc/pm_getmaps.c: Likewise.
25866 * sunrpc/pm_getport.c: Likewise.
25867 * sunrpc/pmap_clnt.c: Likewise.
25868 * sunrpc/pmap_prot.c: Likewise.
25869 * sunrpc/pmap_prot2.c: Likewise.
25870 * sunrpc/pmap_rmt.c: Likewise.
25871 * sunrpc/publickey.c: Likewise.
25872 * sunrpc/rpc_cmsg.c: Likewise.
25873 * sunrpc/rpc_common.c: Likewise.
25874 * sunrpc/rpc_dtable.c: Likewise.
25875 * sunrpc/rpc_prot.c: Likewise.
25876 * sunrpc/rpc_thread.c: Likewise.
25877 * sunrpc/rtime.c: Likewise.
25878 * sunrpc/svc.c: Likewise.
25879 * sunrpc/svc_auth.c: Likewise.
25880 * sunrpc/svc_authux.c: Likewise.
25881 * sunrpc/svc_raw.c: Likewise.
25882 * sunrpc/svc_run.c: Likewise.
25883 * sunrpc/svc_simple.c: Likewise.
25884 * sunrpc/svc_tcp.c: Likewise.
25885 * sunrpc/svc_udp.c: Likewise.
25886 * sunrpc/svc_unix.c: Likewise.
25887 * sunrpc/svcauth_des.c: Likewise.
25888 * sunrpc/xcrypt.c: Likewise.
25889 * sunrpc/xdr.c: Likewise.
25890 * sunrpc/xdr_array.c: Likewise.
25891 * sunrpc/xdr_float.c: Likewise.
25892 * sunrpc/xdr_intXX_t.c: Likewise.
25893 * sunrpc/xdr_mem.c: Likewise.
25894 * sunrpc/xdr_rec.c: Likewise.
25895 * sunrpc/xdr_ref.c: Likewise.
25896 * sunrpc/xdr_sizeof.c: Likewise.
25897 * sunrpc/xdr_stdio.c: Likewise.
25899 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25902 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25903 * sysdeps/ia64/dl-tls.h: Likewise.
25904 * sysdeps/powerpc/dl-tls.h: Likewise.
25905 * sysdeps/s390/dl-tls.h: Likewise.
25906 * sysdeps/sh/dl-tls.h: Likewise.
25907 * sysdeps/sparc/dl-tls.h: Likewise.
25908 * sysdeps/x86_64/dl-tls.h: Likewise.
25909 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25911 2011-03-14 Andreas Schwab <schwab@redhat.com>
25913 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25914 rpath element also skip the following colon.
25915 (expand_dynamic_string_token): Add is_path parameter and pass
25916 down to DL_DST_REQUIRED and _dl_dst_substitute.
25917 (decompose_rpath): Call expand_dynamic_string_token with
25918 non-zero is_path. Ignore empty rpaths.
25919 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25922 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25927 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25930 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25931 Patch by Filipe David Manana <fdmanana@apache.org>.
25933 2011-04-07 Andreas Schwab <schwab@redhat.com>
25935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25936 Maintain aligned stack.
25937 (CHECK_RSP): Remove unused macro.
25939 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25941 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25944 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25946 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25948 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25950 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25953 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25954 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25955 * sysdeps/x86_64/memmove.c: New file.
25956 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25957 (memcpy): Renamed to ...
25958 (__new_memcpy): This.
25959 (memcpy): Provide GLIBC_2_14 memcpy.
25960 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25961 (memcpy): Provide GLIBC_2_2_5 memcpy.
25963 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25966 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25968 2011-03-30 Andreas Schwab <schwab@redhat.com>
25970 * misc/syncfs.c: New file.
25971 * misc/Makefile (routines): Add syncfs.
25972 * posix/unistd.h: Declare syncfs.
25973 * sysdeps/unix/syscalls.list: Add syncfs.
25975 2011-04-01 Andreas Schwab <schwab@redhat.com>
25977 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25984 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25987 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25990 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25991 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25997 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25998 sync_file_range.c with -fexceptions.
25999 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26000 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26001 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26002 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26003 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26004 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26006 sync_file_range as cancellation point
26007 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26008 now a wrapper around __call_sync_file_range with cancellation handling.
26009 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26010 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26011 function name to __call_sync_file_range.
26012 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26013 Add call_sync_file_range.
26015 2011-04-01 Andreas Schwab <schwab@redhat.com>
26017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26020 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26022 * iconv/iconv.h: Fix typo in comment.
26023 * io/fcntl.h: Likewise.
26024 * libio/stdio.h: Likewise.
26025 * posix/spawn.h: Likewise.
26026 * posix/unistd.h: Likewise.
26027 * stdlib/stdlib.h: Likewise.
26028 * time/time.h: Likewise.
26029 * wcsmbs/wchar.h: Likewise.
26031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26032 open_by_handle): Add.
26033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26034 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26035 Augment a few comments.
26036 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26041 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26044 * io/fcntl.h (AT_EMPTY_PATH): Define.
26046 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26048 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26049 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26050 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26052 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26053 * Versions.def: Add GLIBC_2.14.
26054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26057 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26063 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26066 * string/test-strncmp.c (do_page_test): New function.
26067 (check2): Likewise.
26068 (test_main): Call check2.
26069 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26071 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26074 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26075 Handle cache information in CPU leaf 4.
26076 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26078 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26081 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26082 character representation.
26083 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26085 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26087 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26088 END(__isnan) to END(__isnanf) to match function entry point/label
26089 EALIGN(__isnanf,...).
26091 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26093 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26095 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26098 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26099 copy from the symbol referenced in the relocation to initialize the
26101 Patch by Piotr Bury <pbury@goahead.com>.
26102 * elf/Makefile: Add rules to build and tst-unique3.
26103 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26104 * elf/tst-unique3.cc: New file.
26105 * elf/tst-unique3.h: New file.
26106 * elf/tst-unique3lib.cc: New file.
26107 * elf/tst-unique3lib2.cc: New file.
26109 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26111 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26113 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26114 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26117 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26119 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26120 to-be-loaded object along a path to loader is ld.so.
26122 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26123 Ulrich Drepper <drepper@gmail.com>
26125 * sysdeps/x86_64/memset.S: After aligning destination, code
26126 branches to different locations depending on the value of
26127 misalignment, when multiarch is enabled. Fix this.
26129 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26131 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26132 Set _x86_64_preferred_memory_instruction for AMD processsors.
26133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26134 Set bit_Prefer_SSE_for_memop for AMD processors.
26136 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26138 * libio/fmemopen.c (fmemopen): Optimize a bit.
26140 2011-03-03 Andreas Schwab <schwab@redhat.com>
26142 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26144 2011-03-03 Roland McGrath <roland@redhat.com>
26146 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26148 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26150 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26151 __bzero_ultra1 instead of __memset_ultra1.
26153 2011-02-23 Andreas Schwab <schwab@redhat.com>
26154 Ulrich Drepper <drepper@gmail.com>
26157 * include/link.h (struct link_map): Add l_orig_initfini.
26158 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26159 returning unsuccessfully.
26160 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26161 close of a file loaded at startup, restore the original l_initfini
26163 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26164 list, store the pointer.
26165 * elf/Makefile ($(objpfx)noload-mem): New rule.
26166 (noload-ENV): Define.
26167 (tests): Add $(objpfx)noload-mem.
26168 * elf/noload.c: Include <memcheck.h>.
26169 (main): Call mtrace. Close all opened handles.
26171 2011-02-17 Andreas Schwab <schwab@redhat.com>
26174 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26175 dependencies are missing.
26177 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26179 Fix __if_freereq crash: Unlike the generic version which uses free,
26181 * sysdeps/mach/hurd/ifreq.h: New file.
26183 2011-01-27 Petr Baudis <pasky@suse.cz>
26184 Ulrich Drepper <drepper@gmail.com>
26187 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26188 to extend_alloca().
26189 * stdio-common/bug23.c: New file.
26190 * stdio-common/Makefile (tests): Add bug23.
26192 2010-09-28 Andreas Schwab <schwab@redhat.com>
26193 Ulrich Drepper <drepper@gmail.com>
26196 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26197 before performing relro protection. At old place add assertion
26198 to make sure nothing changed.
26200 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26201 Glauber de Oliveira Costa <glommer@gmail.com>
26203 * elf/elf.h: Add new ARM TLS relocs.
26205 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26208 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26210 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26212 * sysdeps/wordsize-64/tst-writev.c: New file.
26214 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26216 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26217 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26218 insns in _dl_start to prevent a TOC reference before relocs are
26221 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26224 * Makeconfig: Remove RANLIB definition.
26225 * Makerules: Don't use RANLIB.
26226 * aclocal.m4: Remove ranlib test.
26227 * configure.in: No need to check for ranlib.
26228 * elf/rtld-Rules: Don't use RANLIB.
26230 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26232 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26234 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26235 inclusion protection macro.
26237 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26238 SIGRTMIN and SIGRTMAX and print information in that case only when
26239 SIGRTMIN is defined.
26241 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26243 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26244 arginfo fn returning -1.
26246 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26247 and thousands string is zero terminated.
26249 2011-02-03 Andreas Schwab <schwab@redhat.com>
26251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26252 sysdeps/unix/sysv/linux/bits/socket.h.
26254 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26256 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26257 (__CPU_COUNT): Remove old macros.
26258 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26259 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26260 (__CPU_ALLOC, __CPU_FREE): Add macros.
26261 (__sched_cpualloc, __sched_cpufree): Add declarations.
26263 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26265 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26266 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26267 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26268 (readdhstai): Return value of addhstaiX call.
26269 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26270 (addgrbyX): Return value returned by cache_addgr.
26271 (readdgrbyname): Return value returned by addgrbyX.
26272 (readdgrbygid): Likewise.
26273 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26274 (addpwbyX): Return value returned by cache_addpw.
26275 (readdpwbyname): Return value returned by addhstbyX.
26276 (readdpwbyuid): Likewise.
26277 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26278 (addservbyX): Return value returned by cache_addserv.
26279 (readdservbyname): Return value returned by addservbyX:
26280 (readdservbyport): Likewise.
26281 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26282 (addhstbyX): Return value returned by cache_addhst.
26283 (readdhstbyname): Return value returned by addhstbyX.
26284 (readdhstbyaddr): Likewise.
26285 (readdhstbynamev6): Likewise.
26286 (readdhstbyaddrv6): Likewise.
26287 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26288 (readdinitgroups): Return value returned by addinitgroupsX.
26289 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26290 (prune_cache): Keep track of timeout value of re-added entries.
26291 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26292 * nscd/nscd.h: Adjust prototypes of readd* functions.
26294 2011-02-04 Roland McGrath <roland@redhat.com>
26296 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26297 (nis_stats): Likewise.
26298 * nis/nis_modify.c (nis_modify): Likewise.
26299 * nis/nis_remove.c (nis_remove): Likewise.
26300 * nis/nis_add.c (nis_add): Likewise.
26302 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26304 * posix/fnmatch_loop.c: Add some consts.
26306 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26308 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26311 * config.make.in (config-cflags-novzeroupper): Define.
26312 * configure.in: Substitute libc_cv_cc_novzeroupper.
26313 * elf/Makefile (AVX-CFLAGS): Define.
26314 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26315 (CFLAGS-tst-auditmod4a.c): Likewise.
26316 (CFLAGS-tst-auditmod4b.c): Likewise.
26317 (CFLAGS-tst-auditmod6b.c): Likewise.
26318 (CFLAGS-tst-auditmod6c.c): Likewise.
26319 (CFLAGS-tst-auditmod7b.c): Likewise.
26320 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26322 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26324 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26325 function to the callback.
26326 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26328 2011-02-02 Andreas Schwab <schwab@redhat.com>
26330 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26333 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26336 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26338 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26340 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26343 * elf/Makefile: Add rules to build and run new test.
26344 * elf/tst-initorder.c: New file.
26345 * elf/tst-initorder.exp: New file.
26346 * elf/tst-initordera1.c: New file.
26347 * elf/tst-initordera2.c: New file.
26348 * elf/tst-initordera3.c: New file.
26349 * elf/tst-initordera4.c: New file.
26350 * elf/tst-initorderb1.c: New file.
26351 * elf/tst-initorderb2.c: New file.
26352 * elf/tst-order-a1.c: New file.
26353 * elf/tst-order-a2.c: New file.
26354 * elf/tst-order-a3.c: New file.
26355 * elf/tst-order-a4.c: New file.
26356 * elf/tst-order-b1.c: New file.
26357 * elf/tst-order-b2.c: New file.
26358 * elf/tst-order-main.c: New file.
26359 New test case by George Gensure <werkt0@gmail.com>.
26361 2010-10-01 Andreas Schwab <schwab@redhat.com>
26363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26364 decoding ACE if AI_CANONIDN.
26366 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26368 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26370 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26372 * version.h (RELEASE): Bump for 2.13 release.
26373 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26375 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26379 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26381 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26382 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26383 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26386 * posix/getconf.c: Update copyright year.
26387 * catgets/gencat.c: Likewise.
26388 * csu/version.c: Likewise.
26389 * debug/catchsegv.sh: Likewise.
26390 * debug/xtrace.sh: Likewise.
26391 * elf/ldconfig.c: Likewise.
26392 * elf/ldd.bash.in: Likewise.
26393 * elf/sprof.c (print_version): Likewise.
26394 * iconv/iconv_prog.c: Likewise.
26395 * iconv/iconvconfig.c: Likewise.
26396 * locale/programs/locale.c: Likewise.
26397 * locale/programs/localedef.c: Likewise.
26398 * malloc/memusage.sh: Likewise.
26399 * malloc/mtrace.pl: Likewise.
26400 * nscd/nscd.c (print_version): Likewise.
26401 * nss/getent.c: Likewise.
26403 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26404 PF_CAIF, and PF_ALG.
26405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26407 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26409 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26410 (modules-names): Use them.
26411 (ifunc-test-modules, ifunc-pie-tests): Define.
26412 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26413 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26414 (test-extras): Likewise.
26415 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26416 $(compile-command.c).
26417 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26418 (all-built-dso): Define.
26419 (check-textrel.out, check-execstack.out): Depend on it.
26421 * configure.in: Don't override --enable-multi-arch.
26423 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26426 * nscd/hstcache.c (tryagain): Define.
26427 (cache_addhst): Return tryagain not notfound for temporary errors.
26428 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26431 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26434 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26435 to make the syscall.
26436 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26439 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26440 and fall back to matching as normal character if the string ends before
26441 the matching ']' is found. This is what POSIX requires.
26442 * posix/testfnm.c: Adjust test result.
26443 * posix/globtest.sh: Adjust test result. Add new test.
26444 * posix/tst-fnmatch.input: Likewise.
26445 * posix/tst-fnmatch2.c: Add new test.
26447 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26449 * elf/Makefile (check-execstack): Revert last change. Depend on
26451 (check-execstack.h): New target.
26452 (generated): Add check-execstack.h.
26453 * elf/check-execstack.c: Include "check-execstack.h".
26454 (main): Revert last change.
26455 (handle_file): Return zero if GNU_STACK is absent and
26456 DEFAULT_STACK_PERMS doesn't include PF_X.
26458 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26460 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26461 in child fails because the descriptor is already closed.
26462 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26463 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26464 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26467 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26471 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26472 temporary buffer used to handle multi lookups locally.
26473 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26475 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26477 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26480 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26482 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26483 alignment for SSE2.
26485 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26488 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26489 characters. When rounding increased number of integer digits recompute
26491 * stdio-common/tst-grouping.c: New file.
26492 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26494 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26496 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26497 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26499 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26501 * bits/select.h: Likewise.
26503 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26505 * po/ja.po: Update from translation team.
26507 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26510 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26511 implementation just like for lxstat, fxstatat, et al.
26513 2010-12-27 Jim Meyering <meyering@redhat.com>
26516 * posix/regexec.c (build_trtable): Return failure indication upon
26517 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26519 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26522 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26523 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26524 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26525 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26528 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26531 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26532 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26534 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26536 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26537 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26538 script has SORT_BY_INIT_PRIORITY.
26539 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26540 NO_CTORS_DTORS_SECTIONS is defined.
26541 * elf/soinit.c: Likewise.
26542 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26543 NO_CTORS_DTORS_SECTIONS is defined.
26544 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26545 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26546 * sysdeps/sh/init-first.c: Likewise.
26547 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26549 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26551 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26552 always use the slow path.
26554 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26556 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26557 similar rule which adds the sysdep directories to the header search in
26558 order to pick up the correct platform stackinfo.h.
26559 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26560 perform test if it is, otherwise return successfully without testing.
26561 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26562 DEFAULT_STACK_PERMS define in stackinfo.h.
26563 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26564 defined in stackinfo.h.
26565 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26566 DEFAULT_STACK_PERMS defined in stackinfo.h.
26567 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26568 * sysdeps/ia64/stackinfo.h: Likewise.
26569 * sysdeps/s390/stackinfo.h: Likewise.
26570 * sysdeps/sh/stackinfo.h: Likewise.
26571 * sysdeps/sparc/stackinfo.h: Likewise.
26572 * sysdeps/x86_64/stackinfo.h: Likewise.
26573 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26574 PF_X for powerpc64. Retain PF_X for powerpc32.
26576 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26578 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26580 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26581 GETDENTS_64BIT_ALIGNED.
26583 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26585 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26587 2010-12-10 Andreas Schwab <schwab@redhat.com>
26589 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26592 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26593 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26595 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26596 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26598 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26601 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26604 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26606 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26608 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26610 * po/it.po: Update from translation team.
26612 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26617 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26619 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26621 2010-11-24 Andreas Schwab <schwab@redhat.com>
26623 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26625 (gaih_getanswer_slice): Likewise.
26627 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26631 2010-05-31 Petr Baudis <pasky@suse.cz>
26634 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26635 silently even in the chroot mode.
26637 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26639 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26640 last patch a bit. Pretty printing
26642 2010-05-31 Petr Baudis <pasky@suse.cz>
26645 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26646 initialization of skip_initgroups_dyn.
26648 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26653 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26655 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26657 2010-11-11 Andreas Schwab <schwab@redhat.com>
26659 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26660 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26661 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26662 ($(objpfx)tst-fnmatch-mem): New rule.
26663 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26664 * posix/tst-fnmatch.c (main): Call mtrace.
26666 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26669 Support Intel processor model 6 and model 0x2c.
26671 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26676 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26679 * string/test-strncasecmp.c (check_result): New function.
26680 (do_one_test): Use it.
26681 (check1): New function.
26682 (test_main): Use it.
26683 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26684 Support strcasecmp and strncasecmp.
26686 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26689 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26692 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26694 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26698 * sysdeps/x86_64/multiarch/bzero.S: New file.
26699 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26700 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26701 * sysdeps/x86_64/multiarch/memset.S: New file.
26702 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26704 Set bit_Prefer_SSE_for_memop for Intel processors.
26705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26707 (index_Prefer_SSE_for_memop): Define.
26708 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26710 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26712 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26713 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26715 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26718 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26719 (__x86_64_raw_data_cache_size_half): Likewise.
26720 (__x86_64_raw_shared_cache_size): Likewise.
26721 (__x86_64_raw_shared_cache_size_half): Likewise.
26723 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26724 (__x86_64_raw_data_cache_size_half): Likewise.
26725 (__x86_64_raw_shared_cache_size): Likewise.
26726 (__x86_64_raw_shared_cache_size_half): Likewise.
26727 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26728 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26729 and __x86_64_raw_shared_cache_size_half. Round
26730 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26731 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26732 to multiple of 256 bytes.
26734 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26738 of inacessible symlinks. Verify result of symlink before returning it.
26739 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26740 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26742 2010-10-28 Erich Ritz <erichritz@gmail.com>
26744 * math/math.h (isinf): Fix typo in comment.
26746 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26748 * po/da.po: Update from translation team.
26750 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26752 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26753 is added to the list.
26755 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26756 Ulrich Drepper <drepper@gmail.com>
26758 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26759 the global list here. Move code to...
26760 (_dl_add_to_namespace_list): ...here. New function.
26761 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26762 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26763 * elf/dl-load.c (lose): Don't remove the element from the list.
26764 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26765 (_dl_map_object): Likewise.
26767 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26770 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26771 into all bytes of SSE register.
26772 Patch by Richard Li <richardpku@gmail.com>.
26774 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26777 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26780 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26782 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26783 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26785 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26790 2010-10-22 Andreas Schwab <schwab@redhat.com>
26792 * include/dlfcn.h (__RTLD_SECURE): Define.
26793 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26794 mode & __RTLD_SECURE instead.
26795 (open_path): Rename preloaded parameter to secure.
26796 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26797 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26798 * elf/dl-deps.c (openaux): Likewise.
26799 * elf/rtld.c (struct map_args): Remove is_preloaded.
26800 (map_doit): Don't use it.
26801 (dl_main): Likewise.
26802 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26803 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26805 2010-09-09 Andreas Schwab <schwab@redhat.com>
26807 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26808 (sysd-rules-targets): Remove duplicates.
26809 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26810 rtld-%.$o dependency.
26812 2010-10-18 Andreas Schwab <schwab@redhat.com>
26814 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26815 _dl_map_object do it.
26817 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26819 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26820 fast fma builtins, define the macros in the C99 standard.
26821 (FP_FAST_FMAF): Likewise.
26822 (FP_FAST_FMAL): Likewise.
26823 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26825 * bits/mathdef.h: Update copyright year.
26826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26828 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26830 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26831 builtins, define the macros in the C99 standard.
26832 (FP_FAST_FMAF): Likewise.
26833 (FP_FAST_FMAL): Likewise.
26834 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26836 (FP_FAST_FMAF): Likewise.
26838 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26841 * math/libm-test.inc (fma_test): Some new testcases.
26842 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26843 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26844 y and infinite z. Do multiplication by C already in long double.
26845 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26847 y and infinite z. Do bitwise or of inexact bit into u.d.
26848 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26849 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26850 * sysdeps/i386/fpu/s_fma.S: Removed.
26851 * sysdeps/i386/fpu/s_fmal.S: Removed.
26853 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26856 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26858 computation is not scheduled after fetestexcept. Fix value
26859 of minimum denormal long double.
26861 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26864 * math/libm-test.inc (fma_test): Add some more tests.
26865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26868 2010-10-15 Andreas Schwab <schwab@redhat.com>
26870 * scripts/data/localplt-s390-linux-gnu.data: New file.
26871 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26873 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26876 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26877 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26879 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26881 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26883 if one of x and y is very large and the other is subnormal.
26884 * sysdeps/s390/fpu/s_fmaf.c: New file.
26885 * sysdeps/s390/fpu/s_fma.c: New file.
26886 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26887 * sysdeps/powerpc/fpu/s_fma.S: New file.
26888 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26889 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26890 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26892 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26895 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26898 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26899 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26900 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26901 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26902 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26905 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26908 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26909 * posix/bug-regex31.input: Add test case.
26911 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26913 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26914 * posix/bug-regex31.input: New file.
26917 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26918 (parse_sub_exp): Fix last change, use postorder.
26920 * posix/bug-regex31.c: New file.
26921 * posix/Makefile: Add rules to build and run bug-regex31.
26923 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26926 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26929 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26930 to have entries in sys_siglist.
26933 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26936 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26939 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26940 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26941 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26942 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26944 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26945 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26946 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26947 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26948 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26949 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26950 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26951 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26952 * math/ftestexcept.c (fetestexcept): Likewise.
26953 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26954 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26955 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26956 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26957 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26958 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26959 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26961 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26964 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26967 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26969 * string/bug-strstr1.c: New file.
26970 * string/Makefile: Add rules to build and run bug-strstr1.
26972 2010-10-05 Eric Blake <eblake@redhat.com>
26975 * string/str-two-way.h (two_way_long_needle): Always clear memory
26976 when skipping input due to the shift table.
26978 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26981 * malloc/mcheck.c: Handle large requests.
26984 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26985 for strncmp and strncasecmp.
26986 * string/stratcliff.c: Add tests for strcmp and strncmp.
26987 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26989 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26991 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26994 2010-09-30 Andreas Jaeger <aj@suse.de>
26996 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26997 (CGROUP_SUPER_MAGIC): Define.
26998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26999 Handle btrfs and cgroup file systems.
27000 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27003 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27005 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27006 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27008 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27011 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27012 trying to locate the ELF header.
27014 2010-09-27 Andreas Schwab <schwab@redhat.com>
27017 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27018 Mask out sign-bit copies when constructing f_fsid.
27020 2010-09-24 Petr Baudis <pasky@suse.cz>
27022 * debug/stack_chk_fail_local.c: Add missing licence exception.
27023 * debug/warning-nop.c: Likewise.
27025 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27027 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27028 implementing getdents64 using getdents syscall, set d_type if
27029 __ASSUME_GETDENTS32_D_TYPE.
27031 2010-09-16 Andreas Schwab <schwab@redhat.com>
27033 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27034 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27036 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27039 * posix/unistd.h: Undo change of feature selection for ftruncate from
27042 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27044 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27047 2010-09-20 Andreas Schwab <schwab@redhat.com>
27049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27053 2010-09-14 Andreas Schwab <schwab@redhat.com>
27055 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27056 variables after CHECK_SP call.
27057 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27059 2010-09-13 Andreas Schwab <schwab@redhat.com>
27060 Ulrich Drepper <drepper@redhat.com>
27062 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27063 re-relocationg ld.so.
27064 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27065 _dl_init_paths call.
27066 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27069 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27071 * resolv/res_init.c (__res_vinit): Count the default server we added.
27073 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27074 Ulrich Drepper <drepper@redhat.com>
27077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27078 (____longjmp_chk): Use %ebx for saving value across system call.
27081 2010-09-06 Andreas Schwab <schwab@redhat.com>
27083 * manual/Makefile: Don't mix pattern rules with normal rules.
27085 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27087 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27089 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27090 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27091 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27092 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27096 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27099 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27100 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27102 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27104 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27105 * sysdeps/x86_64/addmul_1.S: Likewise.
27106 * sysdeps/x86_64/lshift.S: Likewise.
27107 * sysdeps/x86_64/mul_1.S: Likewise.
27108 * sysdeps/x86_64/rshift.S: Likewise.
27109 * sysdeps/x86_64/sub_n.S: Likewise.
27110 * sysdeps/x86_64/submul_1.S: Likewise.
27112 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27114 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27115 Define __sched_param instead of SCHED_* and sched_param when
27116 <bits/sched.h> is included with __need_schedparam defined.
27117 * bits/sched.h [__need_schedparam]
27118 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27119 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27120 (__defined_schedparam): Define to 1.
27121 (__sched_param): New structure, identical to sched_param.
27122 (__need_schedparam): Undefine.
27124 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27126 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27127 (epoll_create1): Declare.
27129 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27131 2010-08-31 Andreas Schwab <schwab@redhat.com>
27134 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27135 shifting retval into place.
27137 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27139 * nis/rpcsvc/nis.h: Update copyright notice.
27140 * nis/rpcsvc/nis.x: Likewise.
27141 * nis/rpcsvc/nis_callback.h: Likewise.
27142 * nis/rpcsvc/nis_callback.x: Likewise.
27143 * nis/rpcsvc/nis_object.x: Likewise.
27144 * nis/rpcsvc/nis_tags.h: Likewise.
27145 * nis/rpcsvc/yp.h: Likewise.
27146 * nis/rpcsvc/yp.x: Likewise.
27147 * nis/rpcsvc/ypupd.h: Likewise.
27148 * nis/yp_xdr.c: Likewise.
27149 * nis/ypupdate_xdr.c: Likewise.
27151 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27152 mainly the body of pmap_getport. Add parameters to specify timeouts.
27153 (pmap_getport): Use __libc_rpc_getport.
27154 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27155 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27156 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27158 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27163 2010-08-27 Roland McGrath <roland@redhat.com>
27165 * sysdeps/i386/i686/multiarch/Makefile
27166 (CFLAGS-varshift.c): New variable.
27168 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27170 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27171 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27175 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27177 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27179 * sysdeps/x86_64/strlen.S: Unroll the loop.
27180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27181 strlen-sse2 strlen-sse2-bsf.
27182 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27183 __strlen_no_bsf if bit_Slow_BSF is set.
27184 (__strlen_sse42): Removed.
27185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27186 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27188 2010-08-25 Roland McGrath <roland@redhat.com>
27190 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27191 * sysdeps/x86_64/multiarch/varshift.c: New file.
27192 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27193 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27194 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27195 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27197 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27200 strlen-sse2 strlen-sse2-bsf.
27201 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27202 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27203 (__strlen_sse2): Removed.
27204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27207 bit_Slow_BSF for Atom.
27208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27209 (index_Slow_BSF): Define.
27210 (HAS_SLOW_BSF): Define.
27212 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27215 * resolv/res_init.c (__res_vinit): When no server address at all
27216 is given default to loopback.
27218 2010-08-24 Roland McGrath <roland@redhat.com>
27220 * configure.in: Remove config-name.h generation.
27221 * configure: Regenerated.
27222 * config-name.in: File removed.
27223 * scripts/config-uname.sh: New file.
27224 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27225 ($(objdir)config-name.h): New target.
27227 * sunrpc/rpc_parse.h: Avoid nested comment.
27229 2010-08-24 Richard Henderson <rth@redhat.com>
27230 Ulrich Drepper <drepper@redhat.com>
27231 H.J. Lu <hongjiu.lu@intel.com>
27233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27235 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27236 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27237 _mm_alignr_epi8 with _mm_loadu_si128.
27238 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27239 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27240 (__m128i_shift_right): Removed.
27241 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27242 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27243 * sysdeps/x86_64/multiarch/varshift.h: New file.
27244 * sysdeps/x86_64/multiarch/varshift.S: New file.
27246 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27248 * configure.in: Move assembler checks to before sysdep dir checking.
27250 2010-08-20 Petr Baudis <pasky@suse.cz>
27252 * LICENSES: Sync the sunrpc license.
27254 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27256 * sunrpc/auth_des.c: Update copyright notice once again.
27257 * sunrpc/auth_none.c: Likewise.
27258 * sunrpc/auth_unix.c: Likewise.
27259 * sunrpc/authdes_prot.c: Likewise.
27260 * sunrpc/authuxprot.c: Likewise.
27261 * sunrpc/bindrsvprt.c: Likewise.
27262 * sunrpc/clnt_gen.c: Likewise.
27263 * sunrpc/clnt_perr.c: Likewise.
27264 * sunrpc/clnt_raw.c: Likewise.
27265 * sunrpc/clnt_simp.c: Likewise.
27266 * sunrpc/clnt_tcp.c: Likewise.
27267 * sunrpc/clnt_udp.c: Likewise.
27268 * sunrpc/clnt_unix.c: Likewise.
27269 * sunrpc/des_crypt.c: Likewise.
27270 * sunrpc/des_soft.c: Likewise.
27271 * sunrpc/get_myaddr.c: Likewise.
27272 * sunrpc/getrpcport.c: Likewise.
27273 * sunrpc/key_call.c: Likewise.
27274 * sunrpc/key_prot.c: Likewise.
27275 * sunrpc/openchild.c: Likewise.
27276 * sunrpc/pm_getmaps.c: Likewise.
27277 * sunrpc/pm_getport.c: Likewise.
27278 * sunrpc/pmap_clnt.c: Likewise.
27279 * sunrpc/pmap_prot.c: Likewise.
27280 * sunrpc/pmap_prot2.c: Likewise.
27281 * sunrpc/pmap_rmt.c: Likewise.
27282 * sunrpc/rpc/auth.h: Likewise.
27283 * sunrpc/rpc/auth_unix.h: Likewise.
27284 * sunrpc/rpc/clnt.h: Likewise.
27285 * sunrpc/rpc/des_crypt.h: Likewise.
27286 * sunrpc/rpc/key_prot.h: Likewise.
27287 * sunrpc/rpc/netdb.h: Likewise.
27288 * sunrpc/rpc/pmap_clnt.h: Likewise.
27289 * sunrpc/rpc/pmap_prot.h: Likewise.
27290 * sunrpc/rpc/pmap_rmt.h: Likewise.
27291 * sunrpc/rpc/rpc.h: Likewise.
27292 * sunrpc/rpc/rpc_des.h: Likewise.
27293 * sunrpc/rpc/rpc_msg.h: Likewise.
27294 * sunrpc/rpc/svc.h: Likewise.
27295 * sunrpc/rpc/svc_auth.h: Likewise.
27296 * sunrpc/rpc/types.h: Likewise.
27297 * sunrpc/rpc/xdr.h: Likewise.
27298 * sunrpc/rpc_clntout.c: Likewise.
27299 * sunrpc/rpc_cmsg.c: Likewise.
27300 * sunrpc/rpc_common.c: Likewise.
27301 * sunrpc/rpc_cout.c: Likewise.
27302 * sunrpc/rpc_dtable.c: Likewise.
27303 * sunrpc/rpc_hout.c: Likewise.
27304 * sunrpc/rpc_main.c: Likewise.
27305 * sunrpc/rpc_parse.c: Likewise.
27306 * sunrpc/rpc_parse.h: Likewise.
27307 * sunrpc/rpc_prot.c: Likewise.
27308 * sunrpc/rpc_sample.c: Likewise.
27309 * sunrpc/rpc_scan.c: Likewise.
27310 * sunrpc/rpc_scan.h: Likewise.
27311 * sunrpc/rpc_svcout.c: Likewise.
27312 * sunrpc/rpc_tblout.c: Likewise.
27313 * sunrpc/rpc_util.c: Likewise.
27314 * sunrpc/rpc_util.h: Likewise.
27315 * sunrpc/rpcinfo.c: Likewise.
27316 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27317 * sunrpc/rpcsvc/key_prot.x: Likewise.
27318 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27319 * sunrpc/rpcsvc/mount.x: Likewise.
27320 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27321 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27322 * sunrpc/rpcsvc/rex.x: Likewise.
27323 * sunrpc/rpcsvc/rstat.x: Likewise.
27324 * sunrpc/rpcsvc/rusers.x: Likewise.
27325 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27326 * sunrpc/rpcsvc/spray.x: Likewise.
27327 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27328 * sunrpc/rtime.c: Likewise.
27329 * sunrpc/svc.c: Likewise.
27330 * sunrpc/svc_auth.c: Likewise.
27331 * sunrpc/svc_authux.c: Likewise.
27332 * sunrpc/svc_raw.c: Likewise.
27333 * sunrpc/svc_run.c: Likewise.
27334 * sunrpc/svc_simple.c: Likewise.
27335 * sunrpc/svc_tcp.c: Likewise.
27336 * sunrpc/svc_udp.c: Likewise.
27337 * sunrpc/svc_unix.c: Likewise.
27338 * sunrpc/svcauth_des.c: Likewise.
27339 * sunrpc/xcrypt.c: Likewise.
27340 * sunrpc/xdr.c: Likewise.
27341 * sunrpc/xdr_array.c: Likewise.
27342 * sunrpc/xdr_float.c: Likewise.
27343 * sunrpc/xdr_mem.c: Likewise.
27344 * sunrpc/xdr_rec.c: Likewise.
27345 * sunrpc/xdr_ref.c: Likewise.
27346 * sunrpc/xdr_sizeof.c: Likewise.
27347 * sunrpc/xdr_stdio.c: Likewise.
27349 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27352 2010-08-19 Andreas Schwab <schwab@redhat.com>
27354 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27356 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27358 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27359 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27360 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27361 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27363 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27364 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27365 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27367 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27368 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27369 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27370 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27371 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27373 2010-07-26 Anton Blanchard <anton@samba.org>
27375 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27376 * malloc/arena.c (heap_trim): Likewise.
27378 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27380 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27383 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27385 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27387 * sysdeps/i386/elf/Makefile: New file.
27389 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27391 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27392 from fanotify_init.
27393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27396 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27398 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27400 * sysdeps/multiarch/strcmp.S: Likewise.
27402 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27405 strncase_l-nonascii.
27406 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27407 Add strncase_l-ssse3.
27408 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27409 * sysdeps/x86_64/strcmp.S: Likewise.
27410 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27411 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27412 * sysdeps/x86_64/strncase.S: New file.
27413 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27414 * sysdeps/x86_64/strncase_l.S: New file.
27415 * string/Makefile (strop-tests): Add strncasecmp.
27416 * string/test-strncasecmp.c: New file.
27418 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27421 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27422 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27424 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27426 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27428 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27430 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27431 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27432 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27434 2010-05-01 Alan Modra <amodra@gmail.com>
27436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27437 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27438 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27439 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27440 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27441 tidying. Don't tail-call __sigjmp_save for static lib.
27442 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27444 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27445 (CALL_MCOUNT): Add eh info, and nop after bl.
27446 (TAIL_CALL_SYSCALL_ERROR): New macro.
27447 (PSEUDO_RET): Use it.
27448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27449 Correct save location of integer regs and cr.
27450 (_dl_profile_resolve): Correct cr save location. Delete nops
27451 after bl when SHARED. Reduce cfi size a little by better
27452 placement of cfi directives.
27453 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27454 make a stack frame. Instead use parm save area as a temp.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27456 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27458 Don't make a stack frame for parent, use parm save area.
27459 Increase child stack frame to 112 bytes. Don't save unused reg,
27460 and adjust reg usage. Set up cfi on error recovery and
27461 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27463 (__makecontext): Add dummy nop after jump to exit.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27465 Use correct parm save area and cr save, reduce stack frame.
27466 Correct cfi for possible PSEUDO_RET frame setup.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27468 Branch to local label emitted by PSEUDO_RET rather than
27471 2010-08-12 Andreas Schwab <schwab@redhat.com>
27474 * locale/programs/locale.c (print_assignment): New function.
27475 (show_locale_vars): Use it.
27477 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27479 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27481 (struct statfs64): Likewise.
27482 (_STATFS_F_FLAGS): Define.
27483 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27484 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27485 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27486 (ST_VALID): Define locally.
27487 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27488 __statvfs_getflags, use the provided value.
27489 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27490 __ASSUME_STATFS_F_FLAGS.
27492 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27494 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27495 Add sys/fanotify.h.
27496 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27497 fanotify_mask for GLIBC_2.13.
27498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27499 fanotify_init and fanotify_mark.
27500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27501 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27503 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27505 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27506 prlimit64 for GLIBC_2.13.
27507 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27512 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27513 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27514 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27517 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27520 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27521 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27523 * nss/Makefile: Add rules to build and run tst-nss-test1.
27524 * shlib-versions: Add entry for libnss_test1.
27525 * nss/nss_test1.c: New file.
27526 * nss/tst-nss-test1.c: New file.
27528 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27529 (__nss_configure_lookup): Set appropriate entry in
27530 __nss_configure_lookup to true.
27531 * nss/nsswitch.h: Define enum with indeces of databases in
27532 databases and __nss_database_custom arrays. Declare
27533 __nss_database_custom.
27534 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27535 to avoid using nscd when custom rules are installed.
27536 * nss/getXXbyYY_r.c: Likewise.
27537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27539 * nss/nss_files/files-parse.c: Whitespace fixes.
27541 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27544 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27545 * posix/fnmatch_loop.c: Likewise.
27547 2010-07-17 Andi Kleen <ak@linux.intel.com>
27549 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27550 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27551 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27552 * Versions.def [GLIBC_2.13]: Add.
27554 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27557 Also fail if tpwd after pwuid call is NULL.
27559 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27561 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27562 when converting to ms.
27564 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27566 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27567 EOPNOTSUPP errors with ENOTTY.
27568 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27569 EOPNOTSUPP errors with ENOTTY.
27571 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27573 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27574 Add strcasecmp_l-ssse3.
27575 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27577 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27578 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27579 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27581 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27583 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27585 * string/Makefile (strop-tests): Add strcasecmp.
27586 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27587 strcasecmp_l-nonascii.
27588 (gen-as-const-headers): Add locale-defines.sym.
27589 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27590 * sysdeps/x86_64/strcasecmp.S: New file.
27591 * sysdeps/x86_64/strcasecmp_l.S: New file.
27592 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27593 * sysdeps/x86_64/locale-defines.sym: New file.
27594 * string/test-strcasecmp.c: New file.
27596 * string/test-strcasestr.c: Test both ends of the range of characters.
27597 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27599 2010-07-29 Roland McGrath <roland@redhat.com>
27602 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27604 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27606 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27609 2010-07-27 Andreas Schwab <schwab@redhat.com>
27611 * manual/memory.texi (Malloc Tunable Parameters): Document
27614 2010-07-26 Roland McGrath <roland@redhat.com>
27617 * configure.in (-fgnu89-inline check): Set and substitute
27618 gnu89_inline, not libc_cv_gnu89_inline.
27619 * configure: Regenerated.
27620 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27622 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27624 * string/test-strnlen.c: New file.
27625 * string/Makefile (strop-tests): Add strnlen.
27626 * string/tester.c (test_strnlen): Add a few more test cases.
27627 * string/tst-strlen.c: Better error reporting.
27629 * sysdeps/x86_64/strnlen.S: New file.
27631 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27633 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27634 lower-latency instructions.
27636 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27638 * string/test-strcasestr.c: New file.
27639 * string/test-strstr.c: New file.
27640 * string/Makefile (strop-tests): Add strstr and strcasestr.
27641 * string/str-two-way.h: Don't undefine MAX.
27642 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27644 2010-07-21 Andreas Schwab <schwab@redhat.com>
27646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27647 strcasestr-nonascii.
27648 (CFLAGS-strcasestr-nonascii.c): Define.
27649 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27651 Remove unused attribute.
27653 2010-07-20 Roland McGrath <roland@redhat.com>
27655 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27656 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27657 ld.so.cache was broken. With it, there is no way to disable dsocaps
27658 like LD_HWCAP_MASK can disable hwcaps.
27660 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27662 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27664 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27666 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27667 call in strcasestr.
27668 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27669 __strcasestr_sse42_nonascii.
27670 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27671 strcasestr-nonascii.c.
27672 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27674 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27676 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27677 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27679 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27681 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27686 2010-07-06 Andreas Schwab <schwab@redhat.com>
27689 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27692 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27695 _PC_PIPE_BUF using F_GETPIPE_SZ.
27697 2010-07-05 Roland McGrath <roland@redhat.com>
27699 * manual/arith.texi (Rounding Functions): Fix rint description
27700 implicit in round description.
27702 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27704 * elf/Makefile: Fix linking for a few tests to make recent linker
27707 2010-06-30 Andreas Schwab <schwab@redhat.com>
27709 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27710 $(common-objpfx)libc_nonshared.a.
27712 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27714 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27715 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27716 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27717 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27718 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27719 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27720 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27721 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27736 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27737 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27738 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27739 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27740 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27741 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27742 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27743 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27744 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27745 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27746 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27747 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27763 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27765 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27766 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27767 * string/memmove.c (memmove): Renamed to ...
27768 (MEMMOVE): ...this. Default to memmove.
27769 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27770 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27773 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27774 mempcpy-ssse3-back memmove-ssse3-back.
27775 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27778 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27779 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27780 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27781 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27782 * sysdeps/x86_64/multiarch/memmove.c: New file.
27783 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27784 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27785 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27786 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27787 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27790 (index_Fast_Copy_Backward): Define.
27791 (HAS_ARCH_FEATURE): Define.
27792 (HAS_FAST_REP_STRING): Define.
27793 (HAS_FAST_COPY_BACKWARD): Define.
27795 2010-06-21 Andreas Schwab <schwab@redhat.com>
27797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27798 Restore proper fallback handling.
27800 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27803 * posix/group_member.c (__group_member): Correct checking loop.
27805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27806 OOM in getpwuid_r correctly. Return error number when the caller
27807 should return, otherwise -1.
27808 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27809 call returning > 0 value.
27810 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27812 2010-06-07 Andreas Schwab <schwab@redhat.com>
27814 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27815 libc_nonshared.a from targets in modules-names.
27817 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27819 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27822 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27825 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27827 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27829 2010-06-02 Andreas Schwab <schwab@redhat.com>
27831 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27833 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27844 2010-06-14 Roland McGrath <roland@redhat.com>
27846 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27848 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27850 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27851 __REDIRECT followed by __THROW.
27852 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27853 * posix/getopt.h (getopt): Likewise.
27855 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27857 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27858 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27859 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27861 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27862 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27864 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27866 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27868 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27872 Properly check family and model.
27874 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27876 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27878 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27880 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27882 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27884 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27887 2010-05-19 Andreas Schwab <schwab@redhat.com>
27889 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27892 2010-05-21 Andreas Schwab <schwab@redhat.com>
27894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27895 and internal_recvmmsg.
27896 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27897 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27898 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27899 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27901 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27902 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27903 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27905 2010-05-20 Andreas Schwab <schwab@redhat.com>
27907 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27909 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27911 POWER7 optimizations.
27912 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27913 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27915 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27917 * version.h: Update for 2.13 development version.
27919 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27921 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27922 exceptions. Return 0.
27924 2010-05-07 Roland McGrath <roland@redhat.com>
27926 * elf/ldconfig.c (main): Add a const.
27928 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27930 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27931 (args_options): Add no-idn option.
27932 (ahosts_keys_int): Add idn_flags to ai_flags.
27933 (parse_option): Handle 'i' option to clear idn_flags.
27935 * malloc/malloc.c (_int_free): Possible race in the most recently
27936 added check. Only act on the data if no current modification
27939 See ChangeLog.17 for earlier changes.